Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 827 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
3DGS-PE/Networking: createlocal -> not a phys ent! #27232
05/11/04 21:53
05/11/04 21:53
Joined: Feb 2004
Posts: 39
Stuttgart, Germany
Rocko75 Offline OP
Newbie
Rocko75  Offline OP
Newbie

Joined: Feb 2004
Posts: 39
Stuttgart, Germany
Hello,

I have a game that should be playable in a lan.

But when I create a LOCAL entity and try to assing it to a group I get there message, that its not a physics entity, even though on line before a set_group was successful!

What am I doing wrong?

Thanx, Arnim.

Re: 3DGS-PE/Networking: createlocal -> not a phys ent! [Re: Rocko75] #27233
05/12/04 19:10
05/12/04 19:10
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Physics, collision detection, and everything that requires knowledge about the whole level can only run on the server. Client side functions are only for visual effects, like animation etc.

Re: 3DGS-PE/Networking: createlocal -> not a phys ent! [Re: jcl] #27234
05/12/04 19:16
05/12/04 19:16
Joined: Oct 2002
Posts: 806
Zapan@work Offline
User
Zapan@work  Offline
User

Joined: Oct 2002
Posts: 806
Is there a wa to change this behaviour?
For a good playable physic/network game we need a way to create local physic entities...

Re: 3DGS-PE/Networking: createlocal -> not a phys ent! [Re: Zapan@work] #27235
05/13/04 00:15
05/13/04 00:15
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Can you explain what you want to do with local physics entities?

Re: 3DGS-PE/Networking: createlocal -> not a phys ent! [Re: jcl] #27236
05/13/04 01:27
05/13/04 01:27
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Quote:

For a good playable physic/network game we need a way to create local physic entities...





Can you explain the basis for this comment?
Why a local physics entity is "needed" for a playable network game?
How have you come to this conclusion?

Re: 3DGS-PE/Networking: createlocal -> not a phys ent! [Re: fastlane69] #27237
05/13/04 01:57
05/13/04 01:57
Joined: Oct 2002
Posts: 806
Zapan@work Offline
User
Zapan@work  Offline
User

Joined: Oct 2002
Posts: 806
Currently it's not a big point for us because we don't use the physics engine.

But for our next projects we will use many physic entities in a network.

Why we would need local physic entites:
It would be the wrong way to have _all_ physic entites only on the server side, because the server must send every object's positon every frame to create a very 'smooth' movement/and so on. That is too much traffic.

The right way is to create teh entites local and move them in the same way as the server does and send only 'n' frames a checksum from the server to the clients(for correction). We use this thing in our current network game and the result is a very smooth gameplay like in unreal or quake. We use this thing for _every_ object(projectils, players, enviroment and so on) and the result is very good.

For more information(we used these tings):
http://www.bookofhook.com/Article/GameDevelopment/TheQuake3NetworkingModel.html
http://unreal.epicgames.com/Network.htm
http://www.amazon.com/gp/reader/0201325578/ref=sib_dp_pt/103-7358877-3671056#reader-link

Re: 3DGS-PE/Networking: createlocal -> not a phys ent! [Re: Zapan@work] #27238
05/13/04 02:04
05/13/04 02:04
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Quote:

nd send only 'n' frames a checksum from the server to the clients(for correction).




If your physics is on the client, how does it know it needs corrected? How do you know your client isn't sending the other players a fake physics update to avoid a bullet!?

Quote:

It would be the wrong way to have _all_ physic entites only on the server side, because the server must send every object's positon every frame to create a very 'smooth' movement/and so on.




Absolutley. Sending a network update EVERY change is not the right way to do it. So why must the server send every object position every frame? This is NOT needed for smooth movement under ANY architecuture. Dead Recknoing is one example of how to deal with this.


Your native approach is DO-ABLE in LAN but will crash spectacularly in WAN or with more than a few players.

Re: 3DGS-PE/Networking: createlocal -> not a phys ent! [Re: fastlane69] #27239
05/13/04 15:31
05/13/04 15:31
Joined: Oct 2002
Posts: 806
Zapan@work Offline
User
Zapan@work  Offline
User

Joined: Oct 2002
Posts: 806
We've tested this with a 8player network session and the result was very nice.

We're preparing some massive i-net tests for the next weeks but I don't see the reaseon why this thing should not work "good" over internet.


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