Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 831 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
String, please help #214353
07/04/08 10:29
07/04/08 10:29
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline OP
Serious User
croman  Offline OP
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
Hi,

I don't what's wrong with me but i can't send string to a server... laugh

How to send string from client to server, what function should i use. Please help...

if(connection == 2){
str_cat(plNames1, ", ");
str_cat(plNames1, player_name);
send_string(plNames1);
}

i'm using this now, but i tried alot of "methods"

Last edited by cerberi_croman; 07/04/08 10:31.


Ubi bene, ibi Patria.
Re: String, please help [Re: croman] #214373
07/04/08 10:50
07/04/08 10:50
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline OP
Serious User
croman  Offline OP
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
can anyone please help me quickly?

when host starts plNames is the name of a host, then when client is started he adds his name into that string at that strings contains both of the names on client but that string isn't sent over to host and on host that string still shows only his name...

anyone?



Ubi bene, ibi Patria.
Re: String, please help [Re: croman] #214374
07/04/08 10:51
07/04/08 10:51
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Quote:
can anyone please help me quickly?


Why the rush?
Looks fine to me; the problem must be elsewhere in the entirety of your code.

Re: String, please help [Re: fastlane69] #214377
07/04/08 11:00
07/04/08 11:00
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline OP
Serious User
croman  Offline OP
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
yeah i found it...it seems that i couldn't send that string but use another string for sending...sorry for not being patient smile



Ubi bene, ibi Patria.

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