premium inventory--old files

Results 1 to 3 of 3
  1. #1
    Member anquietas is offline
    MemberRank
    Jul 2011 Join Date
    84Posts

    premium inventory--old files

    Does anyone have a sql script, that would allow me to put an item into peoples premium inventories? i need 2. (not the new file releases)
    - for just one person
    - for everyone


  2. #2
    Account Upgraded | Title Enabled! LolOmgNoob is offline
    MemberRank
    Nov 2012 Join Date
    241Posts

    Re: premium inventory--old files

    Use Account

    Insert into tChargeItem (userNo, goodsNo, amount, isDraw, orderNo) VALUES (x, x, x, x, x)

    Replace X with your values. Make sure you have the items you want added into your mall database + shn's.

  3. #3
    Account Upgraded | Title Enabled! Crystalz is offline
    MemberRank
    Aug 2012 Join Date
    212Posts

    Re: premium inventory--old files

    I guess this should work. You'll have to edit some of the values to match your info.
    I'm sure there's a better way to do this, I'm not very good at sql.

    Code:
    INSERT INTO Account.dbo.tOrder (orderDate, orderType, userNo, goodsNo, goodsPrice, amount, discount, orderPrice, cashType, isPay, userIP)
    VALUES ('1956', '1', '102', '10001', '0', '1', '0', '1', '1', '1', '127.0.0.1')
    
    INSERT INTO Account.dbo.tChargeItem (userNo, orderNo, goodsNo, amount, registerDate, isDraw, drawDate)
    VALUES ('102', '10001', '10001', '1', '2012', '0', '1999')



Advertisement