ThyroDree

Members
  • Content count

    408
  • Joined

  • Last visited

6 Followers

About ThyroDree

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  • Location:
    at your back ~~
  • Interests
    Interest on you ♥ ♥ ♥
  • Emulator:
    eAthena

Recent Profile Visitors

1856 profile views
  1. Hello, Anyone can help me.. Getting this problem, I check my mapindex and maps in conf folder i have the 06guild_ maps written. [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Summoner#guil8 at 06guild_08 (49,49) [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Summoner#guil7 at 06guild_07 (49,49) [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Summoner#guil6 at 06guild_06 (49,49) [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Summoner#guil5 at 06guild_05 (49,49) [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Summoner#guil4 at 06guild_04 (49,49) [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Summoner#guil3 at 06guild_03 (49,49) [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Summoner#guil2 at 06guild_02 (49,49) [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: Source (NPC): Summoner#guil1 at 06guild_01 (49,49) From this script //===== rAthena Script ======================================= //= Private MVP & Branch Room //===== By: ================================================== //= AnnieRuru //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= Allows players to rent an MVP room for personal use, //= or for a party or guild. //===== Additional Comments: ================================= //= 1.0 First version, edited. [Euphy] //============================================================ prontera,165,161,4 script Private MVP Room 4_M_EIN_SOLDIER,{ mes "[Private MVP Room]"; mes "Please select a private MVP room."; if ( getvariableofnpc( .rentcost, "MVP Summoner" ) ) mes "The cost to rent a room for "+ getvariableofnpc( .timeout, "MVP Summoner" ) +" minutes is "+ callfunc("F_InsertComma", getvariableofnpc( .rentcost, "MVP Summoner" ) ) +" zeny."; else mes "You can only use the room for only "+ getvariableofnpc( .timeout, "MVP Summoner" ) +" minutes."; mes " "; for ( [email protected] = 1; [email protected] <= 8; [email protected]++ ) if ( getvariableofnpc( .renttime[[email protected]], "MVP Summoner" ) ) mes "Room #"+ [email protected] +" = "+ .color$[ .type[[email protected]] ] + .whoinuse$[[email protected]] +"^000000"; next; [email protected] = select( "MVP Room 1 ["+ getmapusers("06guild_01") +"]", "MVP Room 2 ["+ getmapusers("06guild_02") +"]", "MVP Room 3 ["+ getmapusers("06guild_03") +"]", "MVP Room 4 ["+ getmapusers("06guild_04") +"]", "MVP Room 5 ["+ getmapusers("06guild_05") +"]", "MVP Room 6 ["+ getmapusers("06guild_06") +"]", "MVP Room 7 ["+ getmapusers("06guild_07") +"]", "MVP Room 8 ["+ getmapusers("06guild_08") +"]"); if ( getvariableofnpc( .renttime[[email protected]], "MVP Summoner" ) ) { if ( .inuseid[[email protected]] == getcharid( .type[[email protected]] ) ) { warp "06guild_0"+ [email protected], 0,0; close; } else { mes "[Private MVP Room]"; mes "This room is reserved for "; mes .color$[ .type[[email protected]] ] + .whoinuse$[[email protected]] +"^000000."; mes "Please select another."; close; } } mes "[Private MVP Room]"; mes "Reserve this room for..."; next; set [email protected], select( "For my party members", "For my guild members", "For personal account use" ); if ( !getcharid([email protected]) ) { mes "[Private MVP Room]"; mes "You do not own a "+( ( [email protected] == 1 )? "Party" : "Guild" )+"."; close; } else if ( Zeny < getvariableofnpc( .rentcost, "MVP Summoner" ) ) { mes "You don't have enough zeny to rent a room."; close; } else if ( getvariableofnpc( .renttime[[email protected]], "MVP Summoner" ) ) { mes "[Private MVP Room]"; mes "I'm sorry, somebody else has already registered this room faster than you."; close; } for ( [email protected] = 1; [email protected] <= 8; [email protected]++ ) { if ( ( getvariableofnpc( .renttime[[email protected]], "MVP Summoner" ) ) && [email protected] == .type[[email protected]] && getcharid([email protected]) == .inuseid[[email protected]] ) { mes "[Private MVP Room]"; mes "You already rented Room#"+ [email protected] +". Use that room instead."; close; } } set .type[[email protected]], [email protected]; set .inuseid[[email protected]], getcharid([email protected]); set .whoinuse$[[email protected]], strcharinfo( ( [email protected] == 3 )? 0 : [email protected] ); Zeny -= getvariableofnpc( .rentcost, "MVP Summoner" ); warp "06guild_0"+ [email protected], 0,0; killmonsterall "06guild_0"+ [email protected]; donpcevent "MVP Summoner#"+ [email protected] +"::OnEnterMap"; close; OnInit: .color$[1] = "^EE8800"; // party color .color$[2] = "^70CC11"; // guild color .color$[3] = "^0000FF"; // account color end; } - script Summoner FAKE_NPC,{ mes "[MVP Summoner]"; mes "Time left: " + callfunc( "Time2Str", .renttime[ atoi( strnpcinfo(2) ) ] + .timeout * 60 ); mes "Hi, what can I do for you?"; next; switch ( select(.menu$) ) { case 1: mes "[MVP Summoner]"; if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) { mes "I cannot offer heal service when there are monsters around."; close; } sc_end SC_STONE; sc_end SC_SLOWDOWN; sc_end SC_FREEZE; sc_end SC_SLEEP; sc_end SC_CURSE; sc_end SC_SILENCE; sc_end SC_CONFUSION; sc_end SC_BLIND; sc_end SC_BLEEDING; sc_end SC_DECREASEAGI; sc_end SC_POISON; sc_end SC_HALLUCINATION; sc_end SC_STRIPWEAPON; sc_end SC_STRIPARMOR; sc_end SC_STRIPHELM; sc_end SC_STRIPSHIELD; sc_end SC_CHANGEUNDEAD; sc_end SC_ORCISH; sc_end SC_BERSERK; sc_end SC_SKE; sc_end SC_SWOO; sc_end SC_SKA; percentheal 100,100; specialeffect(EF_HEAL2, AREA, playerattached()); mes "You are completely healed."; close; case 2: if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) { mes "[MVP Summoner]"; mes "I cannot summon another MVP when there are monsters around."; close; } else if ( .mvpcost ) { mes "[MVP Summoner]"; mes "The cost to summon an MVP is "+ callfunc( "F_InsertComma", .mvpcost ) +" zeny."; next; set [email protected], select(.mvpid_menu$) -1; mes "[MVP Summoner]"; if ( Zeny < .mvpcost ) { mes "You don't have enough zeny to summon an MVP."; close; } } else { set [email protected], select(.mvpid_menu$) -1; mes "[MVP Summoner]"; } mes "Please get ready."; close2; if ( Zeny < .mvpcost ) end; Zeny -= .mvpcost; monster "this", 0, 0, "--ja--", .mvpid[[email protected]], 1, strnpcinfo(3)+"::OnMobDead"; end; case 3: if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) ) { mes "[MVP Summoner]"; mes "I cannot summon another mini-boss when there are monsters around."; close; } else if ( .bosscost ) { mes "[MVP Summoner]"; mes "The cost to summon a mini-boss is "+ callfunc( "F_InsertComma", .bosscost ) +" zeny."; next; set [email protected], select(.bossid_menu$) -1; mes "[MVP Summoner]"; if ( Zeny < .bosscost ) { mes "You doesn't have enough zeny to summon a mini-boss."; close; } } else { set [email protected], select(.bossid_menu$) -1; mes "[MVP Summoner]"; } mes "Please get ready."; close2; if ( Zeny < .bosscost ) end; Zeny -= .bosscost; monster "this", 0, 0, "--ja--", .bossid[[email protected]], 1, strnpcinfo(3)+"::OnMobDead"; end; case 4: if ( mobcount( "this", strnpcinfo(3)+"::OnMobDead" ) > 0 ) { mes "[MVP Summoner]"; mes "I cannot offer this service when there are monsters around."; close; } close2; callshop "MVP room#branch", 1; end; case 5: mes "[MVP Summoner]"; mes "Are you sure you want to leave this room?"; next; if ( select( "Yes:No") == 1 ) warp .respawnmap$, .respawnx, .respawny; close; case 6: mes "[MVP Summoner]"; if ( getmapusers( strcharinfo(3) ) > 1 ) { mes "There are still some players in this room. Make sure you are the last member in this room to use this option."; close; } mes "Are you sure you want to give up this room?"; if ( .rentcost ) mes "You will need to pay again to enter this room."; next; if ( select( "Yes", "No" ) == 2 ) close; awake strnpcinfo(0); end; } close; OnMobDead: end; OnEnterMap: [email protected] = atoi( strnpcinfo(2) ); .renttime[[email protected]] = gettimetick(2); sleep .timeout * 60000; mapwarp strnpcinfo(4), .respawnmap$, .respawnx, .respawny; .renttime[[email protected]] = 0; killmonsterall strnpcinfo(4); end; OnInit: if ( !getstrlen( strnpcinfo(2) ) ) { // Config --------------------------------------------------------------------------------------- // Room rental time, in minutes. // When time runs out, all players inside the room will be kicked out. // Do NOT set this to zero! set .timeout, 60; set .rentcost, 100000; // Zeny cost for renting a room (0 = free) set .mvpcost, 100000; // Zeny cost to summon an MVP (0 = free) set .bosscost, 50000; // Zeny cost to summon a boss monster (0 = free) // Options setting inside MVP room set [email protected][1], 1; // Turn Heal option On/Off set [email protected][2], 1; // Turn MVP Summoning On/Off set [email protected][3], 1; // Turn Mini boss Summoning On/Off set [email protected][4], 0; // Sell items (branches) On/Off (see shop below, before the mapflags) // Respawn point when players leave the room set .respawnmap$, "prontera"; set .respawnx, 150; set .respawny, 174; setarray .mvpid[0], 1511,// Amon Ra 1647,// Assassin Cross Eremes 1785,// Atroce 1630,// Bacsojin 1039,// Baphomet 1874,// Beelzebub 1272,// Dark Lord 1719,// Datale 1046,// Doppelgangger 1389,// Dracula 1112,// Drake 1115,// Eddga 1418,// Evil Snake Lord 1871,// Fallen Bishop 1252,// Garm 1768,// Gloom Under Night 1086,// Golden Thief Bug 1885,// Gopinich 1649,// High Priest Magaleta 1651,// High Wizard Katrinn 1832,// Ifrit 1492,// Incantation Samurai 1734,// Kiel D-01 1251,// Knight of Windstorm 1779,// Ktullanux 1688,// Lady Tanee 1646,// Lord Knight Seyren 1373,// Lord of Death 1147,// Maya 1059,// Mistress 1150,// Moonlight Flower 1087,// Orc Hero 1190,// Orc Lord 1038,// Osiris 1157,// Pharaoh 1159,// Phreeoni 1623,// RSX 0806 1650,// Sniper Shecil 1583,// Tao Gunka 1708,// Thanatos 1312,// Turtle General 1751,// Valkyrie Randgris 1685,// Vesper 1648,// Whitesmith Harword 1917,// Wounded Morroc 1658;// Ygnizem setarray .bossid[0], 1096,// Angeling 1388,// Archangeling 1795,// Bloody Knight 1830,// Bow Guardian 1839,// Byorgue 1309,// Cat O' Nine Tail 1283,// Chimera 1302,// Dark Illusion 1198,// Dark Priest 1582,// Deviling 1091,// Dragon Fly 1093,// Eclipse 1205,// Executioner 1783,// Galion 1592,// Gangster 1120,// Ghostring 1259,// Gryphon 1720,// Hydro 1090,// Mastering 1289,// Maya Purple 1262,// Mutant Dragon 1203,// Mysteltainn 1870,// Necromancer 1295,// Owl Baron 1829,// Sword Guardian 1204,// Tirfing 1089,// Toad 1092,// Vagabond Wolf 1765;// Valkyrie // Config Ends ------------------------------------------------------------------------ if ( !.timeout ) set .timeout, 60; .menu$ = ( [email protected][1] ? "Heal" : "" ) +":" ; .menu$ = .menu$ + ( [email protected][2] ? "Summon MVP" : "" ) +":"; .menu$ = .menu$ + ( [email protected][3] ? "Summon Mini-boss" : "" ) +":"; .menu$ = .menu$ + ( [email protected][4] ? "Buy branches" : "" ) +":"; .menu$ = .menu$ + "Leave this room:Give up this room"; if ( [email protected][2] ) { [email protected] = getarraysize( .mvpid ); for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) .mvpid_menu$ = .mvpid_menu$ + getmonsterinfo( .mvpid[[email protected]], MOB_NAME ) +":"; } if ( [email protected][3] ) { [email protected] = getarraysize( .bossid ); for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) .bossid_menu$ = .bossid_menu$ + getmonsterinfo( .bossid[[email protected]], MOB_NAME ) +":"; } } else { mapannounce strnpcinfo(4), "An administrator has refreshed the server. Please re-register this room.", bc_map; mapwarp strnpcinfo(4), .respawnmap$, .respawnx, .respawny; } end; } - shop MVP room#branch2 FAKE_NPC,604:100000,12103:1000000 06guild_01,49,49,4 duplicate(Summoner) Summoner#guil1 4_F_KAFRA2 06guild_02,49,49,4 duplicate(Summoner) Summoner#guil2 4_F_KAFRA2 06guild_03,49,49,4 duplicate(Summoner) Summoner#guil3 4_F_KAFRA2 06guild_04,49,49,4 duplicate(Summoner) Summoner#guil4 4_F_KAFRA2 06guild_05,49,49,4 duplicate(Summoner) Summoner#guil5 4_F_KAFRA2 06guild_06,49,49,4 duplicate(Summoner) Summoner#guil6 4_F_KAFRA2 06guild_07,49,49,4 duplicate(Summoner) Summoner#guil7 4_F_KAFRA2 06guild_08,49,49,4 duplicate(Summoner) Summoner#guil8 4_F_KAFRA2 06guild_01 mapflag nowarpto 06guild_02 mapflag nowarpto 06guild_03 mapflag nowarpto 06guild_04 mapflag nowarpto 06guild_05 mapflag nowarpto 06guild_06 mapflag nowarpto 06guild_07 mapflag nowarpto 06guild_08 mapflag nowarpto 06guild_01 mapflag nomemo 06guild_02 mapflag nomemo 06guild_03 mapflag nomemo 06guild_04 mapflag nomemo 06guild_05 mapflag nomemo 06guild_06 mapflag nomemo 06guild_07 mapflag nomemo 06guild_08 mapflag nomemo 06guild_01 mapflag noteleport 06guild_02 mapflag noteleport 06guild_03 mapflag noteleport 06guild_04 mapflag noteleport 06guild_05 mapflag noteleport 06guild_06 mapflag noteleport 06guild_07 mapflag noteleport 06guild_08 mapflag noteleport 06guild_01 mapflag nosave SavePoint 06guild_02 mapflag nosave SavePoint 06guild_03 mapflag nosave SavePoint 06guild_04 mapflag nosave SavePoint 06guild_05 mapflag nosave SavePoint 06guild_06 mapflag nosave SavePoint 06guild_07 mapflag nosave SavePoint 06guild_08 mapflag nosave SavePoint 06guild_01 mapflag nopenalty 06guild_02 mapflag nopenalty 06guild_03 mapflag nopenalty 06guild_04 mapflag nopenalty 06guild_05 mapflag nopenalty 06guild_06 mapflag nopenalty 06guild_07 mapflag nopenalty 06guild_08 mapflag nopenalty
  2. Enable to use Parrying and Lord of Vermillion Skill Go to your trunk/src/map/pc.c and look for: Go to your trunk/src/map/pc.c and look for: /* permanent skills that must be re-checked */ if( sd->status.skill[i].flag == SKILL_FLAG_PERMANENT ) { switch( skill->dbs->db[i].nameid ) { case NV_TRICKDEAD: if ((sd->job & MAPID_UPPERMASK) != MAPID_NOVICE) { sd->status.skill[i].id = 0; sd->status.skill[i].lv = 0; sd->status.skill[i].flag = 0; } break; } } } //Add this line below //Star Glad Parrying Soul Link Buffs if( sd->sc.count && sd->sc.data[SC_SOULLINK] && sd->sc.data[SC_SOULLINK]->val2 == SL_STAR) { sd->status.skill[85].id = 85; sd->status.skill[85].lv = 10; sd->status.skill[85].flag = SKILL_FLAG_PERMANENT; sd->status.skill[356].id = 356; sd->status.skill[356].lv = 10; sd->status.skill[356].flag = SKILL_FLAG_PERMANENT; } Go to Skill_db add this Books: true below weapontypes { Id: 356 Name: "LK_PARRYING" Description: "Parrying" MaxLevel: 10 Hit: "BDT_SKILL" SkillType: { Self: true } AttackType: "Weapon" DamageType: { NoDamage: true } SkillData1: { Lv1: 15000 Lv2: 20000 Lv3: 25000 Lv4: 30000 Lv5: 35000 Lv6: 40000 Lv7: 45000 Lv8: 50000 Lv9: 55000 Lv10: 60000 } CoolDown: 0 Requirements: { SPCost: 50 WeaponTypes: { 2HSwords: true } } }, Works for me Increase damage on Boss monster and Holy monster by 100% Open status.c if ((skill_lv = pc->checkskill(sd, AB_EUCHARISTICA)) > 0) { sd->right_weapon.addrace[RC_DEMON] += skill_lv; sd->right_weapon.addele[ELE_DARK] += skill_lv; sd->left_weapon.addrace[RC_DEMON] += skill_lv; sd->left_weapon.addele[ELE_DARK] += skill_lv; sd->magic_addrace[RC_DEMON] += skill_lv; sd->magic_addele[ELE_DARK] += skill_lv; #ifdef RENEWAL sd->race_tolerance[RC_DEMON] += skill_lv; #else sd->subrace[RC_DEMON] += skill_lv; #endif sd->subele[ELE_DARK] += skill_lv; } //Add this below // Soul Link Star Gladiator Damage if(sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_STAR) { sd->right_weapon.addrace[RC_BOSS] += 100; sd->left_weapon.addrace[RC_BOSS] += 100; sd->right_weapon.addele[ELE_HOLY] += 100; sd->left_weapon.addele[ELE_HOLY] += 100; } Perfect Dodge if(sc->data[SC_PLUSAVOIDVALUE]) flee2 += sc->data[SC_PLUSAVOIDVALUE]->val2; if(sc->data[SC_WHISTLE]) flee2 += sc->data[SC_WHISTLE]->val3*10; //Add this below if(sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_STAR) flee2 += 10;
  3. Thanks! pc.c //Star Glad Parrying Soul Link Buffs if( sd->sc.count && sd->sc.data[SC_SOULLINK] && sd->sc.data[SC_SOULLINK]->val2 == SL_STAR) { sd->status.skill[85].id = 85; sd->status.skill[85].lv = 10; sd->status.skill[85].flag = SKILL_FLAG_PERMANENT; sd->status.skill[356].id = 356; sd->status.skill[356].lv = 10; sd->status.skill[356].flag = SKILL_FLAG_PERMANENT; } add this Books: true to weapontypes { Id: 356 Name: "LK_PARRYING" Description: "Parrying" MaxLevel: 10 Hit: "BDT_SKILL" SkillType: { Self: true } AttackType: "Weapon" DamageType: { NoDamage: true } SkillData1: { Lv1: 15000 Lv2: 20000 Lv3: 25000 Lv4: 30000 Lv5: 35000 Lv6: 40000 Lv7: 45000 Lv8: 50000 Lv9: 55000 Lv10: 60000 } CoolDown: 0 Requirements: { SPCost: 50 WeaponTypes: { 2HSwords: true } } }, Works for me
  4. I found this source at rathena anyone can convert it to hercules source? Go to your trunk/src/map/pc.c and look for: for( i = 0; i < MAX_SKILL; i++ ) { if( sd->status.skill[i].flag != SKILL_FLAG_PLAGIARIZED && sd->status.skill[i].flag != SKILL_FLAG_PERM_GRANTED ) //Don't touch these sd->status.skill[i].id = 0; //First clear skills. /* permanent skills that must be re-checked */ if( sd->status.skill[i].flag == SKILL_FLAG_PERM_GRANTED ) { switch( i ) { case NV_TRICKDEAD: if( (sd->class_&MAPID_UPPERMASK) != MAPID_NOVICE ) { sd->status.skill[i].id = 0; sd->status.skill[i].lv = 0; sd->status.skill[i].flag = SKILL_FLAG_PERMANENT; } break; } } } Add this Lines below: if( sd->sc.count && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_STAR) { sd->status.skill[85].id = 85; sd->status.skill[85].lv = 10; sd->status.skill[85].flag = SKILL_FLAG_PERMANENT; sd->status.skill[356].id = 356; sd->status.skill[356].lv = 10; sd->status.skill[356].flag = SKILL_FLAG_PERMANENT; }
  5. Thank you, Yes sir, i think its only applicable if the pk mode is off in misc.conf but the cursor doesnt change to attack mode, you must hold shift to attack when pk command is on.
  6. sadly Pony don't have stocks for their cheapest hosting..
  7. @Begin I tried to use the plugin with PK Mode enabled (Misc.conf), the plugin can't disable or turn off the pk when a character used @pk off. I can still attack the character that disabled or turned off the pk..
  8. Yes, I am making a high rate server same as si @Begin said, a PK Enabled Server that can be disabled via command by a player who doesn't want to be killed. Is this possible in hercules to have?
  9. Thank you!!
  10. I got this problem too, possible to fix? [Warning]: script:op_2num: overflow detected op=C_ADD i1=2147483647 i2=500000000 [Debug]: Source (NPC): Treasure Hunter's Shop at prontera (155,185)
  11. isn't possible that this PK Plugin cannot disable the pk mode on each player? and only its only applicable when the pk server is disabled at misc.conf? (but the cursor doesn't change if targeted to a player).
  12. When PK Mode in Misc.conf is enabled, the cursor changes to sword cursor automatically but it cant switch of by using the pk command.
  13. Anyone can recommend me where can I host the emulator i use? A budget friendly hosting for testing/starters. Location: Philippines
  14. I tried to disable the PK Mode in Misc.conf, and toggled @pk with 2 character.. They both can attack each other but the cursor doesn't change, you must push the SHIFT button to have the sword cursor (attack cursor).