Jump to content

MikZ

Members
  • Content Count

    461
  • Joined

  • Last visited

Everything posted by MikZ

  1. @@AnnieRuru yaiks, thats so kind of you.. number 2 option thanks thanks @@Aeromesi im using herc emulator. its just that some script from rathena can also be use in herc, so i also post a request there like what other do.
  2. @@Aeromesi oohh.. sad to hear, but if ever, how much does this script would cost? @@Winterfox well its like LMS, but i would just like to add a little bit of a twist of fun.. hehehe..and TCG's in my server is tradeable..
  3. Hello @@ossi0110 , does GM account can view woe damage with this client? thank you
  4. @@officialronode does GM account can view woe damage with this client??
  5. Hello May Request for a KOE ROYAL RUMBLE. It's like all players must try to break the EMP (which is Plant type) while PKing for 1 hr. no party and no guild,, When emperium broke all players inside will be warped out, the KING(Breaker Will remain inside) Everytime the Emperium broke Mapannounce "The king of Emperium is player name" place of event is ordeal_1-1 , emp is in the middle with 4 walls/barricade. they must break the four (4)walls first, before they can hit the emp. last player to break the emperium is the KING.. prize would be 5 tcg (will last for 1 hour) Thank you! PLease help me with this event.
  6. hehehe.. thanks @@AnnieRuru, Btw how to restrict those players with dragons and gryphons? NPC will not allow those mounts inside
  7. @@Aeromesi thanks! solved.. /heh
  8. Hello @@AnnieRuru I tried the script 2.1, with gm account and non - gm, my non gm account already died, but still the poring bomb keeps spawning iv been running for almost 2 mins alone.. I don't know why? i didn't change anything.
  9. Hello, I tried to use the script. I didnt find any error, but somehow i cant seem to warp-in or enter devil in the room, it keeps saying "Minimum base level to enter is 70", Im on my Max level. Here's the script: (please help me , thank you!) // Made:By Kirlein (Tyirial Script Concept) //// Devil Square based off the mmorpg Muonline //// Have Fun and feel free to leave suggestions //// Leave This intacted //// + Translated by Stillhard aka Dewa //// + Add times for 24 hours of play //// + Add a little bit infos for newbie users //// Completely rewrite by ~AnnieRuru~ //// + Tested with rAthena 17101 //// http://rathena.org/board/topic/77632-devil-square//////////////////////////////////////////////////prontera,181,191,2 script MVP Grave 4_DARKLORD,{ mes "[MVP Grave Guardian]"; mes "Welcome to the entrance door to ^FF0000MVP Grave^000000"; mes "If you failed or die, the door will be closed and you have to wait until it start to open again"; next; if ( select ( "Enter", "Info", "Cancel " ) == 3 ) { mes "[MVP Grave Guardian]"; mes "See ya"; close; } else if ( @menu == 2 ) { // Info mes "[MVP Grave Guardian]"; mes "There are 4 level monster you'll encounter"; mes "Each level the enemies will grow stronger"; mes "If you succeded to win all 10 level monster, you'll get Grave Badge, TCG, and Coins!!"; close; } else if ( .start != 1 ) { // time mes "[MVP Grave Guardian]"; mes "MVP Grave is now closed"; mes "It'll be open again at:"; mes "00:00 , 02:00 , 04:00 , 06:00"; // display your time here mes "08:00 , 10:00 , 12:00 , 14:00"; mes "16:00 , 18:00 , 20:00 , 22:00"; close; } else if ( baselevel < 70 || zeny < 20000 ) { // requirement mes "[MVP Grave Guardian]"; mes "Minimum base level to enter is 70"; mes "The registration fee is 20,000z"; close; } else if ( .register_num >= .register_limit ) { // room FULL mes "[MVP Grave Guardian]"; mes "I'm sorry but the MVP Grave is FULL"; mes "Maximum users to enter is "+ .register_limit +" players"; close; } zeny = zeny - 20000; announce strcharinfo(0)+" has entered the MVP Grave", bc_npc; percentheal 100,100; warp "ordeal_1-1",150,150; .register_aid[ .register_num ] = getcharid(3); .register_num++; end;OnInit: .register_limit = 10; // maximum amount of players can play in this event .ann_survive = 30000; // the rate at which announce the players that still survive in devil square, in mili-seconds bindatcmd "devilsquare", strnpcinfo(0)+"::Onatcmd", 99,100; end;Onatcmd: if ( compare( .@atcmd_parameters$, "on" ) || compare( .@atcmd_parameters$, "start" ) ) { if ( .start ) dispbottom "MVP Grave Event already started."; else goto L_Start; } else if ( compare( .@atcmd_parameters$, "off" ) || compare( .@atcmd_parameters$, "end" ) ) { if ( !.start ) dispbottom "MVP Grave Event not yet start."; else goto L_End; } else if ( !.start ) { dispbottom "Devil Square Event is currently not running."; dispbottom "Use "+ .@atcmd_command$ +" on | start to start the event."; dispbottom "Use "+ .@atcmd_command$ +" off | end to end this event"; } else if ( .start == 1 ) dispbottom "MVP Grave Event is currently accepting participations."; else dispbottom "MVP Grave Event is currently running. Currently on Round "+ .round +" with "+ .mob +" mobs left."; end;L_Start:OnClock2127: // yeah I know about OnMinute ... it just that more people knows better using OnClock//OnClock0200://OnClock0400://OnClock0600://OnClock0800://OnClock1000://OnClock1200://OnClock1400://OnClock1600://OnClock1800://OnClock2000://OnClock2200: if ( .start ) end; .start = 1; disablenpc "Exit#DS"; mapannounce "ordeal_1-1","MVP Grave is now closed", bc_map; getmapxy .@map$, .@x, .@y, 1; mapwarp "ordeal_1-1", .@map$, .@x, .@y; killmonsterall "ordeal_1-1"; announce "MVP Grave is OPENED NOW!! 5 Minutes until it starts..!!", bc_all; sleep 60000; announce "MVP Grave will begin in 4 minutes..!!", bc_all; sleep 60000; announce "MVP Grave will begin in 3 minutes..!!", bc_all; sleep 60000; announce "MVP Grave will begin in 2 minutes..!!", bc_all; sleep 60000; announce "MVP Grave will begin in 1 minutes..!!", bc_all; sleep 60000; announce "MVP Grave is STARTED NOW !!", bc_all; if ( !.register_num ) goto L_End; .start = 2; donpcevent strnpcinfo(0)+"::OnSurvive"; donpcevent strnpcinfo(0)+"::OnIdle"; .round = 1; .mob = 27; monster "ordeal_1-1",149,149,"Moonlight Flower",1150,1,strnpcinfo(0)+"::Ondevildead"; monster "ordeal_1-1",149,149,"Golden Thief Bug",1086,1,strnpcinfo(0)+"::Ondevildead"; monster "ordeal_1-1",149,149,"Cat o' Nine Tails",1307,10,strnpcinfo(0)+"::Ondevildead"; monster "ordeal_1-1",149,149,"Gemini-S58 .",1681,15,strnpcinfo(0)+"::Ondevildead"; end;Ondevildead: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs to enter the 2nd round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 2nd round", bc_map; goto Ondevil2; } end;Ondevil2: .round = 2; .mob = 32; monster "ordeal_1-1",149,149,"Turtle General",1312,1,strnpcinfo(0)+"::Ondevildead2"; monster "ordeal_1-1",149,149,"Assaulter",1315,10,strnpcinfo(0)+"::Ondevildead2"; monster "ordeal_1-1",149,149,"Gazeti",1778,10,strnpcinfo(0)+"::Ondevildead2"; monster "ordeal_1-1",149,149,"Ice Titan",1777,10,strnpcinfo(0)+"::Ondevildead2"; monster "ordeal_1-1",149,149,"Ktullanux",1779,1,strnpcinfo(0)+"::Ondevildead2"; end;Ondevildead2: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 3rd round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 3rd round", bc_map; goto Ondevil3; } end;Ondevil3: .round = 3; .mob = 32; monster "ordeal_1-1",149,149,"Incantation Samurai",1492,1,strnpcinfo(0)+"::Ondevildead3"; monster "ordeal_1-1",149,149,"tamruan",1584,10,strnpcinfo(0)+"::Ondevildead3"; monster "ordeal_1-1",149,149,"Mutant Dragon",1449,10,strnpcinfo(0)+"::Ondevildead3"; monster "ordeal_1-1",149,149,"RSX 0806",1623,1,strnpcinfo(0)+"::Ondevildead3"; monster "ordeal_1-1",149,149,"Waste Stove",1617,10,strnpcinfo(0)+"::Ondevildead3"; end;Ondevildead3: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 4th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 4th round", bc_map; goto Ondevil4; } end;Ondevil4: .round = 4; .mob = 32; monster "ordeal_1-1",149,149,"Baphomet",1039,1,strnpcinfo(0)+"::Ondevildead4"; monster "ordeal_1-1",149,149,"Pharaoh",1157,1,strnpcinfo(0)+"::Ondevildead4"; monster "ordeal_1-1",149,149,"Gryphon",1447,10,strnpcinfo(0)+"::Ondevildead4"; monster "ordeal_1-1",149,149,"Tatacho",1986,10,strnpcinfo(0)+"::Ondevildead4"; monster "ordeal_1-1",149,149,"Apocalypse",1365,10,strnpcinfo(0)+"::Ondevildead4"; end;Ondevildead4: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 5th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 5th round", bc_map; goto Ondevil5; } end;Ondevil5: .round = 5; .mob = 16; monster "ordeal_1-1",149,149,"Kraken",2202,1,strnpcinfo(0)+"::Ondevildead5"; monster "ordeal_1-1",149,149,"King Kray",2198,5,strnpcinfo(0)+"::Ondevildead5"; monster "ordeal_1-1",149,149,"Sropho",2201,5,strnpcinfo(0)+"::Ondevildead5"; monster "ordeal_1-1",149,149,"Sedora",2204,5,strnpcinfo(0)+"::Ondevildead5"; end;Ondevildead5: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 6th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 6th round", bc_map; goto Ondevil6; } end;Ondevil6: .round = 6; .mob = 18; monster "ordeal_1-1",149,149,"Dark lord",1272,1,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Osiris",1038,1,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Gopinich",1885,1,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Dark Illusion",1302,5,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Chimera",1283,5,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Mavka",1884,5,strnpcinfo(0)+"::Ondevildead6"; end;Ondevildead6: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 7th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 7th round", bc_map; goto Ondevil7; } end;Ondevil7: .round = 7; .mob = 22; monster "ordeal_1-1",149,149,"Ifrit",1832,1,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"salamander",1831,5,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"Stormy Knight",1251,1,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"Sword guardian",1899,5,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"Bow Guardian",1830,5,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"Kasa",1835,5,strnpcinfo(0)+"::Ondevildead7"; end;Ondevildead7: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 8th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 8th round", bc_map; goto Ondevil8; } end;Ondevil8: .round = 8; .mob = 22; monster "ordeal_1-1",149,149,"Detale",1719,1,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"ferus",1714,5,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"Hydro",1813,5,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"Amon Ra",1511,1,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"Acidus",1713,5,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"Acidus",1716,5,strnpcinfo(0)+"::Ondevildead8"; end;Ondevildead8: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 9th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 9th round", bc_map; goto Ondevil9; } end;Ondevil9: .round = 9; .mob = 23; monster "ordeal_1-1",149,149,"Maya",1147,1,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Atroce",1785,1,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Maya Purple",1289,1,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Galion",1783,5,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Necromancer",1870,5,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Agav",1769,5,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Echio",1770,5,strnpcinfo(0)+"::Ondevildead9"; end;Ondevildead9: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 10th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 10th round", bc_map; goto Ondevil10; } end;Ondevil10: .round = 10; .mob = 54; monster "ordeal_1-1",149,149,"Lost Dragon",2131,2,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Entweihen",1957,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Bangungot Manananggal",2338,15,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Tiyanak",2340,15,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Bangungot Mangkukulam",2339,15,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Mangkukulam",2312,10,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Bakonawa",2321,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Memory of Thanatos",1708,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1960,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1961,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1958,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1958,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; end;Ondevildead10: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to finish the MVP Grave", bc_map; else if ( !.mob ) { announce "Congratulations!! Please proceed to the center to claim your rewards!", bc_map; goto L_End; } end;L_End: killmonsterall "ordeal_1-1"; enablenpc "Exit#DS"; deletearray .register_aid; .start = .round = .mob = .register_num = 0; end;OnPCDieEvent:OnPCLogoutEvent: if ( .start && strcharinfo(3) == "ordeal_1-1" ) { while ( .register_aid[.@i] != getcharid(3) && .@i < .register_num ) .@i++; deletearray .register_aid[.@i], 1; .register_num--; if ( !.register_num ) { announce "All players failed to survive at MVP Grave", bc_all; killmonsterall "ordeal_1-1"; goto L_End; } } end;OnSurvive: while ( .start == 2 ) { mapannounce "ordeal_1-1", .register_num +" players is still survive at MVP Grave", bc_map; sleep .ann_survive; } end;OnIdle: sleep 30000; // wait 120 secs while( .start ) { sleep 2000; for( .@i = 0; .@i < .register_num; .@i++ ) { if ( checkidle( rid2name( .register_aid[.@i] ) ) >= 120 ) unitkill .register_aid[.@i]; } } end; }ordeal_1-1,149,150,7 script Exit#DS 4_DEVIRUCHI,{ mes "[Exit]"; mes "See ya"; getitem 673,5; next; warp "caspen",168,214 ; close;}ordeal_1-1 mapflag nolootordeal_1-1 mapflag nomoblootordeal_1-1 mapflag nomvplootordeal_1-1 mapflag nowarpordeal_1-1 mapflag nowarptoordeal_1-1 mapflag noteleportordeal_1-1 mapflag nosave SavePointordeal_1-1 mapflag nomemoordeal_1-1 mapflag nobranchordeal_1-1 mapflag nopenaltyordeal_1-1 mapflag noicewallordeal_1-1 mapflag monster_noteleport
  10. Hello, im using client 20140205, and already set // When set to yes, the damage field in packets sent from woe maps will be set // to -1, making it impossible for GMs, Bots and Hexed clients to know the // actual damage caused by attacks. (Note 1) hide_woe_damage: no But still my GM account cant see woe damage even GVG damage. how will i fix this? thank you..
  11. MikZ

    WOE damage

    care to help? care to help?
  12. Hello, Im using client 2014-02-05b. and already set : // When set to yes, the damage field in packets sent from woe maps will be set // to -1, making it impossible for GMs, Bots and Hexed clients to know the // actual damage caused by attacks. (Note 1) hide_woe_damage: no Still my gm account cant view woe damage, How will i fix this? thank you!
  13. Care to help? thank you!
  14. MikZ

    Aura blade

    thanks po! solve na..
  15. MikZ

    Aura blade

    @@Kashiro : nakikita ba sa alt Q ang + 100 ATK o hindi? nag try ako pati lord knight wala eh..
  16. MikZ

    Aura blade

    Mga kuya, hindi ba gumagana aura blade sa rune knight? o bug lang talaga ito? pano po ito maayos? salamat po ..
  17. MikZ

    WOE CONTROLLER

    Hello, Please help me with this script. Seems warp to active castle is not working, Here's the script : //===== Hercules Script ======================================//= Euphy's WOE Controller//===== By: ==================================================//= Euphy//===== Current Version: =====================================//= 1.5//===== Description: =========================================//= A controller for War of Emperium designed for//= simplicity and ease of use.//= Many concepts taken from ToastOfDoom's script,//= and "rewards" function originally by Goddameit.//===== Additional Comments: =================================//= Be sure to disable the default agit controllers!//== npcwoe-feagit_controller.txt//== npcwoe-seagit_start_se.txt//============================================================// Information NPC//============================================================prontera,153,194,4 script WOE Information 2_BOARD1,{ doevent "WOE_CONTROL::OnMenu"; end;OnAgitStart: while(agitcheck()) { misceffect EF_BEGINSPELL6; sleep 425; } end;}// Script Core//============================================================- script WOE_CONTROL -1,{function Disp_Owner; function Add_Zero;OnInit:// -----------------------------------------------------------// Configuration settings.// ----------------------------------------------------------- set .CastleWarp,0; // 1: Always enable all castle warps. | 0: Warp only to active castles. set .AutoKick,1; // Automatically kick players from inactive castles during WOE? (1:yes / 0:no) set .NoOwner,1; // Automatically kick players from unconquered castles outside of WOE? (1:yes / 0:no) set .ExitWarp,1; // Warp all players from castles when WOE ends? (1:yes / 0:no) set .GMAccess,99; // GM level required to access Session Manager.// -----------------------------------------------------------// Reward options.// -----------------------------------------------------------// [1] Enable rewards.// [2] Mail all rewards.// - If not set, players receive items in their inventory.// - Only ONE item can be sent via mail, plus Zeny.// - Note that offline players do NOT receive rewards.// [4] Only reward Guild Masters.// - If not set, all guild members are rewarded.// - If mailing is enabled (option 2), offline Guild Masters WILL receive rewards.// [8] Duplicate IP check.// - Members in a guild with the same IP address are not rewarded.// - If Guild Masters is enabled (option 4), this feature is not used.// ----------------------------------------------------------- // Combine values as needed (e.g. 1|8 = 1+8 = 9). set .Options, 1|8; // Rewards per castle. // -- when given directly: <itemID>,<amount>{,<itemID>,<amount>,...} // -- via mail (option 2): <itemID>,<amount>,<Zeny> setarray .reward[0],14001,1;// -----------------------------------------------------------// Constants (leave this section alone).// ----------------------------------------------------------- setarray .Castles$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05"; setarray .EndLabel$[0],"ar01","ar02","ar03","ar04","ar05","sc01","sc02","sc03","sc04","sc05"; setarray .Days$[0],"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"; setarray .Regions$[0],"Prontera","Payon","Geffen","Aldebaran","Arunafeltz","Schwaltzvalt"; setarray .$[0],"prt_gld","pay_gld","gef_fild13","alde_gld","aru_gld","sch_gld"; setarray .MapX[0],134,240,153,111,208,121,295,317,140,204,214,308,143,193,305,48, 95,142,239,264,158,83, 68,299,292,293,288, 97,137, 71; setarray .MapY[0], 65,128,137,240,240,233,116,293,160,266, 75,240,240,278, 87,83,249, 85,242, 90,272,47,155,345,107,100,252,196, 90,315;// ----------------------------------------------------------- set .Size, getarraysize($WOE_CONTROL); if (.AutoKick || .NoOwner) for(set .@i,0; .@i<30; set .@i,.@i+1) { setmapflag .Castles$[.@i], mf_loadevent; setd "."+.Castles$[.@i], .@i; } if (!agitcheck() && !agitcheck2()) sleep 4000; set .Init,1;OnMinute00: freeloop(1); if (agitcheck() || agitcheck2()) { for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4) == $WOE_CONTROL[.@i] && gettime(3) == $WOE_CONTROL[.@i+2]) { OnWOEEnd: announce "The War Of Emperium is over!",bc_all|bc_woe; agitend; agitend2; sleep 1000; for(set .@j,0; .@j<30; set .@j,.@j+1) { if (.Active[0]&(1<<.@j)) Disp_Owner(.Castles$[.@j],1); if (.ExitWarp) maprespawnguildid .Castles$[.@j],0,3; } if (.Options&1 && .Active[0] && .ForceEnd != 2) callsub OnReward, .Active[0]; deletearray .Active[0],2; if (.ForceEnd) { set .ForceEnd,0; end; } break; } } if ((!agitcheck() && !agitcheck2()) || .Init) { if (!agitcheck() && !agitcheck2()) set .Init,0; for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4) == $WOE_CONTROL[.@i] && gettime(3) >= $WOE_CONTROL[.@i+1] && gettime(3) < $WOE_CONTROL[.@i+2]) { deletearray .Active[0],2; set .Active[0], $WOE_CONTROL[.@i+3]; if (.Init) { agitend; agitend2; } else announce "The War Of Emperium has begun!",bc_all|bc_woe; sleep 1000; agitstart; agitstart2; for(set .@j,0; .@j<30; set .@j,.@j+1) { if (.Active[0]&(1<<.@j)) { if (!.Init) Disp_Owner(.Castles$[.@j],0); set .Active[1], .Active[1] | (1<<((.@j/5)+1)); } else { if (.@j<20) { donpcevent "Agit#"+.Castles$[.@j]+"::OnAgitEnd"; killmonster .Castles$[.@j], "Agit#"+.Castles$[.@j]+"::OnAgitBreak"; } else { donpcevent "Manager#"+.Castles$[.@j]+"::OnAgitEnd2"; killmonster .Castles$[.@j], "Steward#"+.EndLabel$[.@j-20]+"::OnStartArena"; } } } break; } } set .Init,0; end;function Disp_Owner { set .@o, getcastledata(getarg(0),1); if (.@o) announce "The ["+getcastlename(getarg(0))+"] castle "+((getarg(1))?"has been conquered":"is currently held")+" by the ["+getguildname(.@o)+"] guild.",bc_all|bc_woe; else announce "The ["+getcastlename(getarg(0))+"] castle is currently unoccupied.",bc_all|bc_woe; return;}function Add_Zero { return ((getarg(0)<10)?"0":"")+getarg(0)+(getarg(1,0)?".":":")+"00";}OnReward: set .@sql$, ((.Options&4)?"position = 0":"online = 1"); if (.Options&2) set .@str$,gettimestr("%B %d, %Y",21); freeloop(1); for(set .@i,0; .@i<30; set .@i,.@i+1) if (getarg(0)&(1<<.@i)) { set .@GID, getcastledata(.Castles$[.@i],1); if (!.@GID) continue; set .@size, query_sql("SELECT account_id,char_id FROM `guild_member` WHERE guild_id = '"+.@GID+"' AND "+.@sql$,.@aid,.@cid); for(set .@j,0; .@j<.@size; set .@j,.@j+1) { if (.Options&8 && !(.Options&4)) { set .@ip$, replacestr(getcharip(.@aid[.@j]),".","a"); if (getd(".@ip_"+.@i+"_"+.@ip$)) continue; setd ".@ip_"+.@i+"_"+.@ip$,1; } if (.Options&2) { query_sql("INSERT INTO `mail` (send_name,dest_id,title,message,nameid,amount,identify,zeny,time) VALUES ("+ "'no-reply',"+.@cid[.@j]+",'** Siege Reward: "+getcastlename(.Castles$[.@i])+" **',"+ "'Brave one,% % Congratulations!% Your guild has successfully occupied% territory in the War of Emperium on% "+.@str$+".% % % % % [ Your reward is attached. ]',"+ .reward[0]+","+.reward[1]+",0,"+.reward[2]+",UNIX_TIMESTAMP(NOW()))"); if (!getd(".@str_"+.@cid[.@j]) && isloggedin(.@aid[.@j],.@cid[.@j])) { setd ".@str_"+.@cid[.@j],1; message rid2name(.@aid[.@j]),"You've got mail! Please re-login to update your mailing list."; } } else if (isloggedin(.@aid[.@j])) { for(set .@k,0; .@k<getarraysize(.reward); set .@k,.@k+2) getitem .reward[.@k], .reward[.@k+1], .@aid[.@j]; message rid2name(.@aid[.@j]),"You have been rewarded for conquering "+getcastlename(.Castles$[.@i])+"."; } } } if (.Options&2) query_sql("UPDATE `mail` SET message = REPLACE(message,'%',CHAR(13)) WHERE send_name = 'no-reply'"); return;OnPCLoadMapEvent: if (!compare(strcharinfo(3),"g_cas")) end; if (((.AutoKick && .Active[0]) || (.NoOwner && !getcastledata(strcharinfo(3),1))) && !(.Active[0]&(1<<getd("."+strcharinfo(3))))) { if (getcharid(2) && getcastledata(strcharinfo(3),1) == getcharid(2)) end; sleep2 1000; message strcharinfo(0), getcastlename(strcharinfo(3))+" is currently inactive."; sleep2 5000; if (compare(strcharinfo(3),"g_cas")) warp "SavePoint",0,0; } end;OnMenu:while(1) { mes "[WOE Information]"; if (agitcheck() || agitcheck2()) { if (.Active[0]) { for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (gettime(4) == $WOE_CONTROL[.@i] && gettime(3) >= $WOE_CONTROL[.@i+1] && gettime(3) < $WOE_CONTROL[.@i+2]) { set .@i, $WOE_CONTROL[.@i+2]; break; } mes "The War of Emperium is ^0055FFactive^000000 until ^FF0000"+Add_Zero(.@i)+"^000000 in the following regions:"; mes " "; for(set .@i,0; .@i<6; set .@i,.@i+1) if (.Active[1]&(1<<(.@i+1))) mes " > ^777777"+.Regions$[.@i]+"^000000"; } else mes "The War of Emperium is ^0055FFactive^000000."; } else { for(set .@i,0; .@i<.Size; set .@i,.@i+4) if ((gettime(4) == $WOE_CONTROL[.@i] && gettime(3) <= $WOE_CONTROL[.@i+1]) || gettime(4) < $WOE_CONTROL[.@i]) { setarray .@time[0],$WOE_CONTROL[.@i],$WOE_CONTROL[.@i+1]; break; } if (!getarraysize(.@time)) setarray .@time[0],$WOE_CONTROL[0],$WOE_CONTROL[1]; mes "The War of Emperium is ^777777inactive^000000."; if (.Size) { mes " "; mes "The next session will begin"; mes "on ^0055FF"+.Days$[.@time[0]]+"^000000 at "+Add_Zero(.@time[1])+"^000000."; } } next; switch(select(""+((.CastleWarp || .Active[1])?" ~ Warp to castles...":"")+": ~ Check schedule...: ~ View castle owners...:"+((getgmlevel()<.GMAccess || !getgmlevel())?"":" ~ Manage sessions...")+": ~ ^777777Cancel^000000")) { case 1: if (.CastleWarp) set .@clr$,"^0055FF"; set .@menu$,""; for(set .@i,0; .@i<6; set .@i,.@i+1) { if (.CastleWarp || .Active[1]&(1<<(.@i+1))) set .@menu$, .@menu$+" ~ "+((.Active[1]&(1<<(.@i+1)))?.@clr$:"^777777")+.Regions$[.@i]+" Castles^000000"; set .@menu$, .@menu$+":"; } set .@i, select(.@menu$)-1; set .@menu$,""; for(set .@j,.@i*5; .@j<(.@i*5)+5; set .@j,.@j+1) { if (.CastleWarp || .Active[0]&(1<<.@j)) set .@menu$, .@menu$+" ~ "+((.Active[0]&(1<<.@j))?.@clr$:"^777777")+getcastlename(.Castles$[.@j])+"^000000"; set .@menu$, .@menu$+":"; } set .@j, select(.@menu$)-1; warp .Map$[.@i],.MapX[(.@i*5)+.@j],.MapY[(.@i*5)+.@j]; close; case 2: mes "[Schedule]"; if (.Size) { freeloop(1); for(set .@i,0; .@i<.Size; set .@i,.@i+4) { mes "> ^FF0000"+.Days$[$WOE_CONTROL[.@i]]+" ("+Add_Zero($WOE_CONTROL[.@i+1])+"-"+Add_Zero($WOE_CONTROL[.@i+2])+")^000000"; for(set .@j,0; .@j<30; set .@j,.@j+1) if ($WOE_CONTROL[.@i+3]&(1<<.@j)) mes " ~ "+getcastlename(.Castles$[.@j])+" ^777777("+.Castles$[.@j]+")^000000"; if (.@i+4 < .Size) mes " "; } freeloop(0); } else mes "No times are configured."; next; break; case 3: mes "[Castle Ownership]"; for(set .@i,0; .@i<6; set .@i,.@i+1) { set .@k, .@i*5; mes "> ^FF0000"+.Regions$[.@i]+"^000000"; for(set .@j,.@k; .@j<(.@k+5); set .@j,.@j+1) { set .@t, getcastledata(.Castles$[.@j],1); mes " ~ "+getcastlename(.Castles$[.@j])+": "+((.@t)?"^0055FF"+getguildname(.@t):"^777777unoccupied")+"^000000"; } if (.@i < 5) mes " "; } next; break; case 4: while(1) { mes "[Session Manager]"; mes "There are ^0055FF"+(.Size/4)+" session(s)^000000 configured."; mes "What would you like to do?"; next; switch(select(" ~ Add a session...: ~ Delete a session...: ~ Reload settings...:"+((agitcheck() || agitcheck2())?" ~ End WOE session...":"")+": ~ ^777777Go back^000000")) { case 1: mes "[New Session]"; if (.Size > 127) { mes "You have already reached the maximum of 32 sessions."; next; break; } mes "Select a day."; next; set .@day, select(" ~ "+implode(.Days$,": ~ "))-1; mes "[New Session]"; mes "Select a start time for ^0055FF"+.Days$[.@day]+"^000000."; next; set .@menu$,""; for(set .@i,0; .@i<23; set .@i,.@i+1) set .@menu$, .@menu$+" ~ "+Add_Zero(.@i,1)+":"; set .@[member=start], select(.@menu$)-1; mes "[New Session]"; mes "Select an end time for ^0055FF"+.Days$[.@day]+"^000000."; next; set .@menu$,""; for(set .@i,.@[member=start]+1; .@i<24; set.@i,.@i+1) set .@menu$, .@menu$+" ~ "+Add_Zero(.@i,1)+":"; set .@end, select(.@menu$)+.@[member=start]; for(set .@i,0; .@i<.Size; set .@i,.@i+4) if (.@day == $WOE_CONTROL[.@i] && ((.@[member=start] >= $WOE_CONTROL[.@i+1] && .@[member=start] < $WOE_CONTROL[.@i+2]) || (.@end > $WOE_CONTROL[.@i+1] && .@end <= $WOE_CONTROL[.@i+2]) || (.@[member=start] <= $WOE_CONTROL[.@i+1] && .@end >= $WOE_CONTROL[.@i+2]))) { mes "[New Session]"; mes "The chosen times overlap with an existing session."; next; set .@d,1; break; } if (.@d) { set .@d,0; break; } set .@castle,0; while(1) { mes "[New Session]"; mes "^0055FF"+.Days$[.@day]+" ("+Add_Zero(.@[member=start])+"-"+Add_Zero(.@end)+")^000000"; mes " > Castles:"; if (!.@castle) mes " ~ ^777777(none selected)^000000"; else for(set .@i,0; .@i<30; set .@i,.@i+1) if (.@castle&(1<<.@i)) mes " ~ "+getcastlename(.Castles$[.@i])+" ("+.Castles$[.@i]+")"; next; set .@menu$,((.@castle)?" ~ ^FF0000Finished...^000000":"")+":"; for(set .@i,0; .@i<30; set .@i,.@i+1) set .@menu$, .@menu$+" ~ "+((.@castle&(1<<.@i))?"^0055FF":"")+getcastlename(.Castles$[.@i])+" ("+.Castles$[.@i]+")^000000:"; set .@i, select(.@menu$)-1; if (.@i) set .@castle, .@castle^(1<<(.@i-1)); else { mes "[New Session]"; mes "Are you sure?"; next; switch(select(" ~ ^0055FFAdd session...^000000: ~ Continue selecting castles...: ~ ^777777Cancel^000000")) { case 1: for(set .@i,0; .@i<.Size; set .@i,.@i+4) if ((.@day == $WOE_CONTROL[.@i] && .@end <= $WOE_CONTROL[.@i+1]) || .@day < $WOE_CONTROL[.@i]) { set .@d,1; break; } if (!.@d) { set .@d,1; set .@i,.Size; } copyarray $WOE_CONTROL[.@i+4], $WOE_CONTROL[.@i], .Size-.@i; setarray $WOE_CONTROL[.@i], .@day, .@[member=start], .@end, .@castle; set .Size, getarraysize($WOE_CONTROL); case 3: mes "[New Session]"; mes ((.@d)?"Session added.":"Cancelled."); next; set .@d,1; case 2: break; } if (.@d) { set .@d,0; break; } } } break; case 2: mes "[Remove Session]"; if (!.Size) { mes "There are no sessions configured."; next; break; } mes "Select a session to remove."; next; set .@menu$,""; for(set .@i,0; .@i<.Size; set .@i,.@i+4) set .@menu$, .@menu$+" ~ "+.Days$[$WOE_CONTROL[.@i]]+" ("+Add_Zero($WOE_CONTROL[.@i+1],1)+"-"+Add_Zero($WOE_CONTROL[.@i+2],1)+"):"; set .@menu$, .@menu$+" ~ ^777777Cancel^000000"; set .@i, select(.@menu$)-1; if (.@i == (.Size/4)) break; mes "[Remove Session]"; mes "Delete ^0055FF"+.Days$[$WOE_CONTROL[.@i*4]]+"'s^000000 session?"; mes "This action cannot be undone."; next; set .@j, select(" ~ ^FF0000Delete session...^000000: ~ ^777777Cancel^000000"); mes "[Remove Session]"; if (.@j == 2) mes "Cancelled."; else { deletearray $WOE_CONTROL[.@i*4],4; set .Size, getarraysize($WOE_CONTROL); mes "Session deleted."; } next; break; case 3: mes "[Reload Settings]"; mes "This will trigger all events related to new session configurations, if any."; if (agitcheck() || agitcheck2()) { mes " "; mes "Be aware that this will disrupt the current WOE session."; } next; set .@i, select(" ~ ^0055FFReload settings...^000000: ~ ^777777Cancel^000000"); mes "[Reload Settings]"; if (.@i == 2) mes "Cancelled."; else { set .Init,1; donpcevent "WOE_CONTROL::OnMinute00"; mes "Variables have been re-initialized."; } next; break; case 4: mes "[Force Agit End]"; if (!agitcheck() && !agitcheck2()) { mes "WOE has already ended."; next; break; } mes "This command will safely execute all AgitEnd events."; mes " "; mes "Kill the current WOE session?"; next; set .@i, select(" ~ ^FF0000End session...^000000:"+((.Options&1)?" ~ ^FF0000End session without rewards...^000000":"")+": ~ ^777777Cancel^000000"); mes "[Force Agit End]"; if (.@i == 3) mes "Cancelled."; else { set .ForceEnd, .@i; donpcevent "WOE_CONTROL::OnWOEEnd"; mes "WOE session terminated."; } next; break; case 5: set .@d,1; break; } if (.@d) { set .@d,0; break; } } break; case 5: close; } }} Thank you!
  18. Hello! Requesting for a script: Instant Job and level 254/120 NPC choices: a.Instant Job (with trans) = 10 TCG also please include Oboro/kagerou and gunslinger and if player decides to change thier job B.Change Job (with trans) = 15 TCGs also please include Oboro/kagerou and gunslinger thank you!
  19. Hello, does aura blade +100ATK work on rune knight? if not, how would i enable it to 3rd jobs? thank you!
  20. Hmm.. i want to separate players from GM. so i want other logs for GMs only. So in my sql theres Player logs, and GM logs . or is that what your trying to tell me? sorry Em a bit slow. huehue
  21. @ , Uhmm i found some bug, if you change to coins, and if you already have coins in game once you claim it the coins you have in game will be double instead of additional coin that you will claim. example: total vote for 12 hours = 65 poring coins you already have 500 poring coin, once you claim the coin instead of 565 it'll be 1065 pcoins.. hope you can fix this. or is there something i missed to configure? i don't know with the cashpoints yet.
  22. MikZ

    QUEST SHOP NPC

    Hello, how about the zeny.?player must pay 5M to trade the card to TCGs. and if I add another set should i just add this? - shop MSHOP7 -1,512:-1 then setarray .Shop7[0],20000,20; //valkyrie "Am I right?" /heh Im not the one giving the player 5 m. its the player will pay the 5M. Its like they will trade the card for tcgs. /heh
  23. Hello, How can i make new logs in SQL(phpmyadmin) for GM LEVEL 2 and up? I just wan't to monitor them.. Help me.. Thank you!
×
×
  • Create New...

Important Information

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