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

Healthkit on dead body


Post New Thread Reply   
 
Thread Tools Display Modes
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 02-24-2009 , 07:18   Re: Healthkit on dead body
Reply With Quote #31

Quote:
Originally Posted by sytremelaker View Post
What Glist3r meant was that he the health pack acts like a solid entity. For example, using de_dust2 as an example, place one of your health packs (yours meaning a health pack from this plugin) between the double doors and try walking through it. It'll block your way.

His isn't broken or anything but it is something within the plugin that coudl be reworked. What he meant by "transparent" is that players should be able to walk through the health kit easily if they don't need it (or full on life).
is not a bug, is just in plugin.... i maked model to be solid... and he don't block you.. just jump a little bit and all it's okay
__________________

Last edited by tuty; 02-24-2009 at 07:28.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Andrius
New Member
Join Date: Mar 2009
Old 03-20-2009 , 18:27   Re: Healthkit on dead body
Reply With Quote #32

Plugin working, but with server crashing.
In the players console writing message: Server shutting down, and Reebot server

Why ?
Andrius is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-21-2009 , 04:03   Re: Healthkit on dead body
Reply With Quote #33

Show your error logs!
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Andrius
New Member
Join Date: Mar 2009
Old 03-21-2009 , 08:02   Re: Healthkit on dead body
Reply With Quote #34

Quote:
Originally Posted by crazyeffect View Post
Show your error logs!

L 03/18/2009 - 23:57:18: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/18/2009 - 23:57:44: [FAKEMETA] Invalid entity
L 03/18/2009 - 23:57:44: [AMXX] Run time error 10 (plugin "kit_on_body.amxx") (native "pev") - debug not enabled!
L 03/18/2009 - 23:57:44: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/18/2009 - 23:58:14: [FAKEMETA] Invalid entity
L 03/18/2009 - 23:58:14: [AMXX] Run time error 10 (plugin "kit_on_body.amxx") (native "pev") - debug not enabled!
L 03/18/2009 - 23:58:14: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/18/2009 - 23:58:25: [FAKEMETA] Invalid entity
L 03/18/2009 - 23:58:25: [AMXX] Run time error 10 (plugin "kit_on_body.amxx") (native "pev") - debug not enabled!
L 03/18/2009 - 23:58:25: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 03/18/2009 - 23:58:29: [FAKEMETA] Invalid entity
L 03/18/2009 - 23:58:29: [AMXX] Run time error 10 (plugin "kit_on_body.amxx") (native "pev") - debug not enabled!
L 03/18/2009 - 23:58:29: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes)

Error logs, can help me ?

Last edited by Andrius; 03-21-2009 at 08:14.
Andrius is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-21-2009 , 11:44   Re: Healthkit on dead body
Reply With Quote #35

Put this line in your plugins.ini and then show the error logs again.

(Just add debug after kit_on_body.amxx)
Quote:
kit_on_body.amxx debug
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-21-2009 , 12:27   Re: Healthkit on dead body
Reply With Quote #36

Not hard to figure out since there is only one pev() which can do that.

Search : ForwardTouch() function.

Replace : if( get_pcvar_num( g_Toggle_KitEnable ) == 0 )
by : if( !pev_valid( ent ) || get_pcvar_num( g_Toggle_KitEnable ) == 0 )

It should be enough.
Arkshine is offline
Andrius
New Member
Join Date: Mar 2009
Old 03-21-2009 , 12:48   Re: Healthkit on dead body
Reply With Quote #37

Quote:
Originally Posted by crazyeffect View Post
Put this line in your plugins.ini and then show the error logs again.

(Just add debug after kit_on_body.amxx)
L 03/21/2009 - 18:42:27: [FAKEMETA] Invalid entity
L 03/21/2009 - 18:42:27: [AMXX] Displaying debug trace (plugin "kit_on_body.amxx")
L 03/21/2009 - 18:42:27: [AMXX] Run time error 10: native error (native "pev")
L 03/21/2009 - 18:42:27: [AMXX] [0] kit_on_body.sma::ForwardTouch (line 77)

^^ with debug
Andrius is offline
Andrius
New Member
Join Date: Mar 2009
Old 03-21-2009 , 12:48   Re: Healthkit on dead body
Reply With Quote #38

Quote:
Originally Posted by arkshine View Post
Not hard to figure out since there is only one pev() which can do that.

Search : ForwardTouch() function.

Replace : if( get_pcvar_num( g_Toggle_KitEnable ) == 0 )
by : if( !pev_valid( ent ) || get_pcvar_num( g_Toggle_KitEnable ) == 0 )

It should be enough.

Testing now


EDIT: looks like working FINE, + karma for you arkshine

Last edited by Andrius; 03-21-2009 at 13:32.
Andrius is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-27-2009 , 01:55   Re: Healthkit on dead body
Reply With Quote #39

Quote:
Originally Posted by arkshine View Post
Not hard to figure out since there is only one pev() which can do that.

Search : ForwardTouch() function.

Replace : if( get_pcvar_num( g_Toggle_KitEnable ) == 0 )
by : if( !pev_valid( ent ) || get_pcvar_num( g_Toggle_KitEnable ) == 0 )

It should be enough.
ups.. thanks arkshine... updated
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Swuifti
Senior Member
Join Date: Mar 2008
Location: Bulgaria/Sofia
Old 04-03-2009 , 22:17   Re: Healthkit on dead body
Reply With Quote #40

I have found a bug in DM when i die and i spawn on the same place the kit is i get stuck ??
Swuifti is offline
Send a message via ICQ to Swuifti Send a message via Yahoo to Swuifti Send a message via Skype™ to Swuifti
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 16:03.


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