Simple User Interface For Plus Emu
Step 1:
Files
Include these files in your emu source and add them to your project.
If your not sure on how to do it google it xD
Step 2:
Go to program.cs and edit
PHP Code:
while (SilverwaveEnvironment.isLive)
{
Console.CursorVisible = true;
if (Logging.DisabledState)
Console.Write("silverwave> ");
ConsoleCommandHandeling.InvokeCommand(Console.ReadLine());
}
}
public static void InitEnvironment()
{
if (!SilverwaveEnvironment.isLive)
{
Console.ForegroundColor = ConsoleColor.White;
Console.CursorVisible = false;
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
SilverwaveEnvironment.Initialize();
}
}
to this
PHP Code:
while (SilverwaveEnvironment.isLive)
{
Console.CursorVisible = true;
if (Logging.DisabledState)
Console.Write("silverwave> ");
ConsoleCommandHandeling.InvokeCommand(Console.ReadLine());
Application.EnableVisualStyles();
Application.Run(new EmuUi.Form1());
Application.DoEvents();
EmuUi.Form1 emu = new EmuUi.Form1();
emu.Activate();
emu.Show();
}
}
public static void InitEnvironment()
{
if (!SilverwaveEnvironment.isLive)
{
Console.ForegroundColor = ConsoleColor.White;
Console.CursorVisible = false;
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
Application.EnableVisualStyles();
Application.Run(new EmuUi.Form1());
Application.DoEvents();
EmuUi.Form1 emu = new EmuUi.Form1();
emu.Activate();
emu.Show();
emu.Activate();
emu.Show();
// SilverwaveEnvironment.Initialize();
}
}
Step 3:
on Program.cs add at the top
PHP Code:
using System.Windows.Forms;
there you go it really simple you can do so much with this xD surprised no one else hasn't done it so simple (if there a better way to do it dont mind telling) ive made it so you dont need a console at all but i can remove most off the Console.write and logging.write and so on so this a simpler ver and the console still shows if you know what your doing you go make it in to a full housekeeping.
Print screen:
http://prntscr.com/5epmo8
http://prntscr.com/5epn3j
http://prntscr.com/5epnlz
Re: Simple User Interface For Plus Emu
Yeah... It's good to noobs, but will be good if add more features... Thanks for share mate ;D
Re: Simple User Interface For Plus Emu
Quote:
Originally Posted by
rafa95123
Yeah... It's good to noobs, but will be good if add more features... Thanks for share mate ;D
Yeah adding more features is easy xD but I keep it simple just in case people want to add it to other emu much easy to convert this then loads off features
Re: Simple User Interface For Plus Emu
Quote:
Originally Posted by
Power
Yeah adding more features is easy xD but I keep it simple just in case people want to add it to other emu much easy to convert this then loads off features
thinking in this case, i agree xD
Re: Simple User Interface For Plus Emu
Re: Simple User Interface For Plus Emu
Why always "good for noobs".
Even if you're an expert this could be useful?
ont;
Nice, as said /\, very useful!
Re: Simple User Interface For Plus Emu
You should make it that the consiole is hidden and when you press the start button i shows up.
Re: Simple User Interface For Plus Emu
Don't see how this is usefull at all.
But anyhow it's worth trying.
Re: Simple User Interface For Plus Emu
Quote:
Originally Posted by
Ryan
How about NO FORMS!
Really helpful comment.
Quote:
Originally Posted by
maartenvn
You should make it that the consiole is hidden and when you press the start button i shows up.
Okay will do
Quote:
Originally Posted by
iDion
Don't see how this is usefull at all.
But anyhow it's worth trying.
its the stuff you can add too it, you can easily add ways to ban users, give credits and duckets and badges
there way more you can do with it.
Re: Simple User Interface For Plus Emu
But why? Only hotel administrators would be able to use it as nobody is going to give their moderating staff access to their servers.
And besides that, what is so hard about typing a command...
Re: Simple User Interface For Plus Emu
Quote:
Originally Posted by
AskethZ
Why always "good for noobs".
Even if you're an expert this could be useful?
ont;
Nice, as said /\, very useful!
Simple, because i don't see the point to create an console to do all these things... So as I said, this is good for noobs, because is more easy to make the controls, commands on Emulator. This is my opinion.
Re: Simple User Interface For Plus Emu
Re: Simple User Interface For Plus Emu
Quote:
Originally Posted by
The General
But why? Only hotel administrators would be able to use it as nobody is going to give their moderating staff access to their servers.
And besides that, what is so hard about typing a command...
Coding a Terminal that uses a TCP Connection twards the Emulator then you will be able to execute shit from there NO FORMS i kidd. but this was a really really bad idea tbh... you need to be retarded to not know how to start an emulator.
Re: Simple User Interface For Plus Emu
Why do you use this two times?
Quote:
emu.Activate();
emu.Show();
emu.Activate();
emu.Show();
Re: Simple User Interface For Plus Emu
Servers does'nt really need forms, but can be useful :p
Re: Simple User Interface For Plus Emu
Quote:
Originally Posted by
Jerking
Why do you use this two times?
i didnt mean to, little mistake
and too everyone else dont like, dont use it simple.
Re: Simple User Interface For Plus Emu
Quote:
Originally Posted by
The General
But why? Only hotel administrators would be able to use it as nobody is going to give their moderating staff access to their servers.
And besides that, what is so hard about typing a command...
Why should people write down a command when they can click on a button?