January 26th, 2005, 05:53 PM
Connecting to a Game Server
There's this new game and I know the owner of it. I'm just trying to do a little experiment with making a bot that creates an account and logs onto it. Here's the code I'm using.
# EoC Bot
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server = 'jobs248.no-ip.info'
port = 4000
print "Sending login information..."
s.send(chr(3) + chr(4) + 'Yegg' + "\r\n" + 'test' + "\r\n")
parse_data = lambda d: map(handle_event, d.split("\r\n"))
Where I did s.send, I have no clue if that's correct or how to create an account through his server. If I were to PacketLog the game and gather some information, would I have enough stuff to be able to create accounts through his server? What should I do?