NotJustin / SkillAutoBalance

12 stars 3 forks source link

[sabcore] exception (round end) #47

Closed NosferatuJoe closed 3 years ago

NosferatuJoe commented 3 years ago

My plugin is acting up when using KPR as rating and idk why, I keep getting these exceptions: I'm using bots and slaying them to test out if the plugin works correctly using KPR. I have a bot_quota 10 set with "fill" mode on.

L 04/22/2021 - 18:16:41: [SM] Exception reported: Native is not bound
L 04/22/2021 - 18:16:41: [SM] Blaming: sab-core.smx
L 04/22/2021 - 18:16:41: [SM] Call stack trace:
L 04/22/2021 - 18:16:41: [SM]   [0] KPRRating_GetScore
L 04/22/2021 - 18:16:41: [SM]   [1] Line 183, SkillAutoBalance/functions.sp::GetClientScore
L 04/22/2021 - 18:16:41: [SM]   [2] Line 133, SkillAutoBalance/functions.sp::UpdateScores
L 04/22/2021 - 18:16:41: [SM]   [3] Line 153, C:\Users\Justin\Desktop\Downloads_Uncluttered\_spcode\spcode\sourcepawn\configs\sm_1_10_0_6478\sab-core.sp::Event_RoundEnd

This is my plugin list:

[SM] Listing 37 plugins:
  01 "Basic Commands" (1.10.0.6502) by AlliedModders LLC
  02 "Admin Help" (1.10.0.6502) by AlliedModders LLC
  03 "Map Nominations" (1.10.0.6502) by AlliedModders LLC
  04 "Reserved Slots" (1.10.0.6502) by AlliedModders LLC
  05 "Fun Votes" (1.10.0.6502) by AlliedModders LLC
  06 "RankMe" (3.0.3.Kento.33.3) by lok1, Scooby, Kento, pracc, Kxnrl, CrazyHackGUT
  07 "Fun Commands" (1.10.0.6502) by AlliedModders LLC
  08 "Basic Votes" (1.11.0.6653) by AlliedModders LLC
  09 "Anti Stuck" (1.00) by muso.sk
  10 "Basic Chat" (1.10.0.6502) by AlliedModders LLC
  11 "Admin File Reader" (1.10.0.6502) by AlliedModders LLC
  12 "Basic Info Triggers" (1.10.0.6502) by AlliedModders LLC
  13 "Basic Comm Control" (1.10.0.6502) by AlliedModders LLC
  14 "[CSGO] Advanced Admin" (1.7.1) by PeEzZ
  15 "Player Commands" (1.10.0.6502) by AlliedModders LLC
  16 "Anti-Flood" (1.10.0.6502) by AlliedModders LLC
  17 "hextags" (2.02) by Hexah
  18 "Nextmap" (1.10.0.6502) by AlliedModders LLC
  19 "Rock The Vote" (1.10.0.6502) by AlliedModders LLC
  20 "skillautobalance blockteams" (1.0.1) by Justin (ff)
  21 "RandomCycle" (1.10.0.6502) by AlliedModders LLC
  22 "skillautobalance ctps" (1.0.0) by Justin (ff)
  23 "NativeVotes" (1.1.0 beta 8) by Powerlord
  24 "MapChooser" (1.10.0.6502) by AlliedModders LLC
  25 "SM Anti-Stuck NoBlock" (1.1) by Franc1sco steam: franug
  26 "skillautobalance admin" (1.0.0) by Justin (ff)
  27 "Client Preferences" (1.10.0.6502) by AlliedModders LLC
  28 "Basic Ban Commands" (1.10.0.6502) by AlliedModders LLC
  29 "skillautobalance messages" (1.0.0) by Justin (ff)
  30 "Sound Commands" (1.10.0.6502) by AlliedModders LLC
  31 "sab-core" (4.1.3) by Justin (ff)
  32 "kills per round rating" (1.0.0) by Justin (ff)
  33 "AFK Manager" (4.3.0) by Rothgar
  34 "Chat-Processor" (2.2.3) by Drixevel
  35 "Admin Menu" (1.10.0.6502) by AlliedModders LLC
  36 "Advertisements" (2.1.1) by Tsunami
  37 "skillautobalance checkbalance" (1.0.0) by Justin (ff)
NotJustin commented 3 years ago

Yep apparently I never pushed the fixed SP and SMX to my KPR github. Named the native incorrectly in the SP itself.

on github: CreateNative("KPR_GetScore", Native_GetScore); should be: CreateNative("KPRRating_GetScore", Native_GetScore);

pushed the fix https://github.com/NotJustin/KPR-Rating/commit/e642c87bfed62b8ab210034168e2b2708d30a180

NosferatuJoe commented 3 years ago

Thank you so much for the quick fix! :O #hero