Raised This Month: $94 Target: $400
 23% 

Gabion Kernel v1.3x (1.31)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Technical/Development        Approver:   Hawk552 (427)
Minimum
Senior Member
Join Date: Jun 2006
Old 07-03-2007 , 23:13   Gabion Kernel v1.3x (1.31)
Reply With Quote #1

The Gabion Kernel is an highly versatile and advanced API for AMX Mod X. It features a component system which allows plugins to access its features. These features include: a centralized MySQL connection, help file system, effects system, player account system, admin control system, a status and information hud system, a Version Control System for both the Gabion Kernel and its plugins, and a wide range of MySQL functions. Other benefits of the Gabion Kernel is an extremely easy initial install process, and a system that makes installing different complex components as easy as adding them to the plugins.ini file.

This project has two major goals.

1. To make installation of different complex plugins extremely easy and painless for server owners.

2. To make a system where developers will have an advanced set of tools which make complex plugins easier & faster to make, and compatible with other Gabion Kernel components.

Requirements:
- AMX Mod X 1.75
- 1 (One) MySQL Database
- Basic HL Server Knowledge

Support & Help

v1.3x Changelog:
v1.30 - Added Version Control System for both the Gabion Kernel and its components (includes three new related functions). Added a SQL Connection Handle return function. Added a few new commands for the Gabion Command System. Fixed a security hole with the admin system. Added an automatic SQL Table Optimization Utility which automatically optimizes Core Gabion Kernel tables on startup or map change (controlled by a cvar) for slightly better SQL Preformance. Also includes some other minor adjustments and changes.
v1.31 - Fixed issue with player accounts not auto-registering. Fixed issue with Gabion Kernel spamming the versions table. Added a new command which allows players to obtain a new passcode. Widened randomization range of passcodes, making them more secure and random. Some other minor fixes and adjustments also.

Function Listing (Detailed Descriptions) -
Code:
/*      Gabion Kernel Include File */  // DO NOT TOUCH ANYTHING UNLESS YOU ABSOLUTELY KNOW WHAT YOU'RE DOING // I WILL NOT HELP YOU IF YOU BREAK YOUR PLUGIN // Defines // Hud_Display Func Defines; Tells Hud_Display to either to print to Chat Hud or Status Hud; Default is Status Hud #define HUD_CHAT 1 #define HUD_STATUS 0 // Set_Glow Func Defines; Tells Set_Glow to either turn On or Off; Default is Off #define GLOW_ON 1 #define GLOW_OFF 0 // Component Set Status Defines; Tells component_setstatus to either turn the component On or Off; Default is Auto #define COMP_AUTO 2 #define COMP_ON 1 #define COMP_OFF 0 // Select_String Func Defines; Tells for select_string to either use old default method or new custom method. // Default: Uses all variables. Ex: SELECT <index> FROM <table> WHERE <condition> = '<equals>' // Custom: Does not use equals, instead uses condition for use in multiple if statements. Ex: SELECT <index> FROM <table> WHERE <condition> #define SELECTSTR_NEW 1 #define SELECTSTR_OLD 0 #pragma reqlib gabionkernel // API Fake Natives // Register Component native register_component(compname[]); // Set Component Status native component_setstatus(comp_id,status=3); // Register Help File native register_helpfile(name[],filepath[]); // Gabion Kernel Version Return native Float:gab_version(); // Component Version Return native Float:component_version(name[]); // Component Version Update native component_newversion(name[],Float:version); //----------------------------------------------------------------------------------- // MySQL Handle Return native Handle:gab_sqlhandle(); // MySQL Status Indicator native is_db_online(); // MySQL Edit Value (Integer) native edit_value(id,table[],index[],func[],amount); // MySQL Edit Value (Float) native edit_fvalue(id,table[],index[],func[],Float:amount); // MySQL Select String native select_string(table[],index[],condition[],equals[],output[],size,mtype=0); // MySQL Selection Function - Conditional Columns (SELECTED Columns 1x Rows) native select_columns(table[],index[],condition[],equals[],output[],size,amount,mtype=0); // MySQL Selection Function - ALL Rows (1x Column ALL Rows) native select_allrows(table[],index[],output[],size); // MySQL Selection Function - Conditional Rows (1x Column SELECTED Rows) native select_rows(table[],index[],condition[],equals[],output[],size); // MySQL Update String native update_string(table[],set[],equals[],where[],condition[]); // MySQL Free Query String native free_string(query[]); // MySQL Result Query String native result_string(query[],Handle:output); // MySQL SubQuery String native select_subquery(table[],index[],condition[],table2[],index2[],condition2[],equals[],output[],size); // Admin Verification native admin_verify(id,admintype[],comment[]); // MySQL Based Origin Distance Finder native distance_verify(id,table[],index[],dist,out_origin[3]); // MySQL List Printer native view_sqllist(id,listname[],listdes[],table[],condition[],indexes[],indexnum); // MySQL Table Optimizer native optimize_table(table[]); //----------------------------------------------------------------------------------- // Register Player Column native register_playercolumn(name[],sqlextra[]); // Register Admin Access Column native register_admincolumn(name[]); // Gabion Kernel Player Id Return native gab_playerid(id); // Info Hud Code Display native infohud_display(id,compid,msg[]); // Message Hud Code Display native hud_display(id,message[],func=0); //----------------------------------------------------------------------------------- // Set User Maxspeed native set_maxspeed(id,func[],Float:amount); // Set User Transparancy native set_alpha(id,func[],amount); // Set User Glow native set_glow(id,trigger,redfunc[],red,greenfunc[],green,bluefunc[],blue);
Attached Files
File Type: rar GabionKernelv1.31.rar (19.0 KB, 375 views)

