Vengeance Posted January 9, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Share Posted January 9, 2012 (edited) Map of the week //===== rAthena Script ====================================================================== //= Map Of The Week v4.4 //===== Original By ========================================================================= //= Kaushik //===== Current Version: ==================================================================== //= 1.0 - Script Release. //= 1.1 - Added GM selection of Map Of The Week. //= 1.2 - Fixed Timer Selection of the Map is on Sunday @ 24:00 server time. //= 2.0 - Added Contract System. //= 2.1 - Fixed Contract Expiry (Set #MOTWC to 0 once contract is expired). //= 2.2 - Cleaned Script to remove some unneeded repertition and script. [ToastOfDoom] //= 2.3 - Added Bottle Grenade ingredients to the script as it was missed. //= 2.4 - Decreased the drop rate. //= 2.5 - Changed announce and dispbottom. //= 3.0 - Added Whisper Functions. (map, kills, contract, gm). //= 3.1 - Changed to dynamic Cost and Kills - @motwcost & @motwkill to your desired numbers. //= 3.2 - Added Menu To The NPC. //= 4.0 - Added GM commands to change random map, selected map & to Destroy all contracts. //= 4.1 - Removed SQL unwanted variable. //= 4.2 - Fixed script contract count variable. //= 4.3 - Fixed tweet to not give out contract if no map of the week is assigned. //= 4.4 - Fixed NPC Whisper //= 5.0 - Changed rewards to dynamic rewards [WIP]. //===== Compatible With: ==================================================================== //= Tested in SQL Revision 14435 //===== Description: ======================================================================== //= A Random Map Will be selected and edp, acid demo bottle ingredients are rewarded. //=========================================================================================== Features Selects a map every week in Prontera, Payon and Morroc Fields[Completed] Rewards given when killed a monster[Completed] Contract System[Completed] Limited Kills[Completed] Wisper System [Complete] Easy configuration of the Script[Complete] GM Commands[Complete] Changes Map Automatically Every Week[Completed] Rewards Can be set as required[Completed] Fun Unlimited[Completed] About:This script works like this after it selects a map by itself ( can change the time to test in the script search for OnClock) this map becomes map of the week and when u kill any monster in this map on random chances you get a reward which is also set in the script.Also there is a special function in this script it doesnt work for everyone a player has to first sign the Contract i.e he has to pay 200000Zeny for killing 10000 Monsters i.e after he kills 10000 monsters he wont be able to get any kind of rewards from that Map which is map of the week and it will be a normal map..So if he needs to get rewards again he has to buy the contract again.Give reviews to motivate motw_v4.4.txt motw_v4.1.txt motw_v4.2.txt Edited June 12, 2013 by Vengeance 6 Quote Link to comment Share on other sites More sharing options...
Yokus Posted January 9, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 12/29/11 Last Seen: February 7, 2012 Share Posted January 9, 2012 wow , nice script *---* I will see its ;D Quote Link to comment Share on other sites More sharing options...
Akbare Posted January 10, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 491 Reputation: 20 Joined: 11/19/11 Last Seen: June 5, 2023 Share Posted January 10, 2012 tray it , thanks for share Quote Link to comment Share on other sites More sharing options...
Dolphin86 Posted January 10, 2012 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: December 18, 2024 Share Posted January 10, 2012 downloading and testing thanks ! Quote Link to comment Share on other sites More sharing options...
Syouji Posted January 11, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted January 11, 2012 (edited) Nice script. I saw something in the script that you will need to change. Under OnNPCKIllEvent: Change: if (#MOTWKI >= 10000) goto MO_ContractEnd; To This if (#MOTWKI >= @motwkill) goto MO_ContractEnd; This enables players to change the max kills per contract and have it being checked on the monster kill events. Edited January 11, 2012 by Syouji Quote Link to comment Share on other sites More sharing options...
Vengeance Posted January 11, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Author Share Posted January 11, 2012 Oops my mistake had it updated in my server but the works folder was not updated thx for notifying have now updated the script Quote Link to comment Share on other sites More sharing options...
Syouji Posted January 18, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted January 18, 2012 (edited) I also noticed that if you choose random map option it picks maps that dont exist. For example: it chose prt_fild00 as the MOTW when i hit random map. Another thing is if you whisper the NPC for your kills if you dont have a contract, the message box window pops up empty with no close button and you can't exit the chat unless you relog. EDIT: The random map generator was my fault. It works fine. Edited January 21, 2012 by Syouji Quote Link to comment Share on other sites More sharing options...
Vengeance Posted January 20, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Author Share Posted January 20, 2012 Well everything was working fine when u wisper without contract it would say you have not signed anyways ill check it once.. Quote Link to comment Share on other sites More sharing options...
Syouji Posted January 21, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted January 21, 2012 (edited) Here are the areas I was talking about. Case 1: (Msg Box Freezes Fix that had no close button when you whisper the NPC to check your kills IF you didnt have a contract) Before: MO_NoContract: next; mes "[Map Of The Week]"; mes "You are not under a contract"; close; After: MO_NoContract: mes "[Map Of The Week]"; mes "You are not under a contract"; close; Case 2: (NPC states that no map of the week has been assigned if the player checks the MOTW NPC by clicking and NOT whispering when there isnt one) Before: switch(select("^00FF00•^000000Check Map Of The Week","^00FF00•^000000Check Rewards","^00FF00•^000000Contract Status","^00FF00•^000000Sign a Contract","^00FF00•^000000Commands","^FF0000•^000000Nothing")) { case 1: next; mes "[Map Of The Week]"; mes "The Map Of The Week Is ^FF0000"+$MOTW$+"^000000."; close; After: switch(select("^00FF00•^000000Check Map Of The Week","^00FF00•^000000Check Rewards","^00FF00•^000000Contract Status","^00FF00•^000000Sign a Contract","^00FF00•^000000Commands","^FF0000•^000000Nothing")) { case 1: next; if($MOTW$ == ""){ mes "The Map Of The Week has not been assigned."; close; } mes "[Map Of The Week]"; mes "The Map Of The Week Is ^FF0000"+$MOTW$+"^000000."; close; Case 3: (Prevent player from purchasing a contract if no map of the week has been assigned fix) Before: case 4: next; mes "[Map Of The Week]"; mes "Do you want to buy a contract?"; if(select("Yes:NO")-1) { mes "[Map Of The Week]"; mes "So Long Looser"; atcommand "@die"; close; } After: case 4: next; mes "[Map Of The Week]"; if($MOTW$ == ""){ mes "The Map Of The Week has not been assigned. You cannot purchase a contract at this time."; close; } mes "Do you want to buy a contract?"; if(select("Yes:NO")-1) { mes "[Map Of The Week]"; mes "So Long Looser"; atcommand "@die"; close; } Edited January 21, 2012 by Syouji 1 Quote Link to comment Share on other sites More sharing options...
orange Posted December 23, 2012 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 175 Reputation: 7 Joined: 09/13/12 Last Seen: May 14, 2021 Share Posted December 23, 2012 in this script, instead of paying in zeny for the contract.. can we make it donation credits? Quote Link to comment Share on other sites More sharing options...
Vengeance Posted June 12, 2013 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 65 Reputation: 13 Joined: 01/08/12 Last Seen: February 19, 2015 Author Share Posted June 12, 2013 Fixed the errors syouji mentioned.. 1 Quote Link to comment Share on other sites More sharing options...
panducakep Posted June 18, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 77 Reputation: 3 Joined: 06/06/13 Last Seen: December 29, 2017 Share Posted June 18, 2013 Nice script, I'll try the latest release. Thanks Quote Link to comment Share on other sites More sharing options...
stydianx Posted June 20, 2013 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted June 20, 2013 Oops my mistake had it updated in my server but the works folder was not updated thx for notifying have now updated the script Hi, what do i do to turn it into a daily event? Quote Link to comment Share on other sites More sharing options...
stydianx Posted July 3, 2013 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted July 3, 2013 this thing aint workin for me i have waited for weeks, it didnt start once i dont get it Quote Link to comment Share on other sites More sharing options...
Lil Troll Posted July 11, 2013 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 276 Reputation: 24 Joined: 07/06/13 Last Seen: April 19, 2014 Share Posted July 11, 2013 (edited) Gm Menu doesnt appear to me, if(compare(@whispervar0$,"gm")) { if(getgmlevel() > 99) end; mes "[Map Of The Day]"; mes "What do you want to do GM "+strcharinfo(0)+"?"; switch(select("^00FF00-^000000Random MOTW","^00FF00-^000000Enter MOTW","^FF0000-^000000Destroy All Contracts","^FF0000-^000000Nothing")) { case 1: switch(rand(3)){ case 0: set $@MOTWS, rand(1,11); set $mapotw$, "pay_fild" + (($@MOTWS < 10)?"0":"") + $@MOTWS; set $MOTW$, "Payon Forest "+$@MOTWS; break; case 1: set $@MOTWS, rand(0,11); set $mapotw$, "prt_fild" + (($@MOTWS < 10)?"0":"") + $@MOTWS; set $MOTW$, "Prontera Field "+$@MOTWS; break; case 2: set $@MOTWS, rand(1,22); set $mapotw$, "moc_fild" + (($@MOTWS < 10)?"0":"") + $@MOTWS; set $MOTW$, "Sograt Desert "+$@MOTWS; break; } announce "MOTW : The Map Of The Day is "+$MOTW$+"!!!!",0; next; mes "[Map Of The Day]"; mes "The Map Of The Day is ^FF0000"+$MOTW$+"^000000!!!!"; close; case 2: goto MOTW_Name; case 3: next; mes "[Map Of The Day]"; mes "Destroyed All Contracts"; query_sql "DELETE FROM global_reg_value where str = '#MOTWC'"; query_sql "DELETE FROM global_reg_value where str = '#MOTWKI'"; close; case 4: next; mes "[Map Of The Day]"; mes "Come Back When You are free again"; close; } } Edited August 17, 2013 by Capuche Change to BBCode Quote Link to comment Share on other sites More sharing options...
sapiro1403 Posted July 27, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 01/08/12 Last Seen: March 3 Share Posted July 27, 2013 download + test set map to thanatos odin temple bio laboratory Quote Link to comment Share on other sites More sharing options...
stydianx Posted July 30, 2013 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 390 Reputation: 27 Joined: 07/12/12 Last Seen: October 24, 2022 Share Posted July 30, 2013 how does this exactly work, cause i set the map to prontera but nothing appeared. no monsters at all. Quote Link to comment Share on other sites More sharing options...
Checkmate Posted August 16, 2013 Group: Members Topic Count: 96 Topics Per Day: 0.02 Content Count: 554 Reputation: 14 Joined: 09/24/12 Last Seen: November 20, 2024 Share Posted August 16, 2013 Yeahh.. me too..A actually dont know how to make this script works..Someone could come in and tell us how to make this script working with each explanation... Quote Link to comment Share on other sites More sharing options...
Lelantos Posted September 9, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 15 Reputation: 0 Joined: 03/30/13 Last Seen: October 28, 2014 Share Posted September 9, 2013 how can i increase drop rate? Quote Link to comment Share on other sites More sharing options...
Vaytrex Posted September 30, 2013 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 42 Reputation: 0 Joined: 02/21/13 Last Seen: September 21, 2022 Share Posted September 30, 2013 can make it +100% exp on that map? Quote Link to comment Share on other sites More sharing options...
TheFinalEpisode Posted November 8, 2013 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 237 Reputation: 19 Joined: 06/05/13 Last Seen: May 30, 2019 Share Posted November 8, 2013 where is the link of fixed version? Quote Link to comment Share on other sites More sharing options...
donkeyg Posted November 12, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.07 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Share Posted November 12, 2013 any news? Quote Link to comment Share on other sites More sharing options...
TheFinalEpisode Posted May 7, 2014 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 237 Reputation: 19 Joined: 06/05/13 Last Seen: May 30, 2019 Share Posted May 7, 2014 any updates? Quote Link to comment Share on other sites More sharing options...
sicko Posted March 12, 2015 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 11/29/14 Last Seen: December 26, 2015 Share Posted March 12, 2015 None of these work (to date). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.