Kuroe

Members
  • Content Count

    21
  • Joined

  • Last visited

  • Days Won

    2

Kuroe last won the day on April 5

Kuroe had the most liked content!

About Kuroe

  • Rank
    Member

Profile Information

  • Github
    Kuroes
  • Emulator
    Hercules

Recent Profile Visitors

179 profile views
  1. - script Sample FAKE_NPC,{ OnInit: detachrid(); .cdtime = 24*60*60; for (set .accid, 2000009; .accid<=2000030 ; .accid++) end; OnPCLoginEvent: attachrid(.accid); if (#gotone + .cdtime> gettimetick(2)) { dispbottom "Daily reward have been distributed"; end; } else { dispbottom "An apple a day takes the doctor away."; getitem Apple,20; #gotone = gettimetick(2); end; } }
  2. Kuroe

    race_resist

    Thank you for pointing it out. updated to ver 1.1
  3. View File race_resist A simple plugin that adds race_resist() into your emulator (Checks race resist of a player). //===== Description ========================================== //= Checks how much resistance a character has to a particular // race. // //= race_resist(<type>{, <account id>}); //= E.g. race_resist(RC_Player); //= E.g. race_resist(RC_Player, getcharid(CHAR_ID_ACCOUNT)); Its just actually a rip off plugin from @bWolfie's check_resist() plugin full credits goes to him. Submitter Kuroe Submitted 04/11/19 Category Plugins  
  4. Kuroe

    race_resist

    Version 1.1

    21 downloads

    A simple plugin that adds race_resist() into your emulator (Checks race resist of a player). //===== Description ========================================== //= Checks how much resistance a character has to a particular // race. // //= race_resist(<type>{, <account id>}); //= E.g. race_resist(RC_Player); //= E.g. race_resist(RC_Player, getcharid(CHAR_ID_ACCOUNT)); Its just actually a rip off plugin from @bWolfie's check_resist() plugin full credits goes to him.
  5. In file included from marketclone.c:55:0: marketclone.c: In function ‘plugin_init’: ../plugins/HPMHooking.h:49:11: error: ‘HPMHOOK_pre_clif_charnameack’ undeclared (first use in this function); did you mean ‘HPMHOOK_pre_clif_charnameupdate’? (void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \ ^ marketclone.c:493:2: note: in expansion of macro ‘addHookPre’ addHookPre(clif, charnameack, clif_charnameack_pre); ^~~~~~~~~~ ../plugins/HPMHooking.h:49:11: note: each undeclared identifier is reported only once for each function it appears in (void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \ ^ marketclone.c:493:2: note: in expansion of macro ‘addHookPre’ addHookPre(clif, charnameack, clif_charnameack_pre); ^~~~~~~~~~ ../plugins/HPMHooking.h:49:51: error: expected ‘)’ before numeric constant (void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \ ^ marketclone.c:493:2: note: in expansion of macro ‘addHookPre’ addHookPre(clif, charnameack, clif_charnameack_pre); ^~~~~~~~~~ ../plugins/HPMHooking.h:49:63: warning: left-hand operand of comma expression ha s no effect [-Wunused-value] (void)((HPMHOOK_pre_ ## ifname ## _ ## funcname)0 == (hook)), \ ^ marketclone.c:493:2: note: in expansion of macro ‘addHookPre’ addHookPre(clif, charnameack, clif_charnameack_pre); ^~~~~~~~~~ I think the plugin isn't compatible with the latest herc?
  6. I don't know if its just me or others get it too but the showscript command gives memory leaks
  7. Kuroe

    evento Tarot

    try changing to specialeffect([email protected], AREA, playerattached());
  8. Kuroe

    Hi

    if its just the installation then there's no changes i think been using the same method for the past few years
  9. Kuroe

    Hi

    https://herc.ws/wiki/Installation_(Debian)
  10. Hello. I found this src edit on rathena by anacondaqq It notifies the guild master and members if the guild skill is ready to use and if not it'll display the time in minutes:seconds before it is available again. May i request a plugin form of this thats working on the latest version of herc? Thank you in advance
  11. Like this? prontera,158,167,3 script Sample 4_M_SIT_NOVICE,{ if (#gotreward + .next_take> gettimetick(2)) { mes "[Random Item Giver]"; mes "Please talk to me after 24 hours."; close; } else { set .random1,rand(getarraysize (.count1)); set .random2,rand(getarraysize (.count2)); set .random3,rand(getarraysize (.count3)); mes "[Random Item Giver]"; mes "Have some of these!"; getitem .item[rand(getarraysize (.item))],.count1[.random1]; getitem .item[rand(getarraysize (.item))],.count2[.random2]; getitem .item[rand(getarraysize (.item))],.count3[.random3]; #gotreward = gettimetick(2); next; close; } OnInit: .next_take = 24*60*60; setarray .item[0],656,657,505,645,506,14510; setarray .count1[0],1,10; setarray .count2[0],5,15; setarray .count3[0],10,20; end; } Edit: Thought it was 1-10 , 5-15 , and 10-20 instead of 1,10 5,15 and 10,20
  12. https://github.com/HerculesWS/Hercules/blob/stable/npc/custom/quests/quest_shop.txt try using this one? setarray .Shops$[1],"Headgears","Weapons","Other"; Where Shop #1 is Headgears, #2 Weapons, #3 Other Add(1,5022,1,0,0,7086,1,969,10,999,40,1003,50,984,2); // Add(<shop ID>,<reward ID>,<reward amount>, // <Zeny cost>,<point cost>, // <required item ID>,<required item amount>{,...}); Sample: Add(1,909,1,0,0,7179,1); Reward to be given: Jellopy Amount: 1 Zeny needed: 0 Cashpoints needed: 0 required item(s):Proof of donation Amount : 1