AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Cookie lost ! (https://forums.alliedmods.net/showthread.php?t=230480)

Arkarr 11-26-2013 07:39

Cookie lost !
 
Ha crap!
My cookie are lost each time I reload the plugin (and I'm connected to server.) !
How can I fix this ?

OnPluginStart
Spoiler
OnClientPutInServer
Spoiler
OnClientDisconnect
Spoiler

Root_ 11-26-2013 07:41

Re: Cookie lost !
 
search before posting.

Arkarr 11-26-2013 07:48

Re: Cookie lost !
 
D; sorry and thanks.

friagram 11-26-2013 08:24

Re: Cookie lost !
 
Our torments also may in length of time
Become our elements.

psychonic 11-26-2013 09:33

Re: Cookie lost !
 
OnClientPutInServer is potentially too early to check for cookies. Use OnClientCookiesCached

Impact123 11-26-2013 09:44

Re: Cookie lost !
 
Do you have something that fetches client cookies when the plugin is loaded?
If not you will probably overwrite cookies on a lateload.

Arkarr 11-26-2013 12:35

Re: Cookie lost !
 
I have put my code here. What's wrong ? I think nothing is late loaded.

ddhoward 11-26-2013 12:53

Re: Cookie lost !
 
"Late load" likely refers to the plugin starting AFTER players have joined the server. This is usually what happens during the initial installation ("sm plugins load levelHUD") but can potentially occur during other times, especially if a server dev likes to manually load/unload plugins for whatever reason.


All times are GMT -4. The time now is 22:25.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.