Xandaros / evolve

An advanced admin mod for Garry's Mod
50 stars 39 forks source link

Unattended "No matching players" error #104

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hello !

I'm having issues with some commands, where Evolve can't find players. Here is a serverlog :

[Sat Jul  5 14:53:42 2014] Console ran command 'rank' with arguments 'STEAM_0:1:53452964 builder' via console.
[EV] Console -> No matching players with an equal or lower immunity found.
[Sat Jul  5 14:53:42 2014] Console -> No matching players with an equal or lower immunity found.
[Sat Jul  5 14:53:42 2014] Console ran command 'god' with arguments 'STEAM_0:1:53452964 1' via console.
[EV] Console has enabled godmode for Skyfire-FR.
[Sat Jul  5 14:53:42 2014] Console has enabled godmode for Skyfire-FR.

So as you can see the SteamID is the same for the 2 commands, so I don't know why it's not working for the rank command.

Thank's by advance.

ghost commented 10 years ago

And here is another error, from the ban plugin :

[Sat Jul  5 15:28:02 2014] Skyfire-FR [STEAM_0:1:53452964|88.187.193.38:27005] ran command 'ban' with arguments 'sky 5 test' via chat.
[EV] Plugin 'Ban' failed with error:
[Sat Jul  5 15:28:02 2014] Plugin 'Ban' failed with error:
[EV] addons/evolve-master/lua/ev_framework.lua:1074: bad argument #1 to 'WriteString' (string expected, got nil)
[Sat Jul  5 15:28:02 2014] addons/evolve-master/lua/ev_framework.lua:1074: bad argument #1 to 'WriteString' (string expected, got nil)
Xandaros commented 10 years ago

As for your first post, that shouldn't happen.

As for the second, that can't happen, are you sure you are using this version of evolve? (Workshop is a different one)

ghost commented 10 years ago

Hello Xandaros !

Yes, I'm using this version but I found the problem : I'm using SourceBans, and I have a lot of bans (https://www.blackfields.net/sourcebans/index.php?p=banlist). So the ban sync is working BUT seems to corrupt the playerinfo data file, so Evolve can't get properties of players. I just commented out lines that sync Evolve DB and SourceBans DB and now it's working (for the first AND the second issue). By the way, I had the same issues than https://github.com/Xandaros/evolve/issues/99 but I have no more "Cbuf_AddText: buffer overflow" now. So I think ev_playerinfo.txt cannot contain too many data, and by the way you should disable sync between these databases.

EDIT : I needed to erase the ev_playerinfo.txt file to clean it.