item4.cfg - how?...
my item1-3.cfg gets full and i cant add any new items...(file gets too big)
i know theres a way to add item4.cfg,but how do i make my server read it?
is it somewhere in hg source?
i know theres a way to add item4.cfg,but how do i make my server read it?
is it somewhere in hg source?
<span style='color:green'>Danny says:u dont know how much u can make from weed ,make any item of clothing. im fucking serious, real good ropes!</span><br><br>Helbreath reborn, be there;)<br>owner of hbr.
double post remove one(wich i could do it )
<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' />
Its done in the world-log-server source.. Tutorial below...lirannn wrote: my item1-3.cfg gets full and i cant add any new items...(file gets too big)
i know theres a way to add item4.cfg,but how do i make my server read it?
is it somewhere in hg source?
->>WorldLog.cpp
FUNCTION:
Code: Select all
bool CWorldLog::bInit(void)
Code: Select all
if (bReadItemConfigFile("WLConfig\\item.cfg") == FALSE) return FALSE;
if (bReadItemConfigFile("WLConfig\\item2.cfg") == FALSE) return FALSE;
if (bReadItemConfigFile("WLConfig\\item3.cfg") == FALSE) return FALSE;
Code: Select all
if(bReadItemConfigFile("WLConfig\\item4.cfg") == FALSE) return FALSE;
Haven't tried it, but it SHOULD work.. Any problems post here i'll try follow up
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
you left off a few partsOrkl wrote:Its done in the world-log-server source.. Tutorial below...lirannn wrote: my item1-3.cfg gets full and i cant add any new items...(file gets too big)
i know theres a way to add item4.cfg,but how do i make my server read it?
is it somewhere in hg source?
->>WorldLog.cpp
FUNCTION:FIND:Code: Select all
bool CWorldLog::bInit(void)
ADD:Code: Select all
if (bReadItemConfigFile("WLConfig\\item.cfg") == FALSE) return FALSE; if (bReadItemConfigFile("WLConfig\\item2.cfg") == FALSE) return FALSE; if (bReadItemConfigFile("WLConfig\\item3.cfg") == FALSE) return FALSE;
Depends what WLSource you got...Code: Select all
if(bReadItemConfigFile("WLConfig\\item4.cfg") == FALSE) return FALSE;
Haven't tried it, but it SHOULD work.. Any problems post here i'll try follow up
find
void CWorldLog::ClientRegisterGameserver(int iClientH, char * pData)
inside that add
Code: Select all
!bSendClientConfig(iClientH, "WLConfig\\Item4.cfg") || {
bool CWorldLog::bSendClientConfig(int iClientH, char *cFile)
inside add
Code: Select all
else if (strcmp(cFile, "WLConfig\\Item4.cfg") == 0) {
dwMsgID = MSGID_ITEMCONFIGURATIONCONTENTS;
}
Oh, thanks crossfade, I didn't spend too much time looking at it
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Nice, saves me the workADDKiD wrote: I'll release Hypno's WLS with up to 10 cfg's. So noobs can add all their items. >.> And Sources...
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
keep in mind that releasing it will help them but they will still ask about the other bugs in the source if you or they with the source fix. if you fix it and add in the cfgs they probally will love you but if you dont and leave it to them, then they will come here and probally start bitching.ADDKiD wrote: I'll release Hypno's WLS with up to 10 cfg's. So noobs can add all their items. >.> And Sources...