XaeroDegreaz / SmartSocket

SmartSocket is an extensible open source, Java and PHP socket server engine. Its aim is to make creating multi-user applications as quick and painless as possible. With SmartSocket, you don't have to worry about keeping track of users, writing server code, managing threads, etc. All you have to do is use the simple communication protocol to send method call back and forth between the server and the client!
http://www.smartsocket.net
15 stars 4 forks source link

Will not compile. #1

Closed martinws closed 12 years ago

martinws commented 12 years ago

I've downloaded the latest code.

It appears code does not compile it is missing net.smartsocket.protocols.binary.RemoteCall;

The only RemoteCall in the download is in net.smartsocket.protocols.json; But this is deprecated.

XaeroDegreaz commented 12 years ago

Sorry about that! Yes, the new binary method is a lot better, but be warned, a new release has not been added to the download section, because I have not updated the Flash API to handle this new protocol.

If you are just interested in making your own client, then that's great. Anyhow, go ahead and have Git pull now -- I've pushed the missing class file (no idea how I missed that).

Thanks for the reports, and I would have gotten back to you sooner, but we've recently had a death in the family, so I've been gone.

martinws commented 12 years ago

Compiles. Note: Lots of warnings due to old RemoteClient dependencies in other classes.

XaeroDegreaz commented 12 years ago

In all honesty, unless you are trying to modify SmartSocket, or just get a deeper understanding of how the system works, you should just grab the releases from the downloads page.

The only code that relies on the non-binary version of RemoteCall is the SmartLobby code. I haven't yet retro-fitted (for a lack of better terms) the SmartLobby extension to use the new stuff.

The code in the trunk is not really release-worthy yet, thus no release download has been uploaded. I'm interested to know what warnings you are getting so that I can double check some things and make sure there isn't something else that I've neglected to upload.

Thanks again for your help.

martinws commented 12 years ago

Nothing too serious.

Files like TCPExtension still importing net.smartsocket.protocols.json.RemoteCall AbstractClient constructor/method conflict public void AbstractClient() Unused variable in SmartSocketClient.java

Also I've got some general questions. Where would you like them posted? On Google Groups?

XaeroDegreaz commented 12 years ago

Yeah, those are just warnings because I've declared that RemoteCall method as deprecated in the JavaDoc. It's still completely valid to use, but I'd like to move away from using it, because the binary method now allows for the passing of file data through the stream instead of just text.

You can post them on Google Groups, or, if you'd like, you can just catch up with me on Google Talk: XaeroDegreaz if you'd like a faster response :)