Send DG reward

Results 1 to 11 of 11
  1. #1
    Apprentice ciclope is offline
    MemberRank
    May 2020 Join Date
    22Posts

    Send DG reward

    How can I send a reward item for each dg completed by the user without having to send to the cash inventory or the temporary inventory?

    Therefore, sending directly to the user's inventory.


  2. #2
    Valued Member Rostfrei is offline
    MemberRank
    Oct 2018 Join Date
    133Posts

    Re: Send DG reward

    Quote Originally Posted by ciclope View Post
    How can I send a reward item for each dg completed by the user without having to send to the cash inventory or the temporary inventory?

    Therefore, sending directly to the user's inventory.
    You need to change the Inventory HEX every sendout. Means u have to decode full Inventory HEX and then write a programm to paste in empty Slots of the inventory. Because you cant know which slots are used and which not.

  3. #3
    Valued Member samus is offline
    MemberRank
    Aug 2014 Join Date
    Managua, NicaraLocation
    104Posts

    Re: Send DG reward

    you can send a item for -gm mail system in stored procedure

  4. #4
    Valued Member Rostfrei is offline
    MemberRank
    Oct 2018 Join Date
    133Posts

    Re: Send DG reward

    Quote Originally Posted by samus View Post
    you can send a item for -gm mail system in stored procedure
    The Question was to put a ITEM directly into Inventory when Dungeon is finished. Not using Mail ,Cash Inv.

  5. #5
    Member ifahits is offline
    MemberRank
    Jan 2018 Join Date
    Cabal SectionLocation
    57Posts

    Re: Send DG reward

    thats a very big modification your only easiest way via Mail system or Cash inventory as per rostfrei said you need to decode

  6. #6
    UtakAso Drav3n is offline
    MemberRank
    Aug 2011 Join Date
    PHLocation
    919Posts

    Re: Send DG reward

    No need to decode the varbinary in SQL for item inventory to send a reward. You can use the reward function on every dungeon. I used this dungeon reward system long time ago.
    HINT: reward="0:0:0:0:0:10000:0:0"

  7. #7
    Proficient Member Crashed is offline
    MemberRank
    Feb 2015 Join Date
    Spain, CordobaLocation
    176Posts

    Re: Send DG reward

    Quote Originally Posted by Drav3n View Post
    No need to decode the varbinary in SQL for item inventory to send a reward. You can use the reward function on every dungeon. I used this dungeon reward system long time ago.
    don't use this, it's easy to bypass...

    edit "cabal_eventsave_singledungeoun" and "cabal_eventsave_partydungeoun" procedures to reward through the dungeon name

    in fact people have already published ready here, but I am not the one who needs to spend time searching

  8. #8
    UtakAso Drav3n is offline
    MemberRank
    Aug 2011 Join Date
    PHLocation
    919Posts

    Re: Send DG reward

    Quote Originally Posted by Crashed View Post
    don't use this, it's easy to bypass...

    edit "cabal_eventsave_singledungeoun" and "cabal_eventsave_partydungeoun" procedures to reward through the dungeon name

    in fact people have already published ready here, but I am not the one who needs to spend time searching
    Bypass? then how?
    He asking for a reward that will insert automatically in character inventory which is not using a mail or cash inventory.

  9. #9
    Proficient Member Crashed is offline
    MemberRank
    Feb 2015 Join Date
    Spain, CordobaLocation
    176Posts

    Re: Send DG reward

    Quote Originally Posted by Drav3n View Post
    Bypass? then how?
    He asking for a reward that will insert automatically in character inventory which is not using a mail or cash inventory.
    The fault lies in the message that the user must open and confirm to receive the award... that message (by default) stays on the screen for one minute. During that time, if the player leaves the dungeon and quickly goes to another dungeon and clicks on the message, he will receive the reward from the second dungeon, he may even have two rewards, I am not sure.

    Assuming that each dungeon delivers a reward according to the level, the player can complete a low level dungeon and get the reward of a higher level dungeon.The malicious player would keep the record between 0 and 60 seconds, easy to spot, but depending on the rewards, it is worth it for him.

    Through the procedures it is possible to prevent this and in an easy way...

  10. #10
    Apprentice ciclope is offline
    MemberRank
    May 2020 Join Date
    22Posts

    Re: Send DG reward

    I discovered a native way of doing this, sending the item directly to the inventory without any use of procedure. Just editing: quest.enc, cont2.enc, ItemReward.scp and MissionDungeon.scp.

    Soon I will do a tutorial and post here, thank you for your help.

    - - - Updated - - -

    For those interested in the solution:

    http://forum.ragezone.com/f460/tutorial-send-dungeon-reward-1180590/

  11. #11
    UtakAso Drav3n is offline
    MemberRank
    Aug 2011 Join Date
    PHLocation
    919Posts

    Re: Send DG reward

    Quote Originally Posted by ciclope View Post
    I discovered a native way of doing this, sending the item directly to the inventory without any use of procedure. Just editing: quest.enc, cont2.enc, ItemReward.scp and MissionDungeon.scp.

    Soon I will do a tutorial and post here, thank you for your help.

    - - - Updated - - -

    For those interested in the solution:

    http://forum.ragezone.com/f460/tutorial-send-dungeon-reward-1180590/
    This is what I am pointing out on my first comment.



Advertisement