summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2011-08-22Hide items that need relisting from the !selllist.Dipesh Amin1-3/+4
2011-08-22Add more logging information.Dipesh Amin1-16/+16
2011-08-21Revert "pretty xml"Stefan Beller1-6/+2
This reverts commit cd0626bee20295d483e150d5f36def2b296b70ef.
2011-08-21pretty xmlStefan Beller1-2/+6
2011-08-21tabs->spaces, commit messages for tradesStefan Beller1-5/+9
2011-08-21commentStefan Beller1-1/+1
2011-08-21Add git commit to remove admin operations.Dipesh Amin1-0/+4
2011-08-21git commit message via parameterStefan Beller1-2/+2
2011-08-21put data into git repository to make backup easierStefan Beller2-1/+12
2011-08-21Remove a commentend sleep operation.Dipesh Amin1-1/+0
2011-08-21even more space changesStefan Beller3-57/+57
2011-08-21adding compiled python files (*.pyc) to gitignoreStefan Beller1-0/+1
2011-08-21Adding copyright notesStefan Beller5-1/+49
2011-08-21Use config file for username and passwordStefan Beller1-5/+5
2011-08-21repair indentationStefan Beller2-4/+11
2011-08-21Remove tabs by spaces and remove config fileStefan Beller6-811/+805
2011-08-21Add config.py to gitignore.Dipesh Amin2-1/+7