Search found 4 matches

by devlpr
13 Dec 2014, 12:08
Forum: Job offers and requests
Topic: Removed
Replies: 2
Views: 33908

Re: 2D Avatar Asset Designer - My Designs

These look similar to YoVille's avatars and clothing.
by devlpr
12 Dec 2014, 22:12
Forum: Server Side Extension Development
Topic: Java Extension Not Receiving String Packets
Replies: 4
Views: 9247

Re: Java Extension Not Receiving String Packets

Are you sure you don't have any exceptions on the server side, after sending the request?
Also, are you sure the Extension is actually running?
Adding a trace statement in the init() method will help you make sure your code is working correctly.

cheers


In my first post the init had a trace, so ...
by devlpr
06 Dec 2014, 03:24
Forum: Server Side Extension Development
Topic: Java Extension Not Receiving String Packets
Replies: 4
Views: 9247

Re: Java Extension Not Receiving String Packets

You need to specify the protocol in the sendXtMessage call

Example:
smartfox.sendXtMessage("test", "loginTest", login_txt.text, "str");

the 4th parameter indicates the protocol. If omitted it will default to XML.

I must've forgotten that in my original post. But the code I was using before ...
by devlpr
29 Nov 2014, 17:15
Forum: Server Side Extension Development
Topic: Java Extension Not Receiving String Packets
Replies: 4
Views: 9247

Java Extension Not Receiving String Packets

This is my first time creating an extension, I tried looking at the docs and everything. I created a simple extension and made it log all requests received. For some reason, it's not receiving the "str" packets. Here's the extension:

package <redacted>;

import java.nio.channels.SocketChannel ...