Custom 3.82 Files

Discussion about Helbreath Server Files.
Post Reply
LythQ
just visiting
Posts: 9
Joined: Tue Dec 19, 2006 12:36 pm
Location: Portugal
Contact:

Post by LythQ »

Sort of a newbie question but here goes:

In these sources, since the drop rate and stuff isn't defined in the settings.cfg you have to change them on the HG? If so is it here that I change ?

BOOL CGame::bGetMultipleItemNamesWhenDeleteNpc

and

void CGame::NpcDeadItemGenerator

?
<span style='color:green'>Gief <span style='color:purple'>epix</span> codes plz.</span>
1+12
Member
Posts: 173
Joined: Sat Feb 04, 2006 5:05 pm

Post by 1+12 »

LythQ wrote: Sort of a newbie question but here goes:

In these sources, since the drop rate and stuff isn't defined in the settings.cfg you have to change them on the HG? If so is it here that I change ?

BOOL CGame::bGetMultipleItemNamesWhenDeleteNpc

and

void CGame::NpcDeadItemGenerator

?
Yes.

Also you will need to change the drop's of other NPC's such as slimes, scorps etc. That is done easily, I'll post how if you don't find out how.
Sentinel
Loyal fan
Posts: 462
Joined: Thu Jan 11, 2007 4:16 pm

Post by Sentinel »

1+12, I downloaded the ones he released on here and compared to my other HGServer + Client. I found that multiple lines of code were different, as in someone purposely fucked it up. Rofl... Like, lines of code were cancelled out..
<!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->charlie says:<br>i may own outpost but im not a nerd<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->(locobans @ Mar 12 2007, 10:48 PM) <br>"Remember while peeing, If you shake it more than twice you playing with it..." <br><!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
LythQ
just visiting
Posts: 9
Joined: Tue Dec 19, 2006 12:36 pm
Location: Portugal
Contact:

Post by LythQ »

Well, managed to change the multi drop mobs (wyvs and abby) drops in the source, found 2 bugs here though:

The Wyvern wasn't dropping what it was supposed to, managed to fix that:

Code: Select all

BOOL CGame::bGetMultipleItemNamesWhenDeleteNpc(short sNpcType, int iProbability, int iMin, int iMax, short sBaseX, short sBaseY,
              int iItemSpreadType, int iSpreadRange,
              int *iItemIDs, POINT *BasePos, int *iNumItem)
{
	int  iProb = 100;
	float	fProb, fProbA, fProbB, fProbC;
	int  iItemID;
	int  iNum = 0;
	
	for(int i=0; i<iMax; i++ )
	{
  if( i>iMin ) iProb = iProbability;

  fProb = (float)(100 - iProb) / 10.0;	//WyvernÀÇ Æò±Õ 50
  if( fProb < 1.0 ) fProb = 1.0;

  fProbA = fProbB = fProbC = fProb;

  fProbA = fProbA * 8.0f;
  fProbB = fProbB * 4.0f;
  fProbC = fProbC * 2.0f;

  iItemID = 0;

  switch(sNpcType)
  {
  case 66: // Wyvern...stupid koreans 
That case was set to 69, change it to 66 like I have it here in order for it to drop correctly.

The other bug is, as you will be able to see in the screenshot, the 4th column's 1st row doesn't drop. Will fix that asap.

<a href='http://img527.imageshack.us/img527/4659 ... 6elyo0.jpg' target='_blank'>Image</a>
<span style='color:green'>Gief <span style='color:purple'>epix</span> codes plz.</span>
MrGumby
just visiting
Posts: 7
Joined: Wed Sep 06, 2006 8:43 pm

Post by MrGumby »

I just got one problem. I did the Dk command 1nce and then when i made another char i tried the command and nothing happens. Not sure why but if anyone can help or have the GM commands i would appreciate it.
InFeRn0
just visiting
Posts: 2
Joined: Sun Jan 07, 2007 11:00 pm

Post by InFeRn0 »

Can any1 upload the files pls?...
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

InFeRn0 wrote: Can any1 upload the files pls?...
no, exept sentinel with his errored files
<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 »

yep and he could give you nearly every make from someone else too.
<i>"Always write good code. Feel bad to write bad code."</i>
Thefire
noob
Posts: 28
Joined: Thu Apr 26, 2007 1:45 pm

Post by Thefire »

The original link still works, if you know where to look for it. Look trought all the posts, starting on page 1. Eventually you will be lucky enaught to find the correct link. *Idiot* <_<
Charles
Loyal fan
Posts: 418
Joined: Wed Nov 26, 2003 8:20 pm

Post by Charles »

lolol... or you could just search for a specific name?
<i>"Always write good code. Feel bad to write bad code."</i>
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

Thefire wrote: The original link still works, if you know where to look for it. Look trought all the posts, starting on page 1. Eventually you will be lucky enaught to find the correct link. *Idiot* <_<
or then the files are corrupt... (as most files attached to posts here on outpost 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' />
Thefire
noob
Posts: 28
Joined: Thu Apr 26, 2007 1:45 pm

Post by Thefire »

Sprint wrote: or then the files are corrupt... (as most files attached to posts here on outpost lol)
D/L link on the first post doesnt work.. We all know that. Take a good look at the first post which quoted slammer (the one from Crossfade) and try that link.

These files are not corrupted.. They simply just sucks.
Post Reply