Ignore:
Timestamp:
Jan 16, 2012 7:56:19 AM (4 months ago)
Author:
MELERIX
Message:

STABLE: Sync with BETA [8629]

Location:
trunk/L2J_DataPack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/L2J_DataPack

  • trunk/L2J_DataPack/dist/game/data/scripts/ai/fantasy_isle/MC_Show.java

    r8406 r8630  
    3131import com.l2jserver.gameserver.network.serverpackets.NpcSay; 
    3232import com.l2jserver.gameserver.network.serverpackets.PlaySound; 
    33 import com.l2jserver.gameserver.network.serverpackets.SocialAction; 
    34  
    3533 
    3634/** 
     
    4139{ 
    4240        private static int mc = 32433; 
    43         private static int[] singers = {32431,32432}; 
    44         private static int[] circus = {32442,32443,32444,32445,32446}; 
    45         private static int[] individuals = {32439,32440,32441}; 
    46         private static int[] showstuff = {32424,32425,32426,32427,32428}; 
     41        private static int[] singers = 
     42        { 
     43                32431, 32432 
     44        }; 
     45        private static int[] circus = 
     46        { 
     47                32442, 32443, 32444, 32445, 32446 
     48        }; 
     49        private static int[] individuals = 
     50        { 
     51                32439, 32440, 32441 
     52        }; 
     53        private static int[] showstuff = 
     54        { 
     55                32424, 32425, 32426, 32427, 32428 
     56        }; 
    4757        private static boolean isStarted = false; 
    48         private static NpcStringId[] messages = { 
     58        private static NpcStringId[] messages = 
     59        { 
    4960                NpcStringId.HOW_COME_PEOPLE_ARE_NOT_HERE_WE_ARE_ABOUT_TO_START_THE_SHOW_HMM, 
    5061                NpcStringId.UGH_I_HAVE_BUTTERFLIES_IN_MY_STOMACH_THE_SHOW_STARTS_SOON, 
     
    5566                NpcStringId.HERE_SHE_COMES, 
    5667                NpcStringId.THANK_YOU_VERY_MUCH_LEYLA, 
    57                 //NpcStringId.1800089 Now we're in for a real treat. 
     68                // NpcStringId.1800089 Now we're in for a real treat. 
    5869                NpcStringId.JUST_BACK_FROM_THEIR_WORLD_TOUR_PUT_YOUR_HANDS_TOGETHER_FOR_THE_FANTASY_ISLE_CIRCUS, 
    5970                NpcStringId.COME_ON_EVERYONE, 
     
    7182                NpcStringId.WELL_I_WISH_I_COULD_CONTINUE_ALL_NIGHT_LONG_BUT_THIS_IS_IT_FOR_TODAY_THANK_YOU, 
    7283                NpcStringId.WE_LOVE_YOU 
    73  
     84         
    7485        }; 
    7586         
    76         private static Map<String, Object[]> talks = new FastMap<String, Object[]>(); 
    77         private static Map<String, Object[]> walks = new FastMap<String, Object[]>(); 
     87        private class ShoutInfo 
     88        { 
     89                private final NpcStringId _npcStringId; 
     90                private final String _nextEvent; 
     91                private final int _time; 
     92                 
     93                public ShoutInfo(NpcStringId npcStringId, String nextEvent, int time) 
     94                { 
     95                        _npcStringId = npcStringId; 
     96                        _nextEvent = nextEvent; 
     97                        _time = time; 
     98                } 
     99                 
     100                /** 
     101                 * @return the _npcStringId 
     102                 */ 
     103                public NpcStringId getNpcStringId() 
     104                { 
     105                        return _npcStringId; 
     106                } 
     107                 
     108                /** 
     109                 * @return the _nextEvent 
     110                 */ 
     111                public String getNextEvent() 
     112                { 
     113                        return _nextEvent; 
     114                } 
     115                 
     116                /** 
     117                 * @return the _time 
     118                 */ 
     119                public int getTime() 
     120                { 
     121                        return _time; 
     122                } 
     123        } 
     124         
     125        private class WalkInfo 
     126        { 
     127                private final L2CharPosition _charPos; 
     128                private final String _nextEvent; 
     129                private final int _time; 
     130                 
     131                public WalkInfo(L2CharPosition charPos, String nextEvent, int time) 
     132                { 
     133                        _charPos = charPos; 
     134                        _nextEvent = nextEvent; 
     135                        _time = time; 
     136                } 
     137                 
     138                /** 
     139                 * @return the _charPos 
     140                 */ 
     141                public L2CharPosition getCharPos() 
     142                { 
     143                        return _charPos; 
     144                } 
     145                 
     146                /** 
     147                 * @return the _nextEvent 
     148                 */ 
     149                public String getNextEvent() 
     150                { 
     151                        return _nextEvent; 
     152                } 
     153                 
     154                /** 
     155                 * @return the _time 
     156                 */ 
     157                public int getTime() 
     158                { 
     159                        return _time; 
     160                } 
     161        } 
     162         
     163        private static Map<String, ShoutInfo> talks = new FastMap<>(); 
     164        private static Map<String, WalkInfo> walks = new FastMap<>(); 
    78165         
    79166        private void load() 
    80167        { 
    81                 talks.put("1", new Object[]{messages[1],"2",1000}); 
    82                 talks.put("2", new Object[]{messages[2],"3",6000}); 
    83                 talks.put("3", new Object[]{messages[3],"4",4000}); 
    84                 talks.put("4", new Object[]{messages[4],"5",5000}); 
    85                 talks.put("5", new Object[]{messages[5],"6",3000}); 
    86                 talks.put("8", new Object[]{messages[8],"9",5000}); 
    87                 talks.put("9", new Object[]{messages[9],"10",5000}); 
    88                 talks.put("12", new Object[]{messages[11],"13",5000}); 
    89                 talks.put("13", new Object[]{messages[12],"14",5000}); 
    90                 talks.put("15", new Object[]{messages[13],"16",5000}); 
    91                 talks.put("16", new Object[]{messages[14],"17",5000}); 
    92                 talks.put("18", new Object[]{messages[16],"19",5000}); 
    93                 talks.put("19", new Object[]{messages[17],"20",5000}); 
    94                 talks.put("21", new Object[]{messages[18],"22",5000}); 
    95                 talks.put("22", new Object[]{messages[19],"23",400}); 
    96                 talks.put("25", new Object[]{messages[20],"26",5000}); 
    97                 talks.put("26", new Object[]{messages[21],"27",5400}); 
    98                  
    99                 walks.put("npc1_1" , new Object[]{-56546,-56384,-2008,"npc1_2",1200}); 
    100                 walks.put("npc1_2" , new Object[]{-56597,-56384,-2008,"npc1_3",1200}); 
    101                 walks.put("npc1_3" , new Object[]{-56596,-56428,-2008,"npc1_4",1200}); 
    102                 walks.put("npc1_4" , new Object[]{-56593,-56474,-2008,"npc1_5",1000}); 
    103                 walks.put("npc1_5" , new Object[]{-56542,-56474,-2008,"npc1_6",1000}); 
    104                 walks.put("npc1_6" , new Object[]{-56493,-56473,-2008,"npc1_7",2000}); 
    105                 walks.put("npc1_7" , new Object[]{-56495,-56425,-2008,"npc1_1",4000}); 
    106                 walks.put("npc2_1" , new Object[]{-56550,-56291,-2008,"npc2_2",1200}); 
    107                 walks.put("npc2_2" , new Object[]{-56601,-56293,-2008,"npc2_3",1200}); 
    108                 walks.put("npc2_3" , new Object[]{-56603,-56247,-2008,"npc2_4",1200}); 
    109                 walks.put("npc2_4" , new Object[]{-56605,-56203,-2008,"npc2_5",1000}); 
    110                 walks.put("npc2_5" , new Object[]{-56553,-56202,-2008,"npc2_6",1100}); 
    111                 walks.put("npc2_6" , new Object[]{-56504,-56200,-2008,"npc2_7",2000}); 
    112                 walks.put("npc2_7" , new Object[]{-56503,-56243,-2008,"npc2_1",4000}); 
    113                 walks.put("npc3_1" , new Object[]{-56500,-56290,-2008,"npc3_2",1200}); 
    114                 walks.put("npc3_2" , new Object[]{-56551,-56313,-2008,"npc3_3",1200}); 
    115                 walks.put("npc3_3" , new Object[]{-56601,-56293,-2008,"npc3_4",1200}); 
    116                 walks.put("npc3_4" , new Object[]{-56651,-56294,-2008,"npc3_5",1200}); 
    117                 walks.put("npc3_5" , new Object[]{-56653,-56250,-2008,"npc3_6",1200}); 
    118                 walks.put("npc3_6" , new Object[]{-56654,-56204,-2008,"npc3_7",1200}); 
    119                 walks.put("npc3_7" , new Object[]{-56605,-56203,-2008,"npc3_8",1200}); 
    120                 walks.put("npc3_8" , new Object[]{-56554,-56202,-2008,"npc3_9",1200}); 
    121                 walks.put("npc3_9" , new Object[]{-56503,-56200,-2008,"npc3_10",1200}); 
    122                 walks.put("npc3_10", new Object[]{-56502,-56244,-2008,"npc3_1",900}); 
    123                 walks.put("npc4_1" , new Object[]{-56495,-56381,-2008,"npc4_2",1200}); 
    124                 walks.put("npc4_2" , new Object[]{-56548,-56383,-2008,"npc4_3",1200}); 
    125                 walks.put("npc4_3" , new Object[]{-56597,-56383,-2008,"npc4_4",1200}); 
    126                 walks.put("npc4_4" , new Object[]{-56643,-56385,-2008,"npc4_5",1200}); 
    127                 walks.put("npc4_5" , new Object[]{-56639,-56436,-2008,"npc4_6",1200}); 
    128                 walks.put("npc4_6" , new Object[]{-56639,-56473,-2008,"npc4_7",1200}); 
    129                 walks.put("npc4_7" , new Object[]{-56589,-56473,-2008,"npc4_8",1200}); 
    130                 walks.put("npc4_8" , new Object[]{-56541,-56473,-2008,"npc4_9",1200}); 
    131                 walks.put("npc4_9" , new Object[]{-56496,-56473,-2008,"npc4_10",1200}); 
    132                 walks.put("npc4_10", new Object[]{-56496,-56429,-2008,"npc4_1",900}); 
    133                 walks.put("npc5_1" , new Object[]{-56549,-56335,-2008,"npc5_2",1000}); 
    134                 walks.put("npc5_2" , new Object[]{-56599,-56337,-2008,"npc5_3",2000}); 
    135                 walks.put("npc5_3" , new Object[]{-56649,-56341,-2008,"npc5_4",26000}); 
    136                 walks.put("npc5_4" , new Object[]{-56600,-56341,-2008,"npc5_5",1000}); 
    137                 walks.put("npc5_5" , new Object[]{-56553,-56341,-2008,"npc5_6",1000}); 
    138                 walks.put("npc5_6" , new Object[]{-56508,-56331,-2008,"npc5_2",8000}); 
    139                 walks.put("npc6_1" , new Object[]{-56595,-56428,-2008,"npc6_2",1000}); 
    140                 walks.put("npc6_2" , new Object[]{-56596,-56383,-2008,"npc6_3",1000}); 
    141                 walks.put("npc6_3" , new Object[]{-56648,-56384,-2008,"npc6_4",1000}); 
    142                 walks.put("npc6_4" , new Object[]{-56645,-56429,-2008,"npc6_5",1000}); 
    143                 walks.put("npc6_5" , new Object[]{-56644,-56475,-2008,"npc6_6",1000}); 
    144                 walks.put("npc6_6" , new Object[]{-56595,-56473,-2008,"npc6_7",1000}); 
    145                 walks.put("npc6_7" , new Object[]{-56542,-56473,-2008,"npc6_8",1000}); 
    146                 walks.put("npc6_8" , new Object[]{-56492,-56472,-2008,"npc6_9",1200}); 
    147                 walks.put("npc6_9" , new Object[]{-56495,-56426,-2008,"npc6_10",2000}); 
    148                 walks.put("npc6_10", new Object[]{-56540,-56426,-2008,"npc6_1",3000}); 
    149                 walks.put("npc7_1" , new Object[]{-56603,-56249,-2008,"npc7_2",1000}); 
    150                 walks.put("npc7_2" , new Object[]{-56601,-56294,-2008,"npc7_3",1000}); 
    151                 walks.put("npc7_3" , new Object[]{-56651,-56295,-2008,"npc7_4",1000}); 
    152                 walks.put("npc7_4" , new Object[]{-56653,-56248,-2008,"npc7_5",1000}); 
    153                 walks.put("npc7_5" , new Object[]{-56605,-56203,-2008,"npc7_6",1000}); 
    154                 walks.put("npc7_6" , new Object[]{-56554,-56202,-2008,"npc7_7",1000}); 
    155                 walks.put("npc7_7" , new Object[]{-56504,-56201,-2008,"npc7_8",1000}); 
    156                 walks.put("npc7_8" , new Object[]{-56502,-56247,-2008,"npc7_9",1200}); 
    157                 walks.put("npc7_9" , new Object[]{-56549,-56248,-2008,"npc7_10",2000}); 
    158                 walks.put("npc7_10", new Object[]{-56549,-56248,-2008,"npc7_1",3000}); 
    159                 walks.put("npc8_1" , new Object[]{-56493,-56426,-2008,"npc8_2",1000}); 
    160                 walks.put("npc8_2" , new Object[]{-56497,-56381,-2008,"npc8_3",1200}); 
    161                 walks.put("npc8_3" , new Object[]{-56544,-56381,-2008,"npc8_4",1200}); 
    162                 walks.put("npc8_4" , new Object[]{-56596,-56383,-2008,"npc8_5",1200}); 
    163                 walks.put("npc8_5" , new Object[]{-56594,-56428,-2008,"npc8_6",900}); 
    164                 walks.put("npc8_6" , new Object[]{-56645,-56429,-2008,"npc8_7",1200}); 
    165                 walks.put("npc8_7" , new Object[]{-56647,-56384,-2008,"npc8_8",1200}); 
    166                 walks.put("npc8_8" , new Object[]{-56649,-56362,-2008,"npc8_9",9200}); 
    167                 walks.put("npc8_9" , new Object[]{-56654,-56429,-2008,"npc8_10",1200}); 
    168                 walks.put("npc8_10", new Object[]{-56644,-56474,-2008,"npc8_11",900}); 
    169                 walks.put("npc8_11", new Object[]{-56593,-56473,-2008,"npc8_12",1100}); 
    170                 walks.put("npc8_12", new Object[]{-56543,-56472,-2008,"npc8_13",1200}); 
    171                 walks.put("npc8_13", new Object[]{-56491,-56471,-2008,"npc8_1",1200}); 
    172                 walks.put("npc9_1" , new Object[]{-56505,-56246,-2008,"npc9_2",1000}); 
    173                 walks.put("npc9_2" , new Object[]{-56504,-56291,-2008,"npc9_3",1200}); 
    174                 walks.put("npc9_3" , new Object[]{-56550,-56291,-2008,"npc9_4",1200}); 
    175                 walks.put("npc9_4" , new Object[]{-56600,-56292,-2008,"npc9_5",1200}); 
    176                 walks.put("npc9_5" , new Object[]{-56603,-56248,-2008,"npc9_6",900}); 
    177                 walks.put("npc9_6" , new Object[]{-56653,-56249,-2008,"npc9_7",1200}); 
    178                 walks.put("npc9_7" , new Object[]{-56651,-56294,-2008,"npc9_8",1200}); 
    179                 walks.put("npc9_8" , new Object[]{-56650,-56316,-2008,"npc9_9",9200}); 
    180                 walks.put("npc9_9" , new Object[]{-56660,-56250,-2008,"npc9_10",1200}); 
    181                 walks.put("npc9_10", new Object[]{-56656,-56205,-2008,"npc9_11",900}); 
    182                 walks.put("npc9_11", new Object[]{-56606,-56204,-2008,"npc9_12",1100}); 
    183                 walks.put("npc9_12", new Object[]{-56554,-56203,-2008,"npc9_13",1200}); 
    184                 walks.put("npc9_13", new Object[]{-56506,-56203,-2008,"npc9_1",1200}); 
    185                 walks.put("24"     , new Object[]{-56730,-56340,-2008,"25",1800}); 
    186                 walks.put("27"     , new Object[]{-56702,-56340,-2008,"29",1800}); 
    187         } 
    188          
    189         public MC_Show(int id,String name,String descr) 
    190         { 
    191                 super(id,name,descr); 
    192                 registerMobs(new int[] { 32433, 32431, 32432, 32442, 32443, 32444, 32445, 32446, 32424, 32425, 32426, 32427, 32428 }, QuestEventType.ON_SPAWN); 
     168                talks.put("1", new ShoutInfo(messages[1], "2", 1000)); 
     169                talks.put("2", new ShoutInfo(messages[2], "3", 6000)); 
     170                talks.put("3", new ShoutInfo(messages[3], "4", 4000)); 
     171                talks.put("4", new ShoutInfo(messages[4], "5", 5000)); 
     172                talks.put("5", new ShoutInfo(messages[5], "6", 3000)); 
     173                talks.put("8", new ShoutInfo(messages[8], "9", 5000)); 
     174                talks.put("9", new ShoutInfo(messages[9], "10", 5000)); 
     175                talks.put("12", new ShoutInfo(messages[11], "13", 5000)); 
     176                talks.put("13", new ShoutInfo(messages[12], "14", 5000)); 
     177                talks.put("15", new ShoutInfo(messages[13], "16", 5000)); 
     178                talks.put("16", new ShoutInfo(messages[14], "17", 5000)); 
     179                talks.put("18", new ShoutInfo(messages[16], "19", 5000)); 
     180                talks.put("19", new ShoutInfo(messages[17], "20", 5000)); 
     181                talks.put("21", new ShoutInfo(messages[18], "22", 5000)); 
     182                talks.put("22", new ShoutInfo(messages[19], "23", 400)); 
     183                talks.put("25", new ShoutInfo(messages[20], "26", 5000)); 
     184                talks.put("26", new ShoutInfo(messages[21], "27", 5400)); 
     185                 
     186                walks.put("npc1_1", new WalkInfo(new L2CharPosition(-56546, -56384, -2008, 0), "npc1_2", 1200)); 
     187                walks.put("npc1_2", new WalkInfo(new L2CharPosition(-56597, -56384, -2008, 0), "npc1_3", 1200)); 
     188                walks.put("npc1_3", new WalkInfo(new L2CharPosition(-56596, -56428, -2008, 0), "npc1_4", 1200)); 
     189                walks.put("npc1_4", new WalkInfo(new L2CharPosition(-56593, -56474, -2008, 0), "npc1_5", 1000)); 
     190                walks.put("npc1_5", new WalkInfo(new L2CharPosition(-56542, -56474, -2008, 0), "npc1_6", 1000)); 
     191                walks.put("npc1_6", new WalkInfo(new L2CharPosition(-56493, -56473, -2008, 0), "npc1_7", 2000)); 
     192                walks.put("npc1_7", new WalkInfo(new L2CharPosition(-56495, -56425, -2008, 0), "npc1_1", 4000)); 
     193                walks.put("npc2_1", new WalkInfo(new L2CharPosition(-56550, -56291, -2008, 0), "npc2_2", 1200)); 
     194                walks.put("npc2_2", new WalkInfo(new L2CharPosition(-56601, -56293, -2008, 0), "npc2_3", 1200)); 
     195                walks.put("npc2_3", new WalkInfo(new L2CharPosition(-56603, -56247, -2008, 0), "npc2_4", 1200)); 
     196                walks.put("npc2_4", new WalkInfo(new L2CharPosition(-56605, -56203, -2008, 0), "npc2_5", 1000)); 
     197                walks.put("npc2_5", new WalkInfo(new L2CharPosition(-56553, -56202, -2008, 0), "npc2_6", 1100)); 
     198                walks.put("npc2_6", new WalkInfo(new L2CharPosition(-56504, -56200, -2008, 0), "npc2_7", 2000)); 
     199                walks.put("npc2_7", new WalkInfo(new L2CharPosition(-56503, -56243, -2008, 0), "npc2_1", 4000)); 
     200                walks.put("npc3_1", new WalkInfo(new L2CharPosition(-56500, -56290, -2008, 0), "npc3_2", 1200)); 
     201                walks.put("npc3_2", new WalkInfo(new L2CharPosition(-56551, -56313, -2008, 0), "npc3_3", 1200)); 
     202                walks.put("npc3_3", new WalkInfo(new L2CharPosition(-56601, -56293, -2008, 0), "npc3_4", 1200)); 
     203                walks.put("npc3_4", new WalkInfo(new L2CharPosition(-56651, -56294, -2008, 0), "npc3_5", 1200)); 
     204                walks.put("npc3_5", new WalkInfo(new L2CharPosition(-56653, -56250, -2008, 0), "npc3_6", 1200)); 
     205                walks.put("npc3_6", new WalkInfo(new L2CharPosition(-56654, -56204, -2008, 0), "npc3_7", 1200)); 
     206                walks.put("npc3_7", new WalkInfo(new L2CharPosition(-56605, -56203, -2008, 0), "npc3_8", 1200)); 
     207                walks.put("npc3_8", new WalkInfo(new L2CharPosition(-56554, -56202, -2008, 0), "npc3_9", 1200)); 
     208                walks.put("npc3_9", new WalkInfo(new L2CharPosition(-56503, -56200, -2008, 0), "npc3_10", 1200)); 
     209                walks.put("npc3_10", new WalkInfo(new L2CharPosition(-56502, -56244, -2008, 0), "npc3_1", 900)); 
     210                walks.put("npc4_1", new WalkInfo(new L2CharPosition(-56495, -56381, -2008, 0), "npc4_2", 1200)); 
     211                walks.put("npc4_2", new WalkInfo(new L2CharPosition(-56548, -56383, -2008, 0), "npc4_3", 1200)); 
     212                walks.put("npc4_3", new WalkInfo(new L2CharPosition(-56597, -56383, -2008, 0), "npc4_4", 1200)); 
     213                walks.put("npc4_4", new WalkInfo(new L2CharPosition(-56643, -56385, -2008, 0), "npc4_5", 1200)); 
     214                walks.put("npc4_5", new WalkInfo(new L2CharPosition(-56639, -56436, -2008, 0), "npc4_6", 1200)); 
     215                walks.put("npc4_6", new WalkInfo(new L2CharPosition(-56639, -56473, -2008, 0), "npc4_7", 1200)); 
     216                walks.put("npc4_7", new WalkInfo(new L2CharPosition(-56589, -56473, -2008, 0), "npc4_8", 1200)); 
     217                walks.put("npc4_8", new WalkInfo(new L2CharPosition(-56541, -56473, -2008, 0), "npc4_9", 1200)); 
     218                walks.put("npc4_9", new WalkInfo(new L2CharPosition(-56496, -56473, -2008, 0), "npc4_10", 1200)); 
     219                walks.put("npc4_10", new WalkInfo(new L2CharPosition(-56496, -56429, -2008, 0), "npc4_1", 900)); 
     220                walks.put("npc5_1", new WalkInfo(new L2CharPosition(-56549, -56335, -2008, 0), "npc5_2", 1000)); 
     221                walks.put("npc5_2", new WalkInfo(new L2CharPosition(-56599, -56337, -2008, 0), "npc5_3", 2000)); 
     222                walks.put("npc5_3", new WalkInfo(new L2CharPosition(-56649, -56341, -2008, 0), "npc5_4", 26000)); 
     223                walks.put("npc5_4", new WalkInfo(new L2CharPosition(-56600, -56341, -2008, 0), "npc5_5", 1000)); 
     224                walks.put("npc5_5", new WalkInfo(new L2CharPosition(-56553, -56341, -2008, 0), "npc5_6", 1000)); 
     225                walks.put("npc5_6", new WalkInfo(new L2CharPosition(-56508, -56331, -2008, 0), "npc5_2", 8000)); 
     226                walks.put("npc6_1", new WalkInfo(new L2CharPosition(-56595, -56428, -2008, 0), "npc6_2", 1000)); 
     227                walks.put("npc6_2", new WalkInfo(new L2CharPosition(-56596, -56383, -2008, 0), "npc6_3", 1000)); 
     228                walks.put("npc6_3", new WalkInfo(new L2CharPosition(-56648, -56384, -2008, 0), "npc6_4", 1000)); 
     229                walks.put("npc6_4", new WalkInfo(new L2CharPosition(-56645, -56429, -2008, 0), "npc6_5", 1000)); 
     230                walks.put("npc6_5", new WalkInfo(new L2CharPosition(-56644, -56475, -2008, 0), "npc6_6", 1000)); 
     231                walks.put("npc6_6", new WalkInfo(new L2CharPosition(-56595, -56473, -2008, 0), "npc6_7", 1000)); 
     232                walks.put("npc6_7", new WalkInfo(new L2CharPosition(-56542, -56473, -2008, 0), "npc6_8", 1000)); 
     233                walks.put("npc6_8", new WalkInfo(new L2CharPosition(-56492, -56472, -2008, 0), "npc6_9", 1200)); 
     234                walks.put("npc6_9", new WalkInfo(new L2CharPosition(-56495, -56426, -2008, 0), "npc6_10", 2000)); 
     235                walks.put("npc6_10", new WalkInfo(new L2CharPosition(-56540, -56426, -2008, 0), "npc6_1", 3000)); 
     236                walks.put("npc7_1", new WalkInfo(new L2CharPosition(-56603, -56249, -2008, 0), "npc7_2", 1000)); 
     237                walks.put("npc7_2", new WalkInfo(new L2CharPosition(-56601, -56294, -2008, 0), "npc7_3", 1000)); 
     238                walks.put("npc7_3", new WalkInfo(new L2CharPosition(-56651, -56295, -2008, 0), "npc7_4", 1000)); 
     239                walks.put("npc7_4", new WalkInfo(new L2CharPosition(-56653, -56248, -2008, 0), "npc7_5", 1000)); 
     240                walks.put("npc7_5", new WalkInfo(new L2CharPosition(-56605, -56203, -2008, 0), "npc7_6", 1000)); 
     241                walks.put("npc7_6", new WalkInfo(new L2CharPosition(-56554, -56202, -2008, 0), "npc7_7", 1000)); 
     242                walks.put("npc7_7", new WalkInfo(new L2CharPosition(-56504, -56201, -2008, 0), "npc7_8", 1000)); 
     243                walks.put("npc7_8", new WalkInfo(new L2CharPosition(-56502, -56247, -2008, 0), "npc7_9", 1200)); 
     244                walks.put("npc7_9", new WalkInfo(new L2CharPosition(-56549, -56248, -2008, 0), "npc7_10", 2000)); 
     245                walks.put("npc7_10", new WalkInfo(new L2CharPosition(-56549, -56248, -2008, 0), "npc7_1", 3000)); 
     246                walks.put("npc8_1", new WalkInfo(new L2CharPosition(-56493, -56426, -2008, 0), "npc8_2", 1000)); 
     247                walks.put("npc8_2", new WalkInfo(new L2CharPosition(-56497, -56381, -2008, 0), "npc8_3", 1200)); 
     248                walks.put("npc8_3", new WalkInfo(new L2CharPosition(-56544, -56381, -2008, 0), "npc8_4", 1200)); 
     249                walks.put("npc8_4", new WalkInfo(new L2CharPosition(-56596, -56383, -2008, 0), "npc8_5", 1200)); 
     250                walks.put("npc8_5", new WalkInfo(new L2CharPosition(-56594, -56428, -2008, 0), "npc8_6", 900)); 
     251                walks.put("npc8_6", new WalkInfo(new L2CharPosition(-56645, -56429, -2008, 0), "npc8_7", 1200)); 
     252                walks.put("npc8_7", new WalkInfo(new L2CharPosition(-56647, -56384, -2008, 0), "npc8_8", 1200)); 
     253                walks.put("npc8_8", new WalkInfo(new L2CharPosition(-56649, -56362, -2008, 0), "npc8_9", 9200)); 
     254                walks.put("npc8_9", new WalkInfo(new L2CharPosition(-56654, -56429, -2008, 0), "npc8_10", 1200)); 
     255                walks.put("npc8_10", new WalkInfo(new L2CharPosition(-56644, -56474, -2008, 0), "npc8_11", 900)); 
     256                walks.put("npc8_11", new WalkInfo(new L2CharPosition(-56593, -56473, -2008, 0), "npc8_12", 1100)); 
     257                walks.put("npc8_12", new WalkInfo(new L2CharPosition(-56543, -56472, -2008, 0), "npc8_13", 1200)); 
     258                walks.put("npc8_13", new WalkInfo(new L2CharPosition(-56491, -56471, -2008, 0), "npc8_1", 1200)); 
     259                walks.put("npc9_1", new WalkInfo(new L2CharPosition(-56505, -56246, -2008, 0), "npc9_2", 1000)); 
     260                walks.put("npc9_2", new WalkInfo(new L2CharPosition(-56504, -56291, -2008, 0), "npc9_3", 1200)); 
     261                walks.put("npc9_3", new WalkInfo(new L2CharPosition(-56550, -56291, -2008, 0), "npc9_4", 1200)); 
     262                walks.put("npc9_4", new WalkInfo(new L2CharPosition(-56600, -56292, -2008, 0), "npc9_5", 1200)); 
     263                walks.put("npc9_5", new WalkInfo(new L2CharPosition(-56603, -56248, -2008, 0), "npc9_6", 900)); 
     264                walks.put("npc9_6", new WalkInfo(new L2CharPosition(-56653, -56249, -2008, 0), "npc9_7", 1200)); 
     265                walks.put("npc9_7", new WalkInfo(new L2CharPosition(-56651, -56294, -2008, 0), "npc9_8", 1200)); 
     266                walks.put("npc9_8", new WalkInfo(new L2CharPosition(-56650, -56316, -2008, 0), "npc9_9", 9200)); 
     267                walks.put("npc9_9", new WalkInfo(new L2CharPosition(-56660, -56250, -2008, 0), "npc9_10", 1200)); 
     268                walks.put("npc9_10", new WalkInfo(new L2CharPosition(-56656, -56205, -2008, 0), "npc9_11", 900)); 
     269                walks.put("npc9_11", new WalkInfo(new L2CharPosition(-56606, -56204, -2008, 0), "npc9_12", 1100)); 
     270                walks.put("npc9_12", new WalkInfo(new L2CharPosition(-56554, -56203, -2008, 0), "npc9_13", 1200)); 
     271                walks.put("npc9_13", new WalkInfo(new L2CharPosition(-56506, -56203, -2008, 0), "npc9_1", 1200)); 
     272                walks.put("24", new WalkInfo(new L2CharPosition(-56730, -56340, -2008, 0), "25", 1800)); 
     273                walks.put("27", new WalkInfo(new L2CharPosition(-56702, -56340, -2008, 0), "29", 1800)); 
     274        } 
     275         
     276        public MC_Show(int id, String name, String descr) 
     277        { 
     278                super(id, name, descr); 
     279                registerMobs(new int[] 
     280                { 
     281                        32433, 32431, 32432, 32442, 32443, 32444, 32445, 32446, 32424, 32425, 32426, 32427, 32428 
     282                }, QuestEventType.ON_SPAWN); 
    193283                load(); 
    194284                scheduleTimer(); 
     
    203293        { 
    204294                int gameTime = getGameTime(); 
    205                 int hours = (gameTime/60)%24; 
    206                 int minutes = gameTime%60; 
     295                int hours = (gameTime / 60) % 24; 
     296                int minutes = gameTime % 60; 
    207297                int hourDiff, minDiff; 
    208298                hourDiff = (20 - hours); 
    209299                if (hourDiff < 0) 
    210                         hourDiff = 24-(hourDiff*=-1); 
     300                { 
     301                        hourDiff = 24 - (hourDiff *= -1); 
     302                } 
    211303                minDiff = (30 - minutes); 
    212304                if (minDiff < 0) 
    213                         minDiff = 60-(minDiff*=-1); 
     305                { 
     306                        minDiff = 60 - (minDiff *= -1); 
     307                } 
    214308                long diff; 
    215                 hourDiff*=60*60*1000; 
    216                 minDiff*=60*1000; 
    217                 diff = hourDiff+minDiff; 
     309                hourDiff *= 60 * 60 * 1000; 
     310                minDiff *= 60 * 1000; 
     311                diff = hourDiff + minDiff; 
    218312                if (Config.DEBUG) 
    219313                { 
    220314                        SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss"); 
    221                         _log.info("Fantasy Isle: MC show script starting at " + format.format(System.currentTimeMillis()+diff)+ " and is scheduled each next 4 hours."); 
     315                        _log.info("Fantasy Isle: MC show script starting at " + format.format(System.currentTimeMillis() + diff) + " and is scheduled each next 4 hours."); 
    222316                } 
    223317                ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new StartMCShow(), diff, 14400000L); 
     
    238332                        { 
    239333                                case 32433: 
    240                                         autoChat(npc,messages[0],1); 
    241                                         startQuestTimer("1",30000, npc, null); 
     334                                        autoChat(npc, messages[0], 1); 
     335                                        startQuestTimer("1", 30000, npc, null); 
    242336                                        break; 
    243337                                case 32431: 
    244                                         npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(-56657,-56338,-2008,33102)); 
    245                                         startQuestTimer("social1",6000, npc, null, true); 
    246                                         startQuestTimer("7",215000, npc, null); 
     338                                        npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56657, -56338, -2008, 33102)); 
     339                                        startQuestTimer("social1", 6000, npc, null, true); 
     340                                        startQuestTimer("7", 215000, npc, null); 
    247341                                        break; 
    248342                                case 32432: 
    249                                         startQuestTimer("social1",6000, npc, null, true); 
    250                                         startQuestTimer("7",215000, npc, null); 
     343                                        startQuestTimer("social1", 6000, npc, null, true); 
     344                                        startQuestTimer("7", 215000, npc, null); 
    251345                                        break; 
    252346                                case 32442: 
     
    255349                                case 32445: 
    256350                                case 32446: 
    257                                         startQuestTimer("11",100000, npc, null); 
     351                                        startQuestTimer("11", 100000, npc, null); 
    258352                                        break; 
    259353                                case 32424: 
     
    262356                                case 32427: 
    263357                                case 32428: 
    264                                         startQuestTimer("social1",5500, npc, null); 
    265                                         startQuestTimer("social1",12500, npc, null); 
    266                                         startQuestTimer("28",19700, npc, null); 
     358                                        startQuestTimer("social1", 5500, npc, null); 
     359                                        startQuestTimer("social1", 12500, npc, null); 
     360                                        startQuestTimer("28", 19700, npc, null); 
    267361                                        break; 
    268362                        } 
     
    270364                return super.onSpawn(npc); 
    271365        } 
     366         
    272367        @Override 
    273         public String onAdvEvent (String event, L2Npc npc, L2PcInstance player) 
    274         { 
     368        public String onAdvEvent(String event, L2Npc npc, L2PcInstance player) 
     369        { 
     370                if ((event == null) || event.isEmpty()) 
     371                { 
     372                        _log.warning("MC_Show: Null/Empty event for npc " + npc + " and player " + player + "!"); 
     373                        return null; 
     374                } 
     375                 
    275376                if (event.equalsIgnoreCase("Start")) 
    276377                { 
    277378                        isStarted = true; 
    278                         addSpawn(mc,-56698,-56430,-2008,32768,false,0); 
    279                 } 
    280                 else if (npc != null && isStarted) 
     379                        addSpawn(mc, -56698, -56430, -2008, 32768, false, 0); 
     380                } 
     381                else if ((npc != null) && isStarted) 
    281382                { 
    282383                        if (event.equalsIgnoreCase("6")) 
    283384                        { 
    284                                 autoChat(npc,messages[6],1); 
    285                                 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56511,-56647,-2008,36863)); 
     385                                autoChat(npc, messages[6], 1); 
     386                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56511, -56647, -2008, 36863)); 
    286387                                npc.broadcastPacket(new PlaySound(1, "NS22_F", 0, 0, 0, 0, 0)); 
    287                                 addSpawn(singers[0],-56344,-56328,-2008,32768,false,224000); 
    288                                 addSpawn(singers[1],-56552,-56245,-2008,36863,false,224000); 
    289                                 addSpawn(singers[1],-56546,-56426,-2008,28672,false,224000); 
    290                                 addSpawn(singers[1],-56570,-56473,-2008,28672,false,224000); 
    291                                 addSpawn(singers[1],-56594,-56516,-2008,28672,false,224000); 
    292                                 addSpawn(singers[1],-56580,-56203,-2008,36863,false,224000); 
    293                                 addSpawn(singers[1],-56606,-56157,-2008,36863,false,224000); 
    294                                 startQuestTimer("7",215000, npc, null); 
     388                                addSpawn(singers[0], -56344, -56328, -2008, 32768, false, 224000); 
     389                                addSpawn(singers[1], -56552, -56245, -2008, 36863, false, 224000); 
     390                                addSpawn(singers[1], -56546, -56426, -2008, 28672, false, 224000); 
     391                                addSpawn(singers[1], -56570, -56473, -2008, 28672, false, 224000); 
     392                                addSpawn(singers[1], -56594, -56516, -2008, 28672, false, 224000); 
     393                                addSpawn(singers[1], -56580, -56203, -2008, 36863, false, 224000); 
     394                                addSpawn(singers[1], -56606, -56157, -2008, 36863, false, 224000); 
     395                                startQuestTimer("7", 215000, npc, null); 
    295396                        } 
    296397                        else if (event.equalsIgnoreCase("7")) 
     
    299400                                { 
    300401                                        case 32433: 
    301                                                 autoChat(npc,messages[7],1); 
    302                                                 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(-56698,-56430,-2008,32768)); 
    303                                                 startQuestTimer("8",12000, npc, null); 
     402                                                autoChat(npc, messages[7], 1); 
     403                                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56698, -56430, -2008, 32768)); 
     404                                                startQuestTimer("8", 12000, npc, null); 
    304405                                                break; 
    305406                                        default: 
    306407                                                cancelQuestTimer("social1", npc, null); 
    307                                                 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(-56594,-56064,-2008,32768)); 
     408                                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56594, -56064, -2008, 32768)); 
    308409                                                break; 
    309410                                } 
     
    311412                        else if (event.equalsIgnoreCase("10")) 
    312413                        { 
    313                                 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(-56483,-56665,-2034,32768)); 
     414                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56483, -56665, -2034, 32768)); 
    314415                                npc.broadcastPacket(new PlaySound(1, "TP05_F", 0, 0, 0, 0, 0)); 
    315                                 startQuestTimer("npc1_1",3000, addSpawn(circus[0],-56495,-56375,-2008,32768,false,101000), null); 
    316                                 startQuestTimer("npc2_1",3000, addSpawn(circus[0],-56491,-56289,-2008,32768,false,101000), null); 
    317                                 startQuestTimer("npc3_1",3000, addSpawn(circus[1],-56502,-56246,-2008,32768,false,101000), null); 
    318                                 startQuestTimer("npc4_1",3000, addSpawn(circus[1],-56496,-56429,-2008,32768,false,101000), null); 
    319                                 startQuestTimer("npc5_1",3500, addSpawn(circus[2],-56505,-56334,-2008,32768,false,101000), null); 
    320                                 startQuestTimer("npc6_1",4000, addSpawn(circus[3],-56545,-56427,-2008,32768,false,101000), null); 
    321                                 startQuestTimer("npc7_1",4000, addSpawn(circus[3],-56552,-56248,-2008,32768,false,101000), null); 
    322                                 startQuestTimer("npc8_1",3000, addSpawn(circus[4],-56493,-56473,-2008,32768,false,101000), null); 
    323                                 startQuestTimer("npc9_1",3000, addSpawn(circus[4],-56504,-56201,-2008,32768,false,101000), null); 
    324                                 startQuestTimer("11",100000, npc, null); 
     416                                startQuestTimer("npc1_1", 3000, addSpawn(circus[0], -56495, -56375, -2008, 32768, false, 101000), null); 
     417                                startQuestTimer("npc2_1", 3000, addSpawn(circus[0], -56491, -56289, -2008, 32768, false, 101000), null); 
     418                                startQuestTimer("npc3_1", 3000, addSpawn(circus[1], -56502, -56246, -2008, 32768, false, 101000), null); 
     419                                startQuestTimer("npc4_1", 3000, addSpawn(circus[1], -56496, -56429, -2008, 32768, false, 101000), null); 
     420                                startQuestTimer("npc5_1", 3500, addSpawn(circus[2], -56505, -56334, -2008, 32768, false, 101000), null); 
     421                                startQuestTimer("npc6_1", 4000, addSpawn(circus[3], -56545, -56427, -2008, 32768, false, 101000), null); 
     422                                startQuestTimer("npc7_1", 4000, addSpawn(circus[3], -56552, -56248, -2008, 32768, false, 101000), null); 
     423                                startQuestTimer("npc8_1", 3000, addSpawn(circus[4], -56493, -56473, -2008, 32768, false, 101000), null); 
     424                                startQuestTimer("npc9_1", 3000, addSpawn(circus[4], -56504, -56201, -2008, 32768, false, 101000), null); 
     425                                startQuestTimer("11", 100000, npc, null); 
    325426                        } 
    326427                        else if (event.equalsIgnoreCase("11")) 
     
    329430                                { 
    330431                                        case 32433: 
    331                                                 autoChat(npc,messages[10],1); 
    332                                                 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(-56698,-56430,-2008,32768)); 
    333                                                 startQuestTimer("12",5000, npc, null); 
     432                                                autoChat(npc, messages[10], 1); 
     433                                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56698, -56430, -2008, 32768)); 
     434                                                startQuestTimer("12", 5000, npc, null); 
    334435                                                break; 
    335436                                        default: 
    336                                                 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(-56343,-56330,-2008,32768)); 
     437                                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56343, -56330, -2008, 32768)); 
    337438                                                break; 
    338439                                } 
     
    340441                        else if (event.equalsIgnoreCase("14")) 
    341442                        { 
    342                                 startQuestTimer("social1",2000, addSpawn(individuals[0],-56700,-56385,-2008,32768,false,49000), null); 
    343                                 startQuestTimer("15",7000, npc, null); 
     443                                startQuestTimer("social1", 2000, addSpawn(individuals[0], -56700, -56385, -2008, 32768, false, 49000), null); 
     444                                startQuestTimer("15", 7000, npc, null); 
    344445                        } 
    345446                        else if (event.equalsIgnoreCase("17")) 
    346447                        { 
    347                                 autoChat(npc,messages[15],1); 
    348                                 startQuestTimer("social1",2000,addSpawn(individuals[1],-56700,-56340,-2008,32768,false,32000), null); 
    349                                 startQuestTimer("18",9000, npc, null); 
     448                                autoChat(npc, messages[15], 1); 
     449                                startQuestTimer("social1", 2000, addSpawn(individuals[1], -56700, -56340, -2008, 32768, false, 32000), null); 
     450                                startQuestTimer("18", 9000, npc, null); 
    350451                        } 
    351452                        else if (event.equalsIgnoreCase("20")) 
    352453                        { 
    353                                 startQuestTimer("social1",2000, addSpawn(individuals[2],-56703,-56296,-2008,32768,false,13000), null); 
    354                                 startQuestTimer("21",8000, npc, null); 
     454                                startQuestTimer("social1", 2000, addSpawn(individuals[2], -56703, -56296, -2008, 32768, false, 13000), null); 
     455                                startQuestTimer("21", 8000, npc, null); 
    355456                        } 
    356457                        else if (event.equalsIgnoreCase("23")) 
    357458                        { 
    358                                 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new  L2CharPosition(-56702,-56340,-2008,32768)); 
    359                                 startQuestTimer("24",2800, npc, null); 
    360                                 addSpawn(showstuff[0],-56672,-56406,-2000,32768,false,20900); 
    361                                 addSpawn(showstuff[1],-56648,-56368,-2000,32768,false,20900); 
    362                                 addSpawn(showstuff[2],-56608,-56338,-2000,32768,false,20900); 
    363                                 addSpawn(showstuff[3],-56652,-56307,-2000,32768,false,20900); 
    364                                 addSpawn(showstuff[4],-56672,-56272,-2000,32768,false,20900); 
     459                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56702, -56340, -2008, 32768)); 
     460                                startQuestTimer("24", 2800, npc, null); 
     461                                addSpawn(showstuff[0], -56672, -56406, -2000, 32768, false, 20900); 
     462                                addSpawn(showstuff[1], -56648, -56368, -2000, 32768, false, 20900); 
     463                                addSpawn(showstuff[2], -56608, -56338, -2000, 32768, false, 20900); 
     464                                addSpawn(showstuff[3], -56652, -56307, -2000, 32768, false, 20900); 
     465                                addSpawn(showstuff[4], -56672, -56272, -2000, 32768, false, 20900); 
    365466                        } 
    366467                        else if (event.equalsIgnoreCase("28")) 
    367468                        { 
    368                                 autoChat(npc,messages[22],0); 
    369                                 startQuestTimer("social1",1, npc, null); 
     469                                autoChat(npc, messages[22], 0); 
     470                                startQuestTimer("social1", 1, npc, null); 
    370471                        } 
    371472                        else if (event.equalsIgnoreCase("29")) 
    372473                        { 
    373                                 npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new  L2CharPosition(-56730,-56340,-2008,32768)); 
    374                                 startQuestTimer("clean_npc",4100, npc, null); 
    375                                 startQuestTimer("timer_check",60000, null, null, true); 
     474                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(-56730, -56340, -2008, 32768)); 
     475                                startQuestTimer("clean_npc", 4100, npc, null); 
     476                                startQuestTimer("timer_check", 60000, null, null, true); 
    376477                        } 
    377478                        else if (event.equalsIgnoreCase("social1")) 
    378                                 npc.broadcastPacket(new SocialAction(npc,1)); 
     479                        { 
     480                                npc.broadcastSocialAction(1); 
     481                        } 
    379482                        else if (event.equalsIgnoreCase("clean_npc")) 
    380483                        { 
     
    386489                                if (talks.containsKey(event)) 
    387490                                { 
    388                                         NpcStringId npcString = (NpcStringId) talks.get(event)[0]; 
    389                                         String nextEvent = (String) talks.get(event)[1]; 
    390                                         int time = (Integer) talks.get(event)[2]; 
    391                                         autoChat(npc,npcString, 1); 
    392                                         startQuestTimer(nextEvent,time, npc, null); 
     491                                        final ShoutInfo si = talks.get(event); 
     492                                        if (si != null) 
     493                                        { 
     494                                                autoChat(npc, si.getNpcStringId(), 1); 
     495                                                startQuestTimer(si.getNextEvent(), si.getTime(), npc, null); 
     496                                        } 
    393497                                } 
    394498                                else if (walks.containsKey(event)) 
    395499                                { 
    396                                         int x = (Integer) walks.get(event)[0]; 
    397                                         int y = (Integer) walks.get(event)[1]; 
    398                                         int z = (Integer) walks.get(event)[2]; 
    399                                         String nextEvent = (String) walks.get(event)[3]; 
    400                                         int time = (Integer) walks.get(event)[4]; 
    401                                         npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO,new L2CharPosition(x,y,z,0)); 
    402                                         startQuestTimer(nextEvent,time, npc, null); 
     500                                        final WalkInfo wi = walks.get(event); 
     501                                        if (wi != null) 
     502                                        { 
     503                                                npc.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, wi.getCharPos()); 
     504                                                startQuestTimer(wi.getNextEvent(), wi.getTime(), npc, null); 
     505                                        } 
    403506                                } 
    404507                        } 
     
    409512        public static void main(String[] args) 
    410513        { 
    411                 // now call the constructor (starts up the ai) 
    412                 new MC_Show(-1,"MC_Show","fantasy_isle"); 
     514                new MC_Show(-1, "MC_Show", "fantasy_isle"); 
    413515        } 
    414516} 
Note: See TracChangeset for help on using the changeset viewer.