Gamestudio Links
Zorro Links
Newest Posts
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
5 registered members (AbrahamR, wdlmaster, 7th_zorro, dr_panther, 1 invisible), 764 guests, and 5 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
send a var to a client who don't create entity #97070
11/02/06 07:20
11/02/06 07:20
Joined: Aug 2005
Posts: 56
Taiwan
A
anfuncy Offline OP
Junior Member
anfuncy  Offline OP
Junior Member
A

Joined: Aug 2005
Posts: 56
Taiwan
Hi, all.
I want to send a var to a certain client.
I know send_var_to, but the client don't create any entity,
is it possible to send a var to the clint?
Thanks

Re: send a var to a client who don't create entity [Re: anfuncy] #97071
11/02/06 09:39
11/02/06 09:39
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
No, not if you want to send it only to that client. As a solution, just create an invisible and passable dummy entity from that client.

Re: send a var to a client who don't create entity [Re: Excessus] #97072
11/02/06 11:06
11/02/06 11:06
Joined: Aug 2005
Posts: 56
Taiwan
A
anfuncy Offline OP
Junior Member
anfuncy  Offline OP
Junior Member
A

Joined: Aug 2005
Posts: 56
Taiwan
Thanks
I will try it

Re: send a var to a client who don't create entity [Re: anfuncy] #97073
11/02/06 11:12
11/02/06 11:12
Joined: Jan 2003
Posts: 4,305
Damocles Offline
Expert
Damocles  Offline
Expert

Joined: Jan 2003
Posts: 4,305
This is one of the strange things Conitec did:

that the send_var_to is bound to an entity, not
a client-ID.

This should be changed !
In a way, that clients get an ID number or another type of ID,
so that the server can communicate with exactly this client.

So even if you create no global entites (all local, communication only by variables/arrays)
you are forced to create at least one global entity.

Re: send a var to a client who don't create entity [Re: Damocles] #97074
11/02/06 11:25
11/02/06 11:25
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Yes you are right. JCL sayd he will allow send_var_to to take a clientID as parameter instead of an entity. This is part of the multiplayer improvements on the forecast.

Re: send a var to a client who don't create entity [Re: Excessus] #97075
11/02/06 12:48
11/02/06 12:48
Joined: Aug 2005
Posts: 56
Taiwan
A
anfuncy Offline OP
Junior Member
anfuncy  Offline OP
Junior Member
A

Joined: Aug 2005
Posts: 56
Taiwan
That's good news.
hope the new type of send_var_to can be presented to the public
as quickly as possible

Last edited by anfuncy; 11/02/06 12:50.

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