Since I dont have a dll plugin currently, I have to use a very crude method to
communicate with the Javaclient.
CScript Basically encodes the information to be send into a specific format,
and reads it out that way.
The Javaclient on the other end does the same, and transmits the data to the server.

Variables cant be written directly into the communication link between Java and 3dgs.
There is a function written in c-script, that saves the ID of the variable and the value.

the same goes for strings, altough strings are mainly used for the chat channel, so
it is handled a bit different.

the variables have an defined ID number. Such that var is_raining for example
gets the predefined ID 445.

so sending "445 1" can be read out as, variable is_raining = true, by the javaclient.

Entityskills, need to get the id of the entity and the skillnumber, and the value.

The java-client can transmit these values, and the Java-server can asign them to the
related object-instance.

So the Java-Server could handle the whole Gamelogic on Java-Basis.
With all the advantages (like object oriented programming, SQL Connection,
Useful GUI for presenting the current server-data, AI based on objects, Linux compatibility)

Stuff like collision-detection needs to be calculated by Java itself though.
But this is managable whenever the gameworld is designed more abstract, without
detailed collision detection.


Curretly I can send variables and Strings to the clients, and by them to the server, and return
the data to specific or all clients.
Its still just a test ot mehtods and not for a specific game. Maybe one wants to take
up the system to transform it into a MMO game system.