Server Help

General Questions - Reward

Anonymous - Tue Apr 29, 2003 4:54 pm
Post subject: Reward
The arena I'm currently working on puts all users on their own channel.
At the moment it just has 1 flag but I may add more.
When someone owns the flag they get rewarded 1 point every second.

This all works fine, but the annoying thing is you get the 'Reward: 1 point' message each second.
So really I want to have someone who owns the flag to be timed then when someone else takes the flag they are then rewarded the points equal to the time in seconds they had the flag for.

I'm guessing I'll need a MERVbot plugin to do this, anyone able to point me in the right direction ?
Helicon - Tue Apr 29, 2003 5:09 pm
Post subject:
im not sure about working with it around the settings... but im sure merv could do it... though you may have trouble getting exactly 1 second intervals... ill have to check (or one of the pros here will just post it).

Alternately (cheap method ahead). You could set it to something where points/seconds still = 1 like

30pts/30 seconds
15 pts/15 seconds


...
Anonymous - Tue Apr 29, 2003 5:14 pm
Post subject:
I think you're describing what I've already tried.

[Periodic]
RewardDelay=100
RewardMinimumPlayers=1
RewardPoints=1
SuSE - Tue Apr 29, 2003 9:26 pm
Post subject:
no, he's saying instead of one point ever second, you get 30 points every 30 seconds

less msg spam, same amount of points if they live for 30 seconds
ExplodyThingy - Wed Apr 30, 2003 11:04 am
Post subject:
could use a bot to time how long a player has had a flag, starting from EVENT_FlagPickup or whatever it is, and store it to another variable. Then when the flag carrier changes, uses *points to prize former carrier and begin timing the new carrier.
Anonymous - Wed Apr 30, 2003 5:23 pm
Post subject:
I could, but I have no clue about programming bots, I've not VB or VC++ for about 6 months.
SuSE - Wed Apr 30, 2003 7:06 pm
Post subject:
ya, but explody does know about programming bots...hint hint sa_tongue.gif
Helicon - Wed Apr 30, 2003 9:10 pm
Post subject:
the timing might be tricky... MERV doesn't tick does it?
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group