PDA

View Full Version : 562 RS2HD Control Panel [Unfinished]



Jaran
July 17th, 2010, 18:54
Hey guys. Im not working on 562 servers anymore so I am releasing a Control Panel I started on but never actually bothered to finish. You can finish it yourself as it should not be to hard to do it. This Gui is made in NetBeans so I have also uploaded the project folder if you would like to keep on finishing it. The panel got some of the feautures working but not all of them.

Please dont flame. This is my first Gui so I only started on it for fun.

Also do not release this somewhere else without my permission. If you decide to release a modified version of my Gui then please give me credits for it.

Here is a few screenshot of the Gui:

Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.
Only the registered members can see the link.

Download's:
---------------

Gui.java (Only the registered members can see the link.)

NetBeans Project folder (Only the registered members can see the link.)

How to set it up with your server:
--------------------------------------

1. Download the Gui.java and place it in YourServer/src>/om/rs2hd/

2. Open GameEngine.java and add:

import com.rs2hd.Gui;
where all the other imports is. Now search for this:

logger.info("Setting up world...");
World.getInstance().setEngine(this);
logger.info("Loading world list data...");
WorldList worldList = new WorldList();
worldList.load();
//logger.info("Connecting to loginserver.....");
//LoginServer loginServer = new LoginServer();
//loginServer.run();
and add this under it:

/*
* Starts Gui
*/
initComponents = new Gui();
/*
Now it would look like this:

logger.info("Setting up world...");
World.getInstance().setEngine(this);
logger.info("Loading world list data...");
WorldList worldList = new WorldList();
worldList.load();
//logger.info("Connecting to loginserver.....");
//LoginServer loginServer = new LoginServer();
//loginServer.run();
/*
* Starts Gui
*/
initComponents = new Gui();
/*
* Start the worker thread.
*/
3. Now search for this:

/*
* Run scripts.
*/
Scripts.init();
}
public void newThread(String name, Runnable r) {
try {
new Thread(threads, r, name).start();
} catch(Exception e) {
}
}
Then under that last bracet add this:

public static Gui initComponents = null;
After this it should look like this:

public void newThread(String name, Runnable r) {
try {
new Thread(threads, r, name).start();
} catch(Exception e) {
}
}

public static Gui initComponents = null;
4. Compile and run. Remember that I messed the startup a bit so it open's two Gui's and not one. Ill fix this as soon as I can. Change the directory paths in the code to yours to make the lists work!

nickyboy304
July 17th, 2010, 19:43
oh nice, look's great. XD

Emily
July 17th, 2010, 19:46
None of this will work, unless you've programmed them properly in the source. Hence for 99% of 562 programmers, the ip mute, and ip ban won't work.
And the ban & perm ban??
so basically your showing that you didnt find how to fix the ban, so you made two buttons for it...

It was a good attempt, but really this has multiple flaws, and i don't see the point, sorry.

Niator
July 17th, 2010, 22:13
How r u making programs like this? What program r u using?

Canownueasy`
July 17th, 2010, 22:19
How r u making programs like this? What program r u using?

It's Swing..

Anyway nice job Jaran and give me my mfing rs acc back -.-

Robot Cadet
July 17th, 2010, 23:05
Gj dude this is great.

Rog3r
July 18th, 2010, 02:02
This is pretty good for your first time at making a GUI. It's really easy to create it with Netbeans huh?

Anyways, is the jList functional? Can it properly list the names or is this just simply the GUI itself that you included, nothing more?

Jaran
July 18th, 2010, 03:19
Thx for the nice comments :)

@Emiliy: The ban, mute buttons etc works fine for me so I cant se why it shouldnt for you? ;)

@Niator: NetBeans.

@Canownueasy: Thank you and I dont really got the acc anymore. I forgot the password/someone changed it and for some reason jagex wont let me recover it. Anyways, it was my account not yours, I just let you play on it so dont say its your acc.

@Rog3r: Thank you :) And the JList does not work unless you add the server sided stuff. I tried to add it but for some reason I couldnt get it working on 562. Also got help from a few other programmers but they didnt manage to fix it eighter o.o

Emily
July 18th, 2010, 03:23
Thx for the nice comments :)

@Emiliy: The ban, mute buttons etc works fine for me so I cant se why it shouldnt for you? ;)


My bad, I must of had a seriously wrong train of thought, i assumed this was client sided, not server side, lol my bad, nice job :)

Jaran
July 18th, 2010, 03:26
No problem :D

Canownueasy`
July 18th, 2010, 04:42
Thx for the nice comments :)

@Emiliy: The ban, mute buttons etc works fine for me so I cant se why it shouldnt for you? ;)

@Niator: NetBeans.

@Canownueasy: Thank you and I dont really got the acc anymore. I forgot the password/someone changed it and for some reason jagex wont let me recover it. Anyways, it was my account not yours, I just let you play on it so dont say its your acc.

@Rog3r: Thank you :) And the JList does not work unless you add the server sided stuff. I tried to add it but for some reason I couldnt get it working on 562. Also got help from a few other programmers but they didnt manage to fix it eighter o.o

Wow you didn't even sell it great. -.- I sold mine for $100

Jaran
July 18th, 2010, 05:00
I was going to sell it but I vent on vacation for two weeks and some how I forgot the password or someone changed it and I cant recover it. :/

