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

Help Compiling .sp to .smx


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OG Link
Junior Member
Join Date: Sep 2020
Old 09-03-2020 , 17:29   Help Compiling .sp to .smx
Reply With Quote #1

Hi OG Link here, I could use some help tf2 is a bit different then other programs I have worked with can someone help me understand why I can't compile this new vipmenu I had made by a old tf2 friend and now he can't help fix it idk where he is its been weeks anyway I try to compile the .sp to .smx and i get

vipmenu.sp : fatal error 183: cannot read from file: "multicolors"

I don't understand what the issue is I tried researching the issue and only found something about adding multicolors.inc to my cfg but idk what that means and im just editing it on my desktop so Im kinda confused any advice and help would be great thank you
OG Link is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 09-04-2020 , 04:10   Re: Help Compiling .sp to .smx
Reply With Quote #2

1. find multicolors.inc file.
2. put it in your /sourcemod/scripting/include directory
3. try to compile your plugin.

Some plugin authors include bits of code from other authors. To do that their code will include a dependency on the the other authors work. You can tell when this occurs by looking at the top of the plugin code. It will say something like: #include <multicolors>

When you try to compile the plugin it will look in the /scripting/include directory for a file called multicolors.inc

I hope this helps....
PC Gamer is offline
OG Link
Junior Member
Join Date: Sep 2020
Old 09-04-2020 , 13:34   Re: Help Compiling .sp to .smx
Reply With Quote #3

Quote:
Originally Posted by PC Gamer View Post
1. find multicolors.inc file.
2. put it in your /sourcemod/scripting/include directory
3. try to compile your plugin.

Some plugin authors include bits of code from other authors. To do that their code will include a dependency on the the other authors work. You can tell when this occurs by looking at the top of the plugin code. It will say something like: #include <multicolors>

When you try to compile the plugin it will look in the /scripting/include directory for a file called multicolors.inc

I hope this helps....
OHH Are you saying this has to be compiled inside my sourcemods folder I am just editing the file it self on my desktop.
OG Link is offline
awyx
Member
Join Date: Mar 2019
Old 09-04-2020 , 13:51   Re: Help Compiling .sp to .smx
Reply With Quote #4

Yes, download sourcemod, and use scripting folder I suppose (you dont need the other folders for compiling I think), that how I usually do it.
Put your plugin in scripting/, and the multicolors include goes to scripting/include/.
Then compile it
__________________
Segmentation fault (core dumped)
https://steamcommunity.com/id/sleepiest/
roby#0577
awyx is offline
OG Link
Junior Member
Join Date: Sep 2020
Old 09-04-2020 , 13:53   Re: Help Compiling .sp to .smx
Reply With Quote #5

Quote:
Originally Posted by awyx View Post
Yes, download sourcemod, and use scripting folder I suppose (you dont need the other folders for compiling I think), that how I usually do it.
Put your plugin in scripting/, and the multicolors include goes to scripting/include/.
Then compile it
Haha I didn't know that Lol I feel dumb Okay thank you so much!
OG Link is offline
OG Link
Junior Member
Join Date: Sep 2020
Old 09-04-2020 , 15:07   Re: Help Compiling .sp to .smx
Reply With Quote #6

Not sure What I Am doing wrong But I can't get it working still I added it to scripting and have sourcemod copy from my server working with multicolors in include correctly and it still is saying same error?
OG Link is offline
OG Link
Junior Member
Join Date: Sep 2020
Old 09-04-2020 , 16:03   Re: Help Compiling .sp to .smx
Reply With Quote #7

NVM Figured it out
Edit: You gotta edit the files in sourcemods>scripting folder it self also and have all extensions in sourcemod as well

Last edited by OG Link; 09-05-2020 at 15:30.
OG Link is offline
Reply



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 18:41.


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