Router Issue

Discussion about Helbreath Server Files.
Post Reply
pg120
noob
Posts: 24
Joined: Wed Jul 27, 2005 5:22 am

Post by pg120 »

So here is the deal. Whenever someone switchs maps, it will count as if the server were down and they would need to relog in. Is there any way of fixing this problem to let it connect properly with router?
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

double-check the hgs's configs to be at LAN and internal/external ips are the right ;)
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
pg120
noob
Posts: 24
Joined: Wed Jul 27, 2005 5:22 am

Post by pg120 »

The ips in there are correct, and its set to LAN, but its still doing the problem, any other suggestions?
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

pg120 wrote: The ips in there are correct, and its set to LAN, but its still doing the problem, any other suggestions?
its obviously the hgs wich wont respond or connect to ml server. Do u get any error messages in the ml server when u startup the hg??

(PS. it might be that i meant wl instead of ml lol dont know wich does what :P)
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

Sprint wrote:
pg120 wrote: The ips in there are correct, and its set to LAN, but its still doing the problem, any other suggestions?
its obviously the hgs wich wont respond or connect to ml server. Do u get any error messages in the ml server when u startup the hg??

(PS. it might be that i meant wl instead of ml lol dont know wich does what :P)
do you even know what you are talking about? re-read through what you just wrote and then slap yourself in the face.
<i>"Always write good code. Feel bad to write bad code."</i>
DeathFangX
noob
Posts: 22
Joined: Wed Apr 28, 2004 8:56 pm

Post by DeathFangX »

Nicely said Charles :) Made me laugh..
DeathFangX
noob
Posts: 22
Joined: Wed Apr 28, 2004 8:56 pm

Post by DeathFangX »

If you're hosting behind you're router, the best solution to stop DC'ing when you change maps is to host all the maps under 1 HG Server, because when you host behind a router, theres a lot of redirecting going on, and its to much for the GateServer to handle 2 or more HG servers at once so it Disconnects you when youre switching from one HG Server to the other. Therefore, host all the maps under 1 HG server and you should be fine.
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

Charles wrote:
Sprint wrote:
pg120 wrote: The ips in there are correct, and its set to LAN, but its still doing the problem, any other suggestions?
its obviously the hgs wich wont respond or connect to ml server. Do u get any error messages in the ml server when u startup the hg??

(PS. it might be that i meant wl instead of ml lol dont know wich does what :P)
do you even know what you are talking about? re-read through what you just wrote and then slap yourself in the face.
Do u think u can make me do anything u want??!?!? Fucking tard. Check ur PMs
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
SlammeR
Loyal fan
Posts: 219
Joined: Fri Nov 04, 2005 1:52 am
Location: Brazil

Post by SlammeR »

pg120 wrote:So here is the deal. Whenever someone switchs maps, it will count as if the server were down and they would need to relog in. Is there any way of fixing this problem to let it connect properly with router?
snoopy fixed it long time ago...

Code: Select all

	case DEF_NOTIFY_SERVERCHANGE:
  memcpy(cp, m_pClientList[iToH]->m_cMapName, 10);
  cp += 10; 
  if (m_iGameServerMode == 1)
  if (memcmp(m_cLogServerAddr, m_cGameServerAddr, 15) == 0)
  memcpy(cp, m_cGameServerAddrExternal, 15);
  else
  memcpy(cp, m_cLogServerAddr, 15);
  else
  memcpy(cp, m_cLogServerAddr, 15);
  cp += 15;
  ip = (int *)cp;
  *ip = m_iLogServerPort;
  cp += 4;
  iRet = m_pClientList[iToH]->m_pXSock->iSendMsg(cData, 16 +19);
  break;
works for me ;D
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

Sprint wrote:
Charles wrote:
Sprint wrote: its obviously the hgs wich wont respond or connect to ml server. Do u get any error messages in the ml server when u startup the hg??

