CDB-Man Posted July 18, 2008 Report Posted July 18, 2008 (edited) This is a new error, each time the bot connects to the zone this error occurs: Connected! >> GO: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedConstructorAccessor1.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.cericlabs.jcnlib.util.MessageTranslator.handleMessage(Unknown Source) at com.cericlabs.jcnlib.CNConnection.processMessage(Unknown Source) at com.cericlabs.jcnlib.CNConnection$SocketReader.run(Unknown Source) Caused by: java.lang.NumberFormatException: For input string: " Vengeance>" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at com.cericlabs.jcnlib.events.PlayerEntered.<init>(Unknown Source) ... 6 more <<MSG:ARENA:Hyperspace! Check ?buy ships to get started and keep up to date on http://sshyperspace.net source code removed Edited July 18, 2008 by CDB-Man Removed username/password/chats from the log. lawl. http://imgur.com/t1XoF.png1:TheSerpentMage> cdb is asian. his brain runs on math. he's got the system figured out
★ Ceiu Posted July 18, 2008 Report Posted July 18, 2008 In this particular case, the problem is coming from a fake player named . In normal circumstances, player names cannot contain a colon but because it's a fake player, it bypasses the biller and that limitation. Further, since the PlayerEntered packet puts the name in the front (rather than the back), it requires some additional magic to properly handle the unlikely event that a colon'd name will exist. I'll likely throw a fix together for such rarities in the near future, but for now the bot in question has been renamed so it should take care of any problems you're having. D1st0rt> while(it.age < 13) { hit(it); } quit(it);
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now