Raised This Month: $ Target: $400
 0% 

www.amxmodx.org compiler


  
 
 
Thread Tools Display Modes
Author Message
0mega
Junior Member
Join Date: Oct 2004
Old 11-01-2004 , 13:32   www.amxmodx.org compiler
#1

OMGWTFBBQ?!?!?!?!?!?!

When I try to compile something with the SITE compiler, it doesnt work...
I got 2 COMPLETELY random compiles like this:
one turned out to be f117bomb's ATAC plugin, and one turned out to be Live Match from Osiris or w/e....

How the hell, is it possible for ME putting in this plugin code... and THAT turning it into some random plugin, that could be IMPOSSIBLY made by that compiler?

and if I try to use the "upload .sma" file. It says that there was an error, but it shows NO ERRORS, does this mean something like: system has caused an error in [compile.exe] and caused it to shut down?

thus,
OMGWTFBBQ??!?!!?!

(in other words: is that compiler on the side broken? O.o)

Oh yea, this might not be about AMX MOD X itself... but still, the compiler is the same one as on the site right? And I dont see any place for a site bug report...

(this is because my OWN compiler crashed at compilation of an edited plugin, with 3 amxx versions, all 0.20, INCLUDING latest nightly build..)

here's the file I tried to compile, and it's different than the one from the site... ''modified'' to make it actually work.... but it shouldn't cause compilers to crash... right?
Attached Files
File Type: sma Get Plugin or Get Source (amx_ejl_missiles.sma - 993 views - 82.6 KB)
0mega is offline
BAILOPAN
Join Date: Jan 2004
Old 11-01-2004 , 14:11  
#2

I have purged the online compiler cache. Try again.
__________________
egg
BAILOPAN is offline
0mega
Junior Member
Join Date: Oct 2004
Old 11-01-2004 , 14:16  
#3

Welcome to the AMX Mod X 0.20-251 Compiler.
Copyright (c) 1997-2004 ITB CompuPhase, AMX Mod X Team



Read the errors above. Your plugin failed to compile. Make sure it is has the correct #includes.

Go back

This still happens
Though the download plugins error (giving me the weirdest plugins) stopped.. this still happens, and my bet is this is the same as with the AMXX 0.20 compilers, that it crashes...

I am getting crazy cuz its taking DAYS for now, and I dont manage to get it to work PROPERLY AARRRRGGHHH!!!!!
0mega is offline
BAILOPAN
Join Date: Jan 2004
Old 11-01-2004 , 14:27  
#4

If the compiler crashes on the plugin, then there is a flaw in the source code. Not our fault, sorry
__________________
egg
BAILOPAN is offline
0mega
Junior Member
Join Date: Oct 2004
Old 11-01-2004 , 14:30  
#5

:/ ok then..

But If i'm right only a few things got commented instead of uncommented... so that could cause it?
0mega is offline
BAILOPAN
Join Date: Jan 2004
Old 11-01-2004 , 14:39  
#6

It depends on what was changed.
__________________
egg
BAILOPAN is offline
0mega
Junior Member
Join Date: Oct 2004
Old 11-01-2004 , 14:53  
#7

Well I could not really post the whole plugin data on here... cuz that would take too much, but i'll post the changes:

NOTE that, this skips much of the code so it is most likely that the parts are not directly next to eachother in the code itself.
ALL Edits will be specified with {info} BEHIND the line

Code:
	set_task(0.1,"RocketThink",30500,"",0,"b")

	gmsgDeathMsg = get_user_msgid("DeathMsg")
	//gmsgScoreInfo = get_user_msgid("ScoreInfo"){The //}

		}
			else {
				tkcount[attacker] += 1
				client_print(attacker,print_center,"You killed a teammate")
				set_user_frags(attacker,get_user_frags(attacker) - 1 )
			}

			set_msg_block(gmsgDeathMsg,BLOCK_ONCE)
			//set_msg_block(gmsgScoreInfo,BLOCK_ONCE){the //}



public replace_dm(id,tid,tbody) {

	//Update killers scorboard with new info
	//message_begin(MSG_ALL,gmsgScoreInfo)
	//write_byte(id)
	//write_short(get_user_frags(id))
	//write_short(get_user_deaths(id))
	//write_short(0)
	//write_short(get_user_team(id))
	//message_end()

	//Update victims scoreboard with correct info
	//message_begin(MSG_ALL,gmsgScoreInfo)
	//write_byte(tid)
	//write_short(get_user_frags(tid))
	//write_short(get_user_deaths(tid))
	//write_short(0)
	//write_short(get_user_team(tid))
	//message_end() { ALL THE // after the Update Killers score}}
thats about it lol.

So basically, everything that contained Scoreinfo was removed because that caused the crash when I killed someone with missiles in that plugin.
0mega is offline
Kamikaze
Senior Member
Join Date: Mar 2004
Location: Butler, PA
Old 11-01-2004 , 16:10  
#8

How about compiling on your own machine, it's really not hard, there's a compile.exe file for Windows or on Linux you run the compile in the shell, that's all.
Kamikaze is offline
Send a message via ICQ to Kamikaze Send a message via AIM to Kamikaze Send a message via MSN to Kamikaze Send a message via Yahoo to Kamikaze
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 11-01-2004 , 18:06  
#9

Wow, it crashes my compiler too..

Quote:
---------- Capture Output ----------
"C:\HLServer\ns\addons\amxmodx\scripting\amxx sc.exe" amx_ejl_missiles.sma -o..\plugins\amx_ejl_missiles
Terminated with exit code -1073741819
All the changes he made look fine to me... does the original compile?
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 11-02-2004 , 07:04  
#10

orig compiles fine on my machine or else I would not post it

and just a thought, the { } things in the comment could be causing trouble... just a thought.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
 



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 11:56.


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