Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / MultiSync Command Doesn't Work - Net Send All

Author
Message
luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 29th Mar 2009 16:41
I've tried different tests with it, and the command "net send all" just doesn't do what it's said to do.

No message is recieved across the clients. I can send individual messages with "net send <player num>"

Thanks!

Vector3 3D World Creator - By Luke Escude
Lumenous Flux Lightmapping Application - By Luke Escude
http://www.lujosoftware.com
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 29th Mar 2009 19:18
Are you sure you're not trying to use it in the client?

luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 29th Mar 2009 19:20
Haha yeah, that was the first thing I made sure of.

Vector3 3D World Creator - By Luke Escude
Lumenous Flux Lightmapping Application - By Luke Escude
http://www.lujosoftware.com
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 29th Mar 2009 20:22
Well, do the examples work for you?

luke escude
17
Years of Service
User Offline
Joined: 9th Sep 2007
Location: Right Behind You
Posted: 30th Mar 2009 00:07
Yes, I guess it's my code then.

I'll make a "for" loop to send to each player I guess.

Thanks for the help.

Vector3 3D World Creator - By Luke Escude
Lumenous Flux Lightmapping Application - By Luke Escude
http://www.lujosoftware.com
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 30th Mar 2009 00:18
Well perhaps if you could show me a snippet demonstrating your problem I can tell you where you're going wrong.

Nomad The Great
17
Years of Service
User Offline
Joined: 18th Apr 2008
Location:
Posted: 5th Jun 2009 18:38
Having the same issue: just a snippet of code

Server:

newline$="=== MoTD: Testing"
netputstring(newline$)
netsendall()

Client:

It recieves the info sent for login purposes just fine using the netmessagefrom() so i'm not sure the client is the issue.




Just a side note, if i change netsendall to netsend(playernum) it'll send to whom ever i specify just fine.

Login to post a reply

Server time is: 2025-05-15 11:10:44
Your offset time is: 2025-05-15 11:10:44