Raised This Month: $51 Target: $400
 12% 

Getting errors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Adomaz1
Senior Member
Join Date: Feb 2014
Old 08-13-2016 , 05:24   Getting errors
Reply With Quote #1

Hello, I'm getting these errors:

Code:
L 08/13/2016 - 12:18:53: [SM] Exception reported: DataPack operation is out of bounds.
L 08/13/2016 - 12:18:53: [SM] Blaming: smac_eac_banlist.smx()
L 08/13/2016 - 12:18:53: [SM] Call stack trace:
L 08/13/2016 - 12:18:53: [SM]   [0] ReadPackString
L 08/13/2016 - 12:18:53: [SM]   [1] Line 149, smac_eac_banlist.sp::OnSocketConnected()
L 08/13/2016 - 12:18:53: [SM] Exception reported: DataPack operation is out of bounds.
L 08/13/2016 - 12:18:53: [SM] Blaming: smac_kac_banlist.smx()
L 08/13/2016 - 12:18:53: [SM] Call stack trace:
L 08/13/2016 - 12:18:53: [SM]   [0] ReadPackString
L 08/13/2016 - 12:18:53: [SM]   [1] Line 143, smac_kac_banlist.sp::OnSocketConnected()
L 08/13/2016 - 12:18:56: [SM] Exception reported: DataPack operation is out of bounds.
L 08/13/2016 - 12:18:56: [SM] Blaming: smac_kac_banlist.smx()
L 08/13/2016 - 12:18:56: [SM] Call stack trace:
L 08/13/2016 - 12:18:56: [SM]   [0] ReadPackString
L 08/13/2016 - 12:18:56: [SM]   [1] Line 143, smac_kac_banlist.sp::OnSocketConnected()
L 08/13/2016 - 12:18:56: [SM] Exception reported: DataPack operation is out of bounds.
L 08/13/2016 - 12:18:56: [SM] Blaming: smac_eac_banlist.smx()
L 08/13/2016 - 12:18:56: [SM] Call stack trace:
L 08/13/2016 - 12:18:56: [SM]   [0] ReadPackString
L 08/13/2016 - 12:18:56: [SM]   [1] Line 149, smac_eac_banlist.sp::OnSocketConnected()
And when I connected I got banned. :/

I'm using 0.8.5.2 version

F.E eac_banlist line 149

Code:
public OnSocketConnected(Handle:socket, any:hPack)
{
	decl String:sAuthID[MAX_AUTHID_LENGTH], String:sRequest[256];
	SetPackPosition(hPack, 8);
	ReadPackString(hPack, sAuthID, sizeof(sAuthID));
	FormatEx(sRequest, sizeof(sRequest), "GET /%s%s HTTP/1.0\r\nHost: %s\r\nConnection: close\r\n\r\n", EAC_QUERY, sAuthID, EAC_HOSTNAME);
	SocketSend(socket, sRequest);
}
Adomaz1 is offline
 



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 19:11.


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