Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. there are no nid to change the quest_shop name everytime. You could have follow the instruction/guide given. prontera,179,195,3 script Basic Quests 757,{ callfunc "qshop5", 1, 2, 3; } // open shop 1, 2, 3 prontera,179,195,3 script Basic Quests 757,{ callfunc "qshop5", 4, 5; } // open shop 4, 5 and etc...
  2. try this. https://pastebin.com/kT7Gy5NH
  3. shutdown server and execute this query ALTER TABLE `login` ADD `last_login_date` DATETIME; UPDATE `login` SET `last_login_date` = `last_login` WHERE `last_login_date` IS NULL then load this npc. https://pastebin.com/hduVVqPB
  4. both are same, the below picture show the korea letters. for grf, you just need to change the encoding. GRF > Setting > Display Encoding > Korean
  5. prontera,155,181,5 script Sample 4_F_KAFRA1,{ end; OnInit: questinfo 1000, QTYPE_QUEST; end; } as mentioned by @llchrisll at above.
  6. you could try this. https://pastebin.com/SY05Vjxr
  7. you could use this script. https://pastebin.com/qh15CLjf
  8. prontera,155,181,5 script Sample 4_F_KAFRA1,{ if (getcharid(3) <= 150001) { if (#COMPENSATION_REWARD <= 0) { #COMPENSATION_REWARD = gettimetick(2); getitem 501, 1; getitem 501, 2; getitem 501, 3; mes "You gained reward for the compensation."; close; } } end; } define the account id here if (getcharid(3) <= 150001) {
  9. prontera,155,181,5 script Sample 4_F_KAFRA1,{ if (getgroupid() == 1) { .@today = gettime(8); if (#DAILY_VIP_REWARD != .@today) { #DAILY_VIP_REWARD = .@today; getitem 501, 1; getitem 501, 2; getitem 501, 3; mes "You gained reward for todays."; close; } } end; }
  10. it return more than 1 field. you need to provide the array to store other fields that returned from the query. query_sql("SHOW COLUMNS FROM `login` LIKE 'magic_shop%'", .@field$, .@type$, .@null$, .@key$, .@default$, .@extra$); return getarraysize(.@field$);
  11. you didnt re-create the sql table that provided.
  12. https://pastebin.com/K0w5yFDL
  13. kRO range = cells range with npc as the center duration = second units heal rate = percentage of healing
  14. View File Campfire Original Topic: http://herc.ws/board/topic/16037-campfire-to-regenerate-hpsp/ Herc Script Link : https://pastebin.com/fksPdpFQ The Idea: Camp Fire to restore / regenerate HP & SP. When you sit by the Camp fire, you start feeling the warmth and the comfort, so your HP & SP begin to regenerate. How to use : 1. add the source mode provided in the script. (or here) 2. make a usable item_db with these bonus script. callfunc("func_CreateCampFire", <range>, <duration>, <heal_rate>); // create campfire callfunc("func_UpdateCampFire", <range>, <duration>, <heal_rate>); // update the campfire duration/heal rate. Preview: Credits : @Dastgir & @Radian for the src mod and @Habilis for the idea Submitter Emistry Submitted 11/01/2018 Category Utilities Video https://www.youtube.com/watch?v=mFPFflLGscE Content Author Emistry  
  15. Emistry

    Campfire

    Version 1.2.1

    1081 downloads

    Original Topic: http://herc.ws/board/topic/16037-campfire-to-regenerate-hpsp/ Herc Script Link : https://pastebin.com/fksPdpFQ The Idea: Camp Fire to restore / regenerate HP & SP. When you sit by the Camp fire, you start feeling the warmth and the comfort, so your HP & SP begin to regenerate. How to use : 1. add the source mode provided in the script. (or here) 2. make a usable item_db with these bonus script. callfunc("func_CreateCampFire", <range>, <duration>, <heal_rate>); // create campfire callfunc("func_UpdateCampFire", <range>, <duration>, <heal_rate>); // update the campfire duration/heal rate. Preview: Credits : @Dastgir & @Radian for the src mod and @Habilis for the idea
    Free
  16. prontera,155,181,5 script Sample 4_F_KAFRA1,{ .@ticket_id = 7539; .@amount = 1; if (countitem(.@ticket_id) >= .@amount) { delitem .@ticket_id, .@amount; getitem F_Rand(501, 502, 503, 504, 505, 506), 1; } end; }
  17. find all the relevant maps/npc/warps and remove it
  18. you added a hidden npc there? check all the npc that you added recently
  19. if (!vip_status(VIP_STATUS_ACTIVE)) { mes "you're not vip."; close; } add this condition checking to your npc when player talk to it.
  20. function script func_Box { setarray .@item_id,501,502,503,504,505; setarray .@amount,1,2,3,4,5; .@i = rand(getarraysize(.@item_id)); getitem .@item_id[.@i], .@amount[.@i]; announce "["+strcharinfo(0)+"] get "+.@amount[.@i]+"x "+getitemname(.@item_id[.@i])+" from box",0; return; }
  21. prontera,155,181,5 script Sample 4_F_KAFRA1,{ if (getgmlevel() >= 99) { mes "Enter player name"; input .@name$; mes .@name$ + " has "+ readparam(CASHPOINT_VAR,.@name$) + " cashpoints"; close; } end; }
×
×
  • Create New...