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

Nade Modes Fix?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ArminC
Senior Member
Join Date: Apr 2016
Old 02-27-2018 , 05:25   Nade Modes Fix?
Reply With Quote #1

Code:
L 02/27/2018 - 12:22:07: Start of error session.
L 02/27/2018 - 12:22:07: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20180227.log")
L 02/27/2018 - 12:22:07: [ENGINE] Entity out of range (-1)
L 02/27/2018 - 12:22:07: [AMXX] Displaying debug trace (plugin "nade_modes.amxx", version "11.2")
L 02/27/2018 - 12:22:07: [AMXX] Run time error 10: native error (native "entity_get_string")
L 02/27/2018 - 12:22:07: [AMXX]    [0] nade_modes.sma::fw_takedamage (line 3248)
-- The HLDS Crashes at sometimes and in amxx-logs it gave me this..

Any fix? -- Plugin code: https://pastebin.com/PKNTngWw (Someone did give me a line to put in plugin but I didn't manage to fix it)

Thanks!

Last edited by ArminC; 02-27-2018 at 05:26.
ArminC is offline
Paltimus
Junior Member
Join Date: Feb 2018
Location: German - Bomb site A
Old 02-28-2018 , 20:35   Re: Nade Modes Fix?
Reply With Quote #2

add this to your modules folder // cstrike/addons/amxmodx/modules
and try it
Attached Files
File Type: zip engine_amxx.zip (50.7 KB, 55 views)

Last edited by Paltimus; 02-28-2018 at 20:37.
Paltimus is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 03-01-2018 , 03:52   Re: Nade Modes Fix?
Reply With Quote #3

Paltimus wtf?
ArminC you are not using the official version of that plugin.
Clauu is offline
ArminC
Senior Member
Join Date: Apr 2016
Old 03-01-2018 , 04:07   Re: Nade Modes Fix?
Reply With Quote #4

I'am using the official version :-?

https://forums.alliedmods.net/showthread.php?p=663892

-- just removed the // Messages and edited the tag.. nothing edited at plugin's core

It's somewhere a difference in code at the gameplay code?

I re-downloaded the plugin from above link.. I will try to see if that error is appearing..

Last edited by ArminC; 03-01-2018 at 04:16.
ArminC is offline
ArminC
Senior Member
Join Date: Apr 2016
Old 03-01-2018 , 07:14   Re: Nade Modes Fix?
Reply With Quote #5

-- It's the same..

L 03/01/2018 - 14:14:08: [ENGINE] Entity out of range (-1)
L 03/01/2018 - 14:14:08: [AMXX] Displaying debug trace (plugin "nade_modes.amxx", version "11.2")
L 03/01/2018 - 14:14:08: [AMXX] Run time error 10: native error (native "entity_get_string")
L 03/01/2018 - 14:14:08: [AMXX] [0] nade_modes.sma::fw_takedamage (line 3270)
ArminC is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 03-01-2018 , 07:25   Re: Nade Modes Fix?
Reply With Quote #6

I don't know what you are doing there but still you are not using the official version
Download and use this http://www.amxmodx.org/plcompiler_vb.cgi?file_id=100910
Clauu is offline
ArminC
Senior Member
Join Date: Apr 2016
Old 03-01-2018 , 07:58   Re: Nade Modes Fix?
Reply With Quote #7

It's the official plugin.. just that I have removed the comments inside it.. oh..

With your plugin:

L 03/01/2018 - 14:53:46: [ENGINE] Entity out of range (-1)
L 03/01/2018 - 14:53:46: [AMXX] Displaying debug trace (plugin "nade_modes.amxx", version "11.2")
L 03/01/2018 - 14:53:46: [AMXX] Run time error 10: native error (native "entity_get_string")
L 03/01/2018 - 14:53:46: [AMXX] [0] 100910.attach::fw_takedamage (line 3449)
ArminC is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 03-01-2018 , 13:42   Re: Nade Modes Fix?
Reply With Quote #8

Ah lol so that's why there was diff in code lines
Are you running other some special mod? Because it is odd how attacker could be an invalid entity and not a valid player.
Change this
Code:
if (!(bs_forward_collection & FWD_TAKEDAMAGE))
to this
Code:
if (!(bs_forward_collection & FWD_TAKEDAMAGE) || !(1<= attacker <= 32))

Last edited by Clauu; 03-01-2018 at 13:43.
Clauu is offline
ArminC
Senior Member
Join Date: Apr 2016
Old 03-01-2018 , 17:10   Re: Nade Modes Fix?
Reply With Quote #9

I think that I managed to fix it.. (see on extreamcs..) .. I think it was about the nade_semiclip plugin :-? I'am not sure still because this crash is random.. but I will apply that code anyway
ArminC 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 04:24.


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