RuneScape 2 Development > Server Tutorials

Automatic Port Forwarding

<<< (50/58) >>>

I evil I:
i got an error in my run.bat, the compile workede perfectly (im using windows 7)

--- Code: ---Loaded clipmap in 36ms.
[6/9/11 10:13 PM]: Launching HyBriD PvP...
[6/9/11 10:13 PM]: Exception in thread "main" [6/9/11 10:13 PM]:
ception: Address already in use: bind
[6/9/11 10:13 PM]:      at Method)
[6/9/11 10:13 PM]:      at
[6/9/11 10:13 PM]:      at
[6/9/11 10:13 PM]:      at org.apache.mina.transport.socket.nio.SocketAcceptor.r
[6/9/11 10:13 PM]:      at org.apache.mina.transport.socket.nio.SocketAcceptor.a
[6/9/11 10:13 PM]:      at org.apache.mina.transport.socket.nio.SocketAcceptor$W
[6/9/11 10:13 PM]:      at
[6/9/11 10:13 PM]:      at
Press any key to continue . . .
--- End code ---

(nvm im a badass and i fixed it :) )

But it didnt port forward my no-ip :( still says error connecting to server


--- Quote from: Sharkboy2222 on June 09, 2011, 01:39:04 AM ---i need help on mine my run.bat is

--- Quote --- @echo off
title PkPlanet Running
java -Xmx1200m -cp .;./jython.jar;./MySql/mysql-connector-java-1.7.0-ga-bin.jar server
--- End quote ---
and my compiler.bat is

--- Quote --- @echo off
if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
if defined p (%p% -cp . *.java)
if defined p (goto end)
echo You do not have Java installed. Please download it at the site that is about to load.
"%programfiles%\Internet Explorer\iexplore.exe"
echo Finished!
--- End quote ---

also i cannot find

--- Quote --- public static void main(String[] args)
--- End quote ---
i looked it up to see if i could find it but i couldnt

--- End quote ---
can anyone help?

VERY VERY Helpful! But I still have one problem with my router (Not from this :)), I portforwarded manually, I used this and I have a static IP, but when I use a Open Port check tool, as or they still say I have no connection, I check my router has UPnP enabled, and when my server is on I can even see that it is active.. Can this be something in my modem or?...

what does it do when u click run server it auto port forward it?

Excellent application!  I have integrated your automatic port forwarding classes into a java-based server that I have written, and all works well.  However, the entry it makes in the router table refers to Runescape, which, of course, is not releated to my server.  Is there a simple way to change this, or may I have access to your source code to change it myself?


[0] Message Index

[#] Next page

[*] Previous page

Go to full version
Powered by SMFPacks SEO Pro Mod |