summaryrefslogtreecommitdiff
path: root/player.py
diff options
context:
space:
mode:
Diffstat (limited to 'player.py')
-rw-r--r--player.py26
1 files changed, 5 insertions, 21 deletions
diff --git a/player.py b/player.py
index 6417368..ed80f66 100644
--- a/player.py
+++ b/player.py
@@ -1,26 +1,10 @@
#!/usr/bin/python
"""
-Copyright 2011, Dipesh Amin <yaypunkrock@gmail.com>
-Copyright 2011, Stefan Beller <stefanbeller@googlemail.com>
+ Copyright 2011, Dipesh Amin <yaypunkrock@gmail.com>
+ Copyright 2011, Stefan Beller <stefanbeller@googlemail.com>
-This file is part of tradey, a trading bot in The Mana World
-see www.themanaworld.org
-
-This program is free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2 of the License, or (at your option)
-any later version.
-
-This program is distributed in the hope that it will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-more details.
-
-You should have received a copy of the GNU General Public License along with
-this program. If not, see <http://www.gnu.org/licenses/>.
-
-Additionally to the GPL, you are *strongly* encouraged to share any modifications
-you do on these sources.
+ This file is part of tradey, a trading bot in the mana world
+ see www.themanaworld.org
"""
import copy
@@ -78,7 +62,7 @@ class Player:
total_money += int(user.get('money'))
if total_money != self.MONEY:
- return "Server and client money out of sync."
+ return "Server and client money out of sync. Market: %s Player %s" % (total_money, self.MONEY)
return 0