Re: Python XChat Play Bot
NEW RELEASE
Some more bug fixes
Updated network list
You are not logged in. Please login or register.
MultiRPG → Scripting (other) → Python XChat Play Bot
NEW RELEASE
More bugs fixed
Updated Network List
New Commands Added:
/rawplayerson
/rawstatson
You can now choose how you get data for the playbot either by using the rawstats2 command or from the rawplayers3 website.
If your network lags you are best not using rawstats at a game reset for the first 2 days as it will cause problems due to the lag which could be hours between a command issued and actioned.
Current List of PlayBot Commands
Bot Text Mode Off - /bottextoff
Bot Text Mode On - /bottexton
Erase Config File - /eraseconfig
Error Text Mode Off - /errortextoff
Error Text Mode On - /errortexton
Evil Mode Off - /eviloff
Evil Mode On - /evilon
Item Upgrader Mode Off - /itemupgraderoff
Item Upgrader Mode On - /itemupgraderon
Log In Char - /login charname password
Log Out Char - /logoutchar
Multiple Fight Mode - /singlefightoff
PlayBot Commands List - /helpplaybot
Player's Items - /items
Player's Status - /status
Rawplayers Mode On - /rawplayerson
Rawstats Mode On - /rawstatson
Set Align Level - /setalignlevel number
Set BetMoney - /setbetmoney number
Set Engineer Buy Level - /setengineerbuy number
Set Hero Buy ItemScore - /setherobuy number
Set Item Buy Level - /setitembuy number
Settings List - /settings
Single Fight Mode - /singlefighton
Upgrade All Mode Off - /upgradealloff
Upgrade All Mode On - /upgradeallon
Version Checker - /versioncheck
If you want more information about a command use /help <command> - ie /help settings
NEW RELEASE
Anybody using 7.4 and rawstats needs up to upgrade due to some crash bugs
More bugs fixed
Slaying Monsters have changed to include all monsters so if you want to disable a monster just comment it out
Updated Network List
Added:
BNC/ZNC Reconnection Support - I've only tested it with OracleBNC on Kuroi so far. You still need to use hexchat to run the playbot.
TrivialityZone Network support which is PyLinked through IRC4Fun
rawstats/rawplayers switching - For the 1st 30 levels of the game and if you are on a laggy network and if you were using rawstats last game it will switch to rawplayers and then back to rawstats again after the 1st 30 levels are over.
New Command
/eraseconfig - which will erase your config file
I'm getting this error in Python 3.5.7 if I load it via HexChat or IDLE.
[03:30:11] File "<string>", line 277
[03:30:11] except urllib2.URLError, detail:
[03:30:11] ^
[03:30:11] SyntaxError: invalid syntax
[03:30:11] Error loading module
Tried 7.5 and 7.4.
Windows 7
HexChat 2.12.3
Python 3.5.7
multi 7.5 and 7.4
It only works with python 2.7, I haven't been able make a python 3 version of it work at all.
Ahh! Thank you for the info.
By the way, I tried it in a znc bouncer but it seems znc has a different way of loading python modules, which I can't understand a thing. Their wiki on that is: http://wiki.znc.in/Modpython
I'll use it in hexchat for now ^_^ Thank you again!
The ZNC support only works through hexchat not directly to ZNC on its own. So you need to add the ZNC settings into hexchat and the playbot. If your internet disconnects for any reason, instead of it reconnecting to the network you are listed to be on it will connect to the ZNC instead.
NEW RELEASE
Bug Fixes
Added:
Nickserv support
Multiple server address support for reconnecting so if it fails to connect to a server address it will switch to another server
New Commands Added:
/status - Player's Status
/items - Player's Items
It warms my heart that you guys have taken my old code and ran with it. It's been about six years now and I can't believe how much you've improved on what I had. You're the man Russ!
-AG420
It has been fun upgrading it. I have also made a version of it for supybot/limnoria which I must get around to releasing one day.
NEW RELEASE
Bug Fixes
Replaced TrivialityZone support with custom network support so you can set up the PlayBot to play on any pylinked network which is linked to a game network.
http://russellb.f2s.com/playbot_v7-9single.py
http://russellb.f2s.com/playbot_v7-9multi.py
NEW RELEASE
Python 3 support added
http://www.russellb.f2s.com/playbot_v8single.py
http://www.russellb.f2s.com/playbot_v8multi.py
I have also finished the supybot/limnoria version of the playbot which will be in separate topic.
NEW RELEASE
Removed depositon command
Added auto detect of frozen times bug
Bug fixes
Updated Network List
Single Player - http://www.russellb.f2s.com/playbot_v8-1single.py
Multi Player - http://www.russellb.f2s.com/playbot_v8-1multi.py
NEW RELEASE
Bug Fixes
Added logoutchar command to single player version
Single Player - http://www.russellb.f2s.com/playbot_v8-2single.py
Multi Player - http://www.russellb.f2s.com/playbot_v8-2multi.py
NEW RELEASE
Bug Fixes
Single Player - http://www.russellb.f2s.com/playbot_v8-3single.py
Multi Player - http://www.russellb.f2s.com/playbot_v8-3multi.py
NEW RELEASE
Lots of Bugs Fixed
Removed depositoff command as it is no longer needed
Changed Frozen time detection to now use rawstats instead of depositing gold to force an update
Added Random Star detection so if a random stars makes you level up an interval happens
Added Bot host checker
Added nickserv support for Dalnet
Updated Network List
Fixed issue with Efnet when gamebot is not opped
A big rewrite of how data is generated for the multi player version
Some changes on hero/engineer buy/upgrading
Some changes to upgrade all. If you turn off both itemupgrader and upgradeall it will do an upgrade all 5 instead of multiples of 1 and upgrading the lowest item.
Commands Added
/bottextoff - Turns normal messages from playbot off
/bottexton - Turns normal messages from playbot on
/errortextoff - Turns error messages from playbot off
/errortexton - Turns error messages from playbot on
Single Player - http://www.russellb.f2s.com/playbot_v9single.py
Multi Player - http://www.russellb.f2s.com/playbot_v9multi.py
MultiRPG → Scripting (other) → Python XChat Play Bot
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.