Jump to content

Balfear

Members
  • Content Count

    226
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    17

Balfear last won the day on February 17

Balfear had the most liked content!

Community Reputation

155 Excellent

About Balfear

  • Rank
    Marin
  • Birthday 05/22/1990

Profile Information

Recent Profile Visitors

5,149 profile views
  1. Hi, you can use mapflag noskill to disable all skills; https://github.com/rathena/rathena/blob/master/doc/mapflags.txt#L161 or create new zone with list of skills that shouldn't be used on current map https://github.com/rathena/rathena/blob/master/db/re/skill_nocast_db.txt for that you need mapflag restricted <zone> https://github.com/rathena/rathena/blob/master/doc/mapflags.txt#L167
  2. Hi, check my free script. It can add and upgrade sockets. https://github.com/Balferian/Rathena_scripts/blob/master/Enchant master.txt
  3. episode, map name, coordinates?
  4. Need to add check case 1: query_sql("SELECT `balance` FROM `" + escape_sql(.redeemTable$) + "` WHERE `account_id` = " + getcharid(3), [email protected]); if ([email protected] > 0){ mes "How many Donation Credits do you wish to redeem?"; next; mes .npcName$; input [email protected],1,[email protected]; if([email protected] > [email protected]) { mes "You don't have enough credits."; close; } query_sql("UPDATE `" + escape_sql(.redeemTable$) + "` SET `balance` = `balance` - " + [email protected] + " WHERE `account_id` = " + getcharid(3) + ""); set #CASHPOINTS,#CASHPOINTS + [email protected]; mes [email protected] + "x " ; } else { mes "My records indicate that there are no rewards awaiting to be redeemed."; mes "My deepest apologies for the misunderstanding."; } break;
  5. Read this to understand how variables works and what variable should use here: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L455 ...$ - is a string variables you should use here [email protected] getitem .donate_item, [email protected]_Code;
  6. Yes, you can use makeitem command https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L4863
  7. Also when you delete items (only if it is headgear or robe) from inventory you should update `char` table: set value 0 for head_top, head_mid, head_bottom, robe. SELECT * FROM `inventory` WHERE char_id = <char id> AND equip > 0; UPDATE `char` SET head_top = 0, head_mid = 0, head_bottom = 0, robe = 0 WHERE char_id = <char id>;
  8. Hi, you can see sample of instance in rathena docs https://github.com/rathena/rathena/blob/master/doc/sample/instancing.txt monster instance_mapname("nov_grnds"),0,0,"Poring",1002,20;
  9. only if you change exe to lower version, gravity remove it.
  10. check this commit https://github.com/rathena/rathena/pull/5563/files colors depend on client version
  11. - script Treasure Box Respawner -1,{ OnMinute00: monster "prontera",0,0,"Treasure Box",2288,1,"Treasure Box Respawner::OnTBoxDestroyed"; end; OnTBoxDestroyed: announce "The Treasure box has been destroyed by " + strcharinfo(0) + "!",3; end; } https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L857
  12. add new group here https://github.com/rathena/rathena/blob/master/src/map/mob.hpp#L113 and here https://github.com/rathena/rathena/blob/master/src/map/script_constants.hpp#L4577 then recompile your server
  13. @norightinfo if you want to use high id in lua then you need use exe 2018-11-21 or higher.
  14. What exe version you use? Maybe it`s old and don`t support high items id.
×
×
  • Create New...

Important Information

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