I wanted to refrain from posting here but at this point, after 3 days, it can't be helped.
I downloaded the MX3 official release from Cjay about 4 days ago and attempted to get it all loaded into Eclipse and working properly.
I managed to get it into Eclipse with no errors except for needing to update my workspace to source 1.8 (or something like that).
I had set my Game launcher and Login launcher parameters in the Run Configuration menu to use Hosted mode, and ran into 'cannot bind to port' 'failed to bind to ip' 'bad location' errors. I used Hosted mode = true, debug mode = false, and nonhosted_sharing = false in Settings.java for this.
After consulting a few fellow R-S members, I changed the booleans to Hosted = false, debug = false, and nonhosted_sharing = true. Upon running the login-server I didnt get an error. Upon running the Game-server I got an error but it was an error that did not terminate the process.
Code:
ERROR! THREAD NAME: udpdevicewrite-9283938
java.net.BindException: Cannot assign requested address: Datagram send failed
at java.net.DualStackPlainDatagramSocketImpl.socketSend(Native Method)
at java.net.DualStackPlainDatagramSocketImpl.send(Unknown Source)
at java.net.DatagramSocket.send(Unknown Source)
at com.rs.net.UDPDevice$2.run(UDPDevice.java:114)
After that running the client loaded the cache and I was able to enter a username and password and press login, however after a few client freezes and a minute or 2 I would get different errors depending on which IP I was using. Using 0.0.0.0 or 127.0.0.1 gave me "error connecting to server" messages. Using my IPv4 address gave me a "No response from login-server, please try again later." I Had changed the IPs in Settings.java for Nonhosted_sharing and in GameWorld.java but the one in GameWorld.java only pertains to the server being Hosted = true.
So after messing with all that and not reaching a solution, I deleted the project from Eclipse and loaded a fresh one from the .rar. This time around I started with login/game server arguments as "true false", and "1 true false false false" respectively. Change the IP's to my IPv4 and made sure my ports were open. Now I get this error:
Code:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10
at com.rs.utils.huffman.Huffman.init(Huffman.java:17)
at com.rs.GameLauncher.main(GameLauncher.java:87)
Flame all you want but i'm stumped. Thanks for reading.