Worldlserver Source

All Helbreath Server Source Discussion here.
Post Reply
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Move config to a WLConfig folder B)
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>
ADDKiD
&lt;3 bd long time
Posts: 967
Joined: Tue Jul 12, 2005 8:07 pm
Location: Washington, USA
Contact:

Post by ADDKiD »

Ok I figured it out mostly, do you have to have multiple configs? or what? Can I move all my configs into my WLConfig folder, and delete them out of my main one?
BlueChristmas
Loyal fan
Posts: 216
Joined: Wed Apr 19, 2006 12:19 am

Post by BlueChristmas »

ADDKiD wrote: Ok I figured it out mostly, do you have to have multiple configs? or what? Can I move all my configs into my WLConfig folder, and delete them out of my main one?
yep all your item.cfgs npcs.cfg etc go in that folder
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
ADDKiD
&lt;3 bd long time
Posts: 967
Joined: Tue Jul 12, 2005 8:07 pm
Location: Washington, USA
Contact:

Post by ADDKiD »

Ok, i get the Gate, Main, World to connect, soon as I try and get Hypno's v3.02 HGServer to connect, just keeps counting, when I use HBX v2.25a wls, it connects.. WTF!?
ADDKiD
&lt;3 bd long time
Posts: 967
Joined: Tue Jul 12, 2005 8:07 pm
Location: Washington, USA
Contact:

Post by ADDKiD »

Its fucked, why doesn't someone just post working shit?
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

strcmp.asm missing file.

when i debug and more 1 client is on and i close the HG.

also

Code: Select all

	//for (i = 0; i < DEF_MAXCLIENTSOCK; i++) {
//  if (m_pClientList[i] != NULL) delete m_pClientList[i];
//	}
fixes the crash when you close the WLserver.


but i still have the gay Crashing shit when more one player is on.
oh and another bug = Character in use bug. it is WLserver bug 100%.
this bug = player go into downed map = bug.
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
ADDKiD
&lt;3 bd long time
Posts: 967
Joined: Tue Jul 12, 2005 8:07 pm
Location: Washington, USA
Contact:

Post by ADDKiD »

I get the fact that.. the server won't accept HGServers..wls is being gay, and it won't accept 'em, I compiled with 0 errors, and 0 warnings..
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

another BUg

he forgot the Enter Game also includes Maps soo i added this in Entergame function

heh not testing and i just wiped it together

Code: Select all

	//game char fix
	for (int j = 0; j < DEF_MAXGAMESERVERSMAPS; j++)
  if ((m_cMapList[j] != NULL)&& (memcmp(m_cMapList[j]->m_cName, cMapName, 10) != 0)) {
  	wsprintf(G_cTxt, "(TestLog) ReqEnterGame Reject! Account(%s) status NULL", cAccountName);
  	PutLogList(G_cTxt);
  	OnPlayerAccountMessage(DEF_MSGACCOUNTSET_NULL, cAccountName, NULL, NULL, NULL);
  	}
heh :)

fix for bug that keeps players from never beable to log on agin cuz they get stuck in map

--lol it works but problem is this here loops so it posted the Message every time it check registered map to see if the map they tryed to enter is regsitered.

in other words edit the line to look like this "for (int j = 0; j < DEF_MAXGAMESERVERSMAPS; j++);"
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
dcom
noob
Posts: 20
Joined: Thu May 25, 2006 7:33 pm

Post by dcom »

i got a problem when starting the gserver !
i get an portion configuration error !
but wtf ! PORTION !!! not potion !
in which configs is the error now ? and whats prolly causing it ? any help !?
EvilHit
Loyal fan
Posts: 356
Joined: Sun Jan 16, 2005 3:20 am

Post by EvilHit »

can some1 help me wit this becuz it keeps dcin me when i go to cast

