Originally posted by [b]Mara[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4928
(IMG:
http://i.imgur.com/AJhv2.jpg)
First: No matter which item I add using npcshopadditem, I can only see Red Potion, even if I didn't add it, and for the same price.
Second: 1636824 ROPs (Cash Points) will be used. That's wrong >.<
2009-06-17aSakexe
mmo.h PACKETVER = 20081126
packet_db.txt = 23
Fix for the first: (just a revert)
Find all:
CODE
if( !nd || nd->subtype != SHOP )
in npcshopitem, npcshopadditem, npcshopdelitem, npcshopattach
Replace with:
CODE
if( !nd || (nd->subtype != SHOP && nd->subtype != CASHSHOP) )
With this "fix", I can add/remove dinamically items from cash shops, but the second bug still bugged.
This post has been edited by Mara: May 24 2011, 01:51 AM