Raised This Month: $ Target: $400
 0% 

[CS:S/CS:GO] StickyNades Lite


Post New Thread Reply   
 
Thread Tools Display Modes
cssBOT
Senior Member
Join Date: Apr 2009
Old 07-27-2013 , 14:18   Re: [CS:S/CS:GO] StickyNades Lite
Reply With Quote #151

Here is sample of specific line errors:
L 07/27/2013 - 13:12:22: [SM] Plugin encountered error 15: Array index is out of bounds
L 07/27/2013 - 13:12:22: [SM] Displaying call stack trace for plugin "snlite.smx":
L 07/27/2013 - 13:12:22: [SM] [0] Line 257, snlite.sp::InitGrenade()
L 07/27/2013 - 13:12:25: [SM] Plugin encountered error 15: Array index is out of bounds
L 07/27/2013 - 13:12:25: [SM] Displaying call stack trace for plugin "snlite.smx":
L 07/27/2013 - 13:12:25: [SM] [0] Line 257, snlite.sp::InitGrenade()
L 07/27/2013 - 13:128: [SM] Native "GetEntDataEnt2" reported: Entity 161 (161) is invalid
L 07/27/2013 - 13:128: [SM] Displaying call stack trace for plugin "snlite.smx":
L 07/27/2013 - 13:128: [SM] [0] Line 251, snlite.sp::InitGrenade()
L 07/27/2013 - 13:12:43: [SM] Native "GetEntDataEnt2" reported: Entity 156 (156) is invalid
L 07/27/2013 - 13:12:43: [SM] Displaying call stack trace for plugin "snlite.smx":
L 07/27/2013 - 13:12:43: [SM] [0] Line 251, snlite.sp::InitGrenade()

Running in CS:S/linux/SM 1.5-3838

Last edited by cssBOT; 07-27-2013 at 14:19. Reason: add info
cssBOT is offline
cssBOT
Senior Member
Join Date: Apr 2009
Old 07-27-2013 , 14:38   Re: [CS:S/CS:GO] StickyNades Lite
Reply With Quote #152

Nvm. Just use Sheepdude's version. He patched it for the above errors with a test for invalid entities.

Thanks Sheepdude!
cssBOT is offline
cssBOT
Senior Member
Join Date: Apr 2009
Old 08-31-2013 , 09:36   Re: [CSS] StickyNades Lite
Reply With Quote #153

Quote:
Originally Posted by sinblaster View Post
tigerox any idea what could fix this? I have no idea what it is, no error log its in consol.

cheers

KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file models/stickynades/stickynades_red.mdl
mdlkeyvalue, (*prop_data*),
KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file models/stickynades/stickynades_red.mdl
I guess 3+ years is long enough. I can't believe whoever made the models never fixed the simple error.

Here are new model files with .qc errors fixed so they stop spamming the console. The materials files are not included so grab them from Tigerox' first post.

Note: to make these work you will need to edit lines 10 & 11 and recompile the plugin:

#define MDL_BLUE "models/stickynades/stickynades_blue_fixed.mdl"
#define MDL_RED "models/stickynades/stickynades_red_fixed.mdl"

I recommend using Sheepdude's version because it contains the fix for the invalid entity errors.
Attached Files
File Type: zip stickynades_fix.zip (147.2 KB, 147 views)
cssBOT is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 08-31-2013 , 18:18   Re: [CS:S/CS:GO] StickyNades Lite
Reply With Quote #154

Thanks cssBOT,

I will update this plugin soon with all the changes.
__________________
tigerox is offline
cssBOT
Senior Member
Join Date: Apr 2009
Old 08-31-2013 , 20:24   Re: [CS:S/CS:GO] StickyNades Lite
Reply With Quote #155

np. Thank you for the great plugin.
cssBOT is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 10-07-2013 , 14:16   Re: [CS:S/CS:GO] StickyNades Lite
Reply With Quote #156

Updated!

Code:
07-10-2013 - Version 1.3.3
- Added Protobuffs support. (Thanks to Sheepdude)
- Updated sticky nade models to fix console errors. (Thanks to cssBOT)
- Fixed invalid entity errors.
- Fixed models and sounds downloading in CS:S.
__________________
tigerox is offline
easono
Senior Member
Join Date: Nov 2013
Old 03-23-2014 , 12:10   Re: [CSS] StickyNades Lite
Reply With Quote #157

Quote:
Originally Posted by altex View Post
just a minor wish..

i think it is better to add
snlite_admin_only_flags "o"
not
snlite_admin_only "1"
if you know what i mean...

...or just add another cvar snlite_admin_only_flags
it will be much better then hardcoded "o" flag

Has this been done? I have downloaded and installed but if I put snlite_admin_only_flags "o" it show unknown command.

Also, is there an admin command to enable/disable this?

oh and the skins fail to load, I have done the fixed mentions in a later post, it worked once then stopped lol

Last edited by easono; 03-23-2014 at 12:11.
easono is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 03-23-2014 , 12:49   Re: [CSS] StickyNades Lite
Reply With Quote #158

Quote:
Originally Posted by easono View Post
Has this been done? I have downloaded and installed but if I put snlite_admin_only_flags "o" it show unknown command.

Also, is there an admin command to enable/disable this?

oh and the skins fail to load, I have done the fixed mentions in a later post, it worked once then stopped lol
You can use admin override snlite_admin_only.

Make sure the skins are in the correct folder. With CSS they must be in your /custom/... folder.
__________________
tigerox is offline
easono
Senior Member
Join Date: Nov 2013
Old 03-23-2014 , 14:49   Re: [CSS] StickyNades Lite
Reply With Quote #159

Quote:
Originally Posted by tigerox View Post
You can use admin override snlite_admin_only.

Does this just go in the snlite.cfg? I've done that unloaded the plugin and reloaded it but it still sticks for non admins. If i type rcon snlite_admin_only - it's unknown command. Also player get stuck to the floor when a nade gets stuck to them.

Last edited by easono; 03-23-2014 at 17:14.
easono is offline
tigerox
AlliedModders Donor
Join Date: Oct 2008
Location: Canada
Old 03-23-2014 , 21:43   Re: [CSS] StickyNades Lite
Reply With Quote #160

Quote:
Originally Posted by easono View Post
Does this just go in the snlite.cfg? I've done that unloaded the plugin and reloaded it but it still sticks for non admins. If i type rcon snlite_admin_only - it's unknown command.
You would set this in your configs/admin_overrides.cfg.
https://wiki.alliedmods.net/Overridi...ess_(SourceMod)
__________________

Last edited by tigerox; 03-23-2014 at 22:24.
tigerox 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 02:38.


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