Raised This Month: $ Target: $400
 0% 

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
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 07-30-2015 , 08:03   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #7

thx thx thx
ZASTRELIS is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 07-30-2015 , 09:16   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #8

Why ADMINS not works as in AMXX? Without stpd reload or rehash commands..
I don't know, but I can't get access and with stable sourcebans1
ZASTRELIS is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 07-30-2015 , 09:31   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #9

Quote:
Originally Posted by ZASTRELIS View Post
Why ADMINS not works as in AMXX? Without stpd reload or rehash commands..
I don't know, but I can't get access and with stable sourcebans1
If you want "dynamic" admins you can just add and delete without having to reload or rehash anything, then you should look included plugin named "admin-sql-threaded", it should load your admins directly from your SQL database, though it still caches groups and overrides.

For more information, please see this link.

This is however a completely different database schema than SourceBans, as such, you cannot use SourceBans to adjust your admins on this plugin.


In regards to your last line, I can say SourceBans works fine for me, as well as for a lot of other people. So unfortunately, it appears your problem is a PEBCAK.
__________________
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-30-2015 , 10:01   Re: Native "ReadPackString" reported: Invalid data pack handle
Reply With Quote #10

Not correct kick ban, not admin loads.. bugged plugin.
ZASTRELIS 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 11:16.


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