A Guide to Running/Starting a Runescape Private Server on a Macintosh Computer
I am doing this guide for pure educational purposes only. I have noticed a lack of voice for Mac users in the community. I am here to fix that. It can be a long road to a working server on mac due to compatibility issues. I, with the help of Ry60003333, have gotten around most of these problems. I learned all my knowledge from Ryan, but I am willing to share it with the community.
First off, let me explain some things:
- Macintosh computers are easily conquered if you have the right tools, a brain, willingness to learn, and a sense of patience.
- It doesn't matter what version you have, but I can only really limit questions to Mac OSX and Snow Leopard.
- Sine there is no execution file type on mac (like there is on windows), compiling and running can be a bit more difficult.
- A few terminal commands will get your right around these simple processes, but may help you learn something.
- The simple run command (will vary) is: Java -Xmx500m server (Note: 500m refers to 500mb. Adjust this as you see fit.)
- The Compiling command can be tricky on the first try. I will explain it later.
Lets get started.
I think we all know by now that Macs are different from Windows.Macintosh comes with JDK and Java pre-installed!!
To start a server, basic knowledge of drag-and-drop is assumed.
Step 1: Get a source. Server Downloads: https://forum.moparscape.org/index.php/board,49.0.html/
Step 2: A no-ip account is assumed to be in your possession. https://www.noip.com
Step 3: Log into your account, Click "Manage Hosts", Click "Add a host"
Step 4: Fill in the ip address box with the ip address from this website.
Step 5: Select DNS Host A, choose your name in the Hostname box, and click create.
Step 6: Download the No-Ip Duc for Macintosh.
Step 7: Download, Install, and Update that.
Step 8: Portforwarding.
A. Click the Network button in the upper right corner of the screen and click on "Open Network Preferences."
B. Click TCP/IP. Look for Router: 220.127.116.11 or a variation of that. Copy and paste it in your browser.
C. Login with either, User: "Admin" & Pass: "Admin"; U: "Admin" & P: ""; or if you have changed it, you know
D. Navigate to some form of Advanced>Port-forwarding
E. Fill in the required boxes.
a) Ip Address: Navigate to Network Preferences in System Preferences just like you did in step 8A. Look for the network you are connected to. In my case, it was "The Hallmans." You will know because under the network, it will say "Connected." Look for "'Your Computer Name' is connected to 'Network Name' with the ip address 'XXX.XXX.X.XXX'." This will be the ip you use in the Ip Address box in port-forwarding.
b) TCP: 43594 "Always Allow" or "Allow All"
c) (If you have) UDP: 43594 "Allows Allow" or "Allow All"
d) Save settings and restart your router.
F. Congratulations, you have now port-forwarded.
Step 9: Compiling. Note: Some sources are not compatible for mac. It would be impossible to convert some of the methods called using Windows. You will just have to suffice.
A. Find your source in a New Finder window.
B. Open a terminal window adjacent to it.
Type this: "cd " (with the space after it)
Now, look at your finder window. Do you see the folder Icon next to the title of the client's folder? Click and Drag it to the terminal window and let go.
You should now have:
Type "javac *.java" (without quotes). Press return.
If your source is compatible, it should have no errors. Somethings can be fixed easily so post here if you get errors.
Step 10: Running.
Find your servers run.bat file, open it, and copy the line that says something along the lines of "java -Xmx500m server"
Paste it into the same terminal window as you just compiled, (assuming you got no errors.)
Note: If your run command has semicolons in it, change those to colons. This is a compatibility issue from Windows to Macintosh.
java -Xmx512m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
should be changed to
java -Xmx512m -cp .:./jython.jar:./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
Press enter. You should get a message saying your server is up and running!
CONGRATULATIONS. You have finally gotten a server on your Macintosh computer.
Post any errors you might get when running, they can vary, but we can usually fix them. ::FOR THE ADVANCED ONLY::
This mini-section will be about making a Shell. This is an easy way to run a server or client.
Note: Shell files are the equivalent to a batch file in Windows.
Refer to step 10 to get your run command.
A shell that compiles and runs:
A shell that just runs:
To create a shell, open TextEdit. Make a new File. Format>Make plain text.
Fill the file with the desired elements and save it as the corresponding name with the extension .sh
To run a shell:
Open terminal, type "bash " and drag the shell file into terminal. Hit enter. It should have worked if you created on correctly.::::
I do not expect a Thanks from every person that reads this, but some would be appreciated.
Constructive criticism is encouraged, and appreciated.
Posts such as "this sucks" are not appreciated and will be ignored to the fullest.This guide was written by Tanner, "delicious", in full enjoyment for the Moparscape Community on Wednesday, January 27, 2010 at 6:30 PM.
All Rights Reserved.
Runescape does not belong to me.
It is property of Jagex, Ltd.
I take no credit for the creation of the game, or anything affiliated with Runescape itself.
By reading this guide, you accept that I am the original creator of this, and by all means, if you decide to post it elsewhere, give me credit, Tanner, "delicious" from Moparscape. That is all I ask.