Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 1,170 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Need Help in LAN multiplayer #309019
02/06/10 16:41
02/06/10 16:41
Joined: Feb 2010
Posts: 1
D
decryptkid Offline OP
Guest
decryptkid  Offline OP
Guest
D

Joined: Feb 2010
Posts: 1
help, just got recently into 3dgamestudio, im programming my first ever fighting game and i would really like to add up a multiplayer, through LAN. But when i tried to apply what i learned from the AUM's, i got this problem:

the character for my client wont move an inch, while my character in the server works fine. it works like this;

my = ent_create("model.mdl", vector(100, 30, 40), player_action);
wait(-0.5);
client_ent = handle(my);
send_var(client_ent);

there is no problem with the connection part... but i still cant get my client's character to move unless i use the ent_createlocal, but the thing is, yes he does can move, but it cant move out of its original place, as if an invisible cage surrounds him.


help is much appreciated. tnx in advance.

Re: Need Help in LAN multiplayer [Re: decryptkid] #313193
02/28/10 09:31
02/28/10 09:31
Joined: Mar 2007
Posts: 112
MikeS Offline
Member
MikeS  Offline
Member

Joined: Mar 2007
Posts: 112
try this.

movmenz code on server.

while(skill1 == 1)
move forward
send all my.x


movment code on client:

if(key_w == 1)
my.skill1 == 1
send_skill1 to server

Re: Need Help in LAN multiplayer [Re: MikeS] #313198
02/28/10 10:05
02/28/10 10:05
Joined: Sep 2009
Posts: 496
P
Progger Offline
Senior Member
Progger  Offline
Senior Member
P

Joined: Sep 2009
Posts: 496
It is important to change that wait(-0.5);
cange it to wait(-5);
perhaps it will work


WFG progger


asking is the best Way to get help laugh laugh laugh

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