Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors thrown in OnClientCookiesCached #197

Open
crashzk opened this issue Apr 26, 2018 · 8 comments
Open

Errors thrown in OnClientCookiesCached #197

crashzk opened this issue Apr 26, 2018 · 8 comments
Labels

Comments

@crashzk
Copy link
Contributor

crashzk commented Apr 26, 2018

I have the latest version available on GitHub.

The plugin started displaying errors in the server logs.

L 04/26/2018 - 13:45:25: [SM] Exception reported: Invalid Cookie handle 0 (error 4)
L 04/26/2018 - 13:45:25: [SM] Blaming: multi1v1.smx
L 04/26/2018 - 13:45:25: [SM] Call stack trace:
L 04/26/2018 - 13:45:25: [SM] [0] GetClientCookie
L 04/26/2018 - 13:45:25: [SM] [1] Line 118, ./scripting/multi1v1/generic.sp::GetCookieInt
L 04/26/2018 - 13:45:25: [SM] [2] Line 138, ./scripting/multi1v1/generic.sp::GetCookieBool
L 04/26/2018 - 13:45:25: [SM] [3] Line 115, ./scripting/multi1v1/weaponlogic.sp::UpdatePreferencesOnCookies
L 04/26/2018 - 13:45:25: [SM] [4] Line 487, ./scripting/multi1v1.sp::OnClientCookiesCached

There are moments when the Multi 1v1 mode to work, I have to send the plugin again, because even with the plugin on the server it says that you have to have the plugin multi1v1.smx to work.

@splewis splewis changed the title [ BUG ] - GetClientCookie Errors thrown in OnClientCookiesCached Apr 27, 2018
@splewis splewis added the bug label Apr 27, 2018
@splewis
Copy link
Owner

splewis commented Apr 27, 2018

I have the latest version available on GitHub.

Please give an actual version.

I have to send the plugin again, because even with the plugin on the server it says that you have to have the plugin multi1v1.smx to work.

I don't understand what this means. What does 'send the plugin' mean? What does 'it says that you have to have the plugin multi1v1.smx to work' mean? What is 'it'?

@crashzk
Copy link
Contributor Author

crashzk commented Apr 27, 2018

Version that I have installed on the servers: https://github.com/splewis/csgo-multi-1v1/releases/tag/1.1.9

In addition to the BUG that I mentioned, there are moments when the server stops working, it is a casual, standard mode of the valve.

Then when I see the reason says that the plugin multi1v1.smx is not on the server, even though it is installed.

@splewis
Copy link
Owner

splewis commented Apr 28, 2018

If multi1v1 isn't even loaded then that's a problem with your host or server configuration, not a multi1v1 issue (unless there are clear errors when you try to load with sm plugins load multi1v1, for example).

Can you clearly reproduce the errors you see? Are you using custom round types via a config or added by another plugin?

@crashzk
Copy link
Contributor Author

crashzk commented Apr 28, 2018

Entering the command sm plugins load multi1v1 does not give any error, I will keep an eye on anything I report here.

Another BUG I saw in the error log now would be this:

L 04/28/2018 - 00:38:09: [SM] Exception reported: Invalid Cookie handle 0 (error 4)
L 04/28/2018 - 00:38:09: [SM] Blaming: multi1v1.smx
L 04/28/2018 - 00:38:09: [SM] Call stack trace:
L 04/28/2018 - 00:38:09: [SM]   [0] SetClientCookie
L 04/28/2018 - 00:38:09: [SM]   [1] Line 110, ./scripting/multi1v1/generic.sp::SetCookieInt
L 04/28/2018 - 00:38:09: [SM]   [2] Line 131, ./scripting/multi1v1/generic.sp::SetCookieBool
L 04/28/2018 - 00:38:09: [SM]   [3] Line 80, ./scripting/multi1v1/menus.sp::WeaponsMenuHandler

I will be waiting for the correction of this BUGS and see if it presents any more problems.

For now thank you!

@splewis
Copy link
Owner

splewis commented Apr 28, 2018

You didn't answer all my questions:

Are you using custom round types via a config or added by another plugin?

@crashzk
Copy link
Contributor Author

crashzk commented Apr 28, 2018

Sorry, yes I use some plugins only, it follows the list of them:
- Challenge Redux - https://forums.alliedmods.net/showthread.php?p=2481876
- Round HE Grenades - https://forums.alliedmods.net/showthread.php?t=306131
- Round Dodgeball - https://forums.alliedmods.net/showthread.php?t=304772
- Round Only Headshot - https://forums.alliedmods.net/showthread.php?p=2373966

Only these.

@crashzk
Copy link
Contributor Author

crashzk commented Apr 28, 2018

It happened again the BUG that had quoted, that even with the plugin installed the server does not execute it.

The sm plugins list follows:

