Raised This Month: $ Target: $400
 0% 

[L4D2] Player Unstick


Post New Thread Reply   
 
Thread Tools Display Modes
lexantis
Senior Member
Join Date: Jun 2009
Location: CZ
Old 11-01-2010 , 06:52   Re: [L4D2] Player Unstick
Reply With Quote #71

Hi, i had some errors, i wonder if this can be somehow prevented in coding? Thanks

PHP Code:
L 10/31/2010 15:29:02: [SMPlugin encountered error 4Invalid parameter or parameter type
L 10
/31/2010 15:29:02: [SMNative "ReplyToCommand" reportedLanguage phrase "More than one client matched" not found
L 10
/31/2010 15:29:02: [SMDisplaying call stack trace for plugin "l4d2unstick.smx":
L 10/31/2010 15:29:02: [SM]   [0]  Line 131E:\Steam\steamapps\common\left 4 dead 2\left4dead2\addons\sourcemod\scripting\include\commandfilters.inc::ReplyToTargetError()
L 10/31/2010 15:29:02: [SM]   [1]  Line 198E:\Steam\steamapps\common\left 4 dead 2\left4dead2\addons\sourcemod\scripting\include\helpers.inc::FindTarget()
L 10/31/2010 15:29:02: [SM]   [2]  Line 152l4d2unstick.sp::Command_Unstick() 
lexantis is offline
Send a message via ICQ to lexantis
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 12-05-2010 , 15:24   Re: [L4D2] Player Unstick
Reply With Quote #72

Ive gone through the responses but got tired of going through them all, so i dont now if this question has been answered or not does this also unstick infected players?
__________________
RavenDan29 is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 12-11-2010 , 14:39   Re: [L4D2] Player Unstick
Reply With Quote #73

yes it will unstick anyone.. it will however not teleport them if they spawn outside the map.
dirka_dirka is offline
Chronic1
SourceMod Donor
Join Date: Jun 2011
Old 08-03-2011 , 03:44   Re: [L4D2] Player Unstick
Reply With Quote #74

Code:
L 08/03/2011 - 01:44:50: [SM]   [0]  Line 57, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientDisconnect()
L 08/03/2011 - 01:48:29: Error log file session closed.
L 08/03/2011 - 01:49:01: SourceMod error session started
L 08/03/2011 - 01:49:01: Info (map "c4m2_sugarmill_a") (file "errors_20110803.log")
L 08/03/2011 - 01:49:01: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:49:01: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:49:01: [SM]   [0]  Line 44, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientPutInServer()
L 08/03/2011 - 01:54:26: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:54:26: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:54:26: [SM]   [0]  Line 57, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientDisconnect()
L 08/03/2011 - 01:57:19: Error log file session closed.
L 08/03/2011 - 01:57:27: SourceMod error session started
L 08/03/2011 - 01:57:27: Info (map "c4m3_sugarmill_b") (file "errors_20110803.log")
L 08/03/2011 - 01:57:27: [SM] Native "PrintToChat" reported: Client 15 is not in game
L 08/03/2011 - 01:57:27: [SM] Displaying call stack trace for plugin "l4d2_powerups_rush.smx":
L 08/03/2011 - 01:57:27: [SM]   [0]  Line 361, /home/groups/alliedmodders/forums/files/7/4/0/6/7/66109.attach::Timer_Notify()
L 08/03/2011 - 01:57:34: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:34: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:34: [SM]   [0]  Line 44, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientPutInServer()
L 08/03/2011 - 01:57:35: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:35: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:35: [SM]   [0]  Line 57, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientDisconnect()
L 08/03/2011 - 01:57:35: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:35: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:35: [SM]   [0]  Line 44, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientPutInServer()
L 08/03/2011 - 01:57:35: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:35: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:35: [SM]   [0]  Line 44, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientPutInServer()
L 08/03/2011 - 01:57:36: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:36: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:36: [SM]   [0]  Line 57, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientDisconnect()
L 08/03/2011 - 01:57:36: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:36: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:36: [SM]   [0]  Line 44, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientPutInServer()
L 08/03/2011 - 01:57:37: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:37: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:37: [SM]   [0]  Line 44, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientPutInServer()
L 08/03/2011 - 01:57:37: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:37: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:37: [SM]   [0]  Line 57, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientDisconnect()
L 08/03/2011 - 01:57:37: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:37: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:37: [SM]   [0]  Line 44, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientPutInServer()
L 08/03/2011 - 01:57:38: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:38: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:38: [SM]   [0]  Line 44, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientPutInServer()
L 08/03/2011 - 01:57:38: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:38: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 08/03/2011 - 01:57:38: [SM]   [0]  Line 57, /home/groups/alliedmodders/forums/files/5/2/3/6/9/54198.attach::OnClientDisconnect()
L 08/03/2011 - 01:57:38: [SM] Plugin encountered error 15: Array index is out of bounds
L 08/03/2011 - 01:57:38: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
Im getting a lot of these errors. Otherwise the plugin works great!
Chronic1 is offline
RavenDan29
Veteran Member
Join Date: Sep 2009
Old 11-06-2011 , 05:15   Re: [L4D2] Player Unstick
Reply With Quote #75

sometimes the unstick is not enough to untrap a player can u increase the amount it moves you please?
__________________
RavenDan29 is offline
CUatTHEFINISH
Member
Join Date: Apr 2009
Old 03-02-2012 , 17:07   Re: [L4D2] Player Unstick
Reply With Quote #76

Quote:
Originally Posted by Chronic1 View Post
Code:
<snip>
Im getting a lot of these errors. Otherwise the plugin works great!
Sounds like you're using the original plugin. Try dirka's edits earlier in this thread. He increased the array size to 32. That should accommodate more players and fix the out of bounds error.
__________________
CUatTHEFINISH is offline
chatyak
Senior Member
Join Date: Aug 2011
Old 08-31-2012 , 19:01   Re: [L4D2] Player Unstick
Reply With Quote #77

Is a cfg file generated automatically by this or must we enter the variables in our server.cfg? I can't locate a cfg for it..
chatyak is offline
chatyak
Senior Member
Join Date: Aug 2011
Old 09-09-2012 , 03:48   Re: [L4D2] Player Unstick
Reply With Quote #78

Errors - perhaps for a fix?


L 09/08/2012 - 23:400: SourceMod error session started
L 09/08/2012 - 23:400: Info (map "death_sentence_3") (file "errors_20120908.log")
L 09/08/2012 - 23:400: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2012 - 23:400: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 09/08/2012 - 23:400: [SM] [0] Line 44, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientPutInServer()
L 09/08/2012 - 23:40:44: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/08/2012 - 23:40:44: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 09/08/2012 - 23:40:44: [SM] [0] Line 57, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientDisconnect()
L 09/09/2012 - 00:01:14: Error log file session closed.
L 09/09/2012 - 00:01:29: SourceMod error session started
L 09/09/2012 - 00:01:29: Info (map "death_sentence_4") (file "errors_20120909.log")
L 09/09/2012 - 00:01:29: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/09/2012 - 00:01:29: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 09/09/2012 - 00:01:29: [SM] [0] Line 44, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientPutInServer()
L 09/09/2012 - 00:10:01: [SM] Plugin encountered error 15: Array index is out of bounds
L 09/09/2012 - 00:10:01: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 09/09/2012 - 00:10:01: [SM] [0] Line 57, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientDisconnect()
L 09/09/2012 - 00:14:52: Error log file session closed.
chatyak is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 09-09-2012 , 15:23   Re: [L4D2] Player Unstick
Reply With Quote #79

i use this plugin now but i still didnt encounter that error but maybe this will fix your problem..

PHP Code:
public OnClientPutInServer(client)
{
    if(
client && client MaxClients)
    {
        
// Initalize location and teleport amount values for client
        
g_Location[client][0] = 0.0// X
        
g_Location[client][1] = 0.0// Y
        
g_Location[client][2] = 0.0// Z
        
g_teleportsLeft[client] = GetConVarInt(g_hNumOfTeleports); // Number of teleports for client
        // Lets check if we're allowing annoucements
        
if(GetConVarInt(g_hPluginAnnounce) == 1)
        {
            
ClientDelayTimers[client][1] = CreateTimer(50.0StuckPluginAnnounceclient);
        }
    }  
}

public 
OnClientDisconnect(client)
{
    if(
client && client MaxClients)
    {
        if (
ClientDelayTimers[client][0] != INVALID_HANDLE)
        {
            
KillTimer(ClientDelayTimers[client][0]);
            
ClientDelayTimers[client][0] = INVALID_HANDLE;
        }
        if (
ClientDelayTimers[client][1] != INVALID_HANDLE)
        {
        
KillTimer(ClientDelayTimers[client][1]);
        
ClientDelayTimers[client][1] = INVALID_HANDLE;
        }
    }

I dont know which plugins u use so i m guessing... i m lazy download all those new attachment..
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 09-09-2012 at 15:26.
GsiX is offline
chatyak
Senior Member
Join Date: Aug 2011
Old 10-15-2012 , 19:06   Re: [L4D2] Player Unstick
Reply With Quote #80

L 10/10/2012 - 23:04:41: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:04:41: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:04:41: [SM] [0] Line 44, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientPutInServer()
L 10/10/2012 - 23:04:41: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:04:41: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:04:41: [SM] [0] Line 44, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientPutInServer()
L 10/10/2012 - 23:04:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:04:42: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:04:42: [SM] [0] Line 57, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientDisconnect()
L 10/10/2012 - 23:04:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:04:42: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:04:42: [SM] [0] Line 44, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientPutInServer()
L 10/10/2012 - 23:04:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:04:42: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:04:42: [SM] [0] Line 57, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientDisconnect()
L 10/10/2012 - 23:04:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:04:42: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:04:42: [SM] [0] Line 44, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientPutInServer()
L 10/10/2012 - 23:04:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:04:42: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:04:42: [SM] [0] Line 44, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientPutInServer()
L 10/10/2012 - 23:04:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:04:42: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:04:42: [SM] [0] Line 44, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientPutInServer()
L 10/10/2012 - 23:05:01: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:05:01: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:05:01: [SM] [0] Line 57, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientDisconnect()
L 10/10/2012 - 23:05:50: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:05:50: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:05:50: [SM] [0] Line 57, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientDisconnect()
L 10/10/2012 - 23:12:23: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:12:23: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:12:23: [SM] [0] Line 57, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientDisconnect()
L 10/10/2012 - 23:160: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/10/2012 - 23:160: [SM] Displaying call stack trace for plugin "l4d2unstick.smx":
L 10/10/2012 - 23:160: [SM] [0] Line 57, /home/groups/sourcemod/upload_tmp/phpDcCa9Y.sp::OnClientDisconnect()


Ideas?
chatyak is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:54.


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