Quote:
Originally Posted by klexen
I still have the Warning Connection timeout issue. This time the most it's lasted was a minute, so not enough to completely timeout. Still not ideal though. The spawn points I create are for a FFA DM server, so I try to do them in corners and against the walls to help prevent spawn killing as much as possible. So not being able to do that efficiently makes the process very painful.
|
Quote:
Originally Posted by klexen
I also noticed when you updated the plugin to v0.7.2, you did not increment the version number. I'm not sure if that would create an infinite self-update loop?
|
It seems I messed up with my last release... I just didn't release anything and you are still on 0.7.1.
Please try with 0.7.3 and see if it improves! If not I'll take some time tonigh to try to reproduce the bug.
Quote:
Originally Posted by klexen
I've also had an issue where in the middle of a firefight, people would be randomly teleported to spawn points. This was a gamebreaker...But I believe I solved the issue by modifying the players.sp file.
I changed:
Code:
stock players_RespawnAll()
{
for (new i = 1; i <= MaxClients; i++)
if (players_IsClientValid(i) && IsClientInGame(i))
CS_RespawnPlayer(i);
to
Code:
stock players_RespawnAll()
{
for (new i = 1; i <= MaxClients; i++)
if (players_IsClientValid(i) && IsClientInGame(i) && !IsPlayerAlive(i))
CS_RespawnPlayer(i);
|
Does everyone gets teleported? If not, this is not this function that causes this.
This bug is really weird and the fact that your modification changed anything is weirder.
players_RespawnAll is called:
- At map start (OnMapStart forward with a slight timer 0.1 seconds)
- On dm_respawn_all command
- On 'dm_load [...] respawns' command
Note that my plugin do not teleports players. A respawn (exepted the cases listed above) is handled by server due to mp_respawn_on_death_t/ct
I would like to investigate this bug, maybe PM me your server IP so I can see it for myself
Quote:
Originally Posted by klexen
I also found that the spawnpoints I generated on Dust2 cause my server to spike from 0.5-2 VAR to 11-13 VAR every 2-3 seconds. Once I deleted the custom spawn points and reloaded the plugin, the issue stopped.
|
I'll try your spawns as soon as I can.
How do you test it? Bots?
Quote:
Originally Posted by klexen
I notice that your DM plugin runs at a slightly higher avg VAR than Snip3rs on my server, especially noticeable when my server is near full. I'm pretty sure it's because of the excessive spawning nature of FFA. Considering your uber server specs, it may be difficult for you to optimize and see a difference yourself, so I'll definitely do my best to report back if you end up being able to tweak it a bit more.
|
Base plugin should not be heavier than Sniper's one, but some features are. Here are some pointers to optimize:
- Disable rankme ladder (dm_show_rankme_ladder 0). This is the heaviest computation the plugin does, since it computes for each player the hint to be displayed every seconds.
- Disable all advertisements in hint or alert (remove LoadMessage section). Even if far less heavy than rankme ladder, adverts are refreshed every seconds for clients
- Disable hp messages (dm_hp_messages 0)
Quote:
Originally Posted by klexen
Anyway, thanks for all your hardwork! Other than these things, I'm really loving your version of the DM plugin.
|
Thanks