Jump to content

Begin

Members
  • Content Count

    85
  • Joined

  • Last visited

Everything posted by Begin

  1. Thank you very much Ms. Annie for helping us without any payment.
  2. Hello @pan I followed your guide but I am getting this error: 'class_c': is not a member of 'map_session_data' Can you help me fix this? Thank you.
  3. Hi All, May I request for a source mod or plugin that when a Blacksmith was soul linked, an Auto Parry Lv 10 skill is enabled when receiving an attack with a 5% chance. And an additional +15% Cart Termination skill. Thank you very much.
  4. Hi All, I am having a difficulty on applying +15% damage when soul linked a Sniper. Can you help me resolve this? case MA_SHARPSHOOTING: skillratio += 100 + 50 * skill_lv; if( sd->sc.data[SC_SOULLINK] && sd->sc.data[SC_SOULLINK]->val2 == SL_HUNTER) skillratio += 15; break; When I add skillratio += 15; there is no changes. I compiled it before testing. I am currently fixing it but if you know the answer, can you help me as I don't know how to do it correctly. Thank you.
  5. Hello Ms. Annie, 2. you want it to do 1x per day reset at 12AM. Sorry for the confusion. Thank you so much.
  6. Hello Ms. Annie! It works nicely! I just want to ask something because I can't read those codes. Is this the the lines that is needed before you can do the quest again? if ( $ip_reward_daytime != atoi( gettimestr("%Y%m%d", 20 ) ) ) { $ip_reward_daytime = atoi( gettimestr("%Y%m%d", 20 ) ); deletearray $ip_reward$; } Can you also add a message that "You need to wait 5 hours (24hrs cooldown after your complete the quest) hours before talking to me again" Sorry for asking for more Ms. Annie. I already satisfied with the script you've provided if the additional message is not possible. Thank you very much.
  7. Ahh, you're right Ms. Annie. Pause must be excluded. Do you think Stop must be included in the script? Because the event will only trigger when you select the Start option. I think an end or stop on the timer when you get the reward will do. You can only do the event/talk to NPC 1x a day not every after you complete 5 hours. Thank you. Anyone?
  8. Hi All, May I request for a Hourly Point NPC with a Target Hours before you get the reward? There is a menu with Start, Stop and Pause button for logging out/offline purpose. I already tried my best to edit a hourlypoint script but I failed. Thanks in advance! ---Solved. Already found it. Sorry for not patiently testing all the topics that I saw. Hi All, Can you help me edit this script? Need to change the settings. You must not get the reward once you talked. You must only get the reward if you only reached the target time. In the photo attached, I talked to NPC in the first time and the NPC already gave the reward. I want if possible, you will only get the reward when you stayed online for 5 hours straight without logging out/disconnect/offline. Also a menu with Start, Stop and Pause for a player if he will logout of the game. Thank you. prontera,155,160,5 script Reward NPC 4_F_FAIRYKID4,{ .@npc_name$ = "[P NPC]"; for (.@i = 0; .@i < getarraysize($ip_reward$); .@i+=2) { if ($ip_reward$[.@i] != getcharip()) continue; .@delays = atoi($ip_reward$[.@i+1]) + .delay; if (.@delays > gettimetick(2)) { mes .@npc_name$; mes "Do you want a surprise item from me?"; mes "You have to wait for "+callfunc("Time2Str", .@delays); mes "To claim the reward!"; close; } .@index = .@i+1; break; } mes .@npc_name$; mes "Hello "+strcharinfo(0)+",I"; mes "am here to give you a daily"; mes "Surprise Reward. Do you want to have it?"; next; switch (select("-Yes, sure!:-No, bye!:-Cancel")) { case 1: mes .@npc_name$; for (.@j = 0; .@j < getarraysize(.reward); .@j+=2) getitem .reward[.@j], .reward[.@j+1]; mes "Okay have fun with it!"; if (.@index) $ip_reward$[.@index] = gettimetick(2); else { .@index = getarraysize($ip_reward$); $ip_reward$[.@index] = getcharip(); $ip_reward$[.@index+1] = gettimetick(2); } close; default: mes .@npc_name$; mes "Okay goodbye!"; close; } OnInit: setarray .reward, 601, 1; // <item id>, <item amount>{, <item id>, <item amount>,...} .delay = 60; // Delay time before reward can be re-claimed. time set in second, default 24 Hours = 86400 seconds end; }
×
×
  • Create New...

Important Information

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