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

Need help with compileing my sp plugin.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jackkkk
Junior Member
Join Date: Jun 2020
Location: Sweden
Old 06-10-2020 , 13:21   Need help with compileing my sp plugin.
Reply With Quote #1

So when i compile my sp plugin i get this erorr " fatal error 183: cannot read from file: "scouremod" Does anyone know what im doing wrong or what i should do to fix this?

Help is greatly appreciated!
Jackkkk is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 06-10-2020 , 14:30   Re: Need help with compileing my sp plugin.
Reply With Quote #2

Quote:
Originally Posted by Jackkkk View Post
So when i compile my sp plugin i get this erorr " fatal error 183: cannot read from file: "scouremod" Does anyone know what im doing wrong or what i should do to fix this?

Help is greatly appreciated!
To begin with, you are in the wrong area of ​​the forum here is amxmodx not sourcemod, and with that we get into another question is "sourcemod" not "scouremod".
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-10-2020 , 18:25   Re: Need help with compileing my sp plugin.
Reply With Quote #3

Moved to SM
__________________
Bugsy is offline
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Old 06-10-2020 , 18:37   Re: Need help with compileing my sp plugin.
Reply With Quote #4

Just add above your code the line:
PHP Code:
#include <sourcemod> 
__________________
Taking small private requests (Free) and big private requests (Paid).
Contact me via Discord: WilDick#1524

My Plugins:
SSheriFF is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 06-12-2020 , 05:24   Re: Need help with compileing my sp plugin.
Reply With Quote #5

Make sure to run the compiler next to the "include" folder. Easiest would be to just extract the scripting folder of the sourcemod release and run the compiler in that folder.

PHP Code:
#include <sourcemod> 
is optional since it's included by default.
__________________
Peace-Maker is offline
Jackkkk
Junior Member
Join Date: Jun 2020
Location: Sweden
Old 06-12-2020 , 08:33   Re: Need help with compileing my sp plugin.
Reply With Quote #6

so i changed it and then i got new errors:

error 107: cannot call methods on a function
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 190: too many error messages on one line

Do you know how to fix this?

I get these errors every time im compiling an sp at spedit. I even tried to use sps that i found here at alliedmodders and i still got the same errors.

Please help!
Jackkkk is offline
UeberDaniel
AlliedModders Donor
Join Date: Dec 2009
Location: Germany
Old 06-12-2020 , 15:01   Re: Need help with compileing my sp plugin.
Reply With Quote #7

This errors are all written by yourself. Just look at the given code line in the error message and fix it yourself. This messages are self-explanatory( error 001: expected token: ";", but found ")" ).
__________________


Last edited by UeberDaniel; 06-12-2020 at 15:03.
UeberDaniel is offline
Send a message via MSN to UeberDaniel
Jackkkk
Junior Member
Join Date: Jun 2020
Location: Sweden
Old 06-13-2020 , 06:00   Re: Need help with compileing my sp plugin.
Reply With Quote #8

okay, but why do i get these errors even when im trying to compile done sp's that i've found here at alliedmodders?
Jackkkk is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 06-13-2020 , 06:04   Re: Need help with compileing my sp plugin.
Reply With Quote #9

Please post the full output of spcomp including the compiler version you're using and a link to the plugin you're trying to compile.

You might mix different include versions with different compiler versions or the plugin just doesn't compile on newer/older compilers.
__________________
Peace-Maker is offline
Jackkkk
Junior Member
Join Date: Jun 2020
Location: Sweden
Old 06-13-2020 , 06:51   Re: Need help with compileing my sp plugin.
Reply With Quote #10

im compiling through spedit and my program version is up to date (version 1.2.0.3)

And this is my plugin (keep in mind that im new to all of this):

If anyone got some time to help me and is willing to, here is my discord for faster response (keep in mind that im new to scourepawn): Jackk#0180
Attached Files
File Type: sp Get Plugin or Get Source (vipjack.sp - 49 views - 800 Bytes)

Last edited by Jackkkk; 06-13-2020 at 13:50.
Jackkkk 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 20:14.


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