is there a way to make gold coins to be bought from NPC for contribution points
is there a way to make gold coins to be bought from NPC for contribution points
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
refobjcommon
refobjitem1 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
itemdata45000136974 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
procedure ,SRO_VT_SHARDLOG,Programmability,stored procedures,_addlogitem1 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
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 enjoydeclare @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