Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Ayumi, 7th_zorro, 1 invisible), 1,060 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
ent_bonerotate in multiplayer #327529
06/06/10 22:22
06/06/10 22:22
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
I'm working on a multiplayer game and I've got it working great except the bone rotation. I use ent_bonerotate but somehow the changed angles isn't send to the clients. I had a test run with the sever/client and two clients. The server showed the right angles in his view but not on both clients. Client1 had correct angles on the server side and on it's own side but not on client2. Client2 had the right angles on the server and on it's own side but not on the client1 side.
Hope someone knows how to solve this. Many thanks in advance.

Re: ent_bonerotate in multiplayer [Re: molotov] #327532
06/06/10 22:59
06/06/10 22:59
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
you need to send the angle of the bone from server to the other clients, and rotate the bones client-side.


3333333333
Re: ent_bonerotate in multiplayer [Re: Quad] #327569
06/07/10 08:07
06/07/10 08:07
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Thanks Quadraxas for your fast reply. I did make a function on the client side to rotate the bones, that works great on that particular client. But the problem is that the changes angles on the server aren't send to other clients.

Re: ent_bonerotate in multiplayer [Re: molotov] #327748
06/08/10 13:07
06/08/10 13:07
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Can anyone help me, it would really be appreciated.

Re: ent_bonerotate in multiplayer [Re: molotov] #327762
06/08/10 14:30
06/08/10 14:30
Joined: May 2009
Posts: 445
Peine, Germany
Razoron Offline
Senior Member
Razoron  Offline
Senior Member

Joined: May 2009
Posts: 445
Peine, Germany
I don't use the Network functions of Gamestudio, but maybe you can store the angles in skills and send them with send_skill.
Some parts of the code would be nice.

Re: ent_bonerotate in multiplayer [Re: molotov] #327763
06/08/10 14:32
06/08/10 14:32
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Use a skill to store the new angle of the bone and then send the skill to all clients. On the clients you can now change the bone.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: ent_bonerotate in multiplayer [Re: Dark_samurai] #327774
06/08/10 15:06
06/08/10 15:06
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Hey Razoron and Dark_samurai, I'll post a demo of my project, so you could see the code and how it works in action.

Re: ent_bonerotate in multiplayer [Re: molotov] #327775
06/08/10 15:12
06/08/10 15:12
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
Here's the link, controls are "wasd" + the cursor keys:
http://rapidshare.com/files/396709458/multiplayer.rar.html

Re: ent_bonerotate in multiplayer [Re: molotov] #327793
06/08/10 16:57
06/08/10 16:57
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
The link above can only be downloaded 10 times, so to make sure it could be proper downloaded, here's a new link:
http://rapidshare.com/files/396742917/multiplayer.rar

Also you can use the server.bat and the client.bat files to test run.

Last edited by molotov; 06/08/10 16:59.
Re: ent_bonerotate in multiplayer [Re: molotov] #328050
06/10/10 09:50
06/10/10 09:50
Joined: Apr 2006
Posts: 329
M
molotov Offline OP
Senior Member
molotov  Offline OP
Senior Member
M

Joined: Apr 2006
Posts: 329
No reply sofar, can nobody help me with this?

Page 1 of 2 1 2

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