Silverwave/Plus(R2) Emulator: Quantities in Catalog

Results 1 to 3 of 3
  1. #1
    Novice Shingle is offline
    MemberRank
    Jul 2014 Join Date
    3Posts

    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.


  2. #2
    Novice Wux is offline
    MemberRank
    Jul 2014 Join Date
    4Posts

    thumbs up Re: Silverwave/Plus(R2) Emulator: Quantities in Catalog

    This query should do the trick:

    Code:
    SET @@global.sql_mode= '';
    Credits to Cankiee, of course.

  3. #3
    Novice Shingle is offline
    MemberRank
    Jul 2014 Join Date
    3Posts

    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.



Advertisement