AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Internal Source Compiler error (https://forums.alliedmods.net/showthread.php?t=341070)

Blinx 12-27-2022 17:12

Internal Source Compiler error
 
Hello, I'm getting an Internal Error when trying to compile any plugin, this randomly started happening after nothing in particular as far as I'm aware. Reinstalling the latest Sourcemod did not fix this, any ideas on what's causing this? Thanks.

Marttt 12-27-2022 17:59

Re: Internal Source Compiler error
 
Share the log error message and the plugin .sp file/thread link if possible

Blinx 12-27-2022 18:44

Re: Internal Source Compiler error
 
PHP Code:

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// PreventPhlogTauntWhileStunned.sp
// Internal error.

Press enter to exit ... 

This is happening with every plugin I try when I never had it before so I don't think it's plugin specific.

Grey83 12-28-2022 09:06

Re: Internal Source Compiler error
 
Blinx, Is there a "compiled" folder next to the compiler (or its shortcut if plugins are compiled by dragging sources onto the shortcut)?
Are you using Windows or Linux to compile?

Blinx 12-28-2022 13:44

Re: Internal Source Compiler error
 
Compiled folder still exists.
Using Windows.

Bacardi 12-29-2022 05:57

Re: Internal Source Compiler error
 
Could you tell, step by step. How you compile plugin ?
- Because there are Pawn editors and simple "drag & drop" source file on spcom.exe, style

Are you compiling plugin in your own PC ?
What CMD console message show when you run spcomp.exe, not using any file.

McTavish 12-29-2022 06:45

Re: Internal Source Compiler error
 
Quote:

Originally Posted by Blinx (Post 2796074)
Hello, I'm getting an Internal Error when trying to compile any plugin, this randomly started happening after nothing in particular as far as I'm aware. Reinstalling the latest Sourcemod did not fix this, any ideas on what's causing this? Thanks.

There could be several reasons why you're encountering an Internal Error when trying to compile a plugin for Counter-Strike 1.6. Here are a few things you can try to troubleshoot the issue:

1 - Make sure you have the latest version of the SourceMod compiler installed on your system. If you're using an older version, it might not be able to handle the syntax or features of the plugin you're trying to compile.

2 - Check if you have any syntax errors in your plugin code. The Internal Error message can be caused by syntax mistakes in the plugin source code, such as missing brackets or incorrect variable names.

3 - Make sure that you have the required dependencies installed on your system. Some plugins may require additional libraries or include files in order to be compiled properly.

4 - Check if you have any other SourceMod plugins installed that could be causing conflicts with the plugin you're trying to compile. It's possible that one of the other plugins is causing the Internal Error message to be displayed.

Blinx 12-29-2022 09:06

Re: Internal Source Compiler error
 
Quote:

Originally Posted by Bacardi (Post 2796164)
Could you tell, step by step. How you compile plugin ?
- Because there are Pawn editors and simple "drag & drop" source file on spcom.exe, style

Are you compiling plugin in your own PC ?
What CMD console message show when you run spcomp.exe, not using any file.

I compile with opening then up with the compile program "SPCOMP compile.exe"
I'm compiling on my own PC.
If I just open compile with no file, I get this message:

PHP Code:

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// admin-sql-prefetch.sp
// Internal error.

Press enter to exit ... 

If I open spcomp or spcomp64 I get no output at all.

Bacardi 12-29-2022 12:13

Re: Internal Source Compiler error
 
Are you using this ???
https://github.com/spiretf/spcomp


*edit
In scripting folder there is spcomp.exe. Drag and drop one plugin source file, top of it.
You should get *.smx file into "compiled" folder

*edit edit
https://wiki.alliedmods.net/Compiling_SourceMod_Plugins

Maybe you need:
Code:

spcomp pluginfilename.sp

Blinx 12-29-2022 12:41

Re: Internal Source Compiler error
 
Quote:

Originally Posted by Bacardi (Post 2796183)
Are you using this ???
https://github.com/spiretf/spcomp


*edit
In scripting folder there is spcomp.exe. Drag and drop one plugin source file, top of it.
You should get *.smx file into "compiled" folder

*edit edit
https://wiki.alliedmods.net/Compiling_SourceMod_Plugins

Maybe you need:
Code:

spcomp pluginfilename.sp

No I'm not using that. There's 3 compilers in the folder it seems, compile, spcomp and spcomp64. I've only ever used the standard compile executable, and it's always worked fine, then suddenly it started giving an Internal Error.


All times are GMT -4. The time now is 21:02.

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