summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-31add command !tradestateDipesh Amin1-0/+14
2011-08-31Minor help grammar corrections.Dipesh Amin1-4/+4
2011-08-30remove unneeded line.Dipesh Amin1-2/+1
2011-08-30Respond "No" to incoming trade requests.Dipesh Amin1-0/+1
2011-08-28Add a message for an unrecognised command.Dipesh Amin1-0/+2
2011-08-26Remove some no-longer needed variables.Dipesh Amin1-6/+0
2011-08-26Make sure the ID provided is of the type wanted: default to player.Dipesh Amin1-2/+2
Incase someone has the same name as an npc in the room.
2011-08-25Remove some surpurfulous code - the else: item_id == 0 would never be called.Dipesh Amin1-5/+2
2011-08-25Add a specific message for when a user adds money to a !add request.Dipesh Amin1-1/+5
2011-08-24Set a max on the price.Dipesh Amin1-2/+2
2011-08-24ooopsStefan Beller1-1/+1
2011-08-24Adding !list for blocked users; introduce config.adminStefan Beller2-3/+4
2011-08-24blocked users done rightStefan Beller1-0/+1
2011-08-24Revert "Prevent blocked users from buying items."Stefan Beller1-4/+0
This reverts commit e7d3136463e4a52d6af47e36f21b6ad0303369e8.
2011-08-24improve blocked usersStefan Beller1-0/+4
2011-08-24oopsDipesh Amin1-1/+0
2011-08-24teeny changeDipesh Amin1-2/+2
2011-08-24Prevent blocked users from buying items.Dipesh Amin1-0/+4
2011-08-24Let a blocked user retrieve items/money.Dipesh Amin1-3/+4
2011-08-24Further clean up, also fixed a tiny bug (wrong variable name).Dipesh Amin2-28/+14
I move the remove item logic to player.py and have skipped some of inventory/equiptment information provided by the server.
2011-08-24Re-add pretty printing.Dipesh Amin1-5/+19
The problem was caused by the xml file being read in indented, so once the prettyprintxml() was called it'd indent it again with a further 4 spaces. I wrote a little function to clean it before the prettyprintxml() call.
2011-08-24oopsDipesh Amin1-1/+1
2011-08-23Add some code to prevent problems with the !add command.Dipesh Amin2-0/+9
Prevents the case where a person tries to add more than one piece of equiptment per slot. I also added some code to stop people adding items for free.
2011-08-23Move inventory check to player.py and remove prettyprintxml()Dipesh Amin3-33/+36
having looked at the output this produces on the server, it looks terrible. For some reason it's adding millions of spaces, not sure if the same thing was happening on my computer.
2011-08-23adding data_template and README fileStefan Beller6-0/+5548
2011-08-22Pretty horrible bug, was altering the inventory state when checking.Dipesh Amin1-1/+1
2011-08-22More cleanup.Dipesh Amin1-12/+2
2011-08-22Edit some of the help.Dipesh Amin1-7/+9
2011-08-22A few fixes, now runs without a crash!Dipesh Amin1-7/+7
2011-08-22Add pretty xml printing using xml.dom.minidom.Dipesh Amin1-4/+9
2011-08-22Fixed logic for checking money/inventory state.Dipesh Amin1-0/+24
2011-08-22Revert "Inventory/Money Check."Dipesh Amin1-25/+0
This reverts commit 73691da56f541ea1730043d0e654d97414dcb92a.
2011-08-22Revert "tab error"Dipesh Amin1-1/+1
This reverts commit 3bb4e2bd0100e353e6cffb92202e2d60c14c19a1.
2011-08-22tab errorDipesh Amin1-1/+1
2011-08-22Inventory/Money Check.Dipesh Amin1-0/+25
2011-08-22Clean up some help code.Dipesh Amin1-5/+1
2011-08-22adding more help messagesStefan Beller1-0/+18
2011-08-22Clean up more of the packet code.Dipesh Amin1-9/+2
2011-08-22Remove some more unnecessary packet handling.Dipesh Amin1-48/+2
2011-08-22Revert "oops"Dipesh Amin1-24/+0
This reverts commit 10a88e29dd96066663fe104fe7bcbd7739bbc729.
2011-08-22Revert "Move some of the packet handling code."Dipesh Amin1-2/+19
This reverts commit b75d6a31f83173f7649317c4651473e1c9731362.
2011-08-22oopsDipesh Amin1-0/+24
2011-08-22Move some of the packet handling code.Dipesh Amin1-19/+2
2011-08-22Adding gnufrk as original author of packet buffer classStefan Beller1-0/+3
2011-08-22Oops dumb mistake.Dipesh Amin1-1/+1
2011-08-22Improve the !info message, when no items are being sold.Dipesh Amin1-1/+9
2011-08-22Fix a tiny bug in the broadcast thread.Dipesh Amin1-2/+3
2011-08-22Add a relist_time setting to the configuration file.Dipesh Amin2-5/+6
2011-08-22Remove SMSG_BEING_ACTION packet handling code.Dipesh Amin1-20/+0
This is not needed for the functioning of the "TradeBot"
2011-08-22Replace a few print commands with logging.Dipesh Amin1-17/+3