Gamestudio Links
Zorro Links
Newest Posts
Trades during a running bar
by Martin_HH. 09/18/26 12:45
Capital slider is not saving in Z12
by frutza. 09/17/26 13:36
Avoiding pop-up training parameter results
by Martin_HH. 09/16/26 21:31
What are you working on?
by rayp. 09/16/26 20:20
Future of ZorroHFT
by TipmyPip. 09/16/26 09:28
Fun Arcade Car Physics (nfs style)
by rayp. 09/16/26 05:23
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (frutza), 2,528 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
lokkalyansamiti, rahulbuilds, speedx, liop, Bauer097
19235 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 | 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