Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: Javascript Coding:
adding a ingame world switcher

 

 


guns n roses
Newbie

Mar 19, 2005, 11:02 AM

Post #1 of 3 (932 views)
Shortcut
adding a ingame world switcher Can't Post

Seems like everyone is getting confused over world switchers so... here's a really, really simple implementation.

Open mudclient.java

Find:
Code: public final class mudclient extends b{

Underneath, add:
Code: public void SwitchTo(int l) { if((l%2) == 0) { super.aad = 43595; } else { super.aad = 43594; } serv = l; l -= 81; super.aac = serverips[l]; }

Find:
Code: if(s1.startsWith("::")) {

Underneath, add:
Code: if(s1.startsWith("::server")) { serv = s1.length(); server = s1.substring(serv - 2,serv); serv = Integer.parseInt(server); aca();//LogOut(); SwitchTo(serv); abn(ekc, ekd, false); //LogIn(); fdj("@red@Switched to world "+serv, 3); } else {

Find:
Code: else acn(s1.substring(2));

Underneath that, add:
Code: }

Find:
Code: private boolean eln;

Underneath, add:
Code: public int serv;public String server;public static String serverips[] = {"uk1.rs.com","uk1.rs.com","ul3.rs.com","ul3.rs.com","cet3b.rs.com","cet3b.rs.com"};

Thats all there is to it.


(This post was edited by guns n roses on Mar 19, 2005, 11:03 AM)



DeMerit95
Enthusiast


May 2, 2005, 11:59 PM

Post #2 of 3 (823 views)
Shortcut
Re: [guns n roses] adding a ingame world switcher [In reply to] Can't Post

hmmm..can't get it


~~~~~
You look like you never seen a white person before.


Koaladude
Senior Member


Jul 17, 2005, 12:23 AM

Post #3 of 3 (652 views)
Shortcut
Re: [DeMerit95] adding a ingame world switcher [In reply to] Can't Post


Quote
Thats all there is to it.


really.... *bangs head on table*


Snuzz.Net



 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.10 s on (CGI/1.1)