Jump to content

Emistry

Forum Moderator
  • Posts

    10018
  • Joined

  • Days Won

    408

Everything posted by Emistry

  1. try this prontera,155,181,5 script Diablo Akatsuki Suit 718,{ setarray .Item[0], 607,100, 608,10, 7539,1; setarray .Map$[0], "06guild_01", "06guild_02", "06guild_03", "06guild_04", "06guild_05", "06guild_06", "06guild_07", "06guild_08"; for( set .@i,0; .@i < getarraysize( .Item ) - 1; set .@i,.@i + 2 ) if( countitem( .Item[.@i] ) < .Item[.@i + 1] ){ mes "You required "+.Item[.@i + 1]+" x "+getitemname( .Item[.@i] )+" ."; close; } mes "Go in Kill AmonRa to get Custom Suit ?"; if( select("Hunt AmonRa:Cancel") == 2 ) close; mes "Which Room ?"; for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 ){ set .@Menu$,.@Menu$ + .Map$[.@i]+":"; } set @i,select( .@Menu$ ) - 1; killmonster .Map$[@i],"All"; monster .Map$[@i],0,0,"Quest",1511,1,strnpcinfo(0)+"::OnMobKill"; warp .Map$[@i],50,50; attachnpctimer strcharinfo(0); initnpctimer; dispbottom "You have 10 Minutes to finish it."; end; OnTimer300000: message strcharinfo(0),"Time's Up....",0; stopnpctimer; killmonster .Map$[@i],"All"; mapwarp .Map$[@i],"prontera",155,181; end; OnMobKill: getitem 7539,100; stopnpctimer; warp "prontera",155,181; end; }
  2. Check this Edit_Max_Level
  3. For Max Level Check this Edit_Max_Level For your new warning.. All these value cant exceed 10000.... /conf/battle/drops.conf // Item drop rates (Note 2) // The rate the common items are dropped (Items that are in the ETC tab, besides card) item_rate_common: 100 item_rate_common_boss: 100 item_drop_common_min: 1 item_drop_common_max: 10000 // The rate healing items are dropped (items that restore HP or SP) item_rate_heal: 100 item_rate_heal_boss: 100 item_drop_heal_min: 1 item_drop_heal_max: 10000 // The rate at which usable items (in the item tab) other then healing items are dropped. item_rate_use: 100 item_rate_use_boss: 100 item_drop_use_min: 1 item_drop_use_max: 10000 // The rate at which equipment is dropped. item_rate_equip: 100 item_rate_equip_boss: 100 item_drop_equip_min: 1 item_drop_equip_max: 10000 // The rate at which cards are dropped item_rate_card: 100 item_rate_card_boss: 100 item_drop_card_min: 1 item_drop_card_max: 10000 // The rate adjustment for the MVP items that the MVP gets directly in their inventory item_rate_mvp: 100 item_drop_mvp_min: 1 item_drop_mvp_max: 10000 // The rate adjustment for card-granted item drops. item_rate_adddrop: 100 item_drop_add_min: 1 item_drop_add_max: 10000 // Rate adjustment for Treasure Box drops (these override all other modifiers) item_rate_treasure: 100 item_drop_treasure_min: 1 item_drop_treasure_max: 10000
  4. try this prontera,155,181,5 script Sample 757,{ mes "Reset Cost = 10000 Zeny"; if( select("Reset Stats:Cancel") == 2 ) close; if( Zeny < 10000 ){ mes "Zeny Not Enough"; }else{ ResetStatus; set Zeny,Zeny - 10000; mes "Done.."; } close; }
  5. Recompile your server for SQL ...the currently Emulator is TXT version..
  6. Here... http://rathena.org/t...-07-28aRagexeRE Choose your desired diff patch and click Download..
  7. Ya..Facebook's Timeline...really a mess....i hate that..>.< ppl can discover what i have doing all the time since ever i joined facebook due to TimeLine..
  8. add this inside src/common/mapindex.h #define MAP_BRASILIS "brasilis" #define MAP_MANUK "manuk" #define MAP_SPLENDIDE "splendide"
  9. LOL.....i have answered it in Post#2 =='' remove this OnPCLoginEvent:
  10. try this bonus2 bSkillAtk,397,40; doc/item_bonus.txt bonus2 bSkillAtk,n,x; Increase damage of skill n by x% (supports skill names)
  11. Since i have sometime...... src/common/mapindex.h add this //Some definitions for the mayor city maps. #define MAP_MELLINA "mellina" src/map/atcommand.c find this const struct { char map[MAP_NAME_LENGTH]; int x, y; } data[] = { { MAP_PRONTERA, 156, 191 }, // 0=Prontera { MAP_MORROC, 156, 93 }, // 1=Morroc { MAP_GEFFEN, 119, 59 }, // 2=Geffen { MAP_PAYON, 162, 233 }, // 3=Payon { MAP_ALBERTA, 192, 147 }, // 4=Alberta { MAP_IZLUDE, 128, 114 }, // 5=Izlude { MAP_ALDEBARAN, 140, 131 }, // 6=Al de Baran { MAP_LUTIE, 147, 134 }, // 7=Lutie { MAP_COMODO, 209, 143 }, // 8=Comodo { MAP_YUNO, 157, 51 }, // 9=Yuno { MAP_AMATSU, 198, 84 }, // 10=Amatsu { MAP_GONRYUN, 160, 120 }, // 11=Gonryun { MAP_UMBALA, 89, 157 }, // 12=Umbala { MAP_NIFLHEIM, 21, 153 }, // 13=Niflheim { MAP_LOUYANG, 217, 40 }, // 14=Louyang { MAP_NOVICE, 53, 111 }, // 15=Training Grounds { MAP_JAIL, 23, 61 }, // 16=Prison { MAP_JAWAII, 249, 127 }, // 17=Jawaii { MAP_AYOTHAYA, 151, 117 }, // 18=Ayothaya { MAP_EINBROCH, 64, 200 }, // 19=Einbroch { MAP_LIGHTHALZEN, 158, 92 }, // 20=Lighthalzen { MAP_EINBECH, 70, 95 }, // 21=Einbech { MAP_HUGEL, 96, 145 }, // 22=Hugel { MAP_RACHEL, 130, 110 }, // 23=Rachel { MAP_VEINS, 216, 123 }, // 24=Veins { MAP_MOSCOVIA, 223, 184 }, // 25=Moscovia { MAP_BRASILIS, 182, 239 }, // 26=Brasilis { MAP_MANUK, 282, 138 }, // 27=Manuk { MAP_SPLENDIDE, 197, 176 }, // 28=Splendide }; change to this const struct { char map[MAP_NAME_LENGTH]; int x, y; } data[] = { { MAP_MELLINA, 64,64 }, // 0=Mellina { MAP_PRONTERA, 156, 191 }, // 1=Prontera { MAP_MORROC, 156, 93 }, // 2=Morroc { MAP_GEFFEN, 119, 59 }, // 3=Geffen { MAP_PAYON, 162, 233 }, // 4=Payon { MAP_ALBERTA, 192, 147 }, // 5=Alberta { MAP_IZLUDE, 128, 114 }, // 6=Izlude { MAP_ALDEBARAN, 140, 131 }, // 7=Al de Baran { MAP_LUTIE, 147, 134 }, // 8=Lutie { MAP_COMODO, 209, 143 }, // 9=Comodo { MAP_YUNO, 157, 51 }, // 10=Yuno { MAP_AMATSU, 198, 84 }, // 11=Amatsu { MAP_GONRYUN, 160, 120 }, // 12=Gonryun { MAP_UMBALA, 89, 157 }, // 13=Umbala { MAP_NIFLHEIM, 21, 153 }, // 14=Niflheim { MAP_LOUYANG, 217, 40 }, // 15=Louyang { MAP_NOVICE, 53, 111 }, // 16=Training Grounds { MAP_JAIL, 23, 61 }, // 17=Prison { MAP_JAWAII, 249, 127 }, // 18=Jawaii { MAP_AYOTHAYA, 151, 117 }, // 19=Ayothaya { MAP_EINBROCH, 64, 200 }, // 20=Einbroch { MAP_LIGHTHALZEN, 158, 92 }, // 21=Lighthalzen { MAP_EINBECH, 70, 95 }, // 22=Einbech { MAP_HUGEL, 96, 145 }, // 23=Hugel { MAP_RACHEL, 130, 110 }, // 24=Rachel { MAP_VEINS, 216, 123 }, // 25=Veins { MAP_MOSCOVIA, 223, 184 }, // 26=Moscovia { MAP_BRASILIS, 182, 239 }, // 27=Brasilis { MAP_MANUK, 282, 138 }, // 28=Manuk { MAP_SPLENDIDE, 197, 176 }, // 29=Splendide }; Now...find this if (!message || !*message || sscanf(message, "%11s", map_name) < 1 || town < 0 || town >= ARRAYLENGTH(data)) { clif_displaymessage(fd, msg_txt(38)); // Invalid location number, or name. clif_displaymessage(fd, msg_txt(82)); // Please provide a name or number from the list provided: clif_displaymessage(fd, " 0=Prontera 1=Morroc 2=Geffen"); clif_displaymessage(fd, " 3=Payon 4=Alberta 5=Izlude"); clif_displaymessage(fd, " 6=Al De Baran 7=Lutie 8=Comodo"); clif_displaymessage(fd, " 9=Yuno 10=Amatsu 11=Gonryun"); clif_displaymessage(fd, " 12=Umbala 13=Niflheim 14=Louyang"); clif_displaymessage(fd, " 15=Novice Grounds 16=Prison 17=Jawaii"); clif_displaymessage(fd, " 18=Ayothaya 19=Einbroch 20=Lighthalzen"); clif_displaymessage(fd, " 21=Einbech 22=Hugel 23=Rachel"); clif_displaymessage(fd, " 24=Veins 25=Moscovia 26=Brasilis"); clif_displaymessage(fd, " 27=Manuk 28=Splendide"); return -1; } change to this if (!message || !*message || sscanf(message, "%11s", map_name) < 1 || town < 0 || town >= ARRAYLENGTH(data)) { clif_displaymessage(fd, msg_txt(38)); // Invalid location number, or name. clif_displaymessage(fd, msg_txt(82)); // Please provide a name or number from the list provided: clif_displaymessage(fd, " 0=Mellina 1=Prontera 2=Morroc 3=Geffen"); clif_displaymessage(fd, " 4=Payon 5=Alberta 6=Izlude"); clif_displaymessage(fd, " 7=Al De Baran 8=Lutie 9=Comodo"); clif_displaymessage(fd, " 10=Yuno 11=Amatsu 12=Gonryun"); clif_displaymessage(fd, " 13=Umbala 14=Niflheim 15=Louyang"); clif_displaymessage(fd, " 16=Novice Grounds 17=Prison 18=Jawaii"); clif_displaymessage(fd, " 19=Ayothaya 20=Einbroch 21=Lighthalzen"); clif_displaymessage(fd, " 22=Einbech 23=Hugel 24=Rachel"); clif_displaymessage(fd, " 25=Veins 26=Moscovia 27=Brasilis"); clif_displaymessage(fd, " 28=Manuk 29=Splendide"); return -1; } then find this // get possible name of the city map_name[MAP_NAME_LENGTH-1] = '0'; for (i = 0; map_name[i]; i++) map_name[i] = TOLOWER(map_name[i]); // try to identify the map name if (strncmp(map_name, "prontera", 3) == 0) { town = 0; } else if (strncmp(map_name, "morocc", 3) == 0) { town = 1; } else if (strncmp(map_name, "geffen", 3) == 0) { town = 2; } else if (strncmp(map_name, "payon", 3) == 0 || strncmp(map_name, "paion", 3) == 0) { town = 3; } else if (strncmp(map_name, "alberta", 3) == 0) { town = 4; } else if (strncmp(map_name, "izlude", 3) == 0 || strncmp(map_name, "islude", 3) == 0) { town = 5; } else if (strncmp(map_name, "aldebaran", 3) == 0 || strcmp(map_name, "al") == 0) { town = 6; } else if (strncmp(map_name, "lutie", 3) == 0 || strcmp(map_name, "christmas") == 0 || strncmp(map_name, "xmas", 3) == 0 || strncmp(map_name, "x-mas", 3) == 0) { town = 7; } else if (strncmp(map_name, "comodo", 3) == 0) { town = 8; } else if (strncmp(map_name, "yuno", 3) == 0) { town = 9; } else if (strncmp(map_name, "amatsu", 3) == 0) { town = 10; } else if (strncmp(map_name, "gonryun", 3) == 0) { town = 11; } else if (strncmp(map_name, "umbala", 3) == 0) { town = 12; } else if (strncmp(map_name, "niflheim", 3) == 0) { town = 13; } else if (strncmp(map_name, "louyang", 3) == 0) { town = 14; } else if (strncmp(map_name, "new_1-1", 3) == 0 || strncmp(map_name, "startpoint", 3) == 0 || strncmp(map_name, "begining", 3) == 0) { town = 15; } else if (strncmp(map_name, "sec_pri", 3) == 0 || strncmp(map_name, "prison", 3) == 0 || strncmp(map_name, "jails", 3) == 0) { town = 16; } else if (strncmp(map_name, "jawaii", 3) == 0 || strncmp(map_name, "jawai", 3) == 0) { town = 17; } else if (strncmp(map_name, "ayothaya", 3) == 0 || strncmp(map_name, "ayotaya", 3) == 0) { town = 18; } else if (strncmp(map_name, "einbroch", 5) == 0 || strncmp(map_name, "ainbroch", 5) == 0) { town = 19; } else if (strncmp(map_name, "lighthalzen", 3) == 0) { town = 20; } else if (strncmp(map_name, "einbech", 3) == 0) { town = 21; } else if (strncmp(map_name, "hugel", 3) == 0) { town = 22; } else if (strncmp(map_name, "rachel", 3) == 0) { town = 23; } else if (strncmp(map_name, "veins", 3) == 0) { town = 24; } else if (strncmp(map_name, "moscovia", 3) == 0) { town = 25; } else if (strncmp(map_name, "brasilis", 3) == 0) { town = 26; } else if (strncmp(map_name, "manuk", 3) == 0) { town = 27; } else if (strncmp(map_name, "splendide", 3) == 0) { town = 28; } change to this.. // get possible name of the city map_name[MAP_NAME_LENGTH-1] = '0'; for (i = 0; map_name[i]; i++) map_name[i] = TOLOWER(map_name[i]); // try to identify the map name if (strncmp(map_name, "mellina", 3) == 0) { town = 0; } else if (strncmp(map_name, "prontera", 3) == 0) { town = 1; } else if (strncmp(map_name, "morocc", 3) == 0) { town = 2; } else if (strncmp(map_name, "geffen", 3) == 0) { town = 3; } else if (strncmp(map_name, "payon", 3) == 0 || strncmp(map_name, "paion", 3) == 0) { town = 4; } else if (strncmp(map_name, "alberta", 3) == 0) { town = 5; } else if (strncmp(map_name, "izlude", 3) == 0 || strncmp(map_name, "islude", 3) == 0) { town = 6; } else if (strncmp(map_name, "aldebaran", 3) == 0 || strcmp(map_name, "al") == 0) { town = 7; } else if (strncmp(map_name, "lutie", 3) == 0 || strcmp(map_name, "christmas") == 0 || strncmp(map_name, "xmas", 3) == 0 || strncmp(map_name, "x-mas", 3) == 0) { town = 8; } else if (strncmp(map_name, "comodo", 3) == 0) { town = 9; } else if (strncmp(map_name, "yuno", 3) == 0) { town = 10; } else if (strncmp(map_name, "amatsu", 3) == 0) { town = 11; } else if (strncmp(map_name, "gonryun", 3) == 0) { town = 12; } else if (strncmp(map_name, "umbala", 3) == 0) { town = 13; } else if (strncmp(map_name, "niflheim", 3) == 0) { town = 14; } else if (strncmp(map_name, "louyang", 3) == 0) { town = 15; } else if (strncmp(map_name, "new_1-1", 3) == 0 || strncmp(map_name, "startpoint", 3) == 0 || strncmp(map_name, "begining", 3) == 0) { town = 16; } else if (strncmp(map_name, "sec_pri", 3) == 0 || strncmp(map_name, "prison", 3) == 0 || strncmp(map_name, "jails", 3) == 0) { town = 17; } else if (strncmp(map_name, "jawaii", 3) == 0 || strncmp(map_name, "jawai", 3) == 0) { town = 18; } else if (strncmp(map_name, "ayothaya", 3) == 0 || strncmp(map_name, "ayotaya", 3) == 0) { town = 19; } else if (strncmp(map_name, "einbroch", 5) == 0 || strncmp(map_name, "ainbroch", 5) == 0) { town = 20; } else if (strncmp(map_name, "lighthalzen", 3) == 0) { town = 21; } else if (strncmp(map_name, "einbech", 3) == 0) { town = 22; } else if (strncmp(map_name, "hugel", 3) == 0) { town = 23; } else if (strncmp(map_name, "rachel", 3) == 0) { town = 24; } else if (strncmp(map_name, "veins", 3) == 0) { town = 25; } else if (strncmp(map_name, "moscovia", 3) == 0) { town = 26; } else if (strncmp(map_name, "brasilis", 3) == 0) { town = 27; } else if (strncmp(map_name, "manuk", 3) == 0) { town = 28; } else if (strncmp(map_name, "splendide", 3) == 0) { town = 29; } Lastly...Recompile.....using Microsoft Visual C++ 2010 or any Compiler you have
  12. everything single thing you have edited in SRC Folder...you have to RECOMPILE your emulator
  13. try change the name of NPC to shorter... For example : Battle Ground Shop#1 Battle Ground Shop#2 Max Name Length is just 24...you cant change to 30
  14. /src/map/map.h #define MAX_EVENTQUEUE 2 LOL....Lilith is faster than i...>.<
  15. But his problem is... His Skills Points Should be around 247 Points if based on this Exp.txt but in game his character gained 337 Points...xD Corrent me if i was wrong..xD so i was thinking could it be there is any other script that might increase his Skill Points ingame
  16. Try this..tested and working fine in my test server prontera,155,181,5 script Sample 757,{ set .Guild,getcastledata( "prtg_cas01",1 ); if( getcharid(2) == .Guild ){ mes "^FF0000Current Tax : "+$Tax+" %"; mes "Total Earning : "+$Earn+" Zeny."; } mes "This Gold Room is currently owned by ^FF0000"+getguildname( .Guild )+" Guild^000000."; mes "You may hunt gold inside the room, but with a ^FF0000"+$Tax+" % Tax Rate^000000."; mes "Each kill in the Room you will gain 1 Points and each point equal to 100,000 zeny."; next; switch( select( "Hunt Gold", "Claim Zeny", ( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Claim Earn", ( strcharinfo(0) != getguildmaster( .Guild ) )?"":"[^0000FFMaster^000000] Change Tax" )){ Case 1: warp "mosk_que",0,0; end; Case 2: mes "You have "+#GoldPoint+" Points."; if( !#GoldPoint ) close; mes "How many you want to points claim ?"; input @Amount,0,#GoldPoint; if( !@Amount ) close; next; set #GoldPoint,#GoldPoint - @Amount; set .@Gain,(( @Amount * 100000 ) - ( @Amount * 100000 * $Tax / 100 )); set Zeny,Zeny + .@Gain; mes "Gained ^FF0000"+.@Gain+"^000000 Zeny due to Tax Rate of "+$Tax+" %"; close; Case 3: mes "Total Earning : "+$Earn+" Zeny."; if( select("Claim It:Cancel") == 2 ) close; mes "How much you want to claim ?"; do{ input @Amount,0,$Earn; if( !@Amount ) close; if( ( Zeny + @Amount ) > 1000000000 ) mes "Limit Exceed..."; }while( ( Zeny + @Amount ) > 1000000000 ); mes "Gained "+@Amount+" Zeny."; set Zeny,Zeny + @Amount; set $Earn,$Earn - @Amount; close; Case 4: mes "^FF0000Current Tax : "+$Tax+" %"; mes "Enter your New Tax Rate."; input $Tax,1,20; mes "^FF0000Updated Tax : "+$Tax+" %"; close; } OnInit: monster "mosk_que",0,0,"Gold",1002,100,strnpcinfo(0)+"::OnMobKill"; end; OnMobKill: monster "mosk_que",0,0,"Gold",1002,1,strnpcinfo(0)+"::OnMobKill"; set $Earn,$Earn + ( 100000 * $Tax / 100 ); set #GoldPoint,#GoldPoint + 1; dispbottom "Total Gold Point = "+#GoldPoint+" Points."; end; } mosk_que mapname nowarp mosk_que mapname nowarpto mosk_que mapname noSave mosk_que mapname noteleport mosk_que mapname nocommand 50
×
×
  • Create New...