Jump to content


Photo
- - - - -

Java server communicating with 39ll GML client


  • Please log in to reply
2 replies to this topic

#1 orange451

orange451

    GMC Member

  • GMC Member
  • 995 posts
  • Version:GM8

Posted 07 February 2012 - 12:31 PM

  • Title: Java - gml server communication
  • GM Version: works on all those that 39dll works on (8.1 in the example).
  • Registeded:yes
  • File Type: :GM81: :JAR:
  • File Size:43.7 kb
  • File Link: Here
  • Required Extensions: none
  • Required DLLs: 39dll

Summary
I wanted to make a Java based server for my already online game (Java was the only other lanauage, becides gml that I consider myself to be good at). So, I wrote an online library (not using 39dll at all) in java that can communicate with 39dll (for the client). Hell it can probably be used as a java - java game, or a gml server to a java client :P.
You /should/ run the batch file for the server (not the jar) or a command window won't open up (just so you can see what's going on in the console :3)


There are some drawbacks that I'm working on however... with bytes and integers, you should not send values greater than 127 or less than -96. It seems that almost any string works perfectly fine however.

Edited by orange451, 09 February 2012 - 12:56 PM.

  • 0

#2 Terrified Virus

Terrified Virus

    Moderators Plaything

  • GMC Member
  • 724 posts
  • Version:GM:Studio

Posted 07 March 2012 - 03:20 AM

this looks... interesting...
  • 0

#3 client

client

    GMC Member

  • New Member
  • 45 posts
  • Version:GM:HTML5

Posted 21 August 2012 - 11:38 AM

thank you .can you upload java open source server ?
server write 2 byte
client read 255 byte maybe java cannot control WindowsSockets.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users