Jump to content
SSForum.net is back!

Recommended Posts

Posted (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 by CDB-Man
Removed username/password/chats from the log. lawl.

http://imgur.com/t1XoF.png

1:TheSerpentMage> cdb is asian. his brain runs on math. he's got the system figured out

Posted

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);

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...