[Darkorbit, Azure] Admin Control Panel CLI remove

06/01/2014 13:40 Theterminato#1
Hello

I have Azure Server 0.5.1, and I have fixed a lot of bugs already :)
But, I have a problem. In the client, you get Admin Control Panel (for CLI commands).

I am working to make commands for this, but the Admin Control Panel is shows for everyone. Can I fix this, so it will only be able for admins? Or how can I remove the full Admin Control Panel CLI?

I have check and changing the database for rank, premium .. but it doesn't works.

In Azure Server, this packet will send ..:

I hope you can help me, changing the rank, or clanID doesn't works.
PS: Sorry for my bad English
06/01/2014 14:15 gabrielcool1#2
[Only registered and activated users can see links. Click Here To Register...]

But if i'm right you can code some in the emu to only appear in "X" ID.
06/01/2014 16:48 Theterminato#3
Quote:
Originally Posted by gabrielcool1 View Post
[Only registered and activated users can see links. Click Here To Register...]

But if i'm right you can code some in the emu to only appear in "X" ID.
Thanks!
Problem solved!
Can someone please close this thread?
06/01/2014 22:01 darkorbitplayer1118#4
If you are using Azure, then use:

For a certain user to have command line:

Code:
int x = 1000; // change UserId here.

if (this.userId == x}  
{
     this.Send(""); // RDY packet goes here
}
For just administrators to have command line.

Code:
if (this.Ship.rank == 21}
{
    this.Send(""); // RDY packet goes here
}
Simple as that! Have fun programming! :)

`darkorbitplayer1118
06/01/2014 22:14 Arby#5
Quote:
Originally Posted by Theterminato View Post
Thanks!
Problem solved!
Can someone please close this thread?
As requested :)