Raised This Month: $32 Target: $400
 8% 

[l4d2] Luffy Items


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-28-2019 , 13:59   Re: [l4d2] Luffy Items
Reply With Quote #71

You didn't update the plugin with the changes I posted, or didn't update server with new plugin or reload the plugin on the server.
__________________

Last edited by Silvers; 10-28-2019 at 14:00.
Silvers is offline
BlackSabbarh
Senior Member
Join Date: Sep 2018
Old 10-28-2019 , 16:14   Re: [l4d2] Luffy Items
Reply With Quote #72

yes, the old cfg only needed to be removed. thanks working perfect.
BlackSabbarh is offline
ricksfishin
Senior Member
Join Date: Oct 2017
Old 10-28-2019 , 16:36   Re: [l4d2] Luffy Items
Reply With Quote #73

Added Silvers code.
new id = GetIndex( index );
if( id == -1 ) return Plugin_Stop;
g_ItemLimitLife[id] -= 0.1;
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_luffy_ex.sp - 402 views - 92.2 KB)
ricksfishin is offline
KRUTIK
Senior Member
Join Date: Feb 2019
Location: Мос
Old 02-12-2020 , 15:03   Re: [l4d2] Luffy Items
Reply With Quote #74

SourceMod error session started
L 02/12/2020 - 20:29:43: Info (map "c2m2_fairgrounds") (file "errors_20200212.log")
L 02/12/2020 - 20:29:43: [SM] Exception reported: Invalid timer handle fd4202e4 (error 1)
L 02/12/2020 - 20:29:43: [SM] Blaming: l4d2_luffy_ex.smx
L 02/12/2020 - 20:29:43: [SM] Call stack trace:
L 02/12/2020 - 20:29:43: [SM] [0] KillTimer
L 02/12/2020 - 20:29:43: [SM] [1] Line 1023, plugin.sp::Timer_ItemLifeSpawn
L 02/12/2020 - 20:29:43: [SM] Exception reported: Invalid timer handle fd4202e4 (error 1)
KRUTIK is offline
KRUTIK
Senior Member
Join Date: Feb 2019
Location: Мос
Old 02-27-2020 , 16:34   Re: [l4d2] Luffy Items
Reply With Quote #75

Quote:
Originally Posted by ricksfishin View Post
Added Silvers code.
new id = GetIndex( index );
if( id == -1 ) return Plugin_Stop;
g_ItemLimitLife[id] -= 0.1;
Blaming: l4d2_luffy_ex.smx
L 02/28/2020 - 00:22:25: [SM] Call stack trace:
L 02/28/2020 - 00:22:25: [SM] [0] KillTimer
L 02/28/2020 - 00:22:25: [SM] [1] Line 1023, plugin.sp::Timer_ItemLifeSpawn
L 02/28/2020 - 00:22:25: [SM] Exception reported: Invalid timer handle ea604ad (error 1)
KRUTIK is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-27-2020 , 16:40   Re: [l4d2] Luffy Items
Reply With Quote #76

KillTimer() called from inside the same timer it's killing is wrong, hence the errors. Instead set handle to null and return Plugin_Stop.
__________________
Silvers is offline
TypicalType
Member
Join Date: Mar 2020
Location: Brazil
Old 05-20-2020 , 15:09   Re: [l4d2] Luffy Items
Reply With Quote #77

i dont understand the zip installation i just keep gettin custom models errors
TypicalType is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 10-18-2020 , 05:43   Re: [l4d2] Luffy Items
Reply With Quote #78

Quote:
Originally Posted by BlackSabbarh View Post
L 10/28/2019 - 149:52: [SM] Exception reported: Array index out-of-bounds (index -1, limit 20)
L 10/28/2019 - 149:52: [SM] Blaming: l4d2_luffy_ex.smx
L 10/28/2019 - 149:52: [SM] Call stack trace:
L 10/28/2019 - 149:52: [SM] [1] Line 971, /home/forums/content/files/2/8/2/3/4/5/174614.attach::Timer_ItemLifeSpawn
L 10/28/2019 - 149:52: [SM] Exception reported: Array index out-of-bounds (index -1, limit 20)
L 10/28/2019 - 149:52: [SM] Blaming: l4d2_luffy_ex.smx
L 10/28/2019 - 149:52: [SM] Call stack trace:
L 10/28/2019 - 149:52: [SM] [1] Line 902, /home/forums/content/files/2/8/2/3/4/5/174614.attach::Timer_RandomLifeSpawn
L 10/28/2019 - 149:52: [SM] Exception reported: Array index out-of-bounds (index -1, limit 20)
L 10/28/2019 - 149:52: [SM] Blaming: l4d2_luffy_ex.smx
L 10/28/2019 - 149:52: [SM] Call stack trace:
L 10/28/2019 - 149:52: [SM] [1] Line 971, /home/forums/content/files/2/8/2/3/4/5/174614.attach::Timer_ItemLifeSpawn
L 10/28/2019 - 149:52: [SM] Exception reported: Array index out-of-bounds (index -1, limit 20)
L 10/28/2019 - 149:52: [SM] Blaming: l4d2_luffy_ex.smx
L 10/28/2019 - 149:52: [SM] Call stack trace:
L 10/28/2019 - 149:52: [SM] [1] Line 902, /home/forums/content/files/2/8/2/3/4/5/174614.attach::Timer_RandomLifeSpawn
L 10/28/2019 - 149:52: [SM] Exception reported: Array inde

sorry, i didnt mean to ignore ya. i went to offshore and leave all my tools behind.
Quote:
Originally Posted by Silvers View Post
KillTimer() called from inside the same timer it's killing is wrong, hence the errors. Instead set handle to null and return Plugin_Stop.
Thanks for the assist. I actually didnt get the chance to code lately.

Quote:
Originally Posted by TypicalType View Post
i dont understand the zip installation i just keep gettin custom models errors
updated.. it should be plug and play. please read the documentation. tho its google translated but it should be clear enought.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 10-19-2020 at 13:28.
GsiX is offline
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 10-19-2020 , 13:37   Re: [l4d2] Luffy Items
Reply With Quote #79

Hi.. if you wish to modify this for your own taste, don't do it first. I ll bring major changes to the shield and its ability. Besides i got the dummy detection and the skin flipped over. Also i ll get rid few more unnecessary timer/garbage out of the plugin. I ll bring back the previous default airnode model. It look more appealing. Wait for proper release v1.0 if you wish to do so. The plugin now much lighter then before.
__________________
If i happen to insulted you unintentionally,
it was me and Google Translate who did it.

Last edited by GsiX; 10-19-2020 at 13:39.
GsiX is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 10-19-2020 , 16:09   Re: [l4d2] Luffy Items
Reply With Quote #80

Quote:
Originally Posted by GsiX View Post
Hi.. if you wish to modify this for your own taste, don't do it first. I ll bring major changes to the shield and its ability. Besides i got the dummy detection and the skin flipped over. Also i ll get rid few more unnecessary timer/garbage out of the plugin. I ll bring back the previous default airnode model. It look more appealing. Wait for proper release v1.0 if you wish to do so. The plugin now much lighter then before.

But you said it'll be beta forever
__________________
Mr. Man is offline
Reply


Thread Tools
Display Modes

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 13:53.


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