View Single Post
WhyteDem0n
Junior Member
Join Date: Dec 2014
Old 12-29-2014 , 03:57   Re: [CS:GO] Multi-1v1 (v0.5.2, 2014-7-19)
Reply With Quote #506

I've recently started a new server running this awesome plugin, but I'm having trouble configuring the web interface correctly. The stats/rank command is recognized and works as intended, but every time someone uses it says that the player was not found. I'm using the same URL structure that is recommended in the attached readme, but obviously replacing it with my own domain. You can still search for a player by name and it finds them and displays their stat page just fine, but that is somewhat defeating the purpose of the stats/rank command if you still have to type your name into a search bar T_T Any assistance would be greatly appreciated! Also, on the stats page where I guess it is supposed to show a players STEAM avatar, no matter whose stat page I look at, the image seems to be missing/not loading/idk.

Edit: I've been staring at lines of code for hours with little to no clue as to what I'm looking at, but in the Command_Stats public action, it would seem that "new target = FindTarget(client, arg1, true, false);" is returning -1. I arrived at this theory after accesing my redirect with the -1 ID, "redirect.php?id=-1". -1 displays the exact "player not found" page as typing stats/rank in game does. So, in the aforementioned line of said action, if -1 is returned then the line "ShowStatsForPlayer(client, client);" is executed, meaning it is still searching for the playerid of -1 anyway, hence giving the error message. Then again, I've been awake for quite some time now and all these lines are starting to blur together. Obviously this stuff works on your own servers, so I dunno why it's derping out on mine. Meh, I'm going to bed, hope I'm pleasantly surprised when I wake up and check this thread ;-)

Last edited by WhyteDem0n; 12-29-2014 at 04:49.
WhyteDem0n is offline