This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Admin List


Post New Thread Reply   
 
Thread Tools Display Modes
Nomarky
SourceMod Donor
Join Date: Sep 2007
Old 09-02-2008 , 06:06   Re: Admin List
Reply With Quote #41

Thats what I was getting at, not sorting the list by permissions
Nomarky is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 09-08-2008 , 18:41   Re: Admin List
Reply With Quote #42

Crashes my servers with admin list set to 2 and helpmenu installed which has the same feature but not by !admins. No errors just a minidump.
__________________

DontWannaName is offline
xomp
BANNED
Join Date: Jul 2008
Old 09-11-2008 , 06:58   Re: Admin List
Reply With Quote #43

!admins crashes the server, plenty of dump files :S I've D-D-D-Deleted this Plugin..
xomp is offline
Send a message via Skype™ to xomp
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 10-15-2008 , 18:52   Re: Admin List
Reply With Quote #44

I'd install this if not for the errors reported above. Is this working, or broken?
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
willy1234x1
Senior Member
Join Date: Jun 2008
Old 10-16-2008 , 00:29   Re: Admin List
Reply With Quote #45

Quote:
Originally Posted by Atreus View Post
I'd install this if not for the errors reported above. Is this working, or broken?
No it's not working, I used to use it on the HS servers but we soon found the crashing server issue and didn't really like giving our players the power to instacrash it.
willy1234x1 is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 10-16-2008 , 01:42   Re: Admin List
Reply With Quote #46

Maybe someone could provide a trace so the developer can take a look at it?
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-16-2008 , 14:29   Re: Admin List
Reply With Quote #47

If you close the handle on MenuAction_Cancel or MenuAction_Select it will crash the server every time someone hits anything other than the exit number.

You only need to deal with a MenuAction_Cancel if you want to display a previous menu, like topmenu, or MenuAction_Select if you actually care if they select something. Every time the menu is done MenuAction_End is called. If you closehandle before it can call it and while the menu is technically still active, it will crash.

Fix:
PHP Code:
public MenuListHandler(Handle:menuMenuAction:actionparam1param2)
{
     if (
action == MenuAction_End)
          
CloseHandle(menu);

You should also consider changing from hooking the say commands to your own console command with RegConsoleCmd. There is no reason to hook everything said when all you want is the command trigger. In addition, if you create cvars, you should run the AutoExecConfig command.

EDIT:

I went ahead and changed the code to reflect these changes. I also added a requested item for a cvar to display admins with a certain flag. Only 1 flag can be mentioned here, even thou it is in char format. It will always check for root so "z" is never needed. Config file will be made when first ran.

Fredd:

I know I did not have permission to alter your code so I will be more then happy to remove this attachment if you like
Attached Files
File Type: sp Get Plugin or Get Source (AdminList.sp - 921 views - 2.5 KB)

Last edited by Antithasys; 10-16-2008 at 17:19.
Antithasys is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 10-17-2008 , 14:37   Re: Admin List
Reply With Quote #48

Oh, awesome. I'm currently working on some other stuff on our server, but hopefully someone else will be nice enough to see if all crashes are fixed on this now ;)
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
Antithasys
Moderator
Join Date: Apr 2008
Old 10-17-2008 , 15:32   Re: Admin List
Reply With Quote #49

Quote:
Originally Posted by Atreus View Post
Oh, awesome. I'm currently working on some other stuff on our server, but hopefully someone else will be nice enough to see if all crashes are fixed on this now ;)
I am tested it and it works just fine.
Antithasys is offline
zhelev81
Veteran Member
Join Date: Nov 2007
Location: Varna,Bulgaria
Old 10-19-2008 , 08:32   Re: Admin List
Reply With Quote #50

yes now it works ,tnx for fixing it,it was crashing the server when u try to see the admins omg u type !admins and the server shuted down It was like u're not allowed to look at the adimn list
zhelev81 is offline
Send a message via ICQ to zhelev81 Send a message via MSN to zhelev81 Send a message via Skype™ to zhelev81
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 19:57.


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