Raised This Month: $51 Target: $400
 12% 

Custom Compiler


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 05-15-2007 , 22:34   Custom Compiler
Reply With Quote #1

  • The following is a PHP script that allows you to custom compile plugins from .sma files to .amxx files with some awesome features.

  • Features:
    • Lists the commands contained inside of the plugin
    • You are then able to change the admin access levels (the flags in users.ini) to whatever you want.
    • Ability to change the command names
      • EX: amx_slap to ghw_slap or whatever
    • Ability to change the admin access levels for each command
      • The flags in users.ini (EX: make a command require the player to have admin flag "a")
    • Works with 99% of AMXX plugins


Last edited by GHW_Chronic; 05-16-2007 at 13:59.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 05-15-2007 , 23:56   Re: Custom Compiler
Reply With Quote #2

Wow... this is awesome. Great for server admin organizing.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 05-16-2007 , 09:11   Re: Custom Compiler
Reply With Quote #3

Impressive.

I'd suggest making the admin level control, for each command, as a combobox rather than a textbox.
__________________
Brad is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 05-16-2007 , 13:59   Re: Custom Compiler
Reply With Quote #4

Great idea. So great, that I just implemented it!
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Weed
Senior Member
Join Date: Jul 2007
Old 07-07-2007 , 20:42   Re: Custom Compiler
Reply With Quote #5

i need some serioues help with the compiler

it gives me errors when i modify a code...
Weed is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-07-2007 , 20:44   Re: Custom Compiler
Reply With Quote #6

I know, I gave you the custom code for you to compile on the amxx compiler. As I said in the PM I AM FUCKING TIRED BEEN UP FOR 48 HOURS DONT MAKE ME TELL YOU AGAIN STOP MAKING MY EMAIL GO DADING!
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Weed
Senior Member
Join Date: Jul 2007
Old 07-07-2007 , 20:47   Re: Custom Compiler
Reply With Quote #7

ye i will stop to pm you.
help me here xD?
Weed is offline
Weed
Senior Member
Join Date: Jul 2007
Old 07-07-2007 , 21:29   Re: Custom Compiler
Reply With Quote #8

i guess u wont help me after all
Weed is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 07-08-2007 , 01:23   Re: Custom Compiler
Reply With Quote #9

*updated* fixed a bug where if the function and the command had the same name the script would freak out.

@Weed - sorry for lashing out, I just needed some sleep.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Weed
Senior Member
Join Date: Jul 2007
Old 07-08-2007 , 12:18   Re: Custom Compiler
Reply With Quote #10

its ok lol i kinda pissed u off all day long


i tried it and change the +hook to +hook2 and -hook to -hook2

look what it gave
Code:
Your plugin failed to compile! Read the errors below:
Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/textWS8WlB.sma(50) : error 035: argument type mismatch (argument 4)
/home/groups/amxmodx/tmp3/textWS8WlB.sma(53) : error 035: argument type mismatch (argument 4)
/home/groups/amxmodx/tmp3/textWS8WlB.sma(56) : error 035: argument type mismatch (argument 4)

3 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/textWS8WlB.amx (compile failed).

Last edited by Weed; 07-08-2007 at 12:21.
Weed 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 13:31.


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