Gate Server connect Failed 3901

12/10/2018 14:37 Nitrouscar01#16
Quote:
Originally Posted by torafaruga View Post
Just use hamachi to test with your friend



Change serverlost to 127.0.0.1

Changed serverlist5.php to 127.0.0.1 but it still threw the same error unfortunately.
Also tried with Hamachi but got the exact same error. The issue does not appear to be connecting, as I can log in and select the server, but as soon as it takes me to the character creation screen it throws the gate server connect failded 3901.
12/11/2018 00:19 DretoNEX#17
I would recomend changing the server ip to 192.168.1.xxx from 127.0.0.1 should fix your connection problems.
12/11/2018 06:39 Nitrouscar01#18
Quote:
Originally Posted by DretoNEX View Post
I would recomend changing the server ip to 192.168.1.xxx from 127.0.0.1 should fix your connection problems.
Should absolutely everything be changed to 192.168.1.242? Reg, RohanAuth, everything? Also could this be a client issue?
12/11/2018 06:57 Nitrouscar01#19
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet]
"Nation"="US"
"ServerDir"="C:\\RoHan"
"LogDir"="C:\\RoHan\\Log"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\AI]
"ConnMap"="0-2|0-3|0-4|1-0|1-1|1-2|1-3|1-4|2-0|2-1|2-2|2-3|2-4|3-0|3-1|3-2|3-3|3-4|4-0|4-1|4-2|4-3|4-4|4-5|5-0|5-1|5-2|5-3|5-4|5-5|6-0|6-1|6-2|6-3|"
"DBServer"="192.168.1.242:22500"
"LogServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"ServerClass"="FAIRY.ROHAN_4.AI.ROHAN_4_1"
"ServerClassMap"="FAIRY.ROHAN_4.MAP_AI.ROHAN_4"
"ThreadSleep"=dword:0000005f
"Module"="C:\\RoHan\\Fairy\\AIServer\\AIServer.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\DB]
"ServerClass"="FAIRY.ROHAN_4.DB.ROHAN_4"
"Module"="C:\\RoHan\\Fairy\\DBServer\\DBServerT.exe"
"LoginDB"="DRIVER={SQL Server};SERVER=SERVER2008\\LocalServer;UID=sa;PWD=123;DATABASE=RohanUser"
"GameDB"="DRIVER={SQL Server};SERVER=SERVER2008\\LocalServer;UID=sa;PWD=123;DATABASE=RohanGame"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\Interrupt]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\LOG]
"DBServer"="192.168.1.242:22500"
"ServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"Module"="C:\\RoHan\\Fairy\\LogServer\\LogServer.exe"
"LogDB"="DRIVER={SQL DRIVER={SQL Server};SERVER=SERVER2008\\LocalServer;UID=sa;PWD=123;DATABASE=rohanstat"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\LogCopy]
"LogFTP_IP"="192.168.1.242"
"LogFTP_ID"="rohan-dev"
"LogFTP_PW"="dlsehvotm!@#$"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\MAP]
"Title"="Map US"
"LogServerClass"="FAIRY.ROHAN_4.LOG.ROHAN_4"
"ServerClassAI"="FAIRY.ROHAN_4.MAP_AI.ROHAN_4"
"ServerClass"="FAIRY.ROHAN_4.MAP.ROHAN_4"
"DBServer"="192.168.1.242:22500"
"Module"="C:\\ROHAN\\Fairy\\MapID\\MapID.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\Monitor]
"CodeDB"="DRIVER={SQL Server};SERVER=SERVER2008\\LocalServer;UID=sa;PWD=123;DATABASE=RohanCode"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom]
"ConfigPath"="D:\\Fairy\\RelayCom\\RelayCom.config"
"LogPath"="d:\\Log\\RelayCom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom\Consign]
"config"="D:\\Fairy\\RelayCom\\Consign.config"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RelayCom\Login]
"ip"="192.168.1.242"
"port"=dword:000071ac
"poolsize"=dword:0000001e

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Geomind\Gamenet\RohanCom]
"ConfigPath"="C:\\sslcer\\Fairy\\RohanCom\\RohanCom.config"
"LogPath"="C:\\sslcer\\Fairy\\Log\\RohanCom"
"LanguageID"="KRKSC"
Code:
<?php
$serverName = "SERVER2008\LocalServer" ;
$uid        = 'sa'              ;
$pwd        = '123'        ;

$connectionInfo = array( "UID"      =>  $uid        ,
                         "PWD"      =>  $pwd        ,
                         "Database" =>  "RohanUser"
                       );

$oConn = sqlsrv_connect( $serverName, $connectionInfo);
if( $oConn === false ) {
	print_r( sqlsrv_errors(), true);
  die (-1000); # Unable to connect to the database
}

?>
Code:
<?php
$serverList = 'Server One|192.168.1.242|22100|3|3|1|0|0|0|SwiftAngels Servers|';

HttpResponse::setData( $serverList );
HttpResponse::send();

?>
Heres all my configs if this helps at all! I wanna say its right on the verge of working...which also makes it that much more frustrating! Your guy's input is greatly appreciated!

I've also have it change error message whilst I was tinkering with it. Instead of gate server connect error 3901 I get 3002. Don't know if thats better or not.

================================================== =======
UPDATE
================================================== =======

Got it working! Turns out it was just a client issue! However now I am having the same issue as the first guy was having. Put my WAN IP from my ISP in serverlist5.php and made the clients start the game with that same IP and tested from a remote location and it gave the http_status_server_error thing. All ports are forwarded to the server LAN IP. Did I miss a port? Even tried with Hamachi. Maybe I just did it wrong. Do you put the Hamachi IPv4 in the server list 5.php and connect the client with that IP as well?
12/11/2018 16:58 kristian4#20
start apache?
12/12/2018 00:59 DretoNEX#21
Could also be if you have skype installed your https and http port 443 / 80 wont work since skype uses those.

Can't help with unless i know more add me on discord Dreto#8843
12/12/2018 01:03 Nitrouscar01#22
Quote:
Originally Posted by kristian4 View Post
start apache?
Apache is running as the rest of the website runs off the same server

Quote:
Originally Posted by DretoNEX View Post
Could also be if you have skype installed your https and http port 443 / 80 wont work since skype uses those.

Can't help with unless i know more add me on discord Dreto#8843
Server is running Windows Server 2008 R2 no IIS or Skype installed, just xampp. Will add you on discord!
12/14/2018 12:44 ddarmondy#23
Quote:
Originally Posted by DretoNEX View Post
Could also be if you have skype installed your https and http port 443 / 80 wont work since skype uses those.

Can't help with unless i know more add me on discord Dreto#8843

bro Dreto, I added you on Discord.
coz I tried to run the new hero III DB shared here [Only registered and activated users can see links. Click Here To Register...]

and my DBserver and Logserver is running, but when I run my mapID it autocloses. Hope you can help me bro, thanks in advance!
05/13/2020 11:29 edcilm2002#24
did you solve this? i did. let me know if you still need help.
05/13/2020 21:24 Nitrouscar01#25
Quote:
Originally Posted by edcilm2002 View Post
did you solve this? i did. let me know if you still need help.
I believe it was a port forwarding issue. There were a bunch of ports I had to forward I didnt know about
05/15/2020 07:11 tagsnek#26
Try to change your .bat file

@[Only registered and activated users can see links. Click Here To Register...] off
start rohanclient.exe "http://YourServerIP"


Local Only:
@[Only registered and activated users can see links. Click Here To Register...] off
start rohanclient.exe "http://127.0.0.1P"