Jump to content

Utility: GM Rewarder - Shop-based


Emistry

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

File Name: GM Rewarder - Shop-based

File Submitter: Emistry

File Submitted: 24 Sep 2016

File Category: Utilities

Content Author: Emistry


Introduction :
I made this script roughly early of last year( Jan 2015), quite an old script that left unused in my laptop.
"GM Rewarder" script become much more popular and widely used across the private service, it was first introduced as "Itemizer" script and made by @Latheesan back in eAthena era.

Many types of Rewarder npc pop up since then. However, some server still having issue with "corruption" due to untraceable records that was removed by NPC if available, or GM often send rewards to their own characters. Beside, most of the Rewarder NPC that exist in forum required more steps/works to create multiple rewards to send to specific players.

Right after I made this

, I decided to play around with Rewarder NPC using same type of features, mainly ease in use.
So I am here to share this script to everyone.


Differences :
NPC that enable GM to setup rewards and sent to players in ease.
  • It allow only GM can send multiple rewards to player, only if GM has that items with them.
  • Only players able to claim the rewards.
  • All transactions will be recorded, even if GM "deleted" the history, it still exist in database.


0PSUztG.jpg



* HHooooorayyy, it's my 8000th posts in rAthena

/oops




Notes :
There are actually got several unique ways to use/improve this NPC. I dont want to spoonfeed to much, so I will just leave this part to your own imagination/creativity. /ic
However, if you wish to share your idea to use/improve this NPC with the rest of the community, feel free to leave a comment in this topics.
Who knows, I might implement your idea into this NPC in case I find it suitable with it. /no1



Click here to download this file

  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  737
  • Reputation:   47
  • Joined:  03/12/14
  • Last Seen:  

Thanks For This

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  235
  • Reputation:   55
  • Joined:  12/02/11
  • Last Seen:  

There is an error of the npc, if your trying to send a certain item that slotted with a card.
Hope you'll support this kind of features.

Screenshot (map console):

post-630-0-22851500-1476227904_thumb.png

Edited by Kaze
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

Is this compatible for Hercules emulator?  Thanks!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Is this compatible for Hercules emulator? Thanks!

Try and see.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  235
  • Reputation:   55
  • Joined:  12/02/11
  • Last Seen:  

Hi, just wondering about the error? will you possible to support with a slotted card items?
When i'm trying to send a headgear with card i'm stuck and it shows error at console.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

Version 1.1 added

  • Fixed errors when send slotted items with cards compounded.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  235
  • Reputation:   55
  • Joined:  12/02/11
  • Last Seen:  

 

Version 1.1 added

  • Fixed errors when sent slotted items with cards compounded.

 

I appreciate it. Thank you once again!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  09/17/16
  • Last Seen:  

Thanks Emistry!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

Woa! Nice script. thanks Emistry!  /no1

Link to comment
Share on other sites

  • 6 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   11
  • Joined:  12/14/16
  • Last Seen:  

On 2016-9-24 at 7:58 AM, Emistry said:

File Name: GM Rewarder - Shop-based

File Submitter: Emistry

File Submitted: 24 Sep 2016

File Category: Utilities

Content Author: Emistry

 

 

 

Introduction :
I made this script roughly early of last year( Jan 2015), quite an old script that left unused in my laptop.
"GM Rewarder" script become much more popular and widely used across the private service, it was first introduced as "Itemizer" script and made by @Latheesan back in eAthena era.

Many types of Rewarder npc pop up since then. However, some server still having issue with "corruption" due to untraceable records that was removed by NPC if available, or GM often send rewards to their own characters. Beside, most of the Rewarder NPC that exist in forum required more steps/works to create multiple rewards to send to specific players.

Right after I made this

 

 

 

, I decided to play around with Rewarder NPC using same type of features, mainly ease in use.
So I am here to share this script to everyone.


