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

Sourcemod Local Compiler Broken


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Steveh
Member
Join Date: Oct 2010
Old 10-24-2010 , 16:52   Sourcemod Local Compiler Broken
Reply With Quote #1

Hello, Recently after I upgraded my server's Sourcemod package to 1.3.5, I have been having a problem with my local compiler.

When I double click compile.exe It always returns Internal Error. I have tried a command prompt for the spcomp.exe to compile my .sp files, but that also says Internal Error. I have re-downloaded Sourcemod and Metamod from the official sites and I am still having the same error. The Online Compiler works fine but I am wanting to compile a plugin that uses the '#include <example.sp>' command.

Steveh.
Steveh is offline
Steveh
Member
Join Date: Oct 2010
Old 10-25-2010 , 16:51   Re: Sourcemod Local Compiler Broken
Reply With Quote #2

I still don't have a solution to this problem, However, I have found what spcomp actually says: "(0) Cannot read from file: "Steveh-InstaSpawn.sp" "

I have also downloaded 1.3.4 Snapshots and they also dont work for me.

Steveh
Steveh is offline
Sniper214
SourceMod Donor
Join Date: Jul 2008
Location: Canby, OR USA
Old 10-25-2010 , 17:18   Re: Sourcemod Local Compiler Broken
Reply With Quote #3

If you just double click compile.exe inside the scripts folder it will compile all scripts inside that folder. I'm not sure you know that, but one of your scripts may be having a problem compiling. Try just one, drag that script onto compile.exe and see what happens.

Oh and I did forget to add that it does indeed work.

Last edited by Sniper214; 10-25-2010 at 18:27.
Sniper214 is offline
Steveh
Member
Join Date: Oct 2010
Old 10-26-2010 , 12:54   Re: Sourcemod Local Compiler Broken
Reply With Quote #4

Yes I do know that compile.exe will compile all .sp files in the current folder, however I found out what the problem actually is. It is one of my sp files. There's nothing wrong with the compiler, as I compiled another plugin of mine with it.
Can I ask you a question?

Im still new to Source pawn coding but how do you correctly use the '#include "files/addtime.sp" ?
I know it includes other sp files and I have looked at the example in the scripting folder (funcommands.sp) but my compiler just cant seem to compile it. It always says Internal Error, and I have the files in the correct place, am I missing anything out?

PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#include <adminmenu>
#include <tf2>
#include <tf2_stocks>
#include <entity>

#include "include/addtime.sp"
#include "include/admincheats.sp"
#include "include/adminsmite.sp"
#include "include/advertisements.sp"
#include "include/dissolve.sp"
#include "include/god.sp"
#include "include/waitingforplayers.sp"
#include "include/propdance.sp"
#include "include/pumpkin.sp"
#include "include/tripmines.sp"
#include "include/steveh_core.sp"
#include "include/diceroll.sp"
#include "include/ctf_powerplay_boost.sp"

#define PLUGIN_VERSION "1.0"
#define SOUND_THUNDER "ambient/explosions/explode_9.wav"
#define CVAR_DISABLED "OFF"
#define CVAR_ENABLED  "ON"
#define CVAR_DANCE                0
#define CVAR_MESSAGE            1
#define NUM_CVARS                2
#define TRACE_START 24.0
#define TRACE_END 64.0
#define MDL_LASER "sprites/laser.vmt" 
I would paste more but I don't know if these forums have a character limit.

Thanks for your reply,
Steveh
Steveh 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 17:54.


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