Hgserver Windows Problem

All Helbreath Server Source Discussion here.
Miki!
Member
Posts: 192
Joined: Tue Dec 16, 2003 8:43 pm
Contact:

Post by Miki! »

i have runing windows XP and the server when is conected it crash
in win 98 work perfect
<img src='http://www.freewebs.com/hbparadise/ava-1.GIF' border='0' alt='user posted image' /><br><br><span style='color:red'>Ex GM3 Hb-Zion</span><br><span style='color:blue'>"Joined: 16-December 03"</span> realy Old Outpost member
lilmage

Post by lilmage »

I dunno why not. I use windows server 2003 enterprise.. which is basically winxp only better ;x
charlie
Outpost4lyfe
Posts: 3324
Joined: Sun Apr 06, 2003 12:24 am
Location: Mt GOD
Contact:

Post by charlie »

windows 95 is better then xp
Girlfriends are dedicated hookers.
Miki!
Member
Posts: 192
Joined: Tue Dec 16, 2003 8:43 pm
Contact:

Post by Miki! »

lol +98
<img src='http://www.freewebs.com/hbparadise/ava-1.GIF' border='0' alt='user posted image' /><br><br><span style='color:red'>Ex GM3 Hb-Zion</span><br><span style='color:blue'>"Joined: 16-December 03"</span> realy Old Outpost member
Miki!
Member
Posts: 192
Joined: Tue Dec 16, 2003 8:43 pm
Contact:

Post by Miki! »

a txn for your I have no problem for help me :angry:
<img src='http://www.freewebs.com/hbparadise/ava-1.GIF' border='0' alt='user posted image' /><br><br><span style='color:red'>Ex GM3 Hb-Zion</span><br><span style='color:blue'>"Joined: 16-December 03"</span> realy Old Outpost member
trosudo
just visiting
Posts: 8
Joined: Thu Apr 01, 2004 1:34 am

Post by trosudo »

I have winxp, someone can fix this problem?, there is some patch?
tyteman
Spamtastic
Posts: 1149
Joined: Wed Nov 12, 2003 2:00 pm
Location: CA, USA

Post by tyteman »

thats why it crashes.. people with xp users have different settigns on their comps supposedly.. heh.. no wonder me and taco kept crashing the hgserver :P
"<i>One night I was talking to God, but I realized I was talking to <u>myself</u></i>"<br><br><img src='http://img61.imageshack.us/img61/2678/untitled13bf.gif' border='0' alt='user posted image' /><br><br><b><u>Links</u></b><br>
Taco
noob
Posts: 11
Joined: Tue Dec 16, 2003 8:38 am

Post by Taco »

That problem happens when it creates the 3 files, you just gotta click it a few more times and eventually it wont crash.
bigchief
Loyal fan
Posts: 289
Joined: Sat Feb 28, 2004 12:45 pm
Location: In Chicks Rooms/Dorms Or Passed Out On The Floor
Contact:

Post by bigchief »

i use windows 98 and when i am connected then my friends logs in it crashes the HGServer then we tried with only im connected and when he lagged out then came back in the hgserver crashed again.
im not quite sure what was going on but the hgserver is looking pretty good. keep up the good work fellas

Chief
Just remember if you shake it more then 3 times your playing with it.
MeNiA
Member
Posts: 113
Joined: Thu Feb 19, 2004 6:13 pm

Post by MeNiA »

I'm using xp, and charlie I disagree, I'm aware that windows 95 has it's advantages then r better than xp's but it's really old system which doesnt really match today's new developments, when I used windows 95, my computer crashed constantly, I was in an online game - modem synchronization was lost, computer crashed when played games, sometimes even driver patches and additional things needed didnt even help..

as for the rest of u, check ur firewall, usually does that kinds of problems.
lilmage

Post by lilmage »

lol MeNiA it was a joke.. and btw. I think windows 3.1.1 owned all... But I must say for the best system ever use DOS2.0.
firey
Member
Posts: 144
Joined: Wed Oct 15, 2003 11:29 pm
Contact:

Post by firey »

Charlie ure right win 95 was the best the 1 with the best games had to be Comodor 64
Daxation
Regular
Posts: 56
Joined: Mon Apr 26, 2004 1:45 am

Post by Daxation »

i had this exact same problem when making the HBCircle HGServer. using 2.14 source i thought it was just as unstable as fuck. i ran a private copy of it and narrowed it down to /createitem. i edited some old createitem command from 2.03 source to come up with 1 that no longer crashes the HG on WinXP operating systems..

if you are using a hg built from 2.14 source replace the createitem command with this =

Code: Select all

