So.. What is it that you need help with ?
|
EDIT EDIT EDIT:
NOTICE: MY SERVER *IS* APPARENTLY ONLINE ON THE MOPARSCAPE SERVER STATUS PAGE, YET PLAYERS CAN'T CONNECT TO MY SERVER WHEN THEY DOWNLOAD MY CLIENT.
http://www.moparscape.org/serverstat...cape.no-ip.org
-------------------------------------------------------------------------------------------------------------------------------------
ALRIGHT CHUMS! DON'T HELP IF YOU DON'T KNOW WHAT YOU'RE DOING, BECAUSE I DON'T KNOW WHAT I'M DOING ALSO.. SO IF THERE'S TWO OF US THAT DON'T KNOW WHAT WE'RE DOING TRYING TO HELP EACH OTHER OUT WE'RE GOING TO GET......
TO A MAGICAL BIG FAT SUCKY LAND CALLED....
NOWHERE. Mk? KTHX. ANYWAY:
-------------------------------------------------------------------------------------------------------------------------------------
Literally, my server is online, and I am able to connect. I have portforwarded correctly, and everything is as it should be. Everything, honestly, is running smoothly. Except for one thing.......... PLAYERS CAN'T GET ONLINE. WHY?!
My server's name is PloxScape. Mk?
My server IP is ploxscape.no-ip.org. Mk?
My local connection IP would be 127.0.0.1. Mk?
Inside my PloxScape Client folder and PloxScape Server folders, are files that must be connected to one of those two IP addresses listed above. Mk?
I know all of this information.. But, heh, heh, eh.. Here's the thing: I'VE ****ED IT ALL UP AND DONE GOOF'D.
-------------------------------------------------------------------------------------------------------------------------------------
INSIDE "PloxScape Client" are files called "client.java" and "gui.java". Mk?
CODES FROM CLIENT.JAVA (Client sided)
privatepaste.com :: Paste ID 565af7210d
-----------------------------------------------------------
CODES FROM GUI.JAVA (Client sided)
privatepaste.com :: Paste ID cf07b02e02
-------------------------------------------------------------------------------------------------------------------------------------
INSIDE "PloxScape Server" are files called "client.java" and "server.java". Mk?
CODES FROM CLIENT.JAVA (Server sided)
http://privatepaste.com/download/0bdbf570f4
-----------------------------------------------------------
CODES FROM SERVER.JAVA (Server sided)
-------------------------------------------------------------------------------------------------------------------------------------
All ya gotta do now, chums, is tell me which IP addresses from the beginning of this thread goes where and correct the horrible mistake I've made, which I apologize for, having to ask you good people who are far more skilled than I for help.
Thanks so much for helping me!
So.. What is it that you need help with ?
Oh wow. You're all I've got. ._. OKAY! REPLACING the IP addresses I've already put into those files and correcting them to what they should be. Because if you look into the server and client files, I've obviously placed them about incorrectly to where players can't get on my server. They need to be either ploxscape.no-ip.org or 127.0.0.1. And I don't know what goes where.
Get rid of the attitude and red if you want any help from anyone.
not everyone is a useless spastic, especially those on r-s, just tell us the problem and if you're lucky someone experienced will help.
im guessing you cant connect to your server
google whatismyip.com or .org whatever it us, and put that address in the status checker.
in your client, use the address from that web page
run your server. open the client. if you can't connect, your port probs is not open.
use this to check if your port 43594 or 5555 (which ever you are using) is open
edit: after looking at the servers' pastie im thinking wdf...
the commented out code is retarded, good its commented outCode:public void run() { // setup the listener try { shutdownClientHandler = false; clientListener = new java.net.ServerSocket(serverlistenerPort, 1, null); misc.println("Your server is now online."); while (true) { try { java.net.Socket s = clientListener.accept(); s.setTcpNoDelay(true); String connectingHost = s.getInetAddress().getHostName(); if ( /* * connectingHost.startsWith("localhost") || * connectingHost.equals("ploxscape.no-ip.org") */true) { if(clientListener == null){ s.close(); } if (connectingHost.contains("74-129-182-147.dhcp.insightbb.com")) { misc.println("Checking Server Status..."); s.close(); } else { connections.add(connectingHost); if (checkHost(connectingHost)) { misc.println("Connection from " + connectingHost + ":" + s.getPort()); playerHandler.newPlayerClient(s, connectingHost); } else { here misc.println("ClientHandler: Rejected " + connectingHost + ":" + s.getPort()); s.close(); } } } else { misc.println("ClientHandler: Rejected " + connectingHost + ":" + s.getPort()); s.close(); } if ((delayUpdate > 0) && (System.currentTimeMillis() > delayUpdate)) { delay = 50; delayUpdate = 0; } Thread.sleep(100); } catch (Exception e) { logError(e.getMessage()); misc.println("Tell bluurr method 1 was the cause of the freezing."); } } } catch (java.io.IOException ioe) { if (!shutdownClientHandler) { misc.println("Server is already in use."); } else { misc.println("ClientHandler was shut down."); } } } }
i'd add a system.out.println("check1"); where i put here to check that connections are not being rejected
Thank you for the help Shadowy! Unfortunately, I CAN connect to my server. But only I can. :\ My ports are open, and my No-Ip is online. I just can't get other players on my server. MoparScape server status page is also saying my server status is online, so I'm very confused on what to do. Perhaps... YES. JUST PERHAPS. Maybe I didn't JAR the files right... Could this have anything to do with it?
edited my post
im guessing the client doesnt have 43594 as the port, hence why it cant connect
server and status checker use 43594 hence they work
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |