ItzLoganDuh 1 Report post Posted May 23 I can get the gate server to work but the the group server wont work, but then when I get the group server to work the gate server wont connect. Currently GateServer 1.38 (by: Sheep Squad) client Constructor server Constructor Try to open LisenSocket [ Port: 1971 ip: 192.168.1.254] File:l:\top server\topsrcs\srvsrcs\gateserver\src\togameserver.cpp Line:22 desc:ToGameServer listen failed Gate server config [Main] Name = GateServer Version = 700 [GroupServer] IP = 192.168.1.254 Port = 1975 EnablePing = 180 [ToClient] IP = 0.0.0.0 Port = 1970 CommEncrypt = 1 EnablePing = 60 MaxConnection = 1000 WpeProtection = 1 WpeVersion = 0x8D9A DDoSProtection = 1 CheckSpan = 2 CheckWaring = 20 CheckError = 40 [ToGameServer] IP = 192.168.1.254 Port = 1971 EnablePing = 180 [ShowRange] ShowMin = 500 ShowMax = 800 IsUse = 1 [Chaos] Map = PKmap IsActive = 1 Group server config // The Pirate King online game server group GroupServer configuration file [Main] Name = GroupServerAndor1 Listen_Port = 1975 Listen_IP = 192.168.1.254 KeepAlive = 900 Version = 103 [AccountServer] AcctEnable = 1 Password = GroupServerAndor1 IP = 192.168.1.254 Port = 1978 [Database] IP = localhost\SQLEXPRESS DB = GameDB Login = pko_game Password = EZCpyYOZVocDE5Dc2KURBQ== // SQL Pass: Y87dc#$98 MaxVal = 4294967295 //2000000000 //maybe will make a difference [character] MaxCharacterNum = 3 MaxValue = 30 MaxPerson = 3000 [friend] MaxInvitedNum = 5 InvitedTime = 30 MaxFriendNum = 50 FriendGroupNum = 10 [team] MaxInvitedNum = 5 InvitedTime = 30 MaxPersonNum = 5 [chat] MaxChatNumPerPlayer = 30 maxPlayerPerChat = 50 WorldInterval = 60 TradeInterval = 300 ToYouInterval = 2 WorldFee = 1000 WorldFeeInterval = 1000 SpeakerInterval = 500 [birth] Argent City = garner Shaitan City = garner //CHANGE to magicsea later Icicle Castle = garner //CHANGE to darkblue later [account] equal = 0 Game server config [ID] name = GameServer00 equment = system [Gate] gate = 192.168.1.254, 1971 [Map] map = garner map = teampk map = lonetower map = abandonedcity map = abandonedcity2 map = abandonedcity3 //map = darkswamp map = pkmap map = ctf map = egtown //map = dyisland map = 07xmas2 map = jialebi map = bountypk [DB] db_name = GameDB db_ip = DESKTOP-7AF568B\SQLEXPRESS db_usr = pko_game db_pass = EZCpyYOZVocDE5Dc2KURBQ== // SQL pass: Y87dc#$98 [Socket] keep_alive = 120 [BaseID] BaseID = 0x50000000 [Entity] max_ply = 850 max_cha = 25000 // 15000 max_item = 30000 max_tnpc = 300 [Guild] guild_num = 30 // max in guild guild_try_num = 30 // allowed to register [Item] item_show_time = 60 item_prot_time = 15 [Interval] say_interval = 1 weather_interval = 900 // every 15 minutes instead of 2 [LOG] log_cha = 0 log_cal = 0 log_ai = 0 log_mission = 0 [Debug] supercmd = 1 gmcmd = 0,1,2,3,4,5,6 [Res] res_dir = ./resource log_dir = LOG\\GameServer00 [Large map switch] db_mapmask = 1 [Corsairs] stall_offline = 1 stall_empty_dc = 1 // disconnect on empty stall stall_interval = 120 igs_instant = 1 chaos_map = garner22 chaos_blind = 1 // blinds "chaos_map" in cfg persist_state = 48,49,147,83 I got it to load and loaded in with everything at defaults, but then when I changed the ip address to my public ip so my friends could join everything went downhill. Do I not just set all the ip addresses to my public ip? I forwarded the ports. Any help would be greatly appreciated Quote Share this post Link to post Share on other sites
kyleflow 34 Report post Posted May 26 I'm not entirely sure that your ip can use port forwarding. the starting IP 192.168.X.X itself is not a unique one in my opinion. I did once used another way to connect but I forgot the platform but sure lag as hell for my friends hehe Quote Share this post Link to post Share on other sites
ItzLoganDuh 1 Report post Posted May 26 I had it set to my public ip but none of the servers would connect to one another so I changed it to local ip to try and they still dont talk to each other. I had it working was logged in and everything with everything at default settings so idk. I was following this tutorial. Quote Share this post Link to post Share on other sites
kyleflow 34 Report post Posted May 27 My point is that, the IP itself is not viable. try using this medium to let your friends get connected to your server. found this as i remember hamachi. The Best LogMeIn Hamachi Alternatives in 2023 ZeroTier. PlayHide VPN. GameRanger. NetOverNet. Wippien. Parsec. FreeLAN. SoftEther. Quote Share this post Link to post Share on other sites
ItzLoganDuh 1 Report post Posted May 28 IDK what any of that has to do with it. I got my servers to connect to one another and now I cant get my client to connect are there any guides on that? Quote Share this post Link to post Share on other sites
ItzLoganDuh 1 Report post Posted May 28 (edited) I set the Ip's to the default local host of 127.0.0.1 and everything works when I change to my public ip the gate server cant seem to connect. Any tips or ideas? It cant seem to listen to the game server? idk what that means just says gameserver cant listen Edited May 29 by ItzLoganDuh Quote Share this post Link to post Share on other sites
ItzLoganDuh 1 Report post Posted May 29 try to connect try to connect try to connect try to connect SSL socket accpeted onconnect onconnected Client Hello called GetDisconnectErrText: -31 try to connect Any idea what this means? Quote Share this post Link to post Share on other sites
kyleflow 34 Report post Posted May 29 12 hours ago, ItzLoganDuh said: IDK what any of that has to do with it. I got my servers to connect to one another and now I cant get my client to connect are there any guides on that? I mean if you want your friends to connect to your server since the IP you mentioned does not seem viable. Anyway, on your concern over GS is not connecting properly, I also have issues on the guide made by that video and I stop using it. You can try the one release by GOAT/Dan. thats a good one and I'm using that currently. A lot more content made and the game fun to use. But you need to read through the post to get the necessary files and exe to make it work but it will work. If you need further help on setting things up. I can help on that particular files. Quote Share this post Link to post Share on other sites
ItzLoganDuh 1 Report post Posted May 29 3 hours ago, kyleflow said: I mean if you want your friends to connect to your server since the IP you mentioned does not seem viable. Anyway, on your concern over GS is not connecting properly, I also have issues on the guide made by that video and I stop using it. You can try the one release by GOAT/Dan. thats a good one and I'm using that currently. A lot more content made and the game fun to use. But you need to read through the post to get the necessary files and exe to make it work but it will work. If you need further help on setting things up. I can help on that particular files. I was worried about that once I found the other files. Ok I'll try starting over with new files. Thanks! Quote Share this post Link to post Share on other sites
kyleflow 34 Report post Posted May 29 (edited) 5 hours ago, ItzLoganDuh said: I was worried about that once I found the other files. Ok I'll try starting over with new files. Thanks! This is the post containing all the files but the post owner link is broken. Just read through the post and you will get the proper link files. the one from ruubi is the basic files by Dan and the password is that long message. ruubi also provide the files for the client. and in the later reply, there is an exe files which you put inside the server files folder. and thats pretty much it. and just set it and its good to go. Edited May 29 by kyleflow forgot the link post Quote Share this post Link to post Share on other sites
ItzLoganDuh 1 Report post Posted May 29 (edited) I got the server set up, but now which ip's do I change to make my server to where my friends can join. I used a top2 built kit and I can connect. Which Ip do I change? There is a client side thing I haveto change? I had found a guide but I cant seem to find it Edited May 29 by ItzLoganDuh Quote Share this post Link to post Share on other sites
ItzLoganDuh 1 Report post Posted May 29 I DID IT SERVER SET UP EVERYTHING IS AWESOME Quote Share this post Link to post Share on other sites