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

Admin Max? (Full Detail)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kitami-San
Member
Join Date: Oct 2006
Old 03-20-2007 , 22:10   Admin Max? (Full Detail)
Reply With Quote #1

Hey guys I'm using the Tag Protectors found here:

http://forums.alliedmods.net/showthread.php?p=160621

Now I have 64 Admins so far on the list, and the last guy doesnt work even though everything is ok with the admin list. amx_reloadadmins comes out fine. Same when I change the map it still takes his tag away aka he has no admin.

I was just wondering if there is a max amount of Admins for AMXMODX?
Kitami-San is offline
FormulaZero`
BANNED
Join Date: Mar 2007
Location: Becuase you deliberately
Old 03-20-2007 , 22:35   Re: Admin Max? (Full Detail)
Reply With Quote #2

As far as I know, there is no limit to how many admins your allowed to input.
FormulaZero` is offline
Send a message via AIM to FormulaZero`
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-20-2007 , 22:44   Re: Admin Max? (Full Detail)
Reply With Quote #3

64 is the default max admins. This can be changed by editing the admin.sma file
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (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
Kitami-San
Member
Join Date: Oct 2006
Old 03-20-2007 , 23:57   Re: Admin Max? (Full Detail)
Reply With Quote #4

Thank you so much for your help, perhaps could you post a edited amxx file for me or just send me the line to edit or looking for thanks so much.
Kitami-San is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-21-2007 , 00:09   Re: Admin Max? (Full Detail)
Reply With Quote #5

#define MAX_ADMINS 64

It is near the top of the code
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (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
Kitami-San
Member
Join Date: Oct 2006
Old 03-21-2007 , 14:21   Re: Admin Max? (Full Detail)
Reply With Quote #6

Thank you so much Ice changed it to 150. Does it matter because I was looking at this section of code

Quote:
new g_aPassword[MAX_ADMINS][32]
new g_aName[MAX_ADMINS][32]
Which is equal to

Quote:
#define MAX_ADMINS 64
So Would I have to change the other two lines also to match up or no?
Kitami-San is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-21-2007 , 14:30   Re: Admin Max? (Full Detail)
Reply With Quote #7

AmxX will only read admins from users.ini until it has reached the MAX_ADMIN limit defined in admin.sma. Once it has reached that limit, it won't read any more.

If you change the definition of MAX_ADMINS, those 2 arrays are changed as well because it is using the value of MAX_ADMINS as the size.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (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
Kitami-San
Member
Join Date: Oct 2006
Old 03-21-2007 , 14:54   Re: Admin Max? (Full Detail)
Reply With Quote #8

Alright thank you very much.
Kitami-San 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 06:46.


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