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

[TF2] Projectiles Fix


Post New Thread Reply   
 
Thread Tools Display Modes
Root_
Veteran Member
Join Date: Jan 2012
Location: ryssland
Old 08-18-2013 , 04:53   Re: [TF2] Projectiles Fix
Reply With Quote #11

Thanks for info StrikerMan780, but its wont work. Try to throw cleaver from long distance, it will collide with team mate...
__________________


dodsplugins.com - Plugins and Resources for Day of Defeat
http://twitch.tv/zadroot
Root_ is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 08-18-2013 , 18:58   Re: [TF2] Projectiles Fix
Reply With Quote #12

definitely using this plugin, i luve u root <3
__________________
nergal is offline
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 08-24-2013 , 22:42   Re: [TF2] Projectiles Fix
Reply With Quote #13

Quote:
Originally Posted by Root_ View Post
Thanks for info StrikerMan780, but its wont work. Try to throw cleaver from long distance, it will collide with team mate...
No it won't. The cleaver has a natural limited range, and will disappear regardless of that script.

Also, mind posting your version of the code? I'll let you know if you're messing something up.

Last edited by StrikerMan780; 08-24-2013 at 23:00.
StrikerMan780 is offline
AI_
Member
Join Date: Oct 2014
Location: Canada
Old 07-27-2018 , 12:32   Re: [TF2] Projectiles Fix
Reply With Quote #14

This plugin causes a segfault due to line 265 when an entity has fewer than 14 characters:

Code:
if (HookProjectiles && GetTrieValue(ProjectilesTrie, classname[14], projectile))
The fix was to add a string length test:
Code:
if (HookProjectiles && strlen(classname) > 14 && GetTrieValue(ProjectilesTrie, classname[14], projectile))
Thanks Kinsi and asherkin for helping with the debug.
__________________

Last edited by AI_; 07-27-2018 at 12:40.
AI_ 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 10:40.


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