Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Code Gallery (https://forums.graalonline.com/forums/forumdisplay.php?f=179)
-   -   Staff Console (https://forums.graalonline.com/forums/showthread.php?t=134263491)

iBeatz 06-07-2011 06:55 PM

Staff Console
 
1 Attachment(s)
Okay, so I was bored and decided to put this little thing together.
It is a staff console, obviously intended for those who run a server and are entrusted with NC rights.
I'll explain each of the features as they appear in the GUI.

The first feature is a player list, which offers basic operations like warping, summoning and viewing the player profile. You can also warp a selected player to a level from the level list, which is coming next.

http://i54.tinypic.com/24w9fds.png

The second feature is a level list, which basically shows all the levels on the server and allows you to warp to them, or warp another player to one of them.

http://i52.tinypic.com/30ian91.png

The third feature is a weapons list, and lists all the weapons on the server. You can equip and unequip the weapons, give them to other players and take them from other players, which I feel is far handier than opening their attributes and removing it.
Also, the red and green colors at the side of the weapon names indicate whether you have that weapon in your attributes or not. (Green means that the weapon is in your attributes, red means it isn't.)

http://i52.tinypic.com/2yy2fx5.png

The last tab simply lists some server statistics, such as level and weapons count etc.

http://i51.tinypic.com/2hg6b0l.png

The status updater box tells you what action you have performed after you perform it.
Also, for ease of finding something in a long list, there is also a search box at the bottom right.
And you can refresh a list too. :blush:

To open the Staff Console, press the ` button. For those of you who can't find it, it's the button above the tab button.

If you're going to use this, make sure you change the path strings for the three constants at the start of the script to make sure that the paths match those on your server.
Enjoy! ;)

JesusFreak250 06-07-2011 07:16 PM

this is awsome!

fatcat123 06-07-2011 09:16 PM

niiiice
 
Awesome man (=. I'm thinking you should apply for Scripting on Classic iPhone :O.

trimaster 06-07-2011 10:18 PM

By far the best Staff Console I've seen yet! :D. This would be soo handy for staff but would mainly be a great benefit to servers such as UN, Zodiac, Era, iPhone Classic, and iPhone Era :D=)

salesman 06-07-2011 10:55 PM

Nice job with the UI

fowlplay4 06-07-2011 11:24 PM

Quote:

Originally Posted by trimaster (Post 1653786)
By far the best Staff Console I've seen yet! :D. This would be soo handy for staff but would mainly be a great benefit to servers such as UN, Zodiac, Era, iPhone Classic, and iPhone Era :D=)

Going have to dispute your benefit claim...

The players list (hell even the official one is too) is unfeasible for iPhone servers, levels and weapons list (See NC and File Manager for that) isn't of any real use to me either. Players online is also displayed on the player-list or RC, players in the level is the only semi-useful statistic, and the other counts don't really matter much.

None the less I'm sure iBeatz learned quite a bit while making this and he did a nice job with the UI. Double spacing for indents couldn't hurt either.

WhiteDragon 06-07-2011 11:58 PM

Neat work.

I think if you want to really package this into something that could go into production, try to focus on what fowlplay mentioned, mainly: scaling issues. What happens when there are hundreds or thousands of players and levels?

It's an interesting design challenge and I'd like to see if you could come up with anything that preserves browsability without making it really annoying to use and/or complicated.

iBeatz 06-08-2011 12:04 AM

Quote:

Originally Posted by fowlplay4 (Post 1653800)
None the less I'm sure iBeatz learned quite a bit while making this

I did actually, yes.
A couple of things like the isExternal boolean, the use of loadfolder() and a couple of other things. What really annoyed me was I could NEVER get loadlines() or loadstring() to work.
Was just a bit of fun really, but I'm sure someone will find use in it somewhere like me, because it's really just a shortcut to everything and my computer can get pretty slow at times, so it's handy sometimes. Nothing really stand-outish about it though.
I suppose it could be used if your subscription runs out and you can't warp or anything like that possibly.

Thanks for the feedback everyone.

alskdjfhg 06-08-2011 01:03 AM

JesusFreak the guy I caught hacking on UN! Awesome!

Astram 07-19-2011 04:05 AM

I like it, just that I don't think it has a purpose. If it could edit weapons and all. Then maybe I would like it more. I just want to know how you displayed an image in the text row

cbk1994 07-19-2011 05:02 AM

Quote:

Originally Posted by Astram (Post 1659360)
I just want to know how you displayed an image in the text row

Have you tried looking at the script?

callimuc 07-19-2011 02:26 PM

Quote:

Originally Posted by Astram (Post 1659360)
If it could edit weapons and all.

Since there are different opinions about that, why don´t you just use client RC...

iBeatz 07-19-2011 06:22 PM

1 Attachment(s)
I've seen a lot of people use this script and a server use it too, so I thought I may as well work on it some more if people are using it.
In this update, I've fixed the scaling issues for the levels somewhat by turning it into a treeview, which separates levels from gmaps (and all the level files contained in the gmap).
If you find any errors, let me know and if you would like to offer any suggestions as to how this could be made any better in any way, just hit me up with a forum PM.

callimuc 07-19-2011 06:24 PM

Can´t take a look at it but it sounds good ;)

fatcat123 07-19-2011 06:32 PM

:blush:

iBeatz 07-19-2011 07:27 PM

1 Attachment(s)
Sorry, forgot to change the searched levels list as well.
Fixed here:

JesusFreak250 07-19-2011 07:43 PM

Quote:

Originally Posted by alskdjfhg (Post 1653809)
JesusFreak the guy I caught hacking on UN! Awesome!

Must be two jesus freaks ^^

callimuc 07-19-2011 08:26 PM

Quote:

Originally Posted by JesusFreak250 (Post 1659456)
Must be two jesus freaks ^^

Or a huge fan of you :oo:

JesusFreak250 07-19-2011 08:38 PM

Quote:

Originally Posted by callimuc (Post 1659461)
Or a huge fan of you :oo:

O I forgot about my loyal lovers!

iBeatz 07-22-2011 12:22 PM

1 Attachment(s)
Yet another update.
This update brings notification for PMs, along with various other fixes.
It now notifies you when you receive a PM with a sound. You can open the PM from within the staff console with the button that appears inside the status updater box if you have it open when you are PMed.
Also, everything about this console has been optimized for v6, meaning that weapons will not display properly if you are running a graal version below v6. The same goes with opening PMs from within the console, so get v6 now to use this to its full extent.

I'll keep the updates coming for you users. :blush:

xXziroXx 07-22-2011 12:29 PM

Should post videos that demonstrate each feature, including ones you add.

oralgnome 09-22-2011 03:14 AM

surprisingly good


All times are GMT +2. The time now is 03:27 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.