Raised This Month: $32 Target: $400
 8% 

UltimatePlugin v1.5.0b [Menu + API + ColorChat + Selectivity] (13-Aug-2014)


Post New Thread Reply   
 
Thread Tools Display Modes
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 04-15-2013 , 09:08   Re: UltimatePlugin v1.0.0 (15th Apr 2013) - tonykaram1993
Reply With Quote #11

Thank you for your comment.

However about the cvar thing, I think it is better to leave it the way I am using it, since I am using the bitsum way of storing cvars (just like caching alive player status). Using bitsum (which basically is a "boolean"), I cannot store values other than 1 or 0. Maybe I did not explain it in a good way, what I basically mean is storing 30 cvars in a bitsum is better than storing cvars in a variable each.

A small example of how I check whether autorr is enable or not:
PHP Code:
if( CheckBitg_bitCvarStatusCVAR_AUTORR ) && !g_bRestartedRound ) {
        
g_iTimeLeft get_pcvar_numg_pcvarAutoRestartTime ) + 1;
        
set_task1.0"Task_Countdown_RestartRound"TASK_COUNTDOWN_RESTARTROUND__"a"g_iTimeLeft );

        
g_bRestartedRound true;

In contrast to:
PHP Code:
if( get_pcvar_numg_pcvarAutoRestart ) && !g_bRestartedRound ) {
        
g_iTimeLeft get_pcvar_numg_pcvarAutoRestartTime ) + 1;
        
set_task1.0"Task_Countdown_RestartRound"TASK_COUNTDOWN_RESTARTROUND__"a"g_iTimeLeft );

        
g_bRestartedRound true;

So basically its 1 variable that holds all the cvars (well except the ones that need to be a number, such as a delay and so on). Maybe I am wrong about this issue, well if I am, I will happily change it and adopt your method which is better for the user.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 04-17-2013 at 03:06. Reason: typo :(
tonykaram1993 is offline
Old 04-16-2013, 00:55
tonykaram1993
This message has been deleted by tonykaram1993. Reason: on second thought never mind :D
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 04-19-2013 , 01:32   Re: UltimatePlugin v1.0.1 (19th Apr 2013) - tonykaram1993
Reply With Quote #12

Plugin Updated to version 1.0.1

Change Log
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 04-30-2013 at 15:22.
tonykaram1993 is offline
rasik
Member
Join Date: Nov 2011
Old 04-19-2013 , 04:45   Re: UltimatePlugin v1.0.1 (19th Apr 2013) - tonykaram1993
Reply With Quote #13

uhmmmmmmmmmmmmmmm

this can be said as all in 1 plugin ....
too much in an single file .. nice ..


i dint find an in game menu for admins ??
A UltimatePlugin-menu.amxx would be soo good ..
rasik is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 04-19-2013 , 04:59   Re: UltimatePlugin v1.0.1 (19th Apr 2013) - tonykaram1993
Reply With Quote #14

Yes, currently there is no menu, but soon I will make one. Please be patient.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 04-20-2013 at 08:57.
tonykaram1993 is offline
Pastout
Senior Member
Join Date: Dec 2010
Location: 1337 Street LeetTown
Old 04-19-2013 , 06:49   Re: UltimatePlugin v1.0.1 (19th Apr 2013) - tonykaram1993
Reply With Quote #15

I see you have spent sometime making the code very clean and readable nice job. However I would like to see this as an api before I would use it.
Pastout is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 04-19-2013 , 07:03   Re: UltimatePlugin v1.0.1 (19th Apr 2013) - tonykaram1993
Reply With Quote #16

Thank you. I will do my best, just gimme a week.
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]
tonykaram1993 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 04-19-2013 , 13:09   AW: UltimatePlugin v1.0.1 (19th Apr 2013) - tonykaram1993
Reply With Quote #17

Holy...amazing work!
Keep on working
__________________
Kia is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 04-19-2013 , 13:25   Re: UltimatePlugin v1.0.1 (19th Apr 2013) - tonykaram1993
Reply With Quote #18

Thank you again. I will add a To-Do list this evening to keep track of future things to be done.

To-Do
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 04-20-2013 at 08:55.
tonykaram1993 is offline
tonykaram1993
Senior Member
Join Date: Mar 2013
Location: This World
Old 04-20-2013 , 08:56   Re: UltimatePlugin v1.0.2 (19th Apr 2013) - tonykaram1993
Reply With Quote #19

Plugin Update to version 1.0.2

Change Log
__________________
My Plugins:
UltimatePlugin
UltimateSurf
UltimateAdmin
Code:
rcon version | rcon amxx version | rcon meta version
rcon amxx plugins | rcon meta list | rcon status
I AM INACTIVE ON THIS FORUM - For direct contact: [email protected]

Last edited by tonykaram1993; 04-30-2013 at 15:22.
tonykaram1993 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-20-2013 , 14:24   Re: UltimatePlugin v1.0.2 (20th Apr 2013) - tonykaram1993
Reply With Quote #20

I think you should try to make the plugin modular, like having a configuration file where you choose what you want to enable, and the plugin would register things only for the wanted commands.
__________________
Arkshine 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:53.


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