first, i know this is very simple and i think it is simple to use
this is a wrapper for bgt's networking capabilities, which help's you to work with networking feature in bgt
in the limitations page in bgt's refference manual, the only limitation was that
everything is in the readme, including documentation, etc
you can download this little wrapper from
if you have any suggestions, bugs to report, everything, feel free to tell me
Congratulations on creating this class, it will really make it much easier to use the network in bgt! Very good.
I'm doing some experiments here, would you or anyone could help me with these two codes? They are very simple:
Here is the client code:
show_game_window ("Test client");
if(n.is_disconnected()) alert ("ERROR","Not connected");
And this is the server code:
if(n.create_server(1,1)) alert("ok","sercer created");
if(n.is_connected()) alert("uau","Client is connected to the server");
As you can tell, in the server code, an alert would have to appear when a client connects to it. However, only the alert appears that the server is connected.
In the client, at least here, an alert should appear when it can not connect to the server, but this is not happening, even with the server inactive.
I'm doing the tests on my local machine myself and the first time the windows firewall appeared and I allowed
What am I doing wrong?
first you must create the client then connect to server
and, show_game_window must be called outside your while loop before it
Well done, I love this rapper's ease of use. Thanks for making this.