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

Unapprove please!


Post New Thread Reply   
 
Thread Tools Display Modes
Mitchell
~lick~
Join Date: Mar 2010
Old 08-12-2012 , 16:11   Re: [ANY] Admin List (2.0.2) [12/August/2012]
Reply With Quote #21

Just by adding the \x07 makes it a SOURCE 2009 plugin, not any.
Mitchell is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 08-12-2012 , 16:13   Re: [ANY] Admin List (2.0.2) [12/August/2012]
Reply With Quote #22

No it works not kinda. I still have to:

!admins 1

Then disconnect and reconnect

Then type !admins to see myself.

But it is showing me now.
__________________
Fearts is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-12-2012 , 16:16   Re: [ANY] Admin List (2.0.2) [12/August/2012]
Reply With Quote #23

Quote:
Originally Posted by Mitchell View Post
Just by adding the \x07 makes it a SOURCE 2009 plugin, not any.
2.0.3 [12/August/2012] - Changed \x07 to \x04 because it will work on 2009 engine only.
Quote:
Originally Posted by Fearts View Post
No it works not kinda. I still have to:

!admins 1

Then disconnect and reconnect

Then type !admins to see myself.

But it is showing me now.
If you reload the plugin you need to reconnect to get your status on 1.
I glad it worked
__________________
retired
shavit is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 08-12-2012 , 16:18   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #24

If I reload the plugin and rejoin it doesn't show me. I still have to manually do !admins 1

I wish it would reset it to one every time you connect. If it is doing this already then it isn't working properly.
__________________

Last edited by Fearts; 08-12-2012 at 16:19.
Fearts is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-12-2012 , 16:20   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #25

Quote:
Originally Posted by Fearts View Post
If I reload the plugin and rejoin it doesn't show me. I still have to manually do !admins 1

I wish it would reset it to one every time you connect. If it is doing this already then it isn't working properly.
You even didn't downloaded the new version.
Quote:
Get Plugin or Get Source (admins.sp - 0 views - 5.5 KB)
__________________
retired
shavit is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-12-2012 , 16:55   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #26

Quote:
Originally Posted by shavit View Post
You even didn't downloaded the new version.
The new version is crappy, it has alot of bugs ive fixed it up look at my version instead shavit

Oh i like removed some of your code, like 3/4ths of it, and remove the version from being change on convar hooked, not sure why you even hooked it..
This will work with 2 admins on now. the older version only show the last admin connect, als fixed the glitch where when you load ever admin's status is set to on.
Attached Files
File Type: sp Get Plugin or Get Source (admins.sp - 132 views - 5.5 KB)

Last edited by Mitchell; 08-12-2012 at 16:59.
Mitchell is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-12-2012 , 16:59   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #27

Quote:
Originally Posted by Mitchell View Post
The new version is crappy, it has alot of bugs ive fixed it up look at my version instead shavit
Hmm I would like to use the new version how it is, not with custom printtochat or w/e.
Also, when a client disconnect he should connect back. [Extremely high chance if he's an admin.]
CheckCommandAccess is better then GetUserFlagBits or w/e you used, because there are commands like VIP commands that require CUSTOM1 or something, why it should show VIPS as admins? An admin need a generic flag, as said in the wiki - b Generic flag, required for admins.

Edit: Just tested your version, the chat will show Admin: then a error in the server console and a message that say that are no admins online.
__________________
retired

Last edited by shavit; 08-12-2012 at 17:04.
shavit is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-12-2012 , 17:27   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #28

Quote:
Originally Posted by shavit View Post
Hmm I would like to use the new version how it is, not with custom printtochat or w/e.
Also, when a client disconnect he should connect back. [Extremely high chance if he's an admin.]
CheckCommandAccess is better then GetUserFlagBits or w/e you used, because there are commands like VIP commands that require CUSTOM1 or something, why it should show VIPS as admins? An admin need a generic flag, as said in the wiki - b Generic flag, required for admins.

Edit: Just tested your version, the chat will show Admin: then a error in the server console and a message that say that are no admins online.
Why make an admin re-connect...?
I get the checkcommand thing, but what you should do is set it to a flag, and check if the flag has access, also check out how i did the command it'self the way you are doing it is unnecessary loops, if you don't believe me have more than 2 admins on with the menu, it will bug.
Just try editing your code, im not forcing you, but right now this uses alot of resources for no reason.

Last edited by Mitchell; 08-12-2012 at 17:29.
Mitchell is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-12-2012 , 17:57   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #29

2.0.4 [13/August/2012] - Fixed a bug when menu bugged if the server have 2 admins or more.

Quote:
Originally Posted by Mitchell View Post
Why make an admin re-connect...?
I get the checkcommand thing, but what you should do is set it to a flag, and check if the flag has access, also check out how i did the command it'self the way you are doing it is unnecessary loops, if you don't believe me have more than 2 admins on with the menu, it will bug.
Just try editing your code, im not forcing you, but right now this uses alot of resources for no reason.
Fixed the menu bug.

I don't mean to make an admin reconnect, he will do it himself, so no need to hook disconnect + connect.
__________________
retired
shavit is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-12-2012 , 19:01   Re: [ANY] Admin List (2.0.3) [12/August/2012]
Reply With Quote #30

Quote:
Originally Posted by shavit View Post
2.0.4 [13/August/2012] - Fixed a bug when menu bugged if the server have 2 admins or more.


Fixed the menu bug.

I don't mean to make an admin reconnect, he will do it himself, so no need to hook disconnect + connect.
But the way you were doing it even if they were to reconnect they would have to put !admins 1 to be able to be seen..
Mitchell 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 03:42.


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