Emistry

Forum Moderator
  • Content Count

    8,916
  • Avg. Content Per Day

    3
  • Joined

  • Last visited

  • Days Won

    168

Emistry last won the day on November 4

Emistry had the most liked content!

Community Reputation

1,774 Excellent

About Emistry

  • Rank
    /me hate IPS4 Editor
  • Birthday July 20

Profile Information

  • Gender
    Male
  • Location
    Novice Ground
  • Server
    127.0.0.1
  • Github
    emistry
  • Interests
    Chit-chat ~

Contact Methods

Recent Profile Visitors

37,170 profile views
  1. Emistry

    bMaxHPrate x getrefine

    // +10 HP for every refines. bonus bMaxHP, (getrefine() * 10); // +10 HP for every 2 refines. bonus bMaxHP, ((getrefine() / 2) * 10); // +10 HP for every 3 refines. bonus bMaxHP, ((getrefine() / 3) * 10); // +10 HP for every 4 refines. bonus bMaxHP, ((getrefine() / 4) * 10); // +10 HP for every 5 refines. bonus bMaxHP, ((getrefine() / 5) * 10);
  2. Emistry

    bug damage dragon breat and tiger cannon

    your max stat are too high and lead to max def and hence you getting damage immune =='
  3. Emistry

    Navigation Mob Editing

    if i am not mistaken about it ... Navi_Mob = { { "abbey01", --> Map Name 20594, --> Unique Code 300, --> Monster Type (300 = Normal Mob, 301 = MVP) 3736588, --> (Not sure) "구울", --> Monster Name 1 "GHOUL", --> Monster Name 2 (Sprite Name) 61, --> Mob Level 3211521 --> (Not sure) }, additional info. https://github.com/HerculesWS/StaffPlugins/blob/master/Haru/naviluagenerator/naviluagenerator.c#L397-L418
  4. Emistry

    Strange attack glitch?

    that is the solution, apply it to your server as shown in the commit.
  5. Emistry

    Utility: Campfire

    addrid + sc_start
  6. Emistry

    Requesting for item script ^^

    you could add additional condition checking such as check if its in town area. if (!getmapflag(strcharinfo(3), mf_town)) nude; nude if char aren't in town.
  7. Emistry

    Utility: Campfire

    @JaranSwitch0101 you're obviously did wrong somewhere in your src without following with the diff or did incorrectly, recheck every single lines that you have edit. No point in checking the item_db are using spaces or not, because its irrelevant.
  8. Emistry

    Simplifying this npc.

    function script omnirefine { [email protected]$ = getarg(0); /// Custom chances 1 to 20. setarray [email protected]_chances[1], 100, 100, 100, 100, 95, 80, 80, 50, 50, 35, 20, 20, 16, 16, 15, 15, 14, 14, 10, 10; /// Equipment position names (Don't edit that order). setarray [email protected]_name$[1],"Head","Middle","Lower","Armor","Weapon","Shield","Garment","Shoes","Accessory 1","Accessory 2"; /// Weapon material [email protected]_material = 6438; // Omni-Oridecon [email protected]_material_name$ = "Omni-Oridecon"; /// Armor material [email protected]_material = 6439; // Mega-Elunium [email protected]_material_name$ = "Mega-Elunium": disable_items; mes "["+ [email protected]$ +"]"; mes "I am the best Armsmith ever!"; mes "I don't refine with normal, boring materials."; // mes "I only refine items using ^FF0000" + getitemname([email protected]_material) + "^000000 and FF0000" + getitemname([email protected]_material) + "^000000."; mes "I only refine items using ^FF0000"[email protected]_material_name$+"^000000 and ^FF0000"[email protected]_material_name$+"^000000."; next; mes "["+ [email protected]$ +"]"; mes "Anyway, you may use my services if you have any of that materials."; mes "What do you want me to refine?"; next; setarray [email protected]_pos[1],EQI_HEAD_TOP,EQI_HEAD_MID,EQI_HEAD_LOW,EQI_ARMOR,EQI_HAND_R,EQI_HAND_L,EQI_GARMENT,EQI_SHOES,EQI_ACC_R,EQI_ACC_L; for ([email protected] = 1; [email protected] <= getarraysize([email protected]_pos); [email protected]) { if (getequipisequiped([email protected]_pos[[email protected]])) [email protected]$ += getequipname([email protected]_pos[[email protected]]); else [email protected]$ += "^777777" + [email protected]_name$[[email protected]] + " - " + "[Unavailable]" + "^000000"; [email protected]$ += ":"; } [email protected] = [email protected]_pos[select([email protected]$)]; [email protected]_id = getequipid([email protected]); [email protected] = getequiprefinerycnt([email protected]); if (!getequipisequiped([email protected])) { //custom check mes "["+ [email protected]$ +"]"; mes "You're not wearing"; mes "anything there that"; mes "I can refine."; emotion ET_FRET; close; } if (!getequipisenableref([email protected])) { mes "["+ [email protected]$ +"]"; mes "I don't think I can"; mes "refine this item at all..."; close; } if ([email protected] >= 20) { //custom check mes "["+ [email protected]$ +"]"; mes "I can't refine this"; mes "any more. This is as"; mes "refined as it gets!"; close; } if (getiteminfo([email protected]_id,2) == 5) { [email protected] = [email protected]_material; [email protected]_name$ = [email protected]_material_name$; } else if (getiteminfo([email protected]_id,2) == 4) { [email protected] = [email protected]_material; [email protected]_name$ = [email protected]_material_name$; } if ((getequipweaponlv([email protected]) >= 1) && (getequipweaponlv([email protected]) <= 4)) { [email protected]$ = "a"; [email protected]$ = "weapon"; } else { [email protected]$ = "an"; [email protected]$ = "armor"; } mes "["+ [email protected]$ +"]"; mes "Hmm " + [email protected]e$ + " " + [email protected]$ + ", is that ok?"; mes "If you want to refine this " + [email protected]$ + ","; mes "I will need 1 ^FF0000" + [email protected]_name$ + "^000000."; mes "Are you sure you want to continue?"; next; if(select("Yes:No") == 2){ mes "["+ [email protected]_name$ +"]"; mes "Hm... if you mind... never mind..."; close; } while (1) { [email protected] = getequiprefinerycnt([email protected]); if (countitem([email protected]) < 1) { mes "["+ [email protected]$ +"]"; mes "Hm. You don't seem to have enough "[email protected]_name$+"."; mes "Please come back when you have them."; close; } delitem [email protected],1; // anti-hack if (callfunc("F_IsEquipIDHack", [email protected], [email protected]_id) || callfunc("F_IsEquipRefineHack", [email protected], [email protected])) { mes "["+ [email protected]$ +"]"; emotion ET_FRET; mes "Wait a second..."; mes "Do you think I'm stupid?!"; mes "You switched the item while I wasn't looking! Get out of here!"; close; } if ([email protected]_chances[[email protected]+1] > rand(100)) { mes "["+ [email protected]$ +"]"; mes "Clang! Clang! Clang! Clang!"; successrefitem [email protected]; next; emotion ET_BEST; mes "["+ [email protected]$ +"]"; mes "Good! Succes!!!"; mes "I am the best Armsmith."; next; } else { if (rand(100) < 80) { mes "["+ [email protected]$ +"]"; mes "Clang! Clang! Clang! Clang!"; downrefitem [email protected],0; // Only for the fail refinement animation next; emotion (!rand(5))?ET_MONEY:ET_HUK; mes "["+ [email protected]$ +"]"; mes "Ahhh!!!"; next; mes "["+ [email protected]$ +"]"; mes "Oh my god!"; mes "The upgrade level has dropped..."; } else { mes "["+ [email protected]$ +"]"; mes "Clang! Clang! Clang!"; downrefitem [email protected],0; // Only for the fail refinement animation next; emotion (!rand(5))?ET_MONEY:ET_HUK; mes "["+ [email protected]$ +"]"; mes "Hmmm!"; next; mes "["+ [email protected]$ +"]"; mes "Oh my! I've failed to refine stuff..."; mes "I didn't mean it!"; } mes "I could have made a mistake even though I am the best Armsmith ever."; mes "It just wasn't meant to be."; next; mes "["+ [email protected]$ +"]"; mes "I will do a better job next time! Don't worry!"; next; } mes "["+ [email protected]$ +"]"; mes "Do you want to refine again?"; next; if(select("Yes:No") == 2){ mes "["+ [email protected]_name$ +"]"; mes "Hm... if you mind... never mind..."; close; } } return; } prt_in,54,58,3 script Refiner#1 813,{ callfunc "omnirefine","^0000FFBlessed Refiner^000000"; end; } try this, you just have to find all and rename it... or save the name to a variable, and use that variable to display the name
  9. Emistry

    Channel Controller

    try this https://pastebin.com/RCqBbTc1
  10. Emistry

    lucky spin problems

    https://pastebin.com/urEAkcLB
  11. Emistry

    Emistry Vendor Script

    i believe your script already hit some error like infinity loop since you removed this line from the script. // sleep 100; uncomment it
  12. Emistry

    Detect dropped item from monster

    if i recall correctly, monster drop are recorded in picklog as well with the monster ID and item ID with the action of drop (D). @n0tttt nice try, didnt realize there exists a script command for getareadropitem. but the script wont work for autoloot.
  13. Emistry

    Missing Sprite [Summer, Xmas]

    you didnt have the sprite for xmas / summer Check your kRO grf, if doesn't exists then download from other sources and add to your grf.
  14. Emistry

    Problem with Holy Water

    set the cells of the map to water cell.
  15. Emistry

    CHAR DELETION

    remove the char deletion delay? conf/char_athena.conf#L168-L171 delete a char through SQL aren't recommended, unless you're familiar with which other tables also related with it and delete the data from those other table too.