(PS. it might be that i meant wl instead of ml lol dont know wich does what :P)
do you even know what you are talking about? re-read through what you just wrote and then slap yourself in the face.
Do u think u can make me do anything u want??!?!? Fucking tard. Check ur PMs
hold your panties k... i don't have any pms kid. so if you want to message me, actually send me a pm first.
DeathFangX wrote: If you're hosting behind you're router, the best solution to stop DC'ing when you change maps is to host all the maps under 1 HG Server, because when you host behind a router, theres a lot of redirecting going on, and its to much for the GateServer to handle 2 or more HG servers at once so it Disconnects you when youre switching from one HG Server to the other. Therefore, host all the maps under 1 HG server and you should be fine.
you should never host all maps on 1 HG.
<i>"Always write good code. Feel bad to write bad code."</i>
DeathFangX
noob
Posts: 22
Joined: Wed Apr 28, 2004 8:56 pm

Post by DeathFangX »

Why's that?
1+12
Member
Posts: 173
Joined: Sat Feb 04, 2006 5:05 pm

Post by 1+12 »

CPU Mem usage on one HGServer over powers it.

If it crashes the whole server is pretty much down.
pg120
noob
Posts: 24
Joined: Wed Jul 27, 2005 5:22 am

Post by pg120 »

SlammeR wrote:
pg120 wrote:So here is the deal. Whenever someone switchs maps, it will count as if the server were down and they would need to relog in. Is there any way of fixing this problem to let it connect properly with router?
snoopy fixed it long time ago...

Code: Select all

	case DEF_NOTIFY_SERVERCHANGE:
  memcpy(cp, m_pClientList[iToH]->m_cMapName, 10);
  cp += 10; 
  if (m_iGameServerMode == 1)
  if (memcmp(m_cLogServerAddr, m_cGameServerAddr, 15) == 0)
  memcpy(cp, m_cGameServerAddrExternal, 15);
  else
  memcpy(cp, m_cLogServerAddr, 15);
  else
  memcpy(cp, m_cLogServerAddr, 15);
  cp += 15;
  ip = (int *)cp;
  *ip = m_iLogServerPort;
  cp += 4;
  iRet = m_pClientList[iToH]->m_pXSock->iSendMsg(cData, 16 +19);
  break;
works for me ;D
It worked. Thanks SlammeR for posting and Snoopy for the released B)
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

Charles wrote:
Sprint wrote:
Charles wrote: do you even know what you are talking about? re-read through what you just wrote and then slap yourself in the face.
Do u think u can make me do anything u want??!?!? Fucking tard. Check ur PMs
hold your panties k... i don't have any pms kid. so if you want to message me, actually send me a pm first.
DeathFangX wrote: If you're hosting behind you're router, the best solution to stop DC'ing when you change maps is to host all the maps under 1 HG Server, because when you host behind a router, theres a lot of redirecting going on, and its to much for the GateServer to handle 2 or more HG servers at once so it Disconnects you when youre switching from one HG Server to the other. Therefore, host all the maps under 1 HG server and you should be fine.
you should never host all maps on 1 HG.
HAHAHAHA YOU GOT OWNED NOW DIDNT U :lol: :lol: Didnt ever send any PM and i dont inted to send any to you your little fucker. You are under my force n0000b HAHAHAHA :lol: :lol:
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

Sprint wrote:
Charles wrote:
Sprint wrote: Do u think u can make me do anything u want??!?!? Fucking tard. Check ur PMs
hold your panties k... i don't have any pms kid. so if you want to message me, actually send me a pm first.
DeathFangX wrote: If you're hosting behind you're router, the best solution to stop DC'ing when you change maps is to host all the maps under 1 HG Server, because when you host behind a router, theres a lot of redirecting going on, and its to much for the GateServer to handle 2 or more HG servers at once so it Disconnects you when youre switching from one HG Server to the other. Therefore, host all the maps under 1 HG server and you should be fine.
you should never host all maps on 1 HG.
HAHAHAHA YOU GOT OWNED NOW DIDNT U :lol: :lol: Didnt ever send any PM and i dont inted to send any to you your little fucker. You are under my force n0000b HAHAHAHA :lol: :lol:
lol... wtf?? grow up dude
<i>"Always write good code. Feel bad to write bad code."</i>
Post Reply