Raised This Month: $ Target: $400
 0% 

sth about amxx_ejl_missiles.sma


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
breaddawson
Senior Member
Join Date: Jul 2004
Location: Beijing,China
Old 09-24-2004 , 13:55   sth about amxx_ejl_missiles.sma
Reply With Quote #1

yes,i know the thread about this plugin had been moved to Trash
i use the Search button and found it there

but ,i just want to use this plugin with AMX X 0.2
so i pick it up,then compile it with the new compiler the 0.2 provide

then serveral errors occurs

it told me

Code:
///// amxx_ejl_missiles.sma
// D:\AMX X MOD\script\amxx_ejl_missiles.sma(276) : error 021: symbol already de
fined: "cstrike_running"
// D:\AMX X MOD\script\amxx_ejl_missiles.sma(767) : error 076: syntax error in t
he expression, or invalid function call
// D:\AMX X MOD\script\amxx_ejl_missiles.sma(1772) : error 076: syntax error in
the expression, or invalid function call
// D:\AMX X MOD\script\amxx_ejl_missiles.sma(1966) : error 076: syntax error in
the expression, or invalid function call
// D:\AMX X MOD\script\amxx_ejl_missiles.sma(1985) : error 076: syntax error in
the expression, or invalid function call
// D:\AMX X MOD\script\amxx_ejl_missiles.sma(2500) : error 076: syntax error in
the expression, or invalid function call
// D:\AMX X MOD\script\amxx_ejl_missiles.sma(2639) : error 029: invalid expressi
on, assumed zero
//
// 7 Errors.
// Could not locate output file compiled\amxx_ejl_missiles.amx (compile failed).
i view those lines and found all the erros are about the symbol
"cstike_running"

this seems to show us if the mod is counter-strike
and i found another line in the .sma file

Code:
cstrike_running = equal(mod_name,"cstrike") ? true : false
this shows how the symbol defined

but the question is: why does the erros occur?

has the symbol already been defined in amxmodx_mm.dll??
or in the *.inc files

i searched "cstrike_running" in the inc files which were inclued by the sma file
but nothing was found

i do try to contact the author

but on his website,it wrote

Quote:
LUDWIGS PLUGINS: For Half-Life with AMXMOD and ADMINMOD



Announcement: Most of you know that I retired from making and supporting plugins some time ago. Additionally now I have decided to no longer provide the download archive of my plugins for a game I now HATE thanks to Steam. All Half-Life related files have been deleted from this server. Please do not ask me for them and NEVER EVER ask me to update to be compatible with Steam any plugins I wrote which you do happen to have. I am done, do not bother me anymore. It's over. Bye bye.


so,will u who knows how to fix these problems help me???

thx!!!
__________________
i'm bread dawson ,a chinese boy
wish u be happy~
breaddawson is offline
Send a message via ICQ to breaddawson Send a message via MSN to breaddawson
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 09-24-2004 , 17:31  
Reply With Quote #2

cstrike_running() is a stock function defined in amxmisc.inc. Maybe it's interfering. Try renaming the variable/function in the plugin.
Johnny got his gun is offline
breaddawson
Senior Member
Join Date: Jul 2004
Location: Beijing,China
Old 09-24-2004 , 22:16  
Reply With Quote #3



thank u ,jghg
i miss to find it in amxmisc.inc
so sorry for this

i changed it to cs_running
and the compiling is good

i'll then test it on the server then
__________________
i'm bread dawson ,a chinese boy
wish u be happy~
breaddawson is offline
Send a message via ICQ to breaddawson Send a message via MSN to breaddawson
ol
Senior Member
Join Date: Jul 2004
Old 09-24-2004 , 22:35  
Reply With Quote #4

hi,good job

兄弟做的好啊
ol 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:12.


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