Last edited by Minimum; 07-20-2007 at 02:12. Reason: 1.31 Update
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 07-04-2007 , 00:45   Re: Gabion Kernel v1.3x
Reply With Quote #2

Please attach the *.sma separately.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Minimum
Senior Member
Join Date: Jun 2006
Old 07-04-2007 , 01:28   Re: Gabion Kernel v1.3x
Reply With Quote #3

Quote:
Originally Posted by SweatyBanana View Post
Please attach the *.sma separately.
If I did that it would possibly confuse people that just read a little and click on the download. The plugin MUST be downloaded as one package or else certain functions will not work such as the help or configs. It would just create unnecessary problems which could of been avoided. That is why I did not attach the .smas separately.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-04-2007 , 01:43   Re: Gabion Kernel v1.3x
Reply With Quote #4

Attach the zip, attach the sma, and attach a compiled version and you should be fine
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 07-04-2007 , 06:20   Re: Gabion Kernel v1.3x
Reply With Quote #5

SweatyBanana,YamiKaitou: you are missing the point.

Minimum: you don't need to attach an sma.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 07-04-2007 , 06:30   Re: Gabion Kernel v1.3x
Reply With Quote #6

The most usefull (for me) is autoupdate system. I think it should be extracted into standalone branch. It would be a new generation of releasing plugins for AMX/X developers. Like Updater for Miranda IM.
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
kmal2t
BANNED
Join Date: Apr 2006
Old 07-04-2007 , 06:36   Re: Gabion Kernel v1.3x
Reply With Quote #7

May I ask why you call this a kernel when a kernel usually refers to an integral part of an OS, and not what appears to be like a module for amxx coding?
kmal2t is offline
Simon Logic
Senior Member
Join Date: Nov 2006
Location: RF
Old 07-04-2007 , 06:42   Re: Gabion Kernel v1.3x
Reply With Quote #8

May be it sounds cooler than Gabion API for author. ;)
__________________
my modest stuff: AXN 1.6.1 | plugins | bsp2csdm
Simon Logic is offline
Send a message via Skype™ to Simon Logic
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 07-04-2007 , 10:42   Re: Gabion Kernel v1.3x
Reply With Quote #9

Hum .. interesting ^^
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
Minimum
Senior Member
Join Date: Jun 2006
Old 07-04-2007 , 11:35   Re: Gabion Kernel v1.3x
Reply With Quote #10

Quote:
Originally Posted by Simon Logic View Post
May be it sounds cooler than Gabion API for author. ;)
That is exactly why I put "Kernel" in the name. As for everyone else, thank you for your support.
Minimum is offline
Send a message via AIM to Minimum Send a message via MSN to Minimum
Reply


Thread Tools
Display Modes

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 23:08.


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