Raised This Month: $85 Target: $400
 21% 

[l4d2] Luffy Items


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
AlliedModders Donor
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 - 188 views - 92.2 KB)
ricksfishin is offline
KRUTIK
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
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
AlliedModders Donor
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:41   Re: [l4d2] Luffy Items
Reply With Quote #78

v 0.9 - plugins conversion.
- v0.9 still beta, probably will stay beta forever. no time to coding.
- added invalid value for -1. Not sure why should i.
- addressing array outbound inside timer
- corrected upgrade pack chat item name.
- luffy model changed for better solid type object. <<<== from Google translet.
- lyffy touch detection changed from distance to SDKHook.
- missile hit detection change to SDKHook.
- removed cvar weapon tear drop selection. dosent make any sense.
- passing serial to timer instead of index( index consider unsafe ).
- removed unnecessary client and entity check for preformance wise.
- added fail safe check. For example, an ability use 3 type of prop to make up
a single object, one fail in the creation chain will abort and reverse the proses
by deleting the unfinish ability (i may oversight few leftover yet).
- correctecd rocket body and exaust wrong orientation;
- added new ability punishment.
- added new ability homing missile.
- some of the description for version v0.8 and below i typed 8 years ago turn out to be somewhat a lie.
- get rid of the weaponslot array that cause error. its unnecsesary object store function plus stupid.
- rebuild missile firing sequence from player location to jet location. get rid of the multiple firing timer(its just stupid and expensive op).
- added sound for infected and witch hurt.
- custom model packed into vpk. plug and play. probably dosent comply with alliedmodder rule(source must be included uncompiled).
- added check if custom model not present, default l4d2 model will be loaded.
- fixed incorrect model file path causes model error ingame.
__________________
Now taking private request.
Steam Profile | Donation are welcome.
GsiX 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 #79

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.
__________________
Now taking private request.
Steam Profile | Donation are welcome.

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 #80

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.
__________________
Now taking private request.
Steam Profile | Donation are welcome.

Last edited by GsiX; 10-19-2020 at 13:39.
GsiX 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 01:42.


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