Silverwave/Plus(R2) Emulator: Quantities in Catalog
Basically when you purchase an item, it asks for the quantity of that item you want (default is 1). When you purchase more than one, the amount of credits IS taken away but you only receive one of the item.Can anyone help fix this? I couldn't find it anywhere in /HabboHotel/Catalog/Thanks :D
- - - Updated - - -
Edit: I believe I've found the code, but do not know how to add the amount lol: result.Add(Session.GetHabbo().GetInventoryComponent().AddNewItem(0, Item.ItemId, ExtraData, 0, true, false, limno, limtot, songID)); break;The amount function is "finalAmount" I think as well.
Re: Silverwave/Plus(R2) Emulator: Quantities in Catalog
This query should do the trick:
Code:
SET @@global.sql_mode= '';
Credits to Cankiee, of course.
Re: Silverwave/Plus(R2) Emulator: Quantities in Catalog
That doesn't work, When I change the quantity here: http://prntscr.com/458d6t - it does this: http://prntscr.com/458dh8 - but takes the right amount of credits.
- - - Updated - - -
Nevermind, I've gotten it working.