(2006: 7:24:17: 1) - (O) Character data file saved : Name(test)
(2006: 7:24:17: 1) - (TestLog) Account(Evil) log out request to MLS...
(2006: 7:24:17: 1) - (X) Send Message (24021ee0)
(2006: 7:24:17: 1) - (TestLog) Set account(Evil) connection status NULL...
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

i had that problem for a few min lol then it just kinda disapeared...
magic connection lost.

lol just try restart i dont know ;)..
oh ya i know what i did :)
I fixed the Warnings.. on the Source so u get 0 and 0
i posted it earlyer. that may help ;).
-----------------------------

for Portion it means Potion.cfg in WLserver folder or were ever you put it ;).


it was a typo i guess in the HG.

could be that your potion cfg cant be found, or a duplicated Potion ID is in there..
or there are no potions at all or
*mostlikly* potion = line dose not have the correct amount of numbers on the line.
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
dcom
noob
Posts: 20
Joined: Thu May 25, 2006 7:33 pm

Post by dcom »

hm is it only me or doesnt that start up method work in a lan with router ?
i tried with the startup method but then my gserver wont connect -.-
with normal startup gserver connect but cont connect cause wl server is offline ! ...

ok nvm i found it out .. and again its a completely other way to start ...
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

WOOHOO! such an unexpected fix guys lol

Code: Select all

void CWorldLog::DeleteClient(int iClientH)
in this function
go to the botton, from the break "}" for the function go up 2 breaks "}"

and add the code'

Code: Select all

    delete m_pGameList[i];
    m_pGameList[i] = NULL;
kk now delete the one that shows earlyer ;)

this code was just in a bad spot, it was trying to delete the HG every time it
deleted the Client. witch = bad cuz its trying to delete the HG more then once.


--fix to prevent your WLserver from crashing just cuz a HG server whent down when thers more then 1 player online.
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
Crossfade
Loyal fan
Posts: 354
Joined: Sun Mar 20, 2005 5:55 pm

Post by Crossfade »

marleythe9 wrote: WOOHOO! such an unexpected fix guys lol

Code: Select all

void CWorldLog::DeleteClient(int iClientH)
in this function
go to the botton, from the break "}" for the function go up 2 breaks "}"

and add the code'

Code: Select all

    delete m_pGameList[i];
    m_pGameList[i] = NULL;
kk now delete the one that shows earlyer ;)

this code was just in a bad spot, it was trying to delete the HG every time it
deleted the Client. witch = bad cuz its trying to delete the HG more then once.


--fix to prevent your WLserver from crashing just cuz a HG server whent down when thers more then 1 player online.
keep it up man :lol:
marleythe9
Loyal fan
Posts: 391
Joined: Sat Mar 26, 2005 12:41 am

Post by marleythe9 »

after that fix i just relized another bug :(, sure the WL dont crash bug. it will not register a 2nd HG server it will always post that there are to many Gservers.
well that kinda sucks cuz prevents u from multi hosting. ill look for the bug and try to fix it


well this should fix it i havent tested it yet but it shoudl work ;)

int he function

Code: Select all

void CWorldLog::ClientRegisterGameserver(int iClientH, char * pData)
they kinda made a mistake, find
  ResponseRegisterGameServer(iClientH, FALSE);
  PutLogList("(!) Game Server Registeration - Fail : No more Game Server can be connected.");
replace it with

Code: Select all

    if((m_pGameList[i] != NULL)&& (i >= DEF_MAXGAMESERVERS)) {
  ResponseRegisterGameServer(iClientH, FALSE);
  PutLogList("(!) Game Server Registeration - Fail : No more Game Server can be connected.");
  }
well acculy you dont even need the code, you could just remove it. cuz i cant be > then max game servers. and the Class has to == null to even register heh.

i take that back lol, the Gserver probley try to keep connecting or what ever becouse the WL would not respawn back to HG heh.
<img src='http://freewebs.com/trickro/70s.png' border='0' alt='user posted image' /><img src='http://freewebs.com/trickro/70s2.jpg' border='0' alt='user posted image' />
Post Reply