compiling error.
I got a compiling error,
//AMXXPC compile.exe // by the AMX Mod X Dev Team //// sh_monitor.sma // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(199) : error 070 : rational number support was not enabled // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(307) : error 017 : undefined symbol "set_task" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : error 017 : undefined symbol "get_cvar_num" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(449) : error 017 : undefined symbol "get_user_name" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(450) : error 017 : undefined symbol "get_user_authid" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(451) : error 017 : undefined symbol "get_user_userid" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(452) : error 017 : undefined symbol "format" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(455) : error 017 : undefined symbol "copy" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(458 ) : error 017 : undefined symbol "strlen" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(464) : error 017 : undefined symbol "format" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(465) : error 017 : undefined symbol "server_print" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(466) : error 017 : undefined symbol "log_message" // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(142) : error 017: undefine d symbol "register_plugin" // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(145) : error 017: undefine d symbol "register_event" // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(149) : error 017: undefine d symbol "register_event" // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(157) : error 017: undefine d symbol "CreateHudSyncObj" // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(159) : error 017: undefine d symbol "engfunc" // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(162) : error 017: undefine d symbol "set_pev" // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(162) : warning 215: expres sion has no effect // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(162) : error 001: expected token: ";", but found ")" // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(162) : error 029: invalid expression, assumed zero // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(162) : fatal error 107: to o many error messages on one line // // Compilation aborted. // 21 Errors. // Could not locate output file compiled\sh_monitor.amx (compile failed). // // Compilation Time: 0,03 sec // ---------------------------------------- Press enter to exit ... Know anything about this? |
Re: compiling error.
No one can't help if you don't post .sma
|
Re: compiling error.
Don't create 2 threads with the same problem ...
This should fix your problem: PHP Code:
|
Re: compiling error.
Now i got this, and sorry for posting twice, but i couldnt get help on the other one:
//AMXXPC compile.exe // by the AMX Mod X Dev Team //// sh_monitor.sma // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(199) : error 025 : function heading differs from prototype // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(307) : error 088 : number of arguments does not match definition // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : error 017 : undefined symbol "get_cvar_num" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : warning 2 15: expression has no effect // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : error 001 : expected token: ";", but found ")" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : error 029 : invalid expression, assumed zero // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : fatal err or 107: too many error messages on one line // // Compilation aborted. // 6 Errors. // Could not locate output file compiled\sh_monitor.amx (compile failed). // // Compilation Time: 0,06 sec // ---------------------------------------- Press enter to exit ... Know what to do? |
Re: compiling error.
Quote:
|
Re: compiling error.
I did clear the .sma file and pasted your code then that came up...
//AMXXPC compile.exe // by the AMX Mod X Dev Team //// sh_monitor.sma // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(199) : error 025 : function heading differs from prototype // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(307) : error 088 : number of arguments does not match definition // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : error 017 : undefined symbol "get_cvar_num" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : warning 2 15: expression has no effect // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : error 001 : expected token: ";", but found ")" // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : error 029 : invalid expression, assumed zero // C:\Users\Shahruh10\Desktop\compiler\include\s uperheromod.inc(442) : fatal err or 107: too many error messages on one line // // Compilation aborted. // 6 Errors. // Could not locate output file compiled\sh_monitor.amx (compile failed). // // Compilation Time: 0,06 sec // ---------------------------------------- Press enter to exit ... |
Re: compiling error.
Quote:
|
Re: compiling error.
I haven't paste the code into superheromod.inc... i just pasted the code into the .sma file.
|
Re: compiling error.
Quote:
Quote:
|
Re: compiling error.
Can you give me your superheromod.inc file? let me try with that one...
|
Re: compiling error.
Quote:
Just download it from the super hero mod thread. |
Re: compiling error.
I can't compile it still... i got warnings this time:
//AMXXPC compile.exe // by the AMX Mod X Dev Team //// sh_monitor.sma // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(160) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(160) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(163) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(164) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(238) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(238) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(276) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(284) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(325) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(336) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(337) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(341) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(345) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(345) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(345) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(345) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(345) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(345) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(345) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(345) : warning 213: tag mi smatch // C:\Users\Shahruh10\Desktop\compiler\sh_monito r.sma(353) : warning 213: tag mi smatch // Header size: 1304 bytes // Code size: 4384 bytes // Data size: 2324 bytes // Stack/heap size: 16384 bytes; estimated max. usage=50 cells (200 bytes) // Total requirements: 24396 bytes // // 21 Warnings. // Done. // // Compilation Time: 0,45 sec // ---------------------------------------- Press enter to exit ... You know what? |
Re: compiling error.
1 Attachment(s)
Take .amxx, it should work.
|
Re: compiling error.
None of those warnings affect how the plugin runs.
|
Re: compiling error.
Quote:
|
All times are GMT -4. The time now is 15:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.