Hello I have figured out How To Make 2 Servers In 1 Base!
So Im going to share it with you in rs2hd source!
Ok! first off I want you to download this java and class file
Its Going To Be Called ServerPort.java
and ServerPort.class
Download:
http://www.mediafire.com/file/yhzzyumziz2/class's.rar
OK! Once your done follow My Steps In Order!
Step1.
Make this compiler and make it as admin.bat in the main folder where compilers are:
Code:
@echo off
echo Compiling rs2hd/admin/*.java
"C:\Program Files\Java\jdk1.6.0_12\bin\javac.exe" -d bin -cp deps/log4j-1.2.15.jar;deps/mina-core-1.1.7.jar;deps/slf4j-api-1.5.3.jar;deps/slf4j-log4j12-1.5.3.jar;xpp3-1.1.4c.jar;deps/xstream-1.3.1-20081003.103259-2.jar;deps/xpp3-1.1.4c.jar -sourcepath src src/com/rs2hd/admin/*.java
echo rs2hd/admin/*.java complete
pause
ok!
now save it.
step2. Extracting
Now Extract ServerPort.java to directory:
Code:
src\com\rs2hd\admin\
ok!
Step3. Extracting2
Ok Now Extract ServerPort.clas to file directory:
Code:
bin\com\rs2hd\admin\
Ok Well That Well Basically all! save it compile it with admin.bat
and
start server
Your Server Will Run Two Servers
One Server On
43594
And Another On
5555
Heres pics
Credits:
100% me
Offering 30% credits for the first post with a video about proof of 2 servers!