SA-MP Forums Archive
[help]compiling doesnt ended - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help]compiling doesnt ended (/showthread.php?tid=255080)



[help]compiling doesnt ended - Tama - 14.05.2011

i add this to my GM :
pawn Код:
#include <a_samp> // Credits to the SA:MP Developement Team
#include <streamer> // Credits to Incognito
#include <dini> // Credits to dracoblue
#include <dudb> // Credits to dracoblue
#include <sscanf2> // Credits to ******
when i compile it i found an error..
this is the error :

the compiling wasn't complete and the .amx filesize is 0kb..
look at my pointer (the pointer like MS word when you want to type something)
sorry bad english..


Re: [help]compiling doesnt ended - Markx - 14.05.2011

You have to wait some time, if you got much lines


Re: [help]compiling doesnt ended - Tama - 14.05.2011

just 22410 lines on my GM..
when i do not add the code on my GM, im compile it for 1minutes..
and now , im waiting over 35minutes..



Re: [help]compiling doesnt ended - Markx - 14.05.2011

Quote:
Originally Posted by Tama
Посмотреть сообщение
just 22410 lines on my GM..
when i do not add the code on my GM, im compile it for 1minutes..
and now , im waiting over 35minutes..
What a lie... I got 33k and it compiles in 40 sec..


Re: [help]compiling doesnt ended - Tama - 14.05.2011

Quote:
Originally Posted by Markx
Посмотреть сообщение
What a lie... I got 33k and it compiles in 40 sec..
lie? -,-


Re: [help]compiling doesnt ended - iggy1 - 14.05.2011

Quote:
Originally Posted by Markx
Посмотреть сообщение
What a lie... I got 33k and it compiles in 40 sec..
It doesn't matter how long it takes on your system markx, for all you know he has 20mb of ram, and a pentium 1 motherboard (not saying he has). And my files that have over 30k lines compiles in a few seconds nowhere near 40.

@ Tama do you have any macros in your code? They can often cause this problem if written wrong.


Re: [help]compiling doesnt ended - Tama - 14.05.2011

Quote:
Originally Posted by iggy1
Посмотреть сообщение
It doesn't matter how long it takes on your system markx, for all you know he has 20mb of ram, and a pentium 1 motherboard (not saying he has). And my files that have over 30k lines compiles in a few seconds nowhere near 40.

@ Tama do you have any macros in your code? They can often cause this problem if written wrong.
yes yes i use some macros :
pawn Код:
//==============================================================================
//                              Macros
//==============================================================================
#undef MAX_PLAYERS
#define MAX_PLAYERS 500 // Change it to the amount of server slots!!
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
new FALSE = false, CMDSString[1000];
#define ShowInfoBox(%0,%1,%2,%3) do{format(CMDSString, 1000, %2, %3); ShowPlayerDialog(%0, HOUSEMENU-1, DIALOG_STYLE_MSGBOX, %1, CMDSString, "Ok", "Close");}while(FALSE)
#define SendMSG(%0,%1,%2,%3,%4) do{new _str[%2]; format(_str,%2,%3,%4); SendClientMessage(%0,%1,_str);}while(FALSE)
#define SendAllMSG(%0,%1,%2,%3) do{new _str[%1]; format(_str,%1,%2,%3); SendClientMessageToAll(%0,_str);}while(FALSE)
#define INVALID_CMD_MSG "Invalid Command. Use /cmds For A List Of Commands."
#define Loop(%0,%1) for(new %0 = 0; %0 < %1; %0++)
#define LoopEx(%0,%1,%2) for(new %0 = %1; %0 < %2; %0++)
i hope you can help me


Re: [help]compiling doesnt ended - Markx - 14.05.2011

Quote:
Originally Posted by iggy1
Посмотреть сообщение
It doesn't matter how long it takes on your system markx, for all you know he has 20mb of ram, and a pentium 1 motherboard (not saying he has). And my files that have over 30k lines compiles in a few seconds nowhere near 40.

@ Tama do you have any macros in your code? They can often cause this problem if written wrong.
Yeah, my PC is shit, lol. Atleast i got Dual-Core that may speed it up i guess