Raised This Month: $ Target: $400
 0% 

What am I doing wrong? (Crash, code snippet included)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 05-22-2018 , 01:31   Re: What am I doing wrong? (Crash, code snippet included)
Reply With Quote #2

Ok, I've narrowed it down to the railgun code specifically. Removed the block that's fine from the first post.

I've tried to make tweaks to the railgun code, but this is what I end up with:

PHP Code:
L 05/22/2018 01:39:01: [SMCall stack trace:
L 05/22/2018 01:39:01: [SM]   [0TF2Items_GiveNamedItem
L 05
/22/2018 01:39:01: [SM]   [1Line 3275C:\Users\Striker\OneDrive\SourcePawn\Code\StrikerMod.sp::CreateQuakeRailgun
L 05
/22/2018 01:39:01: [SM]   [2Line 1654C:\Users\Striker\OneDrive\SourcePawn\Code\StrikerMod.sp::Event_PostInventoryApplication
L 05
/22/2018 01:39:01: [SM]   [4TF2_RespawnPlayer
L 05
/22/2018 01:39:01: [SM]   [5Line 2472C:\Users\Striker\OneDrive\SourcePawn\Code\StrikerMod.sp::RespawnPlayer
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> szClassname tf_weapon_shotgun
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> iItemDefinitionIndex 415
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> iEntityQuality 9
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> iEntityLevel 99
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 15
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 0.000000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 275
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 1.000000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 106
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 0.000000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 308
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 1.000000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 45
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 0.100000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 5
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 1.750000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 309
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 1.000000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 389
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 1.000000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 266
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 1.000000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 305
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 1.000000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [TF2ITEMS] >>> iAttributeDefinitionIndex 178
L 05
/22/2018 01:39:01: [TF2ITEMS] >>> flValue 0.320000
L 05
/22/2018 01:39:01: [TF2ITEMS] ---------------------------------------
L 05/22/2018 01:39:01: [SMException reportedItem is NULLFile a bug report if you are sure you set all the data correctly. (Try the FORCE_GENERATION flag.) 

Last edited by StrikerMan780; 05-22-2018 at 01:44.
StrikerMan780 is offline
 


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 21:00.


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