Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/19/24 18:45
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
4 registered members (AndrewAMD, Ayumi, kzhao, 7th_zorro), 739 guests, and 7 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
Page 3 of 3 1 2 3
Re: OSC [Re: MMike] #180583
02/03/08 22:36
02/03/08 22:36
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline
Serious User
nfs42  Offline
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
try first beta of GSTSocket


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: OSC [Re: nfs42] #180584
02/08/08 02:05
02/08/08 02:05
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
well it can send UDP .. but im not getting how to recieve.. what i have right now is this..


function read_udp {

if (!GSTSocket_udp_bind(5000)){
str_cpy(inco,"sender opened"); //display in a runtime text string
} else {
str_cpy(inco,"sender failded");
}


while(1) {
GSTSocket_udp_poll(sResult);
if(str_len(sResult)>0) {
str_cpy(inco,"recieved:") ; //show what recieved

str_cpy(sResult, ""); // show what is recieving
str_cpy(inco,sResult)

wait(1)}

}



The thing is that im getting no recieving ... cause it says.. sender failed

Re: OSC [Re: MMike] #180585
02/08/08 02:31
02/08/08 02:31
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
ok i got it to work now..

string recieve="waiting";
function getread{

GSTSocket_udp_bind(5000); //Set port

while(1) {

GSTSocket_udp_poll(recieve);
str_cpy(inco,recieve);
wait(1);
}

}


on_f getres;

Last edited by MMike; 02/08/08 02:35.
Re: OSC [Re: MMike] #180586
02/08/08 02:39
02/08/08 02:39
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
But what about the TCP can it be done too?

By the way your plugin is gona help alot of people i hope.

Re: OSC [Re: MMike] #180587
02/08/08 04:19
02/08/08 04:19
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
Because with TCP i will get string text (XML flowing..)
And with UDp i just get a text saying #bundle :s

Re: OSC [Re: MMike] #180588
02/08/08 07:47
02/08/08 07:47
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline
Serious User
nfs42  Offline
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
it's possible.
i'm busy this weekend.
so you have to wait 'til next week.


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: OSC [Re: nfs42] #180589
02/08/08 14:27
02/08/08 14:27
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
HUm ok. your work is really helping me out. since i have no visual studio right now to do my own plugins

Re: OSC [Re: MMike] #180590
02/08/08 21:27
02/08/08 21:27
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
anyway i got a way to use udp already via flash and Gs

Re: OSC [Re: MMike] #180591
02/13/08 22:52
02/13/08 22:52
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
About your plugin..
HUm.. when i leave the engine it gives me error?
maybe caused by the port left open? and terminate suddently. ?

Page 3 of 3 1 2 3

Moderated by  HeelX, Spirit 

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