Canownueasy`
July 18th, 2010, 06:31
I was going to sell it but I vent on vacation for two weeks and some how I forgot the password or someone changed it and I cant recover it. :/

Oh, well there goes 6 months of botting :'(

Jaran
July 18th, 2010, 12:59
:( The weird this is that first time i recovered it told me that I had wrong creation details, and the next time the recovery questions was wrong to o.o

scootersam
July 18th, 2010, 15:41
does any one know how i make the gui start when i start my server? D:

Jaran
July 18th, 2010, 16:06
I do :) I got it in my source. Ill post it here after one round on StarCraft 2 ;P

Niator
July 18th, 2010, 16:57
I got a question xD
How do you get it to work? O_o When I try to download it comes just alot of text? Am i going to copy this, and if yes, what file format do I save it to?

Defil3d ko3d
July 18th, 2010, 16:59
How can I add this?
And where do I add this?
Looks really good and useful, saves typing.

Jaran
July 18th, 2010, 17:03
Ill make a little tut to add it in a sec, and also for the startup with the server. Somehow I managed to mess up the startup so it opens two guis.

Defil3d ko3d
July 18th, 2010, 17:05
GREAT!
Thanks a lot man.
What other things can it do? Post the other screens of the gui?

Jaran
July 18th, 2010, 17:12
Ill post a the other tab's on it in a sec. Anyways, take a look at the first page. Now you should get it working ^^

Defil3d ko3d
July 18th, 2010, 17:29
I get errors when I compile :S

Jaran
July 18th, 2010, 17:31
Post the error's here, ill try to fix it.

Also please re-download the Gui.java as I have added a txt field to type in player username in since the playerlist wont work unless you can add it server-sided.

Mish
July 18th, 2010, 17:46
GJ Jaran :D.

Jaran
July 18th, 2010, 17:50
Thx :D

Mish
July 18th, 2010, 17:51
Np how long did it take lul

Jaran
July 18th, 2010, 17:54
Not that long tbh, but ofc I used some time as it is my first Gui :p

Niator
July 18th, 2010, 18:17
I get a error:

1 error
Complete.
src\com\rs2hd\GameEngine.java:162: cannot find symbol
symbol : variable initComponents
location: class com.rs2hd.GameEngine
initComponents = new Gui();
^

Canownueasy`
July 18th, 2010, 18:17
Not that long tbh, but ofc I used some time as it is my first Gui :p

Lol did you cheat and use Netbeans?

Niator
July 18th, 2010, 18:24
Lol did you cheat and use Netbeans?
Whats so special with Netbeans?

Niator
July 18th, 2010, 18:26
EDIT: Sorry double post!
Idk why or how :S

Defil3d ko3d
July 18th, 2010, 18:27
I get the same error as niator.

Canownueasy`
July 18th, 2010, 18:42
Whats so special with Netbeans?

Pretty much does everything for you.

Niator
July 18th, 2010, 19:04
Pretty much does everything for you.
O.o
But...How?
You got to code self anyways like... It cant code for you?

Niator
July 18th, 2010, 19:57
I see that you only copied the commands in the source and added them in the buttons :P

Jaran
July 18th, 2010, 20:12
Oh snap, forgot that part. Sorry, ill add it right now :)

Edit: Now do step 3 then it should be working fine.

Oh and Niator, the internet thingy you got in your sig.. How does that help you save money for a VPS? Dosnt say anything about it on their webste :/

Niator
July 19th, 2010, 08:35
Oh and Niator, the internet thingy you got in your sig.. How does that help you save money for a VPS? Dosnt say anything about it on their webste :/

I have put in wrong link >.<

Jaran
July 19th, 2010, 15:29
Oh I see :P Anyways, did you get rid of the errors after adding what I told you to? :)

Defil3d ko3d
July 19th, 2010, 16:35
Can you add a bit where it says:

The code should now look like this.
Code: blah blah blah blah blah


Because I don't get what you mean by "add this under the last brackets".
Sorry, and thanks for when you do it :p

Jaran
July 19th, 2010, 16:58
Sure :P Give me a sec.

Edit: Added ^^

Defil3d ko3d
July 19th, 2010, 21:28
Thanks for this!
No errors compiling now.
Hopefully it will work.
Does the add item work?

Jaran
July 19th, 2010, 21:51
Tbh I can't remember :s Atleast ban, mute, kick, the send message to server functions and all the list buttons work.

Edit: Wait... Where do you get the add item function from? :o I havent added that but I could do it if I bother to keep on finishing it xD

Erased Rex
July 19th, 2010, 21:56
nice make one for PI 's :)

Jaran
July 19th, 2010, 22:09
PI is 317? Convert Rog3r's iPanel :p

Divine-X
July 21st, 2010, 18:33
Meh no offense but this GUI looks very fimiliar... .-. I know I seen this GUI somewhere but not for 562.. And if you think i'm wrong or want to be a child, don't reply to my response to this thread. And if I flamed sorry, but I don't think you made this.

Jaran
July 21st, 2010, 21:41
May I ask you for proof before you are telling me that I am leeching this? ^^ You got no proof at all so please just leave it and keep your thoughts to youself. Just ask Cj, he saw the Gui while I was making it.

Niator
July 21st, 2010, 21:55
It worked great! Or... Just the 2 first tabs but... Yeah :P
Liked the messege thing.

Jaran
July 21st, 2010, 22:25
The lists works to? Did you se your patch in the code? ;)

Niator
July 21st, 2010, 22:28
The lists works to? Did you se your patch in the code? ;)
Uhh no?
Only the kick, ban mute etc works and the yell messege ^^

Jaran
July 21st, 2010, 23:24
Have you the the right patch where it says so in the code?

Jacob
March 1st, 2011, 05:30
Looks good.

dds ledg
March 21st, 2011, 21:23
Very Nice but How do I make it so The Control Panel actually opens when I run my Server???
Thanks

EDIT: FIXED! =)

ymx boy
March 31st, 2011, 23:36
well nice job i have a different base u think u can help me