AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Compiler problem (https://forums.alliedmods.net/showthread.php?t=229606)

wiwi249 11-10-2013 15:47

Compiler problem
 
Hello guys!
I've just made a code for a game mode for my server. I'm a beginner programmer. I havent seen thing such like that - my code doesnt compile. And it's not about the errors :nono: In compile.exe it looks like it's loading but... without end! My processor usage goes to 100% and CPU to 50. And the plugin doesnt compile at all - without any errors or stuff.
Same thing about online compiler - doesnt compile and then it times out.
Anyone has an idea why it occurs? I havent waited too long (more than minute for 1000-lines code to compile is long enough i think) because I was afraid of my computer...
Regs.

wickedd 11-10-2013 15:59

Re: Compiler problem
 
Without the code we can't help you.

wiwi249 11-10-2013 16:37

Re: Compiler problem
 
1 Attachment(s)
Yeah, that's what I thought
My code is kinda f*cked up, as I'm begineer...

Attachment.
Any recommendations will be nice, because i know that someone will complain about the way it's coded...

fysiks 11-11-2013 11:23

Re: Compiler problem
 
Quote:

Originally Posted by wiwi249 (Post 2059383)
My code is kinda f*cked up

You are correct. It seems you tried to write the whole thing without compiling it at each step.

Start commenting things out and trying to compile. You will find that there are hundreds of errors in your code.

wiwi249 11-11-2013 11:45

Re: Compiler problem
 
It's okay, but as for a 1000-line code I expected something more like errors than just loading plugin without end.
I'm pretty sure it's not so bad, but... ;p


All times are GMT -4. The time now is 23:17.

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