Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 10/04/20 in all areas

  1. 1 point
    plugin ... please no source edit, hercules member please don't edit source code by any means necessary https://github.com/AnnieRuru/Release/blob/master/plugins/rare_drop_announce.c try write a plugin yourself ?
  2. 1 point
    update plugin -> https://github.com/AnnieRuru/Release/blob/master/plugins/addrefinedrop/addrefinedrop_0.3.c along with healer script for testing -> https://github.com/AnnieRuru/Release/blob/master/scripts/Utility/healer/healer_1.2.txt nope, but we can just struct item_data of the nameid to get the data of that item 1.4 - https://github.com/AnnieRuru/Release/blob/master/plugins/addrefinedrop/addrefinedrop_0.4.c - if the item is non-refine-able, it doesn't drop refined items
  3. 1 point
    AnnieRuru

    Promotional Code Script

    you mean something like the first 500 players who redeem this code will get freebies !! this reminds me in real life e-wallet the first 100,000 customer who use this coupon code will get a discount when do online purchase terms and conditions apply blah blah once expire ... how ? can't redeem again even for other player ? isn't this feels stupid ... the code only used once ... if the GM advertise the code, everyone sees the code, but the code only use once .... =/
  4. 1 point
    evilpuncker

    Promotional Code Script

    A few suggestions in case someone is going to make this script in the future: - redeem log viewer - 2 types of codes: one that can be used multiple times by different accounts, and one that can be used just once only by one account - add expiration date to codes, with default date to expire (i.e. 1 month) or undefined (infinite) - add announce (yes/no) when player redeem code - add delay to use npc (good to prevent multiple code uses and prevent spam/give chance to slower players) - better code generation (maybe even saving them on .txt file) being able to chose from random letters and numbers, to anything you want (i.e. mycode2020) - rewrite everything to getitembound as @AnnieRuru said - something like this: -> talk to npc -> chose code style (random generated or user input) -> chose code amount (amount of uses that it can be used) -> chose code type (by account or unique use) -> (if unique use: we need to add a "group" to the codes, for example: we generate a group of 5 unique codes, they all belong to a group (something to make them unique), so a player can only use one of the 5 codes from THAT group (we need this to make sure that a player alone doesn't use all the codes at once and others player don't have a chance) and the other 4 codes can still be used by other players) -> chose code reward (itemID - amount) - no more ideas
  5. 1 point
    AnnieRuru

    Promotional Code Script

    https://rathena.org/board/topic/115232-script-doesnt-recognize-spaces/?do=findComment&comment=344440 seriously this is getting on my nerve whenever somebody bring this script up can't everyone just recognize this script is just bug as hell ? and promotion code can always bypass by players no matter how hard you try block by IP is just plain stupid better use getitembound instead of getitem so players will realize the reward item is bound to the account only and when the script made as getitembound, means this VERY OLD script is invalid to use in today's script method ------------------------------- ok enough being grumpy, 1. the SQL table has to be case-sensitive 2. use varchar CREATE TABLE IF NOT EXISTS `reward_logs` ( `account_id` int unsigned NOT NULL default '0', `last_ip` varchar(16) NOT NULL, `code` VARCHAR(26) NOT NULL, `redeem_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', `claim` INT NOT NULL, PRIMARY KEY (`code`) ) ENGINE = MYISAM; and I'm not fixing this script better just write a new one with *getitembound
  6. 1 point
    the cards can be done by retrieve the card ID from `item_db` SQL table, its not that hard to do https://github.com/AnnieRuru/Release/blob/master/plugins/addrefinedrop/addrefinedrop_0.2.c btw, this is simple stuffs .... PS: when testing, I turned on autoloot and using custom identifier script
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.