View Single Post
trbz_
Junior Member
Join Date: May 2018
Old 08-03-2019 , 22:51   Re: [TF2] Custom Weapons 3 (Beta 2)
Reply With Quote #212

It imports functions and sourcemod event detection from other .inc files in the "include" folder. Most of an attribute plugin just consists of technical stuff, you've really gotta read through the entire thing to see how it's working.

I've gotten far enough where I can understand most of what orion.sp is doing, but I've been unable to create anything because it's giving me compiling errors even without any changes to the original file.

Code:
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\include\cw3-attributes.inc(144) : error 017: undefined symbol "GetClientSlot"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\include\cw3-attributes.inc(190) : error 017: undefined symbol "GetClientSlot"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\include\cw3-attributes.inc(236) : error 017: undefined symbol "GetClientSlot"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(1293) : error 017: undefined symbol "IfDoNextTime2"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(2907) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3334) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3510) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3883) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3893) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
// C:\Users\Ethan\Desktop\steamcmd\tf2\tf\addons\sourcemod\scripting\orion.sp(3941) : error 017: undefined symbol "TF_DMG_PREVENT_PHYSICS_FORCE"
I have every #include required, I'm not sure why it's giving me undefined symbol errors.

Last edited by trbz_; 08-03-2019 at 22:53.
trbz_ is offline