content
stringlengths
5
1.05M
object_building_kashyyyk_mun_kash_sign_post_attachment_primitive = object_building_kashyyyk_shared_mun_kash_sign_post_attachment_primitive:new { } ObjectTemplates:addTemplate(object_building_kashyyyk_mun_kash_sign_post_attachment_primitive, "object/building/kashyyyk/mun_kash_sign_post_attachment_primitive.iff")
local run = function() local Opco = "local A = Inst[1];\nlocal B = Inst[2];\nlocal Stk = Stack;\nlocal Args, Results;\nlocal Limit;\nlocal Rets = 0;\nArgs = {};\nif (B ~= 1) then\nif (B ~= 0) then\nLimit = A + B - 1;\nelse\nLimit = Top;\nend;\nfor Idx = A + 1, Limit do\nArgs[#Args + 1] = Stk[Idx];\nend;\nResults = {Stk[A](unpack(Args, 1, Limit - A))};\nelse\nResults = {Stk[A]()};\nend;\nfor Index in pairs(Results) do\nif (Index > Rets) then\nRets = Index;\nend;\nend;\nreturn Results, Rets;" return Opco; end; return run;
--[[ Copyright (c) 2016-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. ]]-- local tnt = require 'torchnet.env' local argcheck = require 'argcheck' local doc = require 'argcheck.doc' doc[[ ### tnt.Dataset() *torchnet* provides a variety of data containers, which can be easily plugged between each others, allowing the user to easily concat, split, batch, resample etc... datasets. A instance `dataset` of a `tnt.Dataset()` implements two main methods: * `dataset:size()` which returns the size of the dataset. * `dataset:get(idx)` where `idx` is a number between 1 and the dataset size. While it is easy to iterate over a dataset with a for loop, several `DatasetIterator` iterators are nevertheless provided, allowing the user to filter out some samples in an on-the-fly manner, or to parallelize easily data fetching. In *torchnet*, a sample returned by `dataset:get()` is supposed to be a Lua `table`. Fields of the table can be arbitrary, even though many datasets will only work with torch tensors. ]] local Dataset = torch.class('tnt.Dataset', tnt) Dataset.__init = function() end -- returns a number Dataset.size = function(self) error(string.format( 'size not implemented for class <%s>', torch.type(self))) end -- execute a function Dataset.exec = function(self, name, ...) if type(self[name]) == 'function' then return self[name](self, ...) elseif self.dataset then return self.dataset:exec(name, ...) elseif self.__dataset then return self.__dataset:exec(name, ...) else error(string.format('unknown function <%s>', name)) end end -- returns a table of tensors Dataset.get = function(self) error(string.format( 'get not implemented for class <%s>', torch.type(self))) end
--- --- Created by Xerxes. --- DateTime: 10/28/2020 5:48 AM --- function deepcopy(orig) local orig_type = type(orig) local copy if orig_type == 'table' then copy = {} for orig_key, orig_value in next, orig, nil do copy[deepcopy(orig_key)] = deepcopy(orig_value) end setmetatable(copy, deepcopy(getmetatable(orig))) else -- number, string, boolean, etc copy = orig end return copy end function EvaluateTablePropability(tbl) local newTbl = deepcopy(tbl) local value = 100.0 for i,k in ipairs(newTbl) do k.probability = value - k.probability value = k.probability end return newTbl end -- decimal is the amount of decimal places function GetRandomWeightedItem(tbl, decimal) if not decimal then decimal = 1 end local toVal = 100 local decVal = 1 for i = 1, decimal, 1 do toVal = toVal * 10 decVal = decVal * 10 end local RandomNum = math.random(1, toVal) RandomNum = RandomNum/decVal local val for i,k in ipairs(tbl) do if RandomNum >= k.probability then val = k break end end if val and val.name then return val.name else print('ERROR: Got nil!') return tbl[#tbl].name end end -- Example -- Tables used need a name and a probability value -- probability is % dont convert your self, example if you want 33.3 % just put 33.3 -- needs to add up to 100% -- start with lowest --> highest -- table indexs must be numerical and counting up, dont skip number, uses ipairs local BloodTypes = { [1] = { ['name'] = 'AB-', ['probability'] = 0.6 }, -- 0.6% [2] = { ['name'] = 'B-', ['probability'] = 1.5 }, -- 1.5% [3] = { ['name'] = 'AB+', ['probability'] = 3.4 }, -- 3.4% [4] = { ['name'] = 'A-', ['probability'] = 6.3 }, -- 6.3% [5] = { ['name'] = 'O-', ['probability'] = 6.6 }, -- 6.6% [6] = { ['name'] = 'B+', ['probability'] = 8.5 }, -- 8.5 % [7] = { ['name'] = 'A+', ['probability'] = 35.7 }, -- 35.7% [8] = { ['name'] = 'O+', ['probability'] = 37.4 }, -- 37.4% } local count = { ['AB-'] = 0, ['B-'] = 0, ['AB+'] = 0, ['A-'] = 0, ['O-'] = 0, ['B+'] = 0, ['A+'] = 0, ['O+'] = 0, } -- to call from other scripts use -- local EvaluatedTable = exports['RandomWeight']:EvaluateTablePropability(BloodTypes) -- local res = exports['RandomWeight']:GetRandomWeightedItem(EvaluatedTable, 1) -- Formats the probability - NEEDED to work, does not overwrite original table -- dont call this in a loop its irrelivent to do it and will cause lag local EvaluatedTable = EvaluateTablePropability(BloodTypes) for i=1, 1000, 1 do local res = GetRandomWeightedItem(EvaluatedTable, 1) if count[res] then count[res] = count[res] + 1 end end for i,k in pairs(count) do print(i, k) end -- GetRandomWeightedItem(EvaluatedTable, 1) -- when calling second parm is the amount of decimal places -- not needed but it is fine, ex. prob = 10.12 then decimal = 2 -- works so ya cool
local obj = {} obj.__index = obj -- Metadata obj.name = "jira-issues" obj.version = "1.2" obj.author = "Pavel Makhov" obj.homepage = "https://github.com/fork-my-spoons/jira-issues.spoon" obj.license = "MIT - https://opensource.org/licenses/MIT" obj.indicator = nil obj.timer = nil obj.jira_host = nil obj.jql = 'assignee=currentuser() AND resolution=Unresolved' obj.jira_menu = {} obj.icon_type = nil obj.iconPath = hs.spoons.resourcePath("icons") local auth_header local function show_warning(status, body) hs.notify.new(function() end, { autoWithdraw = false, title = 'Jira Spoon', informativeText = string.format('Received status: %s\nbody:%s', status, string.sub(body, 1, 400)) }):send() end local user_icon = hs.styledtext.new(' ', { font = {name = 'feather', size = 12 }, color = {hex = '#8e8e8e'}}) local ticket_icon = hs.styledtext.new(' ', { font = {name = 'feather', size = 12 }, color = {hex = '#8e8e8e'}}) local function styledText(text) return hs.styledtext.new(text, {color = {hex = '#8e8e8e'}}) end local function updateMenu() local jira_url = obj.jira_host .. '/rest/api/2/search?jql=' .. hs.http.encodeForQuery(obj.jql) .. '&fields=id,assignee,summary,status' hs.http.asyncGet(jira_url, {Authorization = auth_header}, function(status, body) obj.jira_menu = {} if status ~=200 then show_warning(status, body) return end local issues = hs.json.decode(body).issues obj.indicator:setTitle(#issues) table.sort(issues, function(left, right) return left.fields.status.name < right.fields.status.name end) local cur_status = '' for _, issue in ipairs(issues) do if cur_status ~= issue.fields.status.name then table.insert(obj.jira_menu, { title = '-'}) table.insert(obj.jira_menu, { title = issue.fields.status.name, disabled = true}) cur_status = issue.fields.status.name end local avatar = (issue.fields.assignee == nil) and hs.image.imageFromPath(obj.iconPath .. '/unassigned.png') or hs.image.imageFromURL(issue.fields.assignee.avatarUrls['32x32']):setSize({w=32,h=32}) local assignee_name = (issue.fields.assignee == nil) and styledText('Unassigned') or styledText(issue.fields.assignee.displayName) local transitions_url = obj.jira_host .. '/rest/api/2/issue/' .. issue.key .. '/transitions' local transitions_submenu = {} hs.http.asyncGet(transitions_url, {Authorization = auth_header}, function(status, body) if status ~= 200 then show_warning(status, body) else local transitions = hs.json.decode(body).transitions for _, transition in ipairs(transitions) do local transition_payload = string.format([[{ "transition": { "id": "%s" } }]], transition.id) local header = {Authorization = auth_header} header['content-type'] = 'application/json' table.insert(transitions_submenu, { image = hs.image.imageFromURL(transition.to.iconUrl):setSize({w=16,h=16}), title = transition.name, fn = function() hs.http.asyncPost(transitions_url, transition_payload, header, function(status, body) if status ~= 204 then show_warning(status, body) end updateMenu() end) end }) end end end) table.insert(obj.jira_menu, { image = avatar, title = hs.styledtext.new(' ' .. issue.fields.summary .. '\n') .. ticket_icon .. styledText(issue.key .. ' ') .. user_icon .. assignee_name, menu = transitions_submenu, fn = function() os.execute(string.format('open %s/browse/%s', obj.jira_host, issue.key)) end }) end table.insert(obj.jira_menu, { title = '-' }) table.insert(obj.jira_menu, { image = hs.image.imageFromName('NSTouchBarSearchTemplate'), title = 'Open filter', fn = function() os.execute(string.format('open "%s/issues/?jql=%s"', obj.jira_host, hs.http.encodeForQuery(obj.jql))) end}) table.insert(obj.jira_menu, { image = hs.image.imageFromName('NSAddTemplate'), title = 'Create issue', fn = function() os.execute(string.format('open %s/secure/CreateIssue.jspa', obj.jira_host)) end }) table.insert(obj.jira_menu, { title = '-' }) table.insert(obj.jira_menu, { image = hs.image.imageFromName('NSRefreshTemplate'), title = 'Refresh', fn = function() updateMenu() end }) table.insert(obj.jira_menu, { image = hs.image.imageFromName('NSTouchBarDownloadTemplate'), title = 'Check for updates', fn = function() obj:check_for_updates() end}) end) end function obj:check_for_updates() local release_url = 'https://api.github.com/repos/fork-my-spoons/jira-issues.spoon/releases/latest' hs.http.asyncGet(release_url, {}, function(status, body) local latest_release = hs.json.decode(body) latest = latest_release.tag_name:sub(2) if latest == obj.version then hs.notify.new(function() end, { autoWithdraw = false, title = 'Jira Issues Spoon', informativeText = "You have the latest version installed!" }):send() else hs.notify.new(function() os.execute('open ' .. latest_release.assets[1].browser_download_url) end, { title = 'Jira Issues Spoon', informativeText = "New version is available", actionButtonTitle = "Download", hasActionButton = true }):send() end end) end function obj:buildMenu() return obj.jira_menu end function obj:init() self.indicator = hs.menubar.new() self.indicator:setIcon(hs.image.imageFromPath(obj.iconPath .. '/jira-mark-gradient-blue.png'):setSize({w=16,h=16}), true) obj.indicator:setMenu(self.buildMenu) self.timer = hs.timer.new(300, updateMenu) end function obj:setup(args) self.jira_host = args.jira_host auth_header = 'Basic ' .. hs.base64.encode(string.format('%s:%s', args.login, args.api_token)) if args.jql ~= nil then obj.jql = args.jql end end function obj:start() self.timer:fire() self.timer:start() end return obj
-- Lua stuff function onCreate() -- triggered when the lua file is started -- create a lua sprite called "Majinbop" which is the tag used in the script to refer the image and it anim to makeAnimatedLuaSprite('Majinbop', 'majin FG2', -850, 550); --majing FG2 is the filename in mod/images so change it to your image (it needs to have an XML for its anims) addAnimationByPrefix('Majinbop', 'first', 'majinbopper', 24, false); --first is just the anim tag in lua it can be whatever, majinbopper is the animation name from the XML sheet objectPlayAnimation('Majinbop', 'first'); addLuaSprite('Majinbop', true); -- false = add behind characters in the BG, true = add in front characters, the characters will appear behind these sprites acting as a front layer end -- Gameplay interactions function onBeatHit() -- triggered 4 times per section if curBeat % 2 == 0 then objectPlayAnimation('Majinbop', 'first'); end end function onStepHit() -- triggered 16 times per section setProperty('Majinbop.scale.x', getProperty('Majinbop.scale.x') + 0.00); -- if you change the value it will grow in size without stopping so DO NOT edit the value (idk if removing this will break it im too lazy end function onCountdownTick(counter) -- rest of this SHOULD NOT be changed -- counter = 0 -> "Three" -- counter = 1 -> "Two" -- counter = 2 -> "One" -- counter = 3 -> "Go!" -- counter = 4 -> Nothing happens lol, tho it is triggered at the same time as onSongStart i think if counter % 2 == 0 then objectPlayAnimation('Majinbop', 'first'); end end
local Magic = require("mod.elona_sys.api.Magic") local Gui = require("api.Gui") local Rand = require("api.Rand") local Effect = require("mod.elona.api.Effect") data:add { _type = "base.damage_reaction", _id = "cut", on_damage = function(chara, power, params) -- >>>>>>>> elona122/shade2/action.hsp:1328 if p=rsResCut{ .. Gui.mes_c_visible("damage.reactive_attack.thorns", chara, "Purple") chara:damage_hp(math.clamp(params.damage / 10, 1, params.target:calc("max_hp") / 10), params.target, { element = "elona.cut", element_power = power }) -- <<<<<<<< elona122/shade2/action.hsp:1332 } .. end } data:add { _type = "base.damage_reaction", _id = "ether", on_damage = function(chara, power, params) -- >>>>>>>> elona122/shade2/action.hsp:1333 if p=rsResEther{ .. Gui.mes_c_visible("damage.reactive_attack.ether_thorns", chara, "Purple") chara:damage_hp(math.clamp(params.damage / 10, 1, params.target:calc("max_hp") / 10), params.target, { element = "elona.ether", element_power = power }) -- <<<<<<<< elona122/shade2/action.hsp:1337 } .. end } data:add { _type = "base.damage_reaction", _id = "acid", on_damage = function(chara, power, params) -- >>>>>>>> elona122/shade2/action.hsp:1338 if p=rsResAcid :if attackSkill!rsM .. if params.attack_skill ~= "elona.martial_arts" and Rand.one_in(5) then Effect.damage_item_acid(params.weapon) end -- <<<<<<<< elona122/shade2/action.hsp:1338 if p=rsResAcid :if attackSkill!rsM .. -- >>>>>>>> elona122/shade2/action.hsp:1342 if dmg>cMHP(tc)/10{ .. if params.damage > params.target:calc("max_hp") / 10 then Gui.mes_c_visible("damage.reactive_attack.acids", params.target, "Purple") Magic.cast("elona.acid_ground", { source = params.target, target = params.target, power = power }) end -- <<<<<<<< elona122/shade2/action.hsp:1349 } .. end }
local currentPath = (...):gsub('%.init$', '') .. "." local Label = require "util.Label" local ChatGado = {}; ChatGado.__index = ChatGado function ChatGado:new() local this = setmetatable({ shipPPA = love.graphics.newImage("assets/sprites/ShipPPA.png"), elapsedTime = 0, background = love.graphics.newImage("assets/textures/chat_gado.png"), buttons = {parentName = "chatGado"}, decisionStates = require(string.format("%smodels.DecisionStates", currentPath)), allMessages = {}, restart = false, labels = { Label:new(20, 90, 500, 80, "", color, "left"), Label:new(20, 180, 500, 80, "", {0.64, 0.31, 0.59}, "left"), Label:new(20, 270, 500, 80, "", color, "left"), Label:new(20, 360, 500, 80, "", {0.64, 0.31, 0.59}, "left") } }, ChatGado) local spriteSheet = gameDirector:getLibrary("Pixelurite").getSpritesheet():new("letterButton", "assets/sprites/demonWords/", nil) local spriteQuads = spriteSheet:getQuads(); this.buttonsImage = spriteSheet:getAtlas() this.buttonsQuads = { normal = spriteQuads["normal"], hover = spriteQuads["hover"], pressed = spriteQuads["pressed"], disabled = spriteQuads["disabled"] } local x, y, width, height = this.buttonsQuads["normal"]:getViewport() local originalSize = {width = width, height = height}; x, y = 20, 500 for index = 1, 3 do gameDirector:addButton(this, this.buttons, tostring(index), true, "", {140, 80, x, y}, originalSize, function(self) this:changeState(self:getName()) end, true); x = x + 160 end this.buttons.parentName = nil this:updateButtonsText() return this end function ChatGado:updateButtonsText() local count = 1; local stateOptions = {} for option, text in pairs(self.decisionStates:getOptions() or {}) do table.insert(stateOptions, option) end for _, button in pairs(self.buttons) do button:setName(stateOptions[count] or ""); count = count + 1 if button:getName() == "start" then self.restart = true; self.elapsedTime = 0; button:disableButton() elseif button:getName() == "" then button:disableButton() else button:enableButton() end end end function ChatGado:addMessage(text) if #self.allMessages >= 4 then table.remove(self.allMessages, 1) end table.insert(self.allMessages, text) end function ChatGado:changeState(stateSelected) self:addMessage("PeterPPA: " .. self.decisionStates:getOptionText(stateSelected)) self.decisionStates:chooseState(stateSelected) self:addMessage("Gabriela José Maria: " .. self.decisionStates:getText()) self:updateButtonsText() end function ChatGado:cleanMessages() for count = 1, 4 do table.remove(self.allMessages, 1) end end function ChatGado:keypressed(key, scancode, isrepeat) end function ChatGado:mousemoved(x, y, dx, dy, istouch) for _, button in pairs(self.buttons) do button:mousemoved(x, y, dx, dy, istouch) end end function ChatGado:mousepressed(x, y, button) for _, button in pairs(self.buttons) do button:mousepressed(x, y, button) end end function ChatGado:mousereleased(x, y, button) for _, button in pairs(self.buttons) do button:mousereleased(x, y, button) end end function ChatGado:update(dt) self.elapsedTime = self.elapsedTime + dt if self.elapsedTime >= 5 then self.elapsedTime = 0 if self.restart then self:cleanMessages(); self.restart = false for _, button in pairs(self.buttons) do if button:getName() ~= "" then button:enableButton() end end elseif self.decisionStates:isFinished() then sceneDirector:previousScene() end end end function ChatGado:draw() love.graphics.draw(self.background, 0, 0, r, sx, sy, ox, oy) for _, button in pairs(self.buttons) do button:draw() end local currentFont = love.graphics.getFont(); love.graphics.setFont(gameDirector:getFonts().tovariSans_small) for index, label in pairs(self.labels) do label:setText(self.allMessages[index] or ""); label:draw() end love.graphics.setFont(currentFont) love.graphics.draw(self.shipPPA, 600 , 80, nil, 0.7, 0.7, ox, oy) end return ChatGado
local rx = require("reactivex") local scheduler = rx.CooperativeScheduler.create() -- Cheer someone on using functional reactive programming local observable = rx.Observable.fromCoroutine(function() for i = 2, 8, 2 do coroutine.yield(i) end return 'who do we appreciate' end, scheduler) observable :map(function(value) return value .. '!' end) :subscribe(print) repeat scheduler:update() until scheduler:isEmpty()
--[[ A Pandoc 2 lua filter converting Pandoc native divs to amsthm style numbered environments. Author: Bryan Clair, expanding latex-div.lua by Romain Lesur, Christophe Dervieux, and Yihui Xie License: Public domain For LaTeX output, things are fairly simple since the amsthm package handles all the numbering and cross referencing. For HTML output, the numbering and cross referencing are done in this filter, and those numbers are placed into the HTML output as static values. Currently this interferes with Bookdown's ```{theorem}``` style blocks, because each of those shows up as two blocks in the output. --]] --[[ USAGE ::: example This is a fenced example div that will be numbered. ::: ::: {.example #refname data="Important Example"} This is an important example that can be referenced. ::: ::: {.theorem data="R is complete" data-latex="$\mathbb{R} is complete"} You can customize the theorem name for latex with data-latex or for html with data-html. ::: ::: {.theorem data-html="2&pi; Theorem" data-latex="$2\pi$ Theorem"} This theorem has different names depending on output. ::: ::: theorem* All classes have unnumbered * variants built-in. ::: --]] --[[ SETTINGS Only fenced divs with names appearing in the divstyle definition below will be affected by this filter. Settings include style, sequence, name, numbered. These settings only matter for HTML output. In LaTeX, this setup is handled by amsthm (or ntheorem) definitions in the preamble. Since those are currently hardcoded into bookdown, they cannot be changed by this filter. Ideally, these settings should come from the YAML for the source document, and generate the appropriate LaTeX \newtheorem commands as well. --]] divstyle = { alert = {}, assumptions = {}, definition = { style = "definition"}, example = { sequence = "definition", style = "definition"}, exercise = { style = "definition", name = "" }, proof = { numbered = false, style = "remark", name = "Proof:" }, proposition = {}, remark = { numbered = false, style = "remark" }, theorem = {}, tryit = {} } --[[ HTML GLOBALS --]] -- counters: one counter for each class of fenced block counters = {} -- labels: each labeled block's reference number is stored here labels = {} -- chapter counter and current chapter string chapter = 0 cur_chapter = "??" --[[ HTML METHODS --]] -- handle_fenced_div -- assign a number -- associate that number with the div's identifier -- insert heading text handle_fenced_div = function (div) local env = div.classes[1] -- if the div has no class, we're not interested if not env then return nil end -- check for unnumbered * variants local starred = false if env:match("*$") then starred = true env = env:sub(1, #env - 1) -- change to unstarred version end -- setup style from divstyle or ignore this div if not divstyle[env] then return nil -- divstyle[env] = {} -- use defaults end div.classes[1] = env local name = divstyle[env].name or env:gsub("^%l", string.upper) local style = divstyle[env].style or "plain" local sequence = divstyle[env].sequence or env local numbered = true -- the 'or' idiom fails for booleans if divstyle[env].numbered ~= nil then numbered = divstyle[env].numbered end if starred then numbered = false end -- calculate numbering string for this env local number = "" if numbered then -- increment counter for this numbering sequence if counters[sequence] then counters[sequence] = counters[sequence] + 1 else counters[sequence] = 1 end number = cur_chapter .. "." .. tostring(counters[sequence]) end -- set label in dictionary if there is a label local label = div.identifier if label ~= '' then if labels[label] then io.stderr:write("Duplicate fenced block label: " .. label .. "\n") end labels[label] = number end -- insert begin text before content local begintxt = string.format( '<span class="divhead-%s %s-before">%s %s</span>', style, -- css class divhead-plain, divhead-definition, divhead-remark, etc. env, -- css class env-before for customization of this env's style name, -- display name number -- display number ) table.insert( div.content, 1, pandoc.RawBlock('html', begintxt) ) local parentxt = div.attributes["data-html"] or div.attributes["data"] if parentxt then -- handle references *within* the data text -- this will only catch back-references, but has an important use case -- where a proof environment wants to refer to the theorem it's proving parentxt = refstring(parentxt) table.insert( div.content, 2, pandoc.RawBlock('html', "(" .. parentxt .. ")") ) -- remove data attribute from further processing if not div.attributes["data-html"] then div.attributes["data"] = nil else div.attributes["data-html"] = nil end end return div end -- new_chapter -- increment chapter counter (carefully) -- reset fenced div counters function new_chapter(el) -- check if this is a numbered chapter local numbered = true for i,c in ipairs(el.classes) do if c == "unnumbered" then numbered = false end end -- set the current chapter label prefix if numbered then chapter = chapter + 1 cur_chapter = tostring(chapter) else -- use first character of identifier as the chapter value cur_chapter = el.identifier:sub(1,1):upper() end -- reset all env counters counters = {} return nil end -- Called on all Block elements, dispatch as appropriate function block_dispatch(el) if el.t == "Header" and el.level == 1 then return new_chapter(el) elseif el.t == "Div" then return handle_fenced_div(el) end end -- this function takes a string and replaces all @ref(label) inside -- it with the appropriate div number and link -- returns the string. refstring = function (s) local changed repeat changed = false leading, reflabel, trailing = s:match "(.*)@ref%((.-)%)(.*)" if reflabel and labels[reflabel] then changed = true s = leading s = s ..'<a href="#' .. reflabel .. '">' s = s .. labels[reflabel] .. '</a>' s = s .. trailing end until not changed return s end fixrefs = function (elem) link = refstring(elem.text) if link ~= elem.text then return pandoc.RawInline("html", link) end return elem end --[[ LATEX METHODS --]] latex_div = function (div) local env = div.classes[1] -- if the div has no class, the object is left unchanged if not env then return nil end -- build begin text local begintxt = '\\begin{' .. env .. '}' local parentxt = div.attributes['data-latex'] or div.attributes['data'] if parentxt then --[[ -- Switching to ntheorem from amsthm solved the idiosyncratic proof environment, -- rendering this code unnecessary. if env == "proof" then -- latex proof environment optional text [parentxt] behaves differently -- from the other theorem environments. Either we coerce things here -- or we coerce things on the HTML side. I've chosen to deal with -- it here, since it's latex's inconsistency. Unfortunately, this -- is bad for i18n. parentxt = "Proof (" .. parentxt .. "):" end --]] begintxt = begintxt .. '[' .. parentxt .. ']' if not div.attributes["data-latex"] then div.attributes["data"] = nil else div.attributes["data-latex"] = nil end end local label = div.identifier if label ~= '' then begintxt = begintxt .. '\\label{' .. label .. '}' -- don't let the identifier escape to become a double label div.identifier = '' end -- insert text before and after content table.insert( div.content, 1, pandoc.RawBlock('tex', begintxt) ) table.insert( div.content, pandoc.RawBlock('tex', '\\end{' .. env .. '}') ) return div end --[[ FILTER --]] if FORMAT == "latex" or FORMAT == "beamer" then return {{ Div = latex_div }} elseif FORMAT == "gitbook" or FORMAT == "html" or FORMAT == "html4" then -- returning in this order means that the labels get resolved -- before the reference handler replaces them return {{ Block = block_dispatch } , { Str = fixrefs }} else return nil end
ClassTrainerPlusPaladinSpellIds = { -- Defense 3127, -- Holy 19977,19978,19979,19742,19850,19852,19853,19854,4987,20116,20922,20923,20924,879,5614,5615,10312,10313,10314,19750,19939,19940,19941,19942,19943,25890,25894,25918,24275,24274,24239,639,647,1026,1042,3472,10328,10329,20929,20930,2812,10318,633,2800,10310,1152,10322,10324,20772,20773,20165,20347,20348,20349,20287,20288,20289,20290,20291,20292,20293,20166,20356,20357,2878,5627,10326, -- Plate Mail 750, -- Protection 1044,1022,5599,10278,6940,20729,1038,20912,20913,20914,19746,465,10290,643,10291,1032,10292,10293,19752,498,5573,642,1020,19891,19899,19900,19888,19897,19898,25898,25895,25899,853,5588,5589,10308,20927,20928,25780,20164,19876,19895,19896, -- Retribution 19740,19834,19835,19836,19837,19838,25782,25916,20271,7294,10298,10299,10300,10301,20915,20918,20919,20920,21082,20162,20305,20306,20307,20308 };
local thd = require "remotedebug.thread" thd.channel_produce = thd.channel thd.channel_consume = thd.channel return thd
luaObject:setLeftRight(true);
for e,l in pairs({(function(l,...)_534999891e951239="This file was obfuscated using PSU Obfuscator 4.5.A | https://www.psu.dev/ & discord.gg/psu";local S=_534999891e951239 local g=l['ddD9Q08Z'];local d=l.q0TnsXw10z;local k=l[((400217565-#("857")))];local i=l["wXgWFJGq6I"];local c=l[(790596004)];local D=l[((101598979-#("fuck u dogix")))];local R=l['BuyFuGML'];local T=l["Ut0wYEA3"];local C=l[((524314323-#("skid")))];local o=l[((#{276;623;(function(...)return 908,987,252,592;end)()}+167877156))];local U=l["q4J2W"];local J=l[(78675863)];local L=l["ei8bhHVs"];local Q=l[(731290425)];local B=l[((#{465;375;452;441;(function(...)return 796;end)()}+228858368))];local E=l['jLtyC'];local H=l.Whi3W;local _=l[((547212043-#("xXD3M0NSL4y3RXx")))];local W=l[((#{575;876;245;337;(function(...)return 529,626;end)()}+862771671))];local F=l.EdDdio;local h=l[((#{(function(...)return 181,647,211,695;end)()}+703963459))];local V=l[((#{60;437;731;(function(...)return 37,145;end)()}+861933789))];local t=l[((#{436;724;744;790;}+442846426))];local j=l[((69768955-#("ffantom porces TM")))];local X=l['oRCxj'];local y=l[((#{}+87974315))];local f=l[(895142889)];local P=l[((724610784-#("funeralW")))];local q=l[((#{282;482;855;607;(function(...)return 429,385,746,880;end)()}+275454001))];local u=l[(200954486)];local G=l.Tv8pW400;local p=l[((#{949;899;437;259;(function(...)return...;end)(43)}+469361636))];local M=l.t0sIpUNU;local N=((getfenv)or(function(...)return(_ENV);end));local n,r,e=({}),(""),(N(d));local a=((e["\98\105\116"..l[W].."\50"])or(e["\98\105"..l[o]])or({}));local n=(((a)and(a[""..l[f]..l[U]..l[F]..l[u]]))or(function(l,e)local n,o=d,c;while((l>c)and(e>c))do local a,d=l%i,e%i;if a~=d then o=o+n;end;l,e,n=(l-a)/i,(e-d)/i,n*i;end;if l<e then l=e;end;while l>c do local e=l%i;if e>c then o=o+n;end;l,n=(l-e)/i,n*i;end;return(o);end));local s=(i^k);local w=(s-d);local b,O,m;local s=(r[""..l[T].."\115\117\98"]);local x=(r[""..l[f].."\121"..l[o].."\101"]);local z=(r[""..l[C].."\104\97"..l[u]]);local s=(r["\115"..l[D].."\98"]);local D=(e[""..l[o].."\111\110\117"..l[_]..l[f].."\101"..l[u]]);local Y=((e["\109\97\116\104"][""..l[B]..l[G]..l[h]..l[U].."\112"])or(function(l,e,...)return((l*i)^e);end));local Z=(e["\115"..l[h]..l[o].."\109"..l[h]..l[o]..l[t]..l[o]..l[t].."\98\108\101"]);local r=(e["\114"..l[t]..l.q4hTvdq2..l['o1o80O'].."\101"..l[o]]);local v=(e["\112\99\97"..l[B].."\108"]);local K=function(e,n,l)return l+n or e*l end;local I=(e[""..l.o1o80O.."\101"..l[B].."\101"..l[C]..l[o]]);local U=(e[""..l["o1o80O"].."\116\114"..l[E].."\110"..l[T]][""..l[_]..l[t].."\116\99"..l[p]]);local ll=(e["\112"..l[t].."\105\114"..l["o1o80O"]]);local T=(e["\109\97\116"..l[p]][""..l[g]..l[B].."\111"..l[F]..l[u]]);local r=((e["\117\110"..l[q]..l[t].."\99\107"])or(e["\116"..l[t].."\98\108"..l[h]]["\117\110\112\97"..l[C]..l[X]]));local q=(e["\116\121\112"..l[h]]);O=((a["\114"..l.o1o80O..l[p].."\105\102"..l[o]])or(function(e,l,...)if(l<c)then return(b(e,-(l)));end;return(T(e%i^k/i^l));end));b=((a["\108\115\104\105"..l[g]..l[o]])or(function(e,l,...)if(l<c)then return(O(e,-(l)));end;return((e*i^l)%i^k);end));local k=(a["\98"..l[F]..l[u]])or(function(e,l,...)return(w-m(w-e,w-l));end);m=(a["\98"..l[t]..l[y].."\100"])or(function(l,e,...)return(((l+e)-n(l,e))/i);end);local i=(a[""..l[f].."\110\111\116"])or(function(l,...)return(w-l);end);if((not(e[""..l[f]..l[E].."\116\51"..l[M]]))and(not(e[""..l[f]..l[E]..l[o]])))then a[""..l[u]..l['o1o80O']..l[p].."\105"..l[g]..l[o]]=O;a[""..l[f].."\110"..l[F]..l[o]]=i;a[""..l[B]..l['o1o80O'].."\104\105"..l[g]..l[o]]=b;a["\98\97\110\100"]=m;a[""..l[f].."\111\114"]=k;a["\98\120\111\114"]=n;end;local i="\58"..l[J].."\37"..l[G]..l[R].."\41\58";local p=(((e[""..l[o]..l[t].."\98\108\101"]["\99"..l[u].."\101"..l[t]..l[o].."\101"]))or((function(l,...)return({r({},c,l);});end)));local F=(e["\116"..l[t].."\98\108\101"][""..l[C]..l[F]..l[y].."\99"..l[t].."\116"]);local u=(e[""..l[o]..l[t]..l[f].."\108"..l[h]][""..l[E]..l[y]..l['o1o80O'].."\101"..l[u].."\116"]);local t=(e["\116"..l[t]..l[f]..l[B].."\101"]["\114"..l[h]..l[_].."\111\118"..l[h]]);e["\98"..l[E]..l[o]..l[W]..l[M]]=a;local e=((-j+(function()local n,e=c,d;(function(l)l(l(l))end)(function(l)if n>V then return l end n=n+d e=(e+P)%Q if(e%H)<L then e=(e-((924-#("perth"))))%((15964-#("i cummed so hard my step sis flew into space. anyway im at your house")))return l else return l(l(l))end return l(l(l))end)return e;end)()));local o,i=v(function(n)local l,e=n()local o,n=l(n(D),e)local e,l=l(K,c,nil,e)return D(U(l,i))-D(U(n,i))+d end,function(l)if l then return function(l)return l()end else return v,''end end) local o=(#S+(165));local a,A=({}),({});for l=c,o-d do local e=z(l);a[l]=e;A[l]=e;A[e]=l;end;local u,i=(function(n)local t,l,i=x(n,i,(3));if((t+l+i)~=((#{498;493;285;}+245)))then e=e+((113-#("usp rotacsufob")));o=o+((#{727;533;956;(function(...)return 24,31;end)()}+29));end;n=s(n,((#{439;}+4)));local e,i,t=(""),(""),({});local l=d;local function c()local e=D(s(n,l,l),(36));l+=d;local n=D(s(n,l,l+e-d),(36));l+=e;return(n);end;e=A[c()];t[d]=e;while(l<#n)do local l=c();if a[l]then i=a[l];else i=e..s(e,d,d);end;a[o]=e..s(i,d,d);t[#t+d],e,o=i,i,o+d;end;return(F(t));end)("PSU|23b21h1019191010121227927D27e141427911111021X21X27d27k1122Y22Y27O101121R21r27O27k22022027D1o1o121517279181827B27D161627921t21S27K1022g1U21Y27e27921S22f1K132792321b1I26524r28I22H21X1S28n27925b2561527922D1h2191422N1w1i27I27K27M27D1I1g1221A217297101X1Z121n1l27B121i1h1321c21g27h29q211141N1n27d1x2A51m1i1427j1X210151N1m28I2aG151M1j1527J1115142121Y1415151I1n152a12A31X213162A71013132b5161M1G162aF212172aj112BA1X2BI1m1h172Ar17162121w16172Br131221821628E27u2c027W27Y1028028c1627G27D2cD1026h26D1C27922C2121J1F1t131H1j1N1B1D1Q22T29229324v24v28n21Q23i2732572A323b1M181t22w2CY27J27l27N27I2at212210122Ar2AT21i21e142bM2Ab2aD27b1h1H1023923927u1123o23p1121j21r1827927b28d2792AM2B827923O23l1522B22g1b2e8122892ee23q1221j2181r29g2772EB2AH2eD1023O2ep2eR2ET102ay1b2eK1023W23X1122S22z1F27927G1C2Cj29q2eX2A827I2AX21z21U2aT142F01222B21S1j2792ay1f2fe1024K24g1422K2211l29G1g1g2eW2aI2fL27u2fN2FP27B2ef1521j1Y2g727A121J2FW102DV2DX2DZ27b2Ba101Q121O2gB2ey112gf2Fq2Gs2DY2f42az2B121A21928s2ge152f627D2Gw1q1v29p2De2cA2792fh122cc288182DE2791e1E27924524029P22b21c121D1924x25U2C4227215101L2Bp26624J2781022c1Z29f1b213213181926y2412a322821o1D1o21B22d2hd28u1I22o1H2C421V21D1n141L1H24X2661A27921z1y1H21321i2j81v1A1621Q22j28N25S26N25y26l2a322V161c182362ak27922h26123L28i22G1P2252FI2Ij2IL21p2jK142jm162361v2E71022821R1s1q1T1t2bg26Z2i029829A29C1l21329G2Df2A91W112B82Fh2bL1223323327T112122131127B29k29M1Z1D2Eb29S29u1227g2LG132332322aL1y131n28r1A1A1X2LW2LY2hD2as142Lt2aL2a51N1J142m02AA2a62mC2Af2EX2ak2m02M621Z21v2Ax2aq2AX2m82H11I152772ec2Mu27i2BT2ms29q2b61n2j42MW2n32j42Bh2bj2Ak277112BT21Z21T2bx2BZ12191f2c429y1321a2122Kl2M21322g22j1328D2b02B221N2F72lR191C29p2ns2Nu132AY2h31523323127C101I1k1621a2182Oe2bc2N42Cc141i1L1721C21J28727u2BT2fH27o2Bx2ay2e01H1m1723923d1c27b2O21e2oV2o62nV2ba2lr22F22F2c82Hn102Lq27U2eL28n2gW2CG26I2hd21X2171A1F22T2Hx1022d2121m1N21N2131u2aq2iN1l2Ja2212142a32pu1R1o22V2jE2e02l22l12La2a91X102b827J1I1j112oj2Ol2L42bK2aF2Qy2k22eZ23O101S1l2iH27j2by2L122o22O2c821V21U28I2HM2812792rA1021T21W29p22c21N1q1m1B2152kA2792251Y1q2bd21321J27k1r1122N2121g2ov21v21827k1b2b725n24Y2LL2q02q22Q42Q62aQ1W219191l21021Y2sa2172nK192Dl22U2hR27L2172qG2331A2kl2kn2Kp2KR2Bg23d2fL2de29I2eb2qY2A82ba2lI29N2o52ln29v2Bm2TM2dL2E12e322V2302f72e92c41x2Tg2B9132TJ29o2lM29T2tn2BB2tp2EE2E31s1A1M2El2HG2PN1122o22P2Rh27U21v21V2l32l52a828D27p2rF2uk112332302hd2tY2l52Ak2uR2Ul21T2QX2up2pL142uZ22G22h2lG2HQ151323123127D28b2L127P2172142M527z2Rj2U02HU2v727923K23P2rP2Rr2RT23L26C2sI2q12Q32Q52Q7112SO2sq25r24u2QE2t21o21N22j2Si2Ry2s01M2141y1P1j2891b1Q23d2SI2tD2DG29q2tZ2qs29L2qw2U42lO2aF2tp2ba2E2112tT2tv2hq2Tx2Wx112Tj2oK2x129V2x32u52oe2x61s1g2fi27b2uf2De2Um2Pj2VQ2pF28I28n2ev2QK2TE2uG2QN2eE2R41S1K2KL27J2pQ27P2n12x6142jZ27E2p12y12OD27i2c01v1V2lC2ph2Xt27d2Rl2452492fI2212sm2E42sV1F2SX1124W25G2gA2Sj2W42yW2jj2Jl2Jn1e2332jw2JY1823V2382hd27922826u25Y26b2QJ2jg2Ji2kF2Kh26O24F2Qj2yv2W621I2132hq1F21B2St2792sb2sD2b722p2Gm2Wu29J29z21c21f2M52aT21421B2oV161E182Vg2HH28s2P12ra2aF214192B82Ay1x310T22G2291928d161d1b23123028i2cD28b310q2872AR2ip2171w2F7310X310U2Gd311i310Z311128D31142312332OE2DE2lq311E311g2791I1R192X029Q310y311027g1i1P1b21c21D2Rh2ip2sX311h310T1N1u2Ih311l31103112311p2322Hd2gw311927C28911311v2o12vP27D1M1M121328I2en27E2oY1021Y28M27E21022s24P26K29P29929b22N26e2jD27922u1K1T121y2ib2ID1H22W23q2zI2kM26U24q23P2z421T1z1h1S131P111h21h2kO2kQ2kS1121K2IZ27923114172562612SI2Kc101b21q314A2t911256313j1021w2191Q2XN31061N24g25s2A32311c1l1S25J2d1293313028z2261r2fi314131433145314721i21M1J1v2282752xZ2wV1i29F21A21B2aL2qP2b82LH2qu21C21L2ih2tj2NQ2xg2852aQ31302Y229Q2M328R27g2Ns2m42ML2At316c2mf2Mb142f6316m2MC2Ml313021z21w132LQ316K2lU2EB2ma2mc316g31712Md1A2Lr212211316w2V82lW221222310f2m7316z2A42Mg316O1b316q31752OA2OC2oL2EX2mU316p317R15316J2au2aW2o92c017316W2L12372372LC317P2Tf112VA112UR31302YL27O310g21929P2OG16310D2M52bX2ui2UU2172182OV2Ya2Lb31882BK316G2r1112mL2C02n129R2Xj316g2TP2Ml27U2lE2vC2l831922tp316P31963176316B2Yi316D2lx28R316P316e133190122dJ3130132fs21J1321G29G21d21D27I27U2uW2Uy2l4318A2BY27p2yo2l12pk2292292Vu2402Z421U29s1831571t1Q1R1a2132182ba1t21T26v21425926h24M24b23222i23y24q2Is2792QF1O26l23U2QJ2ux1e151D17192111Z1J26G24t25f22726m2152441926623K24v2Z421v21B151P1321J1x2Be161B1a151F1q1726U23p29310171X22z22T25D26n21526r26B22x22a2A3313F1425U2552C422i1j21331761T26L2ZU27922b21o31C92J42DO2Co23325923925Z23s26B23s21226X22723428n22F1N21C22H23925V22521J26526C26r22c2302SA2sC314o2B724W23324321U26323O24122r26g21k25J24Y22j23E1y2551w25z313Y2z422s112Be1H1r1P14314C21421G1j2jz26D2472FL22D1S1821e131l2B721221F1l2Ks2182SC1t2Bt2wo171q21b24821i26523831dR21326222C23H2UD1031AH2Em31Ak31am1a21C2CM2Co2CQ2cs2CU1q21r22T1423e1p22P24A23b26v24524p2hd2RQ1V26o2412dW1023421E2191t2ak1n21q1z31BC31BE191Z2t21Y22b313e2kx22N21A2CY27d21Y1626I2IG2CK21d1T1C21K2hC31BF24O21O25626t26y26i1c21z25v26J2i831d3315n1V22F1621W22123x23g25A25K1x21h2451j1z2g021U31gs31GU1x31hy21h21l1h1t192192272Pz22C31Hg1C2191o318h1e1913182WQ1v31dY313k313m1221r1l152712D631hX315o31ir28n1825K22d31D21031bb2aq1121G21d1J1624A26m27e23k26A1y1m22M2kL21y215111Q21331Hy24h25G28N21a23222f2J42ZJ31JP2cT1Q1y31cP27931K131K326924D2t6314R314C23m26l22y22P2qJ31ir31HH2ER31aR21T23621Z2j531aQ1331AS24C315B27D21026c22y24h2f731KX1c1Z2111J2Dw1l112202102Kl31lg31lI31lk24K25T29p2381L1331IX23631KD1022x1731gt1n1624W22m313v23425y1E31A027E2281G2302c331jC1V22c1924224m2fi2sB1T1s1B1N1W21f31bd1S1626H24a27e26823z21b23531mF27d26826721P192f723421O31Gx31bd31bF31H11r22r2Kk2982uB21831MT31mV22T2MC27923831il1C26S23v2F731eN31EP31ER31Et2tA31nv1022621b2Jz25m31L927926o25r21431EO31hF31hh2in161T1431ME31G22cp2CR2Ct2Cv24t31Lv31kk31eW2JZ26O31kO31Ok1C31K5315O21Q23K1Y23r1K25Y25K24326024l25521Y22D26323l27121k24024L2B927E1w23q1J21o31em31eo1g31eq31ES314C1y2A531ET24T26128N313a23o31K827d25c31aF25x24b31iq31iS2181P31iW31iY31j01q24g25z2j028V21825421Y21q22n26C2401223X25y2692Kl2Yv31fF1l1F1D1625825u151X24N25C1524D26N22S2jQ28N21s16313827D21G2381121X2a331LG2If2Ih22029B31JQ2p42J931Ki2A32242152u125l25827p29h315t2Wz22S22231682802nN21C1f27X2C51231352Of29z21A31se2eb319n31sh1M1421c1921l27I313031so1I31Sw31Sr31Sf317I316N31SH2b131sJ31Sl2M631so2m62xS311X31t531sS31T82mC31tA2b231Sk2dH2YD2fI2of2HA31tk2mX1531SH2OH31TC2FM1531T32OH31t62eB2n71631Sh2OR31sY31T02OW2Jy31tS2oQ1731u529q2bI1n2s931sH1Q1821c2161Q27I2BX31Tf2bX2uT311x2oR31UI2bn2Bj31uM2201i31Uo31uQ31us27u31uU31tS318b1721v2V427921D21f1222E22Y21O2tI31uZ21I2h031uJ31v21731un31up23621U311x311Z21c21i2nM1o31g031BI311X312731W02c431VC312D2792CR1223922c1x2By31UG21A31vP2eB31Uk31v331v531Up23D22131vY1931w8311X31W321C21p2sI3126312831W131Ut31Bf122F731wd23922k2152bY31vh31VJ2201U2NX31uz2C131Wm31VS1W29E31v623A3138311Y31wU31xP31ww31g031Xt31V931bF319o31Wc1J31we2DZ31a72bx31a331y031WE22A21331wI31uZ316731VR31Ul31Vt31v431v631X32oF31vZ2392DG31wa27631wc1i1323921S21h2By1h31Yr23931y92p931y5318U1021d21i1731Vk31nH1Z31Vc316C31wp31wK31vQ1X215181n2Kk31sH31vz1D21P31XU31wv2OF31w731YJ1I1U1c31ZQ11192iP31U231WC2p431wF1x312s31z229J31UO21a31Xj29Q31Zh31ZJ1831xm31XR21C2151P31zp1321f31W631281K21027I31zz31wB2gr32032dZ320617316C2p32P531z01221D21H1431z821w21W31WJ31wL31ye31Wo31v61W2Z4320h31ZT31wX23521T320o31zx2bX320u1h1L14320431xC321622e21U1k21p21p321b31zf31Wn31yg31WP21C2O031wt31zQ1i31Wx2112Gm31x1321O31X531x7321S31X931xb1731wj320B31v131YF320G31V61621I3229322T31Zp322w31XX31iy2qJ321R321t31y32BR31y52UX31wC322J31y931xC21G1531Z82dV322231xK31yF31vu21C31zN3229321j31G023F223321n31YJ31wA31x631WC1K15321u322M31Xi218323H2S9322R31Up320j3229320m31zp320Q31X43230323v323x323421D323C321X321Z21p1h323w31yZ213312531YC2nR3224323J31zT31YL31yn321p31yP2GR31M731Yt31Yv171H325031Y92O931y5317H31Z531Z731vl21m21M31zb317H31zd321c31ZG31ZI31ZK31v431vz2T231ZP31Zt31w721R2g031ZU31zw323s320t3201320v2P531wG320Y2n1325a324i3220325f28i325H31Zf320d325L320h31Gs325P2nm31W7312a311X31ZV31ZX325x2Fi3211322k3262325g3209322o326b320f29e31VZ322y322b31g0326Y31W7322y31Zy2iP323u325z2h7326Q326832092xF320C325K18211211325J320E1s1S326o228211327931Vg31z622E22w21Q21J2S3325828i32641m21s2252253267311x326s3241327D320E320g326X322U2of31WX327131283273320t3276326O22m217327p327721N22631X42n131zd327C327I2Kk214214328v182m0326O22l214328n328T2Ol326u21Z21Z328Z228228326o21e21z328N326O32562aQ31Y5319I326431VL21N21n31ZB319i32692eb326u31zL31Wu325O328D31g0325Q31282a2326j325V31w9326m3202326032052HT329l2OE326431h4216216329r32AD327R321y326632ac32851831zE329u327E329W21C326e329Z322A31W72ou32A4326l3200326n320331xA3262329S328632aR3289326W31WU326Y328e328c322F328h327531x7320W1032b62oe329632B92KK327G328z21g21g327M327O32AB320z329m327R327t327V32Ai327q31Z7328021221232c32of32B832882kk328a32bc32BF32Be321n32bH321Q3203328L32bM32a8239328P2ar32AN32cA32ap328u326U2yl328Z312Y326o22Y2Kk32Bx318731z4327R23D21b32ag32c932BO32cc18328x328Z32913203329332CN32D531Z723C21A32d932cs32DB328Z3299329b329D3203329f32Dj329I2132aY31Ug32B123322z2a3320H323l1023n23o1722X25i24u27K1O314631Zr1b31v021631mv31mu31sh326k31tP27u1a1b31t331zV31V02191c1n315G31Sh1V1D31ub27I1D2fH31UF32f231v02181D1N1q1D31sh1s1e31u027u1C32f631Uf32fH31V021b1E1N1p1e31Sh1t1f32f427u1f1E31T332fW31v021A1f1N1o1f31sh121g32fJ111E1F31t332gb31v021D1g1N171g31sh2cQ32Fy31472Xn31Uf2CQ31v021C3254161h31sH2OF21c1y29F27u2qT1v1k2O131pY21721k2gQ31yR1H32gW32gY32H031V432H232H427i32h71i2wT32Hb32hD311x32Gv31Tv32GX31M732HJ29F1I32H332H52Xd315o1G2G01132Hr2gq21d21m1B31z82A732ia32ic22N1922422432HF32AQ29Q32hw32gz32h132i031ZT111j21C23H225311X161k322a171L32Iv32Ix27u31pY192r631wc1q1b3204323F32gV325i32io32Hy32h232Is32iu1I1y27I1l1K32E32a31132JP21i21o1a1K1k1I32j221C1T21927i32j732j92gR32Jb322K32je32Hg322O32Jh320G32h221o2fI1I32it21c32kh32Iy32j032kM32j61H191T1k32JA32Jc2Dz2DV32If22e32Ih32ij32iL31yD1x32jh32iQ323k31Zo2oF32KK323s32J71q2gq31NY32512dV32lG31y92F621d2iV31z821K21K32iL32JG32hI32l71221e311X32Lb2nm32iz2i332lw2oF32K132LC32KR32K731431d32Jd31YX32Jf31zf32l632hK32i02372un32lA32Iu31ZT32M032mH311x32M431W932K62GM32M832KA32MB32kC328732l532hI32kf32i031XW32kJ32iU32N232m031XW32i732Kr32Kt31wC1s32m932KX2DV32nc324N32lL32Ln32L132iK32Gv32l432Me32Hz32L832lX32mK32mQ32Kr32le31WC1v1E32LH2DV32nx324N1D1D21d21q1f32lO21k24K24U1a1Z24l23r27K28d2x62oF32Gq31YJ23O2451H21K25B23q31sa23Q32of32Oj1H32nQ2gR1U1f23922p1K32kB32Im32My32hx32Lu32m232n3322a32M032lV32mo32J332M532j832ms32OZ32ma32LR32Md32lT32mF21C32Mn32mJ32pb32j032PQ32k032Pf32NT32ph31Wc32pj31XA32p432Kd32mZ29e32h2324632Pr32482Of32m0324a32Kq32KS32KU32OY32p032ne1H32Pj32lK1B32O532o732nk32l32nR32no32H232e732pA32pg32Nv2gr32I732NZ1h32Qz31y92Fz1H32K9321332il1u21c2Eb32JH319z32iT1i23322Y2hl32h71L2qJ32Jt1K1V32I532K51h21721r32qf32e91721n1z32EH24W24X27P31Y522x32a6181V1q318I31ZM32l9326Z32AX31281721J31x4311F2o131Y522V324R31vS22722731V122G22N172hw162YZ310N2ff2ae311827h3257323531bf324Y31VC21v21W318s312w2792m02C028I2yG27D313323431dk31N426726E21V313V31PS23K31cU31Ke31g51q2692Yt28F3142314431461h315M315O23w26x314032Ty315k314831KQ2BG23631h931of25R23k25a28Z2392122qj314X314z1c31512332f3310A2Qm31Z31x315z2A8316g32uW102v22uV32UU318Y2bm318y2UR27K32992e02ya317H319b319I31sa27U27b2UZ2bk32VH318Y318x2v0318b162x61K1e31V82792fz2Qm32372y132Vc319132VE2QK2vc2LI21C21H318I310C326i2Of31sW21C32rA2l121721b32js27k32jr2EB2qP22G22G31Ce2bR27k31a92QK2pk32Vv2cg26P31VQ2Zp2101y1t1V1L31m71d21m2Yy2z021J21M31Ix31R726k23O2d72d91t315331rU31is21H2262G021x21031V531NK2191r31M71N314c21B31Rt31B52WD23n31jT32Tk24Q24C2IH314n1b21p31hY26D2vW2KW313G21c286310431E02Se1n25N24z315H32u732u032U21V23V32y227d31Og21P142C4224211171b141J2cx2f732xo32XQ1921g2131D2r723W2ps279227325E23a1B2ih313l313n21q2I32i52JG2L12Y02LR321031yy23B2tq32Zu317h32mb23932zX2P93130214217317f32D42Mf22G22K32e531Tz316431tq2nk2TX2a5330B1428928e1632sx2h82L82lR318F27h2PF2At330H31T1131v1R32Js316K319I330a330c2nx31u431XB31U62B72j42Hw32E121m32RL31Zz32RG2Hl31Zz21i322U312s2BT19312t31uY31uH2162B432242BM322432O331zD331t32bp31aJ1C328z2f6320h32w631tq2171Y316531T5315x311X31tB332727u2At32wR2rI32tG2ht2Xw21B21B28F32XY102D82dA21X31N927931nB22X31JZ31P331P51v31k731JU25I1626N21a25k24p21123822D1Z26w31bt31aG31Ai31Fy31An31aP31l026F26431K031k231k431HY26224W31iD31if2l531IH315O31ij31Il1925131q631nA31n61M22l31Lf31iS31ls31ll1123731m222831Kf2WQ2662562z431LG1w31oR31G431oU1q24U25Y21z31rO27E319z28N23021825X2kV313631oz1822131lP2Zj32UA11253334532YU25r22723o1l25426332G121A2411j32uk31p331kz31l631l131L327922a31wZ1D1R1R23q2682IH22s1B111B1z335521f31h432Yd29c24Y23s31R321331R531R71621f21S31fU31FW31Aj31Fb31FZ31G12CN31Os31G52cV21r334W314W2ae332R31b6217264313v21c1M25W2ZC31KK333R21E26m24V22v21q23P23122t26k2452WB27931OA2JZ210335u1031cW31cY111t1832Mi31nA26K26E335d27922M1U2172312C422B31HY2291c22b33792ii31IS26932y531p331HJ1331BF21922F31fU31Lg31OM31OO31Oq336t334Q31g623F32yG1022E21r1Q32jB31ix21f3330338f31hH334c22v31M22Sb31l023w31JB103389315o22v338Y32zm31j631J8246333P27933643366319Z31hh2Dc27e21S32d921u31Qq1I24z31Qa27D1g22821322v32zs315T2qu21A21L2fL32vi2aK21921932w4325S31A11131T32wZ33AD316833AH31sI32QC2L831sO21D21c1122E31Xf2Qa33aw33aY2211V21a21A33b222E2342122Fh2NN21A21k31Fu316H28R33ar32wB31Wz332e2B21s3287318J31wy31X031Ua21q2pZ2pa2Ov1H1G11322k2bA33b82261o323F31sQ33bf31St319k1333Bj31SX32hM31TT2b233bL2oF31tZ32a32of31uA33CH33BW31WC33Bz23922T1g33C233aX22e22917331Y31SQ1621433C92m432Ag31t431sX310e33BM318l311x31tz33d832Vg13330X2Gr33CQ2342Ve3131316B31z333bY33c023J1a33c231vI33AZ338521731xd22e33B433b633BD33c8319j2M433Cc33br33d933bo33DB318K33cH32e11h2qp33dE192PB31Y733C11333dx33c433C62No33e233Bh33Cb33ai33BK31X031Tb33eB31tz32Av32E133CN313033eG33bX31y133CR33CT33ek33DT33em31yX33d033D233e328R33d532WB21K2KL2nY21c33fh33e933fk2Y733F12Nl33Ei33Dj2ti31Sq21G31V833eQ28D33eQ1y2Jh33f42371633Ds31vJ334932KY33dt23721127j33DX22C121P1p33bD33D133d333fE21633D633FN33D933fl33Ci318k33gq2o233FQ2Gr33f422u1j2ba31x822e1z31vG33DT23521333Bc33FU33Fw319n327k33EQ32JY31x822x314433F731vJ32iH2fh31X833dq2Ar316b32vc2aT1v1u326831tb1X31GO33Bq33Eb31UA1g1W330y318Q2oV31Si33hw31ti31sx33Eb31TB329Y23N23k1322x1C22T27922Q22q33Ei23i2SE1631WJ21a2Oz32z12f732E833ie21n22h33iL1022u22U31Aa2vq2eA2Hu2vJ2C82rM22332UL314Y315031e11N2352Hl31sB2C8316L32WL32Wn2l1332j32ta1032O329432TR1032yz32z132z322M21132zL31J532zo2i41931oD28n31oG2142My2q031h624n2422oV21w31c22bt31gt25I339F31b624P31Ma31Mg26u23I22232z632xP31c932z932zb2r7333429325b2sH2ck2iK314o314Q2t8314C21K336b31GP31y12lL1722r31kP33l62bG2Ob32XF2dA32UQ33A933JJ32Uu33jL276331P319132uU319d28v31sq2hc33gK31312xd33fG33fi31Tb21E311S33F12O42yJ1221Z21X319s2lr33062hd33D62Tk3170317j2BY317M33D9323S27K21721a318i315V1Y32Ki316233MN1032Wr315U1021a2102qj2Bx11330P2aR32va33mx2pi2QM331433lp2lq32wq33na32WS2VQ32192hy31B43136333R31H329P21Y335526d23Z32xN33Kt32Xr32xt2b7314c25g24K2PZ21z2141r1S2O321Q21i18316o1D31Iz2632582HD32zH31Rs332w22o1d21924P2jV2792jX2JZ262339f21W217336624H26v28n26826k25y3362338j31hK1923p26N2C4334h32tT25N2512qj31y91R2Ke2Z91622v32Yx27933jV32Z232Z433K931CR22n336e333Q31K3333223W2Zn2JF2JH2Z82kg2Jn26831CC27d23K333633Pg28n23K26121428r2792371a1n26m31B931J4313n313P2iC2BP2372ov31hA318K32Tj2VU31jW23021M338P31iS338r31op21D334p31OT31g626B31N327e31oG25823M24r334l310431Bx31Bz31c131c331c531C731C926124I31lQ33R031hY31M1338831hy22e11211315G32Tx315J32yp31hY27333R828N2613382102D324P26e333W31Gt333y31ii31Ik31IM26X24331l431l026I338231n521B25c32xe337n31Ob181e31J3338Z21F2b71R1t21S22h338727933kF2772DV23631O831lG1y334931B533nV33kV32zC1932uC2f72231721132eJ31Ni31gZ26025333LF314B33Lh33T41021z330733oC1d23229k279336o333K31aO31L531as1v33jZ314g2JZ1731Ev31Ex1826233TS27931R432J2336J2JP28n31Mh33sQ2A3339h31gl31qf31kK310i1a1Y21B2s532sF33oV15182202qd2rX2WM1j33UO32TK23d334W25C24Y21e1M33CX33ql339m2Ve22131R321m21R31Ni27j23X26F2pz337t31cZ21m32zb310u1V31ON1p22v2Fi22A21j32cz21N1X21P31421m1P21U21331nF121t1r2J41n32hC1i1s23I1332Qf32y732y9315o21021b1A21G335a25631Ox102382Kr1o1922133Ub339g32hw314o21521e33wP2S932yh1T1N1Y33xe1222W33a031QO24533KD33T533kG31ON1M2321t31kW31iS335r31as32Xp2i12131l31Jq24d33Oo2t12qg22k21X24R24k24Y2611125S27221431o8332t1T26n24b33lM311x2Wz23132Mi2l82UF2OF2Wz2142tx29S22g22I1232Bt33Au31ts2fS2Ax2Xw32Wo33m832Tf2lr33Zd310g310I32aO21A33Yz32Ar22G228182fz32sc1b21N320s2IP31xz31yk312033zK312219311M33Zp31w7322827U312c32761X2pv33Zm18332O325U21c1N2l027U31C519325Y23O23Y1a31ET320K312X33bg2Pv320E2IN34081A22G22A1A21q21Q33661A33my31w3320A32mx340s33xx21o21o322F1a21M27i31C533aV21N1a22e2381Y2In31X121A233321m29Q32EL1n31mU21h21h1x341t31MU21521531eQ1a325132lL341I22e22O21I3220341o341B2EE23z32z22192Ib27D327G320o21A342d341s32em1B32C232F632X232rl32ES32wR342323933Dq2892NJ1b2382382vi32G123823928I1231R723823a32Bn32fo322O32Fq32Fs1E341A1I32fw31292Rh32g032g21f34162eb32g532G71f343K32GB31632r832gf33Av21r1E341K1y2172171I32gi2LK2eb32gk32GM1g343K32gQ33ey32H233ey32KK33ey32M032aV32GS32QE32nw32nY22J21A2g934491g21a344b29Q344d32GN344g32Ow1131MF32np344K32iu345532Kn32AU1t27I33BY344q2Gr32o132932G921d344333dY1V2kr344w21A1E33i2345032gl32gn21f21f32Hf21C321G311x32h2346132Pr3464344P32Qx1h32O122N2162G9346932ny33dQ2Me32GK22g22e1e32lp32Hz344y2si1x345y2b12qt1j32pA332G1i32pc32m232rE345g32i332H8311H21h1k32xv1a327k32Pv21a1d33h329q21g32x3121l343k141m32W5318i2aI32m127I1K2oR32gL32hN1J318429J32IZ341P341R31I8347633wR32vH34751N33wr312532j2347z2eB347f1n347h32c71x348C347H33Bc347K33gO27u33bY21721p31Fu345q33yT32ht32oW33gt33By32WR32Qn344521l21L345Q344z1x3451344F341b32Gq2132fL3457345D32PR31VW345b344o345f32nA32qG239344T345k32O622e2271p283348y33B4345P32gI345s344c345V1g345X345Z21032QF32nP32k332NR21C322D345e1G19346832pJ346b344V32GI341Q349x344E2hW3494349Y335z32QJ32P023F1E349m32O7336M32ky349n2241Q1u1u345Q349W345u344e34A032gq33Ed346232I034b732pR34Ba346732lf32PJ22221R346d32pJ327N311x34ag3480349534Ai32gn33h032pJ2dz34bi32P033dQ2Hw32GS1v32hP32rq32rO32I6346U1V1h33Bv348n34912792Bd1g231312n2792eV2P12ea2ra2HW2qK2gW2OY2CD33t733f421H21S2g934cB23122x2a32ea34CI2872p134CM2cJ27j31x821x21c34Ct2be23122W29p28B34Ck33hL33F423632gn2BF34D922z2C42gw34ck2cD329133F42292102g92L8342K33J327d327K2hq2a32hP2t0312S2xw34CK1024533sj31042J72j91H33t92iT2Iv1O1I33XN28t28V1x22I2Kb33L332Y82zR2jn22V313127922g24x313D336C22N24828y2k326123q2I9313Q2bp31S333Op2ze22v32Zk33l22iL2in2ip257314v2zP33Q12KH31JE27E2jS21431nO2kM335a31DY2I132zp1933wF33YQ2Ww2v62L733lS2lc31992lh2Wz2U329Q2TP33042Ls317H33Eq316G319n32O32m631923174317333MJ31CF2Mj2H32AE2AT2Mn2Mp317O34gd317u33fY317U34gh2N034gD31U733FY31u733mK31uK2V12bG2nE2nG31a72C033Dg33bd32l42lw2O72m033FJ33Dd2O233M7319J2O731u132D4318J21a213312i31u72lh31uA34042ND31UE33Is2p134d432032P734gB33F233C92O733HO1333jo2c92VQ2Pm34392Oe310O27925W31qP32Xz1A26333kK2Wd21n22G2Pz2W32sl2W62q92ja2T434FZ2DE33JK2qq2a831612QV332d34g032vJ1233Af28I23o2y42r729g2rL2de2rc2RE2RG34dX2rK2ov22Z338e31b6315A2Vx2RS1B25E24t2su2sw2Dl1f33w433v82Wj2s22s42s622v33962T733tu1121b2242W22SK2w52Sn2SP1L26o33XR10310533je22r2TC33jI318v2A832e02wz33ir3168310W2x4319t2TS2tu2El2EA34j834Ku2aZ34Kw2A92tP34kZ2XJ27J2Xl2Uc2ue2O127U318O33AL31Th34L62v72Us34Jl2y132vx34JB34IF31VE2v5316034JA31a52VB31122ve330p33J72dE2vL2vn34jm2Vr2XW2CF25w314l34k32Bd2wL2Wn2wP1q22g1X34Kf2z62W62w834kK33532rq34Ju23L33Y831B633ok34Fz32vI2a82WY29m33Lx34G934LD1131932Lo2u92X734L32Gn34L534Mz2E02tJ34n334N72xH34n634ga122XL2xn34lh2l134LM332K2792xv31cD2xy32uS2Y131Z334jd2R52Y629G2Y931A2317h2yC2Ye27d2yG2Ya32ve2yK2YM33al34iC2Pk2rL25G33a32792js26j315434Fa2jz23633Xx33Uk2YW2zY310025t31bu29834kG2Z734er2kI34oS33Tx33q034P221F33vJ34kN32Yi2b723a32G134oT2w621j32x72dl235310934ks31sp2A032wD332H14310H310j310l330p2GW311b2e0311I34LX312J340j1531133115311732SY2gn2h833Zb311D1932Si2eB312F2Uq1634Q12ay34q4311q311S27K311U34qC311w33Zw315W2Al312319312531w734hk3406312E310u312h33Fy34QU34Qj312m312O28S312Q32bl2HT312U34m82m034e02hO32Uo2Xw2Rl344e33rz32tZ3147314933Lg314t33X22341h182s524n25X28z1V336Y26O2272722rO31NW31ly31ix22131mk31m331M52Q31631Q533k625r1r320R315s29J316234hk2c032TF31SI323S2at23c23c29J31TB31yj33Id33if234340P34JH33n432og34QH320d33Xg32dC2P92ip2l828923o23x34QV2ac313432kI311z32dN2B4312F312h2o931C534Ta2HT32eS1v1O318s34Rc2U02GX314527I320029P31Sm22321V312c31XR34TJ34Qe34r134q2341234TP318Z1b34TS34Tu34qp2F734sX21N21O2Ov3392311X31Sq34j72m6345O33m51321U31Vx2Ay2hI33W933Zt23C23J2Ov2x633W733ee28931XM33Al34V134V323R131U1034vE2GN33G033aL34DW33NH27D2l734RI2oV34oJ33K622725933U32rm32yO34RN34ft33pl34SA31M61623a1729p34rS34rU1124D32Yt32Ue22C23231lw34s61934et2K723g34si34NX2QT1132WC27o34Sn34U131sI33Ck2M634ss34Su2B233cK34sX22x34sZ34jn31x42DE33FY34t532wP328z2Ur34t92C034Tb34td347k32H534RG31wT33mh33ZZ312G2sx2DL34TO34xB34Tq34uE34Tt34TZ34Uh34nT28S1q34Ty340534q234wp1234u334U534TI34g834PZ312h2p934Xn2eM34XP34Uf34xs34qd33Iv1334uk34um31V833BD34N334uR313N330Y34Uv2H834UY33Ee327434Va34N934v52Hs34V82ug34yU2eZ34vC34vE34VG27b34VI2UG34vk34nS34Ra2vs2Pq25K22q24G33JB32uN315126m33s432uE21732Qf34nX318T2lC27P34n92MG27f32E5316233m433M8316c330r2c033M823c23E32Bn310c34zX32E823m1122X23D2Z42m034HP31Z32oA2Oa31U12oA27G2gi141K2z42Hv2Pz2Bc22G22L31jM34hZ32wr23n350921n21D323131gO34zp318822a22A2YP27932o334rF10350E27E34l521T33kR33Pz1H34Ph2As182q31b26m32YC33X334Wf33k533r925R23I339z33UK21m21e27233Jt31M434w124g2652ih21Z33Xe21221933zO2B722Q31FU34Zo27k33zd31A232V331892VB33Al33AN1221c35072lR23C23d326832wB350723n23l1222X23e2gq34Nw2bt27P310w2bI22g22m33g42u131vZ332G31YO2ih23O23N1734Zt27D34E631WJ34J7322P2s92LQ31ZZ318E34XS1v1p31w92bX33292iH352y1221n21E2ih32Jy2L134Z833jp34l5332l27922z34EJ102j124j33x233PR22S21X2GQ315I34Rm1H2122sc1q1h2wQ333226232UH2K324D34Ok27D22Z31kv31041y1F1O1N1I1w31hy23W26G2K732ss28n21L23d22C34zN34pM34J131Z334Wm34qs318V2R232w434WT33Hp34jc34vC142i527E2RL34ws2a323O34vc21K21g2Fi27j34NW319H2OL319n32vh319n2NX32wb34wt2MR3314317U32vH317u2bm2aH2101x2862bR27U2o329P2h633dJ2AR33Jp33j72L127a34Vz33pA31Kg23g2Y7355l32WI33Lo34j327d34O021k21r32t92CF34J132vC352j2C834og2VQ35702qK1024q24V29P2372cQ33Wd22z33JH2ql2OF315V34kX34Ny357L33nG34z9351D121k31fU21y33Ux33UZ33V1351k33V421f21r34Ud31Ih21E26J24L2g021T21b31R82p431C432x634JZ1123X2CI31Np1e21H1r1D21431iU1m1Q1126S33Qk34kN33V3327f2112E022021G32WX2Jh32WZ32x132X33113358U2yz2Dl32x932XB32x534EN3104359C21i21J28A2wn111F33SW34Ko32yj26s23W2fI31f21521131c931hj1o35963598243354m34Vw354p354r354T333s315O21b23021234Fz24K24l112132102hd2772vJ2X621k21O32wh34O42uH2uj2U432wm29j32Wb32az31sM191D35622ep21k21F312v3133319335b933I8352q311s34HC35BF34CA34M22vH357132V02lp311628i2pQ2L12P92mr350g2BT21631S631Xk33z22lp2op31VZ33GT324x312i353832ss34X919331032js35cf32B934n034n631zh340A31121C1A34qL2PO33aL3274324c34Xj2Th2Bb34qu312l311534Ce2qk34QO320u340v310V31rc3409340y2ur342s3311341f1A32Z135672Bt22z22z32vA2aX223323q2UR2Ax35Cl31U133yw34z927e2Xq355L34wQ2vI2bl34332Vi2cc343728I33g41535cW2qk2E932V034cd2Hd28b311a329K17353V32s5353T34xy33hS2RH353Y332A34m8357O2HU33xq33KE33xt31Gt23g357y32Zt35792QO28J33jm2qk357m2vI34ih357125w25V35eZ358S35f135f32WV355M35F635bN35F9358533jp33ik31VG1e24823r1v21024I23C27231CX2f72243595359721N348p2L524m34OO33Y91o23o33pY33971c359X34k622N332w2R522k21733Sw339L31j71521535a331nr33Xj33xe26R34zk1031oG24531MQ31Np35AA35Ac35G42z1355031rq1m359u34pA31nS31mW31MY1d31n023534fd33X331Ny21E336933tD2RM358Q1B31m51y21r2Bx2Hj354E33qG1n23r34EY1022r1f131S1m2ZB32xJ339U32ud101K22C31RS2a331nX31HH22r31O831s52u134w92ov22E33Sy32eZ33T126327132QF2i231IL28s344Y1J21n2101c16319q33u821t1v34S921T1y32Xv1v33vA31rK27D21d23511351X354F28V24j31hW33jU32z033po22m33V731O933ST1l26923g24121v1a22Z25826525y33p831mL31MN21M34vz33t61933T834fr31f21a31Nr31MU1N26024N2si35iH1C2eR31k31l1832z11N26v24E1s1423B34Rs24T23R1j2172Ov334h29731gZ27135gy21U1226234Zk23k25o1c22F34t622s2aO1631bH1J24M314V21V355535573559333t339F31cr21833Vn333131Hy1e23f333i31fX336q333L35J624z336f34Ot336I31r821F32IH31d333XB2rU33Xe23233Qr332X26735g127923915323W2Ja336833ug21Q22d22c24K25o27024b25725t25t23423522022p31I426225u1j1Y2pZ35Iw2CP2F431bf348g33uG25R258336N333J35M631g033r4336v31fj22H33Sc31ig33sF334223p33Y828u31hH1v34Wd34EZ238334w33sO22f34P434fK34p225r33O12jF33O433O61c33O833OA2CU31iz24W352628f35Jb32X129U32R123s26l25a354x28j26035mA34Fs34Rp352U33qz31OL2b6338s33r3338U33R52cv24033Y833yM24d35I133X41T33X632YB33NP33nr23T32y631is338k31bF26K23r31dZ315122W21J26K23c245310z25g26031Hv33sk335s35Kv26j25423725f1w21623w24524S33Rt315o31i023v33jt35mq35mS1h26233PD335q35J624P35GY28f32XM33Te32Z81Z32XS32xU314C23r33Y833OQ1831gM2A331Kl31fJ35jF28822025C35pO31D321O2KS35g631GU22m335p339G31d53253322t21E2Co22S31O833uT23v22B2zH21S2522481r23K25t34wa1031n821Z35ML26824521H26I35oF35gf31Qi31QK31iz2wq26p1e26F23V1s22A22G1n2611Z25P26r26x31p91K23u26724031oe21S342121C32zf27D2ZK22s22324b21I111p26C26j24525B31O135qy33kU32Za33Th351T27D355h25x23R32H535ng35IY31Bi21221O318z182hF2Ud21h334W22O1O21k11337R3574334j31LE27923433WI33wk2B733wn1s336x31BV33Rg31C031c22Bf33rk31C831cA26b28N23S25T21P2T5337A33pv31hY24x34il1033oH26s35RG2II34eP33wu1V27024832vf2y02TJ22u2rJ35bm33Z332bT33gn323S35Br32JS313032TF34E035e62E834w435e933E921A33gJ2n2331b2B7355831uA1p342i34hz31t331UZ35W0353P2bJ355831V632E731vc31T3320935WB326U2A732e632l9327431t334Ti35wb34Tl311J32sc34Qy2o331uF341535wb341833QH355831W7344O341G31UF312735vZ33fc341y342p35wM326k1u34KX34uD32eu1C35X92eb32EX32ez32EY355832F2348L1132fm32F81d35XK29q32fb32FD32fc355832fH345C27i32Fl31t332fO35wB343h32FT35Wm343M1E21Q27i343p31TS21d21j16349O1P3219343l343r344Z23O23v1F1421j320n27D332O311X32G33493343U32g822k22k34bY353w27i32GF342W325021A22j27b3264349p344735yO21a21p2Gq1x35Z232g63558343Y1q216348t21C35zR35z82yz33c532CO2P733zP32g31S32M235Zm32G632G835wM343y32n232Gq32N232H232n232kK32n732gf34AB32lF320321K2253601343R3603343t360635zo344W35ZU35Zs32oV21c360c32i035ZV32pR360g2yz3468320322421L2fZ326422U21c313735zi34Ah29q35zn32e0343Y34BA345Z361J32h234bC360H1R32h532dY32R4320335Zc33fY32G532SR1722P22p32iL360P32In32HI35wm360d31Xq32kK22Y22I345b32N232k123j22732rQ32Py2oF2OF3121346q2ny1i32dS346R2aZ2rc32N3362K21e2Cs32Z32PH1X362U2J81j283346X32j022T22D35Zw32Rs34A332G31l33zS2Of343y363535Zw348x21L1835YL1z2Ik3602360435zN360832GC35BC345Z360Y21c349e3611313832ge361332lF1P18239360l3618363I22e32d731WI363N360q343V363q360X31XQ360B31Xq362634A63612360i31wC36422393616360n348A361f360R361H32gc32Q9345Z364X32h232q9363Z19361p364N364332R31f1h364o35ZC31A732Gf35dw348M1G1v1n2y731py34yc27u32gf21721m31gO21D21k1935yL331d364B364T364d35ZP32GC22U22E35Zt363U363S360F363Y360H346833x63644360m1f35zi36223605365Y360t33E8360w363U360E32n43667364031wc366A364Q1f365r365T361a361C32G3361E366G32G8364V32gx33eE361K3674361M34yS361o361Q366a365735ZI328u35zn22n22n36701F2um1H366a21622N3618365s33b9212277361D3480361G2Az343Y364X32gQ364z32I036513679366q1923921C21X367p365T35NV346m32G3367e360r221221367I32ij367L368621o22132R4366a35Zc28935ZI1b359E365x3607365z364f35zt23e31T7365235zy2GR31An342y2pW3658369635zC27732kz349p34az35ZI35ZK364c368X360T3610345Z3610369331gO32r532jC3600366D365W367I364e34a5366k364i32I022q3517363x35ZW364m32k832jC3645366T32IB3648310I322M369U363P368y22R22b3663369z31V7364K366O36a5369Q364P361736a932IC21v1L327v32kZ366w21y367u369i1F3672367Z32oW368121C36832yZ365436a6324n364R366F36aF360T360A32oW366L3627366N36a4346832K934dS364r366z367W360t22s22C35zT36Bu34b821C36bx365m36b9361q32K932p2361836Aa1f22H346D32k9365B36AD343R368f343V35DS367i34d431hh23921Q223364R368u36b1364e36bh34602Z4369O31wC36ck22D1w32R436cK35ZC32ll345M349P343K32G3369H368w360s3609364G32Ow369n360H3694346e2P61C36bD363o360r364E23421S36Aj36By21B34OE32PA364l346832o136A8345l3444364936CD31h836Dl366h343Y34PP363T36ak23I328q36a336C136ao32o1366s36B036d936b335yW364y36eK365035YW365236BA36Dh367C368E2OL367f367h35Zn367K32O1367n3618345M33BA367t366Y367v364u367X364W36eK368036Em368236eo3684345H32NY368832r432o123e325T36ET36B1368h367I341W36DH368N36fJ32Ny36cc368t368V369v368Y36Cs369136A436Dg32ng33DQ32r432Ng36cc363Z32S72HL33by347332Rq34Lk36c1365o33hx32g31V31mf34by33Ht32rQ21431IK34Xu2Gx23u24127K363335xw348134863476355832k135wg32jP31T3348935Wb348h32x33558348K35YD347Q1l31T3347K36Gy33W71N31eo35Wm347O344O2aj33Av2111k35yl33252AI36e32eb2Jk2A82a735581A1o368Z2OF1b1p21c22O228311x181q36i41I365321c22w33jm36hl19311Y31Wc35mR366B32Ie36hR22e36aY2Mu1n364S1X36hY2qQ32E036i221C32Jm311X36I636J232jN2OF36iC36j627i2q3191j31v81H36Io31y92a736jg1K23936d228V36HV36CP29Q36iY36I01i36J132n236J534WT36jc1G340p2BQ1M369736JJ1736K335Zc32jy21D2101l35Yl323F36Hv36d836ix2B836JT36j1369l36J5369N36jz36K12j936di36HM36iv366F36jS35WM36j123222m36J436i732n236j9363S36Ig32N736jc36IM2Gr36Kq360l32IE36kb22E1B22L36aW36ld36E136Iu36hW36Jr36kI36kW36I336KL36l131xQ36j9369l36l5363Y36L72F31h36kQ361636kS36IW36JS36J036i3364X36j5364X36j9365136JC36jE31WC36Kq36ji355836Hv328U36jS367g36kh36hz34aN36KQ367N36LC36kC33QX32Ag36kA36kC33bA312y36lK366z36m42AZ36J136M736i736m936iD36mB1N36JD36jf36Kq368836JJ36Kq36fL2GP36lK36Mj36Ki36fP36js368K36kq368N36M236Nj36Hz31AC36Mm2qq315u36lZ1L23921022936ne36Ny36K81k35YR1f1u21621H27K27B24124027k366g312h331l360522g22F31sK35hU2N435ed34x42Bg365N365p34ca2NK35eH2l128d330133Hg2fZ2Lr354834id27D33gG27H2a3343034iH34L5327k31Cd22z22Y2k722733Qe35Jl33wO35O533kA313G263355d2K325F35qv21s22A32i234pM34NG2uy34nL31Si34PP316m35cP2MF2Ac2MP2Ec2ak2mI2aN2ap2o92Di317Y2h92b236q12N332UX2v82b631C335372NA34gP31v12BP34W42Aq2BT2bV2NH2l82C231W92c631sL34Vl34rG351B34e4353L2pz22e34K9335a23D33pQ31h6237332R2iU2IW26x34f532ZG34F7314822032y634eP34FG31Sz22k2zo34P633pI26233oF34ek1I26A34e934Kn34eb2ja35R834oP1823D35iB2jS25Y358y35v92KD34P221034s433Xa33K334wh2K321E36Pf34ev23j340g34nX34NE34zy350g31982lF34g629M353o2tp318C34GC2lV33Ca32O333EQ2f634Gi34GD317436t53174356n2aI2aK34gH34gr2mo2o92mr34gV2ai2MU2fH31tw36t734H02Al31u736tO31U7331w36QO2l734h936qW34Hc33Gv34hE2Nr34hg2Nv32e031TB331F330y356u34I82NV31A7356I32bN31u4332035w12oN31xH2oS330f31uD31uv36qS2p232Bk34i633eH34HN2nv34GB35Fa32Sy34ZR34Q827E2Pq25B34ip2qG26W33UV2z534iV2q833y42jA1E354E2Pu1a23232rl35781034J22QR32I32qv358234JB2R032VN2GH34JE2r82Nd32t91034JJ34nQ34lq34Z92rl21t310334Pa315123A338Y21V34pI334E33k934mS2RT1334K2102wi2s12s3102S522n23435lz35P234Kb26z33nL31B626w24834mm36VA2w734kj23634KR357Z34nE2Nx34g72tl2XJ33fY34l02x62x834l42xb2V636X729M34y536T034QH34nL34lF31fU2xP34Li35b62uu34LM34nE34Lu36w231a234Ls32VL2aE2v334lW36Q334lZ35eA35bU35FB2C834m62vo36p434XU2VS2cF35Xz34oZ34Mn34kI2sQ336a34Jt2RT25e337m35Gb36WX2wH2Rz34Mf33V934mi2WS34mY2TZ33yR29M328U2u834n42lo2X534L22X934nd36yz33yx36Z12oL36Z334nI2TQ34nn2xo31x6312v34KN337y34Z934NU29334nW355l357k2Y334O1357735b52Yb2E32YD2kl2fX2HL31a234OC1235eP31A835Fp36Yc33zB2CG35GE35Oc33pI35I836S626232ym34Pf2Aq34pH358v26P34kM35A42SF34Oy36V934KH35aV34p22ZG313V2zK24534zF370J1134ov32sv23f34pL357Z31sI353e33zg34pt310M35bV34Tw34PX310S311J32v034qH34QU2ba34qK34q62vT35ek34Qa27J34tV34pZ34j434ja371k2NW311p311r2L134qO34Ye34u6353o34qu321N34WT34qz34U834xk32vh371w34qK35d7312P27h28B312S34Tv34z932TF34X234E736S1339c335s21032gn33u435Np31Al35m7333N35ff33vk35gQ237332w25c242311Y25D32TO23Q338128N2211926i36yp33Ym23231v8352g36vL355N33ab36vq318y36sX347M34uo2A0346w32WB353e356t35Bs2Gr2dw23931rr2qs315v33Zy34wm2b333jn370831ZC373l2uo34j932W433dd31sI374d32wB34hK373V2A32H637402Xd374231W92Sd33iU357I2UU32D42DE36uY371i28n313524q34jx33XS35Fh1M26X351Q354j22832YY35jq33Jx34ML34fE33l4335a23R33p333J033k134Fw21F31kj35gb25j35Ud27l33tf35TN2R733q431Cd26M35S631oG26J339p36Ws314s21h373633kO23k339F33ym23031Vq373i34J235b92pf34G33168367T34UP36T32m4312535BB33I531tb33gt33m62Hl2C033Ma33mc3305330733i834xI317m33Fy31742Lh36U836VJ1033mp33mr33N033tN311x316236U935fo33jJ34gd33lp374635181022s22s279343I35og33O533o733O933oB31iZ22u338Y33891B31bC31bF1C36wI33W633w833WA33Wc1P26z23L33Ws35va31Hy33Ww33Wy335a21K339622a341i1b21O31IS33y735ig31Ny32tv35A81S35H41735ad35aF22r32Ft27933VW337v33vY2I531ZJ31ON26g34Zk37331i22F312H35Mg325433xC33XE21r314f36pJ21835rc1031nB22C33Le35m0339i31r733uW297359433nX32xv2BG25g33rO35v035An1V22135L433xh35gv1s1p33Qu31vg23525X31jJ31d431D635RR2CO2353573334i1Q266371035gF35GH36wN34kc33Ja279220336h1R1j31lM1Q1L1D25V25435L521D35L731bf26q32Tw31Fv333X1N21D35j621b23626D1622h31wE22325Z31PU35M4336P372v33u7372X35pV33Je1y34p933kF3752310235Um31By35uo33rj31C635Us24q338221s2Qa21c37A733SO35T6370X2ZL35K6339G33ru2bL332w23K25d1124U34wA1W21W21024933s727924q373E32Xg22r31mu28t1133T01F1v21r33nR35p134kA314S1536pl33NQ33Ug34fn332X35SC26n22631aZ25631AX21726T24531He2rm35Or365h2Ja1122u34VZ2331V31o61126J33q533qS22K35iB31rQ21U1c2pz358b1733Uy33V02nD358f1824g34oK31JV1Y37cR29321s25x338i35ro35RJ35G71n26q35pu33op33WO21333ST22v31NE35Tl31BF375r1921F35Nv28f21g37D021936wm2s521933u835G935R9333r266379X35GF334C26o36rj35jp33jw1j21F37aQ35GF33Y021t22T21Y2Z437dw37Dy1t21C354r35kR35kt21F351H33jU35h635RK2L5210375L31B61635go31j535gq25z372o2122wQ325421F35qX37b833Sd1N333z1V334131IM339X35qi31hz161o33x931lg35pR1933si37Gy31MN22025933za1w25V21431m235Kb2dv33sV35iO35iQ33T021S33EK31q722s321y35p531P435p733r235Ns334R34aQ32yn33s0315l355b37CE22X1p34rt2s521u26025R1n21L24k24W25224526z24I33QA26135s528n22x21525c359A370D33q21633ui336g35MC1622o1526M2652jR26433yK33uS33Rr33ta31iS1Q23324U31oE33s823i1R35RC35s432Rr33tw372P31as21B35Ib32Yv37f037FK31Lj334D26C375531h622H23c2GQ37as33wJ37aV35Kq33Ol35sI31qm26S35p122133vP33Vr111y345T27d24G26x26j26733WH33WJ33WL35Uj23I31oJ31fV372u336r37HV31g624735s622H1p35LD33Up1g21735hX33QH33li33Ss2jZ24x35gA35R632U42Z433tl33Tn2181x37D11f1A347h33Nz36yp31cr22B358I34sJ376W347c31TQ33yW33mG22722p33mI330K22H2VB2At31so23O23k27G2Aq355z318S2aT34SO2ha37lU2gb350t1535ds32e133aK2He34i735w137mD33ar31v622A33iz34HZ331P2kl23O23M2Cc2mb27E2g9331A36Mh33ik350S353a3392350W33nG34HR22Q22437mZ2j434Hi31Ua36un35w835Yh35Yj22e21I22o33Ik31wJ1K341e321D2bY31cF322434D4325034Dh31Xc37NH33ge328231wj23522n2EE353i14213347d279353t37o037o237np22J22j327435EN31x435zA1623922V2mu152851735Vu27A2t535vx34QR37n83729312h34Hi31WX1m35aR34xy31T3341537Ov29q35X134HI31W732Eq341231T335X837p535xb341U31c51A340D37pA32Es35XI21a37PE35xm315g34hi35XQ37P032f532f729j32f937pe35xy32fE34hi35y2323S35y535yH367q37NJ21032xp32fo23D33na1x35Y91E34HI343m36j3363D32gc37qi345z37Ql32h237QI35A131ix36EQ366A21m31ip31mE367Q2251R31aC33wo1E21a23E36BV29q37qE329P35Yo37G22Cy360t21837RB32Gq37rD35Yf31Ix36dG366a22r35I71e37r121a37qb2eb37qE37Qg32FX3404360t37qL32gQ37rV37QO36j737QQ3653367a3686327n331d32Fo37R437rr32fr32FT37r8343M1r21734Bl32Gc37SF35ZT37Sj32fz37Ri369p366A2311O2HW368l37oK346X34Qh32Fq311M2ti32Gi37RQ34B332GN34hi32gq37QN32I0340f34a637Ql32m036g2365f3471365K34XR29Q346R2j4361c32It21A348S29q362Z32Z334hi32M037T832M332j337Tc32I3323z32Rq347w27I346U21421M32h5362S37nn2eb37tp1j21e21E362y362V1J331l363321C21a34Vg37QQ3638311x32fo37lq2of343m37Uj37RH348x342737Nj319z37Ro37T137qd37sB37qF37PI343m363F37qj36jA360w362936BY37QP32G037s331Wc369637qU2Hw21D342722Z21p33G037ro37s937r637v137Sd32fX37sl360t36Ky35ZT35xF37Rh1936DG369637sq37S737R237U737Vp343I34aK37qe2YL342X34aq37VH34271j21X3426341J34EN351637Vn37r537v0343i37Vr35y337v633Ey344H349C37S237W0342421u21j37SS369621136ia2Of32fO37W537Wn32FT32bT37x72pZ342X21t21G37X0342437oL369c36aa37NJ32E037QA37qC37Rs37v332Fx321L37Sh37v7345z37RZ32I037VB37qR36C332JC37vg31Me36AA37qY31ac32kZ1A22k22D22d37uY37XN37V137Rt21c23C2RJ37rW36j7345z1O33Fc32NP37xX37vd36BB37s637Rn37S837wm37r721n37r933ey343Y37WS32ow344O37Vc36Dg32k937W237ys37w437NO37XA37W837v1341036AP37wc37y232ic37WF368h32KZ34en31fd32KZ31CP37R037YT37Sa37Wo37yW343M37Yy32gc37z037WQ37wV369P32k937WY37ss32k937X233Gc36aa22r21h37zP37Z837Zr37X821g37xA32li32K937XD37vH36AA338z31AC36Ap37Xh1921D21P1c37ni22O346M37XM380C37v237R937v537yI35ZT37v9362I37xw37s137vc36eQ36ck37y1380q380s37Y737y937yb380X37yE37qL343y37RX32Ow349937Va381637xy36cW1C23937yr37wL380x37Wp37zv37WQ345z37z237sN381q23937z632Lg380o37ro37X637qE36t537qE33hE32nG23C1d37w321a382837v132wM37XA341A32MT21934is37z7382h37Z937qE32wC37XA349032MT34d637Ss32NG37ol33bC32fO22522R381G37xp37v732gs35032oE24k2501g1z25x26u279332o26S26s37xs36Ah2Ee2441G21k25R33Oy2E026U383H37v623821w37vY1P2Z432Mt22o1L34bx32g0365H2Y7365D32rK34A91v1m2R832G021721n321h32fo22x21Z35Zw34Us37RH34yP2g92HI1z35U832Mj37pN37N937To37Ue37tR32j031w532H631eX35YH1Y1J380T33D5347y37Uz348533wR34hI32k137QL348k23122L311x347o37qL36J133I132JO1k35Kc31VQ1h2go23937QU36k9385622E37Y422936Gx37vo36gz33Wr37r832k1361J348k361j347o34Bc32jP191u2FL385T1J23937rL32jY386237WM385c1k386632J333Gq2aD347l386s347O33GT386d386f31wc385U37SQ385x385722T21f37NZ347y37X6386o34AK386o21S21s386h23934Aq387322e37Wf22622621D385y34eN344V347y3863386o386q381y348K33ey36HN37WU386y386G385u37wy33he385u37X2315U387N3857380837r0387837z9386o37X9386O32LI385u37xd387I380L229387f38313323348532Z33421348122g2241K33Gg161g1m35eD2Gw2gp34tW315U32rM348o352F2qt341A27O31Py389A2ee23U1E1u2ym36OB1221m329q32v033Su36OW34q82eV36oy322J21j21U34BX2aT36P32Pk32jY33dL35Cx33J826h33y831Lg236374O357z35Fl33Al3192318Y377g35ev35fc357P36W535fg33KH1M35F234j035F532wk35F73584377H22C37r524V2531126026624X31aX26625B33Sr33Ju31S61i26S23Y37E8358C37ec33V2351l22r35ML33n023222K25O25525N26522I24a1n24732Yw35q631aS24931gI33QF33QH23r26M37BR32YJ1v338e2Lu33WK1z336Y33A51136wr338Q31hY22C26625Q25W24Q31t035uw31Rj27E33VF21e22f37kn338Q37Ht338T31G335pb1q33r72D223I244375Z35kf35kH31Mv26034F21022h21e33Sw37BV38aK21B34P935Gp31J825e2K634eV24x35Ge338Q34Fw1125q37aL31LG37An2S525T24u31Go36WK1m34K537Ao22N23631bx2t5329A2Si22332rM1E31N01F33Wi33wI1426j35LW2Kx21t31PV372t35m537bO333M372q36pI2j126v351q37dB34oQ37cy31Gp35Ug37kk32LQ1s23k31r2354c38e921o217354s1n22t34Fr2391s21638D31N21G336Y2jS31me28N37kv27324X31qg31Hh35SH1531iX35sJ1q24W24h21226A23I23G25v25926q21434t62zp22c22z31H824g33s731Nb38Cl27E26g25Z36SB2Fi33G31N35YT1t38DS350a24721t24p26031uc24M35Q531D321238GK31et26P25T21d26r24p21H2651426k35Uy37Iu33uM31r832YS31N431N625C37Eu35hc37A425935GA31B631b82qJ37AC35RQ31D82CP37A735Gz25R26J35OP35Gf37H426k24D349c21623721i1Q22d2272LG1L22h2262eK1121w22C1R22722b2b738gL22C38i831r823633Ry1022V121h21R31h821n37fb2As33tw35Ub31Fj22225r38cH31t02Zk22x336m38eK37BN37Kq35Pa35nt360l37hy354o32Yq37Ol37bY33rH35Up31C437c231C925323c25226726i21026R1425v23i337R37hG1h38C7373a1924p33vu32xz38f722A38G81s22H22W2192A725826w24D24P22D318525S37j231O835r624x38hX35iw2a835mI1S26K37e127d28p34fR37d7314C34fu34EZ21C2T0337O35r731Jj339l33qN313r37bt2oV38DR38KF1838Ht2e837jO31LR37jQ2Ic33rw332r35rA2Ax34K821836Ai26O27023I332r33Ut25K24S22y379m1022Z38E937D433uG34kL2OV2372Q337ir38kH38Kj38KL35gZ27035T228n21j23b24426031MR38fe31MX31mZ1626e31Jj31lg37FU31L828N31RQ26I37501022w33xI21833sT26D38B431LG1x35ie37lO34pN21a1J32l92PD1332L231Tb366J34hL2o536u52c029x31tB381m33Ef34hM3563316W34TF27D2xy33bd38NH36uc38Nk32IK38nM328738no38O437712B238nU38O936UV2cQ32R13130332J35vR34wR31t514360V317m339233fJ36Hd34PQ31t32Ha38on2MT1538OQ31tZ329Y2Oa31u32Oi38OW36Uj2j438oQ31Ua37mh37NF29J31Uz38p535Wc38Oq31V61032WD35wH31uf320938pE326u38oq31vz383y33zt35Wq312038pE35Wt38oq31wX38PA2iP37P31a21a38pe35X138Oq31W738PI35Dj37pc32eJ38pE341z2wQ1Q340d34a832ER32eT31UF32Ev38pE37pp1c38oQ35XQ38Pa35xT37PW35XV38PE37Pz2cv38QF35Y238QH33aM32Fm29J32Fo38pE37qE38oq343m38PA35yg29J32G333Zy36o61421T2wV2Rm341r35zi33zY367i327k34bY35dI36C1348X321w1k21U35YB343r38O3364T36Ok1F32l232gq38nn36dF369P322j21Y21F3618324H38rT35dS324L323X38S7312532G334Y535ZN315U360t341d35ZT38SM381421C38so36eP361q324M2301p36Bq36F6343V38Oq343y31YM35Zt32kP32Np38T232pr385o36Ed3468324M36fT369T343r36br360r2Um34AL316N36oi34952GP34aL1m388Y27W32p62Mu36oI32jH38TM32gX2P438IU358I33BY21221I31PY33Ed32hw2mc38tT32hi2G932My38Tx38tQ346R38tS21i362L346S38U9345y31SW1i27w32N821221j31yX32KJ38S4324d23934CR364R325I35zN38T032gc38t6345Z37Ne38Us324z37OJ37qu361837nh38RT34az32gy23938s72ay326438RT3516326O38ve2AZ38Sh2o538sj315U343Y37vT32GQ37Vt32H237SL38sS32Co38sV3618327r3808340C36f536b138uZ21C1v332P360W38V132H236dS34a638T6365236142p538Tc35Zi33CB36B132Ds35Zn33b6329E21Z361S2p521236ai37Uq343r38sI360r38Sk38VQ37Sg360W38vt32I038VV36Ff326o37x238VZ31z736rS387l32642WG37q821D364738rT2Kr3659364338VK35zi38Wx343v38wZ32GC33bu35zt38Xs38Sp38Xu38vw2GR364o38VY366T364722p21J22222236eH367i38w537tt345Z38WA32I035w638WD31yn36683641364338uV38tD36Iw38Uy38qF343Y37RV32GQ38YC37Xt32kK38we38yh365523938WI32G338wk36d938WM360r38Wo364O329F3646363j2Eh329P38XG363J321y38y538XN38VN38WY38Vp37Si38x1345Z38X321C38X536C238yx38x838Y1363j36rs37Y5367Q38Va1U37ST38S728937vi341j38rt289342X38xm38vM36B138xq38ZO38zL38Vs38ZL38Vu38x138xX342X38y0390322E38w121b38y738Yn360T33Ck38Yb2Dg32nP36e738Yu38yG366P3695342438YK390P360R38W51821K35zT38YS37yG38Yf36bm32lF369638YZ343r38Z1367I38z3343v38wo369638Z7366T34272Eh37ux390936D9390b38VR32Ow38Zn38Zp37yP342X38Zs390L36rS2ti38z032k436d932uV36ci3147369631Wg36C632IC38rT32C736AP390838wW38ZH38xP38zJ21C38XU345Z392O32H238xW38x632K938Y0391338SZ38yo32gc32iw3918390U32H21L368V32Pa38YV390Z36Ap391238w336d938w538Wc38W9393232I014319X32Pr393736ao32k9391f21A391H35Zn391J32G838wo32K9391n32kz2eh328X38zg390A392M391v390C36bY391Y36EQ3804228392d22E38Zv22932KZ1g21y38zf32G338uX3914392Y21c38V132Gq38V335Zx369p38192273618380r22e38zy32LG38S732ni1d394w21u37uB32mT392i376X38vo360T392O32gq392q32I0392S38zq2Gr32Ng392V393b38Y8394L1C21O393136by3934391B38t932lf32nG393A38tE38sy32G8393D36dt38Yr393G21c393i395r38wF395t32m9393O393Q360r393S343r21a32mT393W32LN2eH363l3940391T3942390D391w390F38X4390h38x632nG392132Ln394c32lM3951394f394h343r394j392X360T394n32ow394P37vZ369p32o138v7366t345m394X32O138S736T5343U31mu312y36OJ36ol2by331b34M327c2DE312S36Os31Go366g32FE397K361w397m2BR365K34YN36GH36Ot32V036ov371N311T143301366s36P2368v36R234Ra33j72YG25b23R391738n42922DQ2g61022L1J1M22H2211E31Mt33xI31M72Q31H32uO354S2WQ22I2KA1221U22S1Y363l1721533BB314I19220341j22K37E635KS21t341J26136Yp38kq35jo22u32Ks1v315724G372y2c9395N35Yu2jH1V33tW33qQ161R31Bf22y2wT36pW2Wz36sZ2xj33FT2NO34J733mG36ui317M38ob34WO2mz1637062Bx35eR31tQ287318S2C032bt34y02c734M835Az34ih2RL25b25b27d394b2QJ31561a1e33dF31iz2L526Q37fn22X37AX36B233tI31M238e732x333Xi21S35uZ31M337aX31Ql2l522T3799332s1533T029Z39bg354w28I22K23438O839A9352P374D31Sq36uI34Ym34uT37M1356421d36vW34l533bd34uq33HR39822Pg3585313036GG39c933Mm31w92bt37062At32322Nx2ha39C839cR38RP38P233Z72eG21K21a352F374m33BM355p31Ud365e2oA38Oj1336w02EZ2E321k2RZ29g2ed2OA1V314439AL39DA2ax329C27O39cM35B72HE365e33bQ323s39ao36go2hE38sd31Wi31u4327C31Vc36Gb39Al37m137MU21K1G33fC27J363L35vY34G839E632s832ao39Ak31uD2171z33Fo39dD2Rd39Do39Dn31XX39E731ud39DR39aX2782Pq2nC2xw2vJ24533nl22u1f37eA26C38B435O21C23F32i636Pw33Ab34uq376e33de33ME36Gs3992331A35Fn37of39Ej31ud37MR2eE37MU141f33iu33LQ39Al39Cn2Bt34vK2X61U1R34dC31SN356734Lj39er34z7398d36W332WP340q294339f315631581338m421W21d1737av314c256399w38mc33Pi37l931d321I31c521637le32fw37lG37li31o735I91c38le33U438IY22N25038ky35iC22C2d52zD2JZ33pX2ZV32Zb1C345D32XU22c1y2T039f637Ea26p31jj22331H822H23432X038ed25N2502f731ms2Qq2B738G731H821b36rS31D333y431jQ325421h33xe23k26j2oE2271426636S138K121f39Ia1039Bj32vR1s23B34En1C21H36SH22C21p35pJ33X733x923B39bV1t39BX2mV375k2a338N5344935me2IH33OH1G1537ds21W23U38n322b21I351j35Gu1e236340p39HV1S22G1131ng34qv31T421x22829T2UD22B22V2JH39I71s22236eo34pm2v932wN2NC33Dm2lC1933dr34ZS33102YF318i33ab331934g0318a2LH310c32KP27P39ki31A4352L11386L310C34hK37M829727G3215321737fX2M039L622e38cP28d39La31cp32ll321W31h434GH27U32WF32js34LJ39Du34lp374S3314318Y34bX340H33IU355O21r33HX29l21C38PA39KG33aL2vM34R72gX21432P939KO2pC36Y539ks2A039ku356T39KJ39Kq2vB39L02a039L22mp2v739La39l837Pi2hA36vQ317U36NW322J31rR36Tj2Ob32VX34hZ37062aX37m12eg34pr328727932Ag33d938522Gi21K1l392627J31fD33gP33Fi31TZ38r02ax38sd389s321T37Ag38Vf39lh31Bd1d2vL32wg34m8372L1037My2qq22E341R2Sb353v32Uo31i2171O345o1h21x22131FI38IH22H35961722a21v36B233gh382f398r2201c22833O62oP1M21X22234Q31722621w2CV2XN31gt38if38Ih21Z38IT22C22338E935mK2Z439jN39GY39H02fz37LH31Fb2TA34t639gt37Ir26O24739iJ2G434p422b39ic32Gz1n39IF1s1239gL39gn39GP2Bg21U35Jt39gi314433sW37Wy35GI1T33wg339Q39P039hL1m22239iW35IN39Gw39JP33xi37L639H535ij39Jb1t344922V34PE1038mc325439Ok32Hp1e39ON2152rp39j133X6339J2OV38g638Kb25v399o2ze234371635Vg33Ms39g832V229J39lz33Gt27U33Ah2C82KR29J315V1X2G032UV38AQ373O34Wt27K31nE2ol33LP367T39lZ32w933zE39l41421d31f522E2wg331d31t538RL31742F6330133dj39l539s739IQ39s61333Cw318133LZ377434M7398e313324524E2f722u1e22J1422H37Y737Y735ks21K22G26g35ge39is38e939iV2Fh23a34VZ39be31R62mv26224R32QF31kB3184228338l372r32UV23b23835ax1821223522u1N240375Z36X32ax343a2MV2Qc33lj1t26936s138E722Y22w21P1n23D32UR36VK22j22I3268316234pp2dE32JP2Ar374433Ck2cc1233n62Xw34yk33mF352W39ca33Z7355w39b727E351D33bD34G833Gn352r31T239uZ36wH23H373h32ge33bv39CM39GA2m621421832jS35C429j31tz35bc34h835bZ34q72DE372f34nc34PU371Z33N827j2Ax39Fs34pQ39Ev2nY33zj31w92aX33yw24K24N131Z21h39D533gg330Y389d398E36t72Xw37q827939B439ib33y539pT39pV33xm2Hd22H21o1m24a33Y822839Dm1727238bw35I231IX25q36yp39q423L26y2gq339v398N2g722339Qc31GT222399533pJ2FI2JG2f62mB2Ja32H432nc22w35rN2221p1S336621732f633652622962CK39R21933vB27D21422w1122939pb39GX1A39Gz37LF39Pg37LJ2A322p37AV1k25O370i39qt2bP38gk31BY39qX398r1f22136j739O31P39O539Oc39O839j739oB39Od22739OF31c939oi39qw39om39Ot22o36SH2Lu35Xs2ki378W314W33jC39qD21W22X21339z11H26D38hh39Q738e022i338E22r1c336524x399w39JN39Qj1n25r253349C39Xb2222g71U2o81p34AZ34Az1v32et27b151s22L2GO2G52231c26032U527922P2DW378Q39YG2bg38Rg39xU34KC35jK22D2q625437l72zE1e36WI310539921Q22h23D34kj21F34Is33uk39O739o92Kq1g35PJ347K1N25J33nl31Ie1b1t26K36s122537hE1S32z1377T2ov31Ry33Z936hK1O35HX2b725k37Fj39Gm39Go39PH1136Wu39H535u438Mb38MD2Kh23w37ce22721p1R2HW1726M35TK377I39xF39qE39IW21H21V39Po26633nL39JC12229393j34NX24K24k101z349z29G2VJ351431sm328s310c34BC39mF33mf2Wz33Mt330y39AP31SM33MY2wz33EP33Z133Z32YL33GN39Ul35vP35b833Z338Sk32wb377B2oA2P139l5324H31JZ33zp36Uh2B431U7363l38sD23938N539ld324H31xf32O3324g323D37FX33G02l8377534zY319I33z835Yv27E39WE3A3e32Ve38ok39mn39s736AU2gp39SK22E34Ax2p939L32GN39La21t2lY1k39La23A1w2Ay3301232331134GQ2m734Ls330j330c31a72bt34d133eK37NH2IZ28331ZB34LS35cH2BT2bG2Ip39De353F31wc325034aQ31Y436uq2aF35cr2VB347931WX37nE320T33zv326O22s34rt1838vc33in31A7330W33GV330138Sv2Lq2C0374v32TD1023K3a2R39pR39A431bf35YI1d3841370F1039Q425e35qH33QF38To2bq1R21U33x922F21I31BE21k1Z2g71139F932xf1j1S26Z34KM31m435ks2cj29M36Rf21D315836yO33US21I2J924G25J2GQ34Dh1R37BB38TO2P41n21m21l1J3592379u34kC37g738MC2BD2bj21M21o2i410254314v21E31812dl2Ay353j1521034fr35LR2LL39b82em22X34EU1021326R314v358b32xT331l363032Fs22q2ih31F5312t35bF131B38li39Ya37Ar21P1O36dj318b1d342a36WN21031jp1624D26W31Go33w63158317v347h32r121j21333T031jQ121e33TW352334Sc26624y31VQ33891432eg32zc314C21o35HF31N033vQ2P82i521821923734t636wb370m335322b21n2871R1v2Py335V359Y1238C621F3a8G33L7379f32sl1B3aaX37hj33SZ31AS22T34p922a33Sy3a9L28s172342F333KF338L388W1o370L2KZ21635dK34rT29N2Sq31vh1J2wq1725o333v33OP38It16398R31uo321r2qA31lZ33Ti36We21D2yd1u26135sf37E937eB358E359C22U1G35tU21k1A2Ja33CY39Qy1m21G2iv1L36If32x125u33l134Kn31Z62qq2Wq2Gk2jz2MB37cO35Pm33UG37A139R521h2Cs345O1D26k3AB139ps26s38HH38iS33WL1b1O3a0s2J51533552623ada22D3AB335jD36hk32hP34uV1p1k26s3AB121n355Y35t429P22e21j3A73383e34S025R2Zm2Qj3aDW32Jb32z32Aj33Ld31O838l826d23N2hd21Y191P22c39qs21Z33BB18331L2dw31FF191K3acp2Pz37wY378Q327F33CB1E1l22i21U3aEC1a22o334A31OL34p232ze2hD3abO1o26x35a734oT32EG31oP3a9D3AEU328l3abj35IR21s2372Rw39Qt2B031ex31m538Hb16337Q2C43Af72Jz3aaV1F22U2sI22221135Hv171w34P2370h2fI39Xb21B38kF1k14388z33LD29v32Zg14373B2f733W628a33Wk31mX3Ac71q23a1Z33Ee36Wb31R818223368o21Y31l32jz39ob1Q22B38Ij297345O32GZ38Ie2271T22A22637D033QQ37hO25c23X2SI39b61E21M21439J634wF39ql336C23339Qs2RY1B36591921I32Gx31o525N39y12Rm32LW2Bp22G21R2gq39Qu34472Kp2J81521n3a7H3366314b1D24035i135uF39A531QN399w38LG1N26w35v835bJ35kS353J2I51124K31p235JP32gF1S3AfC23y35t722439Eo1C338e33ym39h7339g39Jo2er33xI21F35hO220399Y1Z34P238n92a339F632xT36Sg34WE3ACJ368i2si21U35l431c63aCj3AHd2WQ1Y375727939U939ub1n22639r033Xs35J431bE3a9G39wL2AE34P22i72c43a5i32G82BJ2ss31AG3Akl2vE31IX1Z3ABc32FC314c153aB731O921n3Al837GS21I3aH11g2cU1624x33X232Y71537JW28f310I330L1Z32fq1f327l37gS35k92Rf3AEc22535RN33Nq2A83aiN31pZ14399v2OV2PU35i431Ix35a136pl31En2BJ1I25p37DO32p237D01S39a536Wn21h36RN35oQ32v02uD3ajr28V355333Ju39eO21g34P237EZ35g221l1k21E39jO103AfC1K26r38b422f354433zO23g2fl21y31ZA2L51J1d3aj31I21N38KF1n21027539A431MV314722V34W434ez1u39xS3a0y2m12Jy39Xz2522IH39bE2183a8o31x639nT23734FR23833o52BT39A52O333Tw22021537lG2iP25r375o35uF37KJ35Ui38Ez21X324K313k1f33nX36b22t51f314733wl33t026037DO31t033Oc36Y12hQ21Y38hT33V521U329027921E27j35j42Pl2bG122533AF033qf2B726A359A2od2Cu37D234B033T022n33X93a1Q1T21R21539j73aLt26Q37p122f21k1q364221W39z622d22437ON1e21X38iG22739ov2bx22622z27Q3AKu21U39OZ32Un31gT22J38mK27E35id24P2W133593aGS3aGU33Pi21037g721U340E2Md2AA3AGs1o33sW31iR2a831FH35I029P38DX36S533X32I51L2363ah51022N31B738n33Aaz2G732R123732g827939j539bw3a8N39Z93ad223X38f2313631Bx19328X1M1r27124633a026v38b431b635LY2kl2jG37lh3a6k31c426x3A2r22R2cr311Y1r38Md2Cs22t33K93AgQ1d2172192113agb22r3als28A39f71D1535jd23621R33Fc3agk183AhR22b3aI21R22c3AhU103AHW32R139oO22431Lz31Nj1921z32CP35Em2Cs2XD1d25433x221a21W3A0Y25638HX36RG1O1s39pu33xE259375Z2Yv31Kh3aeL38413aGI27933t937lg1b354235Ho2Zp37eE351N26M38b92793aTE34jZ39JH2b73aEM1M31o33av4325434eC21m2183A8A3A8M3a8e3Abd2BG25635jO39a33Aoq1C33Tw33Kf32gn1r1q21e36w639zs2S522k1u33X93Aaz2gP29T325424m399W36x33AlQ2P41y39iQ33PF33Ph37ir39jA36s63AfV2k339WU23539qs37aC31An21j3aN939BN3Av52or2cq1C25j37fJ33UL31r631R835Qq2Zo33xe21m3An939QS33wt3An935hj35JA35jc35ot36Wd357t357V1p23r26a2F733901R2bG1K1D21L2sK21F36w63aOg21p325336av39IQ37Iq2kH34Or31BA3aU132gM3a701926038fn3aKs2x722T39Uc22723f21f36hk2S01126M38B433X42t523m3aa134mE38Dy39h938E2317v2E73agO35mp1R1u38ex3Ap133Wo2703AjO3adw36l91c1u26E34km39Pr321r38LO33v639JB398m24938c0378X21H343A32eT1M26E3353334h35us33rN33vO33Vq31Bc27J21E33l922t2A82kr26Q35v831eN2jY33WI1P39J93A1F103a873A893A8L3a8C21f3AFP3afR37113aNx352C1N22R34t622p31c8337W33OA38hN39WN39iD3AUk39pW354E22T1M33ek38CB39cd2Sq3ahw24d3A0Q339g35P731zY1a36dJ32Y9143Am81K26635QR33J03Ap62aj1Q359S25i38D61a24F36wy3aV42xP32x538KF31581d2HQ3art31LG26s37fN3at02j82jA2sS2OV39JU3aVF39XZ3AiR22U33cY384d3Are2F72263ALM39F735HE359P3AUs38Ir3aCd348d23433TA33zs1325I33rE35I23B1S3ax539o71n3atI3aTi2Ja39zZ3a2G33PI26O3aSn27931M41q24D3ASf2392Bd32X42sQ2213AkX2iI39Y325R3A7935I232uo3B1w1L37K52KL3b3D2q31m39JI1L23S3aSf39QU3aNG31BF1k2353aPo103APQ12172Fe31r827U24M34Km3avY2s624x35v823b1o1t349q2cq2hq3AoX2F739Qu2B739W638i91i3AN53ate3ahk343a318b1O25V3b2u34IU370t34fl2Jn2103aMZ10378g3ajq21f359137kw36YP3As31v38M439u037oN39BG21f21z31gO22B21E1O21g2142UD346x2eq21j3aWA173Ak03ADW31y13aDy24i3Aw82ly143amV1N1e3ALK33w634to3Alo3AFB3B4226e3b1Q359B3B4Y31BF21Z22V3Af831p12kl31aH31t421H3A9Y21H337r35LR3AdG1J26937FN3Auh3auJ2102wg337n21729Z3B4k1p354Q1j35ya22M34s938J124D375G38kT379c35uk35Mf36Sd314O36Rq23C39bt3aE63au63Ae93Au926233o22jH21c38Jm35Ur31c921e37G73ajv3aaT341a2iW3auJ24M35v437k7352039YN22W287355X3A8f3ALH2Bg38bz2ov34RS29F2ak21C26J370R358B1533c532ez31bF34463AmK331p25q3a2839PZ3A2B26Z37EO3as939J71339bg38a731Go3aDw39xv2Ll33663ayy359l32X425V37fj387j3AYG2BG23225634Zk21s26726731QE2PZ3aDW1n32Uo33jE314C35PJ38M43b9Y31Il29226124O2oe2261X21l33L92cl2wo37D939BN3AQ934103a1R21A36w63aBg312d1138Hd32tk23I36Sh22u39Kj1t24m38hx23B32K031432jZ1e1H24G35jO37Jj37fv339632sp2IN3aG21e39Gv3ak139PD39yf39h32AS36PL3B2P3a8P25I2552GQ3adw3AIZ1q3AJ13aj339nt2wq2KR1D39fd2sI3B5q31AN1t21821f21621R21z2Kr32Z13ap439YO314335xs340H3B9i32X232x421K36Sh3B621421H33L93At032ZK3aMg37KH335v21P34Ps3Aqj3AEB1K26933nT3aB83aA439PG32r1358D2nd26939SU2zJ21h2JI35K921H23A3aFo3Aed36s122p33Oa31r71R24g375Z2203A9Q3A9s311325q35sF3ArG1r33zo21P2q21837h121F1t1D21g3B5937AS2yM32x321c35l425t3ADa21u393P31gV21g173ajR3afN3aec26s24A2g031IR2771L3AHw3b5637IS36rx31Gp1S1U26Q35P133gy3AvK1123R37cE3BCQ34QV1r25s33Jt3aKT33xI2323Bcc37AG2G91g21m33AX21d3B783BEq3aHw26934km3b7336Hk22n39qA3AN63aAT21r3aIo31ES3AMH39WL3AYf31k339Q137A238HI33xk38f03asf336o33wK2EM25b35V435Hy35Ec2C43A213B8923j33k93AB237D01622G35jt22Q2Ll1326X33Nl2382Bx1G27124935Vf2WV28b37oq374426g26033M821617392631Si32Q739v632BN31tB24G24033fM36un32E124824o39EK25y26E32292502R432AW23337ob322F24v24f32b023k24W311X35xq25k26W37Un32Fi23022K35yz32FX32QU343Y21s32tj345Z386s32h225I383w32pa25T269345b24m24632pe21C22723J311X348K26226I385K31dn25q272311x36J13bHr36l021c26P25D36iB36ID33EB36IG38w7311x38e921C24K244311X2Co21c25X26D311X3az621c25a23Y311X1d1V21C38OS1i21E1W37452oF21f32L525223Q311X32H321C24H241311X21d1Z21C26126H311X21I21021c24E24u311X21J21137xT21g21221c26q25e311x21H21321c383n2OF3AIb21C26r25f311X21n21521c33zr311x21k21621C25M26Y311x21L21721C22523H311x21q21821c27225Q311X21R21921C25H26t311X21O21a21c23R253311x21p21B39442Of1Y32wC26s31QA1I1Z33Aw24w23k311X1w21e21C22c377K2OF346Q21c23L24X311x21221G21c26825s33M81l348g2QS310c26y25M35bO38YE33cf21c25133Q533bq24o248331R32Pp32MI32263852320h37Rg32Aw22j35DP32eI21c37XR2Of326k36a13bI232f326h334537r121c24624m3biA21C23U25637xs3a9i360W24C24S36bY385i34a623b384m32qa32j032W932PV21c22423g3BIv347l25s2683bIz21c26726N3bJ336i324z23n3BJ622x22h3bjA21c27325R311x36IG25G383L2Of3bjG25L26X3bjk37g126W25k3BjP32R9374d3bjv21c21V31852Of3bk021C24b24r311x3bK421C22m2323bk83BmC22I27S2Of3bkE21C25R2733BkJ3BkL22N318U1I3bkq38L632BF3bkT34a7322E3BKZ36al3BL321432Fy3ANW3BLa23V2573blD3BLf22h22X3blj3BLl364X3BLq21C323P3BlV3BLx21431vQ1i3bm232i13BM73Bm926E25Y311x3Bmc21c26026G311X3BMH21C3bJ13BmL3Bmn24q33R81I3BmS32Pd2Of3bMX361B23a3BN2348G39mc21c24f315b33gn381031Tb23y25a33fm36II3BNi37mH322625723v322935n031ZP391a3BNS32N2326K36iS3BnY21C23z39b237x432Fi22223e3BO626x25l37xS21W3434360w369X32NP366134A624T24D345B22v33na3BON23X2593bOr21C22839Er36IU21C26K2643BOZ21c26V25j3bJ637US36j836Id36lu1R322a3Bjg24024G3Bpi21C393e1i3BJq32eq32hP3bjw26Z25N311X3BpU26925t3Bpy32L524x23L3bQ336cT3Bkd3bkf26426k3bQC21c24U24e3BKP3BKR345A2oF3bQk25823W3bkY3Bl025423S311x3bL4329Y3bqs21C362e3BqW21c26u25I3bR02Ot33I53Br337Tc38UL3BLx25623U3BM13Bm321u2363brD21c37vx3bmB32WC27025O3bRm33aw25U26A3brQ21c31Ib311X3BMS38NU1i3bRy38Q831sM3Bn321G39Ad38sQ37No33GN381333FJ24d24t33Fm36EA3BNI37vv32ct34d7345t320h25D26p31Zp33AX36GW31W724r33Yp3BNV31Zw22k2303BSR22323F3BI639EL37R937pT37V625b23Z35ZT24L24536bY25923x34a621T235345b25F26r3Bir2443a372OF348k23q2523Bov3bMJ3bTQ23M24y3Bj623G384x1I36j931a036gW36Ig26L37j03bpe1s21C25p2713BU433Ey3BjQ26B25v3Bju3BJw34a23bue3bK1395q3Bk332l5395m3bum23w2583bUO21c24A24q3bUs2Q23BUW21C25C26O311X3bqk21z23B3BV321c24n2473Bv73bQQ37Yl3bL83bLa26I2623bVD36c01i3Blk21C25523t3bLP3bLr22623i3Br621C22d33ii2oF3brB346w3Bm821C26M2663BrH32wC26632Y23bMG33aW24324J3bW521x2dz3bmr21f21c24124h3bMW3bmy23n24Z3Bs12A22OP310C22L35BV2L82Id2O8316a3c1635BA31sx37TT39dl39e033bq37tt23n23r1422x23z3BHP1025z25z33zI384L33212dv312T35CK39ET32Sc25Z26F342l237385J3Bx539D81X38qN23g23G1I35Xq3c1B32G0383A37pU1932ST37Pu33Z635xh38qK31zW39Ku31C534232L731zz2171X2qJ3C1g1421N26K3c1O1026F3C1y32wa1421a3C1Q31tl1425125139dL3c1V31tz24724N33282192C435VT343835Vv15343c2oE2LP1623823b35eI28623823432E5320937TN327437Ls320924O3BK7327D340a24c24c35wp33Z723w33oA26S3bzc27D383v33ZI33yi2ee3C491427326z27E26W3bi532Ct21a3C4G32Dc34jd23O3C4921k21n2dl2e026z3C4l3c4p2532493c4h33Oa32sZ27D2713bYL3C523C543c4s34jD3c4v3C4X32Vf2de31zd1Q393J3C4u39163C5G2E0315D3c4P24Q3bHS34u63c4134u8311m24X24x322F38WE372832aW22p31AD3bnS24J24337pu34Ch16381B22E21h22R329C3c6c36RS24l24L3c6c21J22P26q26Q3C6c26m25426l26l3c6c328026J26J3c6c34iS31Fd343A1D23833jg2e837e723838A736oU1f23122Y2oV28B2ra34Gh36GD38Rp345Z25j383t32Np37mO34a937yP344w1325t25u37sh37TM3Bnk32GQ26N26734A933My32Gi2703c7u37t21g32uv345z26t25h36BY32sF34A921734c937qJ3C7W35zt3c7z3c8137n632gi24K3bvp3c86236236345z3930365f31so397O22t2kL2cd33jr350e2eN33T732qz24626B32p43c5v362322g2212jb3C5z32Kk24237ih32Qd32qX32mY3c9b1H35Yn32Kk25w26c385P3c6a21d36Ir26A25037ZJ36IR23M25W32Lp3c9T36hS27324p22v22v3cA222e26n25523r23r3ca825W23M26326336jK23933In34du32hb32rT36Gf39Ga346N3c2032nr21A3C9937uD363037uB32rE31Tf346u35xs1C315U23O2462ad22638e727D314Q36gw362j258242347U34bZ2WT32Jp342T32pE21a3caS3bxy1M3CaU3c421x36hJ31eo3CAy347r31tF347r3cB22QA37tx2Oq37u11I37U027u346U33Yw2Hi21W22N27P31py36GG346n3cAV345Y22G38Y63C5y37uH3C9G3cc3345G362l3cCI1i35yn32m03c9P36hE3a4439S536LD3c9V37Zj36Ld3c9z22w22W36mV22E3CA434sS3cd53caA341W32re21721q322e3Cbd3cbf38533CbH385P3cbk37tu21c33At2QT37ty3cC63cc43BPs3cDR33Yw32Om36lZ22t22o2xW22N22m3cBc32I027125P2Ee3cB621K22L31eN2E022p3cdz38143cBm3C21362S3cav37u93cAy346u31Tf32H734C6345B25N3c5139Kz3Ber1d37u5348k22123D36he36nX312Y32I322i22732jP1K3cEt3CdJ27U2aj36gE27u2q332f237u536J13cEY36JB2ON32g71o3ceT386E33Ae33w7311m37Od35te39o83ACZ27i2aj385r2eE2472mC23s2fA27d373Z36gW36hV25N3bJO29Q21l3557312H3CFs32eg384d316536iC21a26m25c27I31aM3a0f34zN3AVU39Rl3CFj34ck28323O2432J82EF2xW23h23G36OF21k1p38gk1o3C501x2rR36hk1M3c5023o24d33W33B3627K339223K38DI113Cgf39FQ3BYA36Id26F3C2x31ih32XT31eO3C5037d03a19335z36If3BTz363w31k32s52aj335Z3CHl1P3blL2F31I36I621A26Z25X27I3AVu3cgO3cGm3ab53cFv27U32eg3cI839fL23X24627p3cFE3cHN36J13ChQ2eB3Ch33cha3cHv349q32KR32eG33GH36J53Ci132Eg2v033gg36Hl21721E340p36LK3CID27i349Q3cih3cil1P2Jm31092q33cja340P34z9"),(#S-(90));local function o(e,l,...)if(e==636374144)then return((n(n((n(l,438409))-367557,309246),337310))-785949);elseif(e==846753650)then return(n(n(n((l)-577882,245934),590080),675613));elseif(e==393284996)then return(n((n(l,416013))-135136,364343));elseif(e==380873675)then return(n((n(l,566224))-336685,230489));elseif(e==97056322)then return((((l)-620050)-992619)-885415);elseif(e==535474275)then return((n((((l)-323239)-961070)-644396,762125))-537682);elseif(e==642804936)then return((n(n(l,201772),475416))-557783);elseif(e==451822467)then return(n(n((n((l)-364383,364491))-520576,129063),855633));elseif(e==529335685)then return(((n((n(l,885392))-274786,849042))-727467)-710681);elseif(e==858399915)then return(n(n(n(n(l,94015),40980),446851),882952));elseif(e==464553873)then return((n(n(n(l,627370),770339),565153))-332116);elseif(e==196351958)then return(n(n(n(n(l,884075),526198),904092),255366));elseif(e==288220906)then return(n(n((l)-768418,359828),388984));else end;end;if _ENV then _ENV._ENV=_ENV end;local C=l.GGcO3D;local o=l[(798377686)];local B=l[((#{203;728;}+621879973))];local d=l.q0TnsXw10z;local h=l[(971606211)];local F=l.OA2EmM;local E=l[(155626034)];local D=l[(790596004)];local a=l.wXgWFJGq6I;local function t()local d,l=x(u,i,i+a);d=n(d,e);e=d%o;l=n(l,e);e=l%o;i=i+a;return((l*o)+d);end;local function c()local l=n(x(u,i,i),e);e=l%o;i=(i+d);return(l);end;local function f(n,l,e)if(e)then local l=(n/a^(l-d))%a^((e-d)-(l-d)+d);return(l-(l%d));else local l=a^(l-d);return(((n%(l+l)>=l)and(d))or(D));end;end;local function a()local l,a,d,t=x(u,i,i+C);l=n(l,e);e=l%o;a=n(a,e);e=a%o;d=n(d,e);e=d%o;t=n(t,e);e=t%o;i+=F;return((t*B)+(d*E)+(a*o)+l);end;local C=""..l[h];local function D(...)return({...}),I(C,...);end;local function q(...)local F=l['wXgWFJGq6I'];local C=l['OA2EmM'];local E=l[(34837246)];local I=l[(806747042)];local r=l[(851532325)];local v=l[(741226736)];local B=l[(46123586)];local U=l[(195997323)];local k=l[((879210457-#("perth is sus")))];local d=l[(790596004)];local b=l["GGcO3D"];local _=l[((#{826;}+656030104))];local y=l[((838218382-#("sus")))];local m=l[(400217562)];local S=l[(758694783)];local N=l[(347749574)];local D=l['x1o4T0a'];local p=l[(798377686)];local o=l['q0TnsXw10z'];local w=l[(139976099)];local W=l[(83806324)];local function g(...)local h=({});local l=({});local O=({});local M=t(e);local G=c(e);for l=d,a(e)-o,o do O[l]=g();end;for t=d,a(e)-o,o do local h=c(e);if(h%r==B)then local e=c(e);l[t]=(e~=d);elseif(h%r==D)then while(true)do local i=a(e);local n=a(e);local a=o;local i=(f(n,o,v)*(F^m))+i;local e=f(n,r,_);local n=((-o)^f(n,m));if(e==d)then if(i==d)then l[t]=T(n*d);break;else e=o;a=d;end;elseif(e==W)then l[t]=(i==d)and(n*(o/d))or(n*(d/d));break;end;local e=Y(n,e-S)*(a+(i/(F^k)));l[t]=e%o==d and T(e)or e break;end;elseif(h%r==d)then while(true)do local e=a(e);l[t]=s(u,i,i+e-o);i=i+e;break;end;elseif(h%r==F)then while(true)do local a=a(e);if(a==d)then l[t]=('');break;end;if(a>N)then local d,c=(''),(s(u,i,i+a-o));i=i+a;for l=o,#c,o do local l=n(x(s(c,l,l)),e);e=l%p;d=d..A[l];end;l[t]=d;else local o,d=(''),({x(u,i,i+a-o)});i=i+a;for d,l in ll(d)do local l=n(l,e);e=l%p;o=o..A[l];end;l[t]=o;end;break;end;else l[t]=nil end;end;local n=a(e);for l=d,n-o,o do h[l]=({});end;for g=d,n-o,o do local n=c(e);if(n~=d)then n=n-o;local p,r,u,s,A,i=d,d,d,d,d,d;local x=f(n,o,b);if(x==o)then i=(t(e));u=(c(e));r=(a(e));elseif(x==F)then i=(t(e));u=(c(e));r=h[(a(e))];elseif(x==d)then i=(t(e));u=(c(e));r=(t(e));s=(t(e));elseif(x==E)then elseif(x==B)then i=(t(e));u=(c(e));r=(a(e));s=(t(e));A=({});for l=o,s,o do A[l]=({[d]=c(e),[o]=t(e)});end;elseif(x==b)then i=(t(e));u=(c(e));r=h[(a(e))];s=(t(e));end;if(f(n,C,C)==o)then i=l[i];end;if(f(n,E,E)==o)then s=l[s];end;if(f(n,B,B)==o)then r=l[r];end;if(f(n,w,w)==o)then p=h[a(e)];else p=h[g+o];end;if(f(n,D,D)==o)then A=({});for l=o,c(),o do A[l]=a();end;end;local l=h[g];l['HiY2lYgFot']=u;l[I]=s;l["ipG"]=A;l[-152313.40285803023]=i;l[U]=r;l["n9s5U"]=p;end;end;return({['BUmWoHH']=G;["pfpuj"]=h;[-y]=d;['QbgnWgFnH']=O;['sXAa0nO']=M;["njFV"]=l;});end;return(g(...));end;local function B(l,f,t,...)local s=0;local g=t['\86\101\99\116\111\114\51'];local c=l["sXAa0nO"];local a=l["BUmWoHH"];local h=l["pfpuj"];local F=l["QbgnWgFnH"];local l=l['njFV'];return(function(...)local E=(I(C,...)-1);local l=(true);local l=(393735329);local e={};local A={};local u=({});local C="HiY2lYgFot";local o=-152313.40285803023;local d=820641;local w='ipG';local i=847259;local n="n9s5U";local x={...};local s=h[s];local h=-(1);local l=g and 1 or 0;for l=0,E,l do if(l>=a)then A[l-a]=x[l+1];else e[l]=x[l+1];end;end;local x=E-a+1;repeat local l=s;local a=l[C];s=l[n];if(a<=59)then if(a<=29)then if(a<=14)then if(a<=6)then if(a<=2)then if(a<=0)then l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];f[l[d]]=e[l[o]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local o=l[o];e[o]=e[o](e[o+1]);for l=o+1,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a>1)then local o=l[o];e[o](e[1+o]);for l=o,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<2)then e[l[o]]=e[l[d]][e[l[i]]];end;elseif(a<=4)then if(a>3)then if(not(e[l[o]]))then s=l[d];end;elseif(a<4)then t[l[d]]=e[l[o]];end;elseif(a==5)then e[l[o]]=p(256);elseif(a<=6)then e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];l=l[n];end;elseif(a<=10)then if(a<=8)then if(a>7)then e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=p(256);l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];local a=l[o];local d=e[l[d]];e[a+1]=d;e[a]=d[l[i]];l=l[n];local o=l[o];e[o](e[1+o]);for l=o,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<8)then local n=l[o];local o,l=D(e[n](r(e,n+1,l[d])));h=l+n-1;local l=0;for n=n,h do l=l+1;e[n]=o[l];end;end;elseif(a>9)then e[l[o]]=e[l[d]][l[i]];l=l[n];f[l[d]]=e[l[o]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];f[l[d]]=e[l[o]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];local o=l[o];local d=e[l[d]];e[o+1]=d;e[o]=d[l[i]];l=l[n];l=l[n];elseif(a<10)then local n=l[o];e[n]=e[n](r(e,n+1,l[d]));for l=n+1,c do e[l]=nil;end;end;elseif(a<=12)then if(a==11)then e[l[o]]();elseif(a<=12)then local l=l[o];e[l]=e[l](e[l+1]);for l=l+1,c do e[l]=nil;end;end;elseif(a==13)then f[l[d]]=e[l[o]];l=l[n];l=l[n];elseif(a<=14)then local n=l[o];local d={e[n](r(e,n+1,h));};local o=l[i];local l=0;for n=n,o do l=l+1;e[n]=d[l];end;for l=o+1,c do e[l]=nil;end;end;elseif(a<=21)then if(a<=17)then if(a<=15)then e[l[o]]=t[l[d]];l=l[n];local t=l[o];local a=e[l[d]];e[t+1]=a;e[t]=a[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];local o=l[o];local d=e[l[d]];e[o+1]=d;e[o]=d[l[i]];l=l[n];l=l[n];elseif(a>16)then local d=l[d];local n=e[d];for l=d+1,l[i]do n=n..e[l];end;e[l[o]]=n;elseif(a<17)then e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=l[d];l=l[n];l=l[n];end;elseif(a<=19)then if(a==18)then e[l[o]]=f[l[d]];l=l[n];local a=l[o];local d=e[l[d]];e[a+1]=d;e[a]=d[l[i]];l=l[n];local o=l[o];e[o](e[1+o]);for l=o,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<=19)then e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];local a=l[o];local o=e[l[d]];e[a+1]=o;e[a]=o[l[i]];l=l[n];l=l[n];end;elseif(a==20)then if(e[l[o]]>e[l[i]])then s=l[d];end;elseif(a<=21)then local n=l[o];local d=l[d];local o=50*(l[i]-1);local i=e[n];local l=0;for d=n+1,d do i[o+l+1]=e[n+(d-n)];l=l+1;end;end;elseif(a<=25)then if(a<=23)then if(a==22)then e[l[o]]=e[l[d]]/l[i];elseif(a<=23)then e[l[o]]=e[l[d]][l[i]];end;elseif(a==24)then e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=e[l[d]];l=l[n];local a=l[o];e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];l=l[n];elseif(a<=25)then e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];l=l[n];end;elseif(a<=27)then if(a==26)then s=l[d];elseif(a<=27)then e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];l=l[n];end;elseif(a>28)then local l=l[o];e[l](r(e,l+1,h));for l=l+1,h do e[l]=nil;end;elseif(a<29)then if(e[l[o]]~=e[l[i]])then s=l[d];end;end;elseif(a<=44)then if(a<=36)then if(a<=32)then if(a<=30)then local o=l[o];local i=l[i];local n=o+2;local o=({e[o](e[o+1],e[n]);});for l=1,i do e[n+l]=o[l];end;local o=o[1];if(o)then e[n]=o;s=l[d];end;elseif(a>31)then for l=l[o],l[d]do e[l]=(nil);end;l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=(l[d]~=0);l=l[n];local a=l[o];e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];l=l[n];elseif(a<32)then e[l[o]]=e[l[d]];end;elseif(a<=34)then if(a>33)then for l=l[o],l[d]do e[l]=(nil);end;l=l[n];e[l[o]]=t[l[d]];l=l[n];local f=l[o];local a=e[l[d]];e[f+1]=a;e[f]=a[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];local a=l[o];local t=e[l[d]];e[a+1]=t;e[a]=t[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];local a=l[o];local t=e[l[d]];e[a+1]=t;e[a]=t[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local o=l[o];e[o]=e[o](r(e,o+1,l[d]));for l=o+1,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<34)then local o=l[o];e[o](e[1+o]);for l=o,c do e[l]=nil;end;l=l[n];l=l[n];end;elseif(a>35)then e[l[o]]=e[l[d]]+l[i];elseif(a<36)then if(e[l[o]]~=l[i])then s=l[d];end;end;elseif(a<=40)then if(a<=38)then if(a>37)then e[l[o]]=e[l[d]]-e[l[i]];elseif(a<38)then do return(e[l[o]]);end;end;elseif(a==39)then if(e[l[o]]==l[i])then s=l[d];end;elseif(a<=40)then for l=l[o],l[d]do e[l]=(nil);end;end;elseif(a<=42)then if(a>41)then e[l[o]]=p(l[d]);elseif(a<42)then e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];l=l[n];end;elseif(a==43)then local n=l[o];e[n](r(e,n+1,l[d]));for l=n+1,c do e[l]=nil;end;elseif(a<=44)then local n=l[o];do return e[n](r(e,n+1,l[d]))end;end;elseif(a<=51)then if(a<=47)then if(a<=45)then local l=l[o];local o,n=D(e[l](e[l+1]));h=n+l-1;local n=0;for l=l,h do n=n+1;e[l]=o[n];end;elseif(a>46)then l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];l=l[n];elseif(a<47)then e[l[o]]=t[l[d]];end;elseif(a<=49)then if(a==48)then e[l[o]]=l[d];elseif(a<=49)then l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];e[l[o]]=e[l[d]]/e[l[i]];l=l[n];e[l[o]]=e[l[d]]/l[i];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];l=l[n];end;elseif(a>50)then l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]+e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];e[l[o]]=e[l[d]]-l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];local a=l[o];local c,t=D(e[a](r(e,a+1,l[d])));h=t+a-1;local t=0;for l=a,h do t=t+1;e[l]=c[t];end;l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,h));for l=a+1,h do e[l]=nil;end;l=l[n];e[l[o]]=f[l[d]];l=l[n];local t=l[o];local a=e[l[d]];e[t+1]=a;e[t]=a[l[i]];l=l[n];e[l[o]]=e[l[d]];l=l[n];l=l[n];elseif(a<51)then e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];l=l[n];end;elseif(a<=55)then if(a<=53)then if(a>52)then l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]/l[i];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]/l[i];l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]/l[i];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]/l[i];l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];local i=l[o];do return e[i](r(e,i+1,l[d]))end;l=l[n];local o=l[o];do return r(e,o,h);end;l=l[n];l=l[n];elseif(a<53)then local l=l[o];do return e[l](r(e,l+1,h))end;end;elseif(a==54)then e[l[o]]=e[l[d]]/e[l[i]];elseif(a<=55)then if(e[l[o]]>=e[l[i]])then s=l[d];end;end;elseif(a<=57)then if(a>56)then e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]];l=l[n];e[l[o]]=e[l[d]];l=l[n];local o=l[o];e[o](r(e,o+1,l[d]));for l=o+1,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<57)then if(e[l[o]])then s=l[d];end;end;elseif(a>58)then local n=l[o];local i=e[n+2];local o=e[n]+i;e[n]=o;if(i>0)then if(o<=e[n+1])then s=l[d];e[n+3]=o;end;elseif(o>=e[n+1])then s=l[d];e[n+3]=o;end;elseif(a<59)then e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];l=l[n];end;elseif(a<=89)then if(a<=74)then if(a<=66)then if(a<=62)then if(a<=60)then local i=l[o];local d={};for l=1,#u,1 do local l=u[l];for n=0,#l,1 do local l=l[n];local o=l[1];local n=l[2];if((o==e)and(n>=i))then d[n]=o[n];l[1]=d;end;end;end;elseif(a>61)then e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];l=l[n];elseif(a<62)then e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];l=l[n];end;elseif(a<=64)then if(a==63)then local l=l[o];do return r(e,l,h);end;elseif(a<=64)then l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];for l=l[o],l[d]do e[l]=(nil);end;l=l[n];e[l[o]]=f[l[d]];l=l[n];local a=l[o];local t=e[l[d]];e[a+1]=t;e[a]=t[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];local a=l[o];local o=e[l[d]];e[a+1]=o;e[a]=o[l[i]];l=l[n];l=l[n];end;elseif(a==65)then do return(e[l[o]]);end;l=l[n];l=l[n];elseif(a<=66)then local n=l[o];local d={e[n](e[n+1]);};local o=l[i];local l=0;for n=n,o do l=l+1;e[n]=d[l];end;for l=o+1,c do e[l]=nil;end;end;elseif(a<=70)then if(a<=68)then if(a>67)then l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]+e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]+e[l[i]];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];local a=l[o];local h=e[l[d]];e[a+1]=h;e[a]=h[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];local c=l[o];local a=e[l[d]];e[c+1]=a;e[c]=a[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];l=l[n];elseif(a<68)then f[l[d]]=e[l[o]];end;elseif(a==69)then elseif(a<=70)then e[l[o]]=e[l[d]][l[i]];l=l[n];f[l[d]]=e[l[o]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];f[l[d]]=e[l[o]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];local o=l[o];local d=e[l[d]];e[o+1]=d;e[o]=d[l[i]];l=l[n];l=l[n];end;elseif(a<=72)then if(a>71)then do return;end;elseif(a<72)then e[l[o]]=e[l[d]]+e[l[i]];end;elseif(a>73)then l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];l=l[n];elseif(a<74)then e[l[o]]=e[l[d]]-l[i];end;elseif(a<=81)then if(a<=77)then if(a<=75)then e[l[o]][e[l[d]]]=e[l[i]];elseif(a==76)then e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];l=l[n];elseif(a<=77)then e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];l=l[n];end;elseif(a<=79)then if(a==78)then e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=p(256);l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];local a=l[o];local d=e[l[d]];e[a+1]=d;e[a]=d[l[i]];l=l[n];local o=l[o];e[o](e[1+o]);for l=o,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<=79)then l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]]-e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]+e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]+e[l[i]];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];local a=l[o];local h=e[l[d]];e[a+1]=h;e[a]=h[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];local c=l[o];local a=e[l[d]];e[c+1]=a;e[c]=a[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];l=l[n];end;elseif(a==80)then local l=l[o];do return(e[l]),(e[l+1]);end;elseif(a<=81)then e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];l=l[n];end;elseif(a<=85)then if(a<=83)then if(a>82)then if(e[l[o]]<e[l[i]])then s=l[d];end;elseif(a<83)then e[l[o]][e[l[d]]]=l[i];end;elseif(a==84)then e[l[o]]=e[l[d]];l=l[n];e[l[o]]=f[l[d]];l=l[n];local h=l[o];local a=e[l[d]];e[h+1]=a;e[h]=a[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]]/e[l[i]];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local i=l[o];e[i](r(e,i+1,l[d]));for l=i+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=l[d];l=l[n];local o=l[o];e[o](e[1+o]);for l=o,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<=85)then e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];l=l[n];end;elseif(a<=87)then if(a>86)then local l=l[o];e[l](e[1+l]);for l=l,c do e[l]=nil;end;elseif(a<87)then e[l[o]][l[d]]=l[i];end;elseif(a>88)then e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]];l=l[n];l=l[n];elseif(a<89)then local n=l[o];local o=e[l[d]];e[n+1]=o;e[n]=o[l[i]];end;elseif(a<=104)then if(a<=96)then if(a<=92)then if(a<=90)then local n=l[o];local d=({e[n](r(e,n+1,l[d]))});local o=l[i];local l=0;for n=n,o,1 do l=l+1;e[n]=d[l];end;for l=o+1,c do e[l]=nil;end;elseif(a==91)then e[l[o]]=({(nil)});elseif(a<=92)then if(e[l[o]]>=l[i])then s=l[d];end;end;elseif(a<=94)then if(a==93)then l=l[n];local d=l[o];h=d+x-1;for l=0,x do e[d+l]=A[l];end;for l=h+1,c do e[l]=nil;end;l=l[n];local o=l[o];do return r(e,o,h);end;l=l[n];l=l[n];elseif(a<=94)then e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=e[l[d]];l=l[n];e[l[o]]=e[l[d]];l=l[n];e[l[o]]=e[l[d]];l=l[n];local o=l[o];e[o](r(e,o+1,l[d]));for l=o+1,c do e[l]=nil;end;l=l[n];l=l[n];end;elseif(a==95)then e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][e[l[i]]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=f[l[d]];l=l[n];local a=l[o];local d=e[l[d]];e[a+1]=d;e[a]=d[l[i]];l=l[n];local o=l[o];e[o](e[1+o]);for l=o,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<=96)then e[l[o]]=(l[d]~=0);end;elseif(a<=100)then if(a<=98)then if(a==97)then l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]]+e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][e[l[i]]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];l=l[n];elseif(a<=98)then e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local i=l[o];e[i](r(e,i+1,l[d]));for l=i+1,c do e[l]=nil;end;l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];l=l[n];end;elseif(a==99)then l=l[n];e[l[o]]=f[l[d]];l=l[n];local a=l[o];local d=e[l[d]];e[a+1]=d;e[a]=d[l[i]];l=l[n];local o=l[o];e[o](e[1+o]);for l=o,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<=100)then if(l[o]>=e[l[i]])then s=l[d];end;end;elseif(a<=102)then if(a==101)then f[l[d]]=e[l[o]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];f[l[d]]=e[l[o]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local o=l[o];e[o]=e[o](r(e,o+1,l[d]));for l=o+1,c do e[l]=nil;end;l=l[n];l=l[n];elseif(a<=102)then l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];l=l[n];end;elseif(a>103)then l=l[n];e[l[o]]=f[l[d]];l=l[n];local h=l[o];local a=e[l[d]];e[h+1]=a;e[h]=a[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=e[l[d]]+e[l[i]];l=l[n];for l=l[o],l[d]do e[l]=(nil);end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local i=l[o];e[i](r(e,i+1,l[d]));for l=i+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=l[d];l=l[n];local i=l[o];e[i](e[1+i]);for l=i,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];l=l[n];elseif(a<104)then if(e[l[o]]==e[l[i]])then s=l[d];end;end;elseif(a<=112)then if(a<=108)then if(a<=106)then if(a==105)then local n=l[o];e[n]=0+(e[n]);e[n+1]=0+(e[n+1]);e[n+2]=0+(e[n+2]);local o=e[n];local i=e[n+2];if(i>0)then if(o>e[n+1])then s=l[d];else e[n+3]=o;end;elseif(o<e[n+1])then s=l[d];else e[n+3]=o;end;elseif(a<=106)then local l=l[o];h=l+x-1;for n=0,x do e[l+n]=A[n];end;for l=h+1,c do e[l]=nil;end;end;elseif(a==107)then local n=l[o];local d=e[n];local l,o=0,50*(l[i]-1);for n=n+1,h,1 do d[o+l+1]=e[n];l=l+1;end;elseif(a<=108)then l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];l=l[n];end;elseif(a<=110)then if(a==109)then local d=F[l[d]];local a=l[w];local n={};local c=Z({},{__index=function(e,l)local l=n[l];return(l[1][l[2]]);end,__newindex=function(o,l,e)local l=n[l];l[1][l[2]]=e;end;});for l=1,l[i],1 do local o=a[l];if(o[0]==0)then n[l-1]=({e,o[1]});else n[l-1]=({f,o[1]});end;u[#u+1]=n;end;e[l[o]]=B(d,c,t);elseif(a<=110)then l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];l=l[n];end;elseif(a>111)then l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];l=l[n];elseif(a<112)then e[l[o]]=f[l[d]];end;elseif(a<=116)then if(a<=114)then if(a==113)then local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];local f=l[o];local a=e[l[d]];e[f+1]=a;e[f]=a[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=e[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];local s,f=D(e[a](r(e,a+1,l[d])));h=f+a-1;local f=0;for l=a,h do f=f+1;e[l]=s[f];end;l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,h));for l=a+1,h do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a](e[1+a]);for l=a,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];l=l[n];elseif(a<=114)then e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];l=l[n];end;elseif(a==115)then local l=l[o];e[l]=e[l](r(e,l+1,h));for l=l+1,h do e[l]=nil;end;elseif(a<=116)then e[l[o]]=B(F[l[d]],(nil),t);end;elseif(a<=118)then if(a==117)then e[l[o]][l[d]]=e[l[i]];elseif(a<=118)then e[l[o]]=e[l[d]];l=l[n];local a=l[o];e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=e[l[d]];l=l[n];local a=l[o];e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=f[l[d]];l=l[n];e[l[o]]=e[l[d]]/e[l[i]];l=l[n];e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](r(e,a+1,l[d]));for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=l[d];l=l[n];e[l[o]]=l[d];l=l[n];l=l[n];end;elseif(a==119)then e[l[o]]=l[d];l=l[n];local a=l[o];e[a]=e[a](e[a+1]);for l=a+1,c do e[l]=nil;end;l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]]=e[l[d]][l[i]];l=l[n];e[l[o]][l[d]]=e[l[i]];l=l[n];e[l[o]][l[d]]=l[i];l=l[n];e[l[o]]=t[l[d]];l=l[n];l=l[n];elseif(a<=120)then e[l[o]]=#e[l[d]];end;until false end);end;return B(q(),{},N())(...);end)(({['q4J2W']=(((400957670-#("Get real and fake simultaneously"))));[(851532325)]=((21));[((155626058-#("*nuzzles your bulge* OwO")))]=(((#{617;792;252;505;(function(...)return 714;end)()}+65531)));o1o80O=("\115");["Tv8pW400"]=(((#{(function(...)return 550,18;end)()}+426145562)));[((#{978;741;187;251;(function(...)return 230,441;end)()}+154884425))]=((919));[(879210445)]=((52));["iFekFdVSc"]=((34));[((#{819;338;361;947;}+465262664))]=("\40");[((524314337-#("Praise be to Allah")))]=((508023194));[(347749574)]=((5000));[((911066350-#("Ara ara, this looks kinda big for someone of your calibre... Also Pratham#6969 was here!")))]=("\114");[((#{(function(...)return 823,111,97,264;end)()}+656030101))]=((31));[(921903887)]=("\111");[(228858373)]=((765901552));[(46123586)]=(((#{452;102;999;606;(function(...)return...;end)(726,55,556)}-2)));['Ut0wYEA3']=(((#{(function(...)return 97,497,625;end)()}+54524383)));ei8bhHVs=((449));[(724610776)]=((771));[(101598967)]=(((#{(function(...)return 417,102,908,735;end)()}+136932237)));[((#{332;900;211;(function(...)return 502;end)()}+642605178))]=("\107");[((#{(function(...)return;end)()}+758694783))]=((1023));[((#{76;(function(...)return 272,976,772,345;end)()}+465998686))]=(((281-#("Psu is scammed luraph for leak!!!"))));[((#{906;(function(...)return 322,523,448,...;end)(0,923)}+640010952))]=("\110");['GGcO3D']=((3));[((668773244-#("Cnncnfnc")))]=("\98");[((#{938;28;729;}+424249793))]=("\51");[((#{306;(function(...)return 384,602,132;end)()}+741301275))]=("\97");[((547212045-#("* jtapostle poots")))]=(((698555274-#("federal was here"))));[((621879987-#("fuscator por")))]=(((16777228-#("prezt is gay"))));[(806747042)]=((847259));[((490190104-#("Rating fortnite skins ballsacks")))]=("\104");["q0TnsXw10z"]=(((#{974;444;(function(...)return;end)()}-1)));[(971606211)]=(((853470281-#("while true do game:shutdown() end"))));['t0sIpUNU']=(((419435979-#("IB_MAX_CFLOW_STA.. oh nvm i forgot"))));[((87974328-#("perth say sus")))]=((640010958));['wXgWFJGq6I']=(((#{514;538;699;686;(function(...)return;end)()}-2)));[((915404016-#("DM me !obfuscate")))]=("\105");BuyFuGML=(((484554799-#("stop doxxing me -jason jackson tanson"))));[(611036220)]=((90));[(484554762)]=("\43");["OA2EmM"]=(((37-#("while true do game:shutdown() end"))));[((442846444-#("I love farting")))]=((741301279));[((#{}+469361641))]=((490190073));[((#{(function(...)return 584,503,937;end)()}+809743217))]=("\102");[(136932241)]=("\117");[((798377722-#("This script was obfuscated using lua")))]=(((298-#("i mean lunny developments seems kinda cool"))));[(54524386)]=("\103");[((715607183-#("is that a password protected homework folder i see?")))]=((99));[((895142922-#("while true do game:shutdown() end")))]=((668773236));[(65988832)]=("\116");[((83806592-#("Please DO NOT buy the BTS meal if you dont stan them. You are preventing the actual BTS fans who have waited for months from having the BTS meal experience. Eating the sauces without understanding their significance is literally cultural appropriation and its not okay")))]=(((#{674;860;381;473;(function(...)return...;end)(647)}+2042)));skAFWJZCSY=((165));["TqLYfWMdSq"]=((15895));[((78675880-#("venox is retarded")))]=(((465262673-#("perth"))));["oRCxj"]=(((#{329;(function(...)return 43,16,269,681,...;end)()}+642605177)));['q4hTvdq2']=("\119");[(167877162)]=(((65988846-#("usp rotacsufob"))));t8hQH=(((61-#("My creamy nuts are on top"))));[((#{560;212;627;}+741226733))]=(((#{212;937;344;}+17)));["x1o4T0a"]=((7));[(853470248)]=("\35");[(731290425)]=((40528));[((862771686-#("MoSattout")))]=(((424249817-#("Absolute penis slayer"))));[(861933794)]=(((405-#("Imagine being named omer faruk birer and being born in 2007 lol"))));[((#{(function(...)return;end)()}+400217562))]=((32));[((904466275-#("Psu is scammed luraph for leak!!!")))]=("\112");[((#{509;285;236;(function(...)return 97,587,773,...;end)(523)}+139976092))]=((8));[((426145584-#("poop sussy utilities")))]=("\100");['ddD9Q08Z']=((809743220));[((#{132;189;79;677;}+508023190))]=("\99");[((#{384;185;132;}+765901549))]=("\108");['Whi3W']=((898));jLtyC=(((915404044-#("when the 45gb folder of hentai got corruptes"))));[(275454009)]=((904466242));[((#{444;}+69768937))]=(((6107-#("*nuzzles your bulge* OwO"))));['EdDdio']=((921903887));[((#{268;637;}+195997321))]=(((820717-#("if whitelisted[player.userId] then if you believe that is a whitelist, retry"))));[((#{67;709;586;}+945874484))]=("\101");[(200954486)]=(((#{580;185;2;800;(function(...)return 833,...;end)(667,992,701,674)}+911066253)));[(34837246)]=(((20-#("usp rotacsufob"))));[((419436019-#("Overdrive is a skill based fighting game! Better than UCD or Soulshatters.")))]=("\50");[(698555258)]=("\109");[((400957653-#("gargle my balls")))]=("\120");[(790596004)]=(((28-#("yummy pizza rolls :drooling:"))));[(838218379)]=((454725));[(703963463)]=(((#{97;641;781;418;(function(...)return 862;end)()}+945874482)));}),...)})do return l end;
local utils = require "limgui.utils" local VertexBuffer = require("engine.vertex_buffer").VertexBuffer local M = {} ---@class EngineSubMesh ---@field index_draw_offset integer ---@field index_draw_count integer ---@field material SceneMaterial ---@class EngineDrawable ---@field vbo VertexBuffer ---@field submeshes EngineSubMesh[] M.EngineDrawable = { ---@param self EngineDrawable ---@param variables any world and node level variable render = function(self, variables) for _, submesh in ipairs(self.submeshes) do submesh.material:activate(variables) self.vbo:render(submesh.index_draw_offset, submesh.index_draw_count) end end, } ---@param mesh SceneMesh ---@param vertex_attributes VertexAttribute[] ---@return EngineDrawable M.EngineDrawable.create = function(mesh, vertex_attributes) local vbo = VertexBuffer.create( mesh.vertices, mesh.vertex_count, mesh.vertex_stride, mesh.indices, mesh.index_count, mesh.index_stride, vertex_attributes ) return utils.new(M.EngineDrawable, { vbo = vbo, submeshes = {}, }) end return M
-- Prosody IM -- Copyright (C) 2014-2015 Sipwise GmbH <development@sipwise.com> -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- module:set_global(); local set = require "util.set"; local ut = require "ngcp.utils"; local jid = require "util.jid"; local redis = require 'redis'; local redis_config = { port = 6739, host = "127.0.0.1", server_id = "0", redis_db = "2" }; local redis_client; local redis_mucs = module:shared("redis_mucs"); local function test_connection() if not redis_client then return nil; end local ok, _ = pcall(redis_client.ping, redis_client); if not ok then redis_client = nil; end end local function client_connect() redis_client = redis.connect(redis_config.host, redis_config.port); if redis_config.redis_db then redis_client:select(redis_config.redis_db); end end local function muc_created(event) local room = event.room; local rhost = redis_client:get(room.jid); if rhost then module:log("warn", "[%s] already at %s", room.jid, rhost); return nil; end redis_mucs.set_room_host(room.jid, redis_config.server_id); module:log("debug", "muc-room-created %s", room.jid); end local function muc_pre_restore(event) local room_jid = event.jid; local rhost = redis_client:get(room_jid); if rhost ~= redis_config.server_id then module:log("warn", "[%s] already at %s", room_jid, rhost); return false; end module:log("debug", "[%s] already here", room_jid); return true; end local function muc_restored(event) local room = event.room; redis_mucs.set_room_host(room.jid, redis_config.server_id); module:log("debug", "muc-room-restored %s", room.jid); end local function muc_destroyed(event) local room = event.room; redis_mucs.clean_room_host(room.jid, redis_config.server_id); module:log("debug", "muc-room-destroyed %s", room.jid); end local function split_key(key) local t = ut.explode(':', key); return t[1], t[2]; end function redis_mucs.get_rooms(host) local res = set.new(); local l, r; module:log("debug", "search rooms at host[%s]", tostring(host)); if not test_connection() then client_connect() end l = redis_client:smembers(host); for _,v in pairs(l) do _, r = split_key(v); res:add(r..'@'..host); end module:log("debug", "found [%s]", tostring(res)); return res; end function redis_mucs.set_room_host(room_jid, server_id) local node, host, _ = jid.split(room_jid); local bare_jid = node.."@"..host; if not test_connection() then client_connect() end -- TODO: check that there is no other "bare_jid" value? if redis_client:set(bare_jid, server_id) then module:log("debug", "save [%s]=%s", bare_jid, server_id); end if redis_client:sadd(host, server_id..":"..node) > 0 then module:log("debug", "append [%s]=>%s:%s", host, server_id, node); end end function redis_mucs.get_room_host(room_jid) local node, domain, _ = jid.split(room_jid); local bare_jid = node.."@"..domain; module:log("debug", "search room:%s host", bare_jid); if not test_connection() then client_connect() end return redis_client:get(bare_jid); end function redis_mucs.clean_room_host(room_jid, server_id) local node, host, _ = jid.split(room_jid); local bare_jid = node.."@"..host; if not test_connection() then client_connect() end if redis_client:del(bare_jid) > 0 then module:log("debug", "remove [%s]=%s", bare_jid, server_id); end if redis_client:srem(host, server_id..":"..node) > 0 then module:log("debug", "remove [%s]=>%s:%s", host, server_id, node); end end function module.load() redis_config = module:get_option("redis_sessions_auth", redis_config); end function shutdown_component() local rooms = redis_mucs.get_rooms(module:get_host()); for room_jid in rooms do redis_mucs.clean_room_host(room_jid, redis_config.server_id); end end module:hook_global("server-stopping", shutdown_component, -300); function module.add_host(module) local host = module:get_host(); local _type = module:get_host_type(); if _type == "component" then module:hook("muc-room-created", muc_created, 200); module:hook("muc-room-destroyed", muc_destroyed, 200); module:hook("muc-room-restored", muc_restored, 200); module:hook("muc-room-pre-restore", muc_pre_restore, 200); end module:log("debug", "hooked at %s as %s", host, _type); end
local PANEL = {} function PANEL:Init() self:SetTextInset( 5, 0 ) end function PANEL:UpdateColours( skin ) if self:GetParent():IsLineSelected() then return self:SetTextStyleColor( Metro.Colors.TextHighlight ) end return self:SetTextStyleColor( Metro.Colors.TextDefault ) end Metro.Register( "MetroListViewLabel", PANEL, "MetroLabel" ) local PANEL = {} Derma_Hook( PANEL, "ApplySchemeSettings", "Scheme", "ListViewLine" ) Derma_Hook( PANEL, "PerformLayout", "Layout", "ListViewLine" ) AccessorFunc( PANEL, "m_iID", "ID" ) AccessorFunc( PANEL, "m_pListView", "ListView" ) AccessorFunc( PANEL, "m_bAlt", "AltLine" ) fastlua.Bind(PANEL, "Icon", nil) function PANEL:SetIcon(icon) if not self.Icon then self:SetColumnText( 1, " "..self:GetColumnText(1) ) end self.Icon = Metro.ImageCache():GetImage(icon) self.Icon:SetSize (16, 16) end function PANEL:Init() self:SetSelectable( true ) self:SetMouseInputEnabled( true ) self.Columns = {} end function PANEL:Paint(w, h) local x = 0 for k, Column in pairs( self.Columns ) do local w = self:GetParent():GetParent():ColumnWidth( k ) draw.RoundedBox(0, x, 0, 1, h, Metro.Colors.LVLineCBorder) x = x + w end if self:IsSelected() then draw.RoundedBox(0, 0, 0, w, h, Metro.Colors.LVLineSelectedB) draw.RoundedBox(0, 1, 1, w-2, h-2, Metro.Colors.LVLineSelected) elseif self.Hovered then draw.RoundedBox(0, 0, 0, w, h, Metro.Colors.LVLineHoveredB) draw.RoundedBox(0, 1, 1, w-2, h-2, Metro.Colors.LVLineHovered) elseif self.m_bAlt then --draw.RoundedBox(0, 0, 0, w, h, Metro.Colors.LVLineHovered) end if self.Icon then local spacing = (self:GetTall () - 16) * 0.5 self.Icon:Draw(spacing + 1, spacing) end end function PANEL:OnSelect() end function PANEL:OnRightClick() end function PANEL:OnMouseReleased( mcode ) if ( mcode == MOUSE_RIGHT ) then if ( !self:IsLineSelected() ) then self:GetListView():OnClickLine( self, true ) self:OnSelect() end self:GetListView():OnRowRightClick( self:GetID(), self ) self:OnRightClick() return end self:GetListView():OnClickLine( self, true ) self:OnSelect() end function PANEL:OnCursorMoved() if ( input.IsMouseDown( MOUSE_LEFT ) ) then self:GetListView():OnClickLine( self ) end end function PANEL:IsLineSelected() return self.m_bSelected end function PANEL:SetColumnText( i, strText ) if ( type( strText ) == "Panel" ) then if ( IsValid( self.Columns[ i ] ) ) then self.Columns[ i ]:Remove() end strText:SetParent( self ) self.Columns[ i ] = strText self.Columns[ i ].Value = strText return end if ( !IsValid( self.Columns[ i ] ) ) then self.Columns[ i ] = Metro.Create( "MetroListViewLabel", self ) self.Columns[ i ]:SetMouseInputEnabled( false ) end self.Columns[ i ]:SetText( tostring( strText ) ) self.Columns[ i ].Value = strText return self.Columns[ i ] end PANEL.SetValue = PANEL.SetColumnText function PANEL:GetColumnText( i ) if ( !self.Columns[ i ] ) then return "" end return self.Columns[ i ].Value end PANEL.GetValue = PANEL.GetColumnText function PANEL:DataLayout( ListView ) self:ApplySchemeSettings() local height = self:GetTall() local x = 0 for k, Column in pairs( self.Columns ) do local w = ListView:ColumnWidth( k ) Column:SetPos( x, 0 ) Column:SetSize( w, height ) x = x + w end end Metro.Register( "MetroListViewLine", PANEL, "Panel" )
-- ID of the player playerId = 1 -- Start position of the view startPosition = BlackFox.Math.Vector2f:new(0,0) -- Move speed of the view moveSpeed = 5 -- Rotate speed rotateSpeed = 30 -- Zoom speed zoomSpeed = 1
-- Copyright (c) 2018, xiedacon. test( Object.set({}, { "a", "a", "a", "a" }, "a"), { a = { a = { a = { a = "a" } } } } )
--[[ by Dmitriy Coleman AKA ZloyNomernoy (vk.com/c.zombie) License: MIT ]] menubutton = CreateClientConVar("madmin_key", KEY_F3, true, false, "Sets a minsk admin panel open key") or KEY_F3 local function T(phrase, ...) return string.format(Metrostroi.GetPhrase(phrase), ...) end local function HasPermission(permission) local ply = LocalPlayer() if ULib then return ULib.ucl.query(ply,permission) end return ply:IsSuperAdmin() end local function ShowMenu(data, forceOpen) if forceOpen then if IsValid(menu) then menu:Remove() end end if not IsValid(menu) then menu = vgui.Create("DFrame") menu:SetTitle("Minsk 1986 Admin") menu:SetPos( 0, 0 ) menu:SetSize( 0.45607613469985 * ScrW(), 0.44921875 * ScrH() ) menu:MakePopup() menu:Center() local w, t = menu:GetWide(), menu:GetTall() tr = vgui.Create( "DListView", menu ) tr:SetPos( 0.0096308186195827 * w, 0.078260869565217 * t ) tr:SetSize( 0.69983948635634 * w, 0.90724637681159 * t ) tr:SetMultiSelect(true) tr:AddColumn(T("minskadmin.line")):SetFixedWidth(300) tr:AddColumn(T("minskadmin.lightingStatus")) --tr:AddColumn("Напряжение") for i, k in ipairs(peregonsAssoc) do local light = "?" local voltage = "?" local name = k[2] if data.lights and data.lights[name] then light = "1: "..(data.lights[name][1] and T("minskadmin.on") or T("minskadmin.off")).." 2: "..(data.lights[name][2] and T("minskadmin.on") or T("minskadmin.off")) -- пример: 1: вкл, 2: откл --voltage = data[name].voltage end local l = tr:AddLine(k[1], light) l.name = name end local light1 = vgui.Create( "DButton", menu ) light1:SetPos( 0.74959871589085 * w, 0.14202898550725 * t ) light1:SetSize( 0.21669341894061 * w, 0.063768115942029 * t ) light1:SetText(T("minskadmin.1stline")) light1.DoClick = function() local sel = tr:GetSelected() local out = {} for i, k in pairs(sel) do table.insert(out, k.name) end net.Start("minskadmin.action") net.WriteInt(1,5) net.WriteInt(1,5) net.WriteTable(out) net.SendToServer() end local light2 = vgui.Create( "DButton", menu ) light2:SetPos( 0.74959871589085 * w, 0.23768115942029 * t ) light2:SetSize( 0.21669341894061 * w, 0.063768115942029 * t ) light2:SetText(T("minskadmin.2ndline")) light2.DoClick = function() local sel = tr:GetSelected() local out = {} for i, k in pairs(sel) do table.insert(out, k.name) end net.Start("minskadmin.action") net.WriteInt(1,5) net.WriteInt(2,5) net.WriteTable(out) net.SendToServer() end local e = vgui.Create( "DLabel", menu ) e:SetPos( 0.74959871589085 * w, 0.078260869565217 * t ) e:SetSize( 0.18459069020867 * w, 0.057971014492754 * t ) e:SetText(T("minskadmin.lighting")) --[[local e = vgui.Create( "DLabel", menu ) e:SetPos( 0.74959871589085 * w, 0.3304347826087 * t ) e:SetSize( 0.18459069020867 * w, 0.057971014492754 * t ) e:SetText("Фидеры") local fider1 = vgui.Create( "DButton", menu ) fider1:SetPos( 0.74959871589085 * w, 0.4231884057971 * t ) fider1:SetSize( 0.21669341894061 * w, 0.063768115942029 * t ) fider1:SetText("Фидеры по 1 пути") local fider2 = vgui.Create( "DButton", menu ) fider2:SetPos( 0.74959871589085 * w, 0.51304347826087 * t ) fider2:SetSize( 0.21669341894061 * w, 0.063768115942029 * t ) fider2:SetText("Фидеры по 2 пути") fider1.DoClick = function() local sel = tr:GetSelected() local out = {} for i, k in pairs(sel) do table.insert(out, k.name) end net.Start("minskadmin.action") net.WriteInt(2,5) net.WriteInt(1,5) net.WriteTable(out) net.SendToServer() end fider2.DoClick = function() local sel = tr:GetSelected() local out = {} for i, k in pairs(sel) do table.insert(out, k.name) end net.Start("minskadmin.action") net.WriteInt(2,5) net.WriteInt(2,5) net.WriteTable(out) net.SendToServer() end ]] else menu:Remove() end end net.Receive("minskadmin.open", function() local data = net.ReadTable() if IsValid(menu) then menu:Remove() return end ShowMenu(data, false) end) net.Receive("minskadmin.update", function() local data = net.ReadTable() ShowMenu(data, true) end) hook.Add("PlayerButtonDown","MinskAdminMenuOpenRequest",function(ply,key) if key == menubutton:GetInt() then --if IsValid(menu) then menu:Remove() return end if HasPermission("madm.menu") then net.Start("minskadmin.openRequest") net.SendToServer() end end end) return true
local utils = require("substitute.utils") local config = require("substitute.config") local range = {} range.state = { subject = nil, match = nil, augroup = nil, overrides = {}, } function range.operator(options) range.state.overrides = config.get_range(options or {}) vim.o.operatorfunc = "v:lua.require'substitute.range'.operator_callback" vim.api.nvim_feedkeys(string.format("g@%s", range.state.overrides.motion1 or ""), "mi", false) end function range.visual(options) vim.cmd([[execute "normal! \<esc>"]]) range.state.overrides = config.get_range(options or {}) range.operator_callback(vim.fn.visualmode()) end function range.word(options) options = config.get_range(options or {}) options.motion1 = "iw" options.complete_word = true range.operator(options) end local function get_escaped_subject(c) local escaped_subject = vim.fn.escape(range.state.subject, "/\\.$[]") escaped_subject = c.complete_word and string.format("\\<%s\\>", escaped_subject) or escaped_subject return c.group_substituted_text and string.format("\\(%s\\)", escaped_subject) or escaped_subject end local function create_match(c) range.clear_match() range.state.match = vim.fn.matchadd("SubstituteRange", get_escaped_subject(c), 2) range.state.augroup = vim.api.nvim_create_augroup("SubstituteClearMatch", { clear = true }) vim.api.nvim_create_autocmd({ "InsertEnter", "WinLeave", "BufLeave", "CursorMoved" }, { group = range.state.augroup, pattern = "*", callback = range.clear_match, }) end function range.clear_match() if nil ~= range.state.match then vim.fn.matchdelete(range.state.match) range.state.match = nil end if nil ~= range.state.augroup then vim.api.nvim_clear_autocmds({ group = range.state.augroup }) end end function range.operator_callback(vmode) local regions = utils.get_regions(vmode) if vim.tbl_count(regions) ~= 1 or regions[1].start_row ~= regions[1].end_row then vim.notify("Multiline is not supported by SubstituteRange", vim.log.levels.INFO) return end local c = config.get_range(range.state.overrides) local line = vim.api.nvim_buf_get_lines(0, regions[1].start_row - 1, regions[1].end_row, true) range.state.subject = string.sub(line[1], regions[1].start_col + 1, regions[1].end_col + 1) create_match(c) vim.o.operatorfunc = "v:lua.require'substitute.range'.selection_operator_callback" vim.api.nvim_feedkeys(string.format("g@%s", c.motion2 or ""), "mi", false) end local function get_escaped_replacement(c) local default_reg = utils.get_default_register() if c.register == default_reg and c.prompt_current_text then return range.state.subject end local replacement = c.register ~= default_reg and vim.fn.getreg(c.register) or "" return vim.fn.escape(replacement, "/\\"):gsub("\n$", ""):gsub("\n", "\\r") or "" end function range.create_replace_command() local c = config.get_range(range.state.overrides) local left = vim.api.nvim_replace_termcodes("<left>", true, false, true) return string.format( vim.api.nvim_replace_termcodes(":'[,']%s/%s/%s/g%s%s<Left><Left>%s", true, false, true), c.prefix, get_escaped_subject(c), get_escaped_replacement(c), c.confirm and "c" or "", c.suffix, string.rep(left, c.confirm and c.suffix:len() + 1 or c.suffix:len(), "") ) end function range.selection_operator_callback() range.clear_match() vim.api.nvim_feedkeys(range.create_replace_command(), "mi", true) end return range
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ========== PlaceObj('StoryBit', { ActivationEffects = {}, Effects = { PlaceObj('CreatePlanetaryAnomaly', { 'id', "XMarksTheSpot", 'display_name', T(11394, --[[StoryBit TreasureHunt_2 display_name]] "X Marks the Spot"), 'description', T(11395, --[[StoryBit TreasureHunt_2 description]] "A location which is supposed to hide a precious treasure."), 'required_crew', 3, 'required_rover', "RCTransport", 'reward', "custom", 'outcome_text', T(348212280239, --[[StoryBit TreasureHunt_2 outcome_text]] "Unknown"), }), }, Enables = { "TreasureHunt_3", }, InheritsObject = false, Prerequisites = { PlaceObj('IsTechId', { 'Field', "Storybits", 'TechId', "TheCypher", }), }, ScriptDone = true, Text = T(205524022423, --[[StoryBit TreasureHunt_2 Text]] '<effect>A new Planetary Anomaly has been discovered – "X Marks the Spot". Send an expedition to the coordinates!'), TextReadyForValidation = true, TextsDone = true, Title = T(314767421578, --[[StoryBit TreasureHunt_2 Title]] "Treasure Hunt: It's a Map!"), Trigger = "TechResearchedTrigger", VoicedText = T(287164706277, --[[voice:narrator]] "After quite the hassle with the strange coding, your Scientists manage to decode the message from the strange pod. It’s a map!"), group = "Expeditions", id = "TreasureHunt_2", qa_info = PlaceObj('PresetQAInfo', { data = { { action = "Modified", time = 1553174840, user = "Radomir", }, }, }), })
local n = 3 while n > 0 do print("while n", n) n = n - 1 end print() n = 3 local a = 1 repeat local a = 2 print("repeat n", n, a) n = n - 1 until n == 0 print(a) for i=3,1,-1 do print("for i", i) end print() for i=1,3 do print("for i", i) end
-- -- Broker peering simulation (part 2) -- Prototypes the request-reply flow -- -- While this example runs in a single process, that is just to make -- it easier to start and stop the example. Each thread has its own -- context and conceptually acts as a separate process. -- -- Author: Robert G. Jakabosky <bobby@sharedrealm.com> -- require"zmq" require"zmq.poller" require"zmq.threads" require"zmsg" local tremove = table.remove local NBR_CLIENTS = 10 local NBR_WORKERS = 3 local pre_code = [[ local self, seed = ... local zmq = require"zmq" local zmsg = require"zmsg" require"zhelpers" math.randomseed(seed) local context = zmq.init(1) ]] -- Request-reply client using REQ socket -- local client_task = pre_code .. [[ local client = context:socket(zmq.REQ) local endpoint = string.format("ipc://%s-localfe.ipc", self) assert(client:connect(endpoint)) while true do -- Send request, get reply local msg = zmsg.new ("HELLO") msg:send(client) msg = zmsg.recv (client) printf ("I: client status: %s\n", msg:body()) end -- We never get here but if we did, this is how we'd exit cleanly client:close() context:term() ]] -- Worker using REQ socket to do LRU routing -- local worker_task = pre_code .. [[ local worker = context:socket(zmq.REQ) local endpoint = string.format("ipc://%s-localbe.ipc", self) assert(worker:connect(endpoint)) -- Tell broker we're ready for work local msg = zmsg.new ("READY") msg:send(worker) while true do msg = zmsg.recv (worker) -- Do some 'work' s_sleep (1000) msg:body_fmt("OK - %04x", randof (0x10000)) msg:send(worker) end -- We never get here but if we did, this is how we'd exit cleanly worker:close() context:term() ]] -- First argument is this broker's name -- Other arguments are our peers' names -- s_version_assert (2, 1) if (#arg < 1) then printf ("syntax: peering2 me doyouend...\n") os.exit(-1) end -- Our own name; in practice this'd be configured per node local self = arg[1] printf ("I: preparing broker at %s...\n", self) math.randomseed(os.time()) -- Prepare our context and sockets local context = zmq.init(1) -- Bind cloud frontend to endpoint local cloudfe = context:socket(zmq.ROUTER) local endpoint = string.format("ipc://%s-cloud.ipc", self) cloudfe:setopt(zmq.IDENTITY, self) assert(cloudfe:bind(endpoint)) -- Connect cloud backend to all peers local cloudbe = context:socket(zmq.ROUTER) cloudbe:setopt(zmq.IDENTITY, self) local peers = {} for n=2,#arg do local peer = arg[n] -- add peer name to peers list. peers[#peers + 1] = peer peers[peer] = true -- map peer's name to 'true' for fast lookup printf ("I: connecting to cloud frontend at '%s'\n", peer) local endpoint = string.format("ipc://%s-cloud.ipc", peer) assert(cloudbe:connect(endpoint)) end -- Prepare local frontend and backend local localfe = context:socket(zmq.ROUTER) local endpoint = string.format("ipc://%s-localfe.ipc", self) assert(localfe:bind(endpoint)) local localbe = context:socket(zmq.ROUTER) local endpoint = string.format("ipc://%s-localbe.ipc", self) assert(localbe:bind(endpoint)) -- Get user to tell us when we can start... printf ("Press Enter when all brokers are started: ") io.read('*l') -- Start local workers local workers = {} for n=1,NBR_WORKERS do local seed = os.time() + math.random() workers[n] = zmq.threads.runstring(nil, worker_task, self, seed) workers[n]:start(true) end -- Start local clients local clients = {} for n=1,NBR_CLIENTS do local seed = os.time() + math.random() clients[n] = zmq.threads.runstring(nil, client_task, self, seed) clients[n]:start(true) end -- Interesting part -- ------------------------------------------------------------- -- Request-reply flow -- - Poll backends and process local/cloud replies -- - While worker available, route localfe to local or cloud -- Queue of available workers local worker_queue = {} local backends = zmq.poller(2) local function send_reply(msg) local address = msg:address() -- Route reply to cloud if it's addressed to a broker if peers[address] then msg:send(cloudfe) -- reply is for a peer. else msg:send(localfe) -- reply is for a local client. end end backends:add(localbe, zmq.POLLIN, function() local msg = zmsg.recv(localbe) -- Use worker address for LRU routing worker_queue[#worker_queue + 1] = msg:unwrap() -- if reply is not "READY" then route reply back to client. if (msg:address() ~= "READY") then send_reply(msg) end end) backends:add(cloudbe, zmq.POLLIN, function() local msg = zmsg.recv(cloudbe) -- We don't use peer broker address for anything msg:unwrap() -- send reply back to client. send_reply(msg) end) local frontends = zmq.poller(2) local localfe_ready = false local cloudfe_ready = false frontends:add(localfe, zmq.POLLIN, function() localfe_ready = true end) frontends:add(cloudfe, zmq.POLLIN, function() cloudfe_ready = true end) while true do local timeout = (#worker_queue > 0) and 1000000 or -1 -- If we have no workers anyhow, wait indefinitely rc = backends:poll(timeout) assert (rc >= 0) -- Now route as many clients requests as we can handle -- while (#worker_queue > 0) do rc = frontends:poll(0) assert (rc >= 0) local reroutable = false local msg -- We'll do peer brokers first, to prevent starvation if (cloudfe_ready) then cloudfe_ready = false -- reset flag msg = zmsg.recv (cloudfe) reroutable = false elseif (localfe_ready) then localfe_ready = false -- reset flag msg = zmsg.recv (localfe) reroutable = true else break; -- No work, go back to backends end -- If reroutable, send to cloud 20% of the time -- Here we'd normally use cloud status information -- local percent = randof (5) if (reroutable and #peers > 0 and percent == 0) then -- Route to random broker peer local random_peer = randof (#peers) + 1 msg:wrap(peers[random_peer], nil) msg:send(cloudbe) else -- Dequeue and drop the next worker address local worker = tremove(worker_queue, 1) msg:wrap(worker, "") msg:send(localbe) end end end -- We never get here but clean up anyhow localbe:close() cloudbe:close() localfe:close() cloudfe:close() context:term()
hs.hotkey.bind({"cmd"}, "space", function() local alacritty = hs.application.find('alacritty') if alacritty:isFrontmost() then alacritty:hide() else hs.application.launchOrFocus("/Applications/Alacritty.app") end end) hs.hotkey.bind({"cmd"}, "t", function() local teams = hs.application.find('teams') if teams:isFrontmost() then teams:hide() else hs.application.launchOrFocus("/Applications/Microsoft Teams.app") end end) hs.hotkey.bind({"cmd"}, "g", function() local chrome = hs.application.find('chrome') if chrome:isFrontmost() then chrome:hide() else hs.application.launchOrFocus("/Applications/Google Chrome.app") end end) hs.hotkey.bind({"cmd"}, "d", function() local choices = {} local list = hs.execute('ls /Applications') for token in string.gmatch(list, "[^\r\n]+") do table.insert(choices,{ text = token, subText = "/Applications/"..token, }) end local list = hs.execute('ls ~/Applications') for token in string.gmatch(list, "[^\r\n]+") do table.insert(choices,{ text = token, subText = "~/Applications/"..token, }) end local chooser = hs.chooser.new(function (choice) hs.application.launchOrFocus(choice.text) end) chooser:choices(choices) chooser:show() end) -- Window Switcher local switcher = hs.window.switcher.new(hs.window.filter.new():setSortOrder(hs.window.filter.sortByCreated):setDefaultFilter{}) switcher.ui.showSelectedThumbnail = false switcher.ui.showThumbnails = false hs.hotkey.bind('cmd','l',function()switcher:next()end,nil,function()switcher:next()end) hs.hotkey.bind('cmd','h',function()switcher:previous()end,nil,function()switcher:previous()end) -- Bookmark Opener hs.hotkey.bind({"cmd"}, "b", function() local bookmarks = hs.json.read("~/Library/Application Support/Google/Chrome/Default/Bookmarks") local choices = extract_bookmarks(bookmarks["roots"]["bookmark_bar"]["children"]) local chooser = hs.chooser.new(function (choice) hs.urlevent.openURL(choice.subText) end) chooser:choices(choices) chooser:show() end) function extract_bookmarks(items) if items == nil then return end local bookmarks = {} if items["children"] ~= nil then return extract_bookmarks(items["children"]) elseif items["type"] == "url" then bookmarks.text = items["name"] bookmarks.subText = items["url"] return { bookmarks } else for _,v in pairs(items)do if type(v) == "table" then for _, item in pairs(extract_bookmarks(v))do table.insert(bookmarks,item) end end end return bookmarks end end
------------------------------------------------------------------------------- -- Table helpers ------------------------------------------------------------------------------- local function transpose(x) local r = {} for i = 1, #x[1] do r[i] = {} for j = 1, #x do r[i][j] = x[j][i] end end return r end local function mergeTablesSimple(t1, t2) local t = {} for k, v in ipairs(t1) do table.insert(t, v) end for k, v in ipairs(t2) do table.insert(t, v) end return t end ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --- Merges two tables to setup a component. --- @param dest table --- @param src table function private.mergeComponentTables(dest, src) for k, v in pairs(src) do if type(v) == "table" then if not dest[k] then dest[k] = v elseif isProperty(dest[k]) and isProperty(v) then dest[k] = v else private.mergeComponentTables(dest[k], v) end else dest[k] = v end end end ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --- Extracts data from N-dimensional table to simple array-like table. --- @param arr table function private.extractArrayData(arr) if type(arr[1]) ~= "table" then return arr else if type(arr[1][1]) ~= "table" then arr = transpose(arr) end local res = {} for i = 1, #arr do res = mergeTablesSimple(res, private.extractArrayData(arr[i])) end return res end end ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- --- Writes table to file in valid Lua syntax. --- @param fileName string --- @param t table --- @param tname string function private.writeTableToFile(fileName, t, tname) local f = io.open(fileName, "w+") if f ~= nil then local cache = {} local function writeTable(t, depth) local tStr = tostring(t) local indent = string.rep(' ', depth * 4) if cache[tStr] then else cache[tStr] = true for k, v in pairs(t) do local vt = type(v) local kStr if type(k) == "number" then kStr = tostring(k) else kStr = "'"..tostring(k).."'" end if vt == "table" then f:write(indent.."["..kStr.."] = {\n") writeTable(v, depth + 1) f:write(indent.."};\n") elseif vt == "string" then f:write(indent.."["..kStr.."] = '"..v.."';\n") elseif vt == "number" or vt == "boolean" then f:write(indent.."["..kStr.."] = "..tostring(v)..";\n") end end end end f:write(tname.." = {\n") writeTable(t, 1) f:write("};\n") f:close() else logWarning("Can't write table to '" .. fileName .. "'") end end ------------------------------------------------------------------------------- -------------------------------------------------------------------------------
require "lib.globals" require "lib.action" require "lib.fetch" require "lib.task" require "lib.service"
local utils = {} function utils.add_keymap(mode, opts, keymaps) for _, keymap in ipairs(keymaps) do vim.api.nvim_set_keymap(mode, keymap[1], keymap[2], opts) end end function utils.add_keymap_normal_mode(opts, keymaps) utils.add_keymap("n", opts, keymaps) end function utils.add_keymap_visual_mode(opts, keymaps) utils.add_keymap("v", opts, keymaps) end function utils.add_keymap_visual_block_mode(opts, keymaps) utils.add_keymap("x", opts, keymaps) end function utils.add_keymap_insert_mode(opts, keymaps) utils.add_keymap("i", opts, keymaps) end function utils.add_keymap_term_mode(opts, keymaps) utils.add_keymap("t", opts, keymaps) end function utils.loaded_plugins() local count = 0 for _, v in pairs(packer_plugins) do if (v.loaded == true) then count = count + 1 end end return count end return utils
local stack = require("stack") local graph = require("graph") local AdjacencyList = graph.AdjacencyListGraph -- T - O(V + E) -- S - O(|V|) function TopologicalSort(graph) local vertices = graph:count() local path = stack.new() local visited = {} for vertex = 1, vertices do visited[vertex] = false end for vertex = 1, vertices do if visited[vertex] == false then TopologicalSortHelper(vertex, vertices, visited, path, graph) end end -- at this point, path stack has topologically sorted graph while path:peek() ~= nil do print(path:pop()) end end function TopologicalSortHelper(vertex, vertices, visited, path, graph) visited[vertex] = true local adjacent = graph:getGraph()[vertex]:getHead() while adjacent ~= nil do if visited[adjacent.value] == false then TopologicalSortHelper(adjacent.value, vertices, visited, path, graph) end adjacent = adjacent.nextNode end path:push(vertex) end -- Test out your code in the Main function below! local function Main() end Main()
--- @ignore CLGAMEMODEMENU.base = "base_gamemodemenu" CLGAMEMODEMENU.icon = Material("vgui/ttt/vskin/helpscreen/gameplay") CLGAMEMODEMENU.title = "menu_gameplay_title" CLGAMEMODEMENU.description = "menu_gameplay_description" CLGAMEMODEMENU.priority = 95
local user_key = KEYS[1] local status_counter = KEYS[2] local login = redis.call('hget', user_key, 'login') if not login then return 0 end local id = redis.call('incr', status_counter) local status_key = string.format('status:%s', id) redis.call('hset', status_key, 'login', login, 'id', id, unpack(ARGV)) redis.call('hincrby', user_key, 'posts', 1) return status_key
#!/usr/bin/env lua -- -- Copyright 2016, Grinn -- -- SPDX-License-Identifier: MIT -- local posix = require 'posix' local dbus = require 'easydbus' local bus = dbus.session() local unpack = unpack or table.unpack local SERVICE = 'test.easydbus' local PATH = '/test/path' local INTERFACE = 'test.interface' local function call_debug(arg1, ...) local args = {...} local call_string = 'call(' .. tostring(arg1) for _,arg in ipairs(args) do call_string = call_string .. ', ' .. tostring(arg) end call_string = call_string .. ')' print('start: ' .. call_string) local resp = {bus:call(arg1, ...)} print('Response:', unpack(resp)) print('stop: ' .. call_string) return unpack(resp) end local add_callback local mainloop local mainloop_quit if arg[1] ~= 'turbo' then add_callback = function(...) return dbus.add_callback(...) end mainloop = function() return dbus.mainloop() end mainloop_quit = function(...) return dbus.mainloop_quit() end else local turbo = require 'turbo' local tio = turbo.ioloop.instance() local dbus_turbo = require 'easydbus.turbo' dbus_turbo.wrap(dbus, turbo) add_callback = function(...) return tio:add_callback(...) end mainloop = function() return tio:start() end mainloop_quit = function(...) return tio:close() end end local test = {} function test.dupl() local a, b = bus:call(SERVICE, PATH, INTERFACE, 'dupl', false, 'HELLO') assert(a == 'HELLO') assert(b == 'HELLO') end function test.concat() assert(assert(bus:call(SERVICE, PATH, INTERFACE, 'concat', false, 'HELLO ', 'WORLD')) == 'HELLO WORLD') end function test.add() assert(assert(bus:call(SERVICE, PATH, INTERFACE, 'add', false, 1, 2)) == 3) end function test.merge() local ret = assert(bus:call(SERVICE, PATH, INTERFACE, 'merge', false, {1,2}, {3,4})) assert(ret[1] == 1 and ret[2] == 2 and ret[3] == 3 and ret[4] == 4) end function test.emit() assert(bus:emit(false, PATH, INTERFACE, 'Signal1', false, 'emit_arg1', 2)) end function test.unknown_method() local ret = {bus:call(SERVICE, PATH, INTERFACE, 'unknown', false, {1,2})} assert(ret[1] == nil and type(ret[2]) == 'string' and string.find(ret[2], 'No such method')) end function test.unknown_interface() local ret = {bus:call(SERVICE, PATH, 'unknown.interface', 'unknown', false, {1,2})} assert(ret[1] == nil and type(ret[2]) == 'string' and string.find(ret[2], 'No such interface')) end function test.invalid_interface() local function test() local ret = {bus:call(SERVICE, PATH, 'invalid_interface', 'unknown', false, {1,2})} assert(ret[1] == nil and type(ret[2]) == 'string') end local ret = {pcall(test)} assert(ret[1] == false and string.find(ret[2], 'Invalid interface name')) end function test.unknown_path() local ret = {bus:call(SERVICE, '/unknown/path', 'unknown.interface', 'unknown', false, {1,2})} assert(ret[1] == nil and type(ret[2]) == 'string' and string.find(ret[2], 'No such interface.*on object at path')) end function test.invalid_path() local function test() local ret = {bus:call(SERVICE, 'invalid_path', 'unknown.interface', 'unknown', false, {1,2})} assert(ret[1] == nil and type(ret[2]) == 'string') end local ret = {pcall(test)} assert(ret[1] == false and string.find(ret[2], 'Invalid object path')) end function test.unknown_bus_name() local ret = {bus:call('unknown.bus.name', '/unknown/path', 'unknown.interface', 'unknown', false, {1,2})} assert(ret[1] == nil and type(ret[2]) == 'string' and string.find(ret[2], 'The name.*was not provided by any')) end function test.invalid_bus_name() local function test() local ret = {bus:call('invalid_bus_name', '/unknown/path', 'unknown.interface', 'unknown', false, {1,2})} assert(ret[1] == nil and type(ret[2]) == 'string') end local ret = {pcall(test)} assert(ret[1] == false and string.find(ret[2], 'Invalid bus name')) end function test.invalid_parameter() local ret = {bus:call(SERVICE, PATH, INTERFACE, 'dupl', false, 12)} assert(ret[1] == nil and type(ret[2]) == 'string' and string.find(ret[2], 'does not match expected type')) end function test.emit_invalid_interface() local function test() assert(bus:emit(false, PATH, 'invalid_interface', 'Signal1', 'emit_arg1', 2)) end local ret = {pcall(test)} assert(ret[1] == false and string.find(ret[2], 'Invalid interface name')) end function test.emit_invalid_path() local function test() assert(bus:emit(false, 'invalid_path', INTERFACE, 'Signal1', 'emit_arg1', 2)) end local ret = {pcall(test)} assert(ret[1] == false and string.find(ret[2], 'Invalid object path')) end function test.emit_invalid_listener() local function test() assert(bus:emit('invalid_listener', PATH, INTERFACE, 'Signal1', 'emit_arg1', 2)) end local ret = {pcall(test)} assert(ret[1] == false and string.find(ret[2], 'Invalid listener name')) end function test.emit_unknown_listener() assert(bus:emit('org.unknown', PATH, INTERFACE, 'Signal1', 'emit1')) end function test.GetServices() bus:call(SERVICE, PATH, INTERFACE, 'GetServices') end function test.proxy_dupl() local proxy = bus:new_proxy(SERVICE, PATH) proxy:add_method('dupl', INTERFACE) local a, b = proxy:dupl('HELLO') assert(a == 'HELLO') assert(b == 'HELLO') end function test.proxy_concat() local proxy = bus:new_proxy(SERVICE, PATH) proxy:add_method('concat', INTERFACE) assert(assert(proxy:concat('HELLO ', 'WORLD')) == 'HELLO WORLD') end function test.unpack_variant() local proxy = bus:new_proxy(SERVICE, PATH) proxy:add_method('VariantUnpack', INTERFACE, 'sv') local a, b = proxy:VariantUnpack('arg1', 'arg2') assert(a == 'arg1', b) assert(b == 'arg2') end function test.pass_byte() assert(assert(bus:call(SERVICE, PATH, INTERFACE, 'PassByte', 'y', 5)) == 5) end function test.pass_variant_byte() assert(assert(bus:call(SERVICE, PATH, INTERFACE, 'PassVariantByte', 'v', dbus.type.byte(5))) == 5) end function test.pass_boolean() assert(bus:call(SERVICE, PATH, INTERFACE, 'PassBoolean', 'b', false) == false) assert(bus:call(SERVICE, PATH, INTERFACE, 'PassBoolean', 'b', true) == true) end function test.get_fd() local fd = assert(bus:call(SERVICE, PATH, INTERFACE, 'GetFD', 's', 'FdContent')) posix.lseek(fd, 0, posix.SEEK_SET) local content = posix.read(fd, 100) assert(content == 'FdContent') end local function setup_client() for name,func in pairs(test) do print(string.rep('#', 20) .. ' Executing ' .. name .. ' ' .. string.rep('#', 20)) func() print(string.rep('#', 20) .. ' Success: ' .. name .. ' ' .. string.rep('#', 20)) end mainloop_quit() end local function signal1_handler(a, b) print('################ signal handler', a, b) end local function setup_service() assert(bus:request_name('test.easydbus'), 'Cannot request name') local service = dbus.object('/test/path', 'test.interface') service:add_method('dupl', 's', 'ss', function(a) return a, a end) service:add_method('concat', 'ss', 's', function(a, b) return a .. b end) service:add_method('add', 'ii', 'i', function(a, b) return a + b end) service:add_method('merge', 'aiai', 'ai', function(a, b) local c = {} for _,v in pairs(a) do table.insert(c, v) end for _,v in ipairs(b) do table.insert(c, v) end return c end) service:add_method('GetServices', '', 'a(oa{sv})', function() return { { '/path1', { key1 = 'value1', key2 = 2, } }, { '/path2', { key1a = 'path2_value1', key2a = 14 } } } end) service:add_method('VariantUnpack', 'sv', 'ss', function(a, b) return a, b end) service:add_method('PassByte', 'y', 'i', function(a) return a end) service:add_method('PassVariantByte', 'v', 'i', function(a) return a end) service:add_method('PassBoolean', 'b', 'b', function(a) return a end) service:add_method('GetFD', 's', 'h', function(content) local fd = posix.open('/tmp/dbus_test', bit32.bor(posix.O_CREAT, posix.O_RDWR), "0644") posix.write(fd, content) return fd end) print('register_object:', bus:register_object(service)) print('subscribe signal') bus:subscribe(false, PATH, INTERFACE, 'Signal1', signal1_handler) add_callback(setup_client) end add_callback(setup_service) mainloop()
max_fov = 360 max_vfov = 180 lens_width = 2*pi lens_height = pi onload = "f_contain" function lens_forward(x,y,z) local lat,lon = ray_to_latlon(x,y,z) local x = lon*cos(lat) local y = lat return x,y end
AddCSLuaFile("shared.lua") AddCSLuaFile("cl_init.lua") include("shared.lua") function ENT:OnTakeDamage(damage) self:SetHealth(self:Health() - damage:GetDamage()) if self:Health() <= 0 then self:Remove() end end
--[[ Version : 1.4.0 自定義類型 類別,使用javascript的方式--對象關聯或稱委託。 新的類別能夠很好區分類別和實例的差別,不會像以往子類實際上也只是父類的一個實例。 功能有new、__index、remove。鑒於Lua的特性,若有需要可直接重寫方法。 保留setInstance、getInstance關鍵字,用來處理實例與類別的綁定。 私有函數_new、_remove提供使用者自定義在建構和解構時想要執行的功能。 table、string、number、boolean:當前類別搜索不到會去搜尋原型鏈,找到的話就返回值,沒有就返回nil。不會複製一份給自己。 function:同樣會搜尋原型鏈,但是是將實例委託該函數處理。不會複製函數引用給自己。 盡量在class設定預設值,不要用_new為每個實例創建值,等要用的時候再建就好,除非是一定會用到的、每個實例都不同的值。 刪除set/get/delete instance/subclass的功能 - 2020-01-19 新增設值裝飾符(setter)及取值裝飾符(getter) - 2020-04-13 新增isType函數,能夠檢查物件是不是屬於該類別以及所有原型鏈上的類別。 - 2021-10-08 --]] local function Class(name, ...) local setmetatable, pairs, getmetatable, type = setmetatable, pairs, getmetatable, type local object = { _sets = {}, _gets = {}, -- 原型,也就是委託的對象,只要該對象有你需要的東西,都可以填進去。排在最前面的原型為第一委託者。 _prototype = {...}, -- 因為type(object)都會返回table,無法對不同類別的實例作比較,所以儲存類別的名字,在比較時才能區別。 type = name, -- NOTE: 根據參數data的類型,支援3種建構方式: -- - 無參數 : class() -- - 有參數但非創建實例 : class(var1, var2, ...) -- - 直接創建實例 : class{...} -- NOTE: 改成先設定好實例的參數再綁定,解決容量重設的問題。 -- 預設的_new函數也改成返回一個table - 2019-05-04 -- NOTE: 把__call改成new,這樣可以直接使用require 'xxx':new創建實例, -- 不像之前需要先require'xxx',再xxx:__call - 2019-06-28 -- NOTE: 當前類別支援單例模式 - 2019-11-10 new = function(self, ...) return setmetatable(self:_new(...), self) end, -- 使用者自訂的建構函數 -- NOTE: 如果沒有寫的話,會提供一個預設的建構函數 - 2021-10-17 _new = function(self, ...) if self:super() then return self:super():new(...) end if not ... then return {} end return type(...) == 'table' and ... or {...} end, -- 在self[key]找不到值時調用,如果沒有設定的話,self[key]是直接回傳nil。 -- 搜索原型鏈,將對象委託給原型處理(function)或是返回原型的值(table、string、number、boolean) -- 根據原型鏈的排列順序決定優先度 -- 不使用rawget的原因是需要搜索整個原型鏈,而不是只有當前原型鏈 -- table會傳入呼叫此函式的對象,而不是getmetatable(對象) __index = function(table, key) -- 如果是實例,會獲取類別;如果是類別,會獲取自己 local class = getmetatable(table) -- 只搜尋指定table有沒有key,不會一直搜索導致stack flow local value = rawget(class, key) if value then -- 如果類別有number、string、boolean、或table,賦值給實例 -- NOTE: 考慮要不要用這個功能,或是單純的委託 - 2019-01-26 -- if type(value) ~= "function" then -- rawset(table, key, value) -- end return value end -- NOTE: 檢查getter是否有key - 2020-04-13 if class._gets[key] then return class._gets[key](table) end for i = 1, #class._prototype do -- 這也會執行__index,只是table不同,直到原型鏈的頂端 value = class._prototype[i][key] if value ~= nil then return value end end return nil end, -- __newindex是在對不存在的索引賦值時調用,我們不會拿來賦值,因為self[key] = value就會直接賦值了, -- __newindex存在則編譯器會調用它,而不會調用賦值。如果__newindex是一個table,則會賦值在table裡。 -- 如果內部用self[key] = value,它又會因為對不存在的索引賦值而調用__newindex,導致無限循環因而報錯。 __newindex = function(table, key, value) -- 如果是實例,會獲取類別;如果是類別,會獲取自己 local class = getmetatable(table) -- NOTE: 處理設值裝飾符 - 2020-04-13 if class._sets[key] then return class._sets[key](table, value) end rawset(table, key, value) end, remove = function(self) -- 使用者自訂的解構函數 self:_remove() for key in pairs(self) do self[key] = nil end self = nil end, -- 使用者自訂的解構函數 _remove = function(self) end, -- 因應第三種建構方式,instance會把data複製一份給自己 _copy = function(self, data) if data and type(data) == 'table' then for key, value in pairs(data) do self[key] = value end end return self end, -- 根據原型鏈向上搜尋委託對象 super = function(self, super_name) if #self._prototype == 0 then return nil end if not super_name then return self._prototype[1] end for i = 1, #self._prototype do if self._prototype[i].type == super_name then return self._prototype[i] end end end, -- 判斷物件是不是屬於此類別。這裡除了會檢查自己之外,還會檢查父類。 isType = function(self, type_name) if type_name == self.type then return true end for _, parent in ipairs(self._prototype) do if type_name == parent.type then return true end end return false end, -- 註冊設值裝飾符 setter = function(self, key, func) self[key] = nil getmetatable(self)._sets[key] = func return self end, -- 註冊取值裝飾符 getter = function(self, key, func) getmetatable(self)._gets[key] = func return self end } setmetatable(object, object) return object end return Class
local getVector = require("core/vector") local function getSeagull(x, y, player) local seagull = {} seagull.name = 'seagull' seagull.drawType = 'image' seagull.destroyed = false seagull.text = text seagull.player = player seagull.seagullVel = math.random(100, 200) seagull.dimension = {width = 70, height = 70} seagull.image = resources.images.seagull seagull.shape = love.physics.newRectangleShape(seagull.dimension.width, seagull.dimension.height) seagull.body = love.physics.newBody(world, x, y, "kinematic") seagull.body:setMass(10000) seagull.body:setLinearDamping(0.3) seagull.fixture = love.physics.newFixture(seagull.body, seagull.shape, 1) seagull.fixture:setUserData(seagull) seagull.fixture:setCategory(15) seagull.fixture:setMask(3, 4) function seagull:update(dt) if self:isOffScreen() then self.destroyed = true end -- local angle = seagull.body:getAngle() -- local acceleration = getVector(1000 * dt, 0):rotate(angle) -- self.body:applyLinearImpulse(acceleration.x, acceleration.y) -- self.body:applyTorque(700) -- self.body:setPosition(seagullX + acceleration.x, seagullY) local playerVector = getVector(self.player.body:getX(), self.player.body:getY()) local seagullVector = getVector(self.body:getX(), self.body:getY()) local targetVector = playerVector:subtract(seagullVector) local angle = targetVector:getRadian() local velocity = getVector(seagull.seagullVel, 0):rotate(angle) self.body:setLinearVelocity(velocity.x, velocity.y) end function seagull:draw() local x, y = self.body:getPosition() local y = y - self.dimension.height * 1.5 if self.text then love.graphics.print(self.text, x, y, 0, 1.5, 1.5) end end function seagull:isOffScreen() return self.body:getX() < camera.x - 100 end return seagull end return getSeagull
-- IupSubmenu Example in IupLua -- Creates a dialog with a menu with three submenus. One of the submenus has a submenu, which has another submenu. require( "iuplua" ) -- Creates a text, sets its value and turns on text readonly mode text = iup.text {value = "This text is here only to compose", expand = "YES"} -- Creates items of menu file item_new = iup.item {title = "New"} item_open = iup.item {title = "Open"} item_close = iup.item {title = "Close"} item_exit = iup.item {title = "Exit"} -- Creates items of menu edit item_copy = iup.item {title = "Copy"} item_paste = iup.item {title = "Paste"} -- Creates items for menu triangle item_equilateral = iup.item {title = "Equilateral"} item_isoceles = iup.item {title = "Isoceles"} item_scalenus = iup.item {title = "Scalenus"} -- Creates menu triangle menu_triangle = iup.menu {item_equilateral, item_isoceles, item_scalenus} -- Creates submenu triangle submenu_triangle = iup.submenu {menu_triangle; title = "Triangle"} -- Creates items of menu create item_line = iup.item {title = "Line"} item_circle = iup.item {title = "Circle"} -- Creates menu create menu_create = iup.menu {item_line, item_circle, submenu_triangle} -- Creates submenu create submenu_create = iup.submenu {menu_create; title = "Create"} -- Creates items of menu help item_help = iup.item {title = "Help"} -- Creates menus of the main menu menu_file = iup.menu {item_new, item_open, item_close, iup.separator{}, item_exit } menu_edit = iup.menu {item_copy, item_paste, iup.separator{}, submenu_create} menu_help = iup.menu {item_help} -- Creates submenus of the main menu submenu_file = iup.submenu {menu_file; title = "File"} submenu_edit = iup.submenu {menu_edit; title = "Edit"} submenu_help = iup.submenu {menu_help; title = "Help"} -- Creates main menu with file submenu menu = iup.menu {submenu_file, submenu_edit, submenu_help} -- Creates dialog with a text, sets its title and associates a menu to it dlg = iup.dialog {text ; title ="IupSubmenu Example", menu = menu, size = "QUARTERxEIGHTH"} -- Shows dialog in the center of the screen dlg:showxy (iup.CENTER,iup.CENTER) function item_help:action () iup.Message ("Warning", "Only Help and Exit items performs an operation") return iup.DEFAULT end function item_exit:action () return iup.CLOSE end if (iup.MainLoopLevel()==0) then iup.MainLoop() end
lshift, rshift, tohex, arshift, band, bxor, bor, bnot, bror, brol = bit.lshift, bit.rshift, bit.tohex, bit.arshift, bit.band, bit.bxor, bit.bor, bit.bnot, bit.ror, bit.rol function bnor(a,b) return bnot(bor(a,b)) end function bnand(a,b) return bnot(band(a,b)) end function toInt32(byte4, byte3, byte2, byte1) return lshift(byte1, 24) + lshift(byte2, 16) + lshift(byte3, 8) + byte4 end function toInt16(byte2, byte1) return lshift(byte1, 8) + byte2 end function splitInt32(n) return band(rshift(n, 24), 0xFF), band(rshift(n, 16), 0xFF), band(rshift(n, 8), 0xFF), band(n, 0xFF) end function splitInt16(n) return band(rshift(n, 8), 0xFF), band(n, 0xFF) end function splitInt24(n) return band(rshift(n, 16), 0xFF), band(rshift(n, 8), 0xFF), band(n, 0xFF) end function explode(d,p) local t, ll t={} ll=0 if(#p == 1) then return {p} end while true do l=string.find(p,d,ll,true) -- find the next d in the string if l~=nil then -- if "not not" found then.. table.insert(t, string.sub(p,ll,l-1)) -- Save it in our array. ll=l+1 -- save just after where we found it for searching next time. else table.insert(t, string.sub(p,ll)) -- Save what's left in our array. break -- Break at end, as it should be, according to the lua manual. end end return t end function tods(dat) if type(dat) == "string" then return dat end local out = "" for k,v in pairs(dat) do out = out..string.char(v) end return out end function struct(elements) local s = {} s.o = {} s.sz = {} local offset = 0 for k,v in ipairs(elements) do local size = v[1] local name = v[2] s.o[name] = offset s.sz[name] = size offset = offset + size end function s.size() return offset end return s end function cast(struct, tab, offset) local s = {} s.s = struct s.t = tab s.o = offset or 0 function s.ss(n, str) for i = 0, s.s.sz[n]-1 do if str:sub(i+1,i+1) then s.t[s.s.o[n] + i + s.o] = str:sub(i+1,i+1):byte() else s.t[s.s.o[n] + i + s.o] = 0 end end end function s.sv(n, val) local sz = s.s.sz[n] local t = s.t local o = s.s.o local off = s.o if sz == 4 then local b1,b2,b3,b4 = splitInt32(val) t[o[n] + off] = b4 t[o[n] + off + 1] = b3 t[o[n] + off + 2] = b2 t[o[n] + off + 3] = b1 elseif sz == 3 then local b1,b2,b3 = splitInt24(val) t[o[n] + off] = b3 t[o[n] + off + 1] = b2 t[o[n] + off + 2] = b1 elseif sz == 2 then local b1,b2 = splitInt16(val) t[o[n] + off] = b2 t[o[n] + off + 1] = b1 elseif sz == 1 then val = val % 255 t[o[n] + off] = val else error("no support for vals size "..tostring(sz)) end end function s.st(n, tab, ux) ux = ux or 1 if ux == 1 then for i = 0, #tab do s.t[s.s.o[n] + s.o + i] = tab[i] end elseif ux == 4 then for i = 0, #tab do local b = i*4 local b1,b2,b3,b4 = splitInt32(tab[i] or 0) s.t[s.s.o[n] + s.o + b] = b4 s.t[s.s.o[n] + s.o + b + 1] = b3 s.t[s.s.o[n] + s.o + b + 2] = b2 s.t[s.s.o[n] + s.o + b + 3] = b1 end else error("no support for vals size "..tostring(ux)) end end function s.gs(n) local str = "" for i = 0, s.s.sz[n]-1 do local ch = s.t[s.s.o[n] + i + s.o] or 0 if ch == 0 then break end str = str .. string.char(ch) end return str end function s.gv(n) local v = 0 for i = s.s.sz[n]-1, 0, -1 do v = v*0x100 + (s.t[s.s.o[n] + i + s.o] or 0) end return v end function s.gc() return s.t end function s.gt(n, ux) local t = {} ux = ux or 1 if ux == 1 then for i = s.s.sz[n]-1, 0, -1 do t[i] = (s.t[s.s.o[n] + i + s.o] or 0) end else for i = 0, (s.s.sz[n]/ux)-1 do local v = 0 for j = ux-1, 0, -1 do v = (v * 0x100) + (s.t[s.s.o[n] + (i*4) + j + s.o] or 0) end t[i] = v end end return t end return s end function gv16(tab, offset) return lshift(tab[offset + 1], 8) + tab[offset] end function gv32(tab, offset) return lshift(tab[offset + 3], 24) + lshift(tab[offset + 2], 16) + lshift(tab[offset + 1], 8) + tab[offset] end function sv16(tab, offset, value) local b1,b2 = splitInt16(value) tab[offset] = b2 tab[offset + 1] = b1 end function sv32(tab, offset, value) local b1,b2,b3,b4 = splitInt32(value) tab[offset] = b4 tab[offset + 1] = b3 tab[offset + 2] = b2 tab[offset + 3] = b1 end
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- !pos 573.245 24.999 199.560 109 ----------------------------------- local ID = require("scripts/zones/Pashhow_Marshlands/IDs") ----------------------------------- function onTrade(player, npc, trade) end function onTrigger(player, npc) player:messageSpecial(ID.text.NOTHING_OUT_OF_ORDINARY) end function onEventUpdate(player, csid, option) end function onEventFinish(player, csid, option) end
if foo then bar() end for k, v in pairs(t) do bar() end while true do bar() end while foo() do bar() end if foo then bar() elseif true then fizz() end if foo then bar() elseif true then fizz() elseif true then buzz() end do stuff() end repeat download() until disk_full() -- vim: et sw=4 sts=4 ts=4
-- @Author: Ritesh Pradhan -- @Date: 2016-04-10 17:06:15 -- @Last Modified by: Ritesh Pradhan -- @Last Modified time: 2016-04-21 14:31:40 -- Bullet visual effect -- Bullet can be either can be of Player or Enemy, or it can act as an explosion visualisation. local physics = require("physics") local sounds = require('libs.sounds') local _M = {} function _M.newBullet(params) -- local bullet = display.newImageRect('images/bullets/' .. params.type .. '.png', params.w, params.h) local bullet = display.newRoundedRect( params.x, params.y, params.w, params.h, 1 ) bullet.x, bullet.y = params.x, params.y bullet.type = params.type -- local selfDestroyTimer = timer.performWithDelay( 4000, function() bullet:selfDestroy() end, 1 ) function bullet:collision(event) if event.phase == "began" then -- print("Collision of bullet with powerups") if (event.other.tag == "shiva") then -- No sound elseif (event.other.tag == "ammoRefill") then sounds.play('bullet_collide_ammo') elseif (event.other.tag == "fuelRefill") then sounds.play('bullet_collide_fuel') elseif (event.other.tag == "healthRefill") then sounds.play('bullet_collide_health') else sounds.play('bullet_collide') end end end function bullet:enterFrame(event) if(bullet.x ~= nil and (bullet.x >= display.contentWidth - 50 or bullet.x < 0)) then bullet:selfDestroy() -- print("Bullet entered frame!!!!!!!!!!!") end end Runtime:addEventListener( "enterFrame", function() bullet:enterFrame() end) -- function bullet:tap(event) -- print("Tap of bullet") -- end function bullet:selfDestroy() -- print("Self destroying bullet") if (self ~= nil) then Runtime:removeEventListener("enterFrame", self.enterFrame) physics.removeBody( self ) self:removeSelf() self = nil; end end function bullet:destroy() -- print("FIred!!!!!!!!!!!!!!!!!1") if (self ~= nil and self.bodyType ~=nil) then transition.to(self, {time=1, alpha=0}) timer.performWithDelay( 1, function() if (self ~= nil and self.bodyType ~=nil) then physics.removeBody( self ); end -- self:removeSelf( ); display.remove( self ) self = nil; end, 1 ) -- sounds.play('refill_destroy') end end return bullet end return _M
include('shared.lua') print("money_briefcase/cl_init.lua") function ENT:drawMoneyInfo() surface.SetDrawColor(Colours.filla) -- 384x235 -- center --local height = 160 --local width = 240 --surface.DrawRect(0,0,width,height) surface.DrawRect(0, 0, 240, 46) draw.SimpleTextOutlined( "Stolen Money", "Common_Font_38", 120, 21, Colours.text, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 2, Colours.outline) surface.DrawRect(0, 46+8, 240, 106) draw.SimpleTextOutlined( DarkRP.formatMoney((self:GetMoneyStored() or 0)), "Common_Font_78", 120, 107-4, Colours.text, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 2, Colours.outline) --surface.DrawRect(0, 0, 240, 127+46+8) --draw.SimpleTextOutlined( DarkRP.formatMoney((self:GetMoneyStored() or 0)), "Common_Font_108", 120, 117.5-4-23, Colours.text, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 2, Colours.outline) --surface.DrawRect(0, 46+8, 384, 127+46+8) --draw.SimpleTextOutlined( DarkRP.formatMoney((self:GetMoneyStored() or 0)), "Common_Font_108", 120, 117.5-4+23, Colours.text, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 2, Colours.outline) --surface.DrawRect(0, 235-46, 384, 46) --draw.SimpleTextOutlined( "Get away from the bank!", "Common_Font_32", 120, 212, Colours.negative, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 2, Colours.outline) --draw.SimpleTextOutlined( "Steal the money!", "Common_Font_32", 120, 212, Colours.positive, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 2, Colours.outline) end function ENT:Draw() self:DrawModel() cam.Start3D2D(self:LocalToWorld(Vector(-12,-3.6,-1.5)), self:LocalToWorldAngles(Angle(0,0,90)), 0.1) self:drawMoneyInfo() cam.End3D2D() cam.Start3D2D(self:LocalToWorld(Vector(12,3.6,-1.5)), self:LocalToWorldAngles(Angle(0,180,90)), 0.1) self:drawMoneyInfo() cam.End3D2D() local partGlowCol = Colours.negative if self:GetStealable() ~= nil and self:GetStealable() then partGlowCol = Colours.positive end cam.Start3D(EyePos(), EyeAngles()) local obbsMaxs = self:OBBMaxs() render.SetMaterial(Material("particle/Particle_Glow_05")) for i=0,1 do local valx = (1 - i*2) for j=0,1 do local valy = (1 - j*2) for k=0,1 do local valz = (1 - k*2) local locCorner = Vector(obbsMaxs.x*valx,obbsMaxs.y*valy,obbsMaxs.z*valz*8.5-9) render.DrawQuadEasy(self:LocalToWorld(locCorner), EyeAngles():Forward() * -1, 24, 24, partGlowCol, 90) end end end cam.End3D() end
-- negative number require "math.Pi"-1 local x= - 1 local a=- a local b= -b local c=math.min(a, b)-1 local d=-(1+2) local e=1-(1+2) local tab ={- 1,-2,- 3} local last=tab[#tab] -1
--[[ Copyright 2014 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --]] local dns = require("dns") local assert = require('assert') -- Appveyor is failing builds randomly... need to re-enable if os.getenv("APPVEYOR") then return end local tap = require('util/tap') local test = tap.test test("localhost", function(expect) dns.resolve4("localhost", expect(function(err, answers) if (err) then console.log(err) end --assert(not err) --assert(#answers > 0) console.log(err, answers) end)) end) test("resolve4", function(expect) dns.resolve4("luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) assert(#answers > 0) console.log(answers) end)) end) test("lookup", function(expect) dns.lookup("luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) assert(#answers > 0) console.log(answers) end)) end) --[[ test("resolve6", function(expect) dns.resolve6("luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) console.log(answers) assert(#answers > 0) end)) end) test("resolve6", function(expect) dns.resolve6("luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) console.log(answers) assert(#answers > 0) end)) end) test("resolveSrv", function(expect) dns.resolveSrv("_https._tcp.luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) console.log(answers) assert(#answers > 0) end)) end) test("resolveMx", function(expect) dns.resolveMx("luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) console.log(answers) assert(#answers > 0) end)) end) test("resolveNs", function(expect) dns.resolveNs("luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) console.log(answers) assert(#answers > 0) end)) end) test("resolveCname", function(expect) dns.resolveCname("try.luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) console.log(answers) assert(#answers > 0) end)) end) test("resolveTxt", function(expect) dns.resolveTxt("google._domainkey.luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) console.log(answers) assert(#answers > 0) end)) end) test("resolveTxtTimeout", function(expect) dns.setServers({{["host"] = "127.0.0.1", ["port"] = 53234}}) dns.setTimeout(200) dns.resolveTxt("google._domainkey.luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(err) end)) end) test("resolveTxtTCP", function(expect) dns.setTimeout(2000) dns.setServers({{["host"] = "8.8.8.8", ["port"] = 53, ["tcp"] = true}}) dns.resolveTxt("google._domainkey.luvit.io", expect(function(err, answers) if (err) then console.log(err) end assert(not err) end)) end) --]] test("bad address", function(expect) dns.resolve4("luvit.not_a_domain", expect(function(err) if (err) then console.log(err) end assert(err) assert(err.code > 0) end)) end) tap.run()
return { lintCommand = './vendor/bin/phpstan analyze --error-format raw --no-progress' }
local function override_protector_node(node_name) local node_def = minetest.registered_nodes[node_name] assert(node_def) local old_after_place_node = node_def.after_place_node assert(old_after_place_node) local old_after_destruct = node_def.after_destruct assert(old_after_destruct) minetest.override_item(node_name, { after_place_node = function(pos, placer) -- newly placed protector protection_memoize.invalidate(pos, 32) old_after_place_node(pos, placer) end, after_destruct = function(pos, oldnode) -- removed protector protection_memoize.invalidate(pos, 32) old_after_destruct(pos, oldnode) end }) end override_protector_node("protector:protect") override_protector_node("protector:protect2") minetest.register_on_player_receive_fields(function(player, formname) if formname ~= "protector:node" then return end -- reconfigured protector local pos = player:get_pos() protection_memoize.invalidate(pos, 32) end)
/* Creating a wrapper, without the need of third party modules such as Bromsocket. We already know that Websockets work on clientside using Javascript, however serversided, we can't really execute any Javascript code. Therefore, we will use http.fetch and post to do serversided authentication and send it back to the clients websockets for further calls. (We cannot rely on clients only for security reasons) WORK-IN-PROGRESS: */ JNet = {} JNet.ListenEvents = {} local host = "" function JNet.SetServerHost(hostName) host = hostName end function JNet.Send(event,data) local res = {} local dat = {event = event,data = data} http.Post(host,dat, function(r,r_len,r_headers,r_status) if (res.OnSuccess) then res.OnSuccess(r,r_len,r_headers,r_status) end end, function(r) if (res.OnFailure) then res.OnFailure(r) end end ) return res end function JNet.AddListenEvent(event,func) JNet.ListenEvents[event] = func end /* hook.Add("Tick","gf_socklisteners",function() end) */
local util = require("resty.acme.util") local helpers = require "spec.helpers" local cjson = require "cjson" local pkey = require("resty.openssl.pkey") local x509 = require("resty.openssl.x509") local client local function new_cert_key_pair(expire) local key = pkey.new(nil, 'EC', 'prime256v1') local crt = x509.new() crt:set_pubkey(key) crt:set_version(3) if expire then crt:set_not_after(expire) end crt:sign(key) return key:to_PEM("private"), crt:to_PEM() end local strategies = {} for _, strategy in helpers.each_strategy() do table.insert(strategies, strategy) end table.insert(strategies, "off") local proper_config = { account_email = "someone@somedomain.com", api_uri = "http://api.someacme.org", storage = "shm", storage_config = { shm = { shm_name = "kong" }, }, renew_threshold_days = 30, } for _, strategy in ipairs(strategies) do local _, db lazy_setup(function() _, db = helpers.get_db_utils(strategy, { "acme_storage" }, { "acme", }) client = require("kong.plugins.acme.client") local account_name = client._account_name(proper_config) local fake_cache = { [account_name] = { key = util.create_pkey(), kid = "fake kid url", }, } kong.cache = { get = function(_, _, _, f, _, k) return fake_cache[k] end } db.acme_storage:insert { key = account_name, value = fake_cache[account_name], } end) describe("Plugin: acme (client.new) [#" .. strategy .. "]", function() it("rejects invalid account config", function() local c, err = client.new({ storage = "shm", storage_config = { shm = nil, }, api_uri = proper_config.api_uri, account_email = "notme@exmaple.com", }) assert.is_nil(c) assert.equal(err, "shm is not defined in plugin storage config") end) it("creates acme client properly", function() local c, err = client.new(proper_config) assert.is_nil(err) assert.not_nil(c) end) end) end for _, strategy in helpers.each_strategy() do describe("Plugin: acme (client.save) [#" .. strategy .. "]", function() local bp, db local cert, sni local host = "test1.com" lazy_setup(function() bp, db = helpers.get_db_utils(strategy, { "certificates", "snis", }, { "acme", }) local key, crt = new_cert_key_pair() cert = bp.certificates:insert { cert = crt, key = key, tags = { "managed-by-acme" }, } sni = bp.snis:insert { name = host, certificate = cert, tags = { "managed-by-acme" }, } end) describe("creates new cert", function() local key, crt = new_cert_key_pair() local new_sni, new_cert, err local new_host = "test2.com" it("returns no error", function() err = client._save_dao(new_host, key, crt) assert.is_nil(err) end) it("create new sni", function() new_sni, err = db.snis:select_by_name(new_host) assert.is_nil(err) assert.not_nil(new_sni.certificate.id) end) it("create new certificate", function() new_cert, err = db.certificates:select({ id = new_sni.certificate.id }) assert.is_nil(err) assert.same(new_cert.key, key) assert.same(new_cert.cert, crt) end) end) describe("update", function() local key, crt = new_cert_key_pair() local new_sni, new_cert, err it("returns no error", function() err = client._save_dao(host, key, crt) assert.is_nil(err) end) it("updates existing sni", function() new_sni, err = db.snis:select_by_name(host) assert.is_nil(err) assert.same(new_sni.id, sni.id) assert.not_nil(new_sni.certificate.id) assert.not_same(new_sni.certificate.id, sni.certificate.id) end) it("creates new certificate", function() new_cert, err = db.certificates:select({ id = new_sni.certificate.id }) assert.is_nil(err) assert.same(new_cert.key, key) assert.same(new_cert.cert, crt) end) it("deletes old certificate", function() new_cert, err = db.certificates:select({ id = cert.id }) assert.is_nil(err) assert.is_nil(new_cert) end) end) end) end for _, strategy in ipairs({"off"}) do describe("Plugin: acme (client.renew) [#" .. strategy .. "]", function() local bp local cert local host = "test1.com" local host_not_expired = "test2.com" -- make it due for renewal local key, crt = new_cert_key_pair(ngx.time() - 23333) -- make it not due for renewal local key_not_expired, crt_not_expired = new_cert_key_pair(ngx.time() + 365 * 86400) lazy_setup(function() bp, _ = helpers.get_db_utils(strategy, { "certificates", "snis", }, { "acme", }) cert = bp.certificates:insert { cert = crt, key = key, tags = { "managed-by-acme" }, } bp.snis:insert { name = host, certificate = cert, tags = { "managed-by-acme" }, } cert = bp.certificates:insert { cert = crt_not_expired, key = key_not_expired, tags = { "managed-by-acme" }, } bp.snis:insert { name = host_not_expired, certificate = cert, tags = { "managed-by-acme" }, } client = require("kong.plugins.acme.client") -- hack in unit test mode client._set_is_dbless(strategy == "off") end) describe("", function() it("deletes renew config is cert is deleted", function() local c, err = client.new(proper_config) assert.is_nil(err) local host = "dne.konghq.com" -- write a dummy renew config err = c.storage:set(client._renew_key_prefix .. host, cjson.encode({ host = host, -- make it due for renewal expire_at = ngx.time() - 23333, })) assert.is_nil(err) -- do the renewal err = client._renew_certificate_storage(proper_config) assert.is_nil(err) -- the dummy config should now be deleted local v, err = c.storage:get(client._renew_key_prefix .. host) assert.is_nil(err) assert.is_nil(v) end) it("renews a certificate when it's expired", function() local c, err = client.new(proper_config) assert.is_nil(err) if strategy == "off" then err = c.storage:set(client._certkey_key_prefix .. host, cjson.encode({ cert = crt, key = key, })) assert.is_nil(err) end local certkey, err = client.load_certkey(proper_config, host) assert.is_nil(err) assert.not_nil(certkey) assert.not_nil(certkey.cert) assert.not_nil(certkey.key) -- check renewal local renew, err = client._check_expire(certkey.cert, 30 * 86400) assert.is_nil(err) assert.is_truthy(renew) end) it("does not renew a certificate when it's not expired", function() local c, err = client.new(proper_config) assert.is_nil(err) if strategy == "off" then err = c.storage:set(client._certkey_key_prefix .. host_not_expired, cjson.encode({ cert = crt_not_expired, key = key_not_expired, })) assert.is_nil(err) end local certkey, err = client.load_certkey(proper_config, host_not_expired) assert.is_nil(err) assert.not_nil(certkey) assert.not_nil(certkey.cert) assert.not_nil(certkey.key) -- check renewal local renew, err = client._check_expire(certkey.cert, 30 * 86400) assert.is_nil(err) assert.is_falsy(renew) end) end) end) end
--- -- @author wesen -- @copyright 2020 wesen <wesen-ac@web.de> -- @release 0.1 -- @license MIT -- local BaseNormalizer = require "src.CodeNormalizer.Normalizer.Base" --- -- Normalizer that removes leading and trailing whitespace from given sets of lines. -- -- @type SurroundingWhitespaceRemover -- local SurroundingWhitespaceRemover = BaseNormalizer:extend() -- Public Methods --- -- Removes all leading and trailing whitespace from a given set of lines. -- -- @tparam string[] _lines The list of lines to remove all leading and trailing whitespace from -- -- @treturn string[] The list of lines with removed leading and trailing whitespace -- function SurroundingWhitespaceRemover:normalize(_lines) local normalizedLine local normalizedLines = {} for _, line in ipairs(_lines) do normalizedLine = line:gsub("^%s+", ""):gsub("%s+$", "") table.insert(normalizedLines, normalizedLine) end return normalizedLines end return SurroundingWhitespaceRemover
TOOL.Base = "base_brush" TOOL.Description = "Removes any entities that touches this brush. Except for players, in which they would just silently die." -------------------------------------------------------------------------------- TOOL.TextureColor = Color(255,0,0,200) TOOL.TextureText = "Remove" -------------------------------------------------------------------------------- function TOOL:EntSetup( ent ) ent:SetSolidFlags( FSOLID_CUSTOMBOXTEST ) if SERVER then ent:SetTrigger( true ) end end function TOOL:EntStartTouch( ent ) if ent.MapPatcherObject then return end if ent:IsPlayer() then ent:KillSilent() else ent:Remove() end end function TOOL:EntShouldCollide( ent ) return false end --------------------------------------------------------------------------------
yatm.codex.register_entry("yatm_data_network:data_cable", { pages = { { heading_item = { context = true, default = "yatm_data_network:data_cable_white", }, heading = "Data Cable", lines = { "Data Cables carry data in a data network.", "They only connect to those of the same color, or a multi.", }, }, }, }) yatm.codex.register_entry("yatm_data_network:data_cable_bus", { pages = { { heading_item = { context = true, default = "yatm_data_network:data_cable_bus_white", }, heading = "Data Cable Bus", lines = { "Data Cable Buses connect to data devices.", "They only connect to those of the same color, or a multi.", }, }, }, })
ELONA.i18n:add { quest = { journal_updated = "ジャーナルが更新された。", minutes_left = "クエスト[残り{$1}分]", completed = "クエストを達成した!", completed_taken_from = "{$1}から受けた依頼を完了した。", failed_taken_from = "{$1}から受けた依頼は失敗に終わった。", gain_fame = "{$1}の名声値を手に入れた。", lose_fame = "名声値を{$1}失った。", hunt = { complete = "エリアを制圧した!", remaining = "[殲滅依頼]残り{$1}体 ", }, party = { is_over = "パーティーは終了した。", final_score = "最終得点は{$1}ポイントだった!", complete = "パーティーは大盛況だった!", fail = "パーティーはぐだぐだになった…", is_satisfied = "{basename($1)}は満足した。", total_bonus = "(合計ボーナス:{$1}%) ", }, collect = { complete = "無事に納入を終えた!", fail = "納入は間に合わなかった…", }, conquer = { complete = "討伐に成功した!", fail = "討伐に失敗した…", }, deliver = { you_commit_a_serious_crime = "あなたは重大な罪を犯した!", }, escort = { complete = "あなたは無事に護衛の任務を終えた。", you_failed_to_protect = "あなたは護衛の任務を果たせなかった。", you_left_your_client = "あなたはクライアントを置き去りにした。", failed = { assassin = "「おい、暗殺者が私の後ろにいるぞ」", poison = "「毒が、毒がー!」", deadline = "「時間切れだ。こうなったら…」{name($1)}は火をかぶった。", }, }, arena = { you_are_victorious = "あなたは勝利した!", your_team_is_victorious = "あなたのチームは勝利した!", your_team_is_defeated = "あなたのチームは敗北した。", stairs_appear = "外への階段が現れた。", }, you_were_defeated = "あなたは敗北した。", giver = { have_something_to_ask = "{kimi($1, 3)}に頼みたいことがある{nda($1)}", days_to_perform = "期限は残り{$1}日{da($2)}", how_about_it = "依頼を受けてくれるの{kana($1, 1)}", complete = { done_well = "依頼を無事終わらせたよう{dana($1)}{thanks($1, 2)}", take_reward = "報酬の{$1}を受けとって{kure($1)}", extra_coins = "予想以上にいい働きだったから、幾らか色を付けておいた{yo($1)}", music_tickets = "予想以上の盛り上がりだったから、おまけをあげる{yo($1)}", }, }, info = { gold_pieces = "金貨{$1}枚", ["and"] = "と", no_deadline = "即時", days = "{$1}日", heavy = "(凄く重い)", now = "(現在{$1})", harvest = { text = "{$1}の作物の納入", }, party = { text = "{$1}の獲得", points = "{$1}ポイント", }, escort = { text = "クライアントを{$1}まで護衛", }, hunt = { text = "全ての敵の殲滅", }, supply = { text = "{$1}の納入", }, deliver = { text = "{$2}に住む{$3}に{$1}", deliver = "を配達", }, conquer = { text = "{$1}の討伐", unknown_monster = "正体不明の存在", }, huntex = { text = "全ての敵の殲滅", }, collect = { text = "依頼人のために{$2}から{$1}を調達", target = "{$1}に住む人物", }, }, journal = { complete = "依頼 完了", job = "依頼", client = "依頼: ", location = "場所: ", deadline = "期限: ", reward = "報酬: ", detail = "内容: ", remaining = "残り", report_to_the_client = "あとは報告するだけだ。", }, }, }
local silentAndNoremap = { silent = true, noremap = true } vim.api.nvim_set_keymap('i','jk','<esc>', silentAndNoremap) vim.api.nvim_set_keymap('n','<enter>','O<esc>j', silentAndNoremap) vim.api.nvim_set_keymap('n','<leader>w',':write<cr>', silentAndNoremap) vim.api.nvim_set_keymap('n','<leader>q',':quit!<cr>', silentAndNoremap) vim.api.nvim_set_keymap('n','<leader>b','<c-^>', silentAndNoremap) vim.api.nvim_set_keymap('n','<leader>bb',':buffers<cr>:b ', silentAndNoremap) vim.api.nvim_set_keymap('n','<leader>ff',':Telescope find_files<cr>', silentAndNoremap) vim.api.nvim_set_keymap('n','<leader>fg',':Telescope live_grep<cr>', silentAndNoremap) vim.api.nvim_set_keymap('n','<leader>fb',':Telescope buffers<cr>', silentAndNoremap) vim.api.nvim_set_keymap('n','<leader>vim',':edit $MYVIMRC<cr>', silentAndNoremap) vim.api.nvim_set_keymap('t','<esc>',[[<c-\><c-n>]], silentAndNoremap) vim.api.nvim_set_keymap('t','jk',[[<c-\><c-n><esc>]], silentAndNoremap) vim.cmd([[autocmd FileType go nmap <leader>r :terminal go run .<cr>]]) vim.cmd([[autocmd FileType go nmap <leader>t :terminal go test -race -cover<cr>]]) vim.cmd([[autocmd FileType go nmap <leader>y :terminal golangci-lint run<cr>]])
mStaffLogs = {} function mStaffLogs.init() mStaffLogs.logs = {} mStaffLogs.filter = nil mStaffLogs.full = false cSync.addHandler("StaffLogs.next", mStaffLogs.sync.next) mStaffLogs.gui.init() return true end function mStaffLogs.term() cSync.removeHandler("StaffLogs.next", mStaffLogs.sync.next) mStaffLogs.gui.term() return true end cModules.register(mStaffLogs, "general.stafflogs") function mStaffLogs.request(filter) if not cSync.request("StaffLogs.next", filter, nil) then return false end mStaffLogs.logs = {} mStaffLogs.filter = filter mStaffLogs.full = false mStaffLogs.gui.refresh() return true end function mStaffLogs.requestNext() if mStaffLogs.full then return false end local lastID = mStaffLogs.logs[#mStaffLogs.logs].id if not cSync.request("StaffLogs.next", mStaffLogs.filter, lastID) then return false end return true end mStaffLogs.sync = {} function mStaffLogs.sync.next(filter, lastID, logs) if not table.equal(filter, mStaffLogs.filter) then return end local size = #mStaffLogs.logs if size > 0 and mStaffLogs.logs[size].id ~= lastID then return end if #logs == 0 then mStaffLogs.full = true return end for i, data in ipairs(logs) do mStaffLogs.logs[size + i] = data end mStaffLogs.gui.refresh() end
local sarif = require "sarif" local function formatTime(t) local d = os.date("!%Y-%m-%dT%H:%M:%S%z", t or os.time()) return d:sub(1, -3) .. ":" .. d:sub(-2) end local Tracker = {} function Tracker:start(msg) local category = msg.p and msg.p.category or "unspecified" local text = msg.p and msg.p.text or msg.text local event = sarif.request{ action = "event/new", text = category .. ": " .. text, p = { action = "timetracker/activity/" .. category .. "/start", }, } sarif.reply(msg, { action = "timetracker/tracked", p = event.p, text = event.text, }) end function Tracker:fetchActive() local last = sarif.request{ action = "event/last", p = { action = "timetracker/activity", }, } if not last or not last.p or not last.p.action then return nil end local category = string.match(last.p.action, "^timetracker/activity/(.+)/start$") return category and last, category end function Tracker:active(msg) local last, category = self:fetchActive() if not category then return sarif.reply_error(msg, "notfound", "No active time found") end sarif.reply(msg, { action = "timetracker/active", text = "Currently tracking " .. last.text, }) end function Tracker:stop(msg) local last, category = self:fetchActive() if not category then return sarif.reply_error(msg, "notfound", "No active time found") end local text = "Stopped tracking " .. last.text, sarif.request{ action = "event/new", text = text, p = { action = "timetracker/activity/" .. category .. "/stop", }, } sarif.reply(msg, { action = "timetracker/stopped", text = text, }) end function Tracker:today(msg) local category = msg.p and msg.p.category or "" local events = sarif.request{ action = "event/list", p = { action = "timetracker/activity/" .. category, after = formatTime(os.time() - 86400), } } sarif.reply(msg, { action = "timetracker/today", text = events.text, p = events.p, }) end sarif.subscribe("timetracker/start", "", function(msg) Tracker:start(msg) end) sarif.subscribe("timetracker/stop", "", function(msg) Tracker:stop(msg) end) sarif.subscribe("timetracker/active", "", function(msg) Tracker:active(msg) end) sarif.subscribe("timetracker/today", "", function(msg) Tracker:today(msg) end)
function SWEP:NZMaxAmmo() local at = self:GetPrimaryAmmoType() if IsValid(self.Owner) then if self.Primary.ClipSize <= 0 then local count = math.Clamp(10, 300 / ( self.Primary.Damage / 30 ), 10, 300) self.Owner:SetAmmo( count, at) else local count = math.Clamp( math.abs(self.Primary.ClipSize) * 10, 10, 300 ) self.Owner:SetAmmo( count, at) end end end
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Velda-Galda -- Type: Mission NPC -- !pos 138.631 -3.112 61.658 94 ----------------------------------- function onTrade(player,npc,trade) end function onTrigger(player,npc) player:startEvent(177) end function onEventUpdate(player,csid,option) end function onEventFinish(player,csid,option) end
-- Ampton becomes a Yeti local M = {} local M_mt = { __index = M } function M:new(start) if self ~= M then return nil, "First argument must be self" end local o = setmetatable({}, M_mt) o._count = start return o end setmetatable(M, { __call = M.new }) function M_mt:__tostring() return string.format("%d", self._count) end function M:getLevelText(level) if level == 5 then text = "Princess Lindsey says:\n" text = text .. "You won't be able to \n" text = text .. "defeat Mortimer with\n" text = text .. "your stunner alone!" elseif level == 11 then text = "Lt. Barker says:\n" text = text .. "Beware of the\n" text = text .. "Krodacian Overlords!" elseif level == 2 then text = "Spot says:\n" text = text .. "The Shikadi are\n" text = text .. "invincible while\n" text = text .. "climbing poles!" elseif level == 15 then text = "" else text = "Oracle Janitor says:\n" text = text .. "There's something\n" text = text .. "mysterious beneath the\n" text = text .. "giant crater." end return text end function M:getLevelTextBmp(level) if level == 5 then bmpIdx = 40 elseif level == 11 then bmpIdx = 38 elseif level == 2 then bmpIdx = 41 else bmpIdx = 39 end return bmpIdx end return M
function isEventHandlerAdded( sEventName, pElementAttachedTo, func ) if type( sEventName ) == 'string' and isElement( pElementAttachedTo ) and type( func ) == 'function' then local aAttachedFunctions = getEventHandlers( sEventName, pElementAttachedTo ) if type( aAttachedFunctions ) == 'table' and #aAttachedFunctions > 0 then for i, v in ipairs( aAttachedFunctions ) do if v == func then return true end end end end return false end sm = {} sm.moov = 0 sm.object1,sm.object2 = nil,nil local function removeCamHandler() if(sm.moov == 1)then sm.moov = 0 end end local function camRender() if (sm.moov == 1) then local x1,y1,z1 = getElementPosition(sm.object1) local x2,y2,z2 = getElementPosition(sm.object2) setCameraMatrix(x1,y1,z1,x2,y2,z2) end end function smoothMoveCamera(x1,y1,z1,x1t,y1t,z1t,x2,y2,z2,x2t,y2t,z2t,time) if(sm.moov == 1)then return false end if isElement (sm.object1) then destroyElement(sm.object1); end if isElement (sm.object2) then destroyElement(sm.object2); end if not isEventHandlerAdded ("onClientPreRender", root, camRender) then addEventHandler("onClientPreRender",root,camRender) end sm.object1 = createObject(1337,x1,y1,z1) sm.object2 = createObject(1337,x1t,y1t,z1t) setElementAlpha(sm.object1,0) setElementAlpha(sm.object2,0) setObjectScale(sm.object1,0.01) setObjectScale(sm.object2,0.01) moveObject(sm.object1,time,x2,y2,z2,0,0,0,"InOutQuad") moveObject(sm.object2,time,x2t,y2t,z2t,0,0,0,"InOutQuad") sm.moov = 1 setTimer(removeCamHandler,time,1) setTimer(destroyElement,time,1,sm.object1) setTimer(destroyElement,time,1,sm.object2) return true end
--- 框架默认事件动作 --- default event actions hevent_default_actions = { player = { esc = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerPlayer(), CONST_EVENT.esc, { triggerPlayer = cj.GetTriggerPlayer() } ) end), deSelection = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerPlayer(), CONST_EVENT.deSelection, { triggerPlayer = cj.GetTriggerPlayer(), triggerUnit = cj.GetTriggerUnit() } ) end), constructStart = cj.Condition(function() hevent.triggerEvent( hunit.getOwner(cj.GetTriggerUnit()), CONST_EVENT.constructStart, { triggerUnit = cj.GetTriggerUnit() } ) end), constructCancel = cj.Condition(function() hevent.triggerEvent( hunit.getOwner(cj.GetTriggerUnit()), CONST_EVENT.constructCancel, { triggerUnit = cj.GetCancelledStructure() } ) end), constructFinish = cj.Condition(function() hevent.triggerEvent( hunit.getOwner(cj.GetTriggerUnit()), CONST_EVENT.constructFinish, { triggerUnit = cj.GetConstructedStructure() } ) end), apm = cj.Condition(function() local p = hunit.getOwner(cj.GetTriggerUnit()) if (his.playing(p) == true and his.playerSite(p) == true and his.computer(p) == false) then hplayer.set(p, "apm", hplayer.get(p, "apm", 0) + 1) end end), command = function() local p = cj.GetTriggerPlayer() local str = string.lower(cj.GetEventPlayerChatString()) if (str == "-apc") then if (hplayer.getIsAutoConvert(p) == true) then hplayer.setIsAutoConvert(p, false) echo("|cffffcc00已关闭|r自动换算", p) else hplayer.setIsAutoConvert(p, true) echo("|cffffcc00已开启|r自动换算", p) end elseif (str == "-apm") then echo("您的apm为:" .. hplayer.getApm(p), p) elseif (str == "-eff") then if (hplayer.qty_current == 1) then if (heffect.enable == true) then heffect.enable = false hlightning.enable = false echo("|cffffcc00已关闭|r大部分特效", p) else heffect.enable = true hlightning.enable = true echo("|cffffcc00已开启|r大部分特效", p) end else echo("此命令仅在单人时有效", p) end elseif (str == "-gg") then hplayer.defeat(p, "GG") elseif (str == "-random") then if (#hhero.selectorPool <= 0 or hplayer.getAllowCommandPick(p) ~= true) then echo("-random命令被禁用", p) return end local pIndex = hplayer.index(p) if (#hhero.player_heroes[pIndex] >= hhero.player_allow_qty[pIndex]) then echo("|cffffff80你已经选够了|r", p) return end local txt = "" local qty = 0 while (true) do local one = table.random(hhero.selectorPool) table.delete(one, hhero.selectorPool) local u = one if (type(one) == 'string') then u = hunit.create( { whichPlayer = p, unitId = one, x = hhero.bornX, y = hhero.bornY } ) hRuntime.hero[u] = { selector = hRuntime.hero[one], } cj.RemoveUnitFromStock(hRuntime.hero[one], string.char2id(one)) else table.delete(one, hhero.selectorClearPool) hunit.setInvulnerable(u, false) cj.SetUnitOwner(u, p, true) hunit.portal(u, hhero.bornX, hhero.bornY) cj.PauseUnit(u, false) end table.insert(hhero.player_heroes[pIndex], u) -- 触发英雄被选择事件(全局) hevent.triggerEvent( "global", CONST_EVENT.pickHero, { triggerPlayer = p, triggerUnit = u } ) txt = txt .. " " .. cj.GetUnitName(u) qty = qty + 1 if (#hhero.player_heroes[pIndex] >= hhero.player_allow_qty[pIndex]) then break end end echo("已为您 |cffffff80random|r 挑选了 " .. "|cffffff80" .. math.floor(qty) .. "|r 个:|cffffff80" .. txt .. "|r", p) elseif (str == "-repick") then if (#hhero.selectorPool <= 0 or hplayer.getAllowCommandPick(p) ~= true) then echo("-repick命令被禁用", p) return end local pIndex = hplayer.index(p) if (#hhero.player_heroes[pIndex] <= 0) then echo("|cffffff80你还没有选过任何单位|r", p) return end local qty = #hhero.player_heroes[pIndex] for _, u in ipairs(hhero.player_heroes[pIndex]) do if (type(hRuntime.hero[u].selector) == "userdata") then table.insert(hhero.selectorPool, hunit.getId(u)) cj.AddUnitToStock(hRuntime.hero[u].selector, cj.GetUnitTypeId(u), 1, 1) else local new = hunit.create( { whichPlayer = cj.Player(PLAYER_NEUTRAL_PASSIVE), unitId = cj.GetUnitTypeId(u), x = hRuntime.hero[u].selector[1], y = hRuntime.hero[u].selector[2], isInvulnerable = true, isPause = true } ) hRuntime.hero[new] = { selector = { hRuntime.hero[u].selector[1], hRuntime.hero[u].selector[2] }, } table.insert(hhero.selectorClearPool, new) table.insert(hhero.selectorPool, new) end hunit.del(u, 0) end hhero.player_heroes[pIndex] = {} echo("已为您 |cffffff80repick|r 了 " .. "|cffffff80" .. qty .. "|r 个单位", p) else local first = string.sub(str, 1, 1) if (first == "+" or first == "-") then --视距 local v = string.sub(str, 2, string.len(str)) v = tonumber(v) if (v == nil) then return else local val = math.abs(v) if (first == "+") then hcamera.changeDistance(p, val) elseif (first == "-") then hcamera.changeDistance(p, -val) end end end end end, leave = cj.Condition(function() local p = cj.GetTriggerPlayer() hplayer.set(p, "status", hplayer.player_status.leave) echo(cj.GetPlayerName(p) .. "离开了游戏~") hplayer.clearUnit(p) hplayer.qty_current = hplayer.qty_current - 1 -- 触发玩家离开事件(全局) hevent.triggerEvent( "global", CONST_EVENT.playerLeave, { triggerPlayer = p } ) end), selection = cj.Condition(function() local triggerPlayer = cj.GetTriggerPlayer() local triggerUnit = cj.GetTriggerUnit() local click = hplayer.get(triggerPlayer, 'click', nil) if (click == nil) then click = 0 end hplayer.set(triggerPlayer, 'click', click + 1) htime.setTimeout( 0.3, function(ct) htime.delTimer(ct) hplayer.set(triggerPlayer, 'click', hplayer.get(triggerPlayer, 'click') - 1) end ) for qty = 1, 10 do if (hplayer.get(triggerPlayer, 'click') >= qty) then hevent.triggerEvent( triggerPlayer, CONST_EVENT.selection .. "#" .. qty, { triggerPlayer = triggerPlayer, triggerUnit = triggerUnit, qty = qty } ) end end end), }, unit = { attackDetect = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.attackDetect, { triggerUnit = cj.GetTriggerUnit(), targetUnit = cj.GetEventTargetUnit() } ) end), attackGetTarget = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.attackGetTarget, { triggerUnit = cj.GetTriggerUnit(), targetUnit = cj.GetEventTargetUnit() } ) end), beAttackReady = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.beAttackReady, { triggerUnit = cj.GetTriggerUnit(), targetUnit = cj.GetAttacker(), attacker = cj.GetAttacker() } ) end), skillStudy = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.skillStudy, { triggerUnit = cj.GetTriggerUnit(), triggerSkill = cj.GetLearnedSkill() } ) end), skillReady = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.skillReady, { triggerUnit = cj.GetTriggerUnit(), triggerSkill = cj.GetSpellAbilityId(), targetUnit = cj.GetSpellTargetUnit(), targetLoc = cj.GetSpellTargetLoc() } ) end), skillCast = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.skillCast, { triggerUnit = cj.GetTriggerUnit(), triggerSkill = cj.GetSpellAbilityId(), targetUnit = cj.GetSpellTargetUnit(), targetLoc = cj.GetSpellTargetLoc() } ) end), skillStop = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.skillStop, { triggerUnit = cj.GetTriggerUnit(), triggerSkill = cj.GetSpellAbilityId() } ) end), skillEffect = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.skillEffect, { triggerUnit = cj.GetTriggerUnit(), triggerSkill = cj.GetSpellAbilityId(), targetUnit = cj.GetSpellTargetUnit(), targetLoc = cj.GetSpellTargetLoc() } ) end), skillFinish = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.skillFinish, { triggerUnit = cj.GetTriggerUnit(), triggerSkill = cj.GetSpellAbilityId() } ) end), upgradeStart = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.upgradeStart, { triggerUnit = cj.GetTriggerUnit(), } ) end), upgradeCancel = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.upgradeCancel, { triggerUnit = cj.GetTriggerUnit(), } ) end), upgradeFinish = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerUnit(), CONST_EVENT.upgradeFinish, { triggerUnit = cj.GetTriggerUnit(), } ) end), damaged = cj.Condition(function() local sourceUnit = cj.GetEventDamageSource() local targetUnit = cj.GetTriggerUnit() local damage = cj.GetEventDamage() local curLife = hunit.getCurLife(targetUnit) local isLethal = curLife <= damage if (damage > 0.125) then local changeLife = math.floor(damage) + 1 if (isLethal == true) then cj.SetUnitInvulnerable(targetUnit, true) else hattr.set(targetUnit, 0, { life = "+" .. changeLife }) end htime.setTimeout( 0, function(t) htime.delTimer(t) if (isLethal == true) then cj.SetUnitInvulnerable(targetUnit, false) else hattr.set(targetUnit, 0, { life = "-" .. changeLife }) hunit.setCurLife(targetUnit, curLife) end hskill.damage( { sourceUnit = sourceUnit, targetUnit = targetUnit, damage = damage, damageKind = "attack" } ) end ) end end), death = cj.Condition(function() local u = cj.GetTriggerUnit() local killer = hevent.getLastDamageUnit(u) if (killer ~= nil) then hplayer.addKill(hunit.getOwner(killer), 1) end -- @触发死亡事件 hevent.triggerEvent( u, CONST_EVENT.dead, { triggerUnit = u, killer = killer } ) -- @触发击杀事件 hevent.triggerEvent( killer, CONST_EVENT.kill, { triggerUnit = killer, killer = killer, targetUnit = u } ) end), order = cj.Condition(function() --[[ 851983:ATTACK 攻击 851971:SMART 851986:MOVE 移动 851993:HOLD 保持原位 851972:STOP 停止 852003:移动物品栏 ]] local triggerUnit = cj.GetTriggerUnit() local orderId = cj.GetIssuedOrderId() local orderTargetUnit = cj.GetOrderTargetUnit() local orderTargetItem = cj.GetOrderTargetItem() local loc = cj.GetOrderPointLoc() local lx = 1.11 local ly = 2.22 local lz = 3.33 if (loc ~= nil) then lx = cj.GetLocationX(loc) ly = cj.GetLocationY(loc) lz = cj.GetLocationZ(loc) cj.RemoveLocation(loc) loc = nil elseif (orderTargetUnit ~= nil) then loc = cj.GetUnitLoc(orderTargetUnit) lx = cj.GetLocationX(loc) ly = cj.GetLocationY(loc) lz = cj.GetLocationZ(loc) cj.RemoveLocation(loc) loc = nil elseif (orderTargetItem ~= nil and orderId ~= 852003) then loc = cj.Location(cj.GetItemX(orderTargetItem), cj.GetItemY(orderTargetItem)) lx = cj.GetLocationX(loc) ly = cj.GetLocationY(loc) lz = cj.GetLocationZ(loc) cj.RemoveLocation(loc) loc = nil end if (orderId == 851983 or orderId == 851971 or orderId == 851986 or (lx ~= 1.11 and ly ~= 2.22 and lz ~= 3.33)) then local mov1 = hunit.get(triggerUnit, 'moving', 0) if (mov1 == 0) then hunit.set(triggerUnit, 'moving', 1) local x = math.floor(cj.GetUnitX(triggerUnit)) local y = math.floor(cj.GetUnitY(triggerUnit)) local step = 0 htime.setInterval(0.25, function(curTimer) local mov2 = hunit.get(triggerUnit, 'moving', 0) if (mov2 == 0) then htime.delTimer(curTimer) return end local tx = math.floor(cj.GetUnitX(triggerUnit)) local ty = math.floor(cj.GetUnitY(triggerUnit)) if (mov2 == 1) then -- 移动开始 if (tx ~= x or ty ~= y) then hunit.set(triggerUnit, 'moving', 2) hevent.triggerEvent( triggerUnit, CONST_EVENT.moveStart, { triggerUnit = triggerUnit, targetLoc = cj.GetOrderPointLoc(), } ) else hunit.set(triggerUnit, 'moving', 0) end elseif (mov2 == 2) then -- 移动ing step = step + 1 hevent.triggerEvent( triggerUnit, CONST_EVENT.moving, { triggerUnit = triggerUnit, step = step, } ) if (tx == x and ty == y) then -- 没位移,移动停止 hunit.set(triggerUnit, 'moving', 0) hevent.triggerEvent( triggerUnit, CONST_EVENT.moveStop, { triggerUnit = triggerUnit, } ) end end x = tx y = ty end) end elseif (orderId == 851993) then hunit.set(triggerUnit, 'moving', 0) hevent.triggerEvent( triggerUnit, CONST_EVENT.holdOn, { triggerUnit = triggerUnit, } ) elseif (orderId == 851972) then hunit.set(triggerUnit, 'moving', 0) hevent.triggerEvent( triggerUnit, CONST_EVENT.stop, { triggerUnit = triggerUnit, } ) end end), sell = cj.Condition(function() local u = cj.GetSoldUnit() hunit.embed(u) hevent.triggerEvent( cj.GetSellingUnit(), CONST_EVENT.unitSell, { triggerUnit = cj.GetSellingUnit(), soldUnit = u, buyingUnit = cj.GetBuyingUnit(), } ) end), }, hero = { levelUp = cj.Condition(function() local u = cj.GetTriggerUnit() local diffLv = cj.GetHeroLevel(u) - hhero.getPrevLevel(u) if (diffLv < 1) then return end hhero.setPrevLevel(u, cj.GetHeroLevel(u)) hattr.set(u, 0, { str_white = "=" .. cj.GetHeroStr(u, false), agi_white = "=" .. cj.GetHeroAgi(u, false), int_white = "=" .. cj.GetHeroInt(u, false) }) -- @触发升级事件 hevent.triggerEvent( u, CONST_EVENT.levelUp, { triggerUnit = u, value = diffLv } ) end) }, courier = { defaultSkills = cj.Condition(function() local abilityId = cj.GetSpellAbilityId() if (abilityId == nil) then return end abilityId = string.id2char(abilityId) local slk = hslk_global.id2Value.ability[abilityId] if (slk == nil) then return end local triggerUnit = cj.GetTriggerUnit() local p = hunit.getOwner(triggerUnit) if (slk.Name == "信使-闪烁") then hevent.triggerEvent( triggerUnit, CONST_EVENT.courierBlink, { triggerUnit = triggerUnit, triggerSkill = abilityId, targetLoc = cj.GetSpellTargetLoc() } ) elseif (slk.Name == "信使-拾取") then local radius = 500 --半径 hitem.pickRound(triggerUnit, hunit.x(triggerUnit), hunit.y(triggerUnit), radius) hevent.triggerEvent( triggerUnit, CONST_EVENT.courierRangePickUp, { triggerUnit = triggerUnit, triggerSkill = abilityId, radius = radius } ) elseif (slk.Name == "信使-拆分物品") then local it = cj.GetSpellTargetItem() if (it == nil) then echo("物品不存在", p) return end local id = hitem.getId(it) local name = hitem.getName(it) local originSlk = hslk_global.id2Value.item[id] if (originSlk ~= nil and originSlk.SHADOW == true) then id = hslk_global.id2Value.item[originSlk.SHADOW_ID].ITEM_ID end local charges = hitem.getCharges(it) local formulas = hslk_global.synthesis.profit[id] local allowFormulaIndex = {} if (formulas ~= nil) then for fi, f in ipairs(formulas) do if (charges >= f.qty) then table.insert(allowFormulaIndex, fi) end end end local buttons = {} if (charges > 1) then table.insert(buttons, { value = 0, label = name .. "x" .. charges }) end if (#allowFormulaIndex > 0) then for ai, a in ipairs(allowFormulaIndex) do local txt = {} for _, frag in ipairs(formulas[a].fragment) do local fragName = hitem.getName(it) table.insert(txt, fragName .. 'x' .. frag[2] * charges) end table.insert(buttons, { value = ai, label = string.implode('+', txt) }) end end if (#buttons < 1) then echo("物品无法拆分", p) return end if (#buttons == 1) then local err local btnValue = buttons[1].value if (btnValue == 0) then err = hitem.separate(it, 'single', 0, triggerUnit) else err = hitem.separate(it, 'formula', btnValue, triggerUnit) end if (err ~= nil) then echo(err, p) return end hevent.triggerEvent( triggerUnit, CONST_EVENT.courierSeparate, { triggerUnit = triggerUnit, triggerSkill = abilityId, triggerItemId = id, } ) else hdialog.create(p, { title = "拆分成", buttons = buttons, }, function(btnValue) local err if (btnValue == 0) then err = hitem.separate(it, 'single', 0, triggerUnit) else err = hitem.separate(it, 'formula', btnValue, triggerUnit) end if (err ~= nil) then echo(err, p) return end hevent.triggerEvent( triggerUnit, CONST_EVENT.courierSeparate, { triggerUnit = triggerUnit, triggerSkill = abilityId, triggerItemId = id, } ) end) end elseif (slk.Name == "信使-传递") then local pIndex = hplayer.index(p) if (hhero.player_heroes[pIndex] == nil or #hhero.player_heroes[pIndex] <= 0) then echo("你没有英雄", p) return end local items = {} hitem.slotLoop(triggerUnit, function(slotItem) table.insert(items, slotItem) end) if (#items <= 0) then echo("没有物品可传递", p) return end local x = hunit.x(triggerUnit) local y = hunit.y(triggerUnit) if (#hhero.player_heroes[pIndex] == 1) then local hero = hhero.player_heroes[pIndex][1] or nil if (hero == nil or false == his.alive(hero) or true == his.deleted(hero)) then echo("英雄不存在", p) return end local itemIds = hitem.synthesis(hero, items) if (#itemIds > 0) then for _, vi in ipairs(itemIds) do local tmpIt = cj.CreateItem(string.char2id(vi.id), x, y) hitem.pick(tmpIt, triggerUnit) end end hevent.triggerEvent( triggerUnit, CONST_EVENT.courierDeliver, { triggerUnit = triggerUnit, triggerSkill = abilityId, targetUnit = hero, } ) else local buttons = {} for hi, h in ipairs(hhero.player_heroes[pIndex]) do table.insert(buttons, { value = hi, label = hunit.getName(h) }) end hdialog.create(p, { title = "要给谁", buttons = buttons, }, function(btnValue) local hero = hhero.player_heroes[pIndex][btnValue] or nil if (hero == nil or false == his.alive(hero) or true == his.deleted(hero)) then echo("英雄不存在", p) return end local itemIds = hitem.synthesis(hero, items) if (#itemIds > 0) then for _, vi in ipairs(itemIds) do local tmpIt = cj.CreateItem(string.char2id(vi.id), x, y) hitem.pick(tmpIt, triggerUnit) end end hevent.triggerEvent( triggerUnit, CONST_EVENT.courierDeliver, { triggerUnit = triggerUnit, triggerSkill = abilityId, targetUnit = hero, } ) end) end end end), }, dialog = { click = cj.Condition(function() local clickedDialog = cj.GetClickedDialog() local clickedButton = cj.GetClickedButton() local val for _, b in ipairs(hRuntime.dialog[clickedDialog].buttons) do if (b.button == clickedButton) then val = b.value end end if (type(hRuntime.dialog[clickedDialog].action) == 'function') then hRuntime.dialog[clickedDialog].action(val) end hdialog.del(clickedDialog) end) }, item = { pickup = cj.Condition(function() local it = cj.GetManipulatedItem() local itId = cj.GetItemTypeId(it) if (table.includes(itId, hslk_global.attr.item_attack_white.items)) then --过滤hlua白字攻击物品 return end itId = string.id2char(itId) local itSlk = hitem.getSlk(itId) if (itSlk == nil) then return end if (hRuntime.item[it] ~= nil and hRuntime.item[it].positionType == hitem.POSITION_TYPE.UNIT) then -- 排除掉runtime内已创建给unit的物品 return end local u = cj.GetTriggerUnit() local charges = cj.GetItemCharges(it) hitem.del(it, 0) it = hitem.create( { itemId = itId, whichUnit = u, charges = charges, during = 0 } ) end), drop = cj.Condition(function() local it = cj.GetManipulatedItem() local itId = cj.GetItemTypeId(it) if (table.includes(itId, hslk_global.attr.item_attack_white.items)) then --过滤hlua白字攻击物品 return end itId = string.id2char(itId) local u = cj.GetTriggerUnit() local charges = cj.GetItemCharges(it) if (cj.GetUnitCurrentOrder(u) == 852001) then -- dropitem:852001 --触发丢弃物品事件,因为物品过后会被删除,所以先执行触发 hevent.triggerEvent( u, CONST_EVENT.itemDrop, { triggerUnit = u, triggerItem = it, targetUnit = cj.GetOrderTargetUnit(), } ) hitem.subProperty(u, itId, charges) hitem.setPositionType(it, hitem.POSITION_TYPE.COORDINATE) htime.setTimeout(0.05, function(t) htime.delTimer(t) local n = cj.GetItemName(it) if (n ~= nil) then local slk = hitem.getSlk(it) if (slk ~= nil and slk.SHADOW ~= true and slk.SHADOW_ID ~= nil) then local x = cj.GetItemX(it) local y = cj.GetItemY(it) hitem.del(it, 0) hitem.create( { itemId = slk.SHADOW_ID, x = x, y = y, charges = charges, during = 0 } ) end end end) end end), pawn = cj.Condition(function() --[[ 抵押物品的原理,首先默认是设定:物品售卖为50%,也就是地图的默认设置 根据玩家的sellRatio,额外的减少或增加玩家的收入 从而实现玩家的售卖率提升,至于物品的价格是根据slk获取 所以如果无法获取slk的属性时,此方法自动无效 ]] local u = cj.GetTriggerUnit() local it = cj.GetSoldItem() local goldcost = hitem.getGoldCost(it) local lumbercost = hitem.getLumberCost(it) local soldGold = 0 local soldLumber = 0 hRuntime.clear(it) if (goldcost ~= 0 or lumbercost ~= 0) then local p = hunit.getOwner(u) local sellRatio = hplayer.getSellRatio(u) if (sellRatio ~= 50) then if (sellRatio < 0) then sellRatio = 0 elseif (sellRatio > 1000) then sellRatio = 1000 end local tempRatio = sellRatio - 50.0 soldGold = math.floor(goldcost * tempRatio * 0.01) soldLumber = math.floor(lumbercost * tempRatio * 0.01) if (goldcost ~= 0 and soldGold ~= 0) then hplayer.addGold(p, soldGold) end if (lumbercost ~= 0 and soldLumber ~= 0) then hplayer.addLumber(p, soldLumber) end end end --触发抵押物品事件 hevent.triggerEvent( u, CONST_EVENT.itemPawn, { triggerUnit = u, soldItem = it, buyingUnit = cj.GetBuyingUnit(), soldGold = soldGold, soldLumber = soldLumber, } ) end), use = cj.Condition(function() local u = cj.GetTriggerUnit() local it = cj.GetManipulatedItem() local itId = hitem.getId(it) local perishable = hitem.getIsPerishable(itId) --检测是否使用后自动消失,如果不是,次数补回1 if (perishable == false) then hitem.setCharges(it, hitem.getCharges(it) + 1) else hitem.subProperty(u, itId, 1) end --检测是否有匹配使用 local triggerData = hunit.get(u, "item-use-" .. itId, {}) hunit.set(u, "item-use-" .. itId, nil) hitem.used(u, it, triggerData) --消失的清理cache if (perishable == true and hitem.getCharges(it) <= 0) then hitem.del(it) end end), use_s = cj.Condition(function() local skillId = string.id2char(cj.GetSpellAbilityId()) local itId = hslk_global.item_cooldown_ids[skillId] or nil if (itId == nil) then return end hunit.set(cj.GetTriggerUnit(), "item-use-" .. itId, { triggerSkill = skillId, targetUnit = cj.GetSpellTargetUnit(), targetLoc = cj.GetSpellTargetLoc() }) end), sell = cj.Condition(function() hevent.triggerEvent( cj.GetSellingUnit(), CONST_EVENT.itemSell, { triggerUnit = cj.GetSellingUnit(), soldItem = cj.GetSoldItem(), buyingUnit = cj.GetBuyingUnit() } ) end), destroy = cj.Condition(function() hevent.triggerEvent( cj.GetManipulatedItem(), CONST_EVENT.itemDestroy, { triggerItem = cj.GetManipulatedItem(), triggerUnit = cj.GetKillingUnit() } ) end), }, destructable = { destroy = cj.Condition(function() hevent.triggerEvent( cj.GetTriggerDestructable(), CONST_EVENT.destructableDestroy, { triggerDestructable = cj.GetTriggerDestructable() } ) end) } }
Grid = {} function Grid:create(o) return self end function Grid:get(x,y) return self[y][x] end function Grid:set(x,y,val) self[y][x] = val end function Grid:has(x,y) if self[y] and self[y][x] then return true else return false end end function Grid:neighbors(x,y,condition) local n = 0 for iy=-1, 1 do for ix=-1, 1 do if (self[y+iy] and self[y+iy][x+ix]) and not (iy == 0 and ix == 0) then if (condition and self[y+iy][x+ix] == condition) or not condition then n = n + 1 end end end end return n end function Grid:borders(x,y,condition) local n = 0 if self[y-1] and self[y-1][x] then if (condition and self[y-1][x] == condition) or not condition then n = n + 1 end end if self[y+1] and self[y+1][x] then if (condition and self[y+1][x] == condition) or not condition then n = n + 1 end end if self[y][x-1] then if (condition and self[y][x-1] == condition) or not condition then n = n + 1 end end if self[y][x+1] then if (condition and self[y][x+1] == condition) or not condition then n = n + 1 end end return n end function Grid:corners(x,y,condition) local n = 0 if self[y-1] then if self[y-1][x-1] then if (condition and self[y-1][x-1] == condition) or not condition then n = n + 1 end end if self[y-1][x+1] then if (condition and self[y-1][x+1] == condition) or not condition then n = n + 1 end end end if self[y+1] then if self[y+1][x-1] then if (condition and self[y+1][x-1] == condition) or not condition then n = n + 1 end end if self[y+1][x+1] then if (condition and self[y+1][x+1] == condition) or not condition then n = n + 1 end end end return n end function Grid:bitmask(x,y,condition) local n = 0 if self[y-1] and self[y-1][x] then if (condition and self[y-1][x] == condition) or not condition then n = n + 1 end end if self[y][x-1] then if (condition and self[y][x-1] == condition) or not condition then n = n + 2 end end if self[y][x+1] then if (condition and self[y][x+1] == condition) or not condition then n = n + 4 end end if self[y+1] and self[y+1][x] then if (condition and self[y+1][x] == condition) or not condition then n = n + 8 end end return n end function Grid:iterate(func) for y=1, #self do for x=1, #self do func(x,y,self[y][x]) end end end function Grid:automata(func,condition) local newgrid = {} for i=1, #self do newgrid[i] = {} end for y=1, #self do for x=1, #self do newgrid[y][x] = func(self:neighbors(x,y,condition), self[y][x]) end end for i=1, #self do self[i] = newgrid[i] end end local function getRegionCells(startX, startY, grid) local cells = {} local mapFlags = {} for y=1, #grid do mapFlags[y] = {} for x=1, #grid[y] do mapFlags[y][x] = false end end local cellType = grid:get(startX, startY) local queue = {} queue[#queue+1] = {startY,startX} while #queue > 0 do local cell cell, queue[#queue] = queue[#queue], nil if grid:has(cell[2], cell[1]) and grid:get(cell[2], cell[1]) == cellType and mapFlags[cell[1]][cell[2]] == false then cells[#cells+1] = cell mapFlags[cell[1]][cell[2]] = true queue[#queue+1] = {cell[1],cell[2]+1} queue[#queue+1] = {cell[1],cell[2]-1} queue[#queue+1] = {cell[1]+1,cell[2]} queue[#queue+1] = {cell[1]-1,cell[2]} end end return cells end function Grid:getRegions(condition) local regions = {} local mapFlags = {} for y=1, #self do mapFlags[y] = {} for x=1, #self[y] do mapFlags[y][x] = false end end for y=1, #self do for x=1, #self do if mapFlags[y][x] == false and self:get(x,y) == condition then local region = getRegionCells(x,y,self) regions[#regions+1] = region for i=1, #region do local cell = region[i] mapFlags[cell[1]][cell[2]] = true end end end end return regions end
workspace "Kernstuck" architecture "x64" configurations { "Debug", "Release", "Dist" } outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}" IncludeDir = {} IncludeDir["GLFW"] = "Kernstuck/vendor/GLFW/include" include "Kernstuck/vendor/GLFW" project "Kernstuck" location "Kernstuck" kind "SharedLib" language "C++" targetdir ("bin/" .. outputdir .. "/%{prj.name}") objdir ("binint/" .. outputdir .. "/%{prj.name}") pchheader "khpc.h" pchsource "Kernstuck/src/khpc.cpp" files { "%{prj.name}/src/**.h", "%{prj.name}/src/**.cpp" } includedirs { "%{prj.name}/src", "%{prj.name}/vendor/spdlog/include", "%{IncludeDir.GLFW}" } links { "Dwmapi.lib", "GLFW", "opengl32.lib" } filter "system:windows" cppdialect "C++17" staticruntime "On" systemversion "latest" defines { "KS_PLATFORM_WINDOWS", "KS_BUILD_DLL", } postbuildcommands { ("{COPY} %{cfg.buildtarget.relpath} ../bin/" .. outputdir .. "/FlappyBird") } filter "configurations:Debug" defines "KS_DEBUG" symbols "On" filter "configurations:Release" defines "KS_RELEASE" optimize "On" filter "configurations:Dist" defines "KS_DIST" optimize "On" project "FlappyBird" location "FlappyBird" kind "ConsoleApp" language "C++" targetdir ("bin/" .. outputdir .. "/%{prj.name}") objdir ("binint/" .. outputdir .. "/%{prj.name}") files { "%{prj.name}/src/**.h", "%{prj.name}/src/**.cpp" } includedirs { "Kernstuck/vendor/spdlog/include", "Kernstuck/src" } links { "Kernstuck" } filter "system:windows" cppdialect "C++17" staticruntime "On" systemversion "latest" defines { "KS_PLATFORM_WINDOWS" } filter "configurations:Debug" defines "KS_DEBUG" symbols "On" filter "configurations:Release" defines "KS_RELEASE" optimize "On" filter "configurations:Dist" defines "KS_DIST" optimize "On"
function love.conf(t) t.console = true; t.window.width = 600; t.window.height = 400; t.window.minwidth = 400; t.window.minheight = 200; t.window.resizable = true; t.modules.audio = false; end;
return function(s, common) local kernel_settings = TableDeepCopy(s.common_settings) kernel_settings.cc.includes:Add("src/common/include/kogata", "src/kernel/include") kernel_settings.link.flags:Add("-T src/kernel/linker.ld") kernel_source = { Collect('src/kernel/core/*.s'), Collect('src/kernel/dev/*.s'), Collect('src/kernel/core/*.c'), Collect('src/kernel/dev/*.c'), Collect('src/kernel/fs/*.c'), Collect('src/kernel/user/*.c'), } obj = Compile(kernel_settings, kernel_source) return { obj = obj, bin = Link(kernel_settings, "kernel", {obj, common.libc, common.libkogata}) } end
-- Event notes hooks function onCreate() setPropertyFromClass('ClientPrefs', 'middleScroll', true); end
giant_gackle_bat = Creature:new { objectName = "@mob/creature_names:giant_gackle_bat", socialGroup = "gacklebat", faction = "", level = 24, chanceHit = 0.350000, damageMin = 230, damageMax = 240, baseXp = 2443, baseHAM = 7550, baseHAMmax = 7550, armor = 0, resists = {115,120,-1,125,-1,-1,-1,-1,-1}, meatType = "meat_carnivore", meatAmount = 7, hideType = "hide_bristley", hideAmount = 5, boneType = "bone_mammal", boneAmount = 6, milk = 0, tamingChance = 0.250000, ferocity = 0, pvpBitmask = AGGRESSIVE + ATTACKABLE + ENEMY, creatureBitmask = PACK, diet = CARNIVORE, templates = {"object/mobile/giant_gackle_bat.iff"}, hues = { 16, 17, 18, 19, 20, 21, 22, 23 }, controlDeviceTemplate = "object/intangible/pet/gackle_bat_hue.iff", scale = 1.5, lootGroups = {}, weapons = {}, attacks = { {"intimidationattack",""} } } CreatureTemplates:addCreatureTemplate(giant_gackle_bat, "giant_gackle_bat")
--[[ MailSlurp API MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository The version of the OpenAPI document: 6.5.2 Contact: contact@mailslurp.dev Generated by: https://openapi-generator.tech ]] --package maislurp-client-lua local http_request = require "http.request" local http_util = require "http.util" local dkjson = require "dkjson" local basexx = require "basexx" -- model import local maislurp-client-lua_alias_dto = require "maislurp-client-lua.model.alias_dto" local maislurp-client-lua_page_alias = require "maislurp-client-lua.model.page_alias" local maislurp-client-lua_page_email_projection = require "maislurp-client-lua.model.page_email_projection" local maislurp-client-lua_page_thread_projection = require "maislurp-client-lua.model.page_thread_projection" local maislurp-client-lua_sent_email_dto = require "maislurp-client-lua.model.sent_email_dto" local maislurp-client-lua_create_alias_options = require "maislurp-client-lua.model.create_alias_options" local maislurp-client-lua_reply_to_alias_email_options = require "maislurp-client-lua.model.reply_to_alias_email_options" local maislurp-client-lua_send_email_options = require "maislurp-client-lua.model.send_email_options" local maislurp-client-lua_update_alias_options = require "maislurp-client-lua.model.update_alias_options" local alias_controller_api = {} local alias_controller_api_mt = { __name = "alias_controller_api"; __index = alias_controller_api; } local function new_alias_controller_api(authority, basePath, schemes) local schemes_map = {} for _,v in ipairs(schemes) do schemes_map[v] = v end local default_scheme = schemes_map.https or schemes_map.http local host, port = http_util.split_authority(authority, default_scheme) return setmetatable({ host = host; port = port; basePath = basePath or "https://api.mailslurp.com"; schemes = schemes_map; default_scheme = default_scheme; http_username = nil; http_password = nil; api_key = {}; access_token = nil; }, alias_controller_api_mt) end function alias_controller_api:create_alias(create_alias_options) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases", self.basePath); }) -- set HTTP verb req.headers:upsert(":method", "POST") -- TODO: create a function to select proper accept --local var_content_type = { "application/json" } req.headers:upsert("accept", "application/json") -- TODO: create a function to select proper content-type --local var_accept = { "*/*" } req.headers:upsert("content-type", "*/*") req:set_body(dkjson.encode(create_alias_options)) -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then local body, err, errno2 = stream:get_body_as_string() -- exception when getting the HTTP body if not body then return nil, err, errno2 end stream:shutdown() local result, _, err3 = dkjson.decode(body) -- exception when decoding the HTTP body if result == nil then return nil, err3 end return maislurp-client-lua_alias_dto.cast(result), headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end function alias_controller_api:delete_alias(alias_id) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases/%s", self.basePath, alias_id); }) -- set HTTP verb req.headers:upsert(":method", "DELETE") -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then return nil, headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end function alias_controller_api:get_alias(alias_id) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases/%s", self.basePath, alias_id); }) -- set HTTP verb req.headers:upsert(":method", "GET") -- TODO: create a function to select proper content-type --local var_accept = { "*/*" } req.headers:upsert("content-type", "*/*") -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then local body, err, errno2 = stream:get_body_as_string() -- exception when getting the HTTP body if not body then return nil, err, errno2 end stream:shutdown() local result, _, err3 = dkjson.decode(body) -- exception when decoding the HTTP body if result == nil then return nil, err3 end return maislurp-client-lua_alias_dto.cast(result), headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end function alias_controller_api:get_alias_emails(alias_id, page, size, sort, since, before) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases/%s/emails?page=%s&size=%s&sort=%s&since=%s&before=%s", self.basePath, alias_id, http_util.encodeURIComponent(page), http_util.encodeURIComponent(size), http_util.encodeURIComponent(sort), http_util.encodeURIComponent(since), http_util.encodeURIComponent(before)); }) -- set HTTP verb req.headers:upsert(":method", "GET") -- TODO: create a function to select proper content-type --local var_accept = { "*/*" } req.headers:upsert("content-type", "*/*") -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then local body, err, errno2 = stream:get_body_as_string() -- exception when getting the HTTP body if not body then return nil, err, errno2 end stream:shutdown() local result, _, err3 = dkjson.decode(body) -- exception when decoding the HTTP body if result == nil then return nil, err3 end return maislurp-client-lua_page_email_projection.cast(result), headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end function alias_controller_api:get_alias_threads(alias_id, page, size, sort, since, before) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases/%s/threads?page=%s&size=%s&sort=%s&since=%s&before=%s", self.basePath, alias_id, http_util.encodeURIComponent(page), http_util.encodeURIComponent(size), http_util.encodeURIComponent(sort), http_util.encodeURIComponent(since), http_util.encodeURIComponent(before)); }) -- set HTTP verb req.headers:upsert(":method", "GET") -- TODO: create a function to select proper content-type --local var_accept = { "*/*" } req.headers:upsert("content-type", "*/*") -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then local body, err, errno2 = stream:get_body_as_string() -- exception when getting the HTTP body if not body then return nil, err, errno2 end stream:shutdown() local result, _, err3 = dkjson.decode(body) -- exception when decoding the HTTP body if result == nil then return nil, err3 end return maislurp-client-lua_page_thread_projection.cast(result), headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end function alias_controller_api:get_aliases(page, size, sort, since, before) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases?page=%s&size=%s&sort=%s&since=%s&before=%s", self.basePath, http_util.encodeURIComponent(page), http_util.encodeURIComponent(size), http_util.encodeURIComponent(sort), http_util.encodeURIComponent(since), http_util.encodeURIComponent(before)); }) -- set HTTP verb req.headers:upsert(":method", "GET") -- TODO: create a function to select proper content-type --local var_accept = { "*/*" } req.headers:upsert("content-type", "*/*") -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then local body, err, errno2 = stream:get_body_as_string() -- exception when getting the HTTP body if not body then return nil, err, errno2 end stream:shutdown() local result, _, err3 = dkjson.decode(body) -- exception when decoding the HTTP body if result == nil then return nil, err3 end return maislurp-client-lua_page_alias.cast(result), headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end function alias_controller_api:reply_to_alias_email(alias_id, email_id, reply_to_alias_email_options) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases/%s/emails/%s", self.basePath, alias_id, email_id); }) -- set HTTP verb req.headers:upsert(":method", "PUT") -- TODO: create a function to select proper accept --local var_content_type = { "application/json" } req.headers:upsert("accept", "application/json") -- TODO: create a function to select proper content-type --local var_accept = { "*/*" } req.headers:upsert("content-type", "*/*") req:set_body(dkjson.encode(reply_to_alias_email_options)) -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then local body, err, errno2 = stream:get_body_as_string() -- exception when getting the HTTP body if not body then return nil, err, errno2 end stream:shutdown() local result, _, err3 = dkjson.decode(body) -- exception when decoding the HTTP body if result == nil then return nil, err3 end return maislurp-client-lua_sent_email_dto.cast(result), headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end function alias_controller_api:send_alias_email(alias_id, send_email_options) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases/%s/emails", self.basePath, alias_id); }) -- set HTTP verb req.headers:upsert(":method", "POST") -- TODO: create a function to select proper accept --local var_content_type = { "application/json" } req.headers:upsert("accept", "application/json") -- TODO: create a function to select proper content-type --local var_accept = { "*/*" } req.headers:upsert("content-type", "*/*") req:set_body(dkjson.encode(send_email_options)) -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then local body, err, errno2 = stream:get_body_as_string() -- exception when getting the HTTP body if not body then return nil, err, errno2 end stream:shutdown() local result, _, err3 = dkjson.decode(body) -- exception when decoding the HTTP body if result == nil then return nil, err3 end return maislurp-client-lua_sent_email_dto.cast(result), headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end function alias_controller_api:update_alias(alias_id, update_alias_options) local req = http_request.new_from_uri({ scheme = self.default_scheme; host = self.host; port = self.port; path = string.format("%s/aliases/%s", self.basePath, alias_id); }) -- set HTTP verb req.headers:upsert(":method", "PUT") -- TODO: create a function to select proper accept --local var_content_type = { "application/json" } req.headers:upsert("accept", "application/json") -- TODO: create a function to select proper content-type --local var_accept = { "*/*" } req.headers:upsert("content-type", "*/*") req:set_body(dkjson.encode(update_alias_options)) -- api key in headers 'x-api-key' if self.api_key['x-api-key'] then req.headers:upsert("API_KEY", self.api_key['x-api-key']) end -- make the HTTP call local headers, stream, errno = req:go() if not headers then return nil, stream, errno end local http_status = headers:get(":status") if http_status:sub(1,1) == "2" then local body, err, errno2 = stream:get_body_as_string() -- exception when getting the HTTP body if not body then return nil, err, errno2 end stream:shutdown() local result, _, err3 = dkjson.decode(body) -- exception when decoding the HTTP body if result == nil then return nil, err3 end return maislurp-client-lua_alias_dto.cast(result), headers else local body, err, errno2 = stream:get_body_as_string() if not body then return nil, err, errno2 end stream:shutdown() -- return the error message (http body) return nil, http_status, body end end return { new = new_alias_controller_api; }
 -- Check if a player is a law player local lawTeams = { "Military Forces", "SWAT", } function isLaw( thePlayer ) if ( isElement( thePlayer ) ) and ( getElementType ( thePlayer ) == "player" ) and ( getPlayerTeam ( thePlayer ) ) then for i=1,#lawTeams do if ( getTeamName( getPlayerTeam( thePlayer ) ) == lawTeams[i] ) then return true end end return false else return false end end local door = createObject(1506,1731.5, -1014.65, 8894.5,0,0,90) local mainDoor = createObject(11416,1748.76, -1009.13, 8889.46,0,0,90) local mainDoor2 = createObject(11416,1748.76, -1009.15, 8892,0,0,90) local warpEvent = 1748.32, -988.98, 8889.32 local warpInside = 1528.57, -1416.29, 7820.91 local exits = createMarker(1748.32, -986.06, 8890,"arrow",1.5,255,0,0) local enter = createMarker(1779.66, -1258.85, 16,"arrow",1.5,255,155,0) local enterfrominside = createMarker(1731.8, -1013.96, 8896,"arrow",1.5,255,155,0) local exitfromoutside = createMarker(1527.8, -1416.19, 7822 ,"arrow",1.5,255,155,0) local pos1 = { {192,1773.56, -1006.32, 8895.5}, {0,1746.52, -1041.54, 8895.5}, {269,1723.92, -989.98, 8895.5}, {194,1725.69, -1006.16, 8895.5}, {192,1529.86, -1401.15, 7820.91}, {0,1532.17, -1401.72, 7820.91}, {269,1771.98, -990.58, 8895.5}, {194,1762.86, -1017.71, 8895.5}, } local pos2 = { {190,1531.04, -1395.93, 7827.24}, {299,1563.54, -1395.56, 7831.61}, {300,1534.01, -1403.56, 7827.24}, {193,1548.26, -1395.28, 7820.91}, } local pos3 = { {192,1751.75, -992.03, 8889.33}, {0,1747.03, -992.69, 8889.32}, {269,1739.87, -1000.6, 8889.3}, {0,1752.12, -1004.77, 8889.33}, {194,1759.03, -1016.37, 8895.5}, {269,1749.24, -1027.79, 8895.5}, {192,1734.02, -997.25, 8895.5}, {194,1530.89, -1414.58, 7820.92}, {192,1535.36, -1404.26, 7820.91}, {269,1557.39, -1399.65, 7820.91}, } local stats = { [ 69 ] = 500, [ 70 ] = 999, [ 71 ] = 999, [ 72 ] = 999, [ 73 ] = 500, [ 74 ] = 999, [ 75 ] = 500, [ 76 ] = 999, [ 77 ] = 999, [ 78 ] = 999, [ 79 ] = 999, [ 160 ] = 999, [ 229 ] = 999, [ 230 ] = 999 } local peds = {} local xx = {} local lawPlayers = {} local deadLaw = {} local minCops = 5 local mkr = {} local secured = {} local hostages = false local ren = 18 local bots = 16 local noobs = {} local res = 0 local damn = {} function openDoor() moveObject(mainDoor,5000,1738.76, -1009.13, 8889.46) moveObject(mainDoor2,5000,1738.76, -1009.13, 8889.46) end function closeDoor() moveObject(mainDoor,5000,1748.76, -1009.13, 8889.46) moveObject(mainDoor2,5000,1748.76, -1009.15, 8892) end function setMainEvent() if isTimer(startingTime) then return false end startingTime = setTimer(function() hostages = false delay() end,120000*60,1) end addCommandHandler("sethr",function(player,cmd,value,times) if getElementData(player,"isPlayerPrime") then if value == "time" and times and tonumber(times) then if isTimer(startingTime) then killTimer(startingTime) end startingTime = setTimer(function() hostages = false delay() end,times,1) elseif value == "reset" then stopEvent(true,"Event Canceled by Prime") elseif value == "bots" then bots = 3 elseif value == "count" then forceToStart = true end end end) function delay() if isTimer(delayer) then killTimer(delayer) end delayer = setTimer(delay2,60000,1) end function delay2() if #lawPlayers >= 5 or forceToStart == true then handleTheEvent() else if isTimer(delayer) then killTimer(delayer) end delayer = setTimer(delay,30000,1) end end addEventHandler("onMarkerHit",root,function(hitElement,matchdim) if source == enter then if not matchdim then return false end if hitElement and getElementType(hitElement) == "player" then if isLaw(hitElement) then if isTimer(startingTime) then exports.DENdxmsg:createNewDxMessage(hitElement,"There is no mission here anytime soon.",255,0,0) else if hostages == false then --if ( canLawEnter ( hitElement ) ) then table.insert( lawPlayers, hitElement ) setElementPosition(hitElement,1748.32, -988.98, 8890) setElementData(hitElement,"isPlayerSWAT",true) setPedRotation(hitElement,183) warpSWAT(hitElement) triggerClientEvent( hitElement, "onToggleHR", hitElement, true ) --else --exports.DENdxmsg:createNewDxMessage(hitElement,"You're only allowed to enter once in the event.",255,0,0) --end else exports.DENdxmsg:createNewDxMessage(hitElement,"You are not allowed to enter at this time",255,0,0) end end else exports.DENdxmsg:createNewDxMessage(hitElement,"You aren't allowed to participate in this event.",255,0,0) end end elseif source == exits then if not matchdim then return false end if hitElement and getElementType(hitElement) == "player" then setElementPosition(hitElement,1785.62, -1258.84, 13.63) warpBitchOut(hitElement) if #lawPlayers < 1 then stopEvent(true,"You failed in the event , Police died") end end elseif source == enterfrominside then if not matchdim then return false end if hitElement and getElementType(hitElement) == "player" then setElementPosition(hitElement,1530.68, -1415.53, 7820.92) setPedRotation(hitElement,350) end elseif source == exitfromoutside then if not matchdim then return false end if hitElement and getElementType(hitElement) == "player" then setElementPosition(hitElement,1735.63, -1014.32, 8896) end end end) function canLawEnter ( theOfficer ) local state = true for k, theLawAccount in ipairs ( deadLaw ) do if ( theLawAccount == exports.server:getPlayerAccountName( theOfficer ) ) then state = false end end return state end function warpBitchOut(player) -- if isLaw(player) then for k, theCop in ipairs ( lawPlayers ) do if ( theCop == player ) then table.remove( lawPlayers, k ) end end setElementData(player,"isPlayerSWAT",false) triggerClientEvent(player, "onToggleHOEStats",player, false ) --end setElementPosition(player,1785.62, -1258.84, 13.63) triggerClientEvent( "onChangeHOECount", root, #lawPlayers) toggleControl(player,"sprint",true) end function warpSWAT(player) --triggerClientEvent( player, "onToggleHOEStats", player, true ) triggerClientEvent( "onChangeHOECount", root, #lawPlayers) toggleControl(player,"sprint",false) end function handleTheEvent(player) if #lawPlayers >= minCops or forceToStart == true then-- or getElementData(player,"isPlayerPrime") then triggerClientEvent("onResetHOEStats",root) triggerClientEvent("sendTimers",root,"(Started)") hostages = true setBattleConfig1() openDoor() triggerClientEvent( "onChangeHOECount", root, #lawPlayers) else triggerClientEvent("sendTimers",root,"(5 cops needed to start the event)") triggerClientEvent( "onChangeHOECount", root, #lawPlayers) delay() end --exports.DENdxmsg:createNewDxMessage(player,#lawPlayers.." cops inside the event.",0,255,0) end function setBattleConfig1() triggerClientEvent("sendTimers",root,"Kill the terrorists") triggerClientEvent("removeBots",root) for k,v in ipairs(noobs) do table.remove(noobs,k) end damn = {} for i=1,8 do local id,x,y,z = pos1[i][1],pos1[i][2],pos1[i][3],pos1[i][4] noobs[i] = spawnBot(x, y, z, 90, id, 0, 0, getTeamFromName("Criminals"), 27) -- , "guarding")) setElementData(noobs[i],"bot",true) for stat,value in pairs(stats) do setPedStat(noobs[i], stat, value) end end for i=1,10 do local id,x,y,z = pos3[i][1],pos3[i][2],pos3[i][3],pos3[i][4] noobs[i] = spawnBot(x, y, z, 90, id, 0, 0, getTeamFromName("Criminals"),27) -- , "guarding")) setElementData(noobs[i],"bot",true) for stat,value in pairs(stats) do setPedStat(noobs[i], stat, value) end end end function setBattleConfig3() triggerClientEvent("sendTimers",root,"Kill the reinforcement of terrorists") damn = {} for k,v in ipairs(noobs) do table.remove(noobs,k) end bots = 16 for i=1,8 do local id,x,y,z = pos1[i][1],pos1[i][2],pos1[i][3],pos1[i][4] noobs[i] = spawnBot(x, y, z, 90, id, 0, 0, getTeamFromName("Criminals"),27) -- , "guarding")) setElementData(noobs[i],"botX",true) for stat,value in pairs(stats) do setPedStat(noobs[i], stat, value) end end for i=1,10 do local id,x,y,z = pos3[i][1],pos3[i][2],pos3[i][3],pos3[i][4] noobs[i] = spawnBot(x, y, z, 90, id, 0, 0, getTeamFromName("Criminals"),27) -- , "guarding")) setElementData(noobs[i],"botX",true) for stat,value in pairs(stats) do setPedStat(noobs[i], stat, value) end end end addEventHandler("onPedWasted",root,function() local bot = isPedBot(source) if bot then if getElementData(source,"bot") then for k,v in ipairs(noobs) do if source == v then table.remove(noobs,k) end end bots = bots - 1 table.insert(damn,#damn+1) if #damn >= 18 then noobs = {} setBattleConfig2() triggerClientEvent("sendTimers",root,"Rescue the hostages within 5 minutes.") for k,v in ipairs(lawPlayers) do exports.DENdxmsg:createNewDxMessage(v,"Rescue the hostages within 5 minutes",0,255,0) end end elseif getElementData(source,"botX") then for k,v in ipairs(noobs) do if source == v then table.remove(noobs,k) end end table.insert(damn,#damn+1) if #damn >= 18 then if lastProgress then return false end lastProgress = setTimer(handleLastMission,60000,1) triggerClientEvent("sendTimers",root,"Hold here for 1 minute.") end end end end) function handleLastMission() for k,v in ipairs(getElementsByType("player")) do if getElementData(v,"isPlayerSWAT") then givePlayerMoney(v,75000) setElementData(v,"isPlayerSWAT",false) exports.DENdxmsg:createNewDxMessage(v,"You have earned $75,000 for rescued and saved the civilians from the terrorists",0,255,0) exports.DENdxmsg:createNewDxMessage(v,"You can leave the area.",0,255,0) end end triggerClientEvent("sendTimers",root,"Zone successfully cleared.") stopEvent(true,"Area successfully cleared") end function setBattleConfig2() for k,v in ipairs(getElementsByType("ped", resourceRoot)) do if getElementData(v,"bot") then if getElementDimension(v) == 0 then if isElement(v) then destroyElement(v) end end end end peds = {} for k,v in ipairs(pos2) do local id,x,y,z = v[1],v[2],v[3],v[4] ped = createPed(id,x,y,z) if not mkr[ped] then mkr[ped] = createMarker(x,y,z-1,"cylinder",1.5,255,0,0,155) end attachElements(ped,mkr[ped],0,0,1) --setPedFrozen(ped,true) setPedAnimation(ped,"ped","cower",-1) addEventHandler("onMarkerHit",mkr[ped],rescued) setElementData(ped,"kills",true) table.insert(peds,ped) triggerClientEvent("assignHostages",root,0) end if isTimer(rescueTimer) then killTimer(rescueTimer) end rescueTimer = setTimer(stopEvent,300000,1,true,"You didn't rescue the hostages successfully") end function rescued(hitElement) if hitElement and getElementType(hitElement) == "player" then if source and isElement(source) then local attachedElements = getAttachedElements ( source ) if attachedElements then for a,d in ipairs ( attachedElements ) do --setElementDimension(d,9999) table.insert(secured,#secured+1) for k,v in ipairs(peds) do if d == v then table.remove(peds,k) end end res = res + 1 triggerClientEvent("assignHostages",root,#secured) if isElement(source) then destroyElement(source) end if isElement(d) then destroyElement(d) end if #secured == 4 then triggerClientEvent("assignHostages",root,#secured) --for k,v in ipairs(lawPlayers) do -- exports.DENdxmsg:createNewDxMessage(v,"Hostages rescued successfully, criminals reinforcements incoming",0,255,0) --end triggerClientEvent("sendTimers",root,"Hostages rescued successfully") if isTimer(rescueTimer) then killTimer(rescueTimer) end setBattleConfig3() end end end end end end addEventHandler("onPedWasted",root,function() if source and getElementData(source,"kills") == true then for k,v in ipairs(peds) do if source == v then table.remove(peds,k) if isElement(mkr[v]) then destroyElement(mkr[v]) end if isElement(v) then destroyElement(v) end end --if #peds <= 3 then --and #secured <= 2 then res = res - 1 triggerClientEvent("assignHostages",root,res) stopEvent(true,"You didn't rescue the hostages successfully (Hostage died)") --end end end end) function stopEvent(state,msg) for k,v in ipairs(getElementsByType("player")) do if getElementData(v,"isPlayerSWAT") then triggerClientEvent(v, "onToggleHOEStats",v, false ) setElementPosition(v,1785.62, -1258.84, 13.63) end end if state == true then for k,v in ipairs(lawPlayers) do exports.DENdxmsg:createNewDxMessage(v,msg,255,0,0) setElementPosition(v,1785.62, -1258.84, 13.63) warpBitchOut(v) end end for k,v in ipairs(peds) do if isElement(mkr[v]) then destroyElement(mkr[v]) end if isElement(v) then destroyElement(v) end end for i=1,18 do if isElement(noobs[i]) then destroyElement(noobs[i]) end end triggerClientEvent("assignHostages",root,0) forceToStart = false hostages = false peds = {} xx = {} damn = {} deadLaw = {} lawPlayers = {} mkr = {} secured = {} bots = 16 noobs = {} ren = 18 res = 0 if isTimer(delayer) then killTimer(delayer) end if isTimer(lastProgress) then killTimer(lastProgress) end if isTimer(rescueTimer) then killTimer(rescueTimer) end if isTimer(startingTime) then killTimer(startingTime) end for k,v in ipairs(getElementsByType("ped", resourceRoot)) do if getElementData(v,"bot") then if getElementDimension(v) == 0 then if isElement(v) then destroyElement(v) end end end end triggerClientEvent("onResetHOEStats",root) triggerClientEvent("sendTimers",root,"") closeDoor() setMainEvent() end -- player quit and wasted addEventHandler("onPlayerQuit",root,function() if getElementData(source,"isPlayerSWAT") then warpBitchOut(source) for k,v in ipairs (lawPlayers) do if ( v == source ) then table.remove( lawPlayers, k ) end end if #lawPlayers < 1 then stopEvent() end setElementData(source,"isPlayerSWAT",false) triggerClientEvent( "onChangeHOECount", root, #lawPlayers) end end) addEventHandler("onPlayerWasted",root,function() if getElementData(source,"isPlayerSWAT") then for k,v in ipairs (lawPlayers) do if ( v == source ) then table.remove( lawPlayers, k ) end end triggerClientEvent(source,"onToggleHOEStats",source,false) if #lawPlayers < 1 then stopEvent() end toggleControl(source,"sprint",true) setElementData(source,"isPlayerSWAT",false) triggerClientEvent( "onChangeHOECount", root, #lawPlayers) end end) function onCalcTimer ( theTime ) if ( theTime >= 60000 ) then local plural = "" if ( math.floor((theTime/1000)/60) >= 2 ) then plural = "s" end return tostring(math.floor((theTime/1000)/60) .. " minute" .. plural) else local plural = "" if ( math.floor((theTime/1000)) >= 2 ) then plural = "s" end return tostring(math.floor((theTime/1000)) .. " second" .. plural) end end showTime = function( thePlayer ) if getElementData(thePlayer,"Group") == "SWAT Team" or getElementData(thePlayer,"Group") == "Military Forces" or getElementData(thePlayer,"isPlayerPrime") then local robType = "(Hostages rescue)" if ( isTimer(startingTime) ) then local timeLeft, timeExLeft, timeExMax = getTimerDetails(startingTime) exports.DENdxmsg:createNewDxMessage( thePlayer, "Time left until next mission: " .. onCalcTimer ( math.floor( timeLeft ) ) .. " "..robType, 225, 0, 0 ) elseif ( isTimer(rescueTimer) ) then local timeLeft, timeExLeft, timeExMax = getTimerDetails( rescueTimer ) exports.DENdxmsg:createNewDxMessage( thePlayer, "Rescue the hostages in " ..onCalcTimer( math.floor( timeLeft ) ), 235, 255, 0 ) elseif ( isTimer(lastProgress) ) then local timeLeft, timeExLeft, timeExMax = getTimerDetails( lastProgress ) exports.DENdxmsg:createNewDxMessage( thePlayer, "Hold in this place for " ..onCalcTimer( math.floor( timeLeft ) ), 235, 0, 0 ) elseif not isTimer(startingTime) and hostages == false then if ( isTimer(delayer) ) then local timeLeft, timeExLeft, timeExMax = getTimerDetails(delayer) exports.DENdxmsg:createNewDxMessage( thePlayer, "Time left until "..robType.." can be started "..onCalcTimer ( math.floor( timeLeft ) ), 0, 255, 0 ) end elseif hostages == true then exports.DENdxmsg:createNewDxMessage( thePlayer, "Mission in progress "..robType, 0, 255, 0 ) else exports.DENdxmsg:createNewDxMessage( thePlayer, "There is no mission here anytime soon! "..robType, 0, 255, 0 ) end else exports.DENdxmsg:createNewDxMessage( thePlayer, "Only official groups can use this command", 0, 255, 0 ) end end addCommandHandler ( "hrtime",showTime) addCommandHandler ( "hr",showTime) setMainEvent() ------------ INT door1 = createObject(11416,1745.2, -1044.88, 8895.5,0,0,90) door2 = createObject(11416,1749.2, -1044.88, 8895.5,0,0,90) door3 = createObject(11416,1752.2, -1044.88, 8895.5,0,0,90) setElementAlpha(door1,0) setElementAlpha(door2,0) setElementAlpha(door3,0) createObject(14444,1535.1748047,-1404.8691406,7826.0649414,0.0000000,0.0000000,0.0000000) --object(carter-topfloor)(1) createObject(14447,1533.4023438,-1398.4384766,7830.0888672,0.0000000,0.0000000,90.0000000) --object(carter-balcony)(1) createObject(1846,1531.5068359,-1400.6396484,7831.5732422,90.0000000,90.0000000,270.0000000) --object(shop_shelf04)(1) createObject(2230,1532.8046875,-1402.0966797,7831.1752930,0.0000000,0.0000000,179.9945068) --object(swank_speaker_2)(1) createObject(2230,1529.6035156,-1402.0878906,7831.1503906,0.0000000,0.0000000,179.9945068) --object(swank_speaker_2)(2) createObject(2225,1531.3310547,-1401.5302734,7829.5815430,0.0000000,0.0000000,179.9945068) --object(swank_hi_fi_2)(1) createObject(2184,1535.7607422,-1398.0419922,7829.7060547,0.0000000,0.0000000,69.9993896) --object(med_office6_desk_2)(1) createObject(1714,1534.3665772,-1396.7510986,7829.7060547,0.0000000,0.0000000,60.0000000) --object(kb_swivelchair1)(1) createObject(2190,1535.9792481,-1396.5189209,7830.4819336,0.0000000,0.0000000,270.0000000) --object(pc_1)(1) createObject(2568,1530.0047607,-1399.0264893,7829.7060547,0.0000000,0.0000000,90.0000000) --object(hotel_dresser_3)(1) createObject(2265,1530.0427246,-1397.4140625,7831.2817383,0.0000000,0.0000000,90.0000000) --object(frame_slim_6)(1) createObject(2845,1529.7021484,-1398.8349609,7829.7060547,0.0000000,0.0000000,50.0000000) --object(gb_bedclothes04)(1) createObject(1846,1541.3339844,-1416.6074219,7828.6469727,90.0000000,90.0000000,270.0000000) --object(shop_shelf04)(2) createObject(2230,1542.7036133,-1418.0987549,7827.9628906,0.0000000,0.0000000,180.0000000) --object(swank_speaker_2)(3) createObject(2230,1539.4030762,-1418.0930176,7827.9628906,0.0000000,0.0000000,179.9945068) --object(swank_speaker_2)(4) createObject(2225,1541.1059570,-1417.5762940,7826.2446289,0.0000000,0.0000000,179.9945068) --object(swank_hi_fi_2)(2) createObject(1703,1541.7880859,-1412.1230469,7826.2446289,0.0000000,0.0000000,0.0000000) --object(kb_couch02)(1) createObject(1703,1541.7309570,-1409.6456299,7826.2446289,0.0000000,0.0000000,0.0000000) --object(kb_couch02)(3) createObject(1703,1541.6833496,-1407.1688232,7826.2446289,0.0000000,0.0000000,0.0000000) --object(kb_couch02)(4) createObject(1704,1538.6158447,-1412.0988769,7826.2446289,0.0000000,0.0000000,0.0000000) --object(kb_chair03)(1) createObject(1704,1538.6069336,-1409.6373291,7826.2446289,0.0000000,0.0000000,0.0000000) --object(kb_chair03)(2) createObject(2823,1544.2775879,-1410.3698731,7827.2993164,0.0000000,0.0000000,0.0000000) --object(gb_kitchtakeway01)(1) createObject(2647,1539.5441894,-1409.7365723,7827.3413086,0.0000000,0.0000000,0.0000000) --object(cj_bs_cup)(1) createObject(2647,1541.6523438,-1412.2753906,7827.3300781,0.0000000,0.0000000,0.0000000) --object(cj_bs_cup)(2) createObject(2647,1544.0524902,-1407.1413574,7827.4560547,0.0000000,0.0000000,0.0000000) --object(cj_bs_cup)(3) createObject(2047,1541.2998047,-1417.5429688,7831.9848633,0.0000000,0.0000000,179.9945068) --object(cj_flag1)(1) createObject(644,1561.6536865,-1393.4639893,7830.9184570,0.0000000,0.0000000,279.9938965) --object(pot_02)(4) createObject(14447,1560.8583984,-1395.0722656,7830.9604492,0.0000000,0.0000000,0.0000000) --object(carter-balcony)(3) createObject(2133,1562.5361328,-1397.7137451,7830.6186523,0.0000000,0.0000000,180.0000000) --object(cj_kitch2_r)(1) createObject(1775,1561.4295654,-1397.5521240,7831.7172852,0.0000000,0.0000000,180.0000000) --object(cj_sprunk1)(1) createObject(2134,1565.4238281,-1397.7258301,7830.5947266,0.0000000,0.0000000,180.0000000) --object(cj_kitch2_m)(1) createObject(2132,1564.5291748,-1397.7124023,7830.6196289,0.0000000,0.0000000,180.0000000) --object(cj_kitch2_sink)(2) createObject(2341,1566.3127441,-1397.7238769,7830.6196289,0.0000000,0.0000000,270.0000000) --object(cj_kitch2_corner)(1) createObject(2141,1566.2999268,-1396.7551269,7830.6196289,0.0000000,0.0000000,270.0000000) --object(cj_kitch2_l)(1) createObject(2132,1566.3206787,-1394.7526856,7830.6196289,0.0000000,0.0000000,270.0000000) --object(cj_kitch2_sink)(3) createObject(2133,1566.3291016,-1393.7357178,7830.6196289,0.0000000,0.0000000,269.9945068) --object(cj_kitch2_r)(2) createObject(16779,1563.3925781,-1395.3916016,7835.1420898,0.0000000,0.0000000,0.0000000) --object(ufo_light02)(1) createObject(2261,1563.6552734,-1393.3896484,7831.9658203,0.0000000,0.0000000,0.0000000) --object(frame_slim_2)(1) createObject(14410,1563.0270996,-1408.0323486,7823.0673828,0.0000000,0.0000000,180.0000000) --object(carter-stairs03)(1) createObject(18013,1567.4492188,-1399.5341797,7823.9287109,0.0000000,0.0000000,90.0000000) --object(int_rest_veg3)(1) createObject(2745,1562.9960938,-1394.1250000,7821.1093750,0.0000000,0.0000000,359.9835205) --object(cj_stat_3)(3) createObject(17546,1564.8369141,-1361.2822266,7835.4458008,0.0000000,0.0000000,269.9945068) --object(hydro3_lae)(2) createObject(2813,1551.5427246,-1366.9969482,7820.7158203,0.0000000,0.0000000,0.0000000) --object(gb_novels01)(1) createObject(2828,1535.4368897,-1397.4932861,7830.4819336,0.0000000,0.0000000,20.0000000) --object(gb_ornament02)(2) createObject(2566,1531.9710693,-1393.6304932,7830.0864258,0.0000000,0.0000000,0.0000000) --object(hotel_s_bedset_3)(1) createObject(3095,1533.3498535,-1405.3338623,7830.5454102,90.0000000,0.0000000,0.0000000) --object(a51_jetdoor)(1) createObject(3095,1532.0233154,-1406.1838379,7830.5454102,90.0000000,0.0000000,270.0000000) --object(a51_jetdoor)(2) createObject(3095,1537.1386719,-1406.2567139,7830.5454102,90.0000000,0.0000000,90.0000000) --object(a51_jetdoor)(3) createObject(3095,1533.4346924,-1406.3540039,7829.3432617,180.0000000,0.0000000,0.0000000) --object(a51_jetdoor)(4) createObject(1491,1532.9852295,-1401.7197266,7826.2446289,0.0000000,0.0000000,0.0000000) --object(gen_doorint01)(1) createObject(1491,1536.0096435,-1401.7000732,7826.2446289,0.0000000,0.0000000,180.0000000) --object(gen_doorint01)(2) createObject(16151,1559.5064697,-1397.4398193,7826.5434570,0.0000000,0.0000000,0.0000000) --object(ufo_bar)(2) createObject(1726,1554.8742676,-1391.8851318,7826.2446289,0.0000000,0.0000000,0.0000000) --object(mrk_seating2)(1) createObject(1726,1554.1987305,-1394.5256348,7826.2446289,0.0000000,0.0000000,90.0000000) --object(mrk_seating2)(2) createObject(644,1554.2406006,-1391.7479248,7826.4477539,0.0000000,0.0000000,330.0000000) --object(pot_02)(25) createObject(644,1559.9964600,-1409.8514404,7826.5468750,0.0000000,0.0000000,209.9963379) --object(pot_02)(26) createObject(1726,1557.2763672,-1391.8846435,7826.2446289,0.0000000,0.0000000,0.0000000) --object(mrk_seating2)(3) createObject(1726,1559.8917236,-1402.9205322,7826.2446289,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(4) createObject(2964,1555.2519531,-1405.8666992,7826.2446289,0.0000000,0.0000000,270.0000000) --object(k_pooltablesm)(1) createObject(1726,1559.9144287,-1407.1464844,7826.2446289,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(5) createObject(2236,1559.3822022,-1405.5711670,7826.2446289,0.0000000,0.0000000,270.0000000) --object(coffee_swank_1)(1) createObject(644,1559.9482422,-1391.7314453,7826.4477539,0.0000000,0.0000000,239.9908447) --object(pot_02)(27) createObject(1726,1557.8210449,-1411.6090088,7826.2446289,0.0000000,0.0000000,182.0000000) --object(mrk_seating2)(6) createObject(1726,1555.3143310,-1411.7012940,7826.2446289,0.0000000,0.0000000,181.9995117) --object(mrk_seating2)(8) createObject(1726,1547.7722168,-1411.8848877,7826.2446289,0.0000000,0.0000000,181.9995117) --object(mrk_seating2)(9) createObject(1726,1550.1520996,-1411.7984619,7826.2446289,0.0000000,0.0000000,181.9995117) --object(mrk_seating2)(10) createObject(1775,1552.3703613,-1411.5616455,7827.3417969,0.0000000,0.0000000,180.0000000) --object(cj_sprunk1)(3) createObject(1776,1551.1157227,-1411.5717773,7827.3442383,0.0000000,0.0000000,180.0000000) --object(cj_candyvendor)(2) createObject(3002,1555.3181152,-1406.4193115,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballspt01)(1) createObject(3001,1555.3962402,-1406.3524170,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballstp07)(1) createObject(3000,1554.7834473,-1405.9575195,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballstp06)(1) createObject(2999,1555.1801758,-1405.2454834,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballstp05)(1) createObject(2997,1555.6663818,-1405.0480957,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballstp03)(1) createObject(2996,1555.2252197,-1406.0549316,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballstp02)(1) createObject(3101,1554.9715576,-1406.4455566,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballspt03)(1) createObject(3102,1555.6109619,-1406.5550537,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballspt04)(1) createObject(3104,1555.1114502,-1406.3443603,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballspt06)(1) createObject(3106,1555.6634522,-1405.9056397,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolball8)(1) createObject(3003,1555.5358887,-1405.5985107,7827.1752930,0.0000000,0.0000000,0.0000000) --object(k_poolballcue)(1) createObject(3004,1555.4384766,-1406.0637207,7827.1367188,0.0000000,0.0000000,4.0000000) --object(k_poolq2)(1) createObject(3004,1548.7321777,-1406.5590820,7827.5410156,300.0000000,0.0000000,293.2490234) --object(k_poolq2)(2) createObject(14415,1535.1943359,-1404.8682861,7826.0781250,0.0000000,0.0000000,0.0000000) --object(carter-floors01)(1) createObject(2232,1543.9281006,-1417.3167725,7826.8422852,0.0000000,0.0000000,180.0000000) --object(med_speaker_4)(1) createObject(2232,1543.9277344,-1417.3164062,7828.0126953,0.0000000,0.0000000,179.9945068) --object(med_speaker_4)(2) createObject(2232,1543.9277344,-1417.3164062,7829.2080078,0.0000000,0.0000000,179.9945068) --object(med_speaker_4)(3) createObject(2232,1538.8526611,-1417.4204102,7826.8422852,0.0000000,0.0000000,179.9945068) --object(med_speaker_4)(4) createObject(2232,1538.8525391,-1417.4199219,7828.0126953,0.0000000,0.0000000,179.9945068) --object(med_speaker_4)(5) createObject(2232,1538.8525391,-1417.4199219,7829.1831055,0.0000000,0.0000000,179.9945068) --object(med_speaker_4)(6) createObject(2232,1543.7805176,-1417.3272705,7830.1293945,0.0000000,90.0000000,179.9945068) --object(med_speaker_4)(7) createObject(2232,1542.6041260,-1417.3041992,7830.1293945,0.0000000,90.0000000,179.9945068) --object(med_speaker_4)(8) createObject(2232,1541.4519043,-1417.3062744,7830.1293945,0.0000000,90.0000000,179.9945068) --object(med_speaker_4)(9) createObject(2232,1540.3000488,-1417.2832031,7830.1293945,0.0000000,90.0000000,179.9945068) --object(med_speaker_4)(10) createObject(2232,1539.1236572,-1417.2602539,7830.1293945,0.0000000,90.0000000,179.9945068) --object(med_speaker_4)(11) createObject(1649,1533.3228760,-1400.4747315,7827.8354492,0.0000000,0.0000000,60.0000000) --object(wglasssmash)(1) createObject(1557,1527.3198242,-1417.6154785,7819.9140625,0.0000000,0.0000000,90.0000000) --object(gen_doorext19)(7) createObject(1557,1527.3056641,-1414.5805664,7819.9140625,0.0000000,0.0000000,270.5000000) --object(gen_doorext19)(8) createObject(4562,1515.8343506,-1386.4663086,7825.9272461,180.0000000,0.0000000,0.0000000) --object(laplaza2_lan)(1) createObject(3440,1536.8973389,-1394.2988281,7827.2734375,0.0000000,0.0000000,70.0000000) --object(arptpillar01_lvs)(1) createObject(1649,1536.6234131,-1394.7221680,7827.8105469,0.0000000,0.0000000,59.9963379) --object(wglasssmash)(2) createObject(3440,1535.4166260,-1396.8011475,7827.2734375,0.0000000,0.0000000,69.9993896) --object(arptpillar01_lvs)(2) createObject(3440,1534.4101562,-1398.5439453,7827.1240234,0.0000000,0.0000000,69.9993896) --object(arptpillar01_lvs)(3) createObject(1649,1533.3222656,-1400.4746094,7827.8354492,0.0000000,0.0000000,239.9963379) --object(wglasssmash)(3) createObject(1649,1536.6230469,-1394.7216797,7827.8105469,0.0000000,0.0000000,239.9963379) --object(wglasssmash)(4) createObject(2206,1533.7080078,-1394.1779785,7826.2446289,0.0000000,0.0000000,180.0000000) --object(med_office8_desk_02)(1) createObject(1714,1532.7846680,-1392.7419434,7826.2446289,0.0000000,0.0000000,0.0000000) --object(kb_swivelchair1)(16) createObject(14455,1536.1087647,-1391.0935059,7827.9165039,0.0000000,0.0000000,180.0000000) --object(gs_bookcase)(7) createObject(14455,1530.2832031,-1391.0979004,7827.9165039,0.0000000,0.0000000,179.9945068) --object(gs_bookcase)(8) createObject(14455,1529.4827881,-1392.2031250,7827.9165039,0.0000000,0.0000000,269.9945068) --object(gs_bookcase)(9) createObject(14455,1529.4885254,-1398.0024414,7827.9165039,0.0000000,0.0000000,269.9890137) --object(gs_bookcase)(10) createObject(2010,1530.0996094,-1391.7403565,7826.2260742,0.0000000,0.0000000,0.0000000) --object(nu_plant3_ofc)(1) createObject(2010,1536.7437744,-1391.6640625,7826.2260742,0.0000000,0.0000000,0.0000000) --object(nu_plant3_ofc)(2) createObject(2010,1536.7231445,-1393.5683594,7826.2260742,0.0000000,0.0000000,0.0000000) --object(nu_plant3_ofc)(3) createObject(2004,1537.1214600,-1392.2200928,7827.6791992,0.0000000,0.0000000,270.0000000) --object(cr_safe_door)(1) createObject(14455,1527.4483643,-1401.6679688,7827.9165039,0.0000000,0.0000000,359.9890137) --object(gs_bookcase)(11) createObject(2010,1529.9708252,-1401.1308594,7826.2260742,0.0000000,0.0000000,0.0000000) --object(nu_plant3_ofc)(4) createObject(2190,1533.3144531,-1394.3651123,7827.1811523,0.0000000,0.0000000,180.0000000) --object(pc_1)(4) createObject(2828,1532.1116943,-1394.1431885,7827.1811523,0.0000000,0.0000000,320.0000000) --object(gb_ornament02)(3) createObject(2964,1548.2519531,-1405.9174805,7826.2446289,0.0000000,0.0000000,270.0000000) --object(k_pooltablesm)(2) createObject(3002,1548.3184815,-1405.8197022,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballspt01)(2) createObject(3001,1548.4965820,-1406.1298828,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballstp07)(2) createObject(2998,1548.0158691,-1406.5421143,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballstp04)(1) createObject(2995,1548.0152588,-1405.3634033,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballstp01)(1) createObject(3104,1548.0423584,-1405.9650879,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballspt06)(2) createObject(3105,1548.5559082,-1406.6151123,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballspt07)(1) createObject(3101,1548.5642090,-1405.2637940,7827.1748047,0.0000000,0.0000000,0.0000000) --object(k_poolballspt03)(2) createObject(3525,1544.8784180,-1397.9406738,7829.0532227,0.0000000,0.0000000,260.0000000) --object(exbrtorch01)(1) createObject(3525,1547.4658203,-1398.1250000,7829.0532227,0.0000000,0.0000000,79.9914551) --object(exbrtorch01)(3) createObject(1714,1532.1743164,-1395.3905029,7826.2446289,0.0000000,0.0000000,140.0000000) --object(kb_swivelchair1)(17) createObject(1726,1533.4423828,-1398.9902344,7826.2446289,0.0000000,0.0000000,240.0000000) --object(mrk_seating2)(11) createObject(2528,1532.6055908,-1403.1762695,7826.2446289,0.0000000,0.0000000,90.0000000) --object(cj_toilet3)(1) createObject(2526,1536.6806641,-1404.8464356,7826.2446289,0.0000000,0.0000000,180.0000000) --object(cj_bath4)(1) createObject(2527,1533.5231934,-1404.8261719,7826.2050781,0.0000000,0.0000000,90.0000000) --object(cj_shower4)(1) createObject(3440,1532.1507568,-1402.1450195,7827.2485352,0.0000000,0.0000000,69.9993896) --object(arptpillar01_lvs)(4) createObject(3440,1537.0007324,-1402.1918945,7827.2734375,0.0000000,0.0000000,69.9993896) --object(arptpillar01_lvs)(5) createObject(2523,1536.6141357,-1402.8204346,7826.2446289,0.0000000,0.0000000,270.0000000) --object(cj_b_sink3)(1) createObject(2010,1534.6112060,-1404.8138428,7826.2260742,0.0000000,0.0000000,0.0000000) --object(nu_plant3_ofc)(5) createObject(1491,1546.0305176,-1409.7287598,7819.9140625,0.0000000,0.0000000,179.9945068) --object(gen_doorint01)(3) createObject(1491,1543.0047607,-1409.7474365,7819.9140625,0.0000000,0.0000000,359.9945068) --object(gen_doorint01)(4) createObject(1491,1543.0004883,-1401.5915527,7819.9140625,0.0000000,0.0000000,359.9890137) --object(gen_doorint01)(5) createObject(1491,1546.0278320,-1401.5784912,7819.9140625,0.0000000,0.0000000,179.9890137) --object(gen_doorint01)(6) createObject(2745,1557.5721435,-1391.4959717,7821.1093750,0.0000000,0.0000000,359.9835205) --object(cj_stat_3)(3) createObject(1775,1556.1873779,-1391.5943603,7821.0112305,0.0000000,0.0000000,0.0000000) --object(cj_sprunk1)(4) createObject(1776,1558.9189453,-1391.6346435,7821.0136719,0.0000000,0.0000000,0.0000000) --object(cj_candyvendor)(3) createObject(644,1555.0921631,-1391.8018799,7820.2172852,0.0000000,0.0000000,290.0000000) --object(pot_02)(30) createObject(644,1560.0167236,-1391.7414551,7820.2172852,0.0000000,0.0000000,249.9951172) --object(pot_02)(31) createObject(1726,1556.8706055,-1410.9362793,7819.9140625,0.0000000,0.0000000,179.9995117) --object(mrk_seating2)(12) createObject(1726,1559.3160400,-1410.9321289,7819.9140625,0.0000000,0.0000000,179.9995117) --object(mrk_seating2)(13) createObject(1726,1559.8513184,-1408.1668701,7819.9140625,0.0000000,0.0000000,269.9995117) --object(mrk_seating2)(14) createObject(1726,1559.8426514,-1405.5638428,7819.9140625,0.0000000,0.0000000,269.9995117) --object(mrk_seating2)(15) createObject(1726,1559.9257812,-1402.8299560,7819.9140625,0.0000000,0.0000000,268.7495117) --object(mrk_seating2)(16) createObject(644,1560.0686035,-1411.0021973,7820.2172852,0.0000000,0.0000000,119.9938965) --object(pot_02)(32) createObject(644,1560.0770264,-1401.9284668,7820.2172852,0.0000000,0.0000000,179.9938965) --object(pot_02)(33) createObject(2565,1537.3378906,-1398.8646240,7820.4936523,0.0000000,0.0000000,90.0000000) --object(hotel_d_bedset_3)(1) createObject(644,1535.6153565,-1400.4020996,7820.2133789,0.0000000,0.0000000,349.9890137) --object(pot_02)(34) createObject(644,1535.5120850,-1391.8104248,7820.2133789,0.0000000,0.0000000,329.9859619) --object(pot_02)(35) createObject(2357,1550.2888184,-1396.3348389,7820.3090820,0.0000000,0.0000000,270.0000000) --object(dunc_dinning)(1) createObject(1714,1550.3272705,-1399.3353272,7819.9140625,0.0000000,0.0000000,188.0000000) --object(kb_swivelchair1)(18) createObject(1714,1548.7824707,-1397.8288574,7819.9140625,0.0000000,0.0000000,87.9980469) --object(kb_swivelchair1)(19) createObject(1714,1548.7382812,-1396.3299560,7819.9140625,0.0000000,0.0000000,87.9949951) --object(kb_swivelchair1)(20) createObject(1714,1548.9111328,-1394.5678711,7819.9140625,0.0000000,0.0000000,57.9949951) --object(kb_swivelchair1)(21) createObject(1714,1550.3574219,-1393.5378418,7819.9140625,0.0000000,0.0000000,347.9913330) --object(kb_swivelchair1)(22) createObject(1714,1551.6636963,-1394.9244385,7819.9140625,0.0000000,0.0000000,277.9864502) --object(kb_swivelchair1)(23) createObject(1714,1551.7463379,-1396.4223633,7819.9140625,0.0000000,0.0000000,257.9815674) --object(kb_swivelchair1)(24) createObject(1714,1551.7947998,-1397.8707275,7819.9140625,0.0000000,0.0000000,257.9809570) --object(kb_swivelchair1)(25) createObject(3859,1545.9968262,-1398.5166016,7822.0717773,0.0000000,0.0000000,197.5000000) --object(ottosmash04)(1) createObject(3859,1545.9334717,-1391.7153320,7822.0717773,0.0000000,0.0000000,197.4957275) --object(ottosmash04)(2) createObject(3859,1545.9326172,-1391.7148438,7822.0717773,0.0000000,0.0000000,17.4957275) --object(ottosmash04)(3) createObject(3859,1545.9960938,-1398.5166016,7822.0717773,0.0000000,0.0000000,17.4957275) --object(ottosmash04)(4) createObject(3498,1546.1279297,-1394.4735107,7820.4038086,0.0000000,0.0000000,0.0000000) --object(wdpillar01_lvs)(1) createObject(3498,1546.1127930,-1396.1223144,7820.4038086,0.0000000,0.0000000,0.0000000) --object(wdpillar01_lvs)(2) createObject(14455,1546.8371582,-1401.1490478,7821.5859375,0.0000000,0.0000000,0.0000000) --object(gs_bookcase)(12) createObject(14455,1548.2602539,-1401.1867676,7821.5859375,0.0000000,0.0000000,0.0000000) --object(gs_bookcase)(13) createObject(644,1553.4674072,-1400.6170654,7820.1391602,0.0000000,0.0000000,129.9859619) --object(pot_02)(36) createObject(14455,1551.2270508,-1391.1700440,7821.5859375,0.0000000,0.0000000,180.0000000) --object(gs_bookcase)(14) createObject(14455,1552.6517334,-1391.1378174,7821.5859375,0.0000000,0.0000000,179.9945068) --object(gs_bookcase)(15) createObject(644,1553.5052490,-1391.6738281,7820.1391602,0.0000000,0.0000000,249.9847412) --object(pot_02)(37) createObject(1846,1553.0146484,-1396.4145508,7821.4355469,90.0000000,90.0000000,0.0000000) --object(shop_shelf04)(1) createObject(2612,1553.9652100,-1393.8354492,7821.5800781,0.0000000,0.0000000,270.0000000) --object(police_nb2)(1) createObject(2611,1553.9245606,-1399.0718994,7821.5981445,0.0000000,0.0000000,270.0000000) --object(police_nb1)(1) createObject(1846,1542.5721435,-1392.1226807,7821.2861328,90.0000000,90.0000000,90.0000000) --object(shop_shelf04)(1) createObject(1846,1542.5700684,-1392.1470947,7821.2612305,90.0000000,90.0000000,90.0000000) --object(shop_shelf04)(1) createObject(1726,1545.2410889,-1392.2093506,7819.9140625,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(17) createObject(1726,1543.6505127,-1394.9956055,7819.9140625,0.0000000,0.0000000,180.0000000) --object(mrk_seating2)(18) createObject(1726,1540.0618897,-1393.9683838,7819.9140625,0.0000000,0.0000000,89.9945068) --object(mrk_seating2)(19) createObject(2568,1541.5186768,-1400.6168213,7819.9140625,0.0000000,0.0000000,180.0000000) --object(hotel_dresser_3)(2) createObject(2236,1542.1094971,-1393.4801025,7819.9140625,0.0000000,0.0000000,0.0000000) --object(coffee_swank_1)(2) createObject(2225,1544.5054932,-1391.3457031,7819.9140625,0.0000000,0.0000000,0.0000000) --object(swank_hi_fi_2)(4) createObject(2028,1542.3818359,-1392.9663086,7820.5029297,0.0000000,0.0000000,0.0000000) --object(swank_console)(1) createObject(2344,1543.7487793,-1394.7371826,7820.8266602,0.0000000,0.0000000,160.0000000) --object(cj_remote)(2) createObject(937,1550.7069092,-1411.2921143,7820.3886719,0.0000000,0.0000000,90.0000000) --object(cj_df_worktop)(1) createObject(5706,1554.0993652,-1428.4758301,7830.6523438,0.0000000,0.0000000,270.0000000) --object(studiobld03_law)(1) createObject(3095,1546.0148926,-1414.4760742,7820.3920898,90.0000000,0.0000000,90.0000000) --object(a51_jetdoor)(5) createObject(3095,1538.5272217,-1410.2655029,7820.3920898,90.0000000,0.0000000,180.0000000) --object(a51_jetdoor)(6) createObject(3095,1537.3414307,-1414.5561523,7820.3920898,90.0000000,0.0000000,269.9945068) --object(a51_jetdoor)(7) createObject(3095,1541.7644043,-1418.2308350,7820.3920898,90.0000000,0.0000000,359.9890137) --object(a51_jetdoor)(8) createObject(3498,1534.2091065,-1409.8448486,7820.5732422,0.0000000,0.0000000,0.0000000) --object(wdpillar01_lvs)(3) createObject(3498,1534.2058106,-1410.1700440,7820.5732422,0.0000000,0.0000000,0.0000000) --object(wdpillar01_lvs)(5) createObject(3498,1534.5045166,-1401.7221680,7820.5732422,0.0000000,0.0000000,0.0000000) --object(wdpillar01_lvs)(6) createObject(3498,1534.5078125,-1401.3212891,7820.5732422,0.0000000,0.0000000,0.0000000) --object(wdpillar01_lvs)(7) createObject(3383,1543.7116699,-1417.3179932,7819.9140625,0.0000000,0.0000000,0.0000000) --object(a51_labtable1_)(1) createObject(3383,1539.4862060,-1417.3188477,7819.9140625,0.0000000,0.0000000,0.0000000) --object(a51_labtable1_)(2) createObject(860,1544.4567871,-1417.0087891,7820.9697266,0.0000000,0.0000000,0.0000000) --object(sand_plant01)(1) createObject(860,1542.9473877,-1416.9602051,7820.9697266,0.0000000,0.0000000,0.0000000) --object(sand_plant01)(2) createObject(860,1540.3479004,-1416.9741211,7820.9697266,0.0000000,0.0000000,0.0000000) --object(sand_plant01)(3) createObject(860,1538.7908935,-1417.0491943,7820.9697266,0.0000000,0.0000000,0.0000000) --object(sand_plant01)(4) createObject(937,1539.1691894,-1414.1369629,7820.3886719,0.0000000,0.0000000,180.0000000) --object(cj_df_worktop)(2) createObject(937,1541.1203613,-1414.1499023,7820.3886719,0.0000000,0.0000000,179.9945068) --object(cj_df_worktop)(3) createObject(937,1544.9447022,-1414.1326904,7820.3886719,0.0000000,0.0000000,179.9945068) --object(cj_df_worktop)(4) createObject(1577,1544.6652832,-1414.1041260,7820.8427734,0.0000000,0.0000000,320.0000000) --object(drug_yellow)(1) createObject(1577,1545.2406006,-1414.1175537,7820.8427734,0.0000000,0.0000000,259.9987793) --object(drug_yellow)(2) createObject(1577,1538.6687012,-1413.9599609,7820.8427734,0.0000000,0.0000000,259.9969482) --object(drug_yellow)(3) createObject(1579,1539.1682129,-1414.2941894,7820.8427734,0.0000000,0.0000000,30.0000000) --object(drug_blue)(1) createObject(1579,1540.8177490,-1414.2506103,7820.8427734,0.0000000,0.0000000,129.9981690) --object(drug_blue)(2) createObject(1580,1541.3283691,-1414.1209717,7820.8535156,0.0000000,0.0000000,340.0000000) --object(drug_red)(1) createObject(1580,1538.8580322,-1414.2486572,7821.0029297,0.0000000,0.0000000,339.9993897) --object(drug_red)(2) createObject(1578,1544.9879150,-1414.2291260,7821.0136719,0.0000000,0.0000000,0.0000000) --object(drug_green)(1) createObject(1550,1545.6394043,-1413.1744385,7820.3076172,0.0000000,0.0000000,0.0000000) --object(cj_money_bag)(1) createObject(1550,1545.0412598,-1413.1221924,7819.9838867,86.0000000,0.0000000,220.0000000) --object(cj_money_bag)(2) createObject(1575,1544.2270508,-1413.9122315,7820.8408203,0.0000000,0.0000000,50.0000000) --object(drug_white)(1) createObject(1575,1539.7846680,-1414.1876221,7820.8408203,0.0000000,0.0000000,49.9987793) --object(drug_white)(2) createObject(1575,1540.3347168,-1413.8023682,7820.8408203,0.0000000,0.0000000,159.9987793) --object(drug_white)(3) createObject(936,1538.4886475,-1411.0762940,7820.3886719,0.0000000,0.0000000,0.0000000) --object(cj_df_worktop_2)(1) createObject(936,1540.4434815,-1411.0655518,7820.3886719,0.0000000,0.0000000,0.0000000) --object(cj_df_worktop_2)(2) createObject(2035,1538.0855713,-1410.7478027,7820.8886719,0.0000000,0.0000000,0.0000000) --object(cj_m16)(1) createObject(2035,1538.0863037,-1411.0223389,7820.8886719,0.0000000,0.0000000,0.0000000) --object(cj_m16)(2) createObject(2035,1538.0876465,-1411.3718262,7820.8886719,0.0000000,0.0000000,0.0000000) --object(cj_m16)(3) createObject(2036,1540.6477051,-1410.7282715,7820.8979492,0.0000000,0.0000000,0.0000000) --object(cj_psg1)(1) createObject(2036,1540.1986084,-1411.0550537,7820.8979492,0.0000000,0.0000000,0.0000000) --object(cj_psg1)(2) createObject(2036,1540.6501465,-1411.3527832,7820.8979492,0.0000000,0.0000000,0.0000000) --object(cj_psg1)(3) createObject(2044,1538.8497315,-1410.7738037,7820.8916016,0.0000000,0.0000000,0.0000000) --object(cj_mp5k)(1) createObject(2044,1539.1999512,-1410.7717285,7820.8916016,0.0000000,0.0000000,298.0000000) --object(cj_mp5k)(2) createObject(2044,1539.2006836,-1411.0717773,7820.8916016,0.0000000,0.0000000,0.0000000) --object(cj_mp5k)(3) createObject(2044,1538.8249512,-1411.0981445,7820.8916016,0.0000000,0.0000000,20.0000000) --object(cj_mp5k)(4) createObject(2044,1538.8256836,-1411.3979492,7820.8916016,0.0000000,0.0000000,160.0000000) --object(cj_mp5k)(5) createObject(2044,1539.2001953,-1411.3205566,7820.8916016,0.0000000,0.0000000,30.0000000) --object(cj_mp5k)(6) createObject(2044,1539.7510986,-1411.3927002,7820.8916016,0.0000000,0.0000000,310.0000000) --object(cj_mp5k)(7) createObject(2044,1539.7460938,-1410.6928711,7820.8916016,0.0000000,0.0000000,0.0000000) --object(cj_mp5k)(8) createObject(2044,1541.0987549,-1410.9610596,7820.8916016,0.0000000,0.0000000,30.0000000) --object(cj_mp5k)(9) createObject(1672,1540.9782715,-1410.6926269,7820.9453125,0.0000000,0.0000000,0.0000000) --object(gasgrenade)(1) createObject(1672,1540.8442383,-1410.7810059,7820.9453125,0.0000000,0.0000000,90.0000000) --object(gasgrenade)(2) createObject(1672,1538.9826660,-1410.5427246,7820.9453125,0.0000000,0.0000000,90.0000000) --object(gasgrenade)(3) createObject(2780,1542.0347900,-1423.4914551,7822.5263672,76.0000000,0.0000000,190.0000000) --object(cj_smoke_mach)(2) createObject(914,1543.4924316,-1418.2344971,7822.3364258,0.0000000,0.0000000,0.0000000) --object(grill)(1) createObject(914,1539.1174316,-1418.2387695,7822.3364258,0.0000000,0.0000000,0.0000000) --object(grill)(2) createObject(1726,1553.1883545,-1409.0715332,7819.9140625,0.0000000,0.0000000,179.9945068) --object(mrk_seating2)(20) createObject(1726,1550.5874023,-1409.1003418,7819.9140625,0.0000000,0.0000000,179.9945068) --object(mrk_seating2)(21) createObject(1726,1541.6588135,-1409.0983887,7819.9140625,0.0000000,0.0000000,179.9945068) --object(mrk_seating2)(22) createObject(1726,1539.2102051,-1409.0751953,7819.9140625,0.0000000,0.0000000,179.9945068) --object(mrk_seating2)(23) createObject(1726,1536.7617188,-1409.0776367,7819.9140625,0.0000000,0.0000000,179.9945068) --object(mrk_seating2)(24) createObject(644,1533.9223633,-1409.0897217,7820.2612305,0.0000000,0.0000000,79.9890137) --object(pot_02)(38) createObject(644,1535.1469727,-1402.1870117,7820.2612305,0.0000000,0.0000000,269.9859619) --object(pot_02)(39) createObject(1726,1533.7011719,-1398.9855957,7819.9140625,0.0000000,0.0000000,269.9945068) --object(mrk_seating2)(25) createObject(1726,1530.9971924,-1398.2943115,7819.9140625,0.0000000,0.0000000,359.9945068) --object(mrk_seating2)(26) createObject(1726,1528.4873047,-1398.2612305,7819.9140625,0.0000000,0.0000000,359.9890137) --object(mrk_seating2)(27) createObject(644,1533.9300537,-1398.1828613,7820.2612305,0.0000000,0.0000000,269.9835205) --object(pot_02)(40) createObject(1726,1528.0600586,-1401.2714844,7819.9140625,0.0000000,0.0000000,89.9890137) --object(mrk_seating2)(28) createObject(1726,1528.0681152,-1403.7741699,7819.9140625,0.0000000,0.0000000,89.9890137) --object(mrk_seating2)(29) createObject(1726,1528.0256348,-1406.2812500,7819.9140625,0.0000000,0.0000000,89.9890137) --object(mrk_seating2)(30) createObject(1726,1528.0351562,-1408.8103027,7819.9140625,0.0000000,0.0000000,89.9890137) --object(mrk_seating2)(31) createObject(1506,1537.2337647,-1394.2957764,7826.2446289,0.0000000,0.0000000,0.0000000) --object(gen_doorext08)(1) createObject(2010,1539.3699951,-1394.6239014,7826.2260742,0.0000000,0.0000000,0.0000000) --object(nu_plant3_ofc)(6) function createObjectToLS(id,x,y,z,r1,r2,r3) s = createObject(id,x+2500,y+1000,z,r1,r2,r3) end createObjectToLS(8565,-760.3114014,-1967.2869873,8888.9355469,0.0000000,0.0000000,0.0000000) --object(vgsebuild03_lvs)(1) createObjectToLS(3984,-754.1767578,-1987.8798828,8898.1289062,0.0000000,0.0000000,0.0000000) --object(churchprog1_lan)(1) createObjectToLS(8565,-722.0224609,-1989.1914062,8888.9238281,0.0000000,0.0000000,270.0000000) --object(vgsebuild03_lvs)(2) createObjectToLS(8565,-780.4638672,-1989.1923828,8888.9531250,0.0000000,0.0000000,90.0000000) --object(vgsebuild03_lvs)(3) createObjectToLS(14409,-751.2820435,-2016.0306397,8891.2822266,0.0000000,0.0000000,0.0000000) --object(carter-stairs02)(1) createObjectToLS(8565,-729.3104858,-2027.1831055,8888.9238281,0.0000000,0.0000000,180.0000000) --object(vgsebuild03_lvs)(4) createObjectToLS(8565,-773.1279297,-2027.2177734,8888.9238281,0.0000000,0.0000000,179.9945068) --object(vgsebuild03_lvs)(5) createObjectToLS(3095,-744.7274780,-2013.3968506,8894.5068359,180.0000000,0.0000000,0.0000000) --object(a51_jetdoor)(1) createObjectToLS(3095,-744.7265625,-2022.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(2) createObjectToLS(3095,-753.7265625,-2022.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(3) createObjectToLS(3095,-757.7155762,-2013.4270019,8894.5117188,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(4) createObjectToLS(3095,-735.7865601,-2013.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(5) createObjectToLS(3095,-735.7861328,-2004.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(6) createObjectToLS(3095,-735.7861328,-1995.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(7) createObjectToLS(3095,-735.7861328,-1986.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(8) createObjectToLS(3095,-766.7148438,-2013.4267578,8894.5117188,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(9) createObjectToLS(3095,-766.7148438,-2004.4267578,8894.5117188,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(10) createObjectToLS(3095,-766.7148438,-1995.4267578,8894.5117188,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(11) createObjectToLS(3095,-766.7148438,-1986.4267578,8894.5117188,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(12) createObjectToLS(3095,-753.7265625,-2031.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(14) createObjectToLS(3850,-753.3255005,-2010.7166748,8895.0537109,0.0000000,0.0000000,0.0000000) --object(carshowbann_sfsx)(1) createObjectToLS(3850,-755.0877075,-2008.9881592,8895.0537109,0.0000000,0.0000000,270.0000000) --object(carshowbann_sfsx)(2) createObjectToLS(3850,-756.8175049,-2008.9901123,8895.0537109,0.0000000,0.0000000,270.0000000) --object(carshowbann_sfsx)(3) createObjectToLS(3850,-760.3702393,-2008.9826660,8895.0537109,0.0000000,0.0000000,270.0000000) --object(carshowbann_sfsx)(4) createObjectToLS(3850,-762.2612305,-2007.0913086,8895.0537109,0.0000000,0.0000000,180.0000000) --object(carshowbann_sfsx)(5) createObjectToLS(3850,-762.2583008,-2003.4942627,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(6) createObjectToLS(3850,-762.2487183,-1999.9468994,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(7) createObjectToLS(3850,-762.2343750,-1996.3675537,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(8) createObjectToLS(3850,-762.2360840,-1992.7913818,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(9) createObjectToLS(3850,-762.2351685,-1989.2382812,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(10) createObjectToLS(3850,-762.2505493,-1985.6124268,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(11) createObjectToLS(3850,-753.3218384,-2014.2670898,8895.0537109,0.0000000,0.0000000,0.0000000) --object(carshowbann_sfsx)(12) createObjectToLS(3850,-753.3350220,-2015.9918213,8895.0537109,0.0000000,0.0000000,0.0000000) --object(carshowbann_sfsx)(13) createObjectToLS(3850,-749.1760254,-2010.7769775,8895.0537109,0.0000000,0.0000000,0.0000000) --object(carshowbann_sfsx)(14) createObjectToLS(3850,-749.1820679,-2014.3040772,8895.0537109,0.0000000,0.0000000,0.0000000) --object(carshowbann_sfsx)(15) createObjectToLS(3850,-749.1816406,-2016.0017090,8895.0537109,0.0000000,0.0000000,0.0000000) --object(carshowbann_sfsx)(16) createObjectToLS(3850,-747.4192505,-2008.9257812,8895.0537109,0.0000000,0.0000000,270.0000000) --object(carshowbann_sfsx)(17) createObjectToLS(3850,-745.7197266,-2008.9399414,8895.0537109,0.0000000,0.0000000,270.0000000) --object(carshowbann_sfsx)(18) createObjectToLS(3850,-742.1434326,-2008.9456787,8895.0537109,0.0000000,0.0000000,270.0000000) --object(carshowbann_sfsx)(19) createObjectToLS(3850,-740.2279663,-2007.1655273,8895.0537109,0.0000000,0.0000000,180.0000000) --object(carshowbann_sfsx)(20) createObjectToLS(3850,-740.2379761,-2003.5866699,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(21) createObjectToLS(3850,-740.2465210,-2000.0090332,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(22) createObjectToLS(3850,-740.2460938,-1996.4324951,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(23) createObjectToLS(3850,-740.2460938,-1992.8553467,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(24) createObjectToLS(3850,-740.2460938,-1989.2308350,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(25) createObjectToLS(3850,-740.2460938,-1985.6300049,8895.0537109,0.0000000,0.0000000,179.9945068) --object(carshowbann_sfsx)(26) createObjectToLS(3598,-750.9877319,-1980.9233398,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(1) createObjectToLS(3598,-725.7216797,-1980.8782959,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(2) createObjectToLS(3598,-721.4083252,-1983.3507080,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(3) createObjectToLS(3598,-721.5419922,-1998.1279297,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(4) createObjectToLS(3598,-709.2382812,-1991.5332031,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(5) createObjectToLS(3095,-726.7861328,-1995.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(16) createObjectToLS(3095,-726.7861328,-1986.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(17) createObjectToLS(3598,-721.7024536,-2013.1955566,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(6) createObjectToLS(3095,-726.7861328,-2004.3964844,8894.5068359,180.0000000,0.0000000,0.0000000) --object(a51_jetdoor)(18) createObjectToLS(3598,-709.3567505,-2005.9938965,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(7) createObjectToLS(1491,-734.1524658,-1991.8293457,8894.5029297,0.0000000,0.0000000,270.0000000) --object(gen_doorint01)(1) createObjectToLS(3055,-734.0933227,-1987.9028320,8896.7021484,0.0000000,0.0000000,270.0000000) --object(kmb_shutter)(1) createObjectToLS(3055,-768.6962891,-2008.2402344,8896.7070312,0.0000000,0.0000000,270.0000000) --object(kmb_shutter)(2) createObjectToLS(1491,-768.7285156,-2004.3642578,8894.5078125,0.0000000,0.0000000,90.0000000) --object(gen_doorint01)(2) createObjectToLS(3598,-758.2310791,-1980.6358643,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(8) createObjectToLS(3598,-781.6727295,-1983.3214111,8901.3769531,0.0000000,0.0000000,180.0000000) --object(hillhouse01_la)(9) createObjectToLS(3598,-781.7265625,-1998.0927734,8901.3769531,0.0000000,0.0000000,179.9945068) --object(hillhouse01_la)(10) createObjectToLS(3095,-775.7148438,-1986.4267578,8894.5117188,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(19) createObjectToLS(4012,-754.0398560,-2005.5263672,8896.9375000,179.9945068,0.0000000,0.0000000) --object(termanexgrd1_lan)(2) createObjectToLS(3095,-775.7148438,-1995.4267578,8894.5117188,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(20) createObjectToLS(3598,-793.0238648,-1992.5147705,8901.3769531,0.0000000,0.0000000,179.9945068) --object(hillhouse01_la)(11) createObjectToLS(3598,-781.7630615,-2013.0523682,8901.3769531,0.0000000,0.0000000,179.9945068) --object(hillhouse01_la)(12) createObjectToLS(3095,-775.7148438,-2004.4267578,8894.5117188,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(21) createObjectToLS(3598,-792.4783935,-2006.9050293,8901.3769531,0.0000000,0.0000000,179.9945068) --object(hillhouse01_la)(13) createObjectToLS(3598,-735.6143799,-2024.9797363,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(14) createObjectToLS(3598,-721.7098389,-2019.5218506,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(15) createObjectToLS(3095,-735.7861328,-2022.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(22) createObjectToLS(3598,-767.1042481,-2024.9669190,8901.3769531,0.0000000,0.0000000,180.0000000) --object(hillhouse01_la)(16) createObjectToLS(3598,-769.1035156,-2029.7402344,8901.3769531,0.0000000,0.0000000,179.9945068) --object(hillhouse01_la)(17) createObjectToLS(3095,-744.7265625,-2031.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(23) createObjectToLS(3598,-733.7294922,-2030.2041016,8901.3769531,0.0000000,0.0000000,0.0000000) --object(hillhouse01_la)(18) createObjectToLS(3095,-766.7065430,-2022.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(25) createObjectToLS(3095,-757.7060547,-2022.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(26) createObjectToLS(3598,-782.1714477,-2020.4157715,8901.3769531,0.0000000,0.0000000,179.9945068) --object(hillhouse01_la)(20) createObjectToLS(3055,-734.3876953,-2008.1376953,8896.7021484,0.0000000,0.0000000,270.0000000) --object(kmb_shutter)(3) createObjectToLS(1491,-734.4323731,-2004.2709961,8894.5029297,0.0000000,0.0000000,90.0000000) --object(gen_doorint01)(3) createObjectToLS(1491,-768.6739502,-1991.9611816,8894.5078125,0.0000000,0.0000000,270.0000000) --object(gen_doorint01)(4) createObjectToLS(3055,-768.5958252,-1988.0273438,8896.7070312,0.0000000,0.0000000,270.0000000) --object(kmb_shutter)(4) createObjectToLS(1557,-753.2019653,-1985.5435791,8888.3261719,0.0000000,0.0000000,0.0000000) --object(gen_doorext19)(1) createObjectToLS(1557,-750.1754761,-1985.5438232,8888.3261719,0.0000000,0.0000000,180.0000000) --object(gen_doorext19)(2) createObjectToLS(3920,-755.7993164,-1985.4085693,8893.4384766,0.0000000,0.0000000,180.0000000) --object(lib_veg3)(1) createObjectToLS(3920,-746.6633301,-1985.4987793,8893.4384766,0.0000000,0.0000000,179.9945068) --object(lib_veg3)(2) createObjectToLS(644,-740.7756348,-1986.0913086,8888.6660156,0.0000000,0.0000000,220.0000000) --object(pot_02)(1) createObjectToLS(644,-761.4833984,-1986.3808594,8888.6660156,0.0000000,0.0000000,259.9914551) --object(pot_02)(2) createObjectToLS(3095,-753.7265625,-2040.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(14) createObjectToLS(3095,-744.7265625,-2040.3964844,8894.5068359,179.9945068,0.0000000,0.0000000) --object(a51_jetdoor)(23) createObjectToLS(3598,-760.9271240,-2031.9567871,8901.3261719,0.0000000,0.0000000,269.9945068) --object(hillhouse01_la)(17) createObjectToLS(3598,-741.9931641,-2032.2849121,8901.3261719,0.0000000,0.0000000,89.9890137) --object(hillhouse01_la)(17) createObjectToLS(1649,-751.1698608,-2044.7740478,8895.9414062,0.0000000,0.0000000,180.0000000) --object(wglasssmash)(1) createObjectToLS(1649,-746.8111572,-2044.8116455,8895.9414062,0.0000000,0.0000000,179.7445068) --object(wglasssmash)(2) createObjectToLS(1649,-755.5263672,-2044.7839356,8895.9414062,0.0000000,0.0000000,179.9945068) --object(wglasssmash)(3) createObjectToLS(13804,-720.4962769,-2043.4937744,8888.0322266,0.0000000,0.0000000,140.0000000) --object(cuntelandf4)(1) createObjectToLS(13715,-762.1658325,-2096.1479492,8864.5927734,0.0000000,0.0000000,354.5000000) --object(cunte_hollyhil9)(1) createObjectToLS(3763,-758.1076050,-2100.7814941,8925.3681641,0.0000000,0.0000000,0.0000000) --object(ce_radarmast3)(1) createObjectToLS(621,-760.7374878,-2049.8398438,8892.0986328,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(1) createObjectToLS(621,-745.9633789,-2048.1982422,8892.0986328,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(2) createObjectToLS(621,-772.1503296,-2136.0197754,8883.3486328,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(3) createObjectToLS(621,-758.0761719,-2139.6235352,8886.4892578,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(4) createObjectToLS(621,-783.9131470,-2150.3918457,8886.4892578,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(5) createObjectToLS(621,-747.9086304,-2156.3137207,8883.4892578,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(6) createObjectToLS(621,-704.3019409,-2152.6267090,8874.9892578,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(7) createObjectToLS(621,-700.3961182,-2140.2219238,8874.9892578,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(8) createObjectToLS(621,-810.1705933,-2129.9013672,8882.8408203,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(9) createObjectToLS(13805,-816.5408325,-2061.9594727,8894.4892578,0.0000000,0.0000000,24.0000000) --object(celalandbiv)(1) createObjectToLS(3604,-785.0455933,-2056.9448242,8896.8925781,0.0000000,0.0000000,210.2500000) --object(bevmangar_law2)(1) createObjectToLS(3603,-811.4349976,-2068.3818359,8899.7910156,0.0000000,0.0000000,24.0000000) --object(bevman_law2)(1) createObjectToLS(669,-787.3614502,-2069.5390625,8894.1855469,0.0000000,0.0000000,70.0000000) --object(sm_veg_tree4)(1) createObjectToLS(621,-720.5810547,-2142.6718750,8883.3486328,0.0000000,0.0000000,0.0000000) --object(veg_palm02)(10) createObjectToLS(669,-700.4717407,-2085.7319336,8883.6855469,0.0000000,0.0000000,69.9993896) --object(sm_veg_tree4)(2) createObjectToLS(672,-794.0955200,-2080.9250488,8894.6933594,0.0000000,0.0000000,0.0000000) --object(sm_veg_tree5)(1) createObjectToLS(706,-840.2169190,-2133.3540039,8887.1113281,0.0000000,0.0000000,50.0000000) --object(sm_vegvbbig)(1) createObjectToLS(13725,-700.0072632,-2161.5300293,8891.1210938,0.0000000,0.0000000,0.0000000) --object(opmans01_cunte)(1) createObjectToLS(711,-723.7453613,-2090.4250488,8893.0312500,0.0000000,0.0000000,50.0000000) --object(vgs_palm02)(1) createObjectToLS(669,-721.2442017,-2081.9951172,8883.6855469,0.0000000,0.0000000,69.9993896) --object(sm_veg_tree4)(3) createObjectToLS(2206,-750.8184204,-2044.1579590,8894.5039062,0.0000000,0.0000000,180.0000000) --object(med_office8_desk_02)(1) createObjectToLS(1714,-751.7956543,-2042.7044678,8894.5039062,0.0000000,0.0000000,0.0000000) --object(kb_swivelchair1)(1) createObjectToLS(2190,-751.4270019,-2044.2966309,8895.4404297,0.0000000,0.0000000,180.0000000) --object(pc_1)(1) createObjectToLS(2828,-752.4900513,-2043.9910889,8895.4404297,0.0000000,0.0000000,300.0000000) --object(gb_ornament02)(1) createObjectToLS(2044,-751.0280151,-2044.6717529,8894.6582031,3.4169922,89.2415161,282.5225220) --object(cj_mp5k)(1) createObjectToLS(2001,-755.1593018,-2033.8414307,8894.5039062,0.0000000,0.0000000,0.0000000) --object(nu_plant_ofc)(1) createObjectToLS(2001,-755.7774658,-2044.3795166,8894.5039062,0.0000000,0.0000000,0.0000000) --object(nu_plant_ofc)(2) createObjectToLS(3055,-746.7561035,-2033.2655029,8896.7021484,0.0000000,0.0000000,180.0000000) --object(kmb_shutter)(2) createObjectToLS(1491,-750.6721802,-2033.2009277,8894.5039062,0.0000000,0.0000000,180.0000000) --object(gen_doorint01)(2) createObjectToLS(3055,-756.0821533,-2033.2510986,8896.7021484,0.0000000,0.0000000,179.9945068) --object(kmb_shutter)(2) createObjectToLS(1726,-755.4971314,-2042.7348633,8894.5039062,0.0000000,0.0000000,90.0000000) --object(mrk_seating2)(1) createObjectToLS(1726,-747.3411255,-2041.1864014,8894.5039062,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(2) createObjectToLS(2566,-753.8692017,-2038.2142334,8895.0830078,0.0000000,0.0000000,90.0000000) --object(hotel_s_bedset_3)(1) createObjectToLS(1846,-747.5361328,-2036.9520264,8896.0380859,90.0000000,270.0000000,180.0000000) --object(shop_shelf04)(1) createObjectToLS(2225,-746.6477661,-2037.0855713,8894.1474609,0.0000000,0.0000000,270.0000000) --object(swank_hi_fi_2)(1) createObjectToLS(2344,-747.2426758,-2037.5249023,8894.5126953,0.0000000,0.0000000,30.0000000) --object(cj_remote)(1) createObjectToLS(2230,-746.0980835,-2035.6383057,8895.5380859,0.0000000,0.0000000,270.0000000) --object(swank_speaker_2)(1) createObjectToLS(2230,-746.1148682,-2038.8878174,8895.5380859,0.0000000,0.0000000,270.0000000) --object(swank_speaker_2)(2) createObjectToLS(2233,-746.4899902,-2035.0783691,8894.5048828,0.0000000,0.0000000,310.0000000) --object(swank_speaker_4)(1) createObjectToLS(2233,-746.8496704,-2039.4141846,8894.5048828,0.0000000,0.0000000,237.9957275) --object(swank_speaker_4)(2) createObjectToLS(2001,-747.1884766,-2044.4462891,8894.5039062,0.0000000,0.0000000,0.0000000) --object(nu_plant_ofc)(3) createObjectToLS(2001,-747.0936890,-2034.4678955,8894.5039062,0.0000000,0.0000000,0.0000000) --object(nu_plant_ofc)(4) createObjectToLS(2261,-755.8337402,-2036.6112060,8895.9208984,0.0000000,0.0000000,90.0000000) --object(frame_slim_2)(1) createObjectToLS(2260,-747.2424316,-2042.1923828,8895.9414062,0.0000000,0.0000000,270.0000000) --object(frame_slim_1)(1) createObjectToLS(2265,-755.6364136,-2041.7327881,8895.9990234,0.0000000,0.0000000,90.0000000) --object(frame_slim_6)(1) createObjectToLS(2239,-749.9140015,-2044.1273193,8894.5039062,0.0000000,0.0000000,210.0000000) --object(cj_mlight16)(1) createObjectToLS(2239,-753.6118164,-2044.1909180,8894.5039062,0.0000000,0.0000000,139.9981690) --object(cj_mlight16)(2) createObjectToLS(1726,-755.6102295,-2032.4312744,8894.5039062,0.0000000,0.0000000,90.0000000) --object(mrk_seating2)(3) createObjectToLS(1726,-747.5809326,-2030.3673096,8894.5039062,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(4) createObjectToLS(2001,-749.0991211,-2028.7799072,8894.5029297,0.0000000,0.0000000,0.0000000) --object(nu_plant_ofc)(5) createObjectToLS(2001,-753.3778686,-2028.5958252,8894.5029297,0.0000000,0.0000000,0.0000000) --object(nu_plant_ofc)(6) createObjectToLS(2001,-755.7451172,-2019.7485352,8894.5029297,0.0000000,0.0000000,0.0000000) --object(nu_plant_ofc)(7) createObjectToLS(2001,-747.2719116,-2019.5714111,8894.5029297,0.0000000,0.0000000,0.0000000) --object(nu_plant_ofc)(8) createObjectToLS(2244,-755.9530029,-2038.1036377,8895.4111328,0.0000000,0.0000000,0.0000000) --object(plant_pot_9)(1) createObjectToLS(2010,-735.1845703,-2019.4101562,8894.5087891,0.0000000,0.0000000,130.0000000) --object(nu_plant3_ofc)(1) createObjectToLS(2010,-765.9449463,-2019.7418213,8894.5087891,0.0000000,0.0000000,129.9957275) --object(nu_plant3_ofc)(2) createObjectToLS(955,-767.5952759,-2020.0775147,8894.8837891,0.0000000,0.0000000,180.0000000) --object(cj_ext_sprunk)(1) createObjectToLS(2010,-768.6784058,-2019.5375977,8894.5087891,0.0000000,0.0000000,129.9957275) --object(nu_plant3_ofc)(3) createObjectToLS(955,-736.2309570,-2019.4315185,8895.0322266,0.0000000,0.0000000,179.9945068) --object(cj_ext_sprunk)(2) createObjectToLS(1726,-740.6710815,-2012.8135986,8894.5029297,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(5) createObjectToLS(2236,-745.6310425,-1988.1236572,8888.3408203,0.0000000,0.0000000,270.0000000) --object(coffee_swank_1)(1) createObjectToLS(1726,-744.5026856,-2014.8657227,8894.5029297,0.0000000,0.0000000,90.0000000) --object(mrk_seating2)(6) createObjectToLS(1726,-760.7874145,-2015.0098877,8894.5029297,0.0000000,0.0000000,90.0000000) --object(mrk_seating2)(7) createObjectToLS(1726,-757.1365356,-2012.9582519,8894.5029297,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(8) createObjectToLS(2236,-759.4707642,-2013.4852295,8894.5039062,0.0000000,0.0000000,270.0000000) --object(coffee_swank_1)(2) createObjectToLS(2010,-748.3930054,-2009.3310547,8894.5087891,0.0000000,0.0000000,129.9957275) --object(nu_plant3_ofc)(4) createObjectToLS(2010,-753.6943359,-2009.3510742,8894.5087891,0.0000000,0.0000000,129.9957275) --object(nu_plant3_ofc)(5) createObjectToLS(2745,-748.5259399,-2012.7312012,8891.6503906,0.0000000,0.0000000,270.0000000) --object(cj_stat_3)(1) createObjectToLS(2745,-758.5277710,-2009.8845215,8895.7167969,0.0000000,0.0000000,180.0000000) --object(cj_stat_3)(2) createObjectToLS(2745,-742.9673462,-2009.6944580,8895.7167969,0.0000000,0.0000000,179.9945068) --object(cj_stat_3)(3) createObjectToLS(644,-761.5621338,-2008.1782227,8888.6005859,0.0000000,0.0000000,39.9914551) --object(pot_02)(2) createObjectToLS(644,-741.1423950,-2008.1298828,8888.6005859,0.0000000,0.0000000,149.9902344) --object(pot_02)(2) createObjectToLS(14399,-743.3151856,-1997.3392334,8888.0146484,0.0000000,0.0000000,90.0000000) --object(bar2)(1) createObjectToLS(18077,-748.3822022,-2003.4295654,8888.8994141,0.0000000,0.0000000,0.0000000) --object(din_donut_furn)(1) createObjectToLS(1551,-745.1470947,-2000.7170410,8889.6298828,0.0000000,0.0000000,0.0000000) --object(dyn_wine_big)(1) createObjectToLS(1544,-745.4461670,-2003.3704834,8889.3896484,0.0000000,0.0000000,0.0000000) --object(cj_beer_b_1)(1) createObjectToLS(1543,-745.2690430,-2000.3741455,8889.3896484,0.0000000,0.0000000,0.0000000) --object(cj_beer_b_2)(1) createObjectToLS(1544,-744.5620117,-1997.5147705,8889.3896484,0.0000000,0.0000000,0.0000000) --object(cj_beer_b_1)(2) createObjectToLS(1541,-744.6284790,-2002.1573486,8889.5634766,0.0000000,0.0000000,270.0000000) --object(cj_beer_taps_1)(1) createObjectToLS(2206,-733.5029297,-1990.6478272,8894.5039062,0.0000000,0.0000000,89.9945068) --object(med_office8_desk_02)(2) createObjectToLS(1714,-724.6430054,-2005.7384033,8894.5039062,0.0000000,0.0000000,80.0000000) --object(kb_swivelchair1)(2) createObjectToLS(2190,-733.6047974,-1989.9675293,8895.4404297,0.0000000,0.0000000,90.0000000) --object(pc_1)(2) createObjectToLS(1808,-753.8328857,-2024.6251221,8894.5039062,0.0000000,0.0000000,90.0000000) --object(cj_watercooler2)(1) createObjectToLS(1808,-734.8400879,-1996.7645264,8894.5039062,0.0000000,0.0000000,270.0000000) --object(cj_watercooler2)(2) createObjectToLS(2010,-722.9951782,-2008.0334473,8894.4921875,0.0000000,0.0000000,260.0000000) --object(nu_plant3_ofc)(7) createObjectToLS(2010,-723.0056763,-2003.3231201,8894.4921875,0.0000000,0.0000000,259.9969482) --object(nu_plant3_ofc)(8) createObjectToLS(2298,-727.1975098,-2004.5969238,8894.5039062,0.0000000,0.0000000,180.0000000) --object(swank_bed_7)(1) createObjectToLS(1567,-733.4464722,-2008.4637451,8894.5039062,0.0000000,0.0000000,0.0000000) --object(gen_wardrobe)(1) createObjectToLS(2296,-729.6562500,-2002.8756103,8894.5039062,0.0000000,0.0000000,0.0000000) --object(tv_unit_1)(1) createObjectToLS(2010,-733.6281738,-2007.9211426,8894.4921875,0.0000000,0.0000000,259.9969482) --object(nu_plant3_ofc)(9) createObjectToLS(2256,-732.2767944,-2002.8319092,8895.9394531,0.0000000,0.0000000,0.0000000) --object(frame_clip_3)(1) createObjectToLS(2344,-727.2255859,-2008.3048096,8895.0351562,0.0000000,0.0000000,300.0000000) --object(cj_remote)(2) createObjectToLS(2206,-722.9931641,-2004.7890625,8894.5039062,0.0000000,0.0000000,269.9890137) --object(med_office8_desk_02)(3) createObjectToLS(2299,-725.8093872,-1990.2773438,8894.5029297,0.0000000,0.0000000,270.0000000) --object(swank_bed_6)(1) createObjectToLS(1726,-727.1801758,-1993.0291748,8894.5039062,0.0000000,0.0000000,180.0000000) --object(mrk_seating2)(9) createObjectToLS(2296,-729.3255005,-1988.0612793,8894.5039062,0.0000000,0.0000000,0.0000000) --object(tv_unit_1)(2) createObjectToLS(1714,-732.1851196,-1989.2199707,8894.5039062,0.0000000,0.0000000,309.9969482) --object(kb_swivelchair1)(3) createObjectToLS(2190,-722.7988281,-2005.3417969,8895.4404297,0.0000000,0.0000000,270.0000000) --object(pc_1)(3) createObjectToLS(2870,-733.4553833,-1988.9890137,8895.4404297,0.0000000,0.0000000,26.0000000) --object(gb_ornament05)(1) createObjectToLS(2010,-769.3270874,-1988.5070801,8894.4970703,0.0000000,0.0000000,279.9969482) --object(nu_plant3_ofc)(10) createObjectToLS(2010,-722.8458252,-1988.2663574,8894.4921875,0.0000000,0.0000000,259.9969482) --object(nu_plant3_ofc)(11) createObjectToLS(2266,-722.8542481,-1990.8050537,8896.1582031,0.0000000,0.0000000,270.0000000) --object(frame_wood_5)(1) createObjectToLS(2852,-726.4158935,-1992.4453125,8894.5029297,0.0000000,0.0000000,0.0000000) --object(gb_bedmags02)(1) createObjectToLS(1742,-725.8331299,-1987.7427978,8894.4990234,0.0000000,0.0000000,0.0000000) --object(med_bookshelf)(1) createObjectToLS(2330,-726.6058350,-2003.8303223,8894.4785156,0.0000000,0.0000000,0.0000000) --object(cj_bedroom1_w)(1) createObjectToLS(2843,-731.1372070,-2005.1021728,8894.5039062,0.0000000,0.0000000,0.0000000) --object(gb_bedclothes02)(1) createObjectToLS(2745,-765.6406860,-1985.6302490,8895.7167969,0.0000000,0.0000000,359.9945068) --object(cj_stat_3)(4) createObjectToLS(2745,-737.4404297,-1986.2177734,8895.7128906,0.0000000,0.0000000,359.9890137) --object(cj_stat_3)(5) createObjectToLS(2299,-770.8739014,-2004.8948975,8894.5087891,0.0000000,0.0000000,180.0000000) --object(swank_bed_6)(2) createObjectToLS(2185,-776.9708252,-2008.0177002,8894.5087891,0.0000000,0.0000000,0.0000000) --object(med_office6_desk_1)(1) createObjectToLS(1714,-776.0527954,-2006.7932129,8894.5087891,0.0000000,0.0000000,0.0000000) --object(kb_swivelchair1)(4) createObjectToLS(14455,-779.2686768,-2003.4284668,8895.4697266,0.0000000,0.0000000,270.0000000) --object(gs_bookcase)(1) createObjectToLS(2297,-772.1494751,-2002.9713135,8894.5078125,0.0000000,0.0000000,316.0000000) --object(tv_unit_2)(1) createObjectToLS(14455,-779.2435303,-2003.4276123,8895.9521484,0.0000000,0.0000000,270.0000000) --object(gs_bookcase)(2) createObjectToLS(14455,-761.4700317,-2008.9764404,8889.9267578,0.0000000,0.0000000,0.0000000) --object(gs_bookcase)(3) createObjectToLS(14455,-758.5937500,-2008.9615478,8889.9267578,0.0000000,0.0000000,0.0000000) --object(gs_bookcase)(4) createObjectToLS(14455,-762.2128906,-2003.8519287,8889.9267578,0.0000000,0.0000000,270.0000000) --object(gs_bookcase)(5) createObjectToLS(14455,-762.1881103,-1998.0765381,8889.9267578,0.0000000,0.0000000,270.0000000) --object(gs_bookcase)(6) createObjectToLS(1726,-755.5831909,-2004.9715576,8888.3154297,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(10) createObjectToLS(1726,-755.5949097,-2002.0421143,8888.3154297,0.0000000,0.0000000,270.0000000) --object(mrk_seating2)(11) createObjectToLS(1726,-758.6489868,-2000.9688721,8888.3154297,0.0000000,0.0000000,0.0000000) --object(mrk_seating2)(12) createObjectToLS(1726,-759.8614502,-2004.0385742,8888.3154297,0.0000000,0.0000000,90.0000000) --object(mrk_seating2)(13) createObjectToLS(1726,-759.8199463,-2007.1882324,8888.3154297,0.0000000,0.0000000,90.0000000) --object(mrk_seating2)(14) createObjectToLS(2824,-756.9317017,-2006.5131836,8888.3115234,0.0000000,0.0000000,0.0000000) --object(gb_novels02)(1) createObjectToLS(2852,-758.5955200,-2002.9190674,8888.3085938,0.0000000,0.0000000,0.0000000) --object(gb_bedmags02)(2) createObjectToLS(3984,-761.6347046,-1969.4300537,8898.0019531,0.0000000,0.0000000,90.0000000) --object(churchprog1_lan)(1) createObjectToLS(869,-757.2135620,-1990.7211914,8889.0781250,0.0000000,0.0000000,0.0000000) --object(veg_pflowerswee)(1) createObjectToLS(870,-757.1050415,-1991.8491211,8888.8652344,0.0000000,0.0000000,0.0000000) --object(veg_pflowers2wee)(1) createObjectToLS(870,-757.3587647,-1989.9674072,8888.8652344,0.0000000,0.0000000,0.0000000) --object(veg_pflowers2wee)(2) createObjectToLS(1726,-756.4075928,-1994.4674072,8888.3154297,0.0000000,0.0000000,32.0000000) --object(mrk_seating2)(15) createObjectToLS(1726,-753.6941528,-1991.9058838,8888.3154297,0.0000000,0.0000000,91.9976807) --object(mrk_seating2)(16) createObjectToLS(1726,-759.7880859,-1993.5968018,8888.3154297,0.0000000,0.0000000,331.9940186) --object(mrk_seating2)(17) createObjectToLS(1726,-746.5090332,-1989.5941162,8888.3154297,0.0000000,0.0000000,90.7440186) --object(mrk_seating2)(18) createObjectToLS(1726,-743.8320923,-1987.6339111,8888.3154297,0.0000000,0.0000000,270.7415772) --object(mrk_seating2)(19) createObjectToLS(1726,-743.7810669,-1991.8099365,8888.3154297,0.0000000,0.0000000,270.7360840) --object(mrk_seating2)(20) createObjectToLS(1726,-746.4581299,-1993.7436523,8888.3154297,0.0000000,0.0000000,90.7415771) --object(mrk_seating2)(21) createObjectToLS(2236,-743.1162109,-2013.3632812,8894.5039062,0.0000000,0.0000000,270.0000000) --object(coffee_swank_1)(3) createObjectToLS(2236,-745.6237793,-1992.2509766,8888.3408203,0.0000000,0.0000000,270.0000000) --object(coffee_swank_1)(4) createObjectToLS(1487,-745.1616821,-1992.9627685,8889.0439453,0.0000000,0.0000000,0.0000000) --object(dyn_wine_1)(1) createObjectToLS(1544,-744.9634399,-1992.7904053,8888.8466797,0.0000000,0.0000000,0.0000000) --object(cj_beer_b_1)(3) createObjectToLS(1543,-745.0821533,-1988.3530273,8888.8466797,0.0000000,0.0000000,0.0000000) --object(cj_beer_b_2)(2) createObjectToLS(2566,-777.3585205,-1992.3743897,8895.0878906,0.0000000,0.0000000,90.0000000) --object(hotel_s_bedset_3)(2) createObjectToLS(2207,-774.5086670,-1992.7257080,8894.5078125,0.0000000,0.0000000,180.0000000) --object(med_office7_desk_1)(1) createObjectToLS(2190,-775.2174683,-1992.9007568,8895.2851562,0.0000000,0.0000000,166.0000000) --object(pc_1)(4) createObjectToLS(1714,-775.1247559,-1991.4575195,8894.5078125,0.0000000,0.0000000,0.0000000) --object(kb_swivelchair1)(5) createObjectToLS(2828,-775.9476929,-1992.9279785,8895.2851562,0.0000000,0.0000000,336.0000000) --object(gb_ornament02)(2) createObjectToLS(2260,-775.4509888,-1993.1563721,8895.9072266,0.0000000,0.0000000,180.0000000) --object(frame_slim_1)(2) createObjectToLS(2010,-722.8984375,-1992.9921875,8894.4921875,0.0000000,0.0000000,259.9969482) --object(nu_plant3_ofc)(12) createObjectToLS(2010,-779.3457642,-1988.5552978,8894.4970703,0.0000000,0.0000000,279.9920654) --object(nu_plant3_ofc)(13) createObjectToLS(2010,-779.2921143,-1993.0549316,8894.4970703,0.0000000,0.0000000,279.9920654) --object(nu_plant3_ofc)(14) createObjectToLS(2568,-750.5009766,-2033.7595215,8894.5029297,0.0000000,0.0000000,0.0000000) --object(hotel_dresser_3)(1) createObjectToLS(2568,-772.9042969,-1988.5908203,8894.5087891,0.0000000,0.0000000,0.0000000) --object(hotel_dresser_3)(2)
local Dta = select(2, ...) Dta.flying = {} -------------------------------------- -- TRIBAL MAGIC BUTTON HANDLERS -------------------------------------- function Dta.flying.PitchWheelBack(slider, hEvent) local min, max = slider:GetRange() local pos = slider:GetPosition() if pos > min then slider:SetPosition(pos - 1) end end function Dta.flying.PitchWheelForward(slider, hEvent) local min, max = slider:GetRange() local pos = slider:GetPosition() if pos < max then slider:SetPosition(pos + 1) end end function Dta.flying.SliderMoved(slider) local newVal = slider:GetPosition() Dta.Tools.Flying.window.pitchLabels[Dta.flying.pitchPosition+5]:SetFontColor(1, 1, 1) Dta.Tools.Flying.window.pitchLabels[newVal+5]:SetFontColor(107/255, 203/255, 189/255) Dta.flying.pitchPosition = newVal Dta.desiredPitch = -newVal/8 end function Dta.flying.PlaceFlying() local items = Inspect.Item.List(Utility.Item.Slot.Inventory()) for slot, id in pairs(items) do if id ~= false then local data = Inspect.Item.Detail(id) if data and data.type == Dta.FlyingType then Dta.Tools.Flying.window.DFlying.placeButton:SetEnabled(false) Dta.Tools.Flying.window.DFlying.pickupButton:SetEnabled(true) Dta.waitingForCarpet = true Command.Dimension.Layout.Place(id, {scale=1}) return end end end Dta.CPrint(Dta.Locale.Prints.NoRoundTable) end function Dta.flying.PickUpFlying() if Dta.carpetId then Command.Dimension.Layout.Pickup(Dta.carpetId) Dta.flying.FlyingRemoved() end end -------------------------------------- -- OTHER CALLBACKS -------------------------------------- function Dta.flying.FlyingRemoved() Dta.Tools.Flying.window.DFlying.placeButton:SetEnabled(true) Dta.Tools.Flying.window.DFlying.pickupButton:SetEnabled(false) Dta.carpetId = false end function Dta.flying.UpdateCarpet() local playerDetails = Inspect.Unit.Detail("player") if playerDetails.coordX == nil then -- unit availability ~= "full" => loading screen Dta.flying.FlyingRemoved() return end local currentFrameTime = Inspect.Time.Frame() if currentFrameTime < Dta.nextCarpetMove then return end -- don't move carpet if we're less than 2cm from old pos in all directions if not Dta.lastPlayerPos or math.abs(Dta.lastPlayerPos.coordX - playerDetails.coordX) > 0.02 or math.abs(Dta.lastPlayerPos.coordY - playerDetails.coordY) > 0.02 or math.abs(Dta.lastPlayerPos.coordZ - playerDetails.coordZ) > 0.02 then local spacing = 0.3 local xDiff = playerDetails.coordX - Dta.savePosNew.coordX --local yDiff = playerDetails.coordY - Dta.savePosNew.coordY local zDiff = playerDetails.coordZ - Dta.savePosNew.coordZ local hDiff = math.sqrt(xDiff * xDiff + zDiff * zDiff) local xDiffOld = playerDetails.coordX - Dta.savePosOld.coordX --local yDiffOld = playerDetails.coordY - Dta.savePosOld.coordY local zDiffOld = playerDetails.coordZ - Dta.savePosOld.coordZ local hDiffOld = math.sqrt(xDiffOld * xDiffOld + zDiffOld * zDiffOld) local weightN = math.min(hDiff, spacing) / spacing local weightO = 1.0 - weightN local dirX = xDiff * weightN + xDiffOld * weightO local dirZ = zDiff * weightN + zDiffOld * weightO local dirLen = math.sqrt(dirX * dirX + dirZ * dirZ) -- TODO: if dirLen << spacing: inbetween savePosOld and savePosNew, rotation is somewhat random -- finally have a direction local update = {} update["coordX"] = playerDetails["coordX"] update["coordY"] = playerDetails["coordY"] - Dta.magicYOffset/math.cos(Dta.desiredPitch * 1.05) update["coordZ"] = playerDetails["coordZ"] update["pitch"] = 0 update["yaw"] = math.atan2(dirZ, dirX) update["roll"] = Dta.desiredPitch Command.Dimension.Layout.Place(Dta.carpetId, update) --Dta.lastCarpetPos = update Dta.lastPlayerPos.coordX = playerDetails.coordX Dta.lastPlayerPos.coordY = playerDetails.coordY Dta.lastPlayerPos.coordZ = playerDetails.coordZ -- aim for ~60 updates/s max or we might run into issues with the command queue throttling Dta.nextCarpetMove = math.max(currentFrameTime, Dta.nextCarpetMove + 0.0167) -- currentFrameTime -- if we moved more than <spacing> horizontally, save new position if hDiff > spacing then local posNew = Dta.savePosOld Dta.savePosOld = Dta.savePosNew posNew.coordX = playerDetails.coordX posNew.coordY = playerDetails.coordY posNew.coordZ = playerDetails.coordZ Dta.savePosNew = posNew end end end
require(GetScriptDirectory() .. "/logic") require(GetScriptDirectory() .. "/ability_item_usage_generic") local npcBot = GetBot() local ComboMana = 0 local debugmode=false local Talents ={} local Abilities ={} for i=0,23,1 do local ability=npcBot:GetAbilityInSlot(i) if(ability~=nil) then if(ability:IsTalent()==true) then table.insert(Talents,ability:GetName()) else table.insert(Abilities,ability:GetName()) end end end local AbilitiesReal = { npcBot:GetAbilityByName(Abilities[1]), npcBot:GetAbilityByName(Abilities[2]), npcBot:GetAbilityByName(Abilities[3]), npcBot:GetAbilityByName(Abilities[4]) } local AbilityToLevelUp= { Abilities[1], Abilities[2], Abilities[1], Abilities[2], Abilities[1], Abilities[2], Abilities[1], Abilities[2], Abilities[4], "talent", Abilities[3], Abilities[4], Abilities[3], Abilities[3], "talent", Abilities[3], "nil", Abilities[4], "nil", "talent", "nil", "nil", "nil", "nil", "talent", } local TalentTree={ function() return Talents[2] end, function() return Talents[4] end, function() return Talents[6] end, function() return Talents[8] end } logic.CheckAbilityBuild(AbilityToLevelUp) function AbilityLevelUpThink() ability_item_usage_generic.AbilityLevelUpThink2(AbilityToLevelUp,TalentTree) end function CourierUsageThink() ability_item_usage_generic.CourierUsageThink() end
------------------------------------------------------------------------ --[[ SeqBRNN ]] -- -- Bi-directional RNN using two SeqLSTM modules. -- Input is a tensor e.g time x batch x inputdim. -- Output is a tensor of the same length e.g time x batch x outputdim. -- Applies a forward rnn to input tensor in forward order -- and applies a backward rnn in reverse order. -- Reversal of the sequence happens on the time dimension. -- For each step, the outputs of both rnn are merged together using -- the merge module (defaults to nn.CAddTable() which sums the activations). ------------------------------------------------------------------------ local SeqBRNN, parent = torch.class('nn.SeqBRNN', 'nn.Container') function SeqBRNN:__init(inputDim, hiddenDim, batchFirst, merge) self.forwardModule = nn.SeqLSTM(inputDim, hiddenDim) self.backwardModule = nn.SeqLSTM(inputDim, hiddenDim) self.merge = merge if not self.merge then self.merge = nn.CAddTable() end self.dim = 1 local backward = nn.Sequential() backward:add(nn.SeqReverseSequence(self.dim)) -- reverse backward:add(self.backwardModule) backward:add(nn.SeqReverseSequence(self.dim)) -- unreverse local concat = nn.ConcatTable() concat:add(self.forwardModule):add(backward) local brnn = nn.Sequential() brnn:add(concat) brnn:add(self.merge) if(batchFirst) then -- Insert transposes before and after the brnn. brnn:insert(nn.Transpose({1, 2}), 1) brnn:insert(nn.Transpose({1, 2})) end parent.__init(self) self.output = torch.Tensor() self.gradInput = torch.Tensor() self.module = brnn -- so that it can be handled like a Container self.modules[1] = brnn end function SeqBRNN:updateOutput(input) self.output = self.module:updateOutput(input) return self.output end function SeqBRNN:updateGradInput(input, gradOutput) self.gradInput = self.module:updateGradInput(input, gradOutput) return self.gradInput end function SeqBRNN:accGradParameters(input, gradOutput, scale) self.module:accGradParameters(input, gradOutput, scale) end function SeqBRNN:accUpdateGradParameters(input, gradOutput, lr) self.module:accUpdateGradParameters(input, gradOutput, lr) end function SeqBRNN:sharedAccUpdateGradParameters(input, gradOutput, lr) self.module:sharedAccUpdateGradParameters(input, gradOutput, lr) end function SeqBRNN:__tostring__() if self.module.__tostring__ then return torch.type(self) .. ' @ ' .. self.module:__tostring__() else return torch.type(self) .. ' @ ' .. torch.type(self.module) end end
--oo/resources/imagelist: image lists --Written by Cosmin Apreutesei. Public Domain. setfenv(1, require'winapi') require'winapi.itemlist' require'winapi.handlelist' require'winapi.imagelist' ImageLists = HandleList'himl' ImageList = subclass({ __defaults = { w=32, h=32, initial_size = 0, --if > 0 you'll have to use set() instead of add() grow_size = 1, --if > 1 you'll have to use set() instead of add() }, __flags_bitmask = bitmask{ masked = ILC_MASK, colors = { default = ILC_COLOR, ddb = ILC_COLORDDB, ['16bit'] = ILC_COLOR4, ['256bit'] = ILC_COLOR8, ['16bit'] = ILC_COLOR16, ['24bit'] = ILC_COLOR24, ['32bit'] = ILC_COLOR32, }, mirror = { none = 0, all = ILC_MIRROR, item = ILC_PERITEMMIRROR, }, preserve_size = ILC_ORIGINALSIZE, --vista+ }, }, ItemList) function ImageList:__init(t) if ffi.istype('HIMAGELIST', t) then self.himl = t else self.himl = ImageList_Create{ w = t.w or t[1], h = t.h or t[2], flags = self.__flags_bitmask:set(bit.bor(ILC_COLOR32, ILC_MASK), t), initial_size = t.initial_size or self.__defaults.initial_size, grow_size = t.grow_size or self.__defaults.grow_size, } if t.bk_color then self.bk_color = t.bk_color end end ImageLists:add(self) end function ImageList:destroy() ImageList_Destroy(self.himl) ImageLists:remove(self) self.himl = nil end function ImageList:set(i,t) if t.icon then ImageList_ReplaceIcon(self.himl, i, t.icon) elseif t.transparent_color then --there's no ImageList_ReplaceMasked ImageList_AddMasked(self.himl, t.image, t.transparent_color) ImageList_Copy(self.himl, i, self.count, ILCF_MOVE) ImageList_Remove(self.himl, self.count) else ImageList_Replace(self.himl, i, t.image, t.mask_image) end end function ImageList:move(to, from) if to == from then return end if to < from then for k=from,to+1,-1 do ImageList_Copy(self.himl, k, k-1, ILCF_SWAP) end else for k=to,from-1 do ImageList_Copy(self.himl, k, k+1, ILCF_SWAP) end end end function ImageList:add(i,t) --mask is an image or a color number if not t then i,t = nil,i end if t.icon then ImageList_AddIcon(self.himl, t.icon) elseif t.transparent_color then ImageList_AddMasked(self.himl, t.image, t.transparent_color) else ImageList_Add(self.himl, t.image, t.mask_image) end if i then self:move(self.count, i) end end function ImageList:remove(i) return ImageList_Remove(self.himl, i) end function ImageList:get(i, ILD) return {icon = ImageList_GetIcon(self.himl, i, ILD)} end function ImageList:clear() return ImageList_RemoveAll(self.himl) end function ImageList:get_count() return ImageList_GetImageCount(self.himl) end function ImageList:set_count(count) return ImageList_SetImageCount(self.himl, count) end function ImageList:get_bk_color() return ImageList_GetBkColor(self.himl) end function ImageList:set_bk_color(color) ImageList_SetBkColor(self.himl, color) end function ImageList:set_overlay(i, ioverlay) return ImageList_SetOverlayImage(self.himl, i, ioverlay) end function ImageList:get_size() local w,h = ImageList_GetIconSize(self.himl) return {w=w,h=h} end function ImageList:set_size(size) ImageList_SetIconSize(self.himl, size.w, size.h) end function ImageList:draw(i, dc, x, y, IDL) ImageList_Draw(self.himl, i, dc, x, y, IDL) end --showcase if not ... then require'winapi.showcase' require'winapi.icon' require'winapi.resource' local window = ShowcaseWindow{w=300,h=200} local m = ImageList{w=32,h=32,colors='32bit'} --m.bk_color = 234234 m:add{icon = LoadIconFromInstance(IDI_WARNING)} m:add{icon = LoadIconFromInstance(IDI_INFORMATION)} m:add(2, {icon = LoadIconFromInstance(IDI_ERROR)}) m:set(3, {icon = LoadIconFromInstance(IDI_ERROR)}) m.count = m.count + 1 print(m.count) print(m.size) function window:WM_PAINT() local p = ffi.new'PAINTSTRUCT' local hdc = C.BeginPaint(window.hwnd, p) for i=1,m.count do m:draw(i, hdc, 50+i*34, 50, ILD_NORMAL) end C.EndPaint(window.hwnd, p) end window:invalidate() MessageLoop() m:destroy() end
--[[ ui-engine-v2 version 1.3a by Singularity (V3rm @ King Singularity) (Discord @ Singularity#5490) --]] local ui_options = { main_color = Color3.fromRGB(41, 74, 122), min_size = Vector2.new(400, 300), toggle_key = Enum.KeyCode.RightShift, can_resize = true, } do local imgui = game:GetService("CoreGui"):FindFirstChild("imgui") if imgui then imgui:Destroy() end end local imgui = Instance.new("ScreenGui") local Prefabs = Instance.new("Frame") local Label = Instance.new("TextLabel") local Window = Instance.new("ImageLabel") local Resizer = Instance.new("Frame") local Bar = Instance.new("Frame") local Toggle = Instance.new("ImageButton") local Base = Instance.new("ImageLabel") local Top = Instance.new("ImageLabel") local Tabs = Instance.new("Frame") local Title = Instance.new("TextLabel") local TabSelection = Instance.new("ImageLabel") local TabButtons = Instance.new("Frame") local UIListLayout = Instance.new("UIListLayout") local Frame = Instance.new("Frame") local Tab = Instance.new("Frame") local UIListLayout_2 = Instance.new("UIListLayout") local TextBox = Instance.new("TextBox") local TextBox_Roundify_4px = Instance.new("ImageLabel") local Slider = Instance.new("ImageLabel") local Title_2 = Instance.new("TextLabel") local Indicator = Instance.new("ImageLabel") local Value = Instance.new("TextLabel") local TextLabel = Instance.new("TextLabel") local TextLabel_2 = Instance.new("TextLabel") local Circle = Instance.new("ImageLabel") local UIListLayout_3 = Instance.new("UIListLayout") local Dropdown = Instance.new("TextButton") local Indicator_2 = Instance.new("ImageLabel") local Box = Instance.new("ImageButton") local Objects = Instance.new("ScrollingFrame") local UIListLayout_4 = Instance.new("UIListLayout") local TextButton_Roundify_4px = Instance.new("ImageLabel") local TabButton = Instance.new("TextButton") local TextButton_Roundify_4px_2 = Instance.new("ImageLabel") local Folder = Instance.new("ImageLabel") local Button = Instance.new("TextButton") local TextButton_Roundify_4px_3 = Instance.new("ImageLabel") local Toggle_2 = Instance.new("ImageLabel") local Objects_2 = Instance.new("Frame") local UIListLayout_5 = Instance.new("UIListLayout") local HorizontalAlignment = Instance.new("Frame") local UIListLayout_6 = Instance.new("UIListLayout") local Console = Instance.new("ImageLabel") local ScrollingFrame = Instance.new("ScrollingFrame") local Source = Instance.new("TextBox") local Comments = Instance.new("TextLabel") local Globals = Instance.new("TextLabel") local Keywords = Instance.new("TextLabel") local RemoteHighlight = Instance.new("TextLabel") local Strings = Instance.new("TextLabel") local Tokens = Instance.new("TextLabel") local Numbers = Instance.new("TextLabel") local Info = Instance.new("TextLabel") local Lines = Instance.new("TextLabel") local ColorPicker = Instance.new("ImageLabel") local Palette = Instance.new("ImageLabel") local Indicator_3 = Instance.new("ImageLabel") local Sample = Instance.new("ImageLabel") local Saturation = Instance.new("ImageLabel") local Indicator_4 = Instance.new("Frame") local Switch = Instance.new("TextButton") local TextButton_Roundify_4px_4 = Instance.new("ImageLabel") local Title_3 = Instance.new("TextLabel") local Button_2 = Instance.new("TextButton") local TextButton_Roundify_4px_5 = Instance.new("ImageLabel") local DropdownButton = Instance.new("TextButton") local Keybind = Instance.new("ImageLabel") local Title_4 = Instance.new("TextLabel") local Input = Instance.new("TextButton") local Input_Roundify_4px = Instance.new("ImageLabel") local Windows = Instance.new("Frame") imgui.Name = "imgui" imgui.Parent = game:GetService("CoreGui") Prefabs.Name = "Prefabs" Prefabs.Parent = imgui Prefabs.BackgroundColor3 = Color3.new(1, 1, 1) Prefabs.Size = UDim2.new(0, 100, 0, 100) Prefabs.Visible = false Label.Name = "Label" Label.Parent = Prefabs Label.BackgroundColor3 = Color3.new(1, 1, 1) Label.BackgroundTransparency = 1 Label.Size = UDim2.new(0, 200, 0, 20) Label.Font = Enum.Font.GothamSemibold Label.Text = "Hello, world 123" Label.TextColor3 = Color3.new(1, 1, 1) Label.TextSize = 14 Label.TextXAlignment = Enum.TextXAlignment.Left Window.Name = "Window" Window.Parent = Prefabs Window.Active = true Window.BackgroundColor3 = Color3.new(1, 1, 1) Window.BackgroundTransparency = 1 Window.ClipsDescendants = true Window.Position = UDim2.new(0, 20, 0, 20) Window.Selectable = true Window.Size = UDim2.new(0, 200, 0, 200) Window.Image = "rbxassetid://2851926732" Window.ImageColor3 = Color3.new(0.0823529, 0.0862745, 0.0901961) Window.ScaleType = Enum.ScaleType.Slice Window.SliceCenter = Rect.new(12, 12, 12, 12) Resizer.Name = "Resizer" Resizer.Parent = Window Resizer.Active = true Resizer.BackgroundColor3 = Color3.new(1, 1, 1) Resizer.BackgroundTransparency = 1 Resizer.BorderSizePixel = 0 Resizer.Position = UDim2.new(1, -20, 1, -20) Resizer.Size = UDim2.new(0, 20, 0, 20) Bar.Name = "Bar" Bar.Parent = Window Bar.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431) Bar.BorderSizePixel = 0 Bar.Position = UDim2.new(0, 0, 0, 5) Bar.Size = UDim2.new(1, 0, 0, 15) Toggle.Name = "Toggle" Toggle.Parent = Bar Toggle.BackgroundColor3 = Color3.new(1, 1, 1) Toggle.BackgroundTransparency = 1 Toggle.Position = UDim2.new(0, 5, 0, -2) Toggle.Rotation = 90 Toggle.Size = UDim2.new(0, 20, 0, 20) Toggle.ZIndex = 2 Toggle.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4731371541" Base.Name = "Base" Base.Parent = Bar Base.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431) Base.BorderSizePixel = 0 Base.Position = UDim2.new(0, 0, 0.800000012, 0) Base.Size = UDim2.new(1, 0, 0, 10) Base.Image = "rbxassetid://2851926732" Base.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431) Base.ScaleType = Enum.ScaleType.Slice Base.SliceCenter = Rect.new(12, 12, 12, 12) Top.Name = "Top" Top.Parent = Bar Top.BackgroundColor3 = Color3.new(1, 1, 1) Top.BackgroundTransparency = 1 Top.Position = UDim2.new(0, 0, 0, -5) Top.Size = UDim2.new(1, 0, 0, 10) Top.Image = "rbxassetid://2851926732" Top.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431) Top.ScaleType = Enum.ScaleType.Slice Top.SliceCenter = Rect.new(12, 12, 12, 12) Tabs.Name = "Tabs" Tabs.Parent = Window Tabs.BackgroundColor3 = Color3.new(1, 1, 1) Tabs.BackgroundTransparency = 1 Tabs.Position = UDim2.new(0, 15, 0, 60) Tabs.Size = UDim2.new(1, -30, 1, -60) Title.Name = "Title" Title.Parent = Window Title.BackgroundColor3 = Color3.new(1, 1, 1) Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0, 30, 0, 3) Title.Size = UDim2.new(0, 200, 0, 20) Title.Font = Enum.Font.GothamBold Title.Text = "Gamer Time" Title.TextColor3 = Color3.new(1, 1, 1) Title.TextSize = 14 Title.TextXAlignment = Enum.TextXAlignment.Left TabSelection.Name = "TabSelection" TabSelection.Parent = Window TabSelection.BackgroundColor3 = Color3.new(1, 1, 1) TabSelection.BackgroundTransparency = 1 TabSelection.Position = UDim2.new(0, 15, 0, 30) TabSelection.Size = UDim2.new(1, -30, 0, 25) TabSelection.Visible = false TabSelection.Image = "rbxassetid://2851929490" TabSelection.ImageColor3 = Color3.new(0.145098, 0.14902, 0.156863) TabSelection.ScaleType = Enum.ScaleType.Slice TabSelection.SliceCenter = Rect.new(4, 4, 4, 4) TabButtons.Name = "TabButtons" TabButtons.Parent = TabSelection TabButtons.BackgroundColor3 = Color3.new(1, 1, 1) TabButtons.BackgroundTransparency = 1 TabButtons.Size = UDim2.new(1, 0, 1, 0) UIListLayout.Parent = TabButtons UIListLayout.FillDirection = Enum.FillDirection.Horizontal UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 2) Frame.Parent = TabSelection Frame.BackgroundColor3 = Color3.new(0.12549, 0.227451, 0.372549) Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0, 0, 1, 0) Frame.Size = UDim2.new(1, 0, 0, 2) Tab.Name = "Tab" Tab.Parent = Prefabs Tab.BackgroundColor3 = Color3.new(1, 1, 1) Tab.BackgroundTransparency = 1 Tab.Size = UDim2.new(1, 0, 1, 0) Tab.Visible = false UIListLayout_2.Parent = Tab UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout_2.Padding = UDim.new(0, 5) TextBox.Parent = Prefabs TextBox.BackgroundColor3 = Color3.new(1, 1, 1) TextBox.BackgroundTransparency = 1 TextBox.BorderSizePixel = 0 TextBox.Size = UDim2.new(1, 0, 0, 20) TextBox.ZIndex = 2 TextBox.Font = Enum.Font.GothamSemibold TextBox.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039) TextBox.PlaceholderText = "Input Text" TextBox.Text = "" TextBox.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) TextBox.TextSize = 14 TextBox_Roundify_4px.Name = "TextBox_Roundify_4px" TextBox_Roundify_4px.Parent = TextBox TextBox_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1) TextBox_Roundify_4px.BackgroundTransparency = 1 TextBox_Roundify_4px.Size = UDim2.new(1, 0, 1, 0) TextBox_Roundify_4px.Image = "rbxassetid://2851929490" TextBox_Roundify_4px.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608) TextBox_Roundify_4px.ScaleType = Enum.ScaleType.Slice TextBox_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4) Slider.Name = "Slider" Slider.Parent = Prefabs Slider.BackgroundColor3 = Color3.new(1, 1, 1) Slider.BackgroundTransparency = 1 Slider.Position = UDim2.new(0, 0, 0.178571433, 0) Slider.Size = UDim2.new(1, 0, 0, 20) Slider.Image = "rbxassetid://2851929490" Slider.ImageColor3 = Color3.new(0.145098, 0.14902, 0.156863) Slider.ScaleType = Enum.ScaleType.Slice Slider.SliceCenter = Rect.new(4, 4, 4, 4) Title_2.Name = "Title" Title_2.Parent = Slider Title_2.BackgroundColor3 = Color3.new(1, 1, 1) Title_2.BackgroundTransparency = 1 Title_2.Position = UDim2.new(0.5, 0, 0.5, -10) Title_2.Size = UDim2.new(0, 0, 0, 20) Title_2.ZIndex = 2 Title_2.Font = Enum.Font.GothamBold Title_2.Text = "Slider" Title_2.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) Title_2.TextSize = 14 Indicator.Name = "Indicator" Indicator.Parent = Slider Indicator.BackgroundColor3 = Color3.new(1, 1, 1) Indicator.BackgroundTransparency = 1 Indicator.Size = UDim2.new(0, 0, 0, 20) Indicator.Image = "rbxassetid://2851929490" Indicator.ImageColor3 = Color3.new(0.254902, 0.262745, 0.278431) Indicator.ScaleType = Enum.ScaleType.Slice Indicator.SliceCenter = Rect.new(4, 4, 4, 4) Value.Name = "Value" Value.Parent = Slider Value.BackgroundColor3 = Color3.new(1, 1, 1) Value.BackgroundTransparency = 1 Value.Position = UDim2.new(1, -55, 0.5, -10) Value.Size = UDim2.new(0, 50, 0, 20) Value.Font = Enum.Font.GothamBold Value.Text = "0%" Value.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) Value.TextSize = 14 TextLabel.Parent = Slider TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel.BackgroundTransparency = 1 TextLabel.Position = UDim2.new(1, -20, -0.75, 0) TextLabel.Size = UDim2.new(0, 26, 0, 50) TextLabel.Font = Enum.Font.GothamBold TextLabel.Text = "]" TextLabel.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451) TextLabel.TextSize = 14 TextLabel_2.Parent = Slider TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel_2.BackgroundTransparency = 1 TextLabel_2.Position = UDim2.new(1, -65, -0.75, 0) TextLabel_2.Size = UDim2.new(0, 26, 0, 50) TextLabel_2.Font = Enum.Font.GothamBold TextLabel_2.Text = "[" TextLabel_2.TextColor3 = Color3.new(0.627451, 0.627451, 0.627451) TextLabel_2.TextSize = 14 Circle.Name = "Circle" Circle.Parent = Prefabs Circle.BackgroundColor3 = Color3.new(1, 1, 1) Circle.BackgroundTransparency = 1 Circle.Image = "rbxassetid://266543268" Circle.ImageTransparency = 0.5 UIListLayout_3.Parent = Prefabs UIListLayout_3.FillDirection = Enum.FillDirection.Horizontal UIListLayout_3.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout_3.Padding = UDim.new(0, 20) Dropdown.Name = "Dropdown" Dropdown.Parent = Prefabs Dropdown.BackgroundColor3 = Color3.new(1, 1, 1) Dropdown.BackgroundTransparency = 1 Dropdown.BorderSizePixel = 0 Dropdown.Position = UDim2.new(-0.055555556, 0, 0.0833333284, 0) Dropdown.Size = UDim2.new(0, 200, 0, 20) Dropdown.ZIndex = 2 Dropdown.Font = Enum.Font.GothamBold Dropdown.Text = " Dropdown" Dropdown.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) Dropdown.TextSize = 14 Dropdown.TextXAlignment = Enum.TextXAlignment.Left Indicator_2.Name = "Indicator" Indicator_2.Parent = Dropdown Indicator_2.BackgroundColor3 = Color3.new(1, 1, 1) Indicator_2.BackgroundTransparency = 1 Indicator_2.Position = UDim2.new(0.899999976, -10, 0.100000001, 0) Indicator_2.Rotation = -90 Indicator_2.Size = UDim2.new(0, 15, 0, 15) Indicator_2.ZIndex = 2 Indicator_2.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4744658743" Box.Name = "Box" Box.Parent = Dropdown Box.BackgroundColor3 = Color3.new(1, 1, 1) Box.BackgroundTransparency = 1 Box.Position = UDim2.new(0, 0, 0, 25) Box.Size = UDim2.new(1, 0, 0, 150) Box.ZIndex = 3 Box.Image = "rbxassetid://2851929490" Box.ImageColor3 = Color3.new(0.129412, 0.133333, 0.141176) Box.ScaleType = Enum.ScaleType.Slice Box.SliceCenter = Rect.new(4, 4, 4, 4) Objects.Name = "Objects" Objects.Parent = Box Objects.BackgroundColor3 = Color3.new(1, 1, 1) Objects.BackgroundTransparency = 1 Objects.BorderSizePixel = 0 Objects.Size = UDim2.new(1, 0, 1, 0) Objects.ZIndex = 3 Objects.CanvasSize = UDim2.new(0, 0, 0, 0) Objects.ScrollBarThickness = 8 UIListLayout_4.Parent = Objects UIListLayout_4.SortOrder = Enum.SortOrder.LayoutOrder TextButton_Roundify_4px.Name = "TextButton_Roundify_4px" TextButton_Roundify_4px.Parent = Dropdown TextButton_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1) TextButton_Roundify_4px.BackgroundTransparency = 1 TextButton_Roundify_4px.Size = UDim2.new(1, 0, 1, 0) TextButton_Roundify_4px.Image = "rbxassetid://2851929490" TextButton_Roundify_4px.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608) TextButton_Roundify_4px.ScaleType = Enum.ScaleType.Slice TextButton_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4) TabButton.Name = "TabButton" TabButton.Parent = Prefabs TabButton.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431) TabButton.BackgroundTransparency = 1 TabButton.BorderSizePixel = 0 TabButton.Position = UDim2.new(0.185185179, 0, 0, 0) TabButton.Size = UDim2.new(0, 71, 0, 20) TabButton.ZIndex = 2 TabButton.Font = Enum.Font.GothamSemibold TabButton.Text = "Test tab" TabButton.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) TabButton.TextSize = 14 TextButton_Roundify_4px_2.Name = "TextButton_Roundify_4px" TextButton_Roundify_4px_2.Parent = TabButton TextButton_Roundify_4px_2.BackgroundColor3 = Color3.new(1, 1, 1) TextButton_Roundify_4px_2.BackgroundTransparency = 1 TextButton_Roundify_4px_2.Size = UDim2.new(1, 0, 1, 0) TextButton_Roundify_4px_2.Image = "rbxassetid://2851929490" TextButton_Roundify_4px_2.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608) TextButton_Roundify_4px_2.ScaleType = Enum.ScaleType.Slice TextButton_Roundify_4px_2.SliceCenter = Rect.new(4, 4, 4, 4) Folder.Name = "Folder" Folder.Parent = Prefabs Folder.BackgroundColor3 = Color3.new(1, 1, 1) Folder.BackgroundTransparency = 1 Folder.Position = UDim2.new(0, 0, 0, 50) Folder.Size = UDim2.new(1, 0, 0, 20) Folder.Image = "rbxassetid://2851929490" Folder.ImageColor3 = Color3.new(0.0823529, 0.0862745, 0.0901961) Folder.ScaleType = Enum.ScaleType.Slice Folder.SliceCenter = Rect.new(4, 4, 4, 4) Button.Name = "Button" Button.Parent = Folder Button.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431) Button.BackgroundTransparency = 1 Button.BorderSizePixel = 0 Button.Size = UDim2.new(1, 0, 0, 20) Button.ZIndex = 2 Button.Font = Enum.Font.GothamSemibold Button.Text = " Folder" Button.TextColor3 = Color3.new(1, 1, 1) Button.TextSize = 14 Button.TextXAlignment = Enum.TextXAlignment.Left TextButton_Roundify_4px_3.Name = "TextButton_Roundify_4px" TextButton_Roundify_4px_3.Parent = Button TextButton_Roundify_4px_3.BackgroundColor3 = Color3.new(1, 1, 1) TextButton_Roundify_4px_3.BackgroundTransparency = 1 TextButton_Roundify_4px_3.Size = UDim2.new(1, 0, 1, 0) TextButton_Roundify_4px_3.Image = "rbxassetid://2851929490" TextButton_Roundify_4px_3.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431) TextButton_Roundify_4px_3.ScaleType = Enum.ScaleType.Slice TextButton_Roundify_4px_3.SliceCenter = Rect.new(4, 4, 4, 4) Toggle_2.Name = "Toggle" Toggle_2.Parent = Button Toggle_2.BackgroundColor3 = Color3.new(1, 1, 1) Toggle_2.BackgroundTransparency = 1 Toggle_2.Position = UDim2.new(0, 5, 0, 0) Toggle_2.Size = UDim2.new(0, 20, 0, 20) Toggle_2.Image = "https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId=4731371541" Objects_2.Name = "Objects" Objects_2.Parent = Folder Objects_2.BackgroundColor3 = Color3.new(1, 1, 1) Objects_2.BackgroundTransparency = 1 Objects_2.Position = UDim2.new(0, 10, 0, 25) Objects_2.Size = UDim2.new(1, -10, 1, -25) Objects_2.Visible = false UIListLayout_5.Parent = Objects_2 UIListLayout_5.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout_5.Padding = UDim.new(0, 5) HorizontalAlignment.Name = "HorizontalAlignment" HorizontalAlignment.Parent = Prefabs HorizontalAlignment.BackgroundColor3 = Color3.new(1, 1, 1) HorizontalAlignment.BackgroundTransparency = 1 HorizontalAlignment.Size = UDim2.new(1, 0, 0, 20) UIListLayout_6.Parent = HorizontalAlignment UIListLayout_6.FillDirection = Enum.FillDirection.Horizontal UIListLayout_6.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout_6.Padding = UDim.new(0, 5) Console.Name = "Console" Console.Parent = Prefabs Console.BackgroundColor3 = Color3.new(1, 1, 1) Console.BackgroundTransparency = 1 Console.Size = UDim2.new(1, 0, 0, 200) Console.Image = "rbxassetid://2851928141" Console.ImageColor3 = Color3.new(0.129412, 0.133333, 0.141176) Console.ScaleType = Enum.ScaleType.Slice Console.SliceCenter = Rect.new(8, 8, 8, 8) ScrollingFrame.Parent = Console ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1) ScrollingFrame.BackgroundTransparency = 1 ScrollingFrame.BorderSizePixel = 0 ScrollingFrame.Size = UDim2.new(1, 0, 1, 1) ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0) ScrollingFrame.ScrollBarThickness = 4 Source.Name = "Source" Source.Parent = ScrollingFrame Source.BackgroundColor3 = Color3.new(1, 1, 1) Source.BackgroundTransparency = 1 Source.Position = UDim2.new(0, 40, 0, 0) Source.Size = UDim2.new(1, -40, 0, 10000) Source.ZIndex = 3 Source.ClearTextOnFocus = false Source.Font = Enum.Font.Code Source.MultiLine = true Source.PlaceholderColor3 = Color3.new(0.8, 0.8, 0.8) Source.Text = "" Source.TextColor3 = Color3.new(1, 1, 1) Source.TextSize = 15 Source.TextStrokeColor3 = Color3.new(1, 1, 1) Source.TextWrapped = true Source.TextXAlignment = Enum.TextXAlignment.Left Source.TextYAlignment = Enum.TextYAlignment.Top Comments.Name = "Comments" Comments.Parent = Source Comments.BackgroundColor3 = Color3.new(1, 1, 1) Comments.BackgroundTransparency = 1 Comments.Size = UDim2.new(1, 0, 1, 0) Comments.ZIndex = 5 Comments.Font = Enum.Font.Code Comments.Text = "" Comments.TextColor3 = Color3.new(0.231373, 0.784314, 0.231373) Comments.TextSize = 15 Comments.TextXAlignment = Enum.TextXAlignment.Left Comments.TextYAlignment = Enum.TextYAlignment.Top Globals.Name = "Globals" Globals.Parent = Source Globals.BackgroundColor3 = Color3.new(1, 1, 1) Globals.BackgroundTransparency = 1 Globals.Size = UDim2.new(1, 0, 1, 0) Globals.ZIndex = 5 Globals.Font = Enum.Font.Code Globals.Text = "" Globals.TextColor3 = Color3.new(0.517647, 0.839216, 0.968628) Globals.TextSize = 15 Globals.TextXAlignment = Enum.TextXAlignment.Left Globals.TextYAlignment = Enum.TextYAlignment.Top Keywords.Name = "Keywords" Keywords.Parent = Source Keywords.BackgroundColor3 = Color3.new(1, 1, 1) Keywords.BackgroundTransparency = 1 Keywords.Size = UDim2.new(1, 0, 1, 0) Keywords.ZIndex = 5 Keywords.Font = Enum.Font.Code Keywords.Text = "" Keywords.TextColor3 = Color3.new(0.972549, 0.427451, 0.486275) Keywords.TextSize = 15 Keywords.TextXAlignment = Enum.TextXAlignment.Left Keywords.TextYAlignment = Enum.TextYAlignment.Top RemoteHighlight.Name = "RemoteHighlight" RemoteHighlight.Parent = Source RemoteHighlight.BackgroundColor3 = Color3.new(1, 1, 1) RemoteHighlight.BackgroundTransparency = 1 RemoteHighlight.Size = UDim2.new(1, 0, 1, 0) RemoteHighlight.ZIndex = 5 RemoteHighlight.Font = Enum.Font.Code RemoteHighlight.Text = "" RemoteHighlight.TextColor3 = Color3.new(0, 0.568627, 1) RemoteHighlight.TextSize = 15 RemoteHighlight.TextXAlignment = Enum.TextXAlignment.Left RemoteHighlight.TextYAlignment = Enum.TextYAlignment.Top Strings.Name = "Strings" Strings.Parent = Source Strings.BackgroundColor3 = Color3.new(1, 1, 1) Strings.BackgroundTransparency = 1 Strings.Size = UDim2.new(1, 0, 1, 0) Strings.ZIndex = 5 Strings.Font = Enum.Font.Code Strings.Text = "" Strings.TextColor3 = Color3.new(0.678431, 0.945098, 0.584314) Strings.TextSize = 15 Strings.TextXAlignment = Enum.TextXAlignment.Left Strings.TextYAlignment = Enum.TextYAlignment.Top Tokens.Name = "Tokens" Tokens.Parent = Source Tokens.BackgroundColor3 = Color3.new(1, 1, 1) Tokens.BackgroundTransparency = 1 Tokens.Size = UDim2.new(1, 0, 1, 0) Tokens.ZIndex = 5 Tokens.Font = Enum.Font.Code Tokens.Text = "" Tokens.TextColor3 = Color3.new(1, 1, 1) Tokens.TextSize = 15 Tokens.TextXAlignment = Enum.TextXAlignment.Left Tokens.TextYAlignment = Enum.TextYAlignment.Top Numbers.Name = "Numbers" Numbers.Parent = Source Numbers.BackgroundColor3 = Color3.new(1, 1, 1) Numbers.BackgroundTransparency = 1 Numbers.Size = UDim2.new(1, 0, 1, 0) Numbers.ZIndex = 4 Numbers.Font = Enum.Font.Code Numbers.Text = "" Numbers.TextColor3 = Color3.new(1, 0.776471, 0) Numbers.TextSize = 15 Numbers.TextXAlignment = Enum.TextXAlignment.Left Numbers.TextYAlignment = Enum.TextYAlignment.Top Info.Name = "Info" Info.Parent = Source Info.BackgroundColor3 = Color3.new(1, 1, 1) Info.BackgroundTransparency = 1 Info.Size = UDim2.new(1, 0, 1, 0) Info.ZIndex = 5 Info.Font = Enum.Font.Code Info.Text = "" Info.TextColor3 = Color3.new(0, 0.635294, 1) Info.TextSize = 15 Info.TextXAlignment = Enum.TextXAlignment.Left Info.TextYAlignment = Enum.TextYAlignment.Top Lines.Name = "Lines" Lines.Parent = ScrollingFrame Lines.BackgroundColor3 = Color3.new(1, 1, 1) Lines.BackgroundTransparency = 1 Lines.BorderSizePixel = 0 Lines.Size = UDim2.new(0, 40, 0, 10000) Lines.ZIndex = 4 Lines.Font = Enum.Font.Code Lines.Text = "1\n" Lines.TextColor3 = Color3.new(1, 1, 1) Lines.TextSize = 15 Lines.TextWrapped = true Lines.TextYAlignment = Enum.TextYAlignment.Top ColorPicker.Name = "ColorPicker" ColorPicker.Parent = Prefabs ColorPicker.BackgroundColor3 = Color3.new(1, 1, 1) ColorPicker.BackgroundTransparency = 1 ColorPicker.Size = UDim2.new(0, 180, 0, 110) ColorPicker.Image = "rbxassetid://2851929490" ColorPicker.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608) ColorPicker.ScaleType = Enum.ScaleType.Slice ColorPicker.SliceCenter = Rect.new(4, 4, 4, 4) Palette.Name = "Palette" Palette.Parent = ColorPicker Palette.BackgroundColor3 = Color3.new(1, 1, 1) Palette.BackgroundTransparency = 1 Palette.Position = UDim2.new(0.0500000007, 0, 0.0500000007, 0) Palette.Size = UDim2.new(0, 100, 0, 100) Palette.Image = "rbxassetid://698052001" Palette.ScaleType = Enum.ScaleType.Slice Palette.SliceCenter = Rect.new(4, 4, 4, 4) Indicator_3.Name = "Indicator" Indicator_3.Parent = Palette Indicator_3.BackgroundColor3 = Color3.new(1, 1, 1) Indicator_3.BackgroundTransparency = 1 Indicator_3.Size = UDim2.new(0, 5, 0, 5) Indicator_3.ZIndex = 2 Indicator_3.Image = "rbxassetid://2851926732" Indicator_3.ImageColor3 = Color3.new(0, 0, 0) Indicator_3.ScaleType = Enum.ScaleType.Slice Indicator_3.SliceCenter = Rect.new(12, 12, 12, 12) Sample.Name = "Sample" Sample.Parent = ColorPicker Sample.BackgroundColor3 = Color3.new(1, 1, 1) Sample.BackgroundTransparency = 1 Sample.Position = UDim2.new(0.800000012, 0, 0.0500000007, 0) Sample.Size = UDim2.new(0, 25, 0, 25) Sample.Image = "rbxassetid://2851929490" Sample.ScaleType = Enum.ScaleType.Slice Sample.SliceCenter = Rect.new(4, 4, 4, 4) Saturation.Name = "Saturation" Saturation.Parent = ColorPicker Saturation.BackgroundColor3 = Color3.new(1, 1, 1) Saturation.Position = UDim2.new(0.649999976, 0, 0.0500000007, 0) Saturation.Size = UDim2.new(0, 15, 0, 100) Saturation.Image = "rbxassetid://3641079629" Indicator_4.Name = "Indicator" Indicator_4.Parent = Saturation Indicator_4.BackgroundColor3 = Color3.new(1, 1, 1) Indicator_4.BorderSizePixel = 0 Indicator_4.Size = UDim2.new(0, 20, 0, 2) Indicator_4.ZIndex = 2 Switch.Name = "Switch" Switch.Parent = Prefabs Switch.BackgroundColor3 = Color3.new(1, 1, 1) Switch.BackgroundTransparency = 1 Switch.BorderSizePixel = 0 Switch.Position = UDim2.new(0.229411766, 0, 0.20714286, 0) Switch.Size = UDim2.new(0, 20, 0, 20) Switch.ZIndex = 2 Switch.Font = Enum.Font.SourceSans Switch.Text = "" Switch.TextColor3 = Color3.new(1, 1, 1) Switch.TextSize = 18 TextButton_Roundify_4px_4.Name = "TextButton_Roundify_4px" TextButton_Roundify_4px_4.Parent = Switch TextButton_Roundify_4px_4.BackgroundColor3 = Color3.new(1, 1, 1) TextButton_Roundify_4px_4.BackgroundTransparency = 1 TextButton_Roundify_4px_4.Size = UDim2.new(1, 0, 1, 0) TextButton_Roundify_4px_4.Image = "rbxassetid://2851929490" TextButton_Roundify_4px_4.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431) TextButton_Roundify_4px_4.ImageTransparency = 0.5 TextButton_Roundify_4px_4.ScaleType = Enum.ScaleType.Slice TextButton_Roundify_4px_4.SliceCenter = Rect.new(4, 4, 4, 4) Title_3.Name = "Title" Title_3.Parent = Switch Title_3.BackgroundColor3 = Color3.new(1, 1, 1) Title_3.BackgroundTransparency = 1 Title_3.Position = UDim2.new(1.20000005, 0, 0, 0) Title_3.Size = UDim2.new(0, 20, 0, 20) Title_3.Font = Enum.Font.GothamSemibold Title_3.Text = "Switch" Title_3.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) Title_3.TextSize = 14 Title_3.TextXAlignment = Enum.TextXAlignment.Left Button_2.Name = "Button" Button_2.Parent = Prefabs Button_2.BackgroundColor3 = Color3.new(0.160784, 0.290196, 0.478431) Button_2.BackgroundTransparency = 1 Button_2.BorderSizePixel = 0 Button_2.Size = UDim2.new(0, 91, 0, 20) Button_2.ZIndex = 2 Button_2.Font = Enum.Font.GothamSemibold Button_2.TextColor3 = Color3.new(1, 1, 1) Button_2.TextSize = 14 TextButton_Roundify_4px_5.Name = "TextButton_Roundify_4px" TextButton_Roundify_4px_5.Parent = Button_2 TextButton_Roundify_4px_5.BackgroundColor3 = Color3.new(1, 1, 1) TextButton_Roundify_4px_5.BackgroundTransparency = 1 TextButton_Roundify_4px_5.Size = UDim2.new(1, 0, 1, 0) TextButton_Roundify_4px_5.Image = "rbxassetid://2851929490" TextButton_Roundify_4px_5.ImageColor3 = Color3.new(0.160784, 0.290196, 0.478431) TextButton_Roundify_4px_5.ScaleType = Enum.ScaleType.Slice TextButton_Roundify_4px_5.SliceCenter = Rect.new(4, 4, 4, 4) DropdownButton.Name = "DropdownButton" DropdownButton.Parent = Prefabs DropdownButton.BackgroundColor3 = Color3.new(0.129412, 0.133333, 0.141176) DropdownButton.BorderSizePixel = 0 DropdownButton.Size = UDim2.new(1, 0, 0, 20) DropdownButton.ZIndex = 3 DropdownButton.Font = Enum.Font.GothamBold DropdownButton.Text = " Button" DropdownButton.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) DropdownButton.TextSize = 14 DropdownButton.TextXAlignment = Enum.TextXAlignment.Left Keybind.Name = "Keybind" Keybind.Parent = Prefabs Keybind.BackgroundColor3 = Color3.new(1, 1, 1) Keybind.BackgroundTransparency = 1 Keybind.Size = UDim2.new(0, 200, 0, 20) Keybind.Image = "rbxassetid://2851929490" Keybind.ImageColor3 = Color3.new(0.203922, 0.207843, 0.219608) Keybind.ScaleType = Enum.ScaleType.Slice Keybind.SliceCenter = Rect.new(4, 4, 4, 4) Title_4.Name = "Title" Title_4.Parent = Keybind Title_4.BackgroundColor3 = Color3.new(1, 1, 1) Title_4.BackgroundTransparency = 1 Title_4.Size = UDim2.new(0, 0, 1, 0) Title_4.Font = Enum.Font.GothamBold Title_4.Text = "Keybind" Title_4.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) Title_4.TextSize = 14 Title_4.TextXAlignment = Enum.TextXAlignment.Left Input.Name = "Input" Input.Parent = Keybind Input.BackgroundColor3 = Color3.new(1, 1, 1) Input.BackgroundTransparency = 1 Input.BorderSizePixel = 0 Input.Position = UDim2.new(1, -85, 0, 2) Input.Size = UDim2.new(0, 80, 1, -4) Input.ZIndex = 2 Input.Font = Enum.Font.GothamSemibold Input.Text = "RShift" Input.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314) Input.TextSize = 12 Input.TextWrapped = true Input_Roundify_4px.Name = "Input_Roundify_4px" Input_Roundify_4px.Parent = Input Input_Roundify_4px.BackgroundColor3 = Color3.new(1, 1, 1) Input_Roundify_4px.BackgroundTransparency = 1 Input_Roundify_4px.Size = UDim2.new(1, 0, 1, 0) Input_Roundify_4px.Image = "rbxassetid://2851929490" Input_Roundify_4px.ImageColor3 = Color3.new(0.290196, 0.294118, 0.313726) Input_Roundify_4px.ScaleType = Enum.ScaleType.Slice Input_Roundify_4px.SliceCenter = Rect.new(4, 4, 4, 4) Windows.Name = "Windows" Windows.Parent = imgui Windows.BackgroundColor3 = Color3.new(1, 1, 1) Windows.BackgroundTransparency = 1 Windows.Position = UDim2.new(0, 20, 0, 20) Windows.Size = UDim2.new(1, 20, 1, -20) --[[ Script ]]-- script.Parent = imgui local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local RS = game:GetService("RunService") local ps = game:GetService("Players") local p = ps.LocalPlayer local mouse = p:GetMouse() local Prefabs = script.Parent:WaitForChild("Prefabs") local Windows = script.Parent:FindFirstChild("Windows") local checks = { ["binding"] = false, } UIS.InputBegan:Connect(function(input, gameProcessed) if input.KeyCode == ((typeof(ui_options.toggle_key) == "EnumItem") and ui_options.toggle_key or Enum.KeyCode.RightShift) then if script.Parent then if not checks.binding then script.Parent.Enabled = not script.Parent.Enabled end end end end) local function Resize(part, new, _delay) _delay = _delay or 0.5 local tweenInfo = TweenInfo.new(_delay, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local tween = TweenService:Create(part, tweenInfo, new) tween:Play() end local function rgbtohsv(r, g, b) -- idk who made this function, but thanks r, g, b = r / 255, g / 255, b / 255 local max, min = math.max(r, g, b), math.min(r, g, b) local h, s, v v = max local d = max - min if max == 0 then s = 0 else s = d / max end if max == min then h = 0 else if max == r then h = (g - b) / d if g < b then h = h + 6 end elseif max == g then h = (b - r) / d + 2 elseif max == b then h = (r - g) / d + 4 end h = h / 6 end return h, s, v end local function hasprop(object, prop) local a, b = pcall(function() return object[tostring(prop)] end) if a then return b end end local function gNameLen(obj) return obj.TextBounds.X + 15 end local function gMouse() return Vector2.new(UIS:GetMouseLocation().X + 1, UIS:GetMouseLocation().Y - 35) end local function ripple(button, x, y) spawn(function() button.ClipsDescendants = true local circle = Prefabs:FindFirstChild("Circle"):Clone() circle.Parent = button circle.ZIndex = 1000 local new_x = x - circle.AbsolutePosition.X local new_y = y - circle.AbsolutePosition.Y circle.Position = UDim2.new(0, new_x, 0, new_y) local size = 0 if button.AbsoluteSize.X > button.AbsoluteSize.Y then size = button.AbsoluteSize.X * 1.5 elseif button.AbsoluteSize.X < button.AbsoluteSize.Y then size = button.AbsoluteSize.Y * 1.5 elseif button.AbsoluteSize.X == button.AbsoluteSize.Y then size = button.AbsoluteSize.X * 1.5 end circle:TweenSizeAndPosition(UDim2.new(0, size, 0, size), UDim2.new(0.5, -size / 2, 0.5, -size / 2), "Out", "Quad", 0.5, false, nil) Resize(circle, {ImageTransparency = 1}, 0.5) wait(0.5) circle:Destroy() end) end local windows = 0 local library = {} local function format_windows() local ull = Prefabs:FindFirstChild("UIListLayout"):Clone() ull.Parent = Windows local data = {} for i,v in next, Windows:GetChildren() do if not (v:IsA("UIListLayout")) then data[v] = v.AbsolutePosition end end ull:Destroy() for i,v in next, data do i.Position = UDim2.new(0, v.X, 0, v.Y) end end function library:FormatWindows() format_windows() end function library:AddWindow(title, options) windows = windows + 1 local dropdown_open = false title = tostring(title or "New Window") options = (typeof(options) == "table") and options or ui_options options.tween_time = 0.1 local Window = Prefabs:FindFirstChild("Window"):Clone() Window.Parent = Windows Window:FindFirstChild("Title").Text = title Window.Size = UDim2.new(0, options.min_size.X, 0, options.min_size.Y) Window.ZIndex = Window.ZIndex + (windows * 10) do -- Altering Window Color local Title = Window:FindFirstChild("Title") local Bar = Window:FindFirstChild("Bar") local Base = Bar:FindFirstChild("Base") local Top = Bar:FindFirstChild("Top") local SplitFrame = Window:FindFirstChild("TabSelection"):FindFirstChild("Frame") local Toggle = Bar:FindFirstChild("Toggle") spawn(function() while true do Bar.BackgroundColor3 = options.main_color Base.BackgroundColor3 = options.main_color Base.ImageColor3 = options.main_color Top.ImageColor3 = options.main_color SplitFrame.BackgroundColor3 = options.main_color RS.Heartbeat:Wait() end end) end local Resizer = Window:WaitForChild("Resizer") local window_data = {} Window.Draggable = true do -- Resize Window local oldIcon = mouse.Icon local Entered = false Resizer.MouseEnter:Connect(function() Window.Draggable = false if options.can_resize then oldIcon = mouse.Icon -- mouse.Icon = "http://www.roblox.com/asset?id=4745131330" end Entered = true end) Resizer.MouseLeave:Connect(function() Entered = false if options.can_resize then mouse.Icon = oldIcon end Window.Draggable = true end) local Held = false UIS.InputBegan:Connect(function(inputObject) if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then Held = true spawn(function() -- Loop check if Entered and Resizer.Active and options.can_resize then while Held and Resizer.Active do local mouse_location = gMouse() local x = mouse_location.X - Window.AbsolutePosition.X local y = mouse_location.Y - Window.AbsolutePosition.Y -- if x >= options.min_size.X and y >= options.min_size.Y then Resize(Window, {Size = UDim2.new(0, x, 0, y)}, options.tween_time) elseif x >= options.min_size.X then Resize(Window, {Size = UDim2.new(0, x, 0, options.min_size.Y)}, options.tween_time) elseif y >= options.min_size.Y then Resize(Window, {Size = UDim2.new(0, options.min_size.X, 0, y)}, options.tween_time) else Resize(Window, {Size = UDim2.new(0, options.min_size.X, 0, options.min_size.Y)}, options.tween_time) end RS.Heartbeat:Wait() end end end) end end) UIS.InputEnded:Connect(function(inputObject) if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then Held = false end end) end do -- [Open / Close] Window local open_close = Window:FindFirstChild("Bar"):FindFirstChild("Toggle") local open = true local canopen = true local oldwindowdata = {} local oldy = Window.AbsoluteSize.Y open_close.MouseButton1Click:Connect(function() if canopen then canopen = false if open then -- Close oldwindowdata = {} for i,v in next, Window:FindFirstChild("Tabs"):GetChildren() do oldwindowdata[v] = v.Visible v.Visible = false end Resizer.Active = false oldy = Window.AbsoluteSize.Y Resize(open_close, {Rotation = 0}, options.tween_time) Resize(Window, {Size = UDim2.new(0, Window.AbsoluteSize.X, 0, 26)}, options.tween_time) open_close.Parent:FindFirstChild("Base").Transparency = 1 else -- Open for i,v in next, oldwindowdata do i.Visible = v end Resizer.Active = true Resize(open_close, {Rotation = 90}, options.tween_time) Resize(Window, {Size = UDim2.new(0, Window.AbsoluteSize.X, 0, oldy)}, options.tween_time) open_close.Parent:FindFirstChild("Base").Transparency = 0 end open = not open wait(options.tween_time) canopen = true end end) end do -- UI Elements local tabs = Window:FindFirstChild("Tabs") local tab_selection = Window:FindFirstChild("TabSelection") local tab_buttons = tab_selection:FindFirstChild("TabButtons") do -- Add Tab function window_data:AddTab(tab_name) local tab_data = {} tab_name = tostring(tab_name or "New Tab") tab_selection.Visible = true local new_button = Prefabs:FindFirstChild("TabButton"):Clone() new_button.Parent = tab_buttons new_button.Text = tab_name new_button.Size = UDim2.new(0, gNameLen(new_button), 0, 20) new_button.ZIndex = new_button.ZIndex + (windows * 10) new_button:GetChildren()[1].ZIndex = new_button:GetChildren()[1].ZIndex + (windows * 10) local new_tab = Prefabs:FindFirstChild("Tab"):Clone() new_tab.Parent = tabs new_tab.ZIndex = new_tab.ZIndex + (windows * 10) local function show() if dropdown_open then return end for i, v in next, tab_buttons:GetChildren() do if not (v:IsA("UIListLayout")) then v:GetChildren()[1].ImageColor3 = Color3.fromRGB(52, 53, 56) Resize(v, {Size = UDim2.new(0, v.AbsoluteSize.X, 0, 20)}, options.tween_time) end end for i, v in next, tabs:GetChildren() do v.Visible = false end Resize(new_button, {Size = UDim2.new(0, new_button.AbsoluteSize.X, 0, 25)}, options.tween_time) new_button:GetChildren()[1].ImageColor3 = Color3.fromRGB(73, 75, 79) new_tab.Visible = true end new_button.MouseButton1Click:Connect(function() show() end) function tab_data:Show() show() end do -- Tab Elements function tab_data:AddLabel(label_text) -- [Label] label_text = tostring(label_text or "New Label") local label = Prefabs:FindFirstChild("Label"):Clone() label.Parent = new_tab label.Text = label_text label.Size = UDim2.new(0, gNameLen(label), 0, 20) label.ZIndex = label.ZIndex + (windows * 10) return label end function tab_data:AddButton(button_text, callback) -- [Button] button_text = tostring(button_text or "New Button") callback = typeof(callback) == "function" and callback or function()end local button = Prefabs:FindFirstChild("Button"):Clone() button.Parent = new_tab button.Text = button_text button.Size = UDim2.new(0, gNameLen(button), 0, 20) button.ZIndex = button.ZIndex + (windows * 10) button:GetChildren()[1].ZIndex = button:GetChildren()[1].ZIndex + (windows * 10) spawn(function() while true do if button and button:GetChildren()[1] then button:GetChildren()[1].ImageColor3 = options.main_color end RS.Heartbeat:Wait() end end) button.MouseButton1Click:Connect(function() ripple(button, mouse.X, mouse.Y) pcall(callback) end) return button end function tab_data:AddSwitch(switch_text, callback) -- [Switch] local switch_data = {} switch_text = tostring(switch_text or "New Switch") callback = typeof(callback) == "function" and callback or function()end local switch = Prefabs:FindFirstChild("Switch"):Clone() switch.Parent = new_tab switch:FindFirstChild("Title").Text = switch_text switch:FindFirstChild("Title").ZIndex = switch:FindFirstChild("Title").ZIndex + (windows * 10) switch.ZIndex = switch.ZIndex + (windows * 10) switch:GetChildren()[1].ZIndex = switch:GetChildren()[1].ZIndex + (windows * 10) spawn(function() while true do if switch and switch:GetChildren()[1] then switch:GetChildren()[1].ImageColor3 = options.main_color end RS.Heartbeat:Wait() end end) local toggled = false switch.MouseButton1Click:Connect(function() toggled = not toggled switch.Text = toggled and utf8.char(10003) or "" pcall(callback, toggled) end) function switch_data:Set(bool) toggled = (typeof(bool) == "boolean") and bool or false switch.Text = toggled and utf8.char(10003) or "" pcall(callback,toggled) end return switch_data, switch end function tab_data:AddTextBox(textbox_text, callback, textbox_options) textbox_text = tostring(textbox_text or "New TextBox") callback = typeof(callback) == "function" and callback or function()end textbox_options = typeof(textbox_options) == "table" and textbox_options or {["clear"] = true} textbox_options = { ["clear"] = ((textbox_options.clear) == true) } local textbox = Prefabs:FindFirstChild("TextBox"):Clone() textbox.Parent = new_tab textbox.PlaceholderText = textbox_text textbox.ZIndex = textbox.ZIndex + (windows * 10) textbox:GetChildren()[1].ZIndex = textbox:GetChildren()[1].ZIndex + (windows * 10) textbox.FocusLost:Connect(function(ep) if ep then if #textbox.Text > 0 then pcall(callback, textbox.Text) if textbox_options.clear then textbox.Text = "" end end end end) return textbox end function tab_data:AddSlider(slider_text, callback, slider_options) local slider_data = {} slider_text = tostring(slider_text or "New Slider") callback = typeof(callback) == "function" and callback or function()end slider_options = typeof(slider_options) == "table" and slider_options or {} slider_options = { ["min"] = slider_options.min or 0, ["max"] = slider_options.max or 100, ["readonly"] = slider_options.readonly or false, } local slider = Prefabs:FindFirstChild("Slider"):Clone() slider.Parent = new_tab slider.ZIndex = slider.ZIndex + (windows * 10) local title = slider:FindFirstChild("Title") local indicator = slider:FindFirstChild("Indicator") local value = slider:FindFirstChild("Value") title.ZIndex = title.ZIndex + (windows * 10) indicator.ZIndex = indicator.ZIndex + (windows * 10) value.ZIndex = value.ZIndex + (windows * 10) title.Text = slider_text do -- Slider Math local Entered = false slider.MouseEnter:Connect(function() Entered = true Window.Draggable = false end) slider.MouseLeave:Connect(function() Entered = false Window.Draggable = true end) local Held = false UIS.InputBegan:Connect(function(inputObject) if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then Held = true spawn(function() -- Loop check if Entered and not slider_options.readonly then while Held and (not dropdown_open) do local mouse_location = gMouse() local x = (slider.AbsoluteSize.X - (slider.AbsoluteSize.X - ((mouse_location.X - slider.AbsolutePosition.X)) + 1)) / slider.AbsoluteSize.X local min = 0 local max = 1 local size = min if x >= min and x <= max then size = x elseif x < min then size = min elseif x > max then size = max end Resize(indicator, {Size = UDim2.new(size or min, 0, 0, 20)}, options.tween_time) local p = math.floor((size or min) * 100) local maxv = slider_options.max local minv = slider_options.min local diff = maxv - minv local sel_value = math.floor(((diff / 100) * p) + minv) value.Text = tostring(sel_value) pcall(callback, sel_value) RS.Heartbeat:Wait() end end end) end end) UIS.InputEnded:Connect(function(inputObject) if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then Held = false end end) function slider_data:Set(new_value) new_value = tonumber(new_value) or 0 new_value = (((new_value >= 0 and new_value <= 100) and new_value) / 100) Resize(indicator, {Size = UDim2.new(new_value or 0, 0, 0, 20)}, options.tween_time) local p = math.floor((new_value or 0) * 100) local maxv = slider_options.max local minv = slider_options.min local diff = maxv - minv local sel_value = math.floor(((diff / 100) * p) + minv) value.Text = tostring(sel_value) pcall(callback, sel_value) end slider_data:Set(slider_options["min"]) end return slider_data, slider end function tab_data:AddKeybind(keybind_name, callback, keybind_options) local keybind_data = {} keybind_name = tostring(keybind_name or "New Keybind") callback = typeof(callback) == "function" and callback or function()end keybind_options = typeof(keybind_options) == "table" and keybind_options or {} keybind_options = { ["standard"] = keybind_options.standard or Enum.KeyCode.RightShift, } local keybind = Prefabs:FindFirstChild("Keybind"):Clone() local input = keybind:FindFirstChild("Input") local title = keybind:FindFirstChild("Title") keybind.ZIndex = keybind.ZIndex + (windows * 10) input.ZIndex = input.ZIndex + (windows * 10) input:GetChildren()[1].ZIndex = input:GetChildren()[1].ZIndex + (windows * 10) title.ZIndex = title.ZIndex + (windows * 10) keybind.Parent = new_tab title.Text = " " .. keybind_name keybind.Size = UDim2.new(0, gNameLen(title) + 80, 0, 20) local shortkeys = { -- thanks to stroketon for helping me out with this RightControl = 'RightCtrl', LeftControl = 'LeftCtrl', LeftShift = 'LShift', RightShift = 'RShift', MouseButton1 = "Mouse1", MouseButton2 = "Mouse2" } local keybind = keybind_options.standard function keybind_data:SetKeybind(Keybind) local key = shortkeys[Keybind.Name] or Keybind.Name input.Text = key keybind = Keybind end UIS.InputBegan:Connect(function(a, b) if checks.binding then spawn(function() wait() checks.binding = false end) return end if a.KeyCode == keybind and not b then pcall(callback, keybind) end end) keybind_data:SetKeybind(keybind_options.standard) input.MouseButton1Click:Connect(function() if checks.binding then return end input.Text = "..." checks.binding = true local a, b = UIS.InputBegan:Wait() keybind_data:SetKeybind(a.KeyCode) end) return keybind_data, keybind end function tab_data:AddDropdown(dropdown_name, callback) local dropdown_data = {} dropdown_name = tostring(dropdown_name or "New Dropdown") callback = typeof(callback) == "function" and callback or function()end local dropdown = Prefabs:FindFirstChild("Dropdown"):Clone() local box = dropdown:FindFirstChild("Box") local objects = box:FindFirstChild("Objects") local indicator = dropdown:FindFirstChild("Indicator") dropdown.ZIndex = dropdown.ZIndex + (windows * 10) box.ZIndex = box.ZIndex + (windows * 10) objects.ZIndex = objects.ZIndex + (windows * 10) indicator.ZIndex = indicator.ZIndex + (windows * 10) dropdown:GetChildren()[3].ZIndex = dropdown:GetChildren()[3].ZIndex + (windows * 10) dropdown.Parent = new_tab dropdown.Text = " " .. dropdown_name box.Size = UDim2.new(1, 0, 0, 0) local open = false dropdown.MouseButton1Click:Connect(function() open = not open local len = (#objects:GetChildren() - 1) * 20 if #objects:GetChildren() - 1 >= 10 then len = 10 * 20 objects.CanvasSize = UDim2.new(0, 0, (#objects:GetChildren() - 1) * 0.1, 0) end if open then -- Open if dropdown_open then return end dropdown_open = true Resize(box, {Size = UDim2.new(1, 0, 0, len)}, options.tween_time) Resize(indicator, {Rotation = 90}, options.tween_time) else -- Close dropdown_open = false Resize(box, {Size = UDim2.new(1, 0, 0, 0)}, options.tween_time) Resize(indicator, {Rotation = -90}, options.tween_time) end end) function dropdown_data:Add(n) local object_data = {} n = tostring(n or "New Object") local object = Prefabs:FindFirstChild("DropdownButton"):Clone() object.Parent = objects object.Text = n object.ZIndex = object.ZIndex + (windows * 10) object.MouseEnter:Connect(function() object.BackgroundColor3 = options.main_color end) object.MouseLeave:Connect(function() object.BackgroundColor3 = Color3.fromRGB(33, 34, 36) end) if open then local len = (#objects:GetChildren() - 1) * 20 if #objects:GetChildren() - 1 >= 10 then len = 10 * 20 objects.CanvasSize = UDim2.new(0, 0, (#objects:GetChildren() - 1) * 0.1, 0) end Resize(box, {Size = UDim2.new(1, 0, 0, len)}, options.tween_time) end object.MouseButton1Click:Connect(function() if dropdown_open then dropdown.Text = " [ " .. n .. " ]" dropdown_open = false open = false Resize(box, {Size = UDim2.new(1, 0, 0, 0)}, options.tween_time) Resize(indicator, {Rotation = -90}, options.tween_time) pcall(callback, n) end end) function object_data:Remove() object:Destroy() end return object, object_data end return dropdown_data, dropdown end function tab_data:AddColorPicker(callback) local color_picker_data = {} callback = typeof(callback) == "function" and callback or function()end local color_picker = Prefabs:FindFirstChild("ColorPicker"):Clone() color_picker.Parent = new_tab color_picker.ZIndex = color_picker.ZIndex + (windows * 10) local palette = color_picker:FindFirstChild("Palette") local sample = color_picker:FindFirstChild("Sample") local saturation = color_picker:FindFirstChild("Saturation") palette.ZIndex = palette.ZIndex + (windows * 10) sample.ZIndex = sample.ZIndex + (windows * 10) saturation.ZIndex = saturation.ZIndex + (windows * 10) do -- Color Picker Math local h = 0 local s = 1 local v = 1 local function update() local color = Color3.fromHSV(h, s, v) sample.ImageColor3 = color saturation.ImageColor3 = Color3.fromHSV(h, 1, 1) pcall(callback, color) end do local color = Color3.fromHSV(h, s, v) sample.ImageColor3 = color saturation.ImageColor3 = Color3.fromHSV(h, 1, 1) end local Entered1, Entered2 = false, false palette.MouseEnter:Connect(function() Window.Draggable = false Entered1 = true end) palette.MouseLeave:Connect(function() Window.Draggable = true Entered1 = false end) saturation.MouseEnter:Connect(function() Window.Draggable = false Entered2 = true end) saturation.MouseLeave:Connect(function() Window.Draggable = true Entered2 = false end) local palette_indicator = palette:FindFirstChild("Indicator") local saturation_indicator = saturation:FindFirstChild("Indicator") palette_indicator.ZIndex = palette_indicator.ZIndex + (windows * 10) saturation_indicator.ZIndex = saturation_indicator.ZIndex + (windows * 10) local Held = false UIS.InputBegan:Connect(function(inputObject) if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then Held = true spawn(function() -- Loop check while Held and Entered1 and (not dropdown_open) do -- Palette local mouse_location = gMouse() local x = ((palette.AbsoluteSize.X - (mouse_location.X - palette.AbsolutePosition.X)) + 1) local y = ((palette.AbsoluteSize.Y - (mouse_location.Y - palette.AbsolutePosition.Y)) + 1.5) local color = Color3.fromHSV(x / 100, y / 100, 0) h = x / 100 s = y / 100 Resize(palette_indicator, {Position = UDim2.new(0, math.abs(x - 100) - (palette_indicator.AbsoluteSize.X / 2), 0, math.abs(y - 100) - (palette_indicator.AbsoluteSize.Y / 2))}, options.tween_time) update() RS.Heartbeat:Wait() end while Held and Entered2 and (not dropdown_open) do -- Saturation local mouse_location = gMouse() local y = ((palette.AbsoluteSize.Y - (mouse_location.Y - palette.AbsolutePosition.Y)) + 1.5) v = y / 100 Resize(saturation_indicator, {Position = UDim2.new(0, 0, 0, math.abs(y - 100))}, options.tween_time) update() RS.Heartbeat:Wait() end end) end end) UIS.InputEnded:Connect(function(inputObject) if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then Held = false end end) function color_picker_data:Set(color) color = typeof(color) == "Color3" and color or Color3.new(1, 1, 1) local h2, s2, v2 = rgbtohsv(color.r * 255, color.g * 255, color.b * 255) sample.ImageColor3 = color saturation.ImageColor3 = Color3.fromHSV(h2, 1, 1) pcall(callback, color) end end return color_picker_data, color_picker end function tab_data:AddConsole(console_options) local console_data = {} console_options = typeof(console_options) == "table" and console_options or {["readonly"] = true,["full"] = false,} console_options = { ["y"] = tonumber(console_options.y) or 200, ["source"] = console_options.source or "Logs", ["readonly"] = ((console_options.readonly) == true), ["full"] = ((console_options.full) == true), } local console = Prefabs:FindFirstChild("Console"):Clone() console.Parent = new_tab console.ZIndex = console.ZIndex + (windows * 10) console.Size = UDim2.new(1, 0, console_options.full and 1 or 0, console_options.y) local sf = console:GetChildren()[1] local Source = sf:FindFirstChild("Source") local Lines = sf:FindFirstChild("Lines") Source.ZIndex = Source.ZIndex + (windows * 10) Lines.ZIndex = Lines.ZIndex + (windows * 10) Source.TextEditable = not console_options.readonly do -- Syntax Zindex for i,v in next, Source:GetChildren() do v.ZIndex = v.ZIndex + (windows * 10) + 1 end end Source.Comments.ZIndex = Source.Comments.ZIndex + 1 do -- Highlighting (thanks to whoever made this) local lua_keywords = {"and", "break", "do", "else", "elseif", "end", "false", "for", "function", "goto", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then", "true", "until", "while"} local global_env = {"getrawmetatable", "newcclosure", "islclosure", "setclipboard", "game", "workspace", "script", "math", "string", "table", "print", "wait", "BrickColor", "Color3", "next", "pairs", "ipairs", "select", "unpack", "Instance", "Vector2", "Vector3", "CFrame", "Ray", "UDim2", "Enum", "assert", "error", "warn", "tick", "loadstring", "_G", "shared", "getfenv", "setfenv", "newproxy", "setmetatable", "getmetatable", "os", "debug", "pcall", "ypcall", "xpcall", "rawequal", "rawset", "rawget", "tonumber", "tostring", "type", "typeof", "_VERSION", "coroutine", "delay", "require", "spawn", "LoadLibrary", "settings", "stats", "time", "UserSettings", "version", "Axes", "ColorSequence", "Faces", "ColorSequenceKeypoint", "NumberRange", "NumberSequence", "NumberSequenceKeypoint", "gcinfo", "elapsedTime", "collectgarbage", "PhysicalProperties", "Rect", "Region3", "Region3int16", "UDim", "Vector2int16", "Vector3int16", "load", "fire", "Fire"} local Highlight = function(string, keywords) local K = {} local S = string local Token = { ["="] = true, ["."] = true, [","] = true, ["("] = true, [")"] = true, ["["] = true, ["]"] = true, ["{"] = true, ["}"] = true, [":"] = true, ["*"] = true, ["/"] = true, ["+"] = true, ["-"] = true, ["%"] = true, [";"] = true, ["~"] = true } for i, v in pairs(keywords) do K[v] = true end S = S:gsub(".", function(c) if Token[c] ~= nil then return "\32" else return c end end) S = S:gsub("%S+", function(c) if K[c] ~= nil then return c else return (" "):rep(#c) end end) return S end local hTokens = function(string) local Token = { ["="] = true, ["."] = true, [","] = true, ["("] = true, [")"] = true, ["["] = true, ["]"] = true, ["{"] = true, ["}"] = true, [":"] = true, ["*"] = true, ["/"] = true, ["+"] = true, ["-"] = true, ["%"] = true, [";"] = true, ["~"] = true } local A = "" string:gsub(".", function(c) if Token[c] ~= nil then A = A .. c elseif c == "\n" then A = A .. "\n" elseif c == "\t" then A = A .. "\t" else A = A .. "\32" end end) return A end local strings = function(string) local highlight = "" local quote = false string:gsub(".", function(c) if quote == false and c == "\34" then quote = true elseif quote == true and c == "\34" then quote = false end if quote == false and c == "\34" then highlight = highlight .. "\34" elseif c == "\n" then highlight = highlight .. "\n" elseif c == "\t" then highlight = highlight .. "\t" elseif quote == true then highlight = highlight .. c elseif quote == false then highlight = highlight .. "\32" end end) return highlight end local info = function(string) local highlight = "" local quote = false string:gsub(".", function(c) if quote == false and c == "[" then quote = true elseif quote == true and c == "]" then quote = false end if quote == false and c == "" then highlight = highlight .. "" elseif c == "\n" then highlight = highlight .. "\n" elseif c == "\t" then highlight = highlight .. "\t" elseif quote == true then highlight = highlight .. c elseif quote == false then highlight = highlight .. "\32" end end) return highlight end local comments = function(string) local ret = "" string:gsub("[^\r\n]+", function(c) local comm = false local i = 0 c:gsub(".", function(n) i = i + 1 if c:sub(i, i + 1) == "--" then comm = true end if comm == true then ret = ret .. n else ret = ret .. "\32" end end) ret = ret end) return ret end local numbers = function(string) local A = "" string:gsub(".", function(c) if tonumber(c) ~= nil then A = A .. c elseif c == "\n" then A = A .. "\n" elseif c == "\t" then A = A .. "\t" else A = A .. "\32" end end) return A end local highlight_lua = function(type) if type == "Text" then Source.Text = Source.Text:gsub("\13", "") Source.Text = Source.Text:gsub("\t", " ") local s = Source.Text Source.Keywords.Text = Highlight(s, lua_keywords) Source.Globals.Text = Highlight(s, global_env) Source.RemoteHighlight.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"}) Source.Tokens.Text = hTokens(s) Source.Numbers.Text = numbers(s) Source.Strings.Text = strings(s) Source.Comments.Text = comments(s) local lin = 1 s:gsub("\n", function() lin = lin + 1 end) Lines.Text = "" for i = 1, lin do Lines.Text = Lines.Text .. i .. "\n" end sf.CanvasSize = UDim2.new(0, 0, lin * 0.153846154, 0) end local highlight_logs = function(type) end if type == "Text" then Source.Text = Source.Text:gsub("\13", "") Source.Text = Source.Text:gsub("\t", " ") local s = Source.Text Source.Info.Text = info(s) local lin = 1 s:gsub("\n", function() lin = lin + 1 end) sf.CanvasSize = UDim2.new(0, 0, lin * 0.153846154, 0) end end if console_options.source == "Lua" then highlight_lua("Text") Source.Changed:Connect(highlight_lua) elseif console_options.source == "Logs" then Lines.Visible = false highlight_logs("Text") Source.Changed:Connect(highlight_logs) end function console_data:Set(code) Source.Text = tostring(code) end function console_data:Get() return Source.Text end function console_data:Log(msg) Source.Text = Source.Text .. "[*] " .. tostring(msg) .. "\n" end end return console_data, console end function tab_data:AddHorizontalAlignment() local ha_data = {} local ha = Prefabs:FindFirstChild("HorizontalAlignment"):Clone() ha.Parent = new_tab function ha_data:AddButton(...) local data, object local ret = {tab_data:AddButton(...)} if typeof(ret[1]) == "table" then data = ret[1] object = ret[2] object.Parent = ha return data, object else object = ret[1] object.Parent = ha return object end end return ha_data, ha end function tab_data:AddFolder(folder_name) -- [Folder] local folder_data = {} folder_name = tostring(folder_name or "New Folder") local folder = Prefabs:FindFirstChild("Folder"):Clone() local button = folder:FindFirstChild("Button") local objects = folder:FindFirstChild("Objects") local toggle = button:FindFirstChild("Toggle") folder.ZIndex = folder.ZIndex + (windows * 10) button.ZIndex = button.ZIndex + (windows * 10) objects.ZIndex = objects.ZIndex + (windows * 10) toggle.ZIndex = toggle.ZIndex + (windows * 10) button:GetChildren()[1].ZIndex = button:GetChildren()[1].ZIndex + (windows * 10) folder.Parent = new_tab button.Text = " " .. folder_name spawn(function() while true do if button and button:GetChildren()[1] then button:GetChildren()[1].ImageColor3 = options.main_color end RS.Heartbeat:Wait() end end) local function gFolderLen() local n = 25 for i,v in next, objects:GetChildren() do if not (v:IsA("UIListLayout")) then n = n + v.AbsoluteSize.Y + 5 end end return n end local open = false button.MouseButton1Click:Connect(function() if open then -- Close Resize(toggle, {Rotation = 0}, options.tween_time) objects.Visible = false else -- Open Resize(toggle, {Rotation = 90}, options.tween_time) objects.Visible = true end open = not open end) spawn(function() while true do Resize(folder, {Size = UDim2.new(1, 0, 0, (open and gFolderLen() or 20))}, options.tween_time) wait() end end) for i,v in next, tab_data do folder_data[i] = function(...) local data, object local ret = {v(...)} if typeof(ret[1]) == "table" then data = ret[1] object = ret[2] object.Parent = objects return data, object else object = ret[1] object.Parent = objects return object end end end return folder_data, folder end end return tab_data, new_tab end end end do for i, v in next, Window:GetDescendants() do if hasprop(v, "ZIndex") then v.ZIndex = v.ZIndex + (windows * 10) end end end return window_data, Window end
Tree={branchname="ESG-Artikel-Links", "https://www.pwc.de/de/managementberatung/forensic-services/esg-fraud/esg-risk-assessments.html", "https://www.boersen-zeitung.de/banken-finanzen/auf-der-suche-nach-den-esg-daten-eb3921aa-ba3e-11ec-8e62-5f7cf1d225cc", "https://www.msn.com/de-de/finanzen/top-stories/esg-risikomanagement-neue-gefahren-f-c3-bcrs-gesch-c3-a4ft/ar-AAWjiX7", "https://klardenker.kpmg.de/digital-hub/esg-risikomanagement-neue-ansaetze-fuer-banken/", {branchname="https://www.ppi.de/banken/banksteuerung-und-risikomanagement/esg-risikomanagement/", "/mnt/sdcard/Downloads/PPI-Onepager-ESG-Quick-K2.pdf", "/mnt/sdcard/Downloads/PPI-Onepager-ESG-ReadinessCheck.pdf", "/mnt/sdcard/Downloads/csm_20210416_PPI_WP-ESG_Risiken_Grafik_Transparent_52f697f3bb.webp" , "/mnt/sdcard/Downloads/20220322_PPI_DP_Taxonomie.pdf", "Green Asset Ratio", "Im Ergebnis gleicht die EU-Taxonomie im Hinblick auf Erdgas und Kernkraft der regulatorische Zulässigkeit von AAA-ABS-Strukturen vor der jüngsten großen Finanzkrise der Jahre 2007/2008. S. 7", "https://www.geldinstitute.de/business/2020/fuer-stuermische-zeiten-wappnen.html", "https://www.geldinstitute.de/business/2020/den-damm-rechtzeitig-verstaerken.html", "Szenarioanalysen, Stressfallsimulationen und Auswirkungsszenarien", "ESG-Masterkatalog in Form eines Templates", "Subscores", "https://www.geldinstitute.de/business/2021/praktische-ueberlegungen---scoring-modell-und-stresstests.html", }, {branchname="https://www.mazars.de/Home/ber-uns/Aktuelles/Presse-Medien/Publikationen/Studien/Archiv-2019/ESG-Risiken-im-Risikomanagement", "COSO", "WBCSD", }, "/mnt/sdcard/Executive Summary - Studie Riskmanagement.pdf", }
R"luastring"--( -- DO NOT REMOVE THE ABOVE LINE. It is used to load this file as a C++ string. -- There is a matching delimiter at the bottom of the file. --[[ Copyright (c) 2006-2015 LOVE Development Team This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. --]] local Video_mt = ... local Video = Video_mt.__index function Video:setSource(source) self:_setSource(source) self:getStream():setSync(source) end function Video:play() return self:getStream():play() end function Video:pause() return self:getStream():pause() end function Video:seek(offset) return self:getStream():seek(offset) end function Video:rewind() return self:getStream():rewind() end function Video:tell() return self:getStream():tell() end function Video:isPlaying() return self:getStream():isPlaying() end -- DO NOT REMOVE THE NEXT LINE. It is used to load this file as a C++ string. --)luastring"--"
-- import local SignalModule = require 'candy.signal' local RenderManagerModule = require 'candy.RenderManager' local sortModeValue = { iso = MOAIPartitionViewLayer.SORT_ISO; priority_ascending = MOAIPartitionViewLayer.SORT_PRIORITY_ASCENDING; priority_descending = MOAIPartitionViewLayer.SORT_PRIORITY_DESCENDING; x_ascending = MOAIPartitionViewLayer.SORT_X_ASCENDING; x_descending = MOAIPartitionViewLayer.SORT_X_DESCENDING; y_ascending = MOAIPartitionViewLayer.SORT_Y_ASCENDING; y_descending = MOAIPartitionViewLayer.SORT_Y_DESCENDING; z_ascending = MOAIPartitionViewLayer.SORT_Z_ASCENDING; z_descending = MOAIPartitionViewLayer.SORT_Z_DESCENDING; vector_ascending = MOAIPartitionViewLayer.SORT_VECTOR_ASCENDING; vector_descending = MOAIPartitionViewLayer.SORT_VECTOR_DESCENDING; dist_sqrd_ascending = MOAIPartitionViewLayer.SORT_DIST_SQUARED_ASCENDING; dist_sqrd_descending = MOAIPartitionViewLayer.SORT_DIST_SQUARED_DESCENDING; } ---@class Layer local Layer = CLASS: Layer () :MODEL { Field 'name' :string() :getset('Name'); Field 'visible' :boolean() :isset('Visible') :no_edit(); Field 'editVis' :boolean() :isset('EditorVisible') :no_edit(); Field 'locked' :boolean() :no_edit(); --editor only property Field 'solo' :boolean() :isset('EditorSolo') :no_edit(); Field 'parallax' :type('vec3') :getset('Parallax'); Field 'sortMode' :enum( EnumLayerSortMode ) :getset('SortMode'); Field 'priority' :int() :no_edit(); } function Layer:__init ( name ) self.name = name or '' self.visible = true self.editorVisible = true self.editorSolo = false self.sortMode = 'z_ascending' self.default = false self.moaiLayers = setmetatable ( {}, { __mode = 'k' } ) self.locked = false self.parallax = { 1,1,1 } end function Layer:setName ( name ) self.name = name SignalModule.emitSignal ( 'layer.update', self, 'name' ) end function Layer:getName () return self.name end function Layer:setVisible ( visible ) SignalModule.emitSignal ( 'layer.update', self, 'visible' ) self.visible = visible end function Layer:isVisible () return self.visible end function Layer:setEditorVisible ( visible ) self.editorVisible = visible SignalModule.emitSignal ( 'layer.update', self, 'editor_visible' ) end function Layer:isEditorVisible () return self.editorVisible end function Layer:setEditorSolo ( solo ) self.editorSolo = solo and 'solo' or false SignalModule.emitSignal ( 'layer.update', self, 'editor_visible' ) end function Layer:isEditorSolo () return self.editorSolo == 'solo' end function Layer:setLocked ( locked ) self.locked = locked end function Layer:isLocked () return self.locked end function Layer:getSortMode () return self.sortMode end function Layer:setSortMode ( mode ) self.sortMode = mode SignalModule.emitSignal ( 'layer.update', self, 'sort' ) end function Layer:getParallax () return unpack ( self.parallax ) end function Layer:setParallax ( x, y, z ) self.parallax = { x or 1, y or 1, z or 1 } end local function _initAsQuadTree ( partition, w, h, levels ) partition:reserveLevels ( #levels ) for i, grid in ipairs ( levels ) do local gw, gh = math.ceil ( w / grid ), math.ceil ( h / grid ) partition:reserveLevels ( i, grid, gw, gh ) end end function Layer:makeMoaiLayer ( partition ) local layer = RenderManagerModule.createPartitionRenderLayer () -- layer:setKeepResultBuffer ( true ) -- TODO: no setKeepResultBuffer function if partition then layer:setLayerPartition ( partition ) else local partition = MOAIPartition.new () layer:setLayerPartition ( partition ) end layer.name = self.name layer.priority = self.priority or 0 local moaiSortMode if self.sortMode then moaiSortMode = sortModeValue[ self.sortMode ] else moaiSortMode = MOAILayer.SORT_NONE end layer:setSortMode ( moaiSortMode ) layer.sortMode = moaiSortMode layer.source = self layer:setVisible ( self.visible ) --layer:showDebugLines ( true ) -- inheritVisible( layer, self._moaiLayer ) self.moaiLayers[ layer ] = true return layer end return Layer
hyper = { "ctrl", "cmd", "alt" } ctrl_cmd = { "ctrl", "cmd" } hs.hotkey.bindSpec({ hyper, "r" }, function() hs.reload() -- hs.notify.new({ title = "Hammerspoon", informativeText = "Config reloaded" }):send() end) hs.hotkey.bindSpec({ hyper, "k" }, function() hs.execute("get-kerberos-pass", true) end) hs.hotkey.bindSpec({ hyper, "l" }, function() hs.execute("get-ldap-pass", true) end) hs.hotkey.bindSpec({ hyper, "p" }, function() hs.execute("choose-pass", true) end) hs.loadSpoon("SpoonInstall") spoon.SpoonInstall.repos = { lunette = { url = "https://github.com/scottwhudson/Lunette", desc = "Spectacle keybindings", branch = "master", }, } spoon.SpoonInstall:asyncUpdateAllRepos() -- spoon.SpoonInstall:andUse("WindowGrid", { -- disable = true, -- config = { gridGeometries = { { "6x4" } } }, -- hotkeys = { show_grid = { hyper, "g" } }, -- start = true, -- }) -- spoon.SpoonInstall:andUse("MiroWindowsManager", { -- disable = true, -- -- config = { GRID = { w = 6, h = 4 } }, -- hotkeys = { -- up = { ctrl_cmd, "up" }, -- right = { ctrl_cmd, "right" }, -- down = { ctrl_cmd, "down" }, -- left = { ctrl_cmd, "left" }, -- fullscreen = { hyper, "up" }, -- }, -- }) -- spoon.SpoonInstall:andUse("Lunette", { -- repo = "lunette", -- hotkeys = { -- leftHalf = { -- { ctrl_cmd, "h" }, -- }, -- rightHalf = { -- { ctrl_cmd, "l" }, -- }, -- fullscreen = { { ctrl_cmd, "f" } }, -- enlarge = { { { "alt", "shift" }, "=" } }, -- shrink = { { { "alt", "shift" }, "-" } }, -- }, -- })
local BODY_DEBUG = script:GetCustomProperty("BodyDebug"):WaitForObject() ---@type IKAnchor local l1 = BODY_DEBUG.activatedEvent:Connect( function(ik, player) player.clientUserData.bodyIKEnabled = true player.clinetUerData.bodyIK = BODY_DEBUG end ) local l2 = BODY_DEBUG.deactivatedEvent:Connect( function(ik, player) player.clientUserData.bodyIKEnabled = false player.clinetUerData.bodyIK = nil end )
local M = {} M.__index = M function M.new(graphics) lg.setDefaultFilter('linear', 'linear') return setmetatable({ graphics = graphics, places = { overworld = { bg = lg.newImage("assets/images/world/overworld.png"), }, antiques = { bg = lg.newImage("assets/images/world/antiques/interior.png"), }, bar = { bg = lg.newImage("assets/images/world/bar/interior.png"), }, cemetery = { bg = lg.newImage("assets/images/world/cemetery/cemetery.png"), dugUp = lg.newImage("assets/images/world/cemetery/dugupgrave.png"), fresh = lg.newImage("assets/images/world/cemetery/freshgrave.png"), bones = lg.newImage("assets/images/world/cemetery/bonepile.png"), grave1 = lg.newImage("assets/images/world/cemetery/grave1.png"), grave2 = lg.newImage("assets/images/world/cemetery/grave2.png"), grave3 = lg.newImage("assets/images/world/cemetery/grave3.png"), grave4 = lg.newImage("assets/images/world/cemetery/grave4.png"), grave5 = lg.newImage("assets/images/world/cemetery/grave5.png"), grave6 = lg.newImage("assets/images/world/cemetery/grave6.png"), grave7 = lg.newImage("assets/images/world/cemetery/grave7.png"), grave8 = lg.newImage("assets/images/world/cemetery/grave8.png"), }, coffee = { bg = lg.newImage("assets/images/world/coffee/interior.png"), table = lg.newImage("assets/images/world/coffee/table.png"), }, doctor = { bg = lg.newImage("assets/images/world/doctor/interior.png"), }, home = { bg = lg.newImage("assets/images/world/home/interior.png"), }, library = { bg = lg.newImage("assets/images/world/library/interior.png"), }, motel = { bg = lg.newImage("assets/images/world/motel/interior.png"), }, motel_lobby = { bg = lg.newImage("assets/images/world/motel/interior-lobby.png"), }, post_office = { bg = lg.newImage("assets/images/world/post-office/interior.png"), }, school = { bg = lg.newImage("assets/images/world/school/interior.png"), }, shop = { bg = lg.newImage("assets/images/world/shop/interior.png"), }, swamp = { bg = lg.newImage("assets/images/world/swamp/swamp.png"), }, }, -- UI ui = { dialog = lg.newImage("/assets/images/screen/dialog-box.png"), dialog_font = love.graphics.newImageFont( "/assets/images/screen/dialog-font.png", " abcdefghijklmnopqrstuvwxyz".. "ABCDEFGHIJKLMNOPQRSTUVWXYZ0".. "123456789.,!?-+/():;%&`'*#=[]\"" ), text_arrow = lg.newImage("/assets/images/screen/text-arrow.png"), button_bg = lg.newImage("assets/images/ui/button_bg.png"), menu_bg = lg.newImage("assets/images/ui/menu_bg.png"), title_fg = lg.newImage("assets/images/ui/title_fg.png"), title = lg.newImage("assets/images/ui/title.png"), start_btn = lg.newImage("assets/images/ui/start-button.png"), quit_btn = lg.newImage("assets/images/ui/quit.png"), continue_btn = lg.newImage("assets/images/ui/start-button.png"), end_bg = lg.newImage("assets/images/ui/end.png"), clock_bg = lg.newImage("assets/images/ui/clock.png"), portraits = { player = lg.newImage("assets/images/people/protag-profile.png"), unkown = lg.newImage("assets/images/people/unknown-profile.png"), person1 = lg.newImage("assets/images/people/person1-profile.png"), person2 = lg.newImage("assets/images/people/person2-profile.png"), person3 = lg.newImage("assets/images/people/person3-profile.png"), person4 = lg.newImage("assets/images/people/person4-profile.png"), person5 = lg.newImage("assets/images/people/person5-profile.png"), person6 = lg.newImage("assets/images/people/person6-profile.png"), person7 = lg.newImage("assets/images/people/person7-profile.png"), person8 = lg.newImage("assets/images/people/person8-profile.png"), person9 = lg.newImage("assets/images/people/person9-profile.png"), person10 = lg.newImage("assets/images/people/person10-profile.png"), cultist = lg.newImage("assets/images/people/cultist-profile.png"), cultist1 = lg.newImage("assets/images/people/cultist-profile.png"), cultist2 = lg.newImage("assets/images/people/cultist-profile.png"), cultist3 = lg.newImage("assets/images/people/cultist-profile.png"), cultist4 = lg.newImage("assets/images/people/cultist-profile.png"), cultist5 = lg.newImage("assets/images/people/cultist-profile.png"), cultist6 = lg.newImage("assets/images/people/cultist-profile.png"), mary = lg.newImage("assets/images/people/mary-profile.png"), motel_guy = lg.newImage("assets/images/people/motelguy-profile.png"), }, }, doors = { antiques = lg.newImage("assets/images/world/antiques/door.png"), bar = lg.newImage("assets/images/world/bar/door.png"), coffee_shop = lg.newImage("assets/images/world/coffee/door.png"), doctor = lg.newImage("assets/images/world/doctor/door.png"), library = lg.newImage("assets/images/world/library/door.png"), motel = lg.newImage("assets/images/world/motel/door.png"), post_office = lg.newImage("assets/images/world/post-office/door.png"), school = lg.newImage("assets/images/world/school/door.png"), store = lg.newImage("assets/images/world/shop/door.png"), }, decor = { school_flag = lg.newImage("assets/images/world/street/school-flag.png"), beer_sign = lg.newImage("assets/images/world/street/beer-sign.png"), -- coffee shop assets freezer = lg.newImage("assets/images/world/coffee/freezer.png"), back_counter = lg.newImage("assets/images/world/coffee/back-counter.png"), counter = lg.newImage("assets/images/world/coffee/counter.png"), table = lg.newImage("assets/images/world/coffee/table.png"), ropes = lg.newImage("assets/images/world/library/ropes.png"), tome = lg.newImage("assets/images/world/library/tome.png"), construction = lg.newImage("assets/images/world/construction.png") }, actors = { player = lg.newImage("assets/images/people/protag.png"), mary = lg.newImage("assets/images/world/antiques/mary.png"), cultist = lg.newImage("assets/images/people/cultist.png"), cultist1 = lg.newImage("assets/images/people/cultist2.png"), cultist2 = lg.newImage("assets/images/people/cultist3.png"), cultist3 = lg.newImage("assets/images/people/cultist4.png"), cultist4 = lg.newImage("assets/images/people/cultist5.png"), cultist5 = lg.newImage("assets/images/people/cultist3.png"), cultist6 = lg.newImage("assets/images/people/cultist4.png"), person1 = lg.newImage("assets/images/people/person1.png"), person2 = lg.newImage("assets/images/people/person2.png"), person3 = lg.newImage("assets/images/people/person3.png"), person4 = lg.newImage("assets/images/people/person4.png"), person5 = lg.newImage("assets/images/people/person5.png"), person6 = lg.newImage("assets/images/people/person6.png"), person7 = lg.newImage("assets/images/people/person7.png"), person8 = lg.newImage("assets/images/people/person8.png"), person9 = lg.newImage("assets/images/people/person9.png"), person10 = lg.newImage("assets/images/people/person10.png"), motel_guy = lg.newImage("assets/images/world/motel/motelguy.png"), librarian = lg.newImage("assets/images/people/bartender.png") }, timelineObjs = { book = lg.newImage("assets/images/world/library/tome.png"), package = lg.newImage("assets/images/world/home/package.png"), } }, M) end function M:drawDialogBox(actor, title, text, animation) local outerXGutter = 5 local innerXGutter = 18 local outerYGutter = 5 local innerYGutter = 14 local maximumTextWidth = (572 - (innerXGutter * 2)) local maximumTextHeight = 200 local maximumNameWidth = 125 local maximumNameHeight = 30 -- calculate dialog placement local width, height = self.ui.dialog:getDimensions() local maximumTextHeight = height - (innerYGutter * 2) local y = outerYGutter local x = outerXGutter + _renderWidth / 2 - width / 2 -- render the profile picture local profile = nil if actor == '???' then profile = self.ui.portraits.unknown else profile = self.ui.portraits[actor] end if profile == nil then profile = self.ui.portraits.unknown end if profile ~= nil then local profileX = x + 28 local profileY = y + 16 self.graphics:drawObject(profile, profileX, profileY, 152, 152) end -- render the dialog box self.graphics:drawObject(self.ui.dialog, x, y, width, height) -- render the text self.graphics:renderTextInBox(text, x + 180 + innerXGutter, y, maximumTextWidth, maximumTextHeight, self.ui.dialog_font) -- render the name self.graphics:renderTextInBox(title, x + 40, y + 175, maximumNameWidth, maximumNameHeight, self.ui.dialog_font) if animation ~= nil then local animSize = animation:getFrameSize() local animX = x + width - innerXGutter - animSize.width local animY = y + height - innerYGutter - animSize.height animation:draw(animX, animY, true) end end return M
adminCommands = {} hook.Add("PlayerSay", "RegisterCommands", function(ply, text, teamc, alive) local chat_string = string.Explode(" ", text) for k, v in pairs( adminCommands ) do if( chat_string[1] == k ) then table.remove(chat_string, 1) v(ply, chat_string) return "" end if( string.find(k, chat_string[1]) != nil ) then local start, endp, word = string.find(k, chat_string[1]) if( endp - (start - 1) > 2 ) then ply:ChatPrint("Invalid command! Did you mean '"..tostring( k ).."'?") return "" end end end return text end) function AddChatCommand(strCommand, Func) if( !strCommand || !Func ) then return end for k, v in pairs( adminCommands ) do if( strCommand == k ) then return end end adminCommands[ tostring( strCommand ) ] = Func end
EditorInstigatorRule = EditorInstigatorRule or class(MissionScriptEditor) EditorInstigatorRule.SAVE_UNIT_POSITION = false EditorInstigatorRule.SAVE_UNIT_ROTATION = false function EditorInstigatorRule:create_element(...) EditorInstigatorRule.super.create_element(self, ...) self._element.class = "ElementInstigatorRule" self._element.values.instigator = "none" self._element.values.rules = {} self._element.values.invert = false end function EditorInstigatorRule:set_element_data(item) self.super.set_element_data(self, item) if item.name == "instigator" then self:_update_rules_panel() end end function EditorInstigatorRule:_build_panel() self:_create_panel() self:ComboCtrl("instigator", managers.mission:area_instigator_categories(), {help = "Select an instigator type for the area"}) self:BooleanCtrl("invert", {text = "Invert Rule", help = "Check this to have the rule inverted, i.e. exclude one unit from triggering the connected element"}) self:_update_rules_panel() end function EditorInstigatorRule:_update_rules_panel() self._holder:ClearItems("rules") local t = self._element.values local instigator = t.instigator t.rules[instigator] = t.rules[instigator] or {} local data = t.rules[instigator] if instigator == "player" then self:ListSelector("states", managers.player:player_states(), {label = "rules", data = data}) self:ListSelector("carry_ids", table.map_keys(tweak_data.equipments.specials), {label = "rules", data = data}) self:ListSelector("mission_equipment", table.map_keys(tweak_data.equipments.specials), {label = "rules", data = data}) elseif instigator == "enemies" then self:ListSelector("enemy_names", BLE.Utils:GetUnits({slot = 12}), {label = "rules", data = data}) self:ListSelector("pickup", EditorPickup.get_options(), {label = "rules", data = data}) elseif instigator == "civilians" then self:ListSelector("civilian_names", BLE.Utils:GetUnits({slot = 21}), {label = "rules", data = data}) self:ListSelector("pickup", EditorPickup.get_options(), {label = "rules", data = data}) elseif instigator == "loot" then self:ListSelector("carry_ids", tweak_data.carry:get_carry_ids(), {label = "rules", data = data}) elseif instigator == "vehicle" then self:ListSelector("vehicle_names", BLE.Utils:GetUnits({slot = 39}), {label = "rules", data = data}) end end
local gui = require 'yue.gui' local ca = require 'gui.new.common_attribute' local timer = require 'gui.timer' return function (t, data) local view = gui.Container.create() if t.style then view:setstyle(t.style) end view:setbackgroundcolor '#444' local frontlabel = gui.Label.create('') view:addchildview(frontlabel) local frontground = 0 local background = 0 local ti local function set_progress(n, force) if force then frontground = n background = n if ti then ti:remove() end ti = nil frontlabel:setstyle { FlexGrow = n } return end if n >= 1 then set_progress(1, true) return end if n < background or n <= 0 then set_progress(n, true) return end background = n if not ti then ti = timer.loop(30, function () local delta1 = 0 local delta2 = 0 if frontground < background then delta1 = (background - frontground) / 10 delta2 = math.min(background - frontground, 0.001) end frontground = frontground + math.max(delta1, delta2) frontlabel:setstyle { FlexGrow = frontground } end) end end local bind = {} if t.bind and t.bind.value then bind.value = data:bind(t.bind.value, function() set_progress(bind.value:get()) end) set_progress(bind.value:get(), true) else set_progress(t.value or 0, true) end ca.visible(view, t, data, bind) ca.label_color(frontlabel, t, data, bind) return view end
local c = 0 function f() return 1 end for j=1,10 do for i=1,1000000 do c = c + f() end end print(c)
local BasePlugin = require "kong.plugins.base_plugin" local jwt_decoder = require "kong.plugins.jwt.jwt_parser" local JWT_PLUGIN_PRIORITY = (require "kong.plugins.jwt.handler").PRIORITY local MAPPED_HEADER_PREFIX = "X-Consumer-" local ngx_set_header = ngx.req.set_header local ngx_re_gmatch = ngx.re.gmatch local JwtClaimHeadersHandler = BasePlugin:extend() -- Set this plugin to execute after the default jwt plugin provided by Kong -- Plugins with higher priority are executed first JwtClaimHeadersHandler.PRIORITY = JWT_PLUGIN_PRIORITY - 100 local function retrieve_token(request, conf) local authorization_header = request.get_headers()["authorization"] if authorization_header then local iterator, iter_err = ngx_re_gmatch(authorization_header, "\\s*[Bb]earer\\s+(.+)") if not iterator then return nil, iter_err end local m, err = iterator() if err then return nil, err end if m and #m > 0 then return m[1] end end end function JwtClaimHeadersHandler:new() JwtClaimHeadersHandler.super.new(self, "jwt-claim-headers") end function JwtClaimHeadersHandler:access(conf) JwtClaimHeadersHandler.super.access(self) local token, err = retrieve_token(ngx.req, conf) if err or not token then return kong.response.exit(401, [[{"message":"unauthorized"}]], { ["Content-Type"] = "application/json", }) end local jwt, err = jwt_decoder:new(token) -- Now verify the JWT signature if not jwt:verify_signature(conf.jwt_secret) or err then return kong.response.exit(401, [[{"message":"unauthorized"}]], { ["Content-Type"] = "application/json", }) end local claims = jwt.claims for claim_key, claim_value in pairs(claims) do ngx_set_header(MAPPED_HEADER_PREFIX .. claim_key, claim_value) end end return JwtClaimHeadersHandler
--30 watt Light bulb -------------------------------------------------------------------------------- minetest.register_craftitem("mylights:lightbulb30", { description = "30 watt Light Bulb", inventory_image = "mylights_lightbulb30.png", groups = {not_in_creative_inventory = 1} }) --60 watt Light bulb -------------------------------------------------------------------------------- minetest.register_craftitem("mylights:lightbulb60", { description = "60 watt Light Bulb", inventory_image = "mylights_lightbulb60.png", groups = {not_in_creative_inventory = 1} }) --90 watt Light bulb -------------------------------------------------------------------------------- minetest.register_craftitem("mylights:lightbulb90", { description = "90 watt Light Bulb", inventory_image = "mylights_lightbulb90.png", groups = {not_in_creative_inventory = 1} }) --120 watt Light bulb -------------------------------------------------------------------------------- minetest.register_craftitem("mylights:lightbulb120", { description = "120 watt Light Bulb", inventory_image = "mylights_lightbulb120.png", groups = {not_in_creative_inventory = 1} })
-- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! -- This file is automaticly generated. Don't edit manualy! -- !!!!!!!!!!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!!!!! ---@class C_Calendar C_Calendar = {} ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.AddEvent) function C_Calendar.AddEvent() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.AreNamesReady) ---@return boolean @ready function C_Calendar.AreNamesReady() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.CanAddEvent) ---@return boolean @canAddEvent function C_Calendar.CanAddEvent() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.CanSendInvite) ---@return boolean @canSendInvite function C_Calendar.CanSendInvite() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.CloseEvent) function C_Calendar.CloseEvent() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventCanComplain) ---@param offsetMonths number ---@param monthDay number ---@param eventIndex number ---@return boolean @canComplain function C_Calendar.ContextMenuEventCanComplain(offsetMonths, monthDay, eventIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventCanEdit) ---@param offsetMonths number ---@param monthDay number ---@param eventIndex number ---@return boolean @canEdit function C_Calendar.ContextMenuEventCanEdit(offsetMonths, monthDay, eventIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventCanRemove) ---@param offsetMonths number ---@param monthDay number ---@param eventIndex number ---@return boolean @canRemove function C_Calendar.ContextMenuEventCanRemove(offsetMonths, monthDay, eventIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventClipboard) ---@return boolean @exists function C_Calendar.ContextMenuEventClipboard() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventComplain) function C_Calendar.ContextMenuEventComplain() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventCopy) function C_Calendar.ContextMenuEventCopy() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventGetCalendarType) ---@return string @calendarType function C_Calendar.ContextMenuEventGetCalendarType() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventPaste) ---@param offsetMonths number ---@param monthDay number function C_Calendar.ContextMenuEventPaste(offsetMonths, monthDay) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventRemove) function C_Calendar.ContextMenuEventRemove() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuEventSignUp) function C_Calendar.ContextMenuEventSignUp() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuGetEventIndex) ---@return CalendarEventIndexInfo @info function C_Calendar.ContextMenuGetEventIndex() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuInviteAvailable) function C_Calendar.ContextMenuInviteAvailable() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuInviteDecline) function C_Calendar.ContextMenuInviteDecline() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuInviteRemove) function C_Calendar.ContextMenuInviteRemove() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuInviteTentative) function C_Calendar.ContextMenuInviteTentative() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.ContextMenuSelectEvent) ---@param offsetMonths number ---@param monthDay number ---@param eventIndex number function C_Calendar.ContextMenuSelectEvent(offsetMonths, monthDay, eventIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.CreateCommunitySignUpEvent) function C_Calendar.CreateCommunitySignUpEvent() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.CreateGuildAnnouncementEvent) function C_Calendar.CreateGuildAnnouncementEvent() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.CreateGuildSignUpEvent) function C_Calendar.CreateGuildSignUpEvent() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.CreatePlayerEvent) function C_Calendar.CreatePlayerEvent() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventAvailable) function C_Calendar.EventAvailable() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventCanEdit) ---@return boolean @canEdit function C_Calendar.EventCanEdit() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventClearAutoApprove) function C_Calendar.EventClearAutoApprove() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventClearLocked) function C_Calendar.EventClearLocked() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventClearModerator) ---@param inviteIndex number function C_Calendar.EventClearModerator(inviteIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventDecline) function C_Calendar.EventDecline() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetCalendarType) ---@return string @calendarType function C_Calendar.EventGetCalendarType() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetClubId) ---@return string @info function C_Calendar.EventGetClubId() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetInvite) ---@param eventIndex number ---@return CalendarEventInviteInfo @info function C_Calendar.EventGetInvite(eventIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetInviteResponseTime) ---@param eventIndex number ---@return CalendarTime @time function C_Calendar.EventGetInviteResponseTime(eventIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetInviteSortCriterion) ---@return string, boolean @criterion, reverse function C_Calendar.EventGetInviteSortCriterion() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetSelectedInvite) ---@return number @inviteIndex function C_Calendar.EventGetSelectedInvite() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetStatusOptions) ---@param eventIndex number ---@return table @options function C_Calendar.EventGetStatusOptions(eventIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetTextures) ---@param eventType CalendarEventType ---@return table @textures function C_Calendar.EventGetTextures(eventType) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetTypes) ---@return table @types function C_Calendar.EventGetTypes() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventGetTypesDisplayOrdered) ---@return table @infos function C_Calendar.EventGetTypesDisplayOrdered() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventHasPendingInvite) ---@return boolean @hasPendingInvite function C_Calendar.EventHasPendingInvite() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventHaveSettingsChanged) ---@return boolean @haveSettingsChanged function C_Calendar.EventHaveSettingsChanged() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventInvite) ---@param name string function C_Calendar.EventInvite(name) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventRemoveInvite) ---@param inviteIndex number function C_Calendar.EventRemoveInvite(inviteIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventRemoveInviteByGuid) ---@param guid string function C_Calendar.EventRemoveInviteByGuid(guid) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSelectInvite) ---@param inviteIndex number function C_Calendar.EventSelectInvite(inviteIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetAutoApprove) function C_Calendar.EventSetAutoApprove() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetClubId) ---@param clubId string function C_Calendar.EventSetClubId(clubId) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetDate) ---@param month number ---@param monthDay number ---@param year number function C_Calendar.EventSetDate(month, monthDay, year) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetDescription) ---@param description string function C_Calendar.EventSetDescription(description) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetInviteStatus) ---@param eventIndex number ---@param status CalendarStatus function C_Calendar.EventSetInviteStatus(eventIndex, status) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetLocked) function C_Calendar.EventSetLocked() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetModerator) ---@param inviteIndex number function C_Calendar.EventSetModerator(inviteIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetTextureID) ---@param textureIndex number function C_Calendar.EventSetTextureID(textureIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetTime) ---@param hour number ---@param minute number function C_Calendar.EventSetTime(hour, minute) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetTitle) ---@param title string function C_Calendar.EventSetTitle(title) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSetType) ---@param typeIndex CalendarEventType function C_Calendar.EventSetType(typeIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSignUp) function C_Calendar.EventSignUp() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventSortInvites) ---@param criterion string ---@param reverse boolean function C_Calendar.EventSortInvites(criterion, reverse) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.EventTentative) function C_Calendar.EventTentative() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetClubCalendarEvents) ---@param clubId string ---@param startTime CalendarTime ---@param endTime CalendarTime ---@return table @events function C_Calendar.GetClubCalendarEvents(clubId, startTime, endTime) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetDayEvent) ---@param monthOffset number ---@param monthDay number ---@param index number ---@return CalendarDayEvent @event function C_Calendar.GetDayEvent(monthOffset, monthDay, index) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetDefaultGuildFilter) ---@return CalendarGuildFilterInfo @info function C_Calendar.GetDefaultGuildFilter() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetEventIndex) ---@return CalendarEventIndexInfo @info function C_Calendar.GetEventIndex() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetEventIndexInfo) ---@param eventID string ---@param monthOffset number ---@param monthDay number ---@return CalendarEventIndexInfo @eventIndexInfo function C_Calendar.GetEventIndexInfo(eventID, monthOffset, monthDay) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetEventInfo) ---@return CalendarEventInfo @info function C_Calendar.GetEventInfo() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetFirstPendingInvite) ---@param offsetMonths number ---@param monthDay number ---@return number @firstPendingInvite function C_Calendar.GetFirstPendingInvite(offsetMonths, monthDay) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetGuildEventInfo) ---@param index number ---@return CalendarGuildEventInfo @info function C_Calendar.GetGuildEventInfo(index) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetGuildEventSelectionInfo) ---@param index number ---@return CalendarEventIndexInfo @info function C_Calendar.GetGuildEventSelectionInfo(index) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetHolidayInfo) ---@param monthOffset number ---@param monthDay number ---@param index number ---@return CalendarHolidayInfo @event function C_Calendar.GetHolidayInfo(monthOffset, monthDay, index) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetMaxCreateDate) ---@return CalendarTime @maxCreateDate function C_Calendar.GetMaxCreateDate() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetMinDate) ---@return CalendarTime @minDate function C_Calendar.GetMinDate() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetMonthInfo) ---@param offsetMonths number ---@return CalendarMonthInfo @monthInfo function C_Calendar.GetMonthInfo(offsetMonths) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetNextClubId) ---@return string @clubId function C_Calendar.GetNextClubId() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetNumDayEvents) ---@param offsetMonths number ---@param monthDay number ---@return number @numDayEvents function C_Calendar.GetNumDayEvents(offsetMonths, monthDay) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetNumGuildEvents) ---@return number @numGuildEvents function C_Calendar.GetNumGuildEvents() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetNumInvites) ---@return number @num function C_Calendar.GetNumInvites() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetNumPendingInvites) ---@return number @num function C_Calendar.GetNumPendingInvites() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.GetRaidInfo) ---@param offsetMonths number ---@param monthDay number ---@param eventIndex number ---@return CalendarRaidInfo @info function C_Calendar.GetRaidInfo(offsetMonths, monthDay, eventIndex) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.IsActionPending) ---@return boolean @actionPending function C_Calendar.IsActionPending() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.IsEventOpen) ---@return boolean @isOpen function C_Calendar.IsEventOpen() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.MassInviteCommunity) ---@param clubId string ---@param minLevel number ---@param maxLevel number ---@param maxRankOrder number function C_Calendar.MassInviteCommunity(clubId, minLevel, maxLevel, maxRankOrder) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.MassInviteGuild) ---@param minLevel number ---@param maxLevel number ---@param maxRankOrder number function C_Calendar.MassInviteGuild(minLevel, maxLevel, maxRankOrder) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.OpenCalendar) function C_Calendar.OpenCalendar() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.OpenEvent) ---@param offsetMonths number ---@param monthDay number ---@param index number ---@return boolean @success function C_Calendar.OpenEvent(offsetMonths, monthDay, index) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.RemoveEvent) function C_Calendar.RemoveEvent() end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.SetAbsMonth) ---@param month number ---@param year number function C_Calendar.SetAbsMonth(month, year) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.SetMonth) ---@param offsetMonths number function C_Calendar.SetMonth(offsetMonths) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.SetNextClubId) ---@param clubId string function C_Calendar.SetNextClubId(clubId) end ---[Wowpedia documentation](https://wow.gamepedia.com/API_C_Calendar.UpdateEvent) function C_Calendar.UpdateEvent() end ---@class CalendarDayEvent ---@field public eventID string ---@field public title string ---@field public isCustomTitle boolean ---@field public startTime CalendarTime ---@field public endTime CalendarTime ---@field public calendarType string ---@field public sequenceType string ---@field public eventType CalendarEventType ---@field public iconTexture number ---@field public modStatus string ---@field public inviteStatus number ---@field public invitedBy string ---@field public difficulty number ---@field public inviteType number ---@field public sequenceIndex number ---@field public numSequenceDays number ---@field public difficultyName string ---@field public dontDisplayBanner boolean ---@field public dontDisplayEnd boolean ---@field public clubID string ---@field public isLocked boolean CalendarDayEvent = {} ---@class CalendarEventIndexInfo ---@field public offsetMonths number ---@field public monthDay number ---@field public eventIndex number CalendarEventIndexInfo = {} ---@class CalendarEventInfo ---@field public title string ---@field public description string ---@field public creator string ---@field public eventType CalendarEventType ---@field public repeatOption number ---@field public maxSize number ---@field public textureIndex number ---@field public time CalendarTime ---@field public lockoutTime CalendarTime ---@field public isLocked boolean ---@field public isAutoApprove boolean ---@field public hasPendingInvite boolean ---@field public inviteStatus number ---@field public inviteType number ---@field public calendarType string ---@field public communityName string CalendarEventInfo = {} ---@class CalendarEventInviteInfo ---@field public name string ---@field public level number ---@field public className string ---@field public classFilename string ---@field public inviteStatus number ---@field public modStatus string ---@field public inviteIsMine boolean ---@field public type number ---@field public notes string ---@field public classID number ---@field public guid string CalendarEventInviteInfo = {} ---@class CalendarEventStatusOption ---@field public status CalendarStatus ---@field public statusString string CalendarEventStatusOption = {} ---@class CalendarEventTextureInfo ---@field public title string ---@field public iconTexture number ---@field public expansionLevel number ---@field public difficultyId number ---@field public mapId number ---@field public isLfr boolean CalendarEventTextureInfo = {} ---@class CalendarEventTypeDisplayInfo ---@field public displayString string ---@field public eventType CalendarEventType CalendarEventTypeDisplayInfo = {} ---@class CalendarGuildEventInfo ---@field public eventID string ---@field public year number ---@field public month number ---@field public monthDay number ---@field public weekday number ---@field public hour number ---@field public minute number ---@field public eventType CalendarEventType ---@field public title string ---@field public calendarType string ---@field public texture number ---@field public inviteStatus number ---@field public clubID string CalendarGuildEventInfo = {} ---@class CalendarGuildFilterInfo ---@field public minLevel number ---@field public maxLevel number ---@field public rank number CalendarGuildFilterInfo = {} ---@class CalendarHolidayInfo ---@field public name string ---@field public description string ---@field public texture number ---@field public startTime CalendarTime ---@field public endTime CalendarTime CalendarHolidayInfo = {} ---@class CalendarMonthInfo ---@field public month number ---@field public year number ---@field public numDays number ---@field public firstWeekday number CalendarMonthInfo = {} ---@class CalendarRaidInfo ---@field public name string ---@field public calendarType string ---@field public raidID number ---@field public time CalendarTime ---@field public difficulty number ---@field public difficultyName string CalendarRaidInfo = {}
local class = require "class" local timer = require "internal.Timer" local pgsql = require "protocol.pgsql" local log = require "logging" local Log = log:new({ dump = true, path = 'DB'}) local crypt = require "crypt" local hashkey = crypt.hashkey local co = require "internal.Co" local co_self = co.self local co_wait = co.wait local co_spawn = co.spawn local co_wakeup = co.wakeup local type = type local error = error local xpcall = xpcall local assert = assert local fmt = string.format local insert = table.insert local remove = table.remove -- 数据库连接创建函数 local function DB_CREATE (opt) local db while 1 do db = pgsql:new(opt) db:set_timeout(3) local connect, err = db:connect() if connect then db:set_timeout(0) break end Log:WARN("The connection failed. The reasons are: [" .. err .. "], Try to reconnect after 3 seconds") timer.sleep(3) db:close() end return db end local function add_wait(self, co) insert(self.co_pool, co) end local function pop_wait(self) return remove(self.co_pool) end local function add_db(self, db) insert(self.db_pool, db) end -- 负责创建连接/加入等待队列 local function pop_db(self) local session = remove(self.db_pool) if session then return session end if self.current < self.max then self.current = self.current + 1 return DB_CREATE(self) end add_wait(self, co_self()) return co_wait() end local function run_query(self, query) local db, ret, err while 1 do db = pop_db(self) if db then ret, err = db:query(query) if db.state then break end db:close() self.current = self.current - 1 db, ret, err = nil, nil, nil end end local co = pop_wait(self) if co then co_wakeup(co, db) else add_db(self, db) end return ret, err end local DB = class("DB") function DB:ctor(opt) self.host = opt.host self.port = opt.port self.unixdomain = opt.unixdomain self.username = opt.username self.password = opt.password self.database = opt.database self.charset = opt.charset self.max = opt.max or 50 self.current = 0 -- 协程池 self.co_pool = {} -- 连接池 self.db_pool = {} end function DB:connect () if not self.INITIALIZATION then add_db(self, pop_db(self)) self.INITIALIZATION = true return self.INITIALIZATION end return self.INITIALIZATION end local function traceback(msg) return fmt("[%s] %s", os.date("%Y/%m/%d %H:%M:%S"), debug.traceback(co_self(), msg, 3)) end function DB:transaction(f) assert(self.INITIALIZATION, "DB needs to be initialized first.") assert(type(f) == 'function', "A function must be passed to describe the execution of the transaction.") local db, ret, err while 1 do db = pop_db(self) if db then ret, err = db:query("BEGIN;") if db.state then break end db:close() self.current = self.current - 1 end db, ret, err = nil, nil, nil end -- 每个事务都有独立的session local session = { nil, nil, nil } session.query = function (self, sql) assert(self and self == session, "Must use the syntax of `session:query()`") if self.over then return nil, "Please use `return session:rollback()` or `return session:commit()` after the transaction process is over or Process error." end assert(db.state, "PGSQL transaction session closed. 1") local ret, err = db:query(sql) assert(db.state, "PGSQL transaction session closed. 2") return ret, err end session.rollback = function ( self ) assert(self and self == session, "Must use the syntax of `session:rollback()`") assert(db.state, "PGSQL transaction session closed. 3") db:query("ROLLBACK;") assert(db.state, "PGSQL transaction session closed. 4") self.over = true return { state = "rollback" } end session.commit = function ( self ) assert(self and self == session, "Must use the syntax of `session:commit()`") assert(db.state, "PGSQL transaction session closed. 5") db:query("COMMIT;") assert(db.state, "PGSQL transaction session closed. 6") self.over = true return { state = "successed" } end local ok, info = xpcall(f, traceback, session) if not ok then -- 如果在自定义事务流程的内部发生了错误 if not db.state then self.current = self.current - 1 db:close() local co = pop_wait(self) if co then co_spawn(function ( ... ) co_wakeup(co, pop_db(self)) end) end return nil, info end db:query("ROLLBACK;") local co = pop_wait(self) if co then co_wakeup(co, db) else add_db(self, db) end return nil, info end -- 如果定义的事务没有以`commit`或者`rollback`结尾. if type(info) ~= 'table' or (info.state ~= "successed" and info.state ~= 'rollback') then db:query("ROLLBACK;") local co = pop_wait(self) if co then co_wakeup(co, db) else add_db(self, db) end error("Must return after transaction ends`session:commit()`or`session:rollback()`.") end local co = pop_wait(self) if co then co_wakeup(co, db) else add_db(self, db) end return info.state == "successed" and true or false end -- 原始查询语句 function DB:query(query) assert(self.INITIALIZATION, "DB needs to be initialized first.") return run_query(self, assert(type(query) == 'string' and query ~= '' and query , "Invalid PGSQL syntax.")) end -- 字符串安全转义 function DB.quote_to_str( str ) return pgsql.quote_to_str(str) end function DB:count() assert(self.INITIALIZATION, "DB needs to be initialized first.") return self.current, self.max, #self.co_pool, #self.db_pool end return DB
-- Hearts view used in game screen and in the savegames selection screen. local hearts_builder = {} function hearts_builder:new(game, config) local hearts = {} if config ~= nil then hearts.dst_x, hearts.dst_y = config.x, config.y end hearts.surface = sol.surface.create(81, 18) hearts.empty_heart_sprite = sol.sprite.create("hud/empty_heart") hearts.nb_max_hearts_displayed = game:get_max_life() / 4 hearts.nb_current_hearts_displayed = game:get_life() hearts.all_hearts_img = sol.surface.create("hud/hearts.png") hearts.transparent = false function hearts:on_started() -- This function is called when the HUD starts or -- was disabled and gets enabled again. -- Unlike other HUD elements, the timers were canceled because they -- are attached to the menu and not to the game -- (this is because the hearts are also used in the savegame menu). -- After game-over don't show gradually getting the life back. hearts.nb_current_hearts_displayed = game:get_life() hearts:check() hearts:rebuild_surface() end -- Checks whether the view displays the correct info -- and updates it if necessary. function hearts:check() local need_rebuild = false -- Maximum life. local nb_max_hearts = game:get_max_life() / 4 if nb_max_hearts ~= hearts.nb_max_hearts_displayed then need_rebuild = true if nb_max_hearts < hearts.nb_max_hearts_displayed then -- Decrease immediately if the max life is reduced. hearts.nb_current_hearts_displayed = game:get_life() end hearts.nb_max_hearts_displayed = nb_max_hearts end -- Current life. local nb_current_hearts = game:get_life() if nb_current_hearts ~= hearts.nb_current_hearts_displayed then need_rebuild = true if nb_current_hearts < hearts.nb_current_hearts_displayed then hearts.nb_current_hearts_displayed = hearts.nb_current_hearts_displayed - 1 else hearts.nb_current_hearts_displayed = hearts.nb_current_hearts_displayed + 1 end end -- Redraw the surface only if something has changed. if need_rebuild then hearts:rebuild_surface() end -- Schedule the next check. sol.timer.start(hearts, 50, function() hearts:check() end) end function hearts:rebuild_surface() hearts.surface:clear() -- Display the hearts. for i = 0, hearts.nb_max_hearts_displayed - 1 do local x, y = (i % 10) * 8, math.floor(i / 10) * 8 hearts.empty_heart_sprite:draw(hearts.surface, x, y) if i < math.floor(hearts.nb_current_hearts_displayed / 4) then -- This heart is full. hearts.all_hearts_img:draw_region(27, 0, 9, 8, hearts.surface, x, y) end end -- Last fraction of heart. local i = math.floor(hearts.nb_current_hearts_displayed / 4) local remaining_fraction = hearts.nb_current_hearts_displayed % 4 if remaining_fraction ~= 0 then local x, y = (i % 10) * 8, math.floor(i / 10) * 8 hearts.all_hearts_img:draw_region((remaining_fraction - 1) * 9, 0, 9, 8, hearts.surface, x, y) end end function hearts:set_dst_position(x, y) hearts.dst_x = x hearts.dst_y = y end function hearts:get_surface() return hearts.surface end function hearts:on_draw(dst_surface) local x, y = hearts.dst_x, hearts.dst_y local width, height = dst_surface:get_size() if x < 0 then x = width + x end if y < 0 then y = height + y end -- Everything was already drawn on self.surface. hearts.surface:set_opacity(hearts.transparent and 128 or 255) hearts.surface:draw(dst_surface, x, y) end -- Sets if the element is semi-transparent or not. function hearts:set_transparent(transparent) if transparent ~= hearts.transparent then hearts.transparent = transparent end end hearts:rebuild_surface() return hearts end return hearts_builder
-------------------------------------------------------------------------------- -- MCMC module. -- -- Copyright (C) 2011-2016 Stefano Peluchetti. All rights reserved. -------------------------------------------------------------------------------- return { nuts = require "sci.mcmc._nuts".mcmc, }
Enemy = Thing:extend("Enemy") function Enemy:new(...) Enemy.super.new(self, ...) self.SFX.hurt = SFX("sfx/enemy_hurt") self.SFX.kill = SFX("sfx/destroy") self.z = ZMAP.Enemy self.floating = false self.bounceOffWalls = true self.walkOffPlatform = false self.nearingEndOfPlatform = false self.canGetSquashed = true self.euroSpawnAmount = 1 end function Enemy:update(dt) if not self.floating and not self.walkOffPlatform then if self.nearingEndOfPlatform then self.velocity.x = -self.velocity.x end end Enemy.super.update(self, dt) self.nearingEndOfPlatform = true end function Enemy:draw() Enemy.super.draw(self) end function Enemy:onOverlap(e, mine, his) if e:is(Player) and his.solid then if self.jumpToKill then if self:fromAbove(his, mine) then self.scene:playSFX(self.SFX.hurt) self:kill() return false else self:onTouchPlayer() end else self:onTouchPlayer() end end if e.solid == 2 then if self.velocity.x < 0 and mine:left() > his:left() then self.nearingEndOfPlatform = false elseif self.velocity.x > 0 and mine:right() < his:right() then self.nearingEndOfPlatform = false end end return Enemy.super.onOverlap(self, e, mine, his) end function Enemy:kill() if not self.dead then self:stopMoving() self:setShader("rgb") self.anim:stop() Enemy.super.kill(self) self:event(function () self:send("dirs", _.rgbdirs()) end, 0.05, 6) end end function Enemy:destroy() for i=1,self.euroSpawnAmount do local euro = Euro(self.x, self.y, true) euro:center(self:center()) self.scene:addEntity(euro) end Enemy.super.destroy(self) end function Enemy:onTouchPlayer() end
local NilInventory = require('model/inventory/nil') -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- local PlayerInventory = NilInventory:NilInventory() PlayerInventory.__index = PlayerInventory -------------------------------------------------------------------------------- function PlayerInventory:PlayerInventory(bag) local o = NilInventory:NilInventory() setmetatable(o, self) o._bag = bag o._items = {} return o end -------------------------------------------------------------------------------- function PlayerInventory:FreeSlots() return self._items.max - self._items.count end -------------------------------------------------------------------------------- function PlayerInventory:ItemCount(id) local count = 0 for _, value in pairs(self._items) do if type(value) == 'table' and value.id == id then count = count + value.count end end return count end -------------------------------------------------------------------------------- function PlayerInventory:ItemIndex(id, mincount, excluded_slots) mincount = mincount and mincount or 1 excluded_slots = excluded_slots and excluded_slots or {} for key, value in pairs(self._items) do if type(value) == 'table' and value.id == id and not excluded_slots[key] and value.count >= mincount then return key end end return NilInventory.ItemIndex(self, id) end -------------------------------------------------------------------------------- function PlayerInventory:Type() return 'PlayerInventory' end -------------------------------------------------------------------------------- function PlayerInventory:Update() local items = windower.ffxi.get_items() if items then self._items = items[self._bag.command] self._items['0'] = { id = 65535, count = items.gil } else self._items = {} end end return PlayerInventory
object_tangible_quest_as_inf02_helm = object_tangible_quest_shared_as_inf02_helm:new { } ObjectTemplates:addTemplate(object_tangible_quest_as_inf02_helm, "object/tangible/quest/as_inf02_helm.iff")
require "Client.Scripts.Modulus.Event.EventMgr"
--[[-- Copyright 2022 brunoais Licensed under the Apache License with acknowledgement, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://github.com/brunoais/lua-module-reload/blob/master/License Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ]] local modules = {} modules.alwaysReload = {} modules.lastImportResult = nil modules.lastImportResultEnum = { LOADED = "LOADED", RELOADED = "RELOADED", FAIL_RECOVER = "FAIL_RECOVER", FAIL = "FAIL", } --[[-- Assign a function to receive a callback for every try to load. For example, for logging purposes @param moduleName the name of the module requested to load @param status One of `modules.lastImportResultEnum` based on the result @param success Whether the next param has the module or an error message (equivalent to the first return of pcall) @param moduleOrMessage the module or the error message when trying to require ]] modules.loadingCallback = function (moduleName, status, success, moduleOrMessage) end local function tryLoad(moduleName, reload) local previousVersion = package.loaded[moduleName] -- reload == false # NO!! -- reload == nil # modules.alwaysReload[moduleName] -- reload == true # YES modules.lastImportInfo = modules.lastImportResultEnum.LOADED if reload ~= false and (reload or modules.alwaysReload[moduleName]) then modules.lastImportInfo = modules.lastImportResultEnum.RELOADED print("reloading", moduleName) package.loaded[moduleName] = nil end local function errorInImport(msg) require "serialize" print("import error (", moduleName, "): ", msg) if previousVersion then package.loaded[moduleName] = previousVersion modules.lastImportInfo = modules.lastImportResultEnum.FAIL_RECOVER else print("No previous module found for", moduleName) modules.lastImportInfo = modules.lastImportResultEnum.FAIL end modules.loadingCallback(moduleName, modules.lastImportInfo, false, msg) return previousVersion end local function load(moduleName) local loaded = require(moduleName) modules.loadingCallback(moduleName, modules.lastImportInfo, true, loaded) return loaded end local status, loaded = xpcall(load, errorInImport, moduleName) return loaded end --[[-- Registers a module on whether it always reloads when it tries to reload. In other words, it can turn all calls to `modules.tryLoad` into `modules.tryReload` without the need to set that for every lua file, if you want dynamic decision. @param moduleName the name of the module to load ]] function modules.registerReload(moduleName, yesNo) modules.alwaysReload[moduleName] = yesNo end local allReloadMetatable = { __index = function(t, key) return true end, } local noneReloadMetatable = { __index = function(t, key) return false end, } --[[-- Sets so all modules reload by default In other words, it turns all calls to `modules.tryRequire` that don't explicitely tell to reload to reload You can override this default with `modules.registerReload` ]] function modules.defaultAllReload() setmetatable(modules.alwaysReload, allReloadMetatable) end --[[-- Sets so no modules reload by default In other words, it turns all calls to `modules.tryRequire` that don't explicitely tell to reload to reload You can override this default with `modules.registerReload` ]] function modules.defaultNoneReload() setmetatable(modules.alwaysReload, noneReloadMetatable) end --[[-- Tries to reload a module. Return the same if it fails Tell Lua to assume the module was never loaded then: 1. Load a new version of it. 2. If the loading fails, return the previously loaded module. 3. If no previously loaded module exists, return Nil If 2 or 3 happen, an error is printed explaining the problem. Additionally, `modules.lastImportResult` is updated with one of modules.lastImportResultEnum depending on the execution. @param moduleName the name of the module to load @param reload (optional) true to reload, false for not reload and nil (defaul) for the default set by `modules.default*Reload` @return The returning value of the module (usually a table). Can either be the old module or the newly loaded module @raise if couldn't load the module ]] function modules.tryRequire(moduleName, ...) return tryLoad(moduleName, ({...})[1] ) end -- By default, no reloads but can be overritten by `modules.defaultAllReload` modules.defaultNoneReload() return modules
local _, C = unpack(select(2, ...)) C.MPDHerbs = { -- http://www.wowhead.com/spell=51005/milling#milled-from:0+1+17-20 [765] = true, -- Silverleaf [785] = true, -- Mageroyal [2447] = true, -- Peacebloom [2449] = true, -- Earthroot [2450] = true, -- Briarthorn [2452] = true, -- Swiftthistle [2453] = true, -- Bruiseweed [3355] = true, -- Wild Steelbloom [3356] = true, -- Kingsblood [3357] = true, -- Liferoot [3358] = true, -- Khadgar's Whisker [3369] = true, -- Grave Moss [3818] = true, -- Fadeleaf [3819] = true, -- Dragon's Teeth [3820] = true, -- Stranglekelp [3821] = true, -- Goldthorn [4625] = true, -- Firebloom [8831] = true, -- Purple Lotus [8836] = true, -- Arthas' Tears [8838] = true, -- Sungrass [8839] = true, -- Blindweed [8845] = true, -- Ghost Mushroom [8846] = true, -- Gromsblood [13463] = true, -- Dreamfoil [13464] = true, -- Golden Sansam [13465] = true, -- Mountain Silversage [13466] = true, -- Sorrowmoss [13467] = true, -- Icecap [22785] = true, -- Felweed [22786] = true, -- Dreaming Glory [22787] = true, -- Ragveil [22789] = true, -- Terocone [22790] = true, -- Ancient Lichen [22791] = true, -- Netherbloom [22792] = true, -- Nightmare Vine [22793] = true, -- Mana Thistle [36901] = true, -- Goldclover [36903] = true, -- Adder's Tongue [36904] = true, -- Tiger Lily [36905] = true, -- Lichbloom [36906] = true, -- Icethorn [36907] = true, -- Talandra's Rose [37921] = true, -- Deadnettle [39969] = true, -- Fire Seed [39970] = true, -- Fire Leaf [52983] = true, -- Cinderbloom [52984] = true, -- Stormvine [52985] = true, -- Azshara's Veil [52986] = true, -- Heartblossom [52987] = true, -- Twilight Jasmine [52988] = true, -- Whiptail [72234] = true, -- Green Tea Leaf [72235] = true, -- Silkweed [72237] = true, -- Rain Poppy [79010] = true, -- Snow Lily [79011] = true, -- Fool's Cap [89639] = true, -- Desecrated Herb [109124] = true, -- Frostweed [109125] = true, -- Fireweed [109126] = true, -- Gorgrond Flytrap [109127] = true, -- Starflower [109128] = true, -- Nagrand Arrowbloom [109129] = true, -- Talador Orchid [124101] = true, -- Aethril [124102] = true, -- Dreamleaf [124103] = true, -- Foxflower [124104] = true, -- Fjarnskaggl [124105] = true, -- Starlight Rose [124106] = true, -- Felwort [128304] = true, -- Yseralline Seed [151565] = true, -- Astral Glory [152511] = true, -- Sea Stalk [152509] = true, -- Siren's Pollen [152508] = true, -- Winter's Kiss [152507] = true, -- Akunda's Bite [152506] = true, -- Star Moss [152505] = true, -- Riverbud [152510] = true, -- Anchor Weed [168487] = true, -- Zin'anthid [168583] = true, -- Widowbloom [168586] = true, -- Rising Glory [168589] = true, -- Marrowroot [169701] = true, -- Deathblossom [170554] = true, -- Vigil's Torch [171315] = true, -- Nightshade } C.MPDOres = { -- http://www.wowhead.com/spell=31252/prospecting#prospected-from:0+1+17-20 [2770] = true, -- Copper Ore [2771] = true, -- Tin Ore [2772] = true, -- Iron Ore [3858] = true, -- Mithril Ore [10620] = true, -- Thorium Ore [23424] = {815, 1}, -- Fel Iron Ore [23425] = {815, 25}, -- Adamantite Ore [36909] = true, -- Cobalt Ore [36910] = true, -- Titanium Ore [36912] = true, -- Saronite Ore [52183] = true, -- Pyrite Ore [52185] = true, -- Elementium Ore [53038] = true, -- Obsidium Ore [72092] = {809, 1}, -- Ghost Iron Ore [72093] = {809, 25}, -- Kyparite [72094] = {809, 75}, -- Black Trillium Ore [72103] = {809, 75}, -- White Trillium Ore [123918] = true, -- Leystone Ore [123919] = true, -- Felslate [151564] = true, -- Empyrium [152579] = true, -- Storm Silver Ore [152512] = true, -- Monelite Ore [152513] = true, -- Platinum Ore [155830] = true, -- Runic Core, BfA Jewelcrafting Quest [168185] = true, -- Osmenite Ore [171828] = true, -- Laestrite [171829] = true, -- Solenium [171830] = true, -- Oxxein [171831] = true, -- Phaedrum [171832] = true, -- Sinvyr [171833] = true, -- Elethium }
slot2 = "DzpkLoadingCcsView" DzpkLoadingCcsView = class(slot1) DzpkLoadingCcsView.onCreationComplete = function (slot0) slot4 = BaseGameLoadingCcsView ClassUtil.extends(slot2, slot0) slot3 = slot0 BaseGameLoadingCcsView.onCreationComplete(slot2) end DzpkLoadingCcsView.createSpineLogo = function (slot0) if not slot0._spineLogo then slot4 = "dzpk_logoqd/dzpk_logoqd.json" slot5 = "dzpk_logoqd/dzpk_logoqd.atlas" slot7 = slot0.controller.getSpinePath(slot0.controller, slot0.controller) slot0._spineLogo = sp.SkeletonAnimation.create(slot0.controller, sp.SkeletonAnimation, slot0.controller.getSpinePath(slot2, slot0.controller)) slot5 = slot0._spineLogo slot0._spineLogo.retain(slot0.controller) end end return
return function(array, target) local function aux(start_index, end_index) if start_index >= end_index then return array[start_index] == target and start_index or -1 end local search_index = math.floor((end_index + start_index) / 2) if array[search_index] == target then return search_index elseif array[search_index] > target then return aux(start_index, search_index - 1) else return aux(search_index + 1, end_index) end end return aux(1, #array) end
--[[ RealMobHealth Overrides Data by SDPhantom https://www.wowinterface.com/forums/member.php?u=34145 ]] ------------------------------------------------------------------ local AddHealthOverride=select(2,...).AddHealthOverride; -- Usage: AddHealthOverride(CreatureKey,MaxHealth) -- [string] CreatureKey Unique identifier of a creature in the form of "<CreatureID>-<Level>" for normal mobs and "<CreatureID>" for raid bosses -- [number] MaxHealth Max health of creature
local _, C, L = unpack(KkthnxUI) C.DeprecatedAuras = { ["Enchant Aura"] = { -- 附魔及饰品组 -- 8.0 { AuraID = 229206, UnitID = "player" }, -- 延时之力 { AuraID = 251231, UnitID = "player" }, -- 钢肤药水 { AuraID = 279151, UnitID = "player" }, -- 智力药水 { AuraID = 279152, UnitID = "player" }, -- 敏捷药水 { AuraID = 279153, UnitID = "player" }, -- 力量药水 { AuraID = 279154, UnitID = "player" }, -- 耐力药水 { AuraID = 298155, UnitID = "player" }, -- 超强钢肤药水 { AuraID = 298152, UnitID = "player" }, -- 超强智力药水 { AuraID = 298146, UnitID = "player" }, -- 超强敏捷药水 { AuraID = 298154, UnitID = "player" }, -- 超强力量药水 { AuraID = 298153, UnitID = "player" }, -- 超强耐力药水 { AuraID = 298225, UnitID = "player" }, -- 邻位强化药水 { AuraID = 298317, UnitID = "player" }, -- 专注决心药水 { AuraID = 300714, UnitID = "player" }, -- 无拘之怒药水 { AuraID = 300741, UnitID = "player" }, -- 狂野愈合药水 { AuraID = 188024, UnitID = "player" }, -- 天行药水 { AuraID = 250878, UnitID = "player" }, -- 轻足药水 { AuraID = 290365, UnitID = "player" }, -- 辉煌蓝宝石 { AuraID = 277179, UnitID = "player" }, -- 角斗士勋章 { AuraID = 277181, UnitID = "player" }, -- 角斗士徽记 { AuraID = 277187, UnitID = "player" }, -- 角斗士纹章 { AuraID = 277185, UnitID = "player" }, -- 角斗士徽章 { AuraID = 286342, UnitID = "player", Value = true }, -- 角斗士的护徽 { AuraID = 275765, UnitID = "player" }, -- 艾泽里特强化 { AuraID = 271194, UnitID = "player" }, -- 火炮 { AuraID = 273992, UnitID = "player" }, -- 灵魂之速 { AuraID = 273955, UnitID = "player" }, -- 望远镜视野 { AuraID = 267612, UnitID = "player" }, -- 迅击风暴 { AuraID = 268887, UnitID = "player" }, -- 迅捷远航 { AuraID = 268893, UnitID = "player" }, -- 迅捷远航 { AuraID = 268854, UnitID = "player" }, -- 全能远航 { AuraID = 268856, UnitID = "player" }, -- 全能远航 { AuraID = 268904, UnitID = "player" }, -- 致命远航 { AuraID = 268905, UnitID = "player" }, -- 致命远航 { AuraID = 268898, UnitID = "player" }, -- 精湛远航 { AuraID = 268899, UnitID = "player" }, -- 精湛远航 { AuraID = 264957, UnitID = "player" }, -- 急速瞄准镜 { AuraID = 264878, UnitID = "player" }, -- 爆击瞄准镜 { AuraID = 267685, UnitID = "player" }, -- 元素洪流 { AuraID = 274472, UnitID = "player" }, -- 狂战士之怒 { AuraID = 268769, UnitID = "player" }, -- 标记死穴 { AuraID = 267179, UnitID = "player" }, -- 瓶中的电荷 { AuraID = 278070, UnitID = "player" }, -- 泰坦过载 { AuraID = 271103, UnitID = "player" }, -- 莱赞的微光之眼 { AuraID = 273942, UnitID = "player" }, -- 提振精神 { AuraID = 268518, UnitID = "player" }, -- 狂风风铃 { AuraID = 265946, UnitID = "player", Value = true }, -- 仪式裹手 { AuraID = 278143, UnitID = "player" }, -- 血珠狂怒 { AuraID = 278381, UnitID = "player" }, -- 海上风暴 { AuraID = 273974, UnitID = "player" }, -- 洛阿意志 { AuraID = 271105, UnitID = "player" }, -- 屠夫之眼 { AuraID = 271107, UnitID = "player" }, -- 金色光泽 { AuraID = 278231, UnitID = "player" }, -- 森林之王的愤怒 { AuraID = 278267, UnitID = "player" }, -- 森林之王的智慧 { AuraID = 268311, UnitID = "player", Flash = true }, -- 唤风者之赐 { AuraID = 285489, UnitID = "player" }, -- 黑喉之力 { AuraID = 278317, UnitID = "player" }, -- 末日余波 { AuraID = 278806, UnitID = "player" }, -- 雄狮谋略 { AuraID = 278249, UnitID = "player" }, -- 刀叶风暴 { AuraID = 287916, UnitID = "player", Stack = 6, Flash = true, Combat = true }, -- 反应堆 { AuraID = 287917, UnitID = "player" }, -- 振荡过载 { AuraID = 265954, UnitID = "player" }, -- 黄金之触 { AuraID = 268439, UnitID = "player" }, -- 共鸣之心 { AuraID = 278225, UnitID = "player" }, -- 缚魂巫毒瘤节 { AuraID = 278388, UnitID = "player" }, -- 永冻护壳之心 { AuraID = 274430, UnitID = "player", Text = L["Haste"] }, -- 永不间断的时钟,急速 { AuraID = 274431, UnitID = "player", Text = L["Mastery"] }, -- 精通 --{AuraID = 267325, UnitID = "player", Text = L["Mastery"]}, -- 注铅骰子,精通 --{AuraID = 267326, UnitID = "player", Text = L["Mastery"]}, -- 精通 --{AuraID = 267327, UnitID = "player", Text = L["Haste"]}, -- 急速 --{AuraID = 267329, UnitID = "player", Text = L["Haste"]}, -- 急速 --{AuraID = 267330, UnitID = "player", Text = L["Crit"]}, -- 爆击 --{AuraID = 267331, UnitID = "player", Text = L["Crit"]}, -- 爆击 { AuraID = 280573, UnitID = "player", Combat = true }, -- 重组阵列 { AuraID = 289523, UnitID = "player", Combat = true }, -- 耀辉之光 { AuraID = 295408, UnitID = "player" }, -- 险恶赐福 { AuraID = 273988, UnitID = "player" }, -- 原始本能 { AuraID = 285475, UnitID = "player" }, -- 卡亚矿涌流 { AuraID = 306242, UnitID = "player" }, -- 红卡重置 { AuraID = 285482, UnitID = "player" }, -- 海巨人的凶猛 { AuraID = 303570, UnitID = "player", Flash = true }, -- 锋锐珊瑚 { AuraID = 303568, UnitID = "target", Caster = "player" }, -- 锋锐珊瑚 { AuraID = 301624, UnitID = "target", Caster = "player" }, -- 颤栗毒素 { AuraID = 302565, UnitID = "target", Caster = "player" }, -- 导电墨汁 { AuraID = 296962, UnitID = "player" }, -- 艾萨拉饰品 { AuraID = 315787, UnitID = "player", Caster = "player" }, -- 生命充能 -- 艾泽里特特质 { AuraID = 274598, UnitID = "player" }, -- 冲击大师 { AuraID = 277960, UnitID = "player" }, -- 神经电激 { AuraID = 280852, UnitID = "player" }, -- 解放者之力 { AuraID = 266047, UnitID = "player" }, -- 激励咆哮 { AuraID = 280409, UnitID = "player" }, -- 血祭之力 { AuraID = 279902, UnitID = "player" }, -- 不稳定的烈焰 { AuraID = 281843, UnitID = "player" }, -- 汇帆 { AuraID = 280204, UnitID = "player" }, -- 徘徊的灵魂 { AuraID = 273685, UnitID = "player" }, -- 缜密计谋 { AuraID = 273714, UnitID = "player" }, -- 争分夺秒 { AuraID = 274443, UnitID = "player" }, -- 死亡之舞 { AuraID = 280433, UnitID = "player" }, -- 呼啸狂沙 { AuraID = 271711, UnitID = "player" }, -- 压倒能量 { AuraID = 272733, UnitID = "player" }, -- 弦之韵律 { AuraID = 280780, UnitID = "player" }, -- 战斗荣耀 { AuraID = 280787, UnitID = "player" }, -- 反击之怒 { AuraID = 280385, UnitID = "player" }, -- 压力渐增 { AuraID = 273842, UnitID = "player" }, -- 深渊秘密 { AuraID = 273843, UnitID = "player" }, -- 深渊秘密 { AuraID = 280412, UnitID = "player" }, -- 激励兽群 { AuraID = 274596, UnitID = "player" }, -- 冲击大师 { AuraID = 277969, UnitID = "player" }, -- 迅疾爪击 { AuraID = 273264, UnitID = "player" }, -- 怒火升腾 { AuraID = 280653, UnitID = "player" }, -- 工程特质,变小 { AuraID = 280654, UnitID = "player" }, -- 工程特质,变大 { AuraID = 273525, UnitID = "player" }, -- 大难临头 { AuraID = 274373, UnitID = "player" }, -- 溃烂之力 { AuraID = 280170, UnitID = "player", Value = true }, -- 假死盾 -- 艾泽里特精华 { AuraID = 302932, UnitID = "player", Flash = true }, -- 无畏之力 { AuraID = 297126, UnitID = "player" }, -- 仇敌之血 { AuraID = 297168, UnitID = "player" }, -- 仇敌之血 { AuraID = 304056, UnitID = "player" }, -- 斗争 { AuraID = 298343, UnitID = "player" }, -- 清醒梦境 { AuraID = 295855, UnitID = "player" }, -- 艾泽拉斯守护者 { AuraID = 295248, UnitID = "player" }, -- 专注能量 { AuraID = 298357, UnitID = "player" }, -- 清醒梦境之忆 { AuraID = 302731, UnitID = "player", Flash = true }, -- 空间涟漪 { AuraID = 302952, UnitID = "player" }, -- 现实流转 { AuraID = 295137, UnitID = "player", Flash = true }, -- 源血 { AuraID = 311203, UnitID = "player" }, -- 光荣时刻 { AuraID = 311202, UnitID = "player" }, -- 收割火焰 { AuraID = 312915, UnitID = "player" }, -- 共生姿态 { AuraID = 295354, UnitID = "player" }, -- 精华协议 -- 腐蚀 { AuraID = 318378, UnitID = "player", Flash = true }, -- 坚定决心,橙披 { AuraID = 317859, UnitID = "player" }, -- 龙族强化,橙披 -- 泰坦之路系列饰品 { AuraID = 256816, UnitID = "player" }, -- 阿格拉玛的信念 { AuraID = 256831, UnitID = "player" }, -- 阿格拉玛的信念 { AuraID = 256818, UnitID = "player" }, -- 阿曼苏尔的预见 { AuraID = 256832, UnitID = "player" }, -- 阿曼苏尔的预见 { AuraID = 256833, UnitID = "player" }, -- 高戈奈斯的活力 { AuraID = 256834, UnitID = "player" }, -- 艾欧娜尔的怜悯 { AuraID = 256826, UnitID = "player" }, -- 卡兹格罗斯的勇气 { AuraID = 256835, UnitID = "player" }, -- 卡兹格罗斯的勇气 { AuraID = 256828, UnitID = "player" }, -- 诺甘农的威能 { AuraID = 256836, UnitID = "player" }, -- 诺甘农的威能 }, ["Raid Debuff"] = { -- 团队减益组 -- 8.0 5人本 { AuraID = 314478, UnitID = "player" }, -- 倾泻恐惧 { AuraID = 314483, UnitID = "player" }, -- 倾泻恐惧 { AuraID = 314411, UnitID = "player" }, -- 疑云密布 { AuraID = 314406, UnitID = "player" }, -- 致残疾病 { AuraID = 314565, UnitID = "player", Flash = true }, -- 亵渎大地 { AuraID = 314392, UnitID = "player", Flash = true }, -- 邪恶腐化物 { AuraID = 314308, UnitID = "player", Flash = true }, -- 灵魂毁灭 { AuraID = 314531, UnitID = "player" }, -- 撕扯血肉 { AuraID = 302420, UnitID = "player" }, -- 女王法令:隐藏 { AuraID = 260954, UnitID = "player" }, -- 铁之凝视,围攻 { AuraID = 272421, UnitID = "player" }, -- 瞄准火炮,围攻 { AuraID = 265773, UnitID = "player" }, -- 吐金,诸王 { AuraID = 271564, UnitID = "player", Flash = true }, -- 防腐液,诸王 { AuraID = 271640, UnitID = "player" }, -- 黑暗启示,诸王 { AuraID = 274507, UnitID = "player" }, -- 湿滑肥皂,自由镇 { AuraID = 266923, UnitID = "player" }, -- 充电,神庙 { AuraID = 273563, UnitID = "player", Text = L["Freeze"] }, -- 神经毒素,神庙 { AuraID = 269686, UnitID = "player" }, -- 瘟疫,神庙 { AuraID = 257407, UnitID = "player" }, -- 追踪,阿塔达萨 { AuraID = 250585, UnitID = "player", Flash = true }, -- 剧毒之池,阿塔达萨 { AuraID = 258723, UnitID = "player", Flash = true }, -- 怪诞之池,阿塔达萨 { AuraID = 258058, UnitID = "player" }, -- 挤压,托尔达戈 { AuraID = 260067, UnitID = "player" }, -- 恶毒槌击,托尔达戈 { AuraID = 273226, UnitID = "player" }, -- 腐烂孢子,孢林 { AuraID = 269838, UnitID = "player", Flash = true }, -- 邪恶污染,孢林 { AuraID = 259718, UnitID = "player" }, -- 颠覆 { AuraID = 276297, UnitID = "player" }, -- 虚空种子,风暴神殿 { AuraID = 274438, UnitID = "player", Flash = true }, -- 风暴 { AuraID = 276286, UnitID = "player" }, -- 切割旋风 { AuraID = 267818, UnitID = "player" }, -- 切割冲击 { AuraID = 268086, UnitID = "player", Text = L["Move"] }, -- 恐怖光环,庄园 { AuraID = 298602, UnitID = "player" }, -- 烟云,麦卡贡 { AuraID = 293724, UnitID = "player" }, -- 护盾发生器 { AuraID = 297257, UnitID = "player" }, -- 电荷充能 { AuraID = 303885, UnitID = "player" }, -- 爆裂喷发 { AuraID = 291928, UnitID = "player" }, -- 超荷电磁炮 { AuraID = 292267, UnitID = "player" }, -- 超荷电磁炮 { AuraID = 305699, UnitID = "player" }, -- 锁定 { AuraID = 302274, UnitID = "player" }, -- 爆裂冲击 { AuraID = 298669, UnitID = "player" }, -- 跳电 { AuraID = 294929, UnitID = "player" }, -- 烈焰撕咬 { AuraID = 291937, UnitID = "player", Flash = true }, -- 垃圾掩体 { AuraID = 259533, UnitID = "player", Flash = true }, -- 艾泽里特催化剂,暴富 -- 尼奥罗萨 -- 黑龙帝王拉希奥 { AuraID = 306015, UnitID = "player" }, -- 灼烧护甲 { AuraID = 306163, UnitID = "player" }, -- 万物尽焚 { AuraID = 313959, UnitID = "player", Flash = true }, -- 灼热气泡 { AuraID = 307053, UnitID = "player", Flash = true }, -- 岩浆池 { AuraID = 314347, UnitID = "player" }, -- 毒扼 -- 玛乌特 { AuraID = 307399, UnitID = "player" }, -- 暗影之伤 { AuraID = 307806, UnitID = "player" }, -- 吞噬魔法 { AuraID = 307586, UnitID = "player" }, -- 噬魔深渊 { AuraID = 306301, UnitID = "player" }, -- 禁忌法力 { AuraID = 315025, UnitID = "player" }, -- 远古诅咒 { AuraID = 314993, UnitID = "player", Flash = true }, -- 吸取精华 -- 先知斯基特拉 { AuraID = 308059, UnitID = "player" }, -- 暗影震击 { AuraID = 307950, UnitID = "player", Flash = true }, -- 心智剥离 -- 黑暗审判官夏奈什 { AuraID = 311551, UnitID = "player" }, -- 深渊打击 { AuraID = 312406, UnitID = "player" }, -- 虚空觉醒 { AuraID = 314298, UnitID = "player", Flash = true }, -- 末日迫近 { AuraID = 316211, UnitID = "player" }, -- 恐惧浪潮 -- 主脑 { AuraID = 313461, UnitID = "player" }, -- 腐蚀 { AuraID = 315311, UnitID = "player" }, -- 毁灭 { AuraID = 313672, UnitID = "player", Flash = true }, -- 酸液池 { AuraID = 314593, UnitID = "player" }, -- 麻痹毒液 -- 无厌者夏德哈 { AuraID = 307471, UnitID = "player" }, -- 碾压 { AuraID = 307472, UnitID = "player" }, -- 融解 { AuraID = 306928, UnitID = "player" }, -- 幽影吐息 { AuraID = 306930, UnitID = "player" }, -- 熵能暗息 { AuraID = 314736, UnitID = "player", Flash = true }, -- 气泡流溢 { AuraID = 318078, UnitID = "player", Flash = true, Text = L["Get Out"] }, -- 锁定 -- 德雷阿佳丝 { AuraID = 310277, UnitID = "player" }, -- 动荡之种 { AuraID = 310309, UnitID = "player" }, -- 动荡易伤 { AuraID = 310361, UnitID = "player" }, -- 不羁狂乱 { AuraID = 308377, UnitID = "player" }, -- 虚化脓液 { AuraID = 317001, UnitID = "player" }, -- 暗影排异 { AuraID = 310563, UnitID = "player" }, -- 背叛低语 { AuraID = 310567, UnitID = "player" }, -- 背叛者 -- 伊格诺斯,重生之蚀 { AuraID = 309961, UnitID = "player" }, -- 恩佐斯之眼 { AuraID = 311367, UnitID = "player" }, -- 腐蚀者之触 { AuraID = 310322, UnitID = "player", Flash = true }, -- 梦魇腐蚀 { AuraID = 313759, UnitID = "player" }, -- 诅咒之血 -- 维克修娜 { AuraID = 307359, UnitID = "player" }, -- 绝望 { AuraID = 307020, UnitID = "player" }, -- 暮光之息 { AuraID = 307019, UnitID = "player" }, -- 虚空腐蚀 { AuraID = 306981, UnitID = "player" }, -- 虚空之赐 { AuraID = 310224, UnitID = "player" }, -- 毁灭 { AuraID = 307314, UnitID = "player" }, -- 渗透暗影 { AuraID = 307343, UnitID = "player" }, -- 暗影残渣 { AuraID = 307645, UnitID = "player" }, -- 黑暗之心 { AuraID = 315932, UnitID = "player" }, -- 蛮力重击 -- 虚无者莱登 { AuraID = 313977, UnitID = "player" }, -- 虚空诅咒,小怪 { AuraID = 306184, UnitID = "player", Value = true }, -- 释放的虚空 { AuraID = 306819, UnitID = "player" }, -- 虚化重击 { AuraID = 306279, UnitID = "player" }, -- 动荡暴露 { AuraID = 306637, UnitID = "player" }, -- 不稳定的虚空爆发 { AuraID = 309777, UnitID = "player" }, -- 虚空污秽 { AuraID = 313227, UnitID = "player" }, -- 腐坏伤口 { AuraID = 310019, UnitID = "player" }, -- 充能锁链 { AuraID = 310022, UnitID = "player" }, -- 充能锁链 { AuraID = 315252, UnitID = "player" }, -- 恐怖炼狱 { AuraID = 316065, UnitID = "player" }, -- 腐化存续 -- 恩佐斯的外壳 { AuraID = 307832, UnitID = "player" }, -- 恩佐斯的仆从 { AuraID = 313334, UnitID = "player" }, -- 恩佐斯之赐 { AuraID = 315954, UnitID = "player" }, -- 漆黑伤疤 { AuraID = 307044, UnitID = "player" }, -- 梦魇抗原 { AuraID = 307011, UnitID = "player" }, -- 疯狂繁衍 { AuraID = 307061, UnitID = "player" }, -- 菌丝生长 { AuraID = 306973, UnitID = "player" }, -- 疯狂炸弹 { AuraID = 306984, UnitID = "player" }, -- 狂乱炸弹 -- 腐蚀者恩佐斯 { AuraID = 308996, UnitID = "player" }, -- 恩佐斯的仆从 { AuraID = 313609, UnitID = "player" }, -- 恩佐斯之赐 { AuraID = 309991, UnitID = "player" }, -- 痛楚 { AuraID = 316711, UnitID = "player" }, -- 意志摧毁 { AuraID = 313400, UnitID = "player" }, -- 堕落心灵 { AuraID = 316542, UnitID = "player" }, -- 妄念 { AuraID = 316541, UnitID = "player" }, -- 妄念 { AuraID = 310042, UnitID = "player" }, -- 混乱爆发 { AuraID = 313793, UnitID = "player" }, -- 狂乱之火 { AuraID = 313610, UnitID = "player" }, -- 精神腐烂 { AuraID = 311392, UnitID = "player" }, -- 心灵之握 { AuraID = 310073, UnitID = "player" }, -- 心灵之握 { AuraID = 317112, UnitID = "player" }, -- 激荡痛楚 -- 永恒王宫 -- 深渊指挥官西瓦拉 { AuraID = 295795, UnitID = "player", Flash = true, Text = L["Move"] }, -- 冻结之血 { AuraID = 295796, UnitID = "player", Flash = true, Text = L["Freeze"] }, -- 漫毒之血 { AuraID = 295807, UnitID = "player" }, -- 冻结之血 { AuraID = 295850, UnitID = "player" }, -- 癫狂 { AuraID = 294847, UnitID = "player" }, -- 不稳定混合物 { AuraID = 300883, UnitID = "player" }, -- 倒置之疾 { AuraID = 300701, UnitID = "player" }, -- 白霜 { AuraID = 300705, UnitID = "player" }, -- 脓毒污染 { AuraID = 295348, UnitID = "player" }, -- 溢流寒霜 { AuraID = 295421, UnitID = "player" }, -- 溢流毒液 { AuraID = 300961, UnitID = "player", Flash = true }, -- 冰霜之地 { AuraID = 300962, UnitID = "player", Flash = true }, -- 败血之地 -- 黑水巨鳗 { AuraID = 298428, UnitID = "player" }, -- 暴食 { AuraID = 292127, UnitID = "player", Flash = true }, -- 墨黑深渊 { AuraID = 292138, UnitID = "player" }, -- 辐光生物质 { AuraID = 292133, UnitID = "player" }, -- 生物体荧光 { AuraID = 301968, UnitID = "player" }, -- 生物体荧光,小怪 { AuraID = 292167, UnitID = "player" }, -- 剧毒脊刺 { AuraID = 301180, UnitID = "player" }, -- 冲流 { AuraID = 298595, UnitID = "player" }, -- 发光的钉刺 { AuraID = 292307, UnitID = "player", Flash = true }, -- 深渊凝视 -- 艾萨拉之辉 { AuraID = 296566, UnitID = "player" }, -- 海潮之拳 { AuraID = 296737, UnitID = "player", Flash = true }, -- 奥术炸弹 { AuraID = 296746, UnitID = "player" }, -- 奥术炸弹 { AuraID = 299152, UnitID = "player" }, -- 翻滚之水 -- 艾什凡女勋爵 { AuraID = 303630, UnitID = "player" }, -- 爆裂之黯,小怪 { AuraID = 296725, UnitID = "player" }, -- 壶蔓猛击 { AuraID = 296693, UnitID = "player" }, -- 浸水 { AuraID = 296752, UnitID = "player" }, -- 锋利的珊瑚 { AuraID = 296938, UnitID = "player" }, -- 艾泽里特弧光 { AuraID = 296941, UnitID = "player" }, { AuraID = 296942, UnitID = "player" }, { AuraID = 296939, UnitID = "player" }, { AuraID = 296940, UnitID = "player" }, { AuraID = 296943, UnitID = "player" }, -- 奥戈佐亚 { AuraID = 298156, UnitID = "player" }, -- 麻痹钉刺 { AuraID = 298459, UnitID = "player" }, -- 羊水喷发 { AuraID = 295779, UnitID = "player", Flash = true }, -- 水舞长枪 { AuraID = 300244, UnitID = "player", Flash = true }, -- 狂怒急流 -- 女王法庭 { AuraID = 297585, UnitID = "player" }, -- 服从或受苦 { AuraID = 301830, UnitID = "player" }, -- 帕什玛之触 { AuraID = 301832, UnitID = "player" }, -- 疯狂热诚 { AuraID = 296851, UnitID = "player", Flash = true, Text = L["Get Out"] }, -- 狂热裁决 { AuraID = 299914, UnitID = "player" }, -- 狂热冲锋 { AuraID = 300545, UnitID = "player" }, -- 力量决裂 { AuraID = 304409, UnitID = "player", Flash = true }, -- 重复行动 { AuraID = 304410, UnitID = "player", Flash = true }, -- 重复行动 { AuraID = 304128, UnitID = "player", Text = L["Move"] }, -- 缓刑 { AuraID = 297586, UnitID = "player", Flash = true }, -- 承受折磨 -- 扎库尔,尼奥罗萨先驱 { AuraID = 298192, UnitID = "player", Flash = true }, -- 黑暗虚空 { AuraID = 295480, UnitID = "player" }, -- 心智锁链 { AuraID = 295495, UnitID = "player" }, { AuraID = 300133, UnitID = "player", Flash = true }, -- 折断 { AuraID = 292963, UnitID = "player" }, -- 惊惧 { AuraID = 293509, UnitID = "player", Flash = true }, -- 惊惧 { AuraID = 295327, UnitID = "player", Flash = true }, -- 碎裂心智 { AuraID = 296018, UnitID = "player", Flash = true }, -- 癫狂惊惧 { AuraID = 296015, UnitID = "player" }, -- 腐蚀谵妄 -- 艾萨拉女王 { AuraID = 297907, UnitID = "player", Flash = true }, -- 诅咒之心 { AuraID = 299251, UnitID = "player" }, -- 服从! { AuraID = 299249, UnitID = "player" }, -- 受苦! { AuraID = 299255, UnitID = "player" }, -- 出列! { AuraID = 299254, UnitID = "player" }, -- 集合! { AuraID = 299252, UnitID = "player" }, -- 前进! { AuraID = 299253, UnitID = "player" }, -- 停留! { AuraID = 298569, UnitID = "player" }, -- 干涸灵魂 { AuraID = 298014, UnitID = "player" }, -- 冰爆 { AuraID = 298018, UnitID = "player", Flash = true }, -- 冻结 { AuraID = 298756, UnitID = "player" }, -- 锯齿之锋 { AuraID = 298781, UnitID = "player" }, -- 奥术宝珠 { AuraID = 303825, UnitID = "player", Flash = true }, -- 溺水 { AuraID = 302999, UnitID = "player" }, -- 奥术易伤 { AuraID = 303657, UnitID = "player", Flash = true }, -- 奥术震爆 -- 风暴熔炉 { AuraID = 282384, UnitID = "player" }, -- 精神割裂,无眠秘党 { AuraID = 282566, UnitID = "player" }, -- 力量应许 { AuraID = 282561, UnitID = "player" }, -- 黑暗通报者 { AuraID = 282432, UnitID = "player", Text = L["Get Out"] }, -- 粉碎之疑 { AuraID = 282621, UnitID = "player" }, -- 终焉见证 { AuraID = 282743, UnitID = "player" }, -- 风暴湮灭 { AuraID = 282738, UnitID = "player" }, -- 虚空之拥 { AuraID = 282589, UnitID = "player" }, -- 脑髓侵袭 { AuraID = 287876, UnitID = "player" }, -- 黑暗吞噬 { AuraID = 282540, UnitID = "player" }, -- 死亡化身 { AuraID = 284851, UnitID = "player" }, -- 末日之触,乌纳特 { AuraID = 285652, UnitID = "player" }, -- 贪食折磨 { AuraID = 285685, UnitID = "player" }, -- 恩佐斯之赐:疯狂 { AuraID = 284804, UnitID = "player" }, -- 深渊护持 { AuraID = 285477, UnitID = "player" }, -- 渊黯 { AuraID = 285367, UnitID = "player" }, -- 恩佐斯的穿刺凝视 { AuraID = 284733, UnitID = "player", Flash = true }, -- 虚空之拥 -- 达萨罗之战 { AuraID = 283573, UnitID = "player" }, -- 圣洁之刃,圣光勇士 { AuraID = 285671, UnitID = "player" }, -- 碾碎,丛林之王格洛恩 { AuraID = 285998, UnitID = "player" }, -- 凶狠咆哮 { AuraID = 285875, UnitID = "player" }, -- 撕裂噬咬 { AuraID = 283069, UnitID = "player", Flash = true }, -- 原子烈焰 { AuraID = 286434, UnitID = "player", Flash = true }, -- 死疽之核 { AuraID = 289406, UnitID = "player" }, -- 蛮兽压掷 { AuraID = 286988, UnitID = "player" }, -- 炽热余烬,玉火大师 { AuraID = 284374, UnitID = "player" }, -- 熔岩陷阱 { AuraID = 282037, UnitID = "player" }, -- 升腾之焰 { AuraID = 286379, UnitID = "player" }, -- 炎爆术 { AuraID = 285632, UnitID = "player" }, -- 追踪 { AuraID = 288151, UnitID = "player" }, -- 考验后遗症 { AuraID = 284089, UnitID = "player" }, -- 成功防御 { AuraID = 287424, UnitID = "player" }, -- 窃贼的报应,丰灵 { AuraID = 284527, UnitID = "player" }, -- 坚毅宝石 { AuraID = 284556, UnitID = "player" }, -- 暗影触痕 { AuraID = 284573, UnitID = "player" }, -- 顺风之力 { AuraID = 284664, UnitID = "player" }, -- 炽热 { AuraID = 284798, UnitID = "player" }, -- 极度炽热 { AuraID = 284802, UnitID = "player", Flash = true }, -- 闪耀光环 { AuraID = 284817, UnitID = "player" }, -- 地之根系 { AuraID = 284881, UnitID = "player" }, -- 怒意释放 { AuraID = 283507, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 爆裂充能 { AuraID = 287648, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 爆裂充能 { AuraID = 287072, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 液态黄金 { AuraID = 284424, UnitID = "player", Flash = true }, -- 灼烧之地 { AuraID = 285014, UnitID = "player", Flash = true }, -- 金币雨 { AuraID = 285479, UnitID = "player", Flash = true }, -- 烈焰喷射 { AuraID = 283947, UnitID = "player", Flash = true }, -- 烈焰喷射 { AuraID = 289383, UnitID = "player", Flash = true }, -- 混沌位移 { AuraID = 291146, UnitID = "player", Text = L["Freeze"], Flash = true }, -- 混沌位移 { AuraID = 284470, UnitID = "player", Text = L["Freeze"], Flash = true }, -- 昏睡妖术 { AuraID = 282444, UnitID = "player" }, -- 裂爪猛击,神选者教团 { AuraID = 286838, UnitID = "player" }, -- 静电之球 { AuraID = 285879, UnitID = "player" }, -- 记忆清除 { AuraID = 282135, UnitID = "player" }, -- 恶意妖术 { AuraID = 282209, UnitID = "player", Flash = true }, -- 掠食印记 { AuraID = 286821, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 阿昆达的愤怒 { AuraID = 284831, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 炽焰引爆,拉斯塔哈大王 { AuraID = 284662, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 净化之印 { AuraID = 290450, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 净化之印 { AuraID = 289858, UnitID = "player" }, -- 碾压 { AuraID = 284740, UnitID = "player" }, -- 重斧掷击 { AuraID = 284781, UnitID = "player" }, -- 重斧掷击 { AuraID = 285195, UnitID = "player" }, -- 寂灭凋零 { AuraID = 288449, UnitID = "player" }, -- 死亡之门 { AuraID = 284376, UnitID = "player" }, -- 死亡的存在 { AuraID = 285349, UnitID = "player" }, -- 赤焰瘟疫 { AuraID = 287147, UnitID = "player", Flash = true }, -- 恐惧收割 { AuraID = 284168, UnitID = "player" }, -- 缩小,大工匠梅卡托克 { AuraID = 282182, UnitID = "player" }, -- 毁灭加农炮 { AuraID = 286516, UnitID = "player" }, -- 反干涉震击 { AuraID = 286480, UnitID = "player" }, -- 反干涉震击 { AuraID = 287167, UnitID = "player" }, -- 基因解组 { AuraID = 286105, UnitID = "player" }, -- 干涉 { AuraID = 286646, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 千兆伏特充能 { AuraID = 285075, UnitID = "player", Flash = true }, -- 冰封潮汐池,风暴之墙阻击战 { AuraID = 284121, UnitID = "player", Flash = true }, -- 雷霆轰鸣 { AuraID = 285000, UnitID = "player" }, -- 海藻缠裹 { AuraID = 285350, UnitID = "player", Flash = true }, -- 风暴哀嚎 { AuraID = 285426, UnitID = "player", Flash = true }, -- 风暴哀嚎 { AuraID = 287490, UnitID = "player" }, -- 冻结,吉安娜 { AuraID = 287993, UnitID = "player" }, -- 寒冰之触 { AuraID = 285253, UnitID = "player" }, -- 寒冰碎片 { AuraID = 288394, UnitID = "player" }, -- 热量 { AuraID = 288212, UnitID = "player" }, -- 舷侧攻击 { AuraID = 288374, UnitID = "player" }, -- 破城者炮击 -- 奥迪尔 { AuraID = 271224, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 赤红迸发,塔罗克 { AuraID = 271225, UnitID = "player", Text = L["Get Out"], Flash = true }, { AuraID = 278888, UnitID = "player", Text = L["Get Out"], Flash = true }, { AuraID = 278889, UnitID = "player", Text = L["Get Out"], Flash = true }, { AuraID = 267787, UnitID = "player" }, -- 消毒打击,纯净圣母 { AuraID = 262313, UnitID = "player" }, -- 恶臭沼气,腐臭吞噬者 { AuraID = 265237, UnitID = "player" }, -- 粉碎,泽克沃兹 { AuraID = 265264, UnitID = "player" }, -- 虚空鞭笞,泽克沃兹 { AuraID = 265360, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 翻滚欺诈,泽克沃兹 { AuraID = 265662, UnitID = "player" }, -- 腐化者的契约,泽克沃兹 { AuraID = 265127, UnitID = "player" }, -- 持续感染,维克提斯 { AuraID = 265129, UnitID = "player" }, -- 终极菌体,维克提斯 { AuraID = 267160, UnitID = "player" }, { AuraID = 267161, UnitID = "player" }, { AuraID = 274990, UnitID = "player", Flash = true }, -- 破裂损伤,维克提斯 { AuraID = 273434, UnitID = "player" }, -- 绝望深渊,祖尔 { AuraID = 274271, UnitID = "player" }, -- 死亡之愿,祖尔 { AuraID = 273365, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 黑暗启示,祖尔 { AuraID = 272146, UnitID = "player" }, -- 毁灭,拆解者 { AuraID = 272536, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 毁灭迫近,拆解者 { AuraID = 274262, UnitID = "player", Text = L["Get Out"], Flash = true }, -- 爆炸腐蚀,戈霍恩 { AuraID = 267409, UnitID = "player" }, -- 黑暗交易,戈霍恩 { AuraID = 263227, UnitID = "player" }, -- 腐败之血,戈霍恩 { AuraID = 267700, UnitID = "player" }, -- 戈霍恩的凝视,戈霍恩 { AuraID = 273405, UnitID = "player" }, -- 黑暗交易,戈霍恩 -- 翡翠梦魇 -- 尼珊德拉 { AuraID = 221028, UnitID = "player" }, -- 不稳定的腐烂,小怪 { AuraID = 204504, UnitID = "player" }, -- 感染 { AuraID = 205043, UnitID = "player" }, -- 感染意志 { AuraID = 203096, UnitID = "player" }, -- 溃烂 { AuraID = 204463, UnitID = "player" }, -- 爆裂溃烂 { AuraID = 203646, UnitID = "player" }, -- 腐蚀爆发 -- 伊格诺斯,腐蚀之心 { AuraID = 210099, UnitID = "player" }, -- 锁定 { AuraID = 209469, UnitID = "player" }, -- 腐蚀之触 { AuraID = 210984, UnitID = "player" }, -- 命运之眼 { AuraID = 208929, UnitID = "player" }, -- 腐化吐息 { AuraID = 215128, UnitID = "player" }, -- 诅咒之血 { AuraID = 209471, UnitID = "player" }, -- 梦魇爆破 -- 艾乐瑞瑟雷弗拉尔 { AuraID = 210228, UnitID = "player" }, -- 流毒獠牙 { AuraID = 215300, UnitID = "player" }, -- 痛苦之网 { AuraID = 215307, UnitID = "player" }, -- 痛苦之网 { AuraID = 215460, UnitID = "player" }, -- 死灵毒液 { AuraID = 210850, UnitID = "player" }, -- 扭曲暗影 { AuraID = 215582, UnitID = "player" }, -- 邪掠之爪 { AuraID = 218519, UnitID = "player" }, -- 狂风燃烧 -- 乌索克 { AuraID = 197943, UnitID = "player" }, -- 易伤 { AuraID = 204859, UnitID = "player" }, -- 撕裂肉体 { AuraID = 198006, UnitID = "player" }, -- 专注凝视 { AuraID = 198108, UnitID = "player" }, -- 势如破竹 -- 梦魇之龙 { AuraID = 204731, UnitID = "player" }, -- 恐惧蔓延 { AuraID = 205341, UnitID = "player" }, -- 渗透之雾 { AuraID = 203770, UnitID = "player" }, -- 被亵渎的藤曼 { AuraID = 204078, UnitID = "player" }, -- 低吼 { AuraID = 203110, UnitID = "player" }, -- 嗜睡梦魇 { AuraID = 203787, UnitID = "player" }, -- 快速传染 { AuraID = 214543, UnitID = "player" }, -- 坍缩梦魇 -- 塞纳留斯 { AuraID = 210315, UnitID = "player" }, -- 梦魇荆棘 { AuraID = 211989, UnitID = "player" }, -- 狂暴之触 { AuraID = 216516, UnitID = "player" }, -- 上古之梦 { AuraID = 213162, UnitID = "player" }, -- 梦魇冲击 { AuraID = 208431, UnitID = "player" }, -- 坠入疯狂 -- 萨维斯 { AuraID = 206651, UnitID = "player" }, -- 晦暗灵魂 { AuraID = 209158, UnitID = "player" }, -- 黑化灵魂 { AuraID = 210451, UnitID = "player" }, -- 恐惧连接 { AuraID = 209034, UnitID = "player" }, -- 恐惧连接 { AuraID = 211802, UnitID = "player" }, -- 梦魇之刃 { AuraID = 205771, UnitID = "player" }, -- 折磨锁定 -- 勇气试练 -- 奥丁 { AuraID = 228932, UnitID = "player" }, -- 雷铸之矛 { AuraID = 227807, UnitID = "player" }, -- 正义风暴 -- 高姆 { AuraID = 228228, UnitID = "player" }, -- 火舌舔舐 { AuraID = 228248, UnitID = "player" }, -- 冰舌舔舐 { AuraID = 228253, UnitID = "player", Value = true }, -- 影舌舔舐 -- 海拉 { AuraID = 227982, UnitID = "player" }, -- 毒水氧化 { AuraID = 228054, UnitID = "player" }, -- 海洋污染 { AuraID = 193367, UnitID = "player" }, -- 恶臭溃烂 { AuraID = 228519, UnitID = "player" }, -- 铁锚猛击 { AuraID = 232488, UnitID = "player" }, -- 黑暗仇恨 { AuraID = 232450, UnitID = "player", Value = true }, -- 腐化脊髓 -- 暗夜要塞 -- 斯可匹隆 { AuraID = 204531, UnitID = "player" }, -- 奥术桎梏 { AuraID = 211659, UnitID = "player" }, -- 奥术桎梏 { AuraID = 204483, UnitID = "player" }, -- 聚焦冲击 -- 时空畸体 { AuraID = 212099, UnitID = "player" }, -- 时光充能 { AuraID = 206617, UnitID = "player", Text = L["Get Out"] }, -- 时间炸弹 { AuraID = 219964, UnitID = "player" }, -- 时间释放 { AuraID = 219965, UnitID = "player" }, -- 时间释放 { AuraID = 219966, UnitID = "player" }, -- 时间释放 -- 崔利艾克斯 { AuraID = 206641, UnitID = "player" }, -- 奥术梦袭 { AuraID = 206838, UnitID = "player" }, -- 多汁盛宴 { AuraID = 214573, UnitID = "player" }, -- 饱餐一顿 { AuraID = 208499, UnitID = "player" }, -- 吸取活力 { AuraID = 211615, UnitID = "player" }, -- 吸取活力 { AuraID = 208910, UnitID = "player" }, -- 弧光连接 { AuraID = 208915, UnitID = "player" }, -- 弧光连接 -- 魔剑士奥鲁瑞尔 { AuraID = 212531, UnitID = "player" }, -- 冰霜印记 { AuraID = 212587, UnitID = "player" }, -- 冰霜印记 { AuraID = 212647, UnitID = "player" }, -- 冰霜印记 { AuraID = 213148, UnitID = "player" }, -- 灼热烙印 { AuraID = 213504, UnitID = "player" }, -- 奥术迷雾 -- 提克迪奥斯 { AuraID = 206480, UnitID = "player" }, -- 腐肉瘟疫 { AuraID = 208230, UnitID = "player" }, -- 鲜血盛宴 { AuraID = 206311, UnitID = "player" }, -- 幻象之夜 { AuraID = 212794, UnitID = "player" }, -- 阿古斯的烙印 { AuraID = 215988, UnitID = "player" }, -- 腐肉梦魇 { AuraID = 206466, UnitID = "player" }, -- 夜之精华 { AuraID = 216024, UnitID = "player" }, -- 爆裂伤口 { AuraID = 216040, UnitID = "player" }, -- 燃烧的灵魂 -- 克洛苏斯 { AuraID = 206677, UnitID = "player" }, -- 灼烧烙印 { AuraID = 205344, UnitID = "player" }, -- 毁灭之球 -- 高级植物学家特尔安 { AuraID = 218342, UnitID = "player" }, -- 寄生凝视 { AuraID = 218503, UnitID = "player" }, -- 回归打击 { AuraID = 218304, UnitID = "player" }, -- 寄生镣铐 { AuraID = 218809, UnitID = "player" }, -- 黑夜的召唤 { AuraID = 218780, UnitID = "player" }, -- 离子爆炸 -- 占星师艾塔乌斯 { AuraID = 206464, UnitID = "player" }, -- 日冕喷射 { AuraID = 205649, UnitID = "player" }, -- 邪能喷射 { AuraID = 206398, UnitID = "player" }, -- 邪能烈焰 { AuraID = 206936, UnitID = "player" }, -- 寒冰喷射 { AuraID = 207720, UnitID = "player" }, -- 见证虚空 { AuraID = 206589, UnitID = "player" }, -- 冰冻 { AuraID = 207831, UnitID = "player" }, -- 星象三角 { AuraID = 205445, UnitID = "player" }, -- 星座配对 { AuraID = 205429, UnitID = "player" }, -- 星座配对 { AuraID = 216345, UnitID = "player" }, -- 星座配对 { AuraID = 216344, UnitID = "player" }, -- 星座配对 -- 大魔导师艾利桑德 { AuraID = 209166, UnitID = "player" }, -- 时间加速 { AuraID = 209165, UnitID = "player" }, -- 减缓时间 { AuraID = 209244, UnitID = "player" }, -- 神秘射线 { AuraID = 209598, UnitID = "player" }, -- 聚合爆破 { AuraID = 209615, UnitID = "player" }, -- 消融 { AuraID = 209973, UnitID = "player" }, -- 消融爆破 { AuraID = 211885, UnitID = "player" }, -- 巨钩 -- 古尔丹 { AuraID = 210339, UnitID = "player" }, -- 时间延长 { AuraID = 206985, UnitID = "player" }, -- 消散力场 -- 萨格拉斯之墓 -- 格罗斯 { AuraID = 233272, UnitID = "player" }, -- 碎裂星辰 { AuraID = 231363, UnitID = "player" }, -- 燃烧护甲 { AuraID = 234264, UnitID = "player" }, -- 熔化护甲 { AuraID = 230345, UnitID = "player" }, -- 彗星冲撞 -- 恶魔审判庭 { AuraID = 248741, UnitID = "player" }, -- 骨锯 { AuraID = 233983, UnitID = "player" }, -- 回响之痛 { AuraID = 233430, UnitID = "player" }, -- 无法忍受的折磨 { AuraID = 233901, UnitID = "player" }, -- 窒息之暗 { AuraID = 248713, UnitID = "player" }, -- 灵魂腐蚀 -- 哈亚坦 { AuraID = 248713, UnitID = "player" }, -- 灵魂腐蚀 { AuraID = 234016, UnitID = "player" }, -- 强制突袭 { AuraID = 241573, UnitID = "player" }, -- 滴水 { AuraID = 231998, UnitID = "player" }, -- 锯齿创伤 { AuraID = 231770, UnitID = "player" }, -- 浸透 { AuraID = 231729, UnitID = "player" }, -- 水之爆发 { AuraID = 241600, UnitID = "player" }, -- 病态锁定 -- 月之姐妹 { AuraID = 236596, UnitID = "player" }, -- 急速射击 { AuraID = 236712, UnitID = "player" }, -- 月光信标 { AuraID = 239264, UnitID = "player" }, -- 月光之火 { AuraID = 236519, UnitID = "player" }, -- 月灼 { AuraID = 236550, UnitID = "player" }, -- 无形 { AuraID = 236305, UnitID = "player" }, -- 灵体射击 { AuraID = 236330, UnitID = "player" }, -- 星界易伤 { AuraID = 233263, UnitID = "player", Value = true }, -- 月蚀之拥 -- 主母萨斯琳 { AuraID = 230362, UnitID = "player" }, -- 雷霆震击 { AuraID = 230201, UnitID = "player" }, -- 痛苦负担 { AuraID = 230959, UnitID = "player" }, -- 昏暗隐匿 { AuraID = 232754, UnitID = "player" }, -- 多头蛇酸液 { AuraID = 232913, UnitID = "player" }, -- 污染墨汁 { AuraID = 230384, UnitID = "player" }, -- 吞噬之饥 { AuraID = 230920, UnitID = "player" }, -- 吞噬之饥 { AuraID = 234661, UnitID = "player" }, -- 吞噬之饥 { AuraID = 239375, UnitID = "player" }, -- 美味的增益鱼 { AuraID = 239362, UnitID = "player" }, -- 美味的增益鱼 -- 绝望的聚合体 { AuraID = 236361, UnitID = "player" }, -- 灵魂锁链 { AuraID = 236340, UnitID = "player" }, -- 粉碎意志 { AuraID = 236515, UnitID = "player" }, -- 破碎尖叫 { AuraID = 238418, UnitID = "player" }, -- 破碎尖叫 { AuraID = 236459, UnitID = "player" }, -- 灵魂束缚 { AuraID = 236138, UnitID = "player" }, -- 枯萎 { AuraID = 236131, UnitID = "player" }, -- 枯萎 { AuraID = 236011, UnitID = "player" }, -- 折磨哀嚎 { AuraID = 238018, UnitID = "player" }, -- 折磨哀嚎 { AuraID = 235924, UnitID = "player" }, -- 苦痛之矛 { AuraID = 238442, UnitID = "player", Value = true }, -- 苦痛之矛 -- 戒卫侍女 { AuraID = 243276, UnitID = "player" }, -- 动荡的灵魂 { AuraID = 235117, UnitID = "player" }, -- 动荡的灵魂 { AuraID = 235538, UnitID = "player" }, -- 恶魔活力 { AuraID = 235534, UnitID = "player" }, -- 造物者之赐 { AuraID = 241593, UnitID = "player" }, -- 艾格文的结界 { AuraID = 238408, UnitID = "player" }, -- 邪能残留 { AuraID = 238028, UnitID = "player" }, -- 光明残留 { AuraID = 248812, UnitID = "player" }, -- 反冲 { AuraID = 248801, UnitID = "player" }, -- 碎片爆发 { AuraID = 241729, UnitID = "player" }, -- 复仇的灵魂 { AuraID = 235213, UnitID = "player" }, -- 光明灌注 { AuraID = 235240, UnitID = "player" }, -- 邪能灌注 -- 堕落的化身 { AuraID = 234059, UnitID = "player" }, -- 释放混沌 { AuraID = 236494, UnitID = "player" }, -- 风蚀 { AuraID = 239739, UnitID = "player" }, -- 黑暗印记 { AuraID = 242017, UnitID = "player" }, -- 漆黑之风 { AuraID = 240746, UnitID = "player" }, -- 被污染的矩阵 { AuraID = 240728, UnitID = "player" }, -- 被污染的精华 -- 基尔加丹 { AuraID = 234310, UnitID = "player" }, -- 末日之雨 { AuraID = 245509, UnitID = "player" }, -- 邪爪 { AuraID = 236710, UnitID = "player" }, -- 暗影映像:爆发 { AuraID = 236378, UnitID = "player" }, -- 暗影映像:哀嚎 { AuraID = 240916, UnitID = "player" }, -- 末日之雹 { AuraID = 236555, UnitID = "player" }, -- 欺诈者的遮蔽 { AuraID = 241721, UnitID = "player" }, -- 伊利丹的无目凝视 { AuraID = 240262, UnitID = "player" }, -- 燃烧 { AuraID = 237590, UnitID = "player" }, -- 暗影映像:绝望 { AuraID = 243621, UnitID = "player" }, -- 萦绕的希望 { AuraID = 243624, UnitID = "player" }, -- 萦绕的哀嚎 { AuraID = 241822, UnitID = "player", Value = true }, -- 窒息之影 -- 燃烧王座 -- 加洛西灭世者 { AuraID = 244410, UnitID = "player" }, -- 屠戮 { AuraID = 245294, UnitID = "player" }, -- 强化屠戮 { AuraID = 246920, UnitID = "player" }, -- 错乱屠戮 -- 萨格拉斯的恶犬 { AuraID = 244091, UnitID = "player" }, -- 烧焦 { AuraID = 248815, UnitID = "player" }, -- 点燃 { AuraID = 244768, UnitID = "player" }, -- 荒芜凝视 { AuraID = 244055, UnitID = "player" }, -- 暗影触痕 { AuraID = 244054, UnitID = "player" }, -- 烈焰触痕 -- 安托兰统帅议会 { AuraID = 253290, UnitID = "player" }, -- 熵能爆裂 { AuraID = 244737, UnitID = "player" }, -- 震荡手雷 { AuraID = 244748, UnitID = "player" }, -- 震晕 -- 传送门守护者哈萨贝尔 { AuraID = 245118, UnitID = "player" }, -- 饱足幽影 { AuraID = 244709, UnitID = "player" }, -- 烈焰引爆 { AuraID = 246208, UnitID = "player" }, -- 酸性之网 { AuraID = 245099, UnitID = "player" }, -- 意识迷雾 -- 生命的缚誓者艾欧娜尔 { AuraID = 248332, UnitID = "player" }, -- 邪能之雨 { AuraID = 249017, UnitID = "player" }, -- 反馈-奥术奇点 { AuraID = 249014, UnitID = "player" }, -- 反馈-邪污足迹 { AuraID = 249015, UnitID = "player" }, -- 反馈-燃烧的余烬 { AuraID = 249016, UnitID = "player" }, -- 反馈-目标锁定 -- 猎魂者伊墨纳尔 { AuraID = 247367, UnitID = "player" }, -- 震击之枪 { AuraID = 247687, UnitID = "player" }, -- 撕裂 { AuraID = 247565, UnitID = "player" }, -- 催眠毒气 { AuraID = 250224, UnitID = "player" }, -- 震晕 { AuraID = 255029, UnitID = "player", Text = L["Get Out"] }, -- 催眠气罐 -- 金加洛斯 { AuraID = 254919, UnitID = "player" }, -- 熔铸之击 { AuraID = 253384, UnitID = "player" }, -- 屠杀 { AuraID = 249535, UnitID = "player" }, -- 破坏术 -- 瓦里玛萨斯 { AuraID = 244042, UnitID = "player" }, -- 被标记的猎物 { AuraID = 248732, UnitID = "player" }, -- 毁灭回响 { AuraID = 244094, UnitID = "player", Text = L["Get Out"] }, -- 冥魂之拥 -- 破坏魔女巫会 { AuraID = 244899, UnitID = "player" }, -- 火焰打击 { AuraID = 245518, UnitID = "player" }, -- 快速冻结 { AuraID = 245634, UnitID = "player" }, -- 飞旋的军刀 { AuraID = 253020, UnitID = "player" }, -- 黑暗风暴 { AuraID = 253520, UnitID = "player" }, -- 爆裂脉冲 { AuraID = 245586, UnitID = "player", Value = true }, -- 冷凝之血 -- 阿格拉玛 { AuraID = 245990, UnitID = "player" }, -- 泰沙拉克之触 { AuraID = 244291, UnitID = "player" }, -- 破敌者 { AuraID = 245994, UnitID = "player" }, -- 灼热之焰 { AuraID = 247079, UnitID = "player" }, -- 强化烈焰撕裂 { AuraID = 254452, UnitID = "player" }, -- 饕餮烈焰 -- 寂灭者阿古斯 { AuraID = 248499, UnitID = "player" }, -- 巨镰横扫 { AuraID = 253903, UnitID = "player" }, -- 天空之力 { AuraID = 258646, UnitID = "player" }, -- 天空之赐 { AuraID = 253901, UnitID = "player" }, -- 海洋之力 { AuraID = 258647, UnitID = "player" }, -- 海洋之赐 { AuraID = 255199, UnitID = "player" }, -- 阿格拉玛的化身 { AuraID = 252729, UnitID = "player" }, -- 宇宙射线 { AuraID = 248396, UnitID = "player", Text = L["Get Out"] }, -- 灵魂凋零 { AuraID = 250669, UnitID = "player", Text = L["Get Out"] }, -- 灵魂爆发 }, ["Warning"] = { -- 目标重要光环组 -- 8.0副本 { AuraID = 300011, UnitID = "target" }, -- 力场护盾,麦卡贡 { AuraID = 257458, UnitID = "target" }, -- 自由镇尾王易伤 { AuraID = 260512, UnitID = "target" }, -- 灵魂收割,神庙 { AuraID = 277965, UnitID = "target" }, -- 重型军火,围攻1 { AuraID = 273721, UnitID = "target" }, { AuraID = 256493, UnitID = "target" }, -- 炽燃的艾泽里特,矿区1 { AuraID = 271867, UnitID = "target" }, -- 氪金致胜,矿区1 -- 尼奥罗萨 { AuraID = 313175, UnitID = "target" }, -- 硬化核心,拉希奥 { AuraID = 306005, UnitID = "target" }, -- 黑曜石之肤,玛乌特 { AuraID = 313208, UnitID = "target" }, -- 无形幻象,先知斯基特拉 { AuraID = 312329, UnitID = "target" }, -- 狼吞虎咽,无厌者夏德哈 { AuraID = 312595, UnitID = "target" }, -- 易爆腐蚀,德雷阿佳丝 { AuraID = 312750, UnitID = "target" }, -- 召唤梦魇,虚无者莱登 { AuraID = 306990, UnitID = "target", Value = true }, -- 适化外膜,恩佐斯外壳 { AuraID = 310126, UnitID = "target" }, -- 心灵护壳,恩佐斯 { AuraID = 312155, UnitID = "target" }, -- 碎裂自我 { AuraID = 313184, UnitID = "target" }, -- 突触震击 -- 永恒王宫 { AuraID = 296389, UnitID = "target" }, -- 上旋气流,艾萨拉之辉 { AuraID = 304951, UnitID = "target" }, -- 聚焦能量 { AuraID = 295916, UnitID = "target" }, -- 远古风暴 { AuraID = 296650, UnitID = "target", Value = true }, -- 硬化甲壳,艾什凡女勋爵 { AuraID = 299575, UnitID = "target" }, -- 指挥官之怒,女王法庭 { AuraID = 296716, UnitID = "target", Flash = true }, -- 权力制衡,女王法庭 { AuraID = 295099, UnitID = "target" }, -- 穿透黑暗,扎库尔 -- 风暴熔炉 { AuraID = 282741, UnitID = "target", Value = true }, -- 暗影之壳,无眠秘党 { AuraID = 284722, UnitID = "target", Value = true }, -- 暗影之壳,乌纳特 { AuraID = 287693, UnitID = "target", Flash = true }, -- 隐性联结 { AuraID = 286310, UnitID = "target" }, -- 虚空之盾 { AuraID = 285333, UnitID = "target" }, -- 非自然再生 { AuraID = 285642, UnitID = "target" }, -- 恩佐斯之赐:癔乱 -- 达萨罗之战 { AuraID = 284459, UnitID = "target" }, -- 狂热,圣光勇士 { AuraID = 284436, UnitID = "target" }, -- 清算圣印 { AuraID = 282113, UnitID = "target" }, -- 复仇之怒 { AuraID = 281936, UnitID = "target" }, -- 发怒,丛林之王格洛恩 { AuraID = 286425, UnitID = "target", Value = true }, -- 火焰护盾,玉火大师 { AuraID = 286436, UnitID = "target" }, -- 翡翠风暴 { AuraID = 284614, UnitID = "target" }, -- 聚焦敌意,丰灵 { AuraID = 284943, UnitID = "target" }, -- 贪婪 { AuraID = 285945, UnitID = "target", Flash = true }, -- 急速之风,神选者教团 { AuraID = 285893, UnitID = "target" }, -- 野性重殴 { AuraID = 282079, UnitID = "target" }, -- 神灵的契约 { AuraID = 284377, UnitID = "target" }, -- 无息,拉斯塔哈大王 { AuraID = 284446, UnitID = "target" }, -- 邦桑迪的恩泽 { AuraID = 289169, UnitID = "target" }, -- 邦桑迪的恩泽 { AuraID = 284613, UnitID = "target" }, -- 天然亡者领域 { AuraID = 286051, UnitID = "target" }, -- 超光速,大工匠 { AuraID = 289699, UnitID = "target", Flash = true }, -- 电能增幅 { AuraID = 286558, UnitID = "target", Value = true }, -- 潮汐遮罩,风暴之墙 { AuraID = 287995, UnitID = "target", Value = true }, -- 电流护罩 { AuraID = 287322, UnitID = "target" }, -- 寒冰屏障,吉安娜 -- 奥迪尔 { AuraID = 271965, UnitID = "target" }, -- 能源关闭,塔罗克 { AuraID = 277548, UnitID = "target" }, -- 粉碎黑暗,小怪 { AuraID = 278218, UnitID = "target" }, -- 虚空召唤,泽克沃兹 { AuraID = 278220, UnitID = "target" }, -- 虚空超脱,泽克沃兹 { AuraID = 265264, UnitID = "target" }, -- 虚空鞭笞,泽克沃兹 { AuraID = 273432, UnitID = "target" }, -- 暗影束缚,祖尔 { AuraID = 273288, UnitID = "target" }, -- 婆娑脉动,祖尔 { AuraID = 274230, UnitID = "target" }, -- 湮灭帷幕,拆解者米斯拉克斯 { AuraID = 276900, UnitID = "target" }, -- 临界炽焰,拆解者米斯拉克斯 { AuraID = 279013, UnitID = "target" }, -- 精华碎裂,拆解者米斯拉克斯 { AuraID = 263504, UnitID = "target" }, -- 重组冲击,戈霍恩 { AuraID = 273251, UnitID = "target" }, -- 重组冲击,戈霍恩 { AuraID = 263372, UnitID = "target" }, -- 能量矩阵,戈霍恩 { AuraID = 270447, UnitID = "target" }, -- 腐化滋长,戈霍恩 { AuraID = 263217, UnitID = "target" }, -- 鲜血护盾,戈霍恩 { AuraID = 275129, UnitID = "target" }, -- 臃肿肥胖,戈霍恩 -- 7.0副本 { AuraID = 244621, UnitID = "target" }, -- 虚空裂隙,执政团尾王 { AuraID = 192132, UnitID = "target" }, -- 英灵殿赫娅 { AuraID = 192133, UnitID = "target" }, -- 英灵殿赫娅 { AuraID = 194333, UnitID = "target" }, -- 地窟眼球易伤 { AuraID = 254020, UnitID = "target" }, -- 黑暗笼罩,执政团鲁拉 { AuraID = 229495, UnitID = "target" }, -- 卡拉赞国王易伤 { AuraID = 227817, UnitID = "target", Value = true }, -- 卡拉赞圣女盾 -- 翡翠梦魇 { AuraID = 215234, UnitID = "target" }, -- 梦魇之怒 { AuraID = 211137, UnitID = "target" }, -- 腐溃之风 { AuraID = 212707, UnitID = "target" }, -- 召云聚气 { AuraID = 210346, UnitID = "target" }, -- 恐惧荆棘光环 { AuraID = 210340, UnitID = "target" }, -- 恐惧荆棘光环 -- 勇气试练 { AuraID = 229256, UnitID = "target" }, -- 奥丁,弧光风暴 { AuraID = 228174, UnitID = "target" }, -- 高姆,吐沫狂怒 { AuraID = 228803, UnitID = "target" }, -- 海拉,酝酿风暴 { AuraID = 203816, UnitID = "target" }, -- 小怪,精力 { AuraID = 228611, UnitID = "target" }, -- 小怪,幽灵怒火 -- 暗夜要塞 { AuraID = 204697, UnitID = "target" }, -- 毒蝎虫群 { AuraID = 204448, UnitID = "target" }, -- 几丁质外壳 { AuraID = 206947, UnitID = "target" }, -- 几丁质外壳 { AuraID = 205947, UnitID = "target" }, -- 灌能外壳 { AuraID = 204459, UnitID = "target" }, -- 易伤外壳 { AuraID = 205289, UnitID = "target" }, -- 毒蝎之赐 { AuraID = 219823, UnitID = "target" }, -- 势不可挡 { AuraID = 215066, UnitID = "target" }, -- 人格重合 { AuraID = 216028, UnitID = "target" }, -- 急速追击 { AuraID = 219248, UnitID = "target" }, -- 快速生长 { AuraID = 219270, UnitID = "target" }, -- 过度生长 { AuraID = 219009, UnitID = "target" }, -- 自然的恩惠 { AuraID = 209568, UnitID = "target" }, -- 热能释放 { AuraID = 221863, UnitID = "target" }, -- 护盾 { AuraID = 221524, UnitID = "target" }, -- 保护,小姐姐前小怪 -- 萨格拉斯之墓 { AuraID = 233441, UnitID = "target" }, -- 骨锯 { AuraID = 239135, UnitID = "target" }, -- 折磨喷发 { AuraID = 235230, UnitID = "target" }, -- 邪能狂风 { AuraID = 241521, UnitID = "target" }, -- 苦痛重塑 { AuraID = 234128, UnitID = "target" }, -- 强制突袭 { AuraID = 233429, UnitID = "target" }, -- 严寒打击 { AuraID = 240315, UnitID = "target" }, -- 硬化之壳 { AuraID = 247781, UnitID = "target" }, -- 激怒 { AuraID = 241590, UnitID = "target" }, -- 发脾气 { AuraID = 241594, UnitID = "target" }, -- 愤怒 { AuraID = 233264, UnitID = "target", Value = true }, -- 月蚀之拥 { AuraID = 236697, UnitID = "target" }, -- 致命尖叫 { AuraID = 236513, UnitID = "target" }, -- 骨牢护甲 { AuraID = 236351, UnitID = "target" }, -- 束缚精华 { AuraID = 234891, UnitID = "target" }, -- 造物者之怒 { AuraID = 235028, UnitID = "target", Value = true }, -- 泰坦之壁 { AuraID = 241008, UnitID = "target", Value = true }, -- 净化协议 { AuraID = 233739, UnitID = "target" }, -- 故障 { AuraID = 233961, UnitID = "target" }, -- 矩阵强化 { AuraID = 236684, UnitID = "target" }, -- 邪能灌注 { AuraID = 244834, UnitID = "target" }, -- 虚空强风 { AuraID = 235974, UnitID = "target" }, -- 爆发 { AuraID = 241564, UnitID = "target" }, -- 悲伤之嚎 { AuraID = 241606, UnitID = "target" }, -- 波涛起伏 -- 燃烧王座 { AuraID = 244106, UnitID = "target" }, -- 灭杀 { AuraID = 253306, UnitID = "target" }, -- 灵能创伤 { AuraID = 255805, UnitID = "target" }, -- 不稳定的传送门 { AuraID = 244383, UnitID = "target" }, -- 烈焰之盾 { AuraID = 248424, UnitID = "target" }, -- 聚合之力 { AuraID = 246516, UnitID = "target" }, -- 天启协议 { AuraID = 246504, UnitID = "target" }, -- 程式启动 { AuraID = 253203, UnitID = "target" }, -- 破坏魔契约 { AuraID = 249863, UnitID = "target" }, -- 泰坦的面容 { AuraID = 244713, UnitID = "target" }, -- 燃烧之怒 { AuraID = 244894, UnitID = "target" }, -- 腐蚀盾牌 { AuraID = 247091, UnitID = "target" }, -- 催化 { AuraID = 253021, UnitID = "target" }, -- 宿命 { AuraID = 255478, UnitID = "target" }, -- 永恒之刃 { AuraID = 255496, UnitID = "target" }, -- 宇宙之剑 -- 星灵易伤 { AuraID = 255418, UnitID = "target", Text = SPELL_SCHOOL0_NAME }, -- 物理 { AuraID = 255419, UnitID = "target", Text = SPELL_SCHOOL1_NAME }, -- 神圣 { AuraID = 255429, UnitID = "target", Text = SPELL_SCHOOL2_NAME }, -- 火焰 { AuraID = 255422, UnitID = "target", Text = SPELL_SCHOOL3_NAME }, -- 自然 { AuraID = 255425, UnitID = "target", Text = SPELL_SCHOOL4_NAME }, -- 冰霜 { AuraID = 255430, UnitID = "target", Text = SPELL_SCHOOL5_NAME }, -- 暗影 { AuraID = 255433, UnitID = "target", Text = SPELL_SCHOOL6_NAME }, -- 奥术 }, }
---------------------------------------------------------------------------------------------------- -- -- Copyright (c) Contributors to the Open 3D Engine Project. -- For complete copyright and license terms please see the LICENSE at the root of this distribution. -- -- SPDX-License-Identifier: Apache-2.0 OR MIT -- -- -- ---------------------------------------------------------------------------------------------------- -- WARNING: This is a soak test, do not add this test to the fully automated -- test suites. OpenSample('RPI/ShaderReloadTest') ResizeViewport(500, 500) function TestButton(buttonName) AssetTracking_Start() AssetTracking_ExpectAsset("shaders/shaderreloadtest/temp/fullscreen.shader") SetImguiValue(buttonName, true) AssetTracking_IdleUntilExpectedAssetsFinish(10) -- Even though the shader has been recompiled, it takes a few frames -- for the notification to bubble up and get the screen refreshed. IdleSeconds(0.25) SetShowImGui(false) SetImguiValue('Check color', true) -- Need a few frames to capture the screen and compare expected color. IdleSeconds(0.25) SetShowImGui(true) end -- Fixme. As a Soak Test, this should run for a long time and exit -- on the first failure, or upon user request. for i=1,5 do -- Always start with "Green shader" or "Blue shader" because when RPI/ShaderReloadTest -- activates it starts with the "Red shader", so updating the source asset --- to the exact same content won't trigger asset recompilation. TestButton("Green shader") TestButton("Blue shader") TestButton("Red shader") end