/*
why bother putting my name here? its not like any1 can see it when its compiled =\
*/
void CGame::AdminOrder_CreateItem(int iClientH, char *pData, DWORD dwMsgSize)
{
 char   seps[] = "= \t\n";
 char   * cp, * token, cBuff[256], cItemName[256], cData[256], cTemp[256];
 SYSTEMTIME SysTime;
 class  CStrTok * pStrTok;
 class  CItem * pItem;
 short  * sp;
 int    iRet, iEraseReq;
 DWORD * dwp;
 WORD  * wp;
 
	if (m_pClientList[iClientH] == NULL) return;
	if ((dwMsgSize)	<= 0) return;

	if (m_pClientList[iClientH]->m_iAdminUserLevel < 3) {
  // Admin user levelÀÌ ³·¾Æ¼­ ÀÌ ±â´ÉÀ» »ç¿ëÇÒ ¼ö ¾ø´Ù.
  if (m_pClientList[iClientH]->m_iAdminUserLevel !=  0)	
  	SendNotifyMsg(NULL, iClientH, DEF_NOTIFY_ADMINUSERLEVELLOW, NULL, NULL, NULL, NULL);
  return;
	}
  if (m_pClientList[iClientH]->m_bIsAdminCreateItemEnabled == FALSE) return;


	ZeroMemory(cBuff, sizeof(cBuff));
	memcpy(cBuff, pData, dwMsgSize);

	pStrTok = new class CStrTok(cBuff, seps);
	token = pStrTok->pGet();
	
	token = pStrTok->pGet();
	if (token != NULL) {
  ZeroMemory(cItemName, sizeof(cItemName));
  strcpy(cItemName, token);
	}

	
	pItem = new class CItem;
	
	if (_bInitItemAttr(pItem, cItemName) == FALSE) {
  delete pItem;
  return;	
	}

	
	switch (pItem->m_sIDnum) {
	case 511: 
	case 513:
	case 515:
	case 517:
	case 530:
	case 531:
	case 532:
	case 533:
	case 534:
  GetLocalTime(&SysTime);
  pItem->m_sTouchEffectType   = DEF_ITET_DATE;
  // v1.4311-3 º¯°æ ¿î¿µÀÚ°¡ ¹ß±ÞÇÑ ÀÔÀå±ÇÀº ±×³¯Àº Ç×»ó ÀÔÀå °¡´É ..
  pItem->m_sTouchEffectValue1 = (short)SysTime.wMonth;
  pItem->m_sTouchEffectValue2 = (short)SysTime.wDay;
  pItem->m_sTouchEffectValue3 = 24;
  break;

	default:
  GetLocalTime(&SysTime);
  pItem->m_sTouchEffectType   = DEF_ITET_ID;
  pItem->m_sTouchEffectValue1 = iDice(1,100000);
  pItem->m_sTouchEffectValue2 = iDice(1,100000);
  // ¸¶Áö¸· ¼ýÀÚ´Â ¾ÆÀÌÅÛ »ý¼º ¿ù, ÀÏ	
  ZeroMemory(cTemp, sizeof(cTemp));
  wsprintf(cTemp, "%d%2d",  (short)SysTime.wMonth, (short)SysTime.wDay);
  pItem->m_sTouchEffectValue3 = atoi(cTemp);
  break;
	}
	
	ZeroMemory(cData, sizeof(cData));
	if (_bAddClientItemList(iClientH, pItem, &iEraseReq) == TRUE) {
  // ¾ÆÀÌÅÛÀ» ȹµæÇß´Ù.
  dwp  = (DWORD *)(cData + DEF_INDEX4_MSGID);
  *dwp = MSGID_NOTIFY;
  wp   = (WORD *)(cData + DEF_INDEX2_MSGTYPE);
  *wp  = DEF_NOTIFY_ITEMOBTAINED;
  
  cp = (char *)(cData + DEF_INDEX2_MSGTYPE + 2);
  
  // 1°³ ȹµæÇß´Ù. Amount°¡ ¾Æ´Ï´Ù!
  *cp = 1;
  cp++;
  
  memcpy(cp, pItem->m_cName, 20);
  cp += 20;
  
  dwp  = (DWORD *)cp;
  *dwp = pItem->m_dwCount;	// ¼ö·®À» ÀÔ·Â 
  cp += 4;
  
  *cp = pItem->m_cItemType;
  cp++;
  
  *cp = pItem->m_cEquipPos;
  cp++;
  
  *cp = (char)0; // ¾òÀº ¾ÆÀÌÅÛÀ̹ǷΠÀåÂøµÇÁö ¾Ê¾Ò´Ù.
  cp++;
  
  sp  = (short *)cp;
  *sp = pItem->m_sLevelLimit;
  cp += 2;
  
  *cp = pItem->m_cGenderLimit;
  cp++;
  
  wp = (WORD *)cp;
  *wp = pItem->m_wCurLifeSpan;
  cp += 2;
  
  wp = (WORD *)cp;
  *wp = pItem->m_wWeight;
  cp += 2;
  
  sp  = (short *)cp;
  *sp = pItem->m_sSprite;
  cp += 2;
  
  sp  = (short *)cp;
  *sp = pItem->m_sSpriteFrame;
  cp += 2;
  
  *cp = pItem->m_cItemColor;
  cp++;

  *cp = (char)pItem->m_sItemSpecEffectValue2; // v1.41 
  cp++;
  
  dwp = (DWORD *)cp;
  *dwp = pItem->m_dwAttribute;
  cp += 4;
    
  if (iEraseReq == 1) {
  	delete pItem;
  }
  
  // ¾ÆÀÌÅÛ Á¤º¸ Àü¼Û 
  iRet = m_pClientList[iClientH]->m_pXSock->iSendMsg(cData, 53);
  
  // v1.41 Èñ±Í ¾ÆÀÌÅÛÀ̶ó¸é ·Î±×¸¦ ³²±ä´Ù. 
  _bItemLog(DEF_ITEMLOG_GET, iClientH, NULL, pItem);
  return;
	}
	else {
  // ¾ÆÀÌÅÛÀ» ¼ÒÁöÇÒ ¼ö ¾ø´Â »óȲÀÌ´Ù.  
  delete pItem;
  return;
	}
}
Passion
Regular
Posts: 31
Joined: Fri Jul 30, 2004 8:57 am

Post by Passion »

I would ask the exact command you used to crash the server because I have WinXP and have made several items (with /createitem) and everything went ok.
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

same with me thats why i didint found the point here :unsure:
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Post Reply