BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.5.x Custom/Unofficial Modules => Topic started by: Nytridr on June 08, 2008, 05:42:42 am

Title: raid/point system suggestion and errors latest svn
Post by: Nytridr on June 08, 2008, 05:42:42 am
I would like to suggest adding a raid pause that would pause give points  untill you unpause it again.. and also add a raidsingle back in again where points would NOT tick and you have to give points manually as in !points all #.

ok errors I have seen so far..

well was going to list out the different errors until I looked at points.php and realized someone decently needs to update it, because the way it sets atm it dose not work at all.

Nyt
Title: Re: raid/point system suggestion and errors latest svn
Post by: Temar on June 12, 2008, 06:00:15 pm
i have merged the 2 raid modules that are in Bebot Raid.php and _RaidTime.php
raid time being a ticking raid
i also added the !raid pause , !raid unpause commands to start and stop the ticker
the ticker is paused when raid starts and need to be unpaused
if u dont want ticking then dont  unpause it :D
i also added !raid rewards <points> , !raid give <points>
this gives all current raids the amound of points you say
Title: Re: raid/point system suggestion and errors latest svn
Post by: Nytridr on June 14, 2008, 08:40:43 am
awesome temar I will test it out tomorrow.. not going to worry about it tonight since the servers are all messed up.
Title: Re: raid/point system suggestion and errors latest svn
Post by: Vain on October 07, 2008, 03:53:00 am
How do I modify how many points the bot gives while ticking?
We give 10 points per hour.
Title: Re: raid/point system suggestion and errors latest svn
Post by: Vain on October 07, 2008, 11:53:22 pm
When I unpause the raid it looks like it is giving .1 points per minute? But I am not sure on that. I have been looking in Raid.php for the code I will try and locate it when i get home tonight.

Title: Re: raid/point system suggestion and errors latest svn
Post by: Vain on October 11, 2008, 06:19:50 am
Can anyone help me out here? I would like to modify how many points the ticker gives per hour.

Thanks.
Title: Re: raid/point system suggestion and errors latest svn
Post by: Alreadythere on October 11, 2008, 06:57:18 pm
You got 2 choices:

Either adapt the cron() function. Points on timed raids are given there.

Or play with the cron delay, you can use any string as delay that can be parsed by strtotime().
Title: Re: raid/point system suggestion and errors latest svn
Post by: Temar on October 11, 2008, 10:20:50 pm
ok i have added a Setting so you can change the points you get every min
Default is 0.1 points per min
if you want 10 points per hours set it to 0.17
You need to get the Latest SVN files of Raid.php and Points.php
Title: Re: raid/point system suggestion and errors latest svn
Post by: Vain on October 12, 2008, 03:23:55 am
Your awsome Temar!

whats the unix svn command to update?
I dont have the svn link.
Title: Re: raid/point system suggestion and errors latest svn
Post by: Temar on October 12, 2008, 06:45:40 am
useing console and asuming u already done checkout
simply goto the directory useing cd /wateva
then type svn update
SimplePortal 2.3.7 © 2008-2024, SimplePortal