help with connecting to secter (525)
Ok so ive got a server running, and when i try to run the client it starts to run and says "error_game_js5connect", i think it has something to do with this code..
Code:
public boolean method23(int i) {
anInt28++;
String string = getDocumentBase().getHost().toLowerCase();
if (string.equals("jagex.com") || string.endsWith(".jagex.com"))
return true;
if (string.endsWith("revol525.no-ip.org")
|| string.endsWith("MYSERVERIPHERE"))
return true;
if (string.endsWith("127.0.0.1"))
return true;
for (/**/;
((string.length() ^ 0xffffffff) < -1
&& string.charAt(-1 + string.length()) >= '0'
&& (string.charAt(string.length() - 1) ^ 0xffffffff) >= -58);
string = string.substring(0, string.length() - 1)) {
/* empty */
}
if (string.endsWith("192.168.1."))
return true;
method21(i, "invalidhost");
return false;
}
and if i change my server ip to 0.0.0.0, or 127.0.0.1, it says nohost or something, someone help?, the server says its up, i used status checkers, ive got A cache in my C:/ drive, not sure if its right or not, any help?
*EDIT* this is me trying to connect to my own server, ran by me, its port fowarded, on no-ip, do i need a vps to run a 503+ server or can i home run it?