YeYeJuice 3 Report post Posted September 13, 2021 What's up yall? My chaos Argent map isn't working. The files i am using have the lua extension for CA and the ctrl.lua is including it. This is the log the server is throwing: "/resource/garner2\ctrl.lua:3: attempt to index global 'chaospk' (a nil value)" and the same for line 13. This is how ChaosArgent.lua looks like at the start: local Notice,SystemNotice = Notice,SystemNotice chaospk = chaospk or {} chaospk.conf = { mapName = 'garner2', saveSpawn = 0, canPk = 1, canTeam = 0, mapType = 3, mapCopy = 1, chaAllow = 100, canStall = 0 } chaospk.entry = { mapName = 'Chaos Argent', closeTime = 30, shutdown = 45, hoursOpen = 1, closeShow = {60,45,30,15,10,9,8,7,6,5,4,3,2,1} } chaospk.pos = { mapName = 'Icicle Castle', x = 1370, y = 532, map = 'darkblue' } chaospk.entryFee = { level = 41, gold = 20000, rep = 0, honor = 0 } Maybe the gameserver.exe is missing an integration? Quote Share this post Link to post Share on other sites
Dan 184 Report post Posted September 14, 2021 local Notice,SystemNotice = Notice,SystemNotice chaospk = chaospk or {} chaospk.conf = { mapName = 'garner2', This was something KONG made me before when I had trouble with mobs spawning random times/everywhere and opening; I was ble to use this on fc/ds/dw/ci as well. This one has some punishment with characters for relogging. print("Loading ca.lua") -- Declare a global variable (for the gameserver) storing the list -- of people currently in CA. local charactersInCA = { } -- Declare the delay in seconds before somene can re-enter after -- leaving it local CA_SUSPENSION_TIME = 120 -- Define additionnal punishments for loggers local CA_POINT_LOSSES = 5 -- Amount of CA point lost on logout local HONOR_POINT_LOSSES = 5 -- Amount of Honor point lost on logout local REPUTATION_POINT_LOSSES = 100 -- Amount of Reputation point lost on logout local Notice,SystemNotice = Notice,SystemNotice garner2 = garner2 or {} garner2.conf = { mapName = 'garner2', saveSpawn = 0, canPk = 1, canTeam = 0, mapType = 3, mapCopy = 1, chaAllow = 100, canStall = 0 } garner2.entry = { mapName = 'Chaos Argent', closeTime = 30, shutdown = 45, hoursOpen = 6, closeShow = {60,45,30,15,10,9,8,7,6,5,4,3,2,1} } garner2.pos = { mapName = 'Icicle City', x = 1371, y = 531, map = 'darkblue' } garner2.entryFee = { level = 41, gold = 0, rep = 0, honor = 0 } garner2.prize = {} -- TODO garner2.dataInit = function() garner2.data = garner2.data or {} if garner2.data['wave'] == nil then garner2.data['wave'] = {} for i = 1, 8 do garner2.data['wave'][i*5] = {num = i, active = false} end end garner2.data['cha'] = garner2.data['cha'] or {} end garner2.release = function() garner2.data = nil end garner2.pvpHook = GetExp_PKP GetExp_PKP = function(dead, atk) garner2.pvpHook(dead, atk) if GetChaMapName(dead) == garner2.conf['mapName'] and GetChaMapName(dead) == GetChaMapName(atk) then garner2.data['cha'][atk].kills = (garner2.data['cha'][atk].kills + 1) or 0 end end garner2.getchacount = function() local unique, counts = 0,0 for i,v in pairs(garner2.data['cha']) do unique = unique + 1 counts = counts + v.entry end return unique, counts end _G['get_map_entry_pos_'..garner2.conf['mapName']] = function() return garner2.pos['x'], garner2.pos['y'] end _G['after_enter_'..garner2.conf['mapName']] = function(role, map_copy) garner2.dataInit() garner2.data['cha'][role] = garner2.data['cha'][role] or {} if garner2.data['cha'][role].entry == nil then garner2.data['cha'][role].entry = 1 else garner2.data['cha'][role].entry = garner2.data['cha'][role].entry + 1 end garner2.data['cha'][role].kills = garner2.data['cha'][role].kills or 0 Notice('Player ['..GetChaDefaultName(role)..'] enters Chaos Argent'); end _G['before_leave_'..garner2.conf['mapName']] = function(role) local characterName = GetChaDefaultName(role) -- If the guy HP is not 0 then he either ticked out or relogged. -- In both case, we set up a punishment and set the date when he can enter to -- Now + X minutes. Muahhaa hp = Hp(role) sp = Sp(role) local mxhp = Mxhp(role) local mxsp = Mxsp(role) if(Hp(role) > 0 or (hp > 0 and hp > mxhp))then Notice(characterName.." Intentionally left the maze and will receive punishment") charactersInCA[characterName] = { timeToReEnter=(os.time()+CA_SUSPENSION_TIME) } if ((CA_POINT_LOSSES > 0) or (HONOR_POINT_LOSSES > 0)) then local medalOfValor = GetChaItem2 ( role , 2 , 3849 ) -- Remove CA points if needed end if (CA_POINT_LOSSES > 0) then local caPoints = GetItemAttr ( medalOfValor , ITEMATTR_MAXENERGY) local newCaPoints = math.max((caPoints - CA_POINT_LOSSES),0) SetItemAttr( medalOfValor, ITEMATTR_MAXENERGY, newCaPoints ) end -- Remove Honor points if needed if (HONOR_POINT_LOSSES > 0) then local honor = GetItemAttr ( medalOfValor , ITEMATTR_VAL_STR) local newHonor = math.max((honor - HONOR_POINT_LOSSES),0) SetItemAttr( medalOfValor, ITEMATTR_VAL_STR, newHonor ) end else Notice('Player ['..characterName..'] left Chaos Argent'); return end end _G['map_run_'..garner2.conf['mapName']] = function(map) end _G['map_copy_before_close_'..garner2.conf['mapName']] = function(map_copy) How_Many_Active = GetMapActivePlayer(map_copy) if How_Many_Active > 0 then DealAllActivePlayerInMap(map_copy, "GiveSpecItem6") end How_Many_Active = 0 Money_all = 1000000 Every_5_minute = 0 garner2.release() end _G['map_copy_run_'..garner2.conf['mapName']] = function(map_copy) local m = tonumber(os.date('%M')) local h = GetMapActivePlayer(map_copy) if garner2.data['wave'][m] ~= nil and not garner2.data['wave'][m].active then garner2.spawn(map_copy, garner2.data['wave'][m].num) garner2.data['wave'][m].active = true end SetPortalName("garner2", "Chaos Argent - Alive Players: "..GetMapActivePlayer(map_copy).."") end _G['map_copy_close_'..garner2.conf['mapName']] = function(map_copy) ClearAllSubMapCha(map_copy) end _G['can_open_entry_'..garner2.conf['mapName']] = function(map) return 1 end _G['after_destroy_entry_'..garner2.conf['mapName']] = function(entry) map_name, posx, posy, tmap_name = GetMapEntryPosInfo(entry) Notice('The portal to '..garner2.entry['mapName']..' has vanished.') end _G['after_player_login_'..garner2.conf['mapName']] = function(entry, player_name) map_name, posx, posy, tmap_name = GetMapEntryPosInfo(entry) ChaNotice(player_name, 'Portal to '..garner2.entry['mapName']..' has opened at ['..posx..','..posy..'] '..garner2.pos['mapName']) end _G['check_can_enter_'..garner2.conf['mapName']] = function(role, copy_mgr) local FightingBook_Num = 0 FightingBook_Num = CheckBagItem(role, 3849) local Team_In = IsInTeam(role) if Team_In == 1 then SystemNotice(role , "You are now in a party. Unable to enter "..garner2.entry['mapName'].."" ) return 0 end if FightingBook_Num <= 0 then SystemNotice(role , "You do not have a Medal of Valor to enter "..garner2.entry['mapName']..". Please obtain it from Arena Administrator." ) return 0 elseif FightingBook_Num > 1 then BickerNotice(role, 'You have one too many Medal of Valor. Contact administrator to enter!') return 0 end local characterName = GetChaDefaultName(role) -- Check if the character is supposed to already be in CA if (charactersInCA[characterName] ~= null) then -- Character was already in. Let's see if we have to allow him back. local timeToWait = charactersInCA[characterName].timeToReEnter - os.time() if (timeToWait > 0) then SystemNotice ( role , "Chaos Argent: <Caught relogged> Please wait "..timeToWait.." seconds before you enter again!" ) return 0 end end local role_RY = GetChaItem2(role, 2, 3849) local HonorPoint = GetItemAttr(role_RY, ITEMATTR_VAL_STR) if HonorPoint > 30000 then SystemNotice ( role , "Your honor is too high, unable to enter "..garner2.entry['mapName'].."" ) return 0 end if Lv(role) < garner2.entryFee['level'] then SystemNotice(role, "To enter "..garner2.entry['mapName']..", players need to be above level "..garner2.entryFee['level'].."!") return 0 end if HasMoney(role, garner2.entryFee['gold']) == 1 then return 1 else SystemNotice(role,"To enter "..garner2.entry['mapName']..", players must pay a FEE: "..garner2.entryFee['gold'].."g") return 0 end end _G['begin_enter_'..garner2.conf['mapName']] = function(role, copy_mgr) local characterName = GetChaDefaultName(role) -- Record the character who just entered -- When a character is entering he is allowed to re-enter right now. charactersInCA[characterName] = { timeToReEnter=os.time() } TakeMoney(role, nil, garner2.entryFee['gold']); SystemNotice(role, "Entering ["..garner2.entry['mapName'].."], collects fee: "..garner2.entryFee['gold'].."g!"); MoveCity(role, garner2.entry['mapName']); end function GiveSpecItem6(role) if How_Many_Active == 0 then Notice('There were no winners this Chaos Argent!') return end local Money_garner2 = Money_all / How_Many_Active if How_Many_Active > 5 then AddMoney(role, 0, Money_garner2) return end if How_Many_Active < 6 and How_Many_Active > 1 then local Item_CanGet = GetChaFreeBagGridNum ( role ) if Item_CanGet <= 0 then GiveItemX(role, 0, 1031, 1, 4) else GiveItem(role, 0, 1031, 1, 4) end AddMoney(role, 0, Money_garner2) return end if How_Many_Active == 1 then local Item_CanGet = GetChaFreeBagGridNum ( role ) if Item_CanGet <= 0 then GiveItemX(role, 0, 1032, 1, 4) GiveItemX(role, 0, 7414, 1, 4) GiveItemX(role, 0, 7025, 1, 4) GiveItemX(role, 0, 7146, 1, 4) else GiveItem(role, 0, 1032, 1, 4) GiveItem(role, 0, 7414, 1, 4) GiveItem(role, 0, 7025, 1, 4) GiveItem(role, 0, 7146, 1, 4) end AddMoney(role, 0, Money_garner2) Notice(garner2.entry['mapName']..' <Only Survivor> '..GetChaDefaultName(role)..'!') return end end garner2.spawn = function(map_copy, wave) Every_5_minute = tonumber(wave); local h = GetMapActivePlayer(map_copy) Notice('[CA] wave ['..Every_5_minute..'] spawned. There are '..h..' players in Chaos Argent') if Every_5_minute == 1 then -- Novice Chests local Monster2 = CreateChaEx(859, 6352, 3558, 145, 60, map_copy) local Monster3 = CreateChaEx(859, 6761, 13062, 145, 60, map_copy) local Monster4 = CreateChaEx(859, 10820, 24989, 145, 60, map_copy) local Monster5 = CreateChaEx(859, 14673, 20803, 145, 60, map_copy) local Monster6 = CreateChaEx(859, 12311, 16188, 145, 60, map_copy) local Monster7 = CreateChaEx(859, 12015, 13994, 145, 60, map_copy) local Monster8 = CreateChaEx(859, 12380, 12324, 145, 60, map_copy) local Monster9 = CreateChaEx(859, 14339, 12947, 145, 60, map_copy) local Monster10 = CreateChaEx(859, 18442, 12863, 145, 60, map_copy) local Monster11 = CreateChaEx(859, 18791, 7534, 145, 60, map_copy) local Monster12 = CreateChaEx(859, 14373, 7541, 145, 60, map_copy) local Monster13 = CreateChaEx(859, 10186, 6273, 145, 60, map_copy) local Monster14 = CreateChaEx(859, 10043, 9649, 145, 60, map_copy) local Monster15 = CreateChaEx(859, 17186, 3343, 145, 60, map_copy) SetChaLifeTime(Monster2, 299050) SetChaLifeTime(Monster3, 299100) SetChaLifeTime(Monster4, 299150) SetChaLifeTime(Monster5, 299200) SetChaLifeTime(Monster6, 299250) SetChaLifeTime(Monster7, 299300) SetChaLifeTime(Monster8, 299350) SetChaLifeTime(Monster9, 299400) SetChaLifeTime(Monster10, 299450) SetChaLifeTime(Monster11, 299500) SetChaLifeTime(Monster12, 299550) SetChaLifeTime(Monster13, 299600) SetChaLifeTime(Monster14, 299650) SetChaLifeTime(Monster15, 299700) Notice("[Chaos Argent]: Novice Chest spawned!") end if Every_5_minute == 2 then local Monster16 = CreateChaEx(860, 11339, 24276, 145, 60, map_copy) local Monster17 = CreateChaEx(860, 13812, 18439, 145, 60, map_copy) local Monster18 = CreateChaEx(860, 15189, 6218, 145, 60, map_copy) local Monster19 = CreateChaEx(860, 16393, 12239, 145, 60, map_copy) local Monster20 = CreateChaEx(860, 14895, 13905, 145, 60, map_copy) local Monster21 = CreateChaEx(860, 12824, 12767, 145, 60, map_copy) local Monster22 = CreateChaEx(860, 10154, 11890, 145, 60, map_copy) SetChaLifeTime(Monster16, 299050) SetChaLifeTime(Monster17, 299100) SetChaLifeTime(Monster18, 299150) SetChaLifeTime(Monster19, 299200) SetChaLifeTime(Monster20, 299250) SetChaLifeTime(Monster21, 299300) SetChaLifeTime(Monster22, 299350) Notice("[Chaos Argent]: Standard Chest spawned!") end if Every_5_minute == 3 then local Monster23 = CreateChaEx(861, 12167, 25665, 145, 60, map_copy) local Monster24 = CreateChaEx(861, 13564, 23189, 145, 60, map_copy) local Monster25 = CreateChaEx(861, 18274, 13329, 145, 60, map_copy) local Monster26 = CreateChaEx(861, 19167, 9778, 145, 60, map_copy) local Monster27 = CreateChaEx(861, 14915, 14352, 145, 60, map_copy) local Monster28 = CreateChaEx(861, 13881, 9818, 145, 60, map_copy) local Monster29 = CreateChaEx(861, 10854, 11740, 145, 60, map_copy) SetChaLifeTime(Monster23, 299050) SetChaLifeTime(Monster24, 299100) SetChaLifeTime(Monster25, 299150) SetChaLifeTime(Monster26, 299200) SetChaLifeTime(Monster27, 299250) SetChaLifeTime(Monster28, 299300) SetChaLifeTime(Monster29, 299350) Notice("[Chaos Argent]: Expert Chest spawned!") end if Every_5_minute == 4 then local Monster30 = CreateChaEx(875, 10785, 24073, 145, 60, map_copy) local Monster31 = CreateChaEx(872, 13477, 22976, 145, 60, map_copy) local Monster32 = CreateChaEx(868, 14639, 15668, 145, 60, map_copy) local Monster33 = CreateChaEx(872, 13318, 16448, 145, 60, map_copy) local Monster34 = CreateChaEx(879, 12347, 15640, 145, 60, map_copy) local Monster35 = CreateChaEx(872, 13948, 13970, 145, 60, map_copy) local Monster36 = CreateChaEx(875, 15914, 12813, 145, 60, map_copy) local Monster37 = CreateChaEx(868, 18943, 10871, 145, 60, map_copy) local Monster38 = CreateChaEx(868, 18963, 8391, 145, 60, map_copy) local Monster39 = CreateChaEx(868, 16101, 6381, 145, 60, map_copy) local Monster40 = CreateChaEx(879, 15389, 6087, 145, 60, map_copy) local Monster41 = CreateChaEx(879, 15126, 6725, 145, 60, map_copy) local Monster42 = CreateChaEx(875, 14694, 7473, 145, 60, map_copy) local Monster43 = CreateChaEx(875, 14046, 10079, 145, 60, map_copy) local Monster44 = CreateChaEx(872, 13561, 9940, 145, 60, map_copy) local Monster45 = CreateChaEx(879, 12202, 10924, 145, 60, map_copy) local Monster46 = CreateChaEx(875, 11824, 10620, 145, 60, map_copy) local Monster47 = CreateChaEx(875, 11026, 11515, 145, 60, map_copy) local Monster48 = CreateChaEx(868, 9987, 11359, 145, 60, map_copy) local Monster49 = CreateChaEx(868, 10050, 10309, 145, 60, map_copy) local Monster50 = CreateChaEx(868, 10009, 8176, 145, 60, map_copy) local Monster51 = CreateChaEx(868, 12256, 6305, 145, 60, map_copy) SetChaLifeTime(Monster30, 298050) SetChaLifeTime(Monster31, 298100) SetChaLifeTime(Monster32, 298150) SetChaLifeTime(Monster33, 298200) SetChaLifeTime(Monster34, 298250) SetChaLifeTime(Monster35, 298300) SetChaLifeTime(Monster36, 298350) SetChaLifeTime(Monster37, 298400) SetChaLifeTime(Monster38, 298450) SetChaLifeTime(Monster39, 298500) SetChaLifeTime(Monster40, 298550) SetChaLifeTime(Monster41, 298600) SetChaLifeTime(Monster42, 298650) SetChaLifeTime(Monster43, 298700) SetChaLifeTime(Monster44, 298750) SetChaLifeTime(Monster45, 298800) SetChaLifeTime(Monster46, 298850) SetChaLifeTime(Monster47, 298900) SetChaLifeTime(Monster48, 298950) SetChaLifeTime(Monster49, 299000) SetChaLifeTime(Monster50, 299050) SetChaLifeTime(Monster51, 299100) Notice("[Chaos Argent]: Mob 1 Wave spawned.") end if Every_5_minute == 5 then local Monster52 = CreateChaEx(869, 6383, 3326, 130, 60, map_copy) local Monster53 = CreateChaEx(880, 6760, 5283, 310, 60, map_copy) local Monster54 = CreateChaEx(876, 5985, 6834, 85, 60, map_copy) local Monster55 = CreateChaEx(876, 7022, 8707, 70, 60, map_copy) local Monster56 = CreateChaEx(869, 7976, 9655, 280, 60, map_copy) local Monster57 = CreateChaEx(869, 6933, 12327, 280, 60, map_copy) local Monster58 = CreateChaEx(880, 6095, 15473, 55, 60, map_copy) local Monster59 = CreateChaEx(880, 8774, 13019, 145, 60, map_copy) local Monster60 = CreateChaEx(876, 9894, 12745, 175, 60, map_copy) local Monster61 = CreateChaEx(869, 10279, 13445, 310, 60, map_copy) local Monster62 = CreateChaEx(869, 13154, 21932, 145, 60, map_copy) local Monster63 = CreateChaEx(873, 13979, 24290, 280, 60, map_copy) local Monster64 = CreateChaEx(869, 12066, 25739, 10, 60, map_copy) local Monster65 = CreateChaEx(880, 10475, 24473, 115, 60, map_copy) local Monster66 = CreateChaEx(876, 11915, 22670, 145, 60, map_copy) local Monster67 = CreateChaEx(873, 13946, 22903, 265, 60, map_copy) local Monster68 = CreateChaEx(880, 13144, 20195, 100, 60, map_copy) local Monster69 = CreateChaEx(873, 13908, 18644, 235, 60, map_copy) local Monster70 = CreateChaEx(869, 13055, 18537, 85, 60, map_copy) local Monster71 = CreateChaEx(873, 14496, 16124, 280, 60, map_copy) local Monster72 = CreateChaEx(880, 14689, 15746, 340, 60, map_copy) local Monster73 = CreateChaEx(869, 11936, 16302, 70, 60, map_copy) local Monster74 = CreateChaEx(873, 13456, 13442, 340, 60, map_copy) local Monster75 = CreateChaEx(869, 16310, 12095, 220, 60, map_copy) local Monster76 = CreateChaEx(873, 18525, 13386, 325, 60, map_copy) local Monster77 = CreateChaEx(880, 18688, 11302, 175, 60, map_copy) local Monster78 = CreateChaEx(876, 19509, 10124, 160, 60, map_copy) local Monster79 = CreateChaEx(873, 19458, 9739, 205, 60, map_copy) local Monster80 = CreateChaEx(869, 18724, 7861, 175, 60, map_copy) local Monster81 = CreateChaEx(876, 17617, 5696, 175, 60, map_copy) local Monster82 = CreateChaEx(873, 17042, 6149, 145, 60, map_copy) local Monster83 = CreateChaEx(869, 16166, 6177, 190, 60, map_copy) local Monster84 = CreateChaEx(879, 19034, 3793, 145, 60, map_copy) local Monster85 = CreateChaEx(876, 16762, 3079, 145, 60, map_copy) local Monster86 = CreateChaEx(880, 15763, 3315, 145, 60, map_copy) local Monster87 = CreateChaEx(873, 15786, 3892, 145, 60, map_copy) local Monster88 = CreateChaEx(869, 14734, 4920, 145, 60, map_copy) local Monster89 = CreateChaEx(873, 12945, 6454, 145, 60, map_copy) local Monster90 = CreateChaEx(880, 12909, 6129, 145, 60, map_copy) local Monster91 = CreateChaEx(876, 11697, 6337, 145, 60, map_copy) local Monster92 = CreateChaEx(873, 11130, 6266, 145, 60, map_copy) local Monster93 = CreateChaEx(876, 10087, 6876, 145, 60, map_copy) SetChaLifeTime(Monster52, 297050) SetChaLifeTime(Monster53, 297100) SetChaLifeTime(Monster54, 297150) SetChaLifeTime(Monster55, 297200) SetChaLifeTime(Monster56, 297250) SetChaLifeTime(Monster57, 297300) SetChaLifeTime(Monster58, 297350) SetChaLifeTime(Monster59, 297400) SetChaLifeTime(Monster60, 297450) SetChaLifeTime(Monster61, 297500) SetChaLifeTime(Monster62, 297550) SetChaLifeTime(Monster63, 297600) SetChaLifeTime(Monster64, 297650) SetChaLifeTime(Monster65, 297700) SetChaLifeTime(Monster66, 297750) SetChaLifeTime(Monster67, 297800) SetChaLifeTime(Monster68, 297850) SetChaLifeTime(Monster69, 297900) SetChaLifeTime(Monster70, 297950) SetChaLifeTime(Monster71, 298000) SetChaLifeTime(Monster72, 298050) SetChaLifeTime(Monster73, 298100) SetChaLifeTime(Monster74, 298150) SetChaLifeTime(Monster75, 298200) SetChaLifeTime(Monster76, 298250) SetChaLifeTime(Monster77, 298300) SetChaLifeTime(Monster78, 298350) SetChaLifeTime(Monster79, 298400) SetChaLifeTime(Monster80, 298450) SetChaLifeTime(Monster81, 298500) SetChaLifeTime(Monster82, 298550) SetChaLifeTime(Monster83, 298600) SetChaLifeTime(Monster84, 298650) SetChaLifeTime(Monster85, 298700) SetChaLifeTime(Monster86, 298750) SetChaLifeTime(Monster87, 298800) SetChaLifeTime(Monster88, 298850) SetChaLifeTime(Monster89, 298900) SetChaLifeTime(Monster90, 298950) SetChaLifeTime(Monster91, 299000) SetChaLifeTime(Monster92, 299050) SetChaLifeTime(Monster93, 299100) Notice("[Chaos Argent]: Mob Wave 2 spawned!") end if Every_5_minute == 6 then local Monster94 = CreateChaEx(870, 8103, 15758, 145, 60, map_copy) local Monster95 = CreateChaEx(871, 6366, 16072, 145, 60, map_copy) local Monster96 = CreateChaEx(877, 6158, 14021, 145, 60, map_copy) local Monster97 = CreateChaEx(878, 6462, 13205, 145, 60, map_copy) local Monster98 = CreateChaEx(874, 18456, 3689, 145, 60, map_copy) local Monster99 = CreateChaEx(881, 17992, 3613, 145, 60, map_copy) local Monster100 = CreateChaEx(871, 15235, 3295, 145, 60, map_copy) local Monster101 = CreateChaEx(874, 11944, 3601, 145, 60, map_copy) local Monster102 = CreateChaEx(870, 12378, 3349, 145, 60, map_copy) local Monster103 = CreateChaEx(871, 11528, 2721, 145, 60, map_copy) local Monster104 = CreateChaEx(881, 9531, 2727, 145, 60, map_copy) local Monster105 = CreateChaEx(874, 8534, 3308, 145, 60, map_copy) local Monster106 = CreateChaEx(877, 7543, 3164, 145, 60, map_copy) local Monster107 = CreateChaEx(878, 6487, 3343, 145, 60, map_copy) local Monster108 = CreateChaEx(871, 7192, 4128, 145, 60, map_copy) local Monster109 = CreateChaEx(870, 6677, 4895, 145, 60, map_copy) local Monster110 = CreateChaEx(877, 6567, 5679, 145, 60, map_copy) local Monster111 = CreateChaEx(881, 6701, 6500, 145, 60, map_copy) local Monster112 = CreateChaEx(881, 6369, 6949, 145, 60, map_copy) local Monster113 = CreateChaEx(877, 6994, 8064, 145, 60, map_copy) local Monster114 = CreateChaEx(878, 6505, 8494, 145, 60, map_copy) local Monster115 = CreateChaEx(874, 6536, 8923, 145, 60, map_copy) local Monster116 = CreateChaEx(870, 6288, 10738, 145, 60, map_copy) local Monster117 = CreateChaEx(871, 5901, 12142, 145, 60, map_copy) local Monster118 = CreateChaEx(881, 13579, 25098, 145, 60, map_copy) local Monster119 = CreateChaEx(878, 12103, 25146, 145, 60, map_copy) local Monster120 = CreateChaEx(871, 12122, 24854, 145, 60, map_copy) local Monster121 = CreateChaEx(870, 11116, 24702, 145, 60, map_copy) local Monster122 = CreateChaEx(871, 10579, 24343, 145, 60, map_copy) local Monster123 = CreateChaEx(881, 10968, 23507, 145, 60, map_copy) local Monster124 = CreateChaEx(874, 13141, 22546, 145, 60, map_copy) local Monster125 = CreateChaEx(877, 13778, 22539, 145, 60, map_copy) local Monster126 = CreateChaEx(878, 13259, 21845, 145, 60, map_copy) local Monster127 = CreateChaEx(874, 14899, 20929, 145, 60, map_copy) local Monster128 = CreateChaEx(881, 14973, 20419, 145, 60, map_copy) local Monster129 = CreateChaEx(870, 13247, 19932, 145, 60, map_copy) local Monster130 = CreateChaEx(871, 13892, 19399, 145, 60, map_copy) local Monster131 = CreateChaEx(881, 13283, 17519, 145, 60, map_copy) local Monster132 = CreateChaEx(874, 18412, 20105, 145, 60, map_copy) local Monster133 = CreateChaEx(871, 22194, 18012, 145, 60, map_copy) local Monster134 = CreateChaEx(870, 21710, 17182, 145, 60, map_copy) local Monster135 = CreateChaEx(874, 20408, 17788, 145, 60, map_copy) local Monster136 = CreateChaEx(878, 20461, 17339, 145, 60, map_copy) local Monster137 = CreateChaEx(881, 19457, 17817, 145, 60, map_copy) local Monster138 = CreateChaEx(881, 16343, 15573, 145, 60, map_copy) local Monster139 = CreateChaEx(870, 14078, 15726, 145, 60, map_copy) local Monster140 = CreateChaEx(871, 12363, 15855, 145, 60, map_copy) local Monster141 = CreateChaEx(871, 11589, 13429, 145, 60, map_copy) local Monster142 = CreateChaEx(874, 11113, 13869, 145, 60, map_copy) local Monster143 = CreateChaEx(881, 10902, 14335, 145, 60, map_copy) local Monster144 = CreateChaEx(878, 9309, 12935, 145, 60, map_copy) local Monster145 = CreateChaEx(881, 12534, 11209, 145, 60, map_copy) local Monster146 = CreateChaEx(874, 12515, 13202, 145, 60, map_copy) local Monster147 = CreateChaEx(878, 14479, 14079, 145, 60, map_copy) local Monster148 = CreateChaEx(874, 16426, 11297, 145, 60, map_copy) local Monster149 = CreateChaEx(877, 16757, 12339, 145, 60, map_copy) local Monster150 = CreateChaEx(878, 17115, 12436, 145, 60, map_copy) local Monster151 = CreateChaEx(881, 18473, 12565, 145, 60, map_copy) local Monster152 = CreateChaEx(881, 20540, 11384, 145, 60, map_copy) local Monster153 = CreateChaEx(878, 20235, 10866, 145, 60, map_copy) local Monster154 = CreateChaEx(874, 20390, 9764, 145, 60, map_copy) local Monster155 = CreateChaEx(871, 19487, 9642, 145, 60, map_copy) local Monster156 = CreateChaEx(881, 19063, 7981, 145, 60, map_copy) local Monster157 = CreateChaEx(874, 18836, 7827, 145, 60, map_copy) local Monster158 = CreateChaEx(878, 19026, 6331, 145, 60, map_copy) local Monster159 = CreateChaEx(871, 18459, 5518, 145, 60, map_copy) local Monster160 = CreateChaEx(870, 17781, 6160, 145, 60, map_copy) local Monster161 = CreateChaEx(871, 15146, 5255, 145, 60, map_copy) local Monster162 = CreateChaEx(878, 15722, 6195, 145, 60, map_copy) local Monster163 = CreateChaEx(881, 15088, 6729, 145, 60, map_copy) local Monster164 = CreateChaEx(874, 15116, 7447, 145, 60, map_copy) local Monster165 = CreateChaEx(878, 12657, 8012, 145, 60, map_copy) local Monster166 = CreateChaEx(874, 11770, 6209, 145, 60, map_copy) local Monster167 = CreateChaEx(870, 10394, 6937, 145, 60, map_copy) SetChaLifeTime(Monster94, 296050) SetChaLifeTime(Monster95, 296100) SetChaLifeTime(Monster96, 296150) SetChaLifeTime(Monster97, 296200) SetChaLifeTime(Monster98, 296250) SetChaLifeTime(Monster99, 296300) SetChaLifeTime(Monster100, 296350) SetChaLifeTime(Monster101, 296400) SetChaLifeTime(Monster102, 296450) SetChaLifeTime(Monster103, 296500) SetChaLifeTime(Monster104, 296550) SetChaLifeTime(Monster105, 296600) SetChaLifeTime(Monster106, 296650) SetChaLifeTime(Monster107, 296700) SetChaLifeTime(Monster108, 296750) SetChaLifeTime(Monster109, 296800) SetChaLifeTime(Monster110, 296850) SetChaLifeTime(Monster111, 296900) SetChaLifeTime(Monster112, 296950) SetChaLifeTime(Monster113, 297000) SetChaLifeTime(Monster114, 297050) SetChaLifeTime(Monster115, 297100) SetChaLifeTime(Monster116, 297150) SetChaLifeTime(Monster117, 297200) SetChaLifeTime(Monster118, 297250) SetChaLifeTime(Monster119, 297300) SetChaLifeTime(Monster120, 297350) SetChaLifeTime(Monster121, 297400) SetChaLifeTime(Monster122, 297450) SetChaLifeTime(Monster123, 297500) SetChaLifeTime(Monster124, 297550) SetChaLifeTime(Monster125, 297600) SetChaLifeTime(Monster126, 297650) SetChaLifeTime(Monster127, 297700) SetChaLifeTime(Monster128, 297750) SetChaLifeTime(Monster129, 297800) SetChaLifeTime(Monster130, 297850) SetChaLifeTime(Monster131, 297900) SetChaLifeTime(Monster132, 297950) SetChaLifeTime(Monster133, 298000) SetChaLifeTime(Monster134, 298050) SetChaLifeTime(Monster135, 298100) SetChaLifeTime(Monster136, 298150) SetChaLifeTime(Monster137, 298200) SetChaLifeTime(Monster138, 298250) SetChaLifeTime(Monster139, 298300) SetChaLifeTime(Monster140, 298350) SetChaLifeTime(Monster141, 298400) SetChaLifeTime(Monster142, 298450) SetChaLifeTime(Monster143, 298500) SetChaLifeTime(Monster144, 298550) SetChaLifeTime(Monster145, 298600) SetChaLifeTime(Monster146, 298650) SetChaLifeTime(Monster147, 298700) SetChaLifeTime(Monster148, 298750) SetChaLifeTime(Monster149, 298800) SetChaLifeTime(Monster150, 298850) SetChaLifeTime(Monster151, 298900) SetChaLifeTime(Monster152, 298950) SetChaLifeTime(Monster153, 299000) SetChaLifeTime(Monster154, 299050) SetChaLifeTime(Monster155, 299100) SetChaLifeTime(Monster156, 299150) SetChaLifeTime(Monster157, 299200) SetChaLifeTime(Monster158, 299250) SetChaLifeTime(Monster159, 299300) SetChaLifeTime(Monster160, 299350) SetChaLifeTime(Monster161, 299400) SetChaLifeTime(Monster162, 299450) SetChaLifeTime(Monster163, 299500) SetChaLifeTime(Monster164, 299550) SetChaLifeTime(Monster165, 299600) SetChaLifeTime(Monster166, 299650) SetChaLifeTime(Monster167, 299700) Notice("[Chaos Argent]: Mob Wave 3 spawned!") end if Every_5_minute == 7 then local Monster168 = CreateChaEx(886, 12509, 4259, 145, 60, map_copy) local Monster169 = CreateChaEx(885, 5457, 4334, 145, 60, map_copy) local Monster170 = CreateChaEx(886, 5773, 6410, 145, 60, map_copy) local Monster171 = CreateChaEx(885, 6015, 7907, 145, 60, map_copy) local Monster172 = CreateChaEx(883, 5912, 9755, 145, 60, map_copy) local Monster173 = CreateChaEx(885, 5765, 11923, 145, 60, map_copy) local Monster174 = CreateChaEx(885, 5778, 16229, 100, 60, map_copy) local Monster175 = CreateChaEx(886, 12287, 23966, 235, 60, map_copy) local Monster176 = CreateChaEx(885, 12452, 16601, 10, 60, map_copy) local Monster177 = CreateChaEx(885, 8745, 16392, 70, 60, map_copy) local Monster178 = CreateChaEx(883, 10637, 17204, 340, 60, map_copy) local Monster179 = CreateChaEx(883, 13138, 18622, 145, 60, map_copy) local Monster180 = CreateChaEx(886, 13053, 20648, 145, 60, map_copy) local Monster181 = CreateChaEx(885, 11115, 22603, 145, 60, map_copy) local Monster182 = CreateChaEx(886, 9806, 23768, 145, 60, map_copy) local Monster183 = CreateChaEx(885, 10671, 24923, 355, 60, map_copy) local Monster184 = CreateChaEx(883, 12144, 25703, 340, 60, map_copy) local Monster185 = CreateChaEx(884, 13693, 25149, 325, 60, map_copy) local Monster186 = CreateChaEx(883, 14113, 24077, 220, 60, map_copy) local Monster187 = CreateChaEx(886, 14256, 22667, 235, 60, map_copy) local Monster188 = CreateChaEx(885, 13194, 22154, 160, 60, map_copy) local Monster189 = CreateChaEx(883, 13766, 20308, 145, 60, map_copy) local Monster190 = CreateChaEx(885, 14438, 21317, 115, 60, map_copy) local Monster191 = CreateChaEx(885, 15361, 20579, 220, 60, map_copy) local Monster192 = CreateChaEx(884, 13893, 19379, 250, 60, map_copy) local Monster193 = CreateChaEx(883, 12373, 19662, 145, 60, map_copy) local Monster194 = CreateChaEx(886, 14845, 17779, 235, 60, map_copy) local Monster195 = CreateChaEx(885, 12338, 17990, 145, 60, map_copy) local Monster196 = CreateChaEx(886, 13878, 17083, 145, 60, map_copy) local Monster197 = CreateChaEx(885, 17986, 16422, 145, 60, map_copy) local Monster198 = CreateChaEx(883, 18897, 18510, 220, 60, map_copy) local Monster199 = CreateChaEx(885, 18986, 20192, 235, 60, map_copy) local Monster200 = CreateChaEx(886, 17770, 21172, 145, 60, map_copy) local Monster201 = CreateChaEx(885, 17749, 20183, 145, 60, map_copy) local Monster202 = CreateChaEx(886, 17608, 17940, 145, 60, map_copy) local Monster203 = CreateChaEx(885, 17966, 16919, 145, 60, map_copy) local Monster204 = CreateChaEx(885, 15719, 16587, 355, 60, map_copy) local Monster205 = CreateChaEx(884, 13626, 15567, 145, 60, map_copy) local Monster206 = CreateChaEx(883, 12259, 15636, 145, 60, map_copy) local Monster207 = CreateChaEx(883, 10368, 15866, 145, 60, map_copy) local Monster208 = CreateChaEx(886, 10862, 14192, 145, 60, map_copy) local Monster209 = CreateChaEx(886, 12133, 14455, 145, 60, map_copy) local Monster210 = CreateChaEx(886, 11717, 11742, 145, 60, map_copy) local Monster211 = CreateChaEx(886, 14496, 13609, 145, 60, map_copy) local Monster212 = CreateChaEx(884, 15696, 15415, 145, 60, map_copy) local Monster213 = CreateChaEx(883, 17531, 15466, 175, 60, map_copy) local Monster214 = CreateChaEx(885, 19447, 19081, 25, 60, map_copy) local Monster215 = CreateChaEx(886, 21536, 18830, 85, 60, map_copy) local Monster216 = CreateChaEx(883, 22710, 19054, 340, 60, map_copy) local Monster217 = CreateChaEx(885, 24410, 19083, 295, 60, map_copy) local Monster218 = CreateChaEx(886, 24879, 17783, 265, 60, map_copy) local Monster219 = CreateChaEx(884, 24537, 16584, 145, 60, map_copy) local Monster220 = CreateChaEx(885, 23040, 16326, 145, 60, map_copy) local Monster221 = CreateChaEx(883, 21823, 16318, 145, 60, map_copy) local Monster222 = CreateChaEx(885, 21039, 17245, 205, 60, map_copy) local Monster223 = CreateChaEx(886, 19761, 16810, 220, 60, map_copy) local Monster224 = CreateChaEx(884, 19295, 17794, 130, 60, map_copy) local Monster225 = CreateChaEx(885, 19336, 16410, 265, 60, map_copy) local Monster226 = CreateChaEx(883, 19761, 15645, 235, 60, map_copy) local Monster227 = CreateChaEx(885, 20661, 12547, 145, 60, map_copy) local Monster228 = CreateChaEx(886, 20309, 14934, 265, 60, map_copy) local Monster229 = CreateChaEx(885, 20643, 13701, 175, 60, map_copy) local Monster230 = CreateChaEx(884, 19566, 13489, 145, 60, map_copy) local Monster231 = CreateChaEx(883, 19582, 12389, 145, 60, map_copy) local Monster232 = CreateChaEx(885, 17997, 12389, 145, 60, map_copy) local Monster233 = CreateChaEx(884, 16476, 12852, 145, 60, map_copy) local Monster234 = CreateChaEx(883, 14757, 12515, 145, 60, map_copy) local Monster235 = CreateChaEx(885, 13520, 11379, 145, 60, map_copy) local Monster236 = CreateChaEx(886, 12775, 11229, 145, 60, map_copy) local Monster237 = CreateChaEx(885, 13050, 9677, 235, 60, map_copy) local Monster238 = CreateChaEx(884, 10951, 10978, 145, 60, map_copy) local Monster239 = CreateChaEx(883, 10735, 9437, 145, 60, map_copy) local Monster240 = CreateChaEx(886, 12030, 13049, 145, 60, map_copy) local Monster241 = CreateChaEx(886, 11154, 13044, 145, 60, map_copy) local Monster242 = CreateChaEx(885, 9754, 13486, 145, 60, map_copy) local Monster243 = CreateChaEx(883, 8647, 13953, 145, 60, map_copy) local Monster244 = CreateChaEx(886, 8724, 12802, 145, 60, map_copy) local Monster245 = CreateChaEx(885, 9664, 12421, 145, 60, map_copy) local Monster246 = CreateChaEx(884, 9603, 11357, 145, 60, map_copy) local Monster247 = CreateChaEx(886, 9958, 10562, 145, 60, map_copy) local Monster248 = CreateChaEx(885, 8655, 10842, 145, 60, map_copy) local Monster249 = CreateChaEx(886, 8639, 9741, 145, 60, map_copy) local Monster250 = CreateChaEx(886, 8666, 5103, 145, 60, map_copy) local Monster251 = CreateChaEx(885, 8702, 6631, 145, 60, map_copy) local Monster252 = CreateChaEx(883, 8721, 8236, 145, 60, map_copy) local Monster253 = CreateChaEx(886, 10323, 9552, 145, 60, map_copy) local Monster254 = CreateChaEx(885, 9828, 8401, 145, 60, map_copy) local Monster255 = CreateChaEx(884, 9615, 7427, 145, 60, map_copy) local Monster256 = CreateChaEx(883, 11009, 8562, 145, 60, map_copy) local Monster257 = CreateChaEx(886, 12226, 8433, 145, 60, map_copy) local Monster258 = CreateChaEx(884, 15415, 7607, 145, 60, map_copy) local Monster259 = CreateChaEx(883, 14380, 8470, 145, 60, map_copy) local Monster260 = CreateChaEx(885, 14279, 10057, 145, 60, map_copy) local Monster261 = CreateChaEx(883, 14500, 11200, 145, 60, map_copy) local Monster262 = CreateChaEx(886, 15774, 12103, 145, 60, map_copy) local Monster263 = CreateChaEx(883, 15897, 9088, 145, 60, map_copy) local Monster264 = CreateChaEx(886, 15927, 9926, 145, 60, map_copy) local Monster265 = CreateChaEx(885, 15870, 11318, 145, 60, map_copy) local Monster266 = CreateChaEx(884, 16705, 11009, 145, 60, map_copy) local Monster267 = CreateChaEx(886, 16991, 10282, 145, 60, map_copy) local Monster268 = CreateChaEx(885, 16776, 9390, 100, 60, map_copy) local Monster269 = CreateChaEx(884, 16228, 8008, 145, 60, map_copy) local Monster270 = CreateChaEx(885, 17340, 5441, 145, 60, map_copy) local Monster271 = CreateChaEx(886, 16977, 6826, 250, 60, map_copy) local Monster272 = CreateChaEx(885, 17895, 7596, 145, 60, map_copy) local Monster273 = CreateChaEx(883, 18350, 9107, 145, 60, map_copy) local Monster274 = CreateChaEx(885, 17184, 12038, 145, 60, map_copy) local Monster275 = CreateChaEx(884, 17675, 13625, 280, 60, map_copy) local Monster276 = CreateChaEx(883, 17292, 14462, 355, 60, map_copy) local Monster277 = CreateChaEx(885, 18674, 13972, 250, 60, map_copy) local Monster278 = CreateChaEx(886, 18726, 13152, 235, 60, map_copy) local Monster279 = CreateChaEx(884, 19140, 11976, 235, 60, map_copy) local Monster280 = CreateChaEx(885, 19373, 10749, 205, 60, map_copy) local Monster281 = CreateChaEx(883, 19756, 9173, 250, 60, map_copy) local Monster282 = CreateChaEx(884, 20326, 10478, 250, 60, map_copy) local Monster283 = CreateChaEx(885, 21174, 11534, 280, 60, map_copy) local Monster284 = CreateChaEx(883, 21691, 10492, 220, 60, map_copy) local Monster285 = CreateChaEx(886, 8797, 15531, 145, 60, map_copy) local Monster286 = CreateChaEx(886, 20759, 8953, 235, 60, map_copy) local Monster287 = CreateChaEx(886, 19452, 7657, 220, 60, map_copy) local Monster288 = CreateChaEx(884, 19486, 6799, 220, 60, map_copy) local Monster289 = CreateChaEx(885, 20496, 7737, 145, 60, map_copy) local Monster290 = CreateChaEx(886, 20700, 6806, 145, 60, map_copy) local Monster291 = CreateChaEx(885, 20642, 5653, 220, 60, map_copy) local Monster292 = CreateChaEx(883, 19568, 5521, 220, 60, map_copy) local Monster293 = CreateChaEx(883, 18070, 5694, 145, 60, map_copy) local Monster294 = CreateChaEx(885, 15987, 6943, 145, 60, map_copy) local Monster295 = CreateChaEx(886, 14332, 7074, 145, 60, map_copy) local Monster296 = CreateChaEx(884, 13255, 6892, 145, 60, map_copy) local Monster297 = CreateChaEx(885, 11828, 7155, 145, 60, map_copy) local Monster298 = CreateChaEx(886, 10361, 6896, 175, 60, map_copy) local Monster299 = CreateChaEx(884, 9856, 6512, 145, 60, map_copy) local Monster300 = CreateChaEx(883, 10510, 5556, 145, 60, map_copy) local Monster301 = CreateChaEx(886, 11501, 6188, 145, 60, map_copy) local Monster302 = CreateChaEx(885, 12417, 5925, 175, 60, map_copy) local Monster303 = CreateChaEx(886, 14962, 6289, 145, 60, map_copy) local Monster304 = CreateChaEx(884, 14056, 6124, 145, 60, map_copy) local Monster305 = CreateChaEx(885, 15776, 5999, 190, 60, map_copy) local Monster306 = CreateChaEx(883, 14497, 4230, 115, 60, map_copy) local Monster307 = CreateChaEx(883, 17683, 4209, 250, 60, map_copy) local Monster308 = CreateChaEx(886, 19524, 4054, 220, 60, map_copy) local Monster309 = CreateChaEx(883, 19698, 3217, 160, 60, map_copy) local Monster310 = CreateChaEx(886, 19010, 3462, 145, 60, map_copy) local Monster311 = CreateChaEx(885, 17617, 3373, 145, 60, map_copy) local Monster312 = CreateChaEx(884, 16722, 2757, 145, 60, map_copy) local Monster313 = CreateChaEx(883, 15852, 3275, 145, 60, map_copy) local Monster314 = CreateChaEx(886, 15111, 3340, 145, 60, map_copy) local Monster315 = CreateChaEx(885, 14381, 2672, 145, 60, map_copy) local Monster316 = CreateChaEx(884, 13548, 3291, 145, 60, map_copy) local Monster317 = CreateChaEx(886, 12330, 2930, 145, 60, map_copy) local Monster318 = CreateChaEx(885, 11616, 3663, 145, 60, map_copy) local Monster319 = CreateChaEx(884, 10642, 2901, 145, 60, map_copy) local Monster320 = CreateChaEx(883, 10180, 4087, 145, 60, map_copy) local Monster321 = CreateChaEx(886, 9541, 3296, 145, 60, map_copy) local Monster322 = CreateChaEx(885, 9087, 3095, 145, 60, map_copy) local Monster323 = CreateChaEx(886, 8476, 3854, 145, 60, map_copy) local Monster324 = CreateChaEx(884, 7821, 3114, 145, 60, map_copy) local Monster325 = CreateChaEx(883, 6536, 4350, 145, 60, map_copy) local Monster326 = CreateChaEx(884, 7257, 5414, 115, 60, map_copy) local Monster327 = CreateChaEx(885, 7122, 7119, 145, 60, map_copy) local Monster328 = CreateChaEx(886, 7189, 8852, 145, 60, map_copy) local Monster329 = CreateChaEx(885, 7165, 11359, 145, 60, map_copy) local Monster330 = CreateChaEx(884, 7175, 13327, 100, 60, map_copy) local Monster331 = CreateChaEx(883, 7096, 15693, 70, 60, map_copy) local Monster332 = CreateChaEx(884, 6836, 3723, 145, 60, map_copy) local Monster333 = CreateChaEx(884, 21369, 9546, 205, 60, map_copy) local Monster334 = CreateChaEx(884, 21811, 3311, 205, 60, map_copy) SetChaLifeTime(Monster168, 290050) SetChaLifeTime(Monster169, 290100) SetChaLifeTime(Monster170, 290150) SetChaLifeTime(Monster171, 290200) SetChaLifeTime(Monster172, 290250) SetChaLifeTime(Monster173, 290300) SetChaLifeTime(Monster174, 290350) SetChaLifeTime(Monster175, 290400) SetChaLifeTime(Monster176, 290450) SetChaLifeTime(Monster177, 290500) SetChaLifeTime(Monster178, 290550) SetChaLifeTime(Monster179, 290600) SetChaLifeTime(Monster180, 290650) SetChaLifeTime(Monster181, 290700) SetChaLifeTime(Monster182, 290750) SetChaLifeTime(Monster183, 290800) SetChaLifeTime(Monster184, 290850) SetChaLifeTime(Monster185, 290900) SetChaLifeTime(Monster186, 290950) SetChaLifeTime(Monster187, 291000) SetChaLifeTime(Monster188, 291050) SetChaLifeTime(Monster189, 291100) SetChaLifeTime(Monster190, 291150) SetChaLifeTime(Monster191, 291200) SetChaLifeTime(Monster192, 291250) SetChaLifeTime(Monster193, 291300) SetChaLifeTime(Monster194, 291350) SetChaLifeTime(Monster195, 291400) SetChaLifeTime(Monster196, 291450) SetChaLifeTime(Monster197, 291500) SetChaLifeTime(Monster198, 291550) SetChaLifeTime(Monster199, 291600) SetChaLifeTime(Monster200, 291650) SetChaLifeTime(Monster201, 291700) SetChaLifeTime(Monster202, 291750) SetChaLifeTime(Monster203, 291800) SetChaLifeTime(Monster204, 291850) SetChaLifeTime(Monster205, 291900) SetChaLifeTime(Monster206, 291950) SetChaLifeTime(Monster207, 292000) SetChaLifeTime(Monster208, 292050) SetChaLifeTime(Monster209, 292100) SetChaLifeTime(Monster210, 292150) SetChaLifeTime(Monster211, 292200) SetChaLifeTime(Monster212, 292250) SetChaLifeTime(Monster213, 292300) SetChaLifeTime(Monster214, 292350) SetChaLifeTime(Monster215, 292400) SetChaLifeTime(Monster216, 292450) SetChaLifeTime(Monster217, 292500) SetChaLifeTime(Monster218, 292550) SetChaLifeTime(Monster219, 292600) SetChaLifeTime(Monster220, 292650) SetChaLifeTime(Monster221, 292700) SetChaLifeTime(Monster222, 292750) SetChaLifeTime(Monster223, 292800) SetChaLifeTime(Monster224, 292850) SetChaLifeTime(Monster225, 292900) SetChaLifeTime(Monster226, 292950) SetChaLifeTime(Monster227, 293000) SetChaLifeTime(Monster228, 293050) SetChaLifeTime(Monster229, 293100) SetChaLifeTime(Monster230, 293150) SetChaLifeTime(Monster231, 293200) SetChaLifeTime(Monster232, 293250) SetChaLifeTime(Monster233, 293300) SetChaLifeTime(Monster234, 293350) SetChaLifeTime(Monster235, 293400) SetChaLifeTime(Monster236, 293450) SetChaLifeTime(Monster237, 293500) SetChaLifeTime(Monster238, 293550) SetChaLifeTime(Monster239, 293600) SetChaLifeTime(Monster240, 293650) SetChaLifeTime(Monster241, 293700) SetChaLifeTime(Monster242, 293750) SetChaLifeTime(Monster243, 293800) SetChaLifeTime(Monster244, 293850) SetChaLifeTime(Monster245, 293900) SetChaLifeTime(Monster246, 293950) SetChaLifeTime(Monster247, 294000) SetChaLifeTime(Monster248, 294050) SetChaLifeTime(Monster249, 294100) SetChaLifeTime(Monster250, 294150) SetChaLifeTime(Monster251, 294200) SetChaLifeTime(Monster252, 294250) SetChaLifeTime(Monster253, 294300) SetChaLifeTime(Monster254, 294350) SetChaLifeTime(Monster255, 294400) SetChaLifeTime(Monster256, 294450) SetChaLifeTime(Monster257, 294500) SetChaLifeTime(Monster258, 294550) SetChaLifeTime(Monster259, 294600) SetChaLifeTime(Monster260, 294650) SetChaLifeTime(Monster261, 294700) SetChaLifeTime(Monster262, 294750) SetChaLifeTime(Monster263, 294800) SetChaLifeTime(Monster264, 294850) SetChaLifeTime(Monster265, 294900) SetChaLifeTime(Monster266, 294950) SetChaLifeTime(Monster267, 295000) SetChaLifeTime(Monster268, 295050) SetChaLifeTime(Monster269, 295100) SetChaLifeTime(Monster270, 295150) SetChaLifeTime(Monster271, 295200) SetChaLifeTime(Monster272, 295250) SetChaLifeTime(Monster273, 295300) SetChaLifeTime(Monster274, 295350) SetChaLifeTime(Monster275, 295400) SetChaLifeTime(Monster276, 295450) SetChaLifeTime(Monster277, 295500) SetChaLifeTime(Monster278, 295550) SetChaLifeTime(Monster279, 295600) SetChaLifeTime(Monster280, 295650) SetChaLifeTime(Monster281, 295700) SetChaLifeTime(Monster282, 295750) SetChaLifeTime(Monster283, 295800) SetChaLifeTime(Monster284, 295850) SetChaLifeTime(Monster285, 295900) SetChaLifeTime(Monster286, 295950) SetChaLifeTime(Monster287, 296000) SetChaLifeTime(Monster288, 296050) SetChaLifeTime(Monster289, 296100) SetChaLifeTime(Monster290, 296150) SetChaLifeTime(Monster291, 296200) SetChaLifeTime(Monster292, 296250) SetChaLifeTime(Monster293, 296300) SetChaLifeTime(Monster294, 296350) SetChaLifeTime(Monster295, 296400) SetChaLifeTime(Monster296, 296450) SetChaLifeTime(Monster297, 296500) SetChaLifeTime(Monster298, 296550) SetChaLifeTime(Monster299, 296600) SetChaLifeTime(Monster300, 296650) SetChaLifeTime(Monster301, 296700) SetChaLifeTime(Monster302, 296750) SetChaLifeTime(Monster303, 296800) SetChaLifeTime(Monster304, 296850) SetChaLifeTime(Monster305, 296900) SetChaLifeTime(Monster306, 296950) SetChaLifeTime(Monster307, 297000) SetChaLifeTime(Monster308, 297050) SetChaLifeTime(Monster309, 297100) SetChaLifeTime(Monster310, 297150) SetChaLifeTime(Monster311, 297200) SetChaLifeTime(Monster312, 297250) SetChaLifeTime(Monster313, 297300) SetChaLifeTime(Monster314, 297350) SetChaLifeTime(Monster315, 297400) SetChaLifeTime(Monster316, 297450) SetChaLifeTime(Monster317, 297500) SetChaLifeTime(Monster318, 297550) SetChaLifeTime(Monster319, 297600) SetChaLifeTime(Monster320, 297650) SetChaLifeTime(Monster321, 297700) SetChaLifeTime(Monster322, 297750) SetChaLifeTime(Monster323, 297800) SetChaLifeTime(Monster324, 297850) SetChaLifeTime(Monster325, 297900) SetChaLifeTime(Monster326, 297950) SetChaLifeTime(Monster327, 298000) SetChaLifeTime(Monster328, 298050) SetChaLifeTime(Monster329, 298100) SetChaLifeTime(Monster330, 298150) SetChaLifeTime(Monster331, 298200) SetChaLifeTime(Monster332, 298250) SetChaLifeTime(Monster333, 298300) SetChaLifeTime(Monster334, 298350) Notice("[Chaos Argent]: Black Dragon Mobs spawned!") end end Quote Share this post Link to post Share on other sites
YeYeJuice 3 Report post Posted September 14, 2021 (edited) @TenseiCA didn't open with that script neither and the lua error log is still appearing Edited September 14, 2021 by YeYeJuice Quote Share this post Link to post Share on other sites
JaR 7 Report post Posted September 14, 2021 @YeYeJuice open lua/map/index.lua, make sure you add ChaosArgent.lua Quote Share this post Link to post Share on other sites
YeYeJuice 3 Report post Posted September 14, 2021 20 minutes ago, JaR said: @YeYeJuice open lua/map/index.lua, make sure you add ChaosArgent.lua Hi @JaR I had that already but it would still fail. Quote Share this post Link to post Share on other sites
JaR 7 Report post Posted September 14, 2021 1 hour ago, YeYeJuice said: @TenseiCA didn't open with that script neither and the lua error log is still appearing if you use @Tensei script, you have to change chaospk to garner2 in ctrl.lua and entry.lua Quote Share this post Link to post Share on other sites
YeYeJuice 3 Report post Posted September 14, 2021 44 minutes ago, JaR said: if you use @Tensei script, you have to change chaospk to garner2 in ctrl.lua and entry.lua Yep, i changed that also but it didn't work Quote Share this post Link to post Share on other sites
champ 146 Report post Posted September 14, 2021 6 hours ago, Tensei said: .... This was something KONG made me before when I had trouble with mobs spawning random times/everywhere and opening; I was ble to use this on fc/ds/dw/ci as well. This one has some punishment with characters for relogging. I was literally about to say that it really looks like Kong's code The problem comes from ctrl.lua though and means that either a global variable called chaospk has been declared after it was used somewhere or it was not declared at all. Quote Share this post Link to post Share on other sites
YeYeJuice 3 Report post Posted September 14, 2021 6 hours ago, patrick13 said: I was literally about to say that it really looks like Kong's code The problem comes from ctrl.lua though and means that either a global variable called chaospk has been declared after it was used somewhere or it was not declared at all. Hi, there isn't any other repeated chaospk global variable. Should i add it in variable.lua? Quote Share this post Link to post Share on other sites