Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Clients blink when running #130054
05/15/07 19:09
05/15/07 19:09
Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Ran Man Offline OP
Expert
Ran Man  Offline OP
Expert

Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Hi Guys,

I have a working trial version of a game that is "single" player and are now programming it for "MULTIPLAYER" also.

Okay, so I got it to work, both server and clients communicate, but I do notice that when running the player on the CLIENT, that the player does run, but it appears to be blinking slightly. The SERVER is not blinking on the server computer.

Question:
Okay, so is this normal?

I'm thinking it's normal, because the server has to actually move the player on the network.

Has anybody ever got their player to be able to run around on terrain with trees and not blink? Probably not right?

Oh, let me add that this is being run on a LAN.

Last edited by Ran Man; 05/15/07 19:12.

Cougar Interactive

www.zoorace.com
Re: Clients blink when running [Re: Ran Man] #130055
05/15/07 20:05
05/15/07 20:05
Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Ran Man Offline OP
Expert
Ran Man  Offline OP
Expert

Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Any ideas anyone?

Is it normal for our CLIENT players to blink when running? Yes or no?

Does anybody actually have a CLIENT player to run around fast with graphics and be "blink" free on a LAN yet?


Cougar Interactive

www.zoorace.com
Re: Clients blink when running [Re: Ran Man] #130056
05/15/07 20:06
05/15/07 20:06
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Blinking is not normal. My people run around in world all the time for hours on end without a blink.

Since you are doing a SP --> MP port (which I wouldn't recommend), you may have some bit of extra code lying around somewhere that is causing the blink. Even with 3DGS controlling your ent fully this may lead to jumps and teleports as the client re-synchs with the server position but nothing that would be described as blinking.

Check over your code. It's unlikely to be engine related.

Re: Clients blink when running [Re: fastlane69] #130057
05/15/07 20:32
05/15/07 20:32
Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Ran Man Offline OP
Expert
Ran Man  Offline OP
Expert

Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Hi,

Oh I see. Thanks.

I'm using the A5 templates and PLAYER_MOVE.

It's also in locoweeds barebones code for the "office" level.

It works, but just blinks when running fast.

Maybe I have to re-code the movement for it and see what that does. Hmmmn.


Cougar Interactive

www.zoorace.com
Re: Clients blink when running [Re: Ran Man] #130058
05/16/07 19:07
05/16/07 19:07
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
By blinking, do you mean it actually goes invisible for short periods of time, or is it more like jerky movement? The latter is quite normal for online games, although less so for LAN games, and can be prevented to some extent.

In any case, adding in multiplayer is very difficult. I've seen your code and I recommend rewriting it if you really want mp.

Re: Clients blink when running [Re: Excessus] #130059
05/16/07 19:40
05/16/07 19:40
Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Ran Man Offline OP
Expert
Ran Man  Offline OP
Expert

Joined: Jun 2002
Posts: 3,682
Coppell, Texas
It's jerky on the client, but okay on the server. Both, the animations and the movement.

I'm afraid to lose customers because of it.

Or maybe my server computer which is a "1.6 GHz" is too slow? I don't know.

So, when the client runs or swims, for example, he shuffles from side to side and seems to hessitate in moving forwards.

Last edited by Ran Man; 05/16/07 19:42.

Cougar Interactive

www.zoorace.com
Re: Clients blink when running [Re: Ran Man] #130060
05/17/07 02:10
05/17/07 02:10
Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Ran Man Offline OP
Expert
Ran Man  Offline OP
Expert

Joined: Jun 2002
Posts: 3,682
Coppell, Texas
Okay, problem fixed.

I replaced the A5 move scripts with another one and it does not jerk on the client anymore, so apparently A5 templates are not so good in multiplayer mode maybe?


Cougar Interactive

www.zoorace.com
Re: Clients blink when running [Re: Ran Man] #130061
05/17/07 02:32
05/17/07 02:32
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

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

Or maybe my server computer which is a "1.6 GHz" is too slow?




It really all comes down to your architecture.

By this I mean it depends on how heavy you expect the load to be on your server for extended periods of time and how the clients and servers handle it.

In fact, once the MP game is up and running, there are two options for the server. So let's consider the two maximal server loads: heavy and light.

Heavy Load means lots of HD action, many calculations per millisecond, broadband throughputs maxed out, etc. It is being used as an application server or as a database server with thousands of transactions a second. It's resources always skirt the 20% mark and it produces LOTS of heat. In Heavy Load, the server is responsible for messaging AND collisions AND chat AND anything else that makes your game run. In heavy load, you are using a true client/server model with the server doing everything and the client merely translating information for the user.

Light Load means that server resources may occasionally spike but normally stay at or below 20%. It is still the central hub by which all players communicate but it is not doing anything on intelligent. It may sort the messages and prioritize them but it will not open them or perform any game or business logic. In Light Load, the server is managing messaging only (be it chat or system messages). It is routing what clients say and nothing more. In fact, it is little more than an intelligent Router which can set up an "internal" network of 3DGS clients. This is in fact a peer-to-peer implementation of 3DGS with the clients connected to the server the same way they would connect to a router in a LAN party.

So if your game is meant as a peer-to-peer (where client updates other clients), then 1.6 GHz is plenty. But if your game is meant as a client/server (where server updates all clients), then the heavy load on the server makes 1.6 insufficient even for a few players and in LAN.

In your game, when players join the server, does their load increase or does the servers?
If the server increased, you are headed to a heavy load model.
If your individual clients increased, you are under the light model.



Quote:

so apparently A5 templates are not so good in multiplayer mode maybe?




Are they good in single player mode?


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