[SM] Listing 79 plugins:
  01 "SM Valve Gloves" (2.1.5) by Franc1sco franug and hadesownage
  02 "[Any] Chat Logging Redux + RTF Support" (1.1.2) by McFlurry, Keith Warren (Drixevel)
  03 "DR.API HIGH PING KICKER" (1.0.2) by Dr. Api
  04 "SM CS:GO Weapon Paints" (6.7.4 private version) by Franc1sco franug
  05 "WebLync" (0.0.11) by Neuro Toxin
  06 "Basic Info Triggers" (1.8.0.6036) by AlliedModders LLC
  07 "TecnoHardâ„¢ Admin Manager" (2.0_2017fix) by AbNeR @CSB
  08 "Updater" (1.2.2) by GoD-Tony
  09 "fix_knives.smx"
  10 "Basic Chat" (1.8.0.6036) by AlliedModders LLC
  11 "Smart URL Remover" (1.6.2) by Totenfluch [Fix by Agent Wesker]
  12 "SourceComms" ((SB++) 1.5.4.6) by Alex, Sarabveer(VEERâ„¢)
  13 "VAC Status Checker" (2.2.0) by Stevo.TVR
  14 "Sound Commands" (1.8.0.6036) by AlliedModders LLC
  15 "Server Advertisement" (2.7) by ESK0 & .#Zipcore
  16 "Skybox" (1.01) by Deathknife
  17 "(LBD) Basic Ban Commands" (1.8.0.5912) by AlliedModders LLC
  18 "[CS:GO] Fake Competitive Ranks/Coins/Profile" (1.5) by Laam4
  19 "AFK Manager" (4.2.4) by Rothgar
  20 "SM FPVMI - Custom Weapons Menu" (3.1) by Franc1sco franug
  21 "Basic Commands" (1.8.0.6036) by AlliedModders LLC
  22 "Nextmap" (1.8.0.6036) by AlliedModders LLC
  23 "[AWP] No-Scope Detector" (1.2.7) by Ak0 (Improved by Grey83 & onehand)
  24 "Map Nominations" (1.8.0.6027) by AlliedModders LLC
  25 "SourceBans++: Bans Checker" (1.6.2) by psychonic, Ca$h Munny, SourceBans++ Dev Team
  26 "TecnoHardâ„¢ Motd" (1.1) by AbNeR @CSB
  27 "SM First Person View Models Interface" (3.1) by Franc1sco franug
  28 "SM Franug CS:GO Stat Trak" (1.2 private version) by Franc1sco franug
  29 "SM Access By Steam Group" (1.1) by Franc1sco franug
  30 "SourceBans++: SourceSleuth" (1.6.2) by ecca, SourceBans++ Dev Team
  31 "Bad name kick / ban" (1.0.0) by 2NASTY4U
  32 "SM Most Active" (2.6) by Franc1sco Steam: franug / shanapu
  33 "[ ZK Corporation ] - Block Commands" (1.0) by crashzk
  34 "SourceBans++: Main Plugin" (1.6.2) by SourceBans Development Team, SourceBans++ Dev Team
  35 "TecnoHard Chat Tags" (1.5.2) by AbNeR @CSB
  36 "SourceBans: Admin Config Loader" ((SB++) 1.5.4.6) by AlliedModders LLC, Sarabveer(VEERâ„¢)
  37 "Limit Ban Duration" (1.0.2) by Twisted|Panda
  38 "SourceSleuth" ((SB++) 1.5.4.6) by ecca, Sarabveer(VEERâ„¢)
  39 "SM CS:GO Franug Knives" (3.1 private version) by Franc1sco franug
  40 "[CSS/CS:GO] AbNeR ResetScore" (1.5fix) by AbNeR_CSS
  41 "Basic Comm Control" (1.8.0.6036) by AlliedModders LLC
  42 "Anti-Flood" (1.8.0.6036) by AlliedModders LLC
  43 <Failed> "SourceBans++" (1.5.4.6) by SourceBans Development Team, Sarabveer(VEERâ„¢)
  44 "SourceBans++: Admin Config Loader" (1.6.2) by AlliedModders LLC, SourceBans++ Dev Team
  45 "Admin Help" (1.8.0.6036) by AlliedModders LLC
  46 "Player Commands" (1.8.0.6036) by AlliedModders LLC
  47 "SM Franug CS:GO NameTag" (1.1 private version) by Franc1sco franug
  48 "csgotokens.com token changer" (1.4.5) by Adi - live4net
  49 "SourceBans Checker" ((SB++) 1.5.4.6) by psychonic, Ca$h Munny, Sarabveer(VEERâ„¢)
  50 "REGEX word filter" (1.2) by Twilight Suzuka
  51 "DR.API SHOW DAMAGE" (1.1.5) by Dr. Api
  52 "Dynamic" (0.0.29) by Neuro Toxin
  53 "Client Preferences" (1.8.0.6036) by AlliedModders LLC
  54 "Simple Chat Processor (Redux)" (2.1.0) by Simple Plugins, Mini
  55 "CS:GO GiveNamedItem Hook Franug Edition" (6.0 private version) by Franc1sco franug and Neuro Toxin
  56 "SM Wear option for Weapon Paints" (1.0.1 private version) by Franc1sco franug
  57 "Admin Menu" (1.8.0.6036) by AlliedModders LLC
  58 <Failed> "(LBD) SourceBans" (1.4.9) by SourceBans Development Team, with optional Limit Ban Duration support.
  59 "[ ZK Corporation ] - Block Tag Grupos" (1.0) by crashzk
  60 "Rock The Vote" (1.8.0.6036) by AlliedModders LLC
  61 "Admin File Reader" (1.8.0.6036) by AlliedModders LLC
  62 "Basic Votes" (1.8.0.6036) by AlliedModders LLC
  63 "Fun Commands" (1.8.0.6036) by AlliedModders LLC
  64 "SM Franug Valve Sprays" (1.5.2) by Franc1sco Steam: franug
  65 "SourceTV / GOTV Protector" (1.0) by CrazyHackGUT aka Kruzya
  66 "TecnoHardâ„¢ Plugins Block" (1.2) by AbNeR @CSB
  67 "Fun Votes" (1.8.0.6036) by AlliedModders LLC
  68 <Failed> "SourceBans++: SourceComms" (1.6.2) by Alex, SourceBans++ Dev Team
  69 "MapChooser" (1.8.0.6036) by AlliedModders LLC
  70 "SM Franug Hats" (3.3.2) by Franc1sco franug
  71 <Error> "CS:GO Multi1v1" (1.1.8) by splewis
  72 <Failed> "CS:GO Multi1v1: flashbangs addon" (1.1.9) by splewis
  73 <Failed> "CS:GO Multi1v1: headshot round addon" (1.0.0) by Bara
  74 <Failed> "CS:GO Multi1v1: knife round addon" (1.1.9) by splewis
  75 <Failed> "CS:GO Multi1v1: online stats viewer" (1.1.9) by splewis
  76 <Failed> "CS:GO Multi1v1: He grenade battle round addon" (1.1) by Franc1sco franug
  77 <Failed> "[Multi-1v1] Challenge" (1.1.5) by Headline
  78 <Failed> "CS:GO Multi1v1: Only HS option" (1.3) by Franc1sco franug
  79 <Failed> "CS:GO Multi1v1: Dodgeball round addon" (1.0.2) by Franc1sco franug