Differences :
NPC that enable GM to setup rewards and sent to players in ease.

  • It allow only GM can send multiple rewards to player, only if GM has that items with them.
  • Only players able to claim the rewards.
  • All transactions will be recorded, even if GM "deleted" the history, it still exist in database.

 

0PSUztG.jpg

 


 

* HHooooorayyy, it's my 8000th posts in rAthena

/oops

 




Notes :
There are actually got several unique ways to use/improve this NPC. I dont want to spoonfeed to much, so I will just leave this part to your own imagination/creativity. /ic
However, if you wish to share your idea to use/improve this NPC with the rest of the community, feel free to leave a comment in this topics.
Who knows, I might implement your idea into this NPC in case I find it suitable with it. /no1

 

 

Click here to download this file

 

 

 

Hi, Emistry. All right? I use Hercules and I loved your script, however, when trying to use it, every time I try to send any item, the map-server terminates itself without presenting any errors.

Note: I already imported the tables to my database.

Link to comment
Share on other sites

  • 10 months later...

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  01/07/12
  • Last Seen:  

hello, @Emistry can add the npc script will announce when the player takes the prize ?

Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  48
  • Reputation:   0
  • Joined:  02/27/18
  • Last Seen:  

@Emistry is it possible to have non tradable items be listed on the menu of given items? I was trying to configure it however I failed :(

Link to comment
Share on other sites

  • 1 year later...

  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  216
  • Reputation:   9
  • Joined:  07/12/12
  • Last Seen:  

Hi Emistry, i've problem with this script using newest rathena.

After GM SEND Reward to Player..
Player will go to NPC to claim it , Data reward is recorded but after he want to Claim the reward. The menu is Only "Cancel" nothing "Claim" menu.

So my player cant claim the reward, can u help me?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

4 hours ago, dikapramantya said:

Hi Emistry, i've problem with this script using newest rathena.

After GM SEND Reward to Player..
Player will go to NPC to claim it , Data reward is recorded but after he want to Claim the reward. The menu is Only "Cancel" nothing "Claim" menu.

So my player cant claim the reward, can u help me?

check your database, see if any record are saved there.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  216
  • Reputation:   9
  • Joined:  07/12/12
  • Last Seen:  

Hi @Emistry . i've checked my database before go there.

The reward is recorded on ero_gm_reward table.

thats why i'm confuse why my player cant claim, can u check?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

1 hour ago, dikapramantya said:

Hi @Emistry . i've checked my database before go there.

The reward is recorded on ero_gm_reward table.

thats why i'm confuse why my player cant claim, can u check?

post the data saved in the SQL table.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  216
  • Reputation:   9
  • Joined:  07/12/12
  • Last Seen:  

562638226_screenUniteRORevive000.thumb.jpg.9bef380761f5e1dcea881c35cf9bfe62.jpg

I ssent the reward

 

 

1055825848_screenUniteRORevive001.thumb.jpg.5c69078128811490e3c7ac97203eaddb.jpg

I try opened using player group

 

1289503333_screenUniteRORevive002.thumb.jpg.5cac6bcf64773cfd426806d7f4fd67ce.jpg

 

No Menu for "CLAIM" only back.

 

 

Untdfgdfgfdgitled.thumb.jpg.692a1f92a45e472d0ac27520ec7e1be2.jpg

 

This is the data on sql table

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

hmm .. it seem like the default datetime stored in your database was different.

change

( .@char_name$ == .@claim_name$ && !.@status && .@claim_time$ == "0000-00-00 00:00:00" ) ? "Claim Reward":"",

into

( .@char_name$ == .@claim_name$ && !.@status && .@claim_time$ == "1000-01-01 00:00:00" ) ? "Claim Reward":"",

or

( .@char_name$ == .@claim_name$ && !.@status) ? "Claim Reward":"",

because that claim_time checking was just a failsafe.

Edited by Emistry
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  216
  • Reputation:   9
  • Joined:  07/12/12
  • Last Seen:  

Worked !!

thanks emistry !!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...