contribution points as a price

Results 1 to 5 of 5
  1. #1
    Apprentice dya2 is offline
    MemberRank
    Aug 2014 Join Date
    14Posts

    contribution points as a price

    is there a way to make gold coins to be bought from NPC for contribution points


  2. #2
    Apprentice Kudo Shinichi is offline
    MemberRank
    Aug 2014 Join Date
    22Posts

    Re: contribution points as a price

    there's no way to add a new payment device like that anyway you can make a scroll give the players a reward based on their contribution

  3. #3
    Apprentice dya2 is offline
    MemberRank
    Aug 2014 Join Date
    14Posts

    Re: contribution points as a price

    Quote Originally Posted by Kudo Shinichi View Post
    there's no way to add a new payment device like that anyway you can make a scroll give the players a reward based on their contribution
    can u tell me how

  4. #4
    Apprentice Kudo Shinichi is offline
    MemberRank
    Aug 2014 Join Date
    22Posts

    Re: contribution points as a price

    Quote Originally Posted by dya2 View Post
    can u tell me how
    refobjcommon
    1 60840 ITEM_MALL_CONTRIBUTION_TRADE Gold xxx SN_ITEM_MALL_CONTRIBUTION_TRADE SN_ITEM_MALL_CONTRIBUTION_TRADE_TT_DESC 0 0 3 3 3 1 180000 3 0 1 1 1 255 3 1 0 0 129 0 0 0 0 0 0 0 1 50 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_mall_scroll.bsr item\etc\gold_token.ddj xxx xxx 136974
    refobjitem
    136974 1 2 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 800 ???? 1 ?????? -1 RESURRECT -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 0 0 0
    itemdata45000
    1 60840 ITEM_MALL_CONTRIBUTION_TRADE Contribution xxx SN_ITEM_MALL_CONTRIBUTION_TRADE SN_ITEM_MALL_CONTRIBUTION_TRADE_TT_DESC 0 0 3 3 3 1 180000 3 0 1 1 1 255 3 1 0 0 129 0 0 0 0 0 0 0 1 50 -1 0 -1 0 -1 0 -1 0 0 0 0 0 0 0 100 0 0 0 xxx item\etc\drop_mall_scroll.bsr item\etc\trade_armor_a_ma.ddj xxx xxx 1 2 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 800 ???? 1 ?????? -1 RESURRECT -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx -1 xxx 0 0
    procedure ,SRO_VT_SHARDLOG,Programmability,stored procedures,_addlogitem

    declare @Contribution bigint=(select contribution from SRO_VT_SHARD.._CharTrijob where CharID=@charid) declare @charname_reward varchar(50)=(select charname16 from SRO_VT_SHARD.._char where charid=@CharID)
    DECLARE @JOBTYPE INT=(SELECT JOBTYPE FROM SRO_VT_SHARD.._CharTrijob WHERE CharID=@CharID)
    if (@operation=41 and @ItemRefID='refobjcommon id' and @Contribution='your amount' AND @JOBTYPE > 0)
    begin
    update SRO_VT_SHARD.._CharTrijob set Contribution=0 where CharID=@CharID
    exec SRO_VT_SHARD.._ADD_ITEM_EXTERN @charname_reward,'ITEM_ETC_ARENA_COIN',1,0
    IF @@ERROR <>0
    BEGIN
    ROLLBACK TRANSACTION
    RETURN -5
    END
    END
    you have to edit @itemrefid and @Contribution and the reward you can change to whatever you wanna and also you can change the amount change the number 1 to whatever you want enjoy

  5. #5
    Apprentice dya2 is offline
    MemberRank
    Aug 2014 Join Date
    14Posts

    Re: contribution points as a price

    Quote Originally Posted by Kudo Shinichi View Post
    refobjcommon


    refobjitem

    itemdata45000

    procedure ,SRO_VT_SHARDLOG,Programmability,stored procedures,_addlogitem


    you have to edit @itemrefid and @Contribution and the reward you can change to whatever you wanna and also you can change the amount change the number 1 to whatever you want enjoy


    thank u it worked when i drop the scroll but dont know how to test it



Advertisement