Errors:
sourcebans.smx (SourceBans++): unexpected error 23 in AskPluginLoad callback
lbd_sourcebans.smx ((LBD) SourceBans): unexpected error 23 in AskPluginLoad callback
sbpp_comms.smx (SourceBans++: SourceComms): unexpected error 23 in AskPluginLoad callback
multi1v1.smx (CS:GO Multi1v1): Error detected in plugin startup (see error logs)
multi1v1_flashbangs.smx (CS:GO Multi1v1: flashbangs addon): Could not find required plugin "multi1v1"
multi1v1_headshot.smx (CS:GO Multi1v1: headshot round addon): Could not find required plugin "multi1v1"
multi1v1_kniferounds.smx (CS:GO Multi1v1: knife round addon): Could not find required plugin "multi1v1"
multi1v1_online_stats_viewer.smx (CS:GO Multi1v1: online stats viewer): Could not find required plugin "multi1v1"
multi1v1_hegrenadesrounds.smx (CS:GO Multi1v1: He grenade battle round addon): Could not find required plugin "multi1v1"
hl_challenge.smx ([Multi-1v1] Challenge): Could not find required plugin "multi1v1"
multi1v1_onlyhs.smx (CS:GO Multi1v1: Only HS option): Could not find required plugin "multi1v1"
multi1v1_dodgeballrounds.smx (CS:GO Multi1v1: Dodgeball round addon): Could not find required plugin "multi1v1"

Here is the complete server error log:
errors_20180428.log

@splewis
Copy link
Owner

splewis commented Apr 28, 2018

L 04/28/2018 - 13:05:03: [SM] Exception reported: Tried to add duplicate round type internal name = "awp"
L 04/28/2018 - 13:05:03: [SM] Blaming: multi1v1.smx
L 04/28/2018 - 13:05:03: [SM] Call stack trace:
L 04/28/2018 - 13:05:03: [SM] [0] ThrowNativeError
L 04/28/2018 - 13:05:03: [SM] [1] Line 391, ./scripting/multi1v1/natives.sp::Native_AddRoundType
L 04/28/2018 - 13:05:03: [SM] [3] Multi1v1_AddRoundType
L 04/28/2018 - 13:05:03: [SM] [4] Line 19, ./scripting/multi1v1/customrounds.sp::AddCustomRounds
L 04/28/2018 - 13:05:03: [SM] [5] Line 8, ./scripting/multi1v1/roundtypes.sp::LoadRoundTypes
L 04/28/2018 - 13:05:03: [SM] [6] Line 364, ./scripting/multi1v1.sp::OnPluginStart

You're adding the same round type multiple times. Disable or change the other plugins using the multi1v1 api. I'm not going to debug all the 3rd party plugins you're using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants