[DiscordArchive] Would having, I don't know, 200 NPCs fighting with players in a single zone lag a normal server?
[DiscordArchive] Would having, I don't know, 200 NPCs fighting with players in a single zone lag a normal server?
Archived author: gigi • Posted: 2021-07-26T19:27:14.752000+00:00
Original source
Would having, I don't know, 200 NPCs fighting with players in a single zone lag a normal server?
Archived author: Titi • Posted: 2021-07-26T19:28:44.405000+00:00
Original source
npcs don't really create a lot of lag
Archived author: gigi • Posted: 2021-07-26T19:29:35.454000+00:00
Original source
Nice
Archived author: Nix • Posted: 2021-07-26T19:34:08.241000+00:00
Original source
Yes and no
Archived author: Nix • Posted: 2021-07-26T19:35:02.032000+00:00
Original source
The NPCs themselves aren't particularly heavy, but the act of sending all updates to players can be heavy and furthermore every single spell a player casts is broadcasted to every other player including any effect that comes from it as a result of the spell cast
Archived author: stoneharry • Posted: 2021-07-26T19:48:08.308000+00:00
Original source
You can send a server packet to update client time and also how long 24 hours takes in game, I had a 20 minute day night cycle for a battleground I was working on
Archived author: stoneharry • Posted: 2021-07-26T19:49:21.917000+00:00
Original source
Extremely interesting, I can offer no help but can praise you for taking on such a interesting project
Archived author: Sigmur • Posted: 2021-07-26T19:52:45.307000+00:00
Original source
If you're on trinitycore, check the cs_debug command scripts, some commands like .debug send got some subcommands that just send one packet
Archived author: Sigmur • Posted: 2021-07-26T19:52:50.841000+00:00
Original source
it's a start
Archived author: stoneharry • Posted: 2021-07-26T19:52:57.150000+00:00
Original source
It's extremely simple, here's what I was playing with but it's extremely bad code as it was just a prototype:
https://github.com/stoneharry/HungerGame...e.lua#L220
https://github.com/stoneharry/HungerGame...hods.h#L12