Potato2D
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomePortalLatest imagesSearchRegisterLog in

 

 Adding an Admin Panel

Go down 
2 posters
AuthorMessage
Soul
Newb
Newb



Innlegg : 17
Join date : 2009-10-18

Adding an Admin Panel Empty
PostSubject: Adding an Admin Panel   Adding an Admin Panel Icon_minitimeSat Nov 14, 2009 4:55 pm

P2D lacks an admin panel, this tutorial is meant to help you add one, an Admin Panel, this allows you to edit spells, items, etc. without having to type in /editblah.

First, download this admin panel:
Admin Panel

Now, add this under modInput, under Public Sub HandleKeyPresses(ByVal KeyAscii As Integer) BEFORE the Case Else:
Code:
                Case "/adminpanel"
                If GetPlayerAccess(MyIndex) = 0 Then
                Call PlayerMsg(MyIndex, "You must be an admin to do this!")
                Else
                frmAdmin.Show vbModal
                End If

Type in /adminpanel.

NOTE: I don't think Edit Map works, so avoid clicking it.

P.S. There you go Aksel.
Back to top Go down
Aksel
Admin
Aksel


Innlegg : 283
Join date : 2009-06-20
Age : 28

Adding an Admin Panel Empty
PostSubject: Re: Adding an Admin Panel   Adding an Admin Panel Icon_minitimeSat Nov 14, 2009 4:58 pm

Thanks, I'll check it out.
Back to top Go down
http://www.akselscape.com
Soul
Newb
Newb



Innlegg : 17
Join date : 2009-10-18

Adding an Admin Panel Empty
PostSubject: Re: Adding an Admin Panel   Adding an Admin Panel Icon_minitimeSat Nov 14, 2009 7:15 pm

I tested it, it works, just Edit Map causes a spam error.

I tried adding Sad Script to Potato and it didn't go so well, still working on it.
Back to top Go down
Aksel
Admin
Aksel


Innlegg : 283
Join date : 2009-06-20
Age : 28

Adding an Admin Panel Empty
PostSubject: Re: Adding an Admin Panel   Adding an Admin Panel Icon_minitimeSun Nov 15, 2009 6:22 am

Cool, I'm working on the Admin panel now. Adding some more stuff =D
Back to top Go down
http://www.akselscape.com
Sponsored content





Adding an Admin Panel Empty
PostSubject: Re: Adding an Admin Panel   Adding an Admin Panel Icon_minitime

Back to top Go down
 
Adding an Admin Panel
Back to top 
Page 1 of 1
 Similar topics
-
» Adding a new item type
» View Panel - Blogger

Permissions in this forum:You cannot reply to topics in this forum
Potato2D :: Game Development :: Source Coding-
Jump to: