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

VSH Compiling problems?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Heatheria
Junior Member
Join Date: Jun 2020
Old 06-24-2020 , 07:56   Compiling problems?
Reply With Quote #1

After finally sorting through 26+ compiling errors, I narrowed it down to one that seems to be related to the Steamtools.inc but for the life of me, I can't figure out what could possibly be the solution? it compiled initially, but all subsequent compiles error'd out with this error message.
PHP Code:
C:\Users\----\Desktop\sourcemod-1.10.0-git6488-windows\addons\sourcemod\scripting\include\steamtools.inc(270) : fatal error 196deprecated syntaxsee https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Typedefs 
I looked at the line that causes the error and nothing seems out of the ordinary at least to my inexperienced eyes and even acquiring the latest steamtools.inc doesn't seem to solve the issue.
The link provided in the error doesn't really clue me into the issue as i'm really not that much of a programmer so I don't quite get what's going on there

Last edited by Heatheria; 06-24-2020 at 07:57.
Heatheria is offline
WhiteFalcon
Member
Join Date: Nov 2019
Old 06-24-2020 , 08:52   Re: Compiling problems?
Reply With Quote #2

Remove #pragma newdecls required in main source code if you dont want to update steamtools.inc to the newest syntax

Last edited by WhiteFalcon; 06-24-2020 at 08:53.
WhiteFalcon is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 06-24-2020 , 12:39   Re: Compiling problems?
Reply With Quote #3

Quote:
Originally Posted by WhiteFalcon View Post
Remove #pragma newdecls required in main source code if you dont want to update steamtools.inc to the newest syntax
funcenum and functag (the keywords that are causing the errors) are completely removed and newdecls won't change anything with that.

You need an updated version of the include file. I recommend checking out this. The morecolors include might break, just an FYI. You can probably just skip that one.
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired

Last edited by Scag; 06-24-2020 at 12:42.
Scag is offline
WhiteFalcon
Member
Join Date: Nov 2019
Old 06-24-2020 , 14:29   Re: Compiling problems?
Reply With Quote #4

Quote:
Originally Posted by Ragenewb View Post
funcenum and functag (the keywords that are causing the errors) are completely removed and newdecls won't change anything with that.

You need an updated version of the include file. I recommend checking out this. The morecolors include might break, just an FYI. You can probably just skip that one.
oh yeah, haven't really read that include at all
thanks for noticing.
WhiteFalcon is offline
Heatheria
Junior Member
Join Date: Jun 2020
Old 06-25-2020 , 09:52   Re: Compiling problems?
Reply With Quote #5

Now i'm running into a new type of error that i'm still confused by
PHP Code:
saxtonhale.sp(1996) : error 017undefined symbol "CPrintToChatAll" 
there's 26 errors of these all around stuff like "CPrintToChat" "CReplyToCommand"
Heatheria is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 06-25-2020 , 12:24   Re: Compiling problems?
Reply With Quote #6

Quote:
Originally Posted by Heatheria View Post
Now i'm running into a new type of error that i'm still confused by
PHP Code:
saxtonhale.sp(1996) : error 017undefined symbol "CPrintToChatAll" 
there's 26 errors of these all around stuff like "CPrintToChat" "CReplyToCommand"
Quote:
The morecolors include might break, just an FYI. You can probably just skip that one.
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired
Scag is offline
Heatheria
Junior Member
Join Date: Jun 2020
Old 06-25-2020 , 13:22   Re: Compiling problems?
Reply With Quote #7

how would I go about skipping it? just removing the Pragma line for it? or just not having morecolors in the inclusions?
Heatheria is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 06-27-2020 , 22:59   Re: Compiling problems?
Reply With Quote #8

Use the old include file that you already had previously.
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired
Scag is offline
Heatheria
Junior Member
Join Date: Jun 2020
Old 06-28-2020 , 06:31   Re: Compiling problems?
Reply With Quote #9

It's compiling! Thank you for your help <3
tho there's one warning that is concerning
saxtonhale.sp(749) : warning 204: symbol is assigned a value that is never used: "cvarCanBossRTD"
since the server I run prevents hale from rtd'ing, is this something to worry about?
Heatheria is offline
NoloZero01
Member
Join Date: May 2020
Location: Async Research Institute
Old 06-28-2020 , 07:24   Re: Compiling problems?
Reply With Quote #10

rtd include file is optional during compilation. If you want to utilize that ConVar, you need to place rtd.inc to your include folder and recompile VSH.
NoloZero01 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:49.


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