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

Native "ReadPackString" reported: Invalid data pack handle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 07-28-2015 , 07:35   Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #1

Installed sourcebans 1.4.1 as in general manual. SourceBans loaded. But..
1. I can't get admin access in game
2. I can't compile sp file (when try get more errors)
3. Console ban not works too, result of this you can see..

Code:
L 07/28/2015 - 19:19:01: [sourcebans.smx] Verify Insert Query Failed: Column 'sid' cannot be null
L 07/28/2015 - 19:19:01: [SM] Native "ReadPackString" reported: Invalid data pack handle 0 (error 4)
L 07/28/2015 - 19:19:01: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/28/2015 - 19:19:01: [SM]   [0]  Line 1038, sourcebans.sp::VerifyInsert()
Code:
// sourcebans.sp(73) : error 021: symbol already defined: "Database"
// sourcebans.sp(232) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// sourcebans.sp(291) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(322) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(335) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(350) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(357) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(514) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// sourcebans.sp(530) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(562) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// sourcebans.sp(579) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(636) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// sourcebans.sp(652) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(955) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(955) : warning 215: expression has no effect
// sourcebans.sp(959) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(968) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(977) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1011) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1114) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1146) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1197) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1232) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1283) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1315) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1412) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1459) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1489) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// sourcebans.sp(1497) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1513) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1797) : error 174: symbol 'Database' is a type and cannot be used as a value
// sourcebans.sp(1981) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// sourcebans.sp(2235) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// sourcebans.sp(2243) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use GetClientAuthId
//
//
// sourcebans.sp(2271) : error 174: symbol 'Database' is a type and cannot be used as a value
//
// Compilation aborted.
// 26 Errors.

Last edited by ZASTRELIS; 07-28-2015 at 09:23.
ZASTRELIS is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 07-29-2015 , 11:54   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #2

Get the latest SourceBans version instead of running such ancient versions...

-> https://github.com/GameConnect/sourcebansv1
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 07-29-2015 , 22:04   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #3

Quote:
Originally Posted by arne1288 View Post
Get the latest SourceBans version instead of running such ancient versions...

-> https://github.com/GameConnect/sourcebansv1
what do you mean under @ancient versions I used 1.4.1 version
ZASTRELIS is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 07-29-2015 , 22:10   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #4

Quote:
Originally Posted by ZASTRELIS View Post
what do you mean under @ancient versions I used 1.4.1 version
Unless you mean 1.4.11... 1.4.1 is considered ancient.
__________________
WildCard65 is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 07-29-2015 , 23:28   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #5

Quote:
Originally Posted by WildCard65 View Post
Unless you mean 1.4.11... 1.4.1 is considered ancient.
ancient?!

OFFTOPIC: why admin cache not reloaded when admin player entering the game?

Last edited by ZASTRELIS; 07-29-2015 at 23:29.
ZASTRELIS is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 07-30-2015 , 05:54   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #6

Quote:
Originally Posted by ZASTRELIS View Post
ancient?!
If you take Google Translate, ancient means "древній" in your language.

If you really need it explained more: Don't use plugins from the stone age.

Grab the updates when they're available...


Quote:
Originally Posted by ZASTRELIS View Post
OFFTOPIC: why admin cache not reloaded when admin player entering the game?
SourceBans 1.4 branch loads admins on map changes and when you run reload the admin cache. (E.g. sm_rehash with SB 1.4 branch, or sm_reloadadmins with current alpha/beta versions).
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL 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 17:17.


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