PhlexPlexico / G5WS

Game Server Plugin for G5API
https://phlex.avidgamers.me
GNU General Public License v3.0
18 stars 8 forks source link

The plugin is working fine expect for a few errors #45

Closed BadSpider1 closed 1 year ago

BadSpider1 commented 1 year ago

So the plugin is working fine, everything gets logged except for the rounds we played a few rounds but G5V still reported 0==0 kills map banning and such all logged fine

I also found some error in the console

L 11/17/2022 - 14:39:47: [SM] Exception reported: Unable to open /home/container/csgo/get5_backup_match2_map0_round4.cfg for reading. errno: 2
L 11/17/2022 - 14:39:47: [SM] Blaming: G5WS.smx
L 11/17/2022 - 14:39:47: [SM] Call stack trace:
L 11/17/2022 - 14:39:47: [SM]   [0] SteamWorks_SetHTTPRequestRawPostBodyFromFile
L 11/17/2022 - 14:39:47: [SM]   [1] Line 669, G5WS.sp::Get5_OnRoundStart
L 11/17/2022 - 14:39:47: [SM]   [3] Call_Finish
L 11/17/2022 - 14:39:47: [SM]   [4] Line 1543, get5/scripting/get5.sp::Event_RoundStart
L 11/17/2022 - 14:39:42: [G5WS.smx] Failed to add http param key=6UZYPUEASV5H4ZOBNN7NKSL3
L 11/17/2022 - 14:39:42: [G5WS.smx] Failed to add http param PlayerDeathValues={"matchid":"2","assist":null,"no_scope":false,"event":"player_death","round_number":3,"map_number":0,"headshot":false,"round_time":17937,"thru_smoke":false,"attacker":{"side":"ct","is_bot":false,"steamid":"76561199171549369","name":"a5cvwdq2","user_id":3},"bomb":false,"attacker_blind":false,"player":{"side":"t","is_bot":false,"steamid":"76561198090495661","name":"Bonin","user_id":2},"friendly_fire":false,"weapon":{"name":"negev","id":37},"penetrated":0,"suicide":false}
PhlexPlexico commented 1 year ago

By any chance do you have the backup system disabled? The reason this is failing is because it cannot find the backup file, so it most likely throws the error.

As for the second error, you're using an outdated build. The OnPlayerDeath feature is not implemented into the API yet, and I have yet to figure out a good way to send all the player data across, so it fails and throws the exception. The latest release should fix both these issues.

If you're running into the game servers not recording match finishes, how many matches are running concurrently if you don't mind me asking?

Thanks!

BadSpider1 commented 1 year ago

Just 1 we are testing

PhlexPlexico commented 1 year ago

Then you need to wait for the match to actually finish. If GoTV is running, it will take the time for the match to be reported if you have a recording running as well.

BadSpider1 commented 1 year ago

So it is not supposed to change when the match is live ? Like team 1 wins one round so on G5V its like 1==0

PhlexPlexico commented 1 year ago

There's two separate scores. The one that is in large text is the series score (if it's a BO1, BO3, etc it will show 0 < 1 at the end of a BO1 series, or 2>1 if BO3, etc depending on how many maps are played). The per round is shown below, just above the player table, unde the Score:, see attached as an example from the public web panel.

image

BadSpider1 commented 1 year ago

Oh, i see thanks for the help!