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 / Multiplayer: clients see different view

Author
Message
Kiaurutis
15
Years of Service
User Offline
Joined: 19th Jan 2011
Location: Lithuania
Posted: 13th Jul 2011 17:27
I just found some example of multiplayer code in examples folder of my DBP. Now the problem is that when I run 2 client's they see different view. I have seen this while playing Lineage II too. Like when I try to place 4 character's in a square. When 1 of characters see all 4 in a square, others see rhombus or smth else.

Why is this happening? Is there any way to fix that? Does this affect gameplay as server sees different than players, or it is just a client view inaccuracy?

Join The dark Side! We have cookies
basjak
16
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 17th Jul 2011 17:51
there could be somthing wrong with the code mathematics. have a look at the time when the server send the sprite position details to the client or have a look at the position details at the client software after it has received the sprite information.
Kiaurutis
15
Years of Service
User Offline
Joined: 19th Jan 2011
Location: Lithuania
Posted: 18th Jul 2011 12:45
Code is very simple, no big maths there:



Join The dark Side! We have cookies

Login to post a reply

Server time is: 2026-07-10 12:02:37
Your offset time is: 2026-07-10 12:02:37