[Tut] Making someone Admin or Mod on own RS server
MAKING SOMEONE ADMIN OR MOD
Difficulty: 3/10
Purpose: Making someone admin or mod
Files to change: Client.java
Needs: Everything's in my TUT
Hi. In this TUT I'll tell you how to make someone admin or mod in your server.
Credits: Sp00nmonkey
NOTE: If you already have a server and a client running you can skip Step 1.
Step 1.
Right. First you will need your own server.
I tell you how to set it up completely in my TUT. Here's the link:
http://forum.ragezone.com/f365/tut-m...2/#post2529108
Step 2.
Ok. Now you have your server and client up and running and you can login and play.
(- Here my TUT officially begins -)
Well we are using java to play/code the game so we need to install jdk to compile and run our server.
download it from here: https://sdlc5b.sun.com/ECom/EComActi...CAD281616CC404
From there you first need to check: Accept License Agreement . Than check the btton in front of: https://sdlc5e.sun.com/ECom/docs/pic...c/dload-sm.gif Windows Offline Installation (build 06), Multi-language . And click on: Download selected with Sun Download Manager. Than it will first start to download Sun, and when it's ready installed. When Sun is downloaded it will start to download jdk right away.
When jdk is downloaded, install it.
Step 3.
Go to Start Menu > control panel > Windows Firewall
Now make sure you have allow exceptions ticked
Ok now we have to make a path for the compiling now go to:
start menu -> control panel -> system -> advanced -> enviromental variables
Ok now find the variable called "path" in the list in the new screen that just opened. Rename it to "PATH" and then for it's variable value (erase old one):
Code:
C:Windows\System32\;"C:\Program Files\Java\jdk6.0.2\bin\
You will also need to set a variables called "classpath". Make a new variable and give it the name classpath. No add this in for it's value:
Code:
C:\Program Files\Java\Java\jdk6.0.2\bin\
NOTE: Instead of jdk6.0.2 type in the version you downloaded.
Step 4.
Step 1: Right click on compiler.bat
Step 2: Now replace everything in the compiler with this:
Code:
@echo off
COLOR 04
title YOURSERVERNAME compiler
echo -------------------------
echo Files Being Compiled...
echo -------------------------
"C:\Program Files\Java\jdk1.5.0_08\bin\javac.exe" -cp . *.java
pause
cls
COLOR 02
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Files Compiled
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~
pause
NOTE: Replace the jdk1.5.0_08 with what you put in the PATH directory.
Now save, close and open the compile.bat file
Step 3: It should now open a box
Step 4: If it's successfully compiled it should say: Files sucessfully compiled
Step 5: Open Client.java located in your Server folder.
Step 6: Follow these steps according to the source you will be using
Cheezscape 80
Press Ctrl+f to search and replace EVERY x91 with your username
Project16
Press Ctrl+f to search and replace EVERY wolf with your username
Testscape
Press Ctrl+f to search and replace EVERY nvi with your username
For cheezscape find admin until you get to admin/mod list and just change the names that are there. this is the key
1- Moderators, 2- Admins, 3-Owners
IE:
Code:
public void ServerHelpMenu()
{
sendQuest("@dre@Server Information Menu", 8144); //Title
clearQuestInterface();
sendQuest("@dbl@Server Information", 8145);
sendQuest("@dbl@Server IP: @gre@"+"freescape.servegame.com", 8147);
sendQuest("@dbl@Players Online: @gre@"+PlayerHandler.getPlayerCount(), 8148);
sendQuest("@dbl@Server Hoster And Creator: @dre@"+"Mod Taharok (Thanks to Xerozcheez for making cheezescape.", 8149);
sendQuest("@dbl@Server Admins: @dre@"+" Archerer98, Silentsillu, Omega, Mod Taharok", 8150);
sendQuest("@dbl@Server Mods: @whi@"+" We Play, Imsocsi, Hi Im Bob", 8151);
sendQuest("@dbl@@gre@ and Grenade", 8153);
sendQuestSomething(8143);
showInterface(8134);
flushOutStream();
This should help you out.
Regards,
May
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Can you help me? When i install that jdk i can't start "runserver.bat"! What is going one?
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Did you change all jdk1.5.0_08to the jdk you have?
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Can you please say the dutch path to the variables?
Kan je aub zeggen hoe ik in hemelsnaam system -> advanced kan vinden?
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Start -> Configuratiescherm -> Systeem -> Geavanceerd -> Omgevingsvariablen
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
EDIT: Heb systeem gevonden, maar kan nergens gevaranceerd vinden
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Lol ik heb het allemaal :p alleen het onderste deel..
Quote:
Cheezscape 80
Press Ctrl+f to search and replace EVERY x91 with your username
Project16
Press Ctrl+f to search and replace EVERY wolf with your username
Testscape
Press Ctrl+f to search and replace EVERY nvi with your username
For cheezscape find admin until you get to admin/mod list and just change the names that are there. this is the key
1- Moderators, 2- Admins, 3-Owners
IE:
Code:
public void ServerHelpMenu()
{
sendQuest("@dre@Server Information Menu", 8144); //Title
clearQuestInterface();
sendQuest("@dbl@Server Information", 8145);
sendQuest("@dbl@Server IP: @gre@"+"freescape.servegame.com", 8147);
sendQuest("@dbl@Players Online: @gre@"+PlayerHandler.getPlayerCount(), 8148);
sendQuest("@dbl@Server Hoster And Creator: @dre@"+"Mod Taharok (Thanks to Xerozcheez for making cheezescape.", 8149);
sendQuest("@dbl@Server Admins: @dre@"+" Archerer98, Silentsillu, Omega, Mod Taharok", 8150); sendQuest("@dbl@Server Mods: @whi@"+" We Play, Imsocsi, Hi Im Bob", 8151);
sendQuest("@dbl@@gre@ and Grenade", 8153);
sendQuestSomething(8143);
showInterface(8134);
flushOutStream();This should help you out.
Regards,
May
begrijp ik niet
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Je moet gewoon bij de server die je zoekt, client.java openen en dan bijv. x91 zoeken, en vervangen met jouw naam.
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Ok i make it ok... I just needed to change patch in Runserver.bat :)
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
NO!! You need to change path in compile.bat
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Ik snap niet waarom ze het moeilijk vinden xD
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]
Re: [TUT] Making someone Admin or Mod on own RS server [TUT]