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
-
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
-
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
-
awesome temar I will test it out tomorrow.. not going to worry about it tonight since the servers are all messed up.
-
How do I modify how many points the bot gives while ticking?
We give 10 points per hour.
-
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.
-
Can anyone help me out here? I would like to modify how many points the ticker gives per hour.
Thanks.
-
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().
-
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
-
Your awsome Temar!
whats the unix svn command to update?
I dont have the svn link.
-
useing console and asuming u already done checkout
simply goto the directory useing cd /wateva
then type svn update