Mirage Source http://www.miragesource.net/forums/ |
|
[Add-On] Admin Panel http://www.miragesource.net/forums/viewtopic.php?f=183&t=6023 |
Page 1 of 73 |
Author: | Doomy [ Wed Jul 22, 2009 7:06 pm ] | ||
Post subject: | [Add-On] Admin Panel | ||
Download This File And Extract it to Client\Src Then Add It To Your Source Go To FrmMirage and Under Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) add Code: Case vbKeyF12 If GetPlayerAccess(MyIndex) > 1 Then frmAdmin.Visible = True End If Your Admin Menu Will Now Open Under F12 This is what the Admin Menu Looks Like
|
Author: | genusis [ Wed Jul 22, 2009 7:13 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
looks good just don't forget to make sure to check if they are 2 access or higher to access the panel. |
Author: | Doomy [ Wed Jul 22, 2009 7:18 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
lol whoops not sure but i think what i did will work |
Author: | Nean [ Wed Jul 22, 2009 7:26 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
Heh, nice. Just to screw around, I programmed an Admin Panel that uses only input boxes. ;D |
Author: | Doomy [ Wed Jul 22, 2009 7:27 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
Nean wrote: Heh, nice. Just to screw around, I programmed an Admin Panel that uses only input boxes. ;D lol i would like to see that in a engine lol |
Author: | Joost [ Fri Jul 24, 2009 6:24 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
You only check access client-side. It'd mean players would be able to enter the menu, but of course not be able to actually "do" something because the options are protected (I hope). But an admin panel shouldn't be included in a player .exe anyway. |
Author: | Labmonkey [ Fri Jul 24, 2009 9:52 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
Joost making seperate exes is great when your making a big game and you have lots of admin only stuff and it will save lots of space, but for small mirage games its not a noticeable difference, and is kind of an inconvience to devving if you have to give all mods a separate client.. |
Author: | Doomy [ Sat Jul 25, 2009 12:45 am ] |
Post subject: | Re: [Add-On] Admin Panel |
Joost wrote: You only check access client-side. It'd mean players would be able to enter the menu, but of course not be able to actually "do" something because the options are protected (I hope). But an admin panel shouldn't be included in a player .exe anyway. ya it is blocked, it really is just sending a message to the server like the chat box, and if that is blocked then this should be. |
Author: | Joost [ Sat Jul 25, 2009 9:11 am ] |
Post subject: | Re: [Add-On] Admin Panel |
Labmonkey wrote: Joost making seperate exes is great when your making a big game and you have lots of admin only stuff and it will save lots of space, but for small mirage games its not a noticeable difference, and is kind of an inconvience to devving if you have to give all mods a separate client.. Forms are evil. Components are evil. Don't use them when you don't need them. Over half the forms in ES were admin-related stuff, fucking waste of space. |
Author: | James [ Sun Jul 26, 2009 4:03 am ] |
Post subject: | Re: [Add-On] Admin Panel |
Joost wrote: Labmonkey wrote: Joost making seperate exes is great when your making a big game and you have lots of admin only stuff and it will save lots of space, but for small mirage games its not a noticeable difference, and is kind of an inconvience to devving if you have to give all mods a separate client.. Forms are evil. Components are evil. Don't use them when you don't need them. Over half the forms in ES were admin-related stuff, fucking waste of space. QFT. In one of my edits I tried to reduce forms and components by combining editors into one form, and all the main menus. On the Menu form I used control arrays, which I've been told is better than bazillions of individual controls. |
Author: | Robin [ Sun Jul 26, 2009 4:06 am ] |
Post subject: | Re: [Add-On] Admin Panel |
James wrote: Joost wrote: Labmonkey wrote: Joost making seperate exes is great when your making a big game and you have lots of admin only stuff and it will save lots of space, but for small mirage games its not a noticeable difference, and is kind of an inconvience to devving if you have to give all mods a separate client.. Forms are evil. Components are evil. Don't use them when you don't need them. Over half the forms in ES were admin-related stuff, fucking waste of space. QFT. In one of my edits I tried to reduce forms and components by combining editors into one form, and all the main menus. On the Menu form I used control arrays, which I've been told is better than bazillions of individual controls. Control arrays don't exist. They're a figment of Microsoft's imagination. |
Author: | Toast [ Sun Jul 26, 2009 7:47 am ] |
Post subject: | Re: [Add-On] Admin Panel |
Code: Dim C() as Control
|
Author: | Joost [ Mon Jul 27, 2009 9:36 am ] |
Post subject: | Re: [Add-On] Admin Panel |
James wrote: Joost wrote: Labmonkey wrote: Joost making seperate exes is great when your making a big game and you have lots of admin only stuff and it will save lots of space, but for small mirage games its not a noticeable difference, and is kind of an inconvience to devving if you have to give all mods a separate client.. Forms are evil. Components are evil. Don't use them when you don't need them. Over half the forms in ES were admin-related stuff, fucking waste of space. QFT. In one of my edits I tried to reduce forms and components by combining editors into one form, and all the main menus. On the Menu form I used control arrays, which I've been told is better than bazillions of individual controls. Been there, done that. I was the first one to only use one component server-side, removing all timers, with Atty, my pr0 friend. |
Author: | Robin [ Mon Jul 27, 2009 11:12 am ] |
Post subject: | Re: [Add-On] Admin Panel |
Joost wrote: James wrote: Joost wrote: Labmonkey wrote: Joost making seperate exes is great when your making a big game and you have lots of admin only stuff and it will save lots of space, but for small mirage games its not a noticeable difference, and is kind of an inconvience to devving if you have to give all mods a separate client.. Forms are evil. Components are evil. Don't use them when you don't need them. Over half the forms in ES were admin-related stuff, fucking waste of space. QFT. In one of my edits I tried to reduce forms and components by combining editors into one form, and all the main menus. On the Menu form I used control arrays, which I've been told is better than bazillions of individual controls. Been there, done that. I was the first one to only use one component server-side, removing all timers, with Atty, my pr0 friend. Pfft. Forms are for newbs. (y) |
Author: | ShadowMaster [ Sun Aug 09, 2009 2:05 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
You should have the server do the access check and the client open the panel if the server check has passed. |
Author: | Doomy [ Sun Aug 09, 2009 4:49 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
ShadowMaster wrote: You should have the server do the access check and the client open the panel if the server check has passed. the server already does that. |
Author: | grimsk8ter11 [ Mon Aug 10, 2009 1:11 am ] |
Post subject: | Re: [Add-On] Admin Panel |
lul at Joost being the first to use one component in a server everzzzzz. I was the first to use no contorls then cause im l337. Use windows to generate a console window, poll said window. Use a timer class instead of timers. It doesn't really matter in VB, it is all slow (death to VB!) Joost is right saying have a little as possible though, it may save you something (if possible at all). I advise to try to live with 1 or two forms like essense or eyns and such. If you know how to, I would even suggest using DX for all of it. Forms add a good amount of bulk to executable files for some reason. |
Author: | Doomy [ Mon Aug 10, 2009 1:22 am ] |
Post subject: | Re: [Add-On] Admin Panel |
lol programming it in dx should be really hard. |
Author: | Lithium00 [ Sat Sep 19, 2009 1:39 am ] |
Post subject: | Re: [Add-On] Admin Panel |
This worked fine on MS4, thanks! |
Author: | Doomy [ Sat Sep 19, 2009 4:14 am ] |
Post subject: | Re: [Add-On] Admin Panel |
Lithium00 wrote: This worked fine on MS4, thanks! No problem, don't forget to rate it. |
Author: | anasky [ Tue Oct 20, 2009 9:59 am ] |
Post subject: | Re: [Add-On] Admin Panel |
I found a bug. You typed /warp in the warp button, while it should be /warpto. |
Author: | Doomy [ Tue Oct 20, 2009 7:28 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
anasky wrote: I found a bug. You typed /warp in the warp button, while it should be /warpto. k thx ill fix it later |
Author: | wanai [ Thu Jan 06, 2022 9:44 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
Econ |
Author: | wanai [ Thu Jan 06, 2022 9:45 pm ] |
Post subject: | Re: [Add-On] Admin Panel |
111.9 |
Page 1 of 73 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |