The client is connected and the server sends initial information (A list of possible empire and career choices - and species but the only playable one is Human ATM) to the client. So I know that my client and server are talking to each other over localhost.
smartFox.SendXtMessage("Login", "createChar", key)
does not trigger an error (Where key is of type Boo.Lang.Hash - a hastable. Any other object type triggers an error about invalid object types, which isn't mentioned in the docs.)
I've tried sending it to a Zone extension ("Login") and a Room Extension ("CreateChar"). I have joined the room that the Room Extension is loaded into, and confimed that the user is joined in the admin panel (also, the trigger for the server to send the menu information is someone joining that room, so the fact that I'm receiving the menu information indicates that I've joined the room.)
Both handlerequests look something like this;
Code: Select all
def handleRequest(cmd, params, who, roomId, protocol):
_server.trace("Login Request")
_server.trace(cmd)
_server.trace(params)
_server.trace(who)
_server.trace(roomID)
_server.trace(protocol)
Nothing fancy, basically a confirmation that I am receiving the message. However, the server has no response, no errors or anything.
I found a thread on the forum with someone with a similar problem, and they said they fixed it by adding "SmartFox.Connection = smartFox" to their OnConnect(), however I tried that and SmartFox is not a recognized variable. Is there another module I need to import besides the SmartFoxClientAPI? (Also tried things like SmartFoxClient.Connection and SmartFoxClientAPI.SmartFox.Connection to no avail)