Untitled

Published May 31, 2006
Advertisement
I decided to go ahead and re-tool my bot for Kingdom of Loathing. It basically needed a complete rewrite, because its built upon another bot's (KoLmafia) underlying interfaces (yay java!) which aren't really meant to be exposed.

I guess that's one of the few "good" things I like about Java - you can do stuff like that without needing the code or anything - all the information you need is available in the jar file. Granted, you have to figure out all the interfaces and relations and stuff, but that's half the fun. Like the developer changing the order of the parameters of a constructor with the signature

AdventureRequest( KoLmafia, String, String, String )

Yeah... that one threw me for a spin. But the core functionality (my scripting system, logging in/out of the servers, and adventuring) is finished.

Anyway, just so we're clear, Java still sucks.

Oh, and does anyone know about using Python with Java? I'd love to have a more robust scripting system than I have now - though I'm not sure I should even bother with something like that. I basically just need a client that can analyze the gamestate from a guild perspective rather than a player perspective - there are existing bots for that - because I'm essentially running a botguild. Its pretty cool.
Previous Entry Untitled
Next Entry Untitled
0 likes 4 comments

Comments

DukeAtreides076
LOL JAVA
May 31, 2006 04:59 PM
HopeDagger
Quote:Anyway, just so we're clear, Java still sucks.


I've officially decided to stop defending Java from offhand remarks. Why? Because as of late I've come to agree with your conclusion. :P

GO QBASIC!
May 31, 2006 09:59 PM
MustEatYemen
Java <-> Python = http://www.jython.org/
May 31, 2006 10:18 PM
Mushu
Ah, I figured there was something like that.

Well... cool :D
June 01, 2006 01:41 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Untitled

5308 views

Untitled

1043 views

Untitled

1185 views

Untitled

1100 views

Untitled

1145 views

Untitled

1429 views

Untitled

1098 views

Untitled

999 views

Untitled

1003 views

Untitled

1183 views
Advertisement