BeBot - An Anarchy Online and Age Of Conan chat automaton
Archive => Anarchy Online Archive => 0.2.x Custom/Unofficial Modules => Topic started by: Wolfbiter on December 07, 2006, 03:25:37 am
-
Updated 2006-12-14
Wrote this script because it's better to have each level # accessible from a main location that have it all hardcoded in a prepared string.
It'll also make it easier to change the ranges later on if FC changes anything.
You'll need the colors module (http://bebot.link/index.php/topic,312.0.html) for this.
Commands
!mish/!mission # - List of all levels that can pull a ql # mission
!sk/xp #from [#to] - How much xp/sk is needed at level #to, or from #from to #to
!level/lvl #1 #2 ... #N - Info on each supplied level #
!axp #from [#to] - How much axp is needed at level #from, or #from to #to
!rp/research #from [#to] - How much research is needed at level #from, or #from to #to
AXP added by jjones
Added research points
-
Uber, thanks. Saves me a lot of work!
Always wanted to do this, but never got around to it.
-
Yup, thanks Wolfbiter, most appreciated :-)
-jj-
-
This is awesome and includes all but one thing I've been looking for except one thing!
AXP.
This great though! Thanks!
-
There is an axp module floating around somewhere, or I can just post mine.
Just use the search :P
-
Yep I'm using it too.
Guess I worded that wrong. What I meant was everything I have been looking for in one file except AXP.
But it looks like it would be easy enough to add a second table with AXP values and add additional code to handle calling up that table.
I'll work on it when I get a chance.
-
- added AI levels
- added processing of single level (!xp 219)
(i think Wolfbiter will curse me for awful coding style) :-/
helpfiles:
http://www.jjones.co.uk/files/mission.txt
http://www.jjones.co.uk/files/mish.txt
http://www.jjones.co.uk/files/sk.txt
http://www.jjones.co.uk/files/xp.txt
http://www.jjones.co.uk/files/axp.txt
revised sql:
http://www.jjones.co.uk/files/levels.sql
revised php:
http://www.jjones.co.uk/files/level.php
-jj-
-
Well, not bad.. but I think I'll work on my own little version of !axp and single !xp/sk tomorrow, way too late now ;)
-
You had a slight logical error for AXP in your script, jj (that had to do with ai level starting at 0, not 1)
-
Just got this installed and its great, only thing is it only works for me in tells, any way to make it work in guild channel?
{edit} Installing this and the colours to use it has disabled my bot from responding to anything not in a tell, any ideas why?
-
Well.. maybe if you include some info on what bot you run (version.. I don't want to see something along the lines of "duh.. I run bebot of course"), other custom scripts installed, etc...
-
[edit] nm found the problem, slight typo in a file was messing everything up
-
Thanks for the research update.
-
btw, the last 2 values for rp are wrong. They should be 640,000,000 and 900,000,000. You have 64,000,000 and 90,000,000.
-
The tables aren't verified at all.. nor do they reflect sk needed... I might work on sk tables and updated xp later on when there's something solid to work with, but right now it's just too damn boring to get reliable (ie capping things myself) data.
-
I verified rl9 today. A org mate with 48xxx faction got like 35xxx research sk from the sk bonus on a mish, which obviously capped the research. The % from 37000 (5% of the 740000) was exactly the % off his faction from 50k.
-
Here is an updated version that displays the required real level for ai and research levels. You need to dump your existing level table first and use the new module as well.
-
No real need to add the "real" levels.. just had to treat axp and rp the same way you did with normal level.
-
No real need to add the "real" levels.. just had to treat axp and rp the same way you did with normal level.
Not sure what you mean there sorry.
-
help files for research. And yes, it's the same file twice, with a different name. (yeah, I'm spamming them a bit, just figured since I'm writing them for my own bots, I may as well share.)
-
ok I put colors.php into the core directory, dumped the level.sql into the database but I get a
Fatal error: Call to a member function define_color() on a non-object in D:\newbot\modules\Level.php on line 14
(Sorry for my noobishness but I really do try to look around before I ask questions)
-
Change the $colors->define_color() calls to $colors_core->define_color(). Should work then.
-
Got it working. You guys are great! Thanks for all the help :)
-
Does show different pvp ranges than helpbot for me. According to this module, lvl60 and lvl76 cant pvp each other, while helpbot says they can. So, either this module or helpbot are wrong. :)
-
I just got the info from the old level.php, I never researched any numbers.
-
Well, if I knew where to find the actual numbers, I'd just change it myself. But honestly, I have no idea where to look for it... and I am not even sure that the module's numbers are wrong - could just as well be helpbot that is borked.