Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Reward

 
Post new topic   Reply to topic Printable version
 View previous topic  SSME Problem Post :: Post 0.38pr5  View next topic  
Author Message
CR0SSFIRE
Guest


Offline

PostPosted: Tue Apr 29, 2003 4:54 pm    Post subject: Reward Reply to topic Reply with quote

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 ?
Back to top
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Tue Apr 29, 2003 5:09 pm    Post subject: Reply to topic Reply with quote

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


...
_________________
Signatures just seem so quaint.
Back to top
View users profile Send private message Add User to Ignore List
CR0SSFIRE
Guest


Offline

PostPosted: Tue Apr 29, 2003 5:14 pm    Post subject: Reply to topic Reply with quote

I think you're describing what I've already tried.

[Periodic]
RewardDelay=100
RewardMinimumPlayers=1
RewardPoints=1
Back to top
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Tue Apr 29, 2003 9:26 pm    Post subject: Reply to topic Reply with quote

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
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
ExplodyThingy
Server Help Squatter


Age:38
Gender:Gender:Male
Joined: Dec 15 2002
Posts: 528
Location: Washington DC
Offline

PostPosted: Wed Apr 30, 2003 11:04 am    Post subject: Reply to topic Reply with quote

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.
_________________
There are no stupid question, but there are many inquisitive idiots.
Loot

Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
CR0SSFIRE
Guest


Offline

PostPosted: Wed Apr 30, 2003 5:23 pm    Post subject: Reply to topic Reply with quote

I could, but I have no clue about programming bots, I've not VB or VC++ for about 6 months.
Back to top
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Wed Apr 30, 2003 7:06 pm    Post subject: Reply to topic Reply with quote

ya, but explody does know about programming bots...hint hint sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Wed Apr 30, 2003 9:10 pm    Post subject: Reply to topic Reply with quote

the timing might be tricky... MERV doesn't tick does it?
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 43 page(s) served in previous 5 minutes.

phpBB Created this page in 0.800802 seconds : 30 queries executed (97.4%): GZIP compression disabled