Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Multiplayer LAN Game #365647
03/28/11 09:46
03/28/11 09:46
Joined: Mar 2010
Posts: 20
K
KingdaKa Offline OP
Newbie
KingdaKa  Offline OP
Newbie
K

Joined: Mar 2010
Posts: 20
Hi everybody!

I just started to make my very own multiplayer shooter exclusively for lan games. Ive read a lot of things about bps and latency and stuff and how to optimize games for internet play. Hower i ask myself what would be the best way to optimize it for lan. Should i let the server do most of the work because latency is low? Should i set dplay_entrate and dplay_smooth to zero?

I hope you can give me some good tips.

best regards,
kingda_ka

Re: Multiplayer LAN Game [Re: KingdaKa] #385423
10/18/11 12:04
10/18/11 12:04
Joined: Sep 2011
Posts: 11
Germany
L
Lomacil Offline
Newbie
Lomacil  Offline
Newbie
L

Joined: Sep 2011
Posts: 11
Germany
I think you dont need to optimize it this much for lan. It depends on what pc's are in your network. if there are a realy wooden one you might get a problem if you let do it the clients but if your server-pv isnt strong enought you also might get "lags"
with modern pc's I cant imagine there is anything you need to do. I have not done this much with 3dgs just some tests but if you dont try to connect with to much people(I think a lan game won't make it up to 10-20) you wont get problems if you just write it as you wish.
Just end your work on it and try a test will help better than 100 posts here
(but you could tell us your experience)

lomacil

Re: Multiplayer LAN Game [Re: KingdaKa] #385428
10/18/11 13:04
10/18/11 13:04
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
For LAN you dont need to optimize the script cause LAN is much faster than Internet.
But you should keep in mind that when the server dont do all the work you can easily hack the game down. As example you are reloading, but server dont give you bullets. The client of YOU is doing that. Now you can use cheat engine or any other memory hacker tool and chnage the ammo+=1 to like ammo+= 9999 and he have unlimited ammo shocked
If you letting the client scan for enemies the game will be dead.
The client can trick the server and will get unlimited kills in one second.
Please keep this in mind!


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