Compiled Network Demo?

Previous topic - Next topic

Punky Feople

I am trying out GLBasic and would like to have a working compiled network demo.  I am not looking for anything other than basic network functionality demonstrations.  I would like to be able to test a server and several clients on my home network.

Is this possible?  If so is the code for the demo also available for review?

I would require both of these before purchasing the full product.  

Side Note:  I have attempted to compile the network demo that comes with the trial sdk and I always receive license not found for NET errors.  I am assuming this is because the network functionality is not included in the trial sdk.

Punky Feople

Ok, I noticed there was an update available to 3.089 from 3.082, however, I received an error after the 2k download was completed within the GLBasic Updater...

The error read something like this:

Runtime Error!

Program: c:\program files\glbasic\update_e.exe

This application has requested the runtime to terminate it in an unusual way.
Please contact the applications support team for more information.

Could this be the reason the network demo does not compile and/or run for me?

I still think it makes more since to have precompiled demos of all the features available.

Kitty Hello

I'll have a look at that. So far the 3.082 should be able to compile network. I have to see, maybe there's a bug...

Kitty Hello

Did it say:
"SimpleDemo.gbas"(11) warning : Demo mode: no valid license for this feature : NETGETIP$
or:
"SimpleDemo.gbas"(11) error : Demo mode: no valid license for this feature : NETGETIP$

Warning or Error??

Punky Feople

Quote from: GernotFrischDid it say:
"SimpleDemo.gbas"(11) warning : Demo mode: no valid license for this feature : NETGETIP$
or:
"SimpleDemo.gbas"(11) error : Demo mode: no valid license for this feature : NETGETIP$

Warning or Error??
Yes that is the exact error.

Thanks for looking into this for me!

Kitty Hello

OK, if it says error, I'll upload a new update. If you can't install it, tell me what's the last message the update_e.exe displayed before the crash.

Punky Feople

Updated the software with no problems this time... still getting this error when trying to compile and test the network demo:

*** Configuration: WIN32 ***
precompiling...

GPC - GLBasic Precompiler V.2006.091 - 2D, WIN32
compiling...
SimpleDemo.gbas (4 KB)
"SimpleDemo.gbas"(11) warning : Demo mode: no valid license for this feature : NETGETIP
"SimpleDemo.gbas"(32) warning : Demo mode: no valid license for this feature : NETJOINGAME
"SimpleDemo.gbas"(32) warning : Demo mode: no valid license for this feature : NETJOINGAME
"SimpleDemo.gbas"(39) warning : Demo mode: no valid license for this feature : NETHOSTGAME
"SimpleDemo.gbas"(39) warning : Demo mode: no valid license for this feature : NETHOSTGAME
"SimpleDemo.gbas"(52) warning : Demo mode: no valid license for this feature : NETCREATEPLAYER$
"SimpleDemo.gbas"(64) warning : Demo mode: no valid license for this feature : NETGETMSG$
"SimpleDemo.gbas"(76) warning : Demo mode: no valid license for this feature : NETSENDMSG
"SimpleDemo.gbas"(78) warning : Demo mode: no valid license for this feature : NETPLAYERNAME$
"SimpleDemo.gbas"(80) warning : Demo mode: no valid license for this feature : NETSENDMSG
"SimpleDemo.gbas"(94) warning : Demo mode: no valid license for this feature : NETSENDMSG
"SimpleDemo.gbas"(103) warning : Demo mode: no valid license for this feature : NETSENDMSG
"SimpleDemo.gbas"(105) warning : Demo mode: no valid license for this feature : NETGETMSG$
"SimpleDemo.gbas"(132) warning : Demo mode: no valid license for this feature : NETNUMPLAYERS
"SimpleDemo.gbas"(134) warning : Demo mode: no valid license for this feature : NETGETPLAYERID$
"SimpleDemo.gbas"(135) warning : Demo mode: no valid license for this feature : NETPLAYERNAME$
"SimpleDemo.gbas"(11) error : call to undefined function : NETGETIP

Kitty Hello

Uh-Oh! The ccmmand is called "NETGETIP$" notice the $ at the end...