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

Include a INC file that's in a folder


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Loll10T
Member
Join Date: Jul 2022
Old 09-14-2022 , 00:10   Include a INC file that's in a folder
Reply With Quote #1

Not sure how to explain this. I'm trying to compile the Connect Announce plugin, which requires GeoIPCity and Multi Colors include files.

The problem arises with the latter. When I try to compile, I get the following output:

Code:
SourcePawn Compiler 1.10
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC

extra/multicolors.inc(8) : fatal error 183: cannot read from file: "multicolors/morecolors"

Compilation aborted.
1 Error.
How can I fix this? kek
Loll10T is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 09-14-2022 , 01:08   Re: Include a INC file that's in a folder
Reply With Quote #2

Quote:
Originally Posted by Loll10T View Post
Not sure how to explain this. I'm trying to compile the Connect Announce plugin, which requires GeoIPCity and Multi Colors include files.

The problem arises with the latter. When I try to compile, I get the following output:

Code:
SourcePawn Compiler 1.10
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2018 AlliedModders LLC

extra/multicolors.inc(8) : fatal error 183: cannot read from file: "multicolors/morecolors"

Compilation aborted.
1 Error.
How can I fix this? kek
it means you are missing an include files, which u can get this one from here > Multicolors

place the muticolors folder inside this directory > "addons/sourcemod/scripting/include/"

look at png picture I uploaded
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	36
Size:	92.0 KB
ID:	196832  
__________________

Last edited by alasfourom; 09-14-2022 at 01:10. Reason: uploaded a png picture
alasfourom is offline
Loll10T
Member
Join Date: Jul 2022
Old 09-14-2022 , 01:25   Re: Include a INC file that's in a folder
Reply With Quote #3

I know that. The problem is that I'm trying to compile it via the Spider compiler. If it IS possible, how can I include the folder? I've included Multi Colors and More Colors but I still get the same error.
Loll10T is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 09-14-2022 , 01:40   Re: Include a INC file that's in a folder
Reply With Quote #4

The actual script "Connect Announce" need to read the inc file.

So once u download the inc file, just compile the script with "compile.exe" located in the scripts folder by dragging the sp file into it.

I dont know about Spider compiler, but u can use "compile.exe", u can also use "SpedIt" here, with it, you can download the inc file and drag it inside this application, so it can compile anything using that inc

* by the way, the sp file should be first be located inside the scripts folder, then drag it to the compile.exe which also located in the same directory
__________________

Last edited by alasfourom; 09-14-2022 at 01:52.
alasfourom is offline
oqyh
Senior Member
Join Date: May 2019
Location: United Arab Emirates
Old 09-14-2022 , 07:57   Re: Include a INC file that's in a folder
Reply With Quote #5

Quote:
Originally Posted by Loll10T View Post
I know that. The problem is that I'm trying to compile it via the Spider compiler. If it IS possible, how can I include the folder? I've included Multi Colors and More Colors but I still get the same error.
just add in Spider

#include <multicolors>

and upload include files
vvvvvvvvvvvvvvv
multicolors.inc
colors.inc
morecolors.inc


but edit whats inside multicolors.inc

From

Code:
#include <multicolors/morecolors>
#include <multicolors/colors>

To


Code:
#include <morecolors>
#include <colors>
__________________
.:[ >> My Plugins << ]:.

My discord : oqyh
oqyh 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 05:05.


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