-
Notifications
You must be signed in to change notification settings - Fork 9
[BUG] Exception reported: Invalid data pack type (got 3 / expected 1). #98
Comments
Try to remove or change all empty names in the UPDATE `surftimer`.`ck_playertimes` SET `name` = 'N/A' WHERE `name` = ''; UPDATE `surftimer`.`ck_playerrank` SET `name` = 'N/A' WHERE `name` = '' And how is your timer even working? In the current state of the master the timer won't even load with SM 1.10 🤔 |
I'm not sure, it's definitely working though. I updated from fluffys branch earlier this week after the shattered web update and at the same time updated to SM 1.10 (6455). The only things I've changed for the surftimer plugin is the formatting in misc.sp to remove HUD color as per this comment, the database character set in sql.sp to utf8mb4, and the sql_selectMapRecord query in queries.sp. |
Also, will make database changes as suggested and report back... |
I see. For me, it wasn't working using 1.10 - it just crashed the server if someone joined it. |
Hmm sourcemod dev build required, I do like living on the edge |
If the current one is working for you, it's probably working with 1.10 too. |
Cool, I'll build it tomorrow for one of my servers and see. |
It's working for me at 1.10 too. LinuxGSM still used 1.9 :) |
I have the same problem, I tried to do what @13ace37 suggested, but it didn't work, !mtop is broken 😕 |
@Marfimm Can confirm, I applied the suggestion from @13ace37 but still have these in my error logs L 11/25/2019 - 23:52:24: [SM] Exception reported: Client 12 is not connected L 11/25/2019 - 22:39:11: [SM] Exception reported: Invalid data pack type (got 3 / expected 1). |
That's something else. If this one appears in your logs again, please open a new issue.
And this one happens if either no client name is provided into the database (non-supported names like invisible steam names etc. I'm pretty sure I've seen a plugin for this one. I'll comment bellow if I'm able to find it. |
Small Update: After changing the client name charsets from It works for our servers so far. I won't close this until I can confirm it 100%. I'll not release this since the next (281) update. |
Working fine for me now. Open another issue if the error shows up again. |
L 02/26/2020 - 18:19:11: [SM] Exception reported: Invalid data pack type (got 3 / expected 1). SourceMod (1.10.0.6472) and stock SurfTimer (280) |
self compile the dev branch |
The issue was closed by an accident. |
Workaround confirmed working. |
L 11/21/2019 - 13:46:04: [SM] Exception reported: Invalid data pack type (got 3 / expected 1).
L 11/21/2019 - 13:46:04: [SM] Blaming: SurfTimer.smx
L 11/21/2019 - 13:46:04: [SM] Call stack trace:
L 11/21/2019 - 13:46:04: [SM] [0] ReadPackCell
L 11/21/2019 - 13:46:04: [SM] [1] Line 2063, surftimer/sql.sp::sql_selectTopSurfersCallback
SM 1.10 build 6455
The text was updated successfully, but these errors were encountered: