Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by dr_panther. 05/18/24 11:01
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (dr_panther, Ayumi, 1 invisible), 708 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[GSTSocket] 0.2 beta released #181822
02/03/08 22:39
02/03/08 22:39
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline OP
Serious User
nfs42  Offline OP
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
try this beta with udp functions
Download


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Re: [GSTSocket] 0.2 beta released [Re: nfs42] #181823
02/21/08 22:43
02/21/08 22:43
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
Cool .. i've tryed and it helped me out a lot..

Though i get an error after closing the window.. of GS engine, im using vista.. I'm not sure if its another dll im using that is causing this , or is your dll, .. havent time to check that.

Re: [GSTSocket] 0.2 beta released [Re: MMike] #181824
03/25/08 20:58
03/25/08 20:58
Joined: Sep 2007
Posts: 23
Dietzenbach
Arnd Offline
Newbie
Arnd  Offline
Newbie

Joined: Sep 2007
Posts: 23
Dietzenbach
Hallo, It works fine as i use wdl script!

I dont have that error on my Windows XP System. As soon i use Lite-C i got no connection to the dll, here my Lite-C Server Test Programm :

var r;
function GSTSocket_udp_bind(var vPort); // evaluates an expression
function GSTSocket_udp_poll(STRING* sResult);
function GSTSocket_udpclient_open(sIP, vPort);
function GSTSocket_udpclient_send(sData);

STRING* zeile0 = " ";
STRING* zeile1 = " ";
STRING* zeile2 = " ";
STRING* zeile3 = " ";
STRING* zeile4 = " ";
STRING* zeile5 = " ";
STRING* zeile6 = " ";
STRING* zeile7 = " ";
STRING* zeile8 = " ";
STRING* zeile9 = " ";
STRING* my_laber = " ";

STRING* sResult= " ";
STRING* sTest= " ";

TEXT* all_messages =
{
pos_x = 8;
pos_y = 200;
layer = 5;
strings = 10;
string zeile0 , zeile1 , zeile2 , zeile3, zeile4, zeile5, zeile6, zeile7, zeile8, zeile9 ;
flags = VISIBLE;
}


function zeileneu()
{
str_cpy(zeile0,zeile1);
str_cpy(zeile1,zeile2);
str_cpy(zeile2,zeile3);
str_cpy(zeile3,zeile4);
str_cpy(zeile4,zeile5);
str_cpy(zeile5,zeile6);
str_cpy(zeile6,zeile7);
str_cpy(zeile7,zeile8);
str_cpy(zeile8,zeile9);
str_cpy(zeile9,my_laber);
str_cpy(my_laber,"#80"); // den string leeren
}


function main() {

video_mode = 8; // 1024 * 768
video_screen = 2; // Fenster ist =2 Vollschirm=1

str_cpy(my_laber,"Programm gestartet");
zeileneu();
//
if (!GSTSocket_udp_bind(5000)) {
diag("\nListener opened");
str_cpy(my_laber,"Listener opened");
zeileneu();
} else {
diag("\nListener failed to bind");
str_cpy(my_laber,"Listener failed to bind");
zeileneu();
}
while(1) {
GSTSocket_udp_poll(sResult);
if(str_len(sResult)>0) {
diag("\n"); diag(sResult);
str_cpy(my_laber,sResult);
zeileneu();
str_cpy(sResult, "");
}
wait(1);
}
}

------------------------------------------------------------------
The Second line is here the Problem, I dont know which Variable Typ i have to call the dll (Integer, Long, Pointer...) so i tryed several Types like: function GSTSocket_udp_bind(int vPort) but i dont get it until now...

Maybee somebody has an Idea?

Regards

Arnd


Moderated by  aztec, Blink, HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1