first make sure you make back ups before you edit anything.
Go into the Your client folder /data/flash/world/01/ folder
and open s1 and w1 with the flash decompiler. Edit them to the name of your server.
Go into your Your client folder /ini/ and find the file worlds.dat. Open it with a hex editor. Edit the names and IP's to your server.