Menu

Trismegitus bot of Eternal Lands / News: Recent posts

The inventory code broke the trading code

The code for handling items will have to be taken out of basicbot.py and tradebot.py.
This is because basicbot.py is getting crowded and I will need to add support for all the different items sooner or later. Also, when I got the code working for it understanding what is in the inventory, it broke the code for understanding what is in the trade window. It would be better off with a rewrite in a different file where it can grow as it needs to.
As an added bonus, the tradebot code will be much more clear and streamlined.

Posted by Nathan Stenzel 2007-11-08

I am working on trade bot code

Hopefully, this trade bot code that I am writing does not take too long to complete.

So far, it can keep track of what is in the trade window and what is in the inventory window.

There is a working INV/INVENTORY command too.

Posted by Nathan Stenzel 2007-11-02

Revision 30 includes setups for bot extensions.

I added the ability to set up the extensions by calling their "setup" function during the "signon" function in BasicBot.

Create "setup" functions instead of __init__ functions for future bot extensions.

Posted by Nathan Stenzel 2007-03-07

Welcome Terrance!

I just added Terrance Bockhol, the person that started the project to the list of developers. He has a better understanding of Python than I do. I learned from him and trying things out on my own. Maybe he will teach me some more tricks. :D

Posted by Nathan Stenzel 2007-01-23

I hit revision #20

Well, now that I hit revision 20, I might as well review what all I did.

------------------------------------------------------------------------
r20 | nathanstenzel | 2007-01-21 08:37:55 -0600
Fixed it so that it won't matter if stats~.txt exists when the bot is started or not and made it so that it is created Before reading the web pages to get all the information. This way, you will be told sooner if the bot is already updating the stats.
------------------------------------------------------------------------
r19 | nathanstenzel | 2007-01-21 08:14:18 -0600
Added a note on how you know the trade bot is being asked to trade to tradebot.py.
Reduced some code in elbot.py thanks to Terrance Bockhol's feedback.
Added some code to check the name of the stats.txt/stats~.txt file to see if the statscruncher.py routine is done.
------------------------------------------------------------------------
r18 | nathanstenzel | 2007-01-19 15:57:06 -0600
Removed the redundant "minutes" word in the "I was running for D days H hours M minutes without crashing" message.
------------------------------------------------------------------------
r17 | nathanstenzel | 2007-01-19 15:52:29 -0600
A minor correction in elbot.py for finding "!" to see if it is a multi-guild message.
Changed the debug message during crashes to say the days,hours,minutes it was up instead of in just minutes
------------------------------------------------------------------------
r16 | nathanstenzel | 2007-01-18 09:29:11 -0600
Changed the wording for find and count function calls to be read more easily.
------------------------------------------------------------------------
r15 | nathanstenzel | 2007-01-16 03:20:29 -0600
Added in a little bit more debug for the stats function.
It seems that it is not currently forking like it is supposed to.
------------------------------------------------------------------------
r14 | nathanstenzel | 2007-01-15 04:20:08 -0600
Updated my goals including one issue I need to overcome.
------------------------------------------------------------------------
r13 | nathanstenzel | 2007-01-14 06:24:56 -0600
Fixed it so that it would read the online_players.txt file and convert it to lower case.
------------------------------------------------------------------------
r12 | nathanstenzel | 2007-01-14 06:03:50 -0600
Using the players_online.txt file instead of the players_online.html file now.
The large amount of html tag parsing is therefore not needed anymore.
Still keeping the old online.py file, but not using it.
------------------------------------------------------------------------
r11 | nathanstenzel | 2007-01-14 06:01:47 -0600
Using the players_online.txt file instead of the players_online.html file now.
The large amount of html tag parsing is therefore not needed anymore.
Still keeping the old online.py file, but not using it.
------------------------------------------------------------------------
r10 | nathanstenzel | 2007-01-11 15:08:01 -0600
Inserted an rough idea for an item xp based credit system for guildmates to help ease ingreds trading.
------------------------------------------------------------------------
r9 | nathanstenzel | 2007-01-09 06:39:13 -0600
Fixed a small bug in the permissions where it did not set permission level for ex-guildmates.
------------------------------------------------------------------------
r8 | nathanstenzel | 2007-01-09 04:39:28 -0600
Changed the output of the storage command to "I have" instead of "You have".
Got the movingbot class working again, but now with the ability to update its position when the server says the bot has moved instead of asking for the position every few seconds.
Inserted a commented out example of how to make a bot with the various modules in use.
------------------------------------------------------------------------
r7 | nathanstenzel | 2007-01-05 01:30:36 -0600
Updated the list of things to do.
------------------------------------------------------------------------
r4 | nathanstenzel | 2007-01-04 12:29:13 -0600
Added a license that should be appropriate.

Posted by Nathan Stenzel 2007-01-21

Help Forum now contains the command list

I just decided to post the list of commands in the Help Forum. Now, you don't have to read elbot.py to find out what commands the bot accepts.

Posted by Nathan Stenzel 2007-01-16

SVN and initial file release are done!

It took me some time to figure things out, but I got things done. CVS with SSH was being problematic, but SVN was as easy as 123. You have to love advancement in revision control methods. :D

Posted by Nathan Stenzel 2007-01-04

Approved!

The project has been approved and I will try to add the files soon.

Posted by Nathan Stenzel 2007-01-03
MongoDB Logo MongoDB