Statted Drops

All Helbreath Server Source Discussion here.
Post Reply
`N`
just visiting
Posts: 1
Joined: Sun May 22, 2005 9:06 pm

Post by `N` »

I posted this in another forum but no one answered so maybe I can get some help in this one.
I've edit my hgserver to drop custom items but none of the items dropping are stated, like I want. I guess I missed something in the code, how can I do this?

omar_omiez
Loyal fan
Posts: 235
Joined: Mon Jul 12, 2004 9:36 am

Post by omar_omiez »

you got to edit these: erplace the current item names and item id with your own. (2.24c sources from hbss.tk)


BOOL CGame::bGetMultipleItemNamesWhenDeleteNpc


void CGame::NpcDeadItemGenerator

*note : im new to this area, im only 80% sure its right. Give it a try untill ppl like drajwer or ice-t reply.
- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
TouchOfRed
noob
Posts: 10
Joined: Wed May 25, 2005 8:28 pm

Post by TouchOfRed »

Code: Select all

case 10: // Ettin
    	switch (iDice(1,6)) {
    	case 1: iItemID = 46;  break; // Claymore
    	case 2: iItemID = 31;  break; // Esterk
    	case 3: iItemID = 34;  break; // Rapier
    	case 4: iItemID = 760; break; // Hammer
    	case 5: iItemID = 761; break; // GiantHammer
    	case 6: iItemID = 1306; break; // NBlade

This is how's it's added. As far as I can figure, BOOL CGame::bGetMultipleItemNamesWhenDeleteNpc is for the rare items and the other one lists the normal items. I've probably made some stupid mistake somewhere but I have no idea what.
<img src='http://www.helbreathn.com/hosted/sig.png' border='0' alt='user posted image' />
Post Reply