content
stringlengths
5
1.05M
-------------------------------- -- @module ShatteredTiles3D -- @extend TiledGrid3DAction -- @parent_module cc ---@class cc.ShatteredTiles3D:cc.TiledGrid3DAction local ShatteredTiles3D = {} cc.ShatteredTiles3D = ShatteredTiles3D -------------------------------- --- brief Initializes the action with a range, shatter Z vertices, grid size and duration. --- param duration Specify the duration of the ShatteredTiles3D action. It's a value in seconds. --- param gridSize Specify the size of the grid. --- param range Specify the range of the shatter effect. --- param shatterZ Specify whether shake on the z axis. --- return If the Initialization success, return true; otherwise, return false. ---@param duration number ---@param gridSize size_table ---@param range number ---@param shatterZ boolean ---@return boolean function ShatteredTiles3D:initWithDuration(duration, gridSize, range, shatterZ) end -------------------------------- --- brief Create the action with a range, whether of not to shatter Z vertices, grid size and duration. --- param duration Specify the duration of the ShatteredTiles3D action. It's a value in seconds. --- param gridSize Specify the size of the grid. --- param range Specify the range of the shatter effect. --- param shatterZ Specify whether shatter on the z axis. --- return If the creation success, return a pointer of ShatteredTiles3D action; otherwise, return nil. ---@param duration number ---@param gridSize size_table ---@param range number ---@param shatterZ boolean ---@return cc.ShatteredTiles3D function ShatteredTiles3D:create(duration, gridSize, range, shatterZ) end -------------------------------- --- ---@return cc.ShatteredTiles3D function ShatteredTiles3D:clone() end -------------------------------- --- ---@param time number ---@return cc.ShatteredTiles3D function ShatteredTiles3D:update(time) end -------------------------------- --- ---@return cc.ShatteredTiles3D function ShatteredTiles3D:ShatteredTiles3D() end return nil
-- Bozosort description -- See : http://en.wikipedia.org/wiki/Bogosort#Related_algorithms -- Checks if an array is sorted local function is_sorted(array, comp) local array_len = #array if array_len <= 1 then return true end for i = 2, array_len do if not comp(array[i-1], array[i]) then return false end end return true end -- The Bozosort implementation: -- tbl : a given table to be sorted -- comp : (Optional) a comparison function. -- defaults to function(a,b) return a < b end -- Note: It is advised to use math.randomseed(os.time()) -- before calling this function. Lua's math.random() is -- naturally deterministic and since Bozosort is based on -- random swaps, this is necessary to ensure convergence return function (tbl, comp) comp = comp or function(a, b) return a < b end local n = #tbl while not is_sorted(tbl, comp) do local i, j = math.random(n), math.random(n) tbl[i], tbl[j] = tbl[j], tbl[i] end return tbl end
--[[ --MIT License -- --Copyright (c) 2019 manilarome --Copyright (c) 2020 Tom Meyers -- --Permission is hereby granted, free of charge, to any person obtaining a copy --of this software and associated documentation files (the "Software"), to deal --in the Software without restriction, including without limitation the rights --to use, copy, modify, merge, publish, distribute, sublicense, and/or sell --copies of the Software, and to permit persons to whom the Software is --furnished to do so, subject to the following conditions: -- --The above copyright notice and this permission notice shall be included in all --copies or substantial portions of the Software. -- --THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR --IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, --FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE --AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER --LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, --OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE --SOFTWARE. ]] ------------------------------------------------- -- Jira Widget for Awesome Window Manager -- Shows the number of currently assigned issues -- More details could be found here: -- https://github.com/streetturtle/awesome-wm-widgets/tree/master/jira-widget -- @author Pavel Makhov and Tom Meyers -- @copyright 2019 Pavel Makhov -- @copyright 2020 Tom Meyers ------------------------------------------------- local wibox = require("wibox") local watch = require("awful.widget.watch") local json = require("jira-widget.json") local spawn = require("awful.spawn") local naughty = require("naughty") local gears = require("gears") local beautiful = require("beautiful") local gfs = require("gears.filesystem") local clickable_container = require("widget.material.clickable-container") local dpi = require("beautiful").xresources.apply_dpi local HOME_DIR = os.getenv("HOME") local host = "" local result = {} local GET_ISSUES_CMD = [[bash -c "curl -s --show-error -X GET -n '%s/rest/api/2/search?%s&fields=id,assignee,summary,status'"]] local DOWNLOAD_AVATAR_CMD = [[bash -c "curl -n --create-dirs -o %s/.cache/awmw/jira-widget/avatars/%s %s"]] local function show_warning(message) naughty.notify { preset = naughty.config.presets.critical, title = "Jira Widget", text = message } end local image = wibox.widget { { id = "c", widget = wibox.widget.imagebox }, layout = wibox.layout.fixed.horizontal, set_icon = function(self, new_icon) self:get_children_by_id("c")[1].image = new_icon end } local button = wibox.container.margin(image, 0, dpi(5), 0, 0) local jira_widget = wibox.widget { { { button, id = "b", layout = wibox.layout.stack }, id = "a", margins = 4, layout = wibox.container.margin }, { id = "txt", widget = wibox.widget.textbox }, layout = wibox.layout.fixed.horizontal, set_text = function(self, new_value) self.txt.text = new_value end, set_icon = function(_, path) image:set_icon(path) end, is_everything_ok = function(self, is_ok) if is_ok then image:set_opacity(1) image:emit_signal("widget:redraw_needed") else self.txt:set_text("") image:set_opacity(0.2) image:emit_signal("widget:redraw_needed") end end } local popup = awful.popup { ontop = true, visible = false, shape = gears.shape.rounded_rect, border_width = 1, border_color = beautiful.bg_focus, maximum_width = mouse.screen.geometry.width, offset = {y = 5}, widget = {} } local grabber = awful.keygrabber { keybindings = { awful.key { modifiers = {}, key = "Escape", on_press = function() popup.visible = false end } }, -- Note that it is using the key name and not the modifier name. stop_key = "Escape", stop_event = "release" } local number_of_issues local warning_shown = false local tooltip = awful.tooltip { mode = "outside", preferred_positions = {"bottom"} } local function createRow(issue, host_in, path_to_avatar) local row = wibox.widget { { { { { resize = true, image = path_to_avatar, forced_width = dpi(40), forced_height = dpi(40), widget = wibox.widget.imagebox }, margins = 8, layout = wibox.container.margin }, { { markup = "<b>" .. issue.key .. "</b>", align = "center", forced_width = dpi(350), -- for horizontal alignment widget = wibox.widget.textbox }, { text = issue.fields.summary, widget = wibox.widget.textbox }, { text = issue.fields.status.name, widget = wibox.widget.textbox }, layout = wibox.layout.align.vertical }, spacing = dpi(8), layout = wibox.layout.fixed.horizontal }, margins = dpi(8), layout = wibox.container.margin }, bg = beautiful.bg_normal, widget = wibox.container.background } row:connect_signal( "mouse::enter", function(c) c:set_bg(beautiful.bg_focus) end ) row:connect_signal( "mouse::leave", function(c) c:set_bg(beautiful.bg_normal) end ) row:buttons( awful.util.table.join( awful.button( {}, 1, function() spawn.with_shell("xdg-open " .. host_in .. "/browse/" .. issue.key) popup.visible = false grabber:stop() end ) ) ) return row end local function createRowTable(issues, host_in) local rows = { {widget = wibox.widget.textbox}, layout = wibox.layout.fixed.vertical } for _, issue in ipairs(issues) do local path_to_avatar = HOME_DIR .. "/.config/tde/jira-widget/jira-mark-gradient-blue.svg" if issue.fields.assignee.accountId ~= nil then path_to_avatar = os.getenv("HOME") .. "/.cache/awmw/jira-widget/avatars/" .. issue.fields.assignee.accountId if not gfs.file_readable(path_to_avatar) then spawn.easy_async( string.format( DOWNLOAD_AVATAR_CMD, HOME_DIR, issue.fields.assignee.accountId, issue.fields.assignee.avatarUrls["48x48"] ) ) end end table.insert(rows, createRow(issue, host_in, path_to_avatar)) end return rows end local function createTable(result_in, host_in, maxelements) if maxelements == nil then maxelements = #result_in.issues end -- the partial variable hold the result set of one vertical table set local partialIssues = {} local previousTableIndex = 1 -- arr holds the information about one vertical table set local arr = {} for index, issue in ipairs(result_in.issues) do -- get the index in the table local tableIndex = math.ceil(index / maxelements) if not (previousTableIndex == tableIndex) then table.insert(arr, createRowTable(partialIssues, host_in)) -- reset variable for next vertical set partialIssues = {} previousTableIndex = tableIndex end table.insert(partialIssues, issue) print("Inserting issue: " .. issue.key .. " into " .. tableIndex) end table.insert(arr, createRowTable(partialIssues, host_in)) local table_widget = wibox.widget { arr[1], arr[2], layout = wibox.layout.fixed.horizontal } --for _, row in ipairs(arr) do -- table_widget:add( -- { -- row, -- layout = wibox.layout.fixed.vertical -- } --) --end return table_widget end local function worker(args) args = args or {} local icon = args.icon or HOME_DIR .. "/.config/tde/jira-widget/jira-mark-gradient-blue.svg" host = args.host or show_warning("Jira host is unknown") local query = args.query or "jql=assignee=currentuser() AND resolution=Unresolved" jira_widget:set_icon(icon) local update_widget = function(widget, stdout, stderr, _, _) if stderr ~= "" then if not warning_shown then show_warning(stderr) warning_shown = true widget:is_everything_ok(false) tooltip:add_to_object(widget) widget:connect_signal( "mouse::enter", function() tooltip.text = stderr end ) end return end warning_shown = false tooltip:remove_from_object(widget) widget:is_everything_ok(true) result = json.decode(stdout) number_of_issues = rawlen(result.issues) if number_of_issues == 0 then widget:set_visible(false) return end widget:set_visible(true) widget:set_text(number_of_issues) popup:setup { expand = "none", layout = wibox.layout.align.horizontal, createTable(result, host, 8) } end jira_widget:buttons( awful.util.table.join( awful.button( {}, 1, function() if popup.visible then popup.visible = not popup.visible grabber:stop() else popup:move_next_to(mouse.current_widget_geometry) grabber:start() end end ) ) ) watch(string.format(GET_ISSUES_CMD, host, query:gsub(" ", "+")), 10, update_widget, jira_widget) return clickable_container(wibox.container.margin(jira_widget, dpi(14), dpi(14), dpi(3), dpi(3))) end return worker( { host = "https://support.idalko.com" } )
function GBaySideBarClosed(DFrame, tab, settingbtnclicked, data, firstjoined) if IsValid(SideBarOpened) then SideBarOpened:Remove() end hook.Call("GBaySideBarClosed") LocalPlayer().GBayOpenMenuTabStatus = false if IsValid(GBayDFrameLogo) then GBayDFrameLogo:Remove() end if IsValid(SideBarClosed) then SideBarClosed:Close() end if IsValid(SideBarOpened) then SideBarOpened:Close() end GBayDFrameLogo = vgui.Create("DImage", DFrame) GBayDFrameLogo:SetPos(DFrame:GetWide() / 2 - 129 / 2, 20) GBayDFrameLogo:SetSize(129, 59) GBayDFrameLogo:SetImage("gbay/Logo2.png") SideBarClosed = vgui.Create("DFrame", DFrame) SideBarClosed:SetPos(0, 0) SideBarClosed:SetSize(40, DFrame:GetTall()) SideBarClosed:SetDraggable(false) SideBarClosed:SetTitle('') SideBarClosed:ShowCloseButton(false) SideBarClosed.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255) surface.DrawRect(0, 0, w, h) end local SideBarOpenBtn = vgui.Create("DButton", SideBarClosed) SideBarOpenBtn:SetPos(10, 10) SideBarOpenBtn:SetSize(25, 25) SideBarOpenBtn:SetText("+") SideBarOpenBtn:SetFont("GBayLabelFontLarge") SideBarOpenBtn:SetTextColor(Color(214, 214, 214)) SideBarOpenBtn.DoClick = function() SideBarClosed:Close() GBaySideBarOpened(DFrame, tab, false, data, firstjoined) end SideBarOpenBtn.Paint = function(s, w, h) end local SideBarSettingsBtn = vgui.Create("DImageButton", SideBarClosed) SideBarSettingsBtn:SetPos(10, SideBarClosed:GetTall() - 30) SideBarSettingsBtn:SetImage("gbay/Settings.png") SideBarSettingsBtn:SizeToContents() SideBarSettingsBtn.DoClick = function() GBaySideBarOpened(DFrame, "Dashboard", true, data, firstjoined) end end function GBaySideBarOpened(DFrame, tab, settingbtnclicked, data, firstjoined) if not firstjoined then hook.Call("GBaySideBarOpened") end LocalPlayer().GBayOpenMenuTabStatus = true if IsValid(GBayDFrameLogo) then GBayDFrameLogo:Remove() end GBayDFrameLogo = vgui.Create("DImage", DFrame) GBayDFrameLogo:SetPos(DFrame:GetWide() / 2 - 129 / 2 + 280 / 2, 20) GBayDFrameLogo:SetSize(129, 59) GBayDFrameLogo:SetImage("gbay/Logo2.png") if IsValid(SideBarClosed) then SideBarClosed:Close() end if IsValid(SideBarOpened) then SideBarOpened:Close() end SideBarOpened = vgui.Create("DFrame", DFrame) SideBarOpened:SetPos(0, 0) SideBarOpened:SetSize(280, DFrame:GetTall()) SideBarOpened:SetDraggable(false) SideBarOpened:SetTitle('') SideBarOpened:ShowCloseButton(false) SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255) surface.DrawRect(0, 0, w, h) end local SideBarCloseBtn = vgui.Create("DButton", SideBarOpened) SideBarCloseBtn:SetPos(SideBarOpened:GetWide() - 30, 5) SideBarCloseBtn:SetSize(25, 25) SideBarCloseBtn:SetText("-") SideBarCloseBtn:SetFont("GBayLabelFontLarge") SideBarCloseBtn:SetTextColor(Color(214, 214, 214)) SideBarCloseBtn.Paint = function() end SideBarCloseBtn.DoClick = function() SideBarOpened:Close() GBaySideBarClosed(DFrame, tab, false, data, firstjoined) end if tab == "PleaseRefresh" then local GBayLogoSettings = Material("gbay/Settings_Logo.png") SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoSettings) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) if firstjoined then draw.SimpleText("Server settings saved!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Please close this whole page", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("and reopen to use GBay!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) else draw.SimpleText("Server settings saved!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Please close this sidebar to go to the", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("dashboard... Server settings will", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("not display diffrent untill you", "GBayLabelFont", w / 2, h / 2 + 60, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("restart GBay!", "GBayLabelFont", w / 2, h / 2 + 80, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) end end -- draw.SimpleText("Whats your server name?","GBayLabelFont",w / 2,140,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) -- draw.RoundedBox(0,0,200,w,2,Color(221,221,221)) -- draw.SimpleText("Can people pay for ads?","GBayLabelFont",w / 2,210,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) -- draw.RoundedBox(0,0,300,w,2,Color(221,221,221)) -- draw.SimpleText("Can people sell services?","GBayLabelFont",w / 2,310,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) -- draw.RoundedBox(0,0,400,w,2,Color(221,221,221)) -- draw.SimpleText("Can people create coupons?","GBayLabelFont",w / 2,410,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) -- draw.RoundedBox(0,0,500,w,2,Color(221,221,221)) -- draw.SimpleText("More content coming.","GBayLabelFontBold",w / 2,570,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) -- draw.SimpleText("Check updates tab often","GBayLabelFont",w / 2,590,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) -- draw.SimpleText(" to keep up to date!","GBayLabelFont",w / 2,610,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) --[[ draw.SimpleText("Description of the service?","GBayLabelFont",w / 2,260,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) draw.SimpleText("What is the price of your shipment?","GBayLabelFont",w / 2,340,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) draw.SimpleText("Submit your Item??","GBayLabelFont",w / 2,400,Color( 137, 137, 137, 255 ),TEXT_ALIGN_CENTER) ]] elseif tab == "PleaseRefreshOther" then SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) draw.SimpleText("Please Refresh!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("GBay needs to be refreshed!", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Close and then re-open!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) end elseif tab == "Loading" then net.Receive("GBayDoneLoading", function() local newtype = net.ReadString() local newdata = net.ReadTable() if newtype == "Shipment" then table.insert(data[3], newdata[1], newdata) elseif newtype == "Service" then table.insert(data[4], newdata[1], newdata) elseif newtype == "Entity" then table.insert(data[5], newdata[1], newdata) end GBaySideBarOpened(DFrame, "Terms", false, data, false) end) net.Receive("GBayDoneLoading2", function() GBaySideBarOpened(DFrame, "PleaseRefreshOther", false, data, false) end) SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) draw.SimpleText("Saving data to database!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Please wait while we process", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("and refresh all data on GBay!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) for k, v in pairs(mf.fireworks) do if (not v.peaked) then draw.RoundedBox(mf.size / 2, v.pos[1], v.pos[2], mf.size, mf.size, v.color) else local part = v.particles for i = 1, #part do draw.RoundedBox(mf.particlesize / 2, part[i].pos[1], part[i].pos[2], mf.particlesize, mf.particlesize, v.color) end end end end SideBarOpened.Think = function(s) if (math.random(0, 100) < 0.01 and #mf.fireworks <= 5) then mf.newfirework(s, math.random(0, s:GetWide()), s:GetTall() + 5) end for k, v in pairs(mf.fireworks) do if (v.color.a < 0) then table.remove(mf.fireworks, k) continue end if (not v.peaked) then v.pos[2] = Lerp(mf.speed * FrameTime(), v.pos[2], s:GetTall() / v.peak) else if (v.particlenum ~= #v.particles) then for i = 1, v.particlenum do mf.newparticle(v, v.pos[1], v.pos[2]) end else local part = v.particles for i = 1, v.particlenum do if (part[i].peaked) then part[i].pos[2] = part[i].pos[4] + v.pos[2] part[i].pos[1] = part[i].pos[3] + v.pos[1] else if (part[i].pos[1] >= part[i].pos[3] + v.pos[1]) and (part[i].pos[2] >= part[i].pos[4] + v.pos[2]) then part[i].peaked = true else part[i].pos[2] = Lerp(mf.particlespeed * FrameTime(), part[i].pos[2], part[i].pos[4] + v.pos[2]) part[i].pos[1] = Lerp(mf.particlespeed * FrameTime(), part[i].pos[1], part[i].pos[3] + v.pos[1]) end end end end v.color.a = v.color.a - 2 v.pos[2] = v.pos[2] + 0.5 end if (v.pos[2] <= ((s:GetTall() / v.peak) + 5)) then v.peaked = true end end end elseif tab == "TransPending" then nomoney = false wronginfo = false error = false samep = false bought = false success = false net.Receive("GBayTransErrorReport", function() report = net.ReadString() nomoney = false wronginfo = false error = false samep = false bought = false success = false if report == "Money" then nomoney = true timer.Simple(5, function() GBaySideBarClosed(DFrame, "Dashboard", false, data, false) end) end if report == "Info" then wronginfo = true timer.Simple(5, function() GBaySideBarClosed(DFrame, "Dashboard", false, data, false) end) end if report == "Error" then error = true timer.Simple(5, function() GBaySideBarClosed(DFrame, "Dashboard", false, data, false) end) end if report == "SamePlayer" then samep = true timer.Simple(5, function() GBaySideBarClosed(DFrame, "Dashboard", false, data, false) end) end if report == "Bought" then bought = true timer.Simple(5, function() GBaySideBarClosed(DFrame, "Dashboard", false, data, false) end) end if report == "Success" then success = true timer.Simple(5, function() GBaySideBarClosed(DFrame, "Dashboard", false, data, false) end) end end) SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) if nomoney then draw.SimpleText("No money!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("It looks like you do not have the funds", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("To purchase this item!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) elseif wronginfo then draw.SimpleText("Ugh oh!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Something went wrong!", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Item was not found!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) elseif error then draw.SimpleText("Uh Oh!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Something went wrong!", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Close GBay and try again!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) elseif samep then draw.SimpleText("Uh Oh!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Something went wrong!", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Do not buy your own item!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) elseif bought then draw.SimpleText("Uh Oh!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Something went wrong!", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Do not buy this twice!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) elseif success then draw.SimpleText("Transaction Successful!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Your order has now been sent! ", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Please wait for the delivery", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) else draw.SimpleText("Transaction Pending!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Please wait while we process...", "GBayLabelFont", w / 2, h / 2 + 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Errors will be reported below!", "GBayLabelFont", w / 2, h / 2 + 40, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) end for k, v in pairs(mf.fireworks) do if (not v.peaked) then draw.RoundedBox(mf.size / 2, v.pos[1], v.pos[2], mf.size, mf.size, v.color) else local part = v.particles for i = 1, #part do draw.RoundedBox(mf.particlesize / 2, part[i].pos[1], part[i].pos[2], mf.particlesize, mf.particlesize, v.color) end end end end SideBarOpened.Think = function(s) if (math.random(0, 100) < 0.01 and #mf.fireworks <= 5) then mf.newfirework(s, math.random(0, s:GetWide()), s:GetTall() + 5) end for k, v in pairs(mf.fireworks) do if (v.color.a < 0) then table.remove(mf.fireworks, k) continue end if (not v.peaked) then v.pos[2] = Lerp(mf.speed * FrameTime(), v.pos[2], s:GetTall() / v.peak) else if (v.particlenum ~= #v.particles) then for i = 1, v.particlenum do mf.newparticle(v, v.pos[1], v.pos[2]) end else local part = v.particles for i = 1, v.particlenum do if (part[i].peaked) then part[i].pos[2] = part[i].pos[4] + v.pos[2] part[i].pos[1] = part[i].pos[3] + v.pos[1] else if (part[i].pos[1] >= part[i].pos[3] + v.pos[1]) and (part[i].pos[2] >= part[i].pos[4] + v.pos[2]) then part[i].peaked = true else part[i].pos[2] = Lerp(mf.particlespeed * FrameTime(), part[i].pos[2], part[i].pos[4] + v.pos[2]) part[i].pos[1] = Lerp(mf.particlespeed * FrameTime(), part[i].pos[1], part[i].pos[3] + v.pos[1]) end end end end v.color.a = v.color.a - 2 v.pos[2] = v.pos[2] + 0.5 end if (v.pos[2] <= ((s:GetTall() / v.peak) + 5)) then v.peaked = true end end end elseif tab == "Terms" then SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) draw.SimpleText("Item now on GBay!", "GBayLabelFontBold", w / 2, 20, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Here are some rules with selling...", "GBayLabelFont", w / 2, 45, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("At any time you may remove your", "GBayLabelFont", w / 2, 63, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("item or you can edit it by", "GBayLabelFont", w / 2, 83, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("clicking buttons below the", "GBayLabelFont", w / 2, 103, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("item. When your item is sold", "GBayLabelFont", w / 2, 123, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("You NEED to make sure you", "GBayLabelFont", w / 2, 143, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("keep the item and deliver", "GBayLabelFont", w / 2, 163, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("when the order is placed or you", "GBayLabelFont", w / 2, 183, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("risk receiving bad rep or a ban!", "GBayLabelFont", w / 2, 203, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Any questions please contact staff", "GBayLabelFont", w / 2, 223, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("a staff member", "GBayLabelFont", w / 2, 243, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("So lets recap the most important rules", "GBayLabelFont", w / 2, 303, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Save your shipment or remove it from", "GBayLabelFont", w / 2, 323, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("store before it is bought...", "GBayLabelFont", w / 2, 343, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Right when you are notified of the", "GBayLabelFont", w / 2, 383, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("purchase of your item please make", "GBayLabelFont", w / 2, 403, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("sure you deliver the item to the ", "GBayLabelFont", w / 2, 423, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("customer!", "GBayLabelFont", w / 2, 443, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) for k, v in pairs(mf.fireworks) do if (not v.peaked) then draw.RoundedBox(mf.size / 2, v.pos[1], v.pos[2], mf.size, mf.size, v.color) else local part = v.particles for i = 1, #part do draw.RoundedBox(mf.particlesize / 2, part[i].pos[1], part[i].pos[2], mf.particlesize, mf.particlesize, v.color) end end end end SideBarOpened.Think = function(s) if (math.random(0, 100) < 0.01 and #mf.fireworks <= 5) then mf.newfirework(s, math.random(0, s:GetWide()), s:GetTall() + 5) end for k, v in pairs(mf.fireworks) do if (v.color.a < 0) then table.remove(mf.fireworks, k) continue end if (not v.peaked) then v.pos[2] = Lerp(mf.speed * FrameTime(), v.pos[2], s:GetTall() / v.peak) else if (v.particlenum ~= #v.particles) then for i = 1, v.particlenum do mf.newparticle(v, v.pos[1], v.pos[2]) end else local part = v.particles for i = 1, v.particlenum do if (part[i].peaked) then part[i].pos[2] = part[i].pos[4] + v.pos[2] part[i].pos[1] = part[i].pos[3] + v.pos[1] else if (part[i].pos[1] >= part[i].pos[3] + v.pos[1]) and (part[i].pos[2] >= part[i].pos[4] + v.pos[2]) then part[i].peaked = true else part[i].pos[2] = Lerp(mf.particlespeed * FrameTime(), part[i].pos[2], part[i].pos[4] + v.pos[2]) part[i].pos[1] = Lerp(mf.particlespeed * FrameTime(), part[i].pos[1], part[i].pos[3] + v.pos[1]) end end end end v.color.a = v.color.a - 2 v.pos[2] = v.pos[2] + 0.5 end if (v.pos[2] <= ((s:GetTall() / v.peak) + 5)) then v.peaked = true end end end local TermsAccept = vgui.Create("DButton", SideBarOpened) TermsAccept:SetPos(20, SideBarOpened:GetTall() - 40) TermsAccept:SetSize(SideBarOpened:GetWide() - 40, 30) TermsAccept:SetText("Accept") TermsAccept:SetTextColor(Color(255, 255, 255)) TermsAccept.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end TermsAccept.DoClick = function() GBaySideBarClosed(DFrame, "Dashboard", false, data, false) end elseif tab == "Settings" or settingbtnclicked then local GBayLogoSettings = Material("gbay/Settings_Logo.png") if not firstjoined then playerisadmin = LocalPlayer():GBayIsSuperAdmin(data) else playerisadmin = true end SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoSettings) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) if playerisadmin then else draw.SimpleText("Get outta here!", "GBayLabelFontBold", w / 2, h / 2, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Currently there are no user settings", "GBayLabelFont", w / 2, h / 2 - 30, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Maybe sometime soon!", "GBayLabelFont", w / 2, h / 2 - 60, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) end end if playerisadmin then local ScrollList = vgui.Create("DPanelList", SideBarOpened) ScrollList:SetPos(0, 140) ScrollList:SetSize(SideBarOpened:GetWide(), SideBarOpened:GetTall() - 190) ScrollList:EnableHorizontal(false) ScrollList:SetSpacing(20) ScrollList:EnableVerticalScrollbar(false) if firstjoined then servername = "Server Name" adsyon = false servsyon = false coupsyon = false ffpi = 0 mpfpi = 0 itfpi = 0 ttnoo = 0 npcposn = "100.0, 100.0, 100.0" npcangn = "100.0, 100.0, 100.0" npcmodels = "model" elseif data == nil then servername = "Server Name" adsyon = false servsyon = false coupsyon = false ffpi = 0 mpfpi = 0 itfpi = 0 ttnoo = 0 npcposn = "100.0, 100.0, 100.0" npcangn = "100.0, 100.0, 100.0" npcmodels = "model" elseif data ~= nil then servername = data[2][1][2] adsyon = data[2][1][3] servsyon = data[2][1][4] coupsyon = data[2][1][5] ffpi = data[2][1][6] mpfpi = data[2][1][7] itfpi = data[2][1][8] ttnoo = data[2][1][9] npcposn = data[2][1][10] npcangn = data[2][1][11] npcmodels = data[2][1][12] end local configs = {{"Please enter your MySQL Info!", "bttn:Submit MySQL Data", [[function GBayConfigsButtonFunction() net.Start("GBaySetMySQLFromConfig") net.SendToServer() end]]}, {"Whats your server name?", "text:15:Server Name", servername}, {"Can people pay for ads?", "bool", adsyon, adsboolt, adsboolf}, {"Can people sell services?", "bool", servsyon, servboolt, servboolf}, {"Can people create coupons?", "bool", coupsyon, coupst, coupf}, {"What is the fee for posting items?", "numb:Posting Fee", ffpi}, {"What is the max price for items?", "numb:Max price", mpfpi}, {"Item tax (%)", "numb:Tax (for 8% just type 8)", itfpi}, {"Time to notify players of orders", "numb:Time in minutes to notify players", ttnoo}, {"Mail NPC pos", "text:255:100.0, 100.0, 100.0", npcposn}, {"Mail NPC ang", "text:255:100.0, 100.0, 100.0", npcangn}, {"Input Mail NPC's Model?", "text:255:NPC Model", npcmodels}} for k, v in pairs(configs) do if string.Left(v[2], 4) == "text" or string.Left(v[2], 4) == "numb" then sizey = 65 elseif string.Left(v[2], 4) == "bool" then sizey = 85 end local ItemMain = vgui.Create("DFrame") ItemMain:SetSize(ScrollList:GetWide(0), sizey) ItemMain:SetDraggable(false) ItemMain:SetTitle("") ItemMain:ShowCloseButton(false) ItemMain.Paint = function(s, w, h) draw.SimpleText(v[1], "GBayLabelFont", w / 2, 0, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.RoundedBox(0, 0, h - 2, w, 2, Color(221, 221, 221)) end if string.Left(v[2], 4) == "bttn" then local text = string.Explode(':', v[2]) local ItemMainBTN = vgui.Create("DButton", ItemMain) ItemMainBTN:SetPos(20, 25) ItemMainBTN:SetSize(SideBarOpened:GetWide() - 40, 20) ItemMainBTN:SetText(text[2]) ItemMainBTN:SetTextColor(Color(255, 255, 255)) ItemMainBTN.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end ItemMainBTN.DoClick = function() RunString(v[3]) GBayConfigsButtonFunction() end elseif string.Left(v[2], 4) == "text" then local text = string.Explode(':', v[2]) local ItemMainTE = vgui.Create("DTextEntry", ItemMain) ItemMainTE:SetPos(20, 25) ItemMainTE:SetSize(SideBarOpened:GetWide() - 40, 20) ItemMainTE:SetText(v[3]) ItemMainTE.OnTextChanged = function(s) if string.len(s:GetValue()) > tonumber(text[2]) then local timeleftforrestriction = 5 s:SetText(text[3] .. " must be < " .. text[2] .. " characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText(text[3]) s:SetEditable(true) return end s:SetText(text[3] .. " must be < " .. text[2] .. " characters... (" .. timeleftforrestriction .. ")") end) else v[3] = s:GetValue() end end elseif string.Left(v[2], 4) == "bool" then v[4] = vgui.Create("DCheckBoxLabel", ItemMain) v[4]:SetPos(20, 30) if data ~= nil then if v[3] == 1 then v[4]:SetValue(1) else v[4]:SetValue(0) end else v[4]:SetValue(0) end v[4]:SetText("Yes") v[4]:SetFont("GBayLabelFont") v[4]:SetTextColor(Color(137, 137, 137)) v[4].OnChange = function(value) v[3] = value:GetChecked() if value then if v[5]:GetChecked() then v[5]:SetValue(0) return end end end v[5] = vgui.Create("DCheckBoxLabel", ItemMain) v[5]:SetPos(20, 55) if data ~= nil then if v[3] == 0 then v[5]:SetValue(1) else v[5]:SetValue(0) end else v[5]:SetValue(0) end v[5]:SetText("No") v[5]:SetFont("GBayLabelFont") v[5]:SetTextColor(Color(137, 137, 137)) v[5].OnChange = function(value) if value then if v[4]:GetChecked() then v[4]:SetValue(0) return end end end elseif string.Left(v[2], 4) == "numb" then local text = string.Explode(':', v[2]) local ItemMainTE = vgui.Create("DTextEntry", ItemMain) ItemMainTE:SetPos(20, 25) ItemMainTE:SetSize(SideBarOpened:GetWide() - 40, 20) ItemMainTE:SetText(v[3]) ItemMainTE:SetNumeric(true) ItemMainTE.OnTextChanged = function(s) v[3] = s:GetValue() end end ScrollList:AddItem(ItemMain) end SaveSettingsBtn = vgui.Create("DButton", SideBarOpened) SaveSettingsBtn:SetPos(20, SideBarOpened:GetTall() - 40) SaveSettingsBtn:SetSize(SideBarOpened:GetWide() - 40, 30) SaveSettingsBtn:SetText("Save Settings") SaveSettingsBtn:SetTextColor(Color(255, 255, 255)) SaveSettingsBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SaveSettingsBtn.DoClick = function() local datatosend = {} for k, v in pairs(configs) do table.insert(datatosend, #datatosend + 1, v[3]) end net.Start("GBayUpdateSettings") net.WriteTable(datatosend) net.SendToServer() GBaySideBarOpened(DFrame, "PleaseRefresh", false, {}, firstjoined) end end elseif tab == "Dashboard" then for k, v in pairs(data[1]) do if v[2] == LocalPlayer():SteamID64() then playerdata = v end end local numbers = {playerdata[4], -playerdata[5], -playerdata[6]} local sum = 0 local total = 0 for i = 1, #numbers do sum = sum + numbers[i] total = total + math.abs(numbers[i]) end local percent = math.Round(numbers[1] / total * 100, 1) if IsValid(player.GetBySteamID64(playerdata[2])) then playerdatanick = player.GetBySteamID64(playerdata[2]):Nick() else playerdatanick = "Unknown" end if tostring(percent) == "nan" then percent = "0" end SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) draw.RoundedBox(0, 13, 38, 68, 68, Color(221, 221, 221)) draw.SimpleText(playerdatanick, "GBayLabelFontBold", 180, 60, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(percent .. "% positive feedback", "GBayLabelFontSmall", 165, 80, Color(188, 188, 188, 255), TEXT_ALIGN_CENTER) draw.SimpleText(playerdata[4], "GBayLabelFontBold", 55, 155, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Positive", "GBayLabelFontSmall", 55, 175, Color(188, 188, 188, 255), TEXT_ALIGN_CENTER) draw.SimpleText(playerdata[5], "GBayLabelFontBold", 155, 155, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Neutral", "GBayLabelFontSmall", 155, 175, Color(188, 188, 188, 255), TEXT_ALIGN_CENTER) draw.SimpleText(playerdata[6], "GBayLabelFontBold", 245, 155, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Negative", "GBayLabelFontSmall", 245, 175, Color(188, 188, 188, 255), TEXT_ALIGN_CENTER) draw.SimpleText("User Info", "GBayLabelFontSmall", 5, 230, Color(188, 188, 188, 255)) draw.RoundedBox(0, 0, 250, w, 2, Color(221, 221, 221)) draw.SimpleText("Player ID: " .. playerdata[1], "GBayLabelFontSmall", 5, 270, Color(188, 188, 188, 255)) draw.SimpleText("Player Rank: " .. playerdata[3], "GBayLabelFontSmall", 5, 300, Color(188, 188, 188, 255)) draw.SimpleText("Total Player Rep: " .. playerdata[4] + playerdata[5] + playerdata[6], "GBayLabelFontSmall", 5, 330, Color(188, 188, 188, 255)) draw.SimpleText("Below are your current items for sale!", "GBayLabelFontSmall", 5, 380, Color(188, 188, 188, 255)) draw.RoundedBox(0, 0, 400, w, 2, Color(221, 221, 221)) end local PlayerAvatar = vgui.Create("AvatarImage", SideBarOpened) PlayerAvatar:SetPos(15, 40) PlayerAvatar:SetSize(64, 64) PlayerAvatar:SetSteamID(playerdata[2], 64) local PositiveIMG = vgui.Create("DImage", SideBarOpened) PositiveIMG:SetPos(30, 160) PositiveIMG:SizeToContents() PositiveIMG:SetImage("gbay/Positive.png") local NeutralIMG = vgui.Create("DImage", SideBarOpened) NeutralIMG:SetPos(130, 160) NeutralIMG:SizeToContents() NeutralIMG:SetImage("gbay/Neutral.png") local NegativeIMG = vgui.Create("DImage", SideBarOpened) NegativeIMG:SetPos(220, 160) NegativeIMG:SizeToContents() NegativeIMG:SetImage("gbay/Negative.png") local ScrollList = vgui.Create("DPanelList", SideBarOpened) ScrollList:SetPos(5, 420) ScrollList:SetSize(SideBarOpened:GetWide(), SideBarOpened:GetTall() - 440) ScrollList:EnableHorizontal(true) ScrollList:SetSpacing(20) ScrollList:EnableVerticalScrollbar(true) ScrollList.VBar.Paint = function(s, w, h) end ScrollList.VBar.btnUp.Paint = function(s, w, h) end ScrollList.VBar.btnDown.Paint = function(s, w, h) end ScrollList.VBar.btnGrip.Paint = function(s, w, h) end for k, v in pairs(data[3]) do if v[2] == LocalPlayer():SteamID64() then local ItemMain = vgui.Create("DFrame") ItemMain:SetSize(270, 130) ItemMain:SetDraggable(false) ItemMain:SetTitle("") ItemMain:ShowCloseButton(false) ItemMain.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h - 30, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 34, Color(255, 255, 255)) draw.RoundedBox(0, 0, 0, 100, 100, Color(238, 238, 238)) end if LocalPlayer():GBayIsAdmin(data) or v[2] == LocalPlayer():SteamID64() then local ViewMoreBTN = vgui.Create("DButton", ItemMain) ViewMoreBTN:SetPos(5, ItemMain:GetTall() - 20) ViewMoreBTN:SetSize(80, 20) ViewMoreBTN:SetText("View More") ViewMoreBTN:SetTextColor(Color(185, 201, 229)) ViewMoreBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end ViewMoreBTN.DoClick = function() LocalPlayer().GBayOrderType = "Shipment" LocalPlayer().GBayOrderItem = v HomePanel:Remove() GBayViewMoreItemFull("Shipment", DFrame, data, v) LocalPlayer().GBayPlayerProfileWho = v[2] GBaySideBarClosed(DFrame, "PlayerProfile", false, data, false) end local EditBTN = vgui.Create("DButton", ItemMain) EditBTN:SetPos(95, ItemMain:GetTall() - 20) EditBTN:SetSize(80, 20) EditBTN:SetText("Edit") EditBTN:SetTextColor(Color(255, 0, 0)) EditBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end EditBTN.DoClick = function() LocalPlayer().GBayIsEditing = v[1] GBaySideBarOpened(DFrame, "EditServ", false, data, false) end local RemoveBTN = vgui.Create("DButton", ItemMain) RemoveBTN:SetPos(185, ItemMain:GetTall() - 20) RemoveBTN:SetSize(80, 20) RemoveBTN:SetText("Remove") RemoveBTN:SetTextColor(Color(255, 0, 0)) RemoveBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end RemoveBTN.DoClick = function() Derma_Query("Are you sure you want to remove this item?", "GBay Remove Item", "Yes", function() net.Start("GBayRemoveShipment") net.WriteFloat(v[1]) net.SendToServer() end, "No", function() end) end else local ViewMoreBTN = vgui.Create("DButton", ItemMain) ViewMoreBTN:SetPos(20, ItemMain:GetTall() - 20) ViewMoreBTN:SetSize(ItemMain:GetWide() - 40, 20) ViewMoreBTN:SetText("View More") ViewMoreBTN:SetTextColor(Color(185, 201, 229)) ViewMoreBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end ViewMoreBTN.DoClick = function() LocalPlayer().GBayOrderType = "Shipment" LocalPlayer().GBayOrderItem = v HomePanel:Remove() GBayViewMoreItemFull("Shipment", DFrame, data, v) LocalPlayer().GBayPlayerProfileWho = v[2] GBaySideBarClosed(DFrame, "PlayerProfile", false, data, false) end end local theweaponpic = false if file.Exists("materials/vgui/entities/" .. v[5] .. ".vmt", "GAME") then theweaponpic = "vgui/entities/" .. v[5] .. ".vmt" elseif file.Exists("materials/entities/" .. v[5] .. ".png", "GAME") then theweaponpic = "entities/" .. v[5] .. ".png" end local WeaponModel = vgui.Create("DImage", ItemMain) WeaponModel:SetPos(0, 0) WeaponModel:SetSize(100, 100) WeaponModel:SetImage(theweaponpic) local ItemName = vgui.Create("DLabel", ItemMain) ItemName:SetPos(110, 10) ItemName:SetSize(ItemMain:GetWide(), 20) ItemName:SetText(v[3]) ItemName:SetTextColor(Color(0, 0, 0)) ItemName:SetFont("GBayLabelFontSmall") local UserRatingText = vgui.Create("DLabel", ItemMain) UserRatingText:SetPos(110, 30) UserRatingText:SetSize(ItemMain:GetWide(), 20) UserRatingText:SetText("User Rating: ") UserRatingText:SetTextColor(Color(0, 0, 0)) UserRatingText:SetFont("GBayLabelFontSmall") for playerid, player in pairs(data[1]) do if player[2] == v[2] then playerdata = player end end local thestars = 0 local numbers = {playerdata[4], -playerdata[5], -playerdata[6]} local sum = 0 local total = 0 for i = 1, #numbers do sum = sum + numbers[i] total = total + math.abs(numbers[i]) end local percent = math.Round(numbers[1] / total * 100, 1) if percent <= 20 then thestars = 1 elseif percent <= 40 then thestars = 2 elseif percent <= 60 then thestars = 3 elseif percent <= 80 then thestars = 4 elseif percent <= 100 then thestars = 5 end local theposforstars = 185 for i = 1, thestars do local RatingStars = vgui.Create("DImage", ItemMain) RatingStars:SetPos(theposforstars, 35) RatingStars:SetSize(10, 10) RatingStars:SetImage("gbay/Star128.png") theposforstars = theposforstars + 15 end local UserRatingText = vgui.Create("DLabel", ItemMain) UserRatingText:SetPos(110, 50) UserRatingText:SetSize(ItemMain:GetWide(), 20) UserRatingText:SetText("Price: " .. DarkRP.formatMoney(v[6])) UserRatingText:SetTextColor(Color(0, 0, 0)) UserRatingText:SetFont("GBayLabelFontSmall") local PlayerAvatar = vgui.Create("EnhancedAvatarImage", ItemMain) PlayerAvatar:SetPos(ItemMain:GetWide() - 40, 60) PlayerAvatar:SetSize(34, 34) PlayerAvatar:SetSteamID(v[2], 64) ScrollList:AddItem(ItemMain) end end for k, v in pairs(data[4]) do if LocalPlayer():GBayIsAdmin(data) or v[2] == LocalPlayer():SteamID64() then local ItemMain = vgui.Create("DFrame") ItemMain:SetSize(270, 130) ItemMain:SetDraggable(false) ItemMain:SetTitle("") ItemMain:ShowCloseButton(false) ItemMain.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h - 30, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 34, Color(255, 255, 255)) draw.RoundedBox(0, 0, 0, 100, 100, Color(238, 238, 238)) end if LocalPlayer():GBayIsAdmin(data) or v[2] == LocalPlayer():SteamID64() then local ViewMoreBTN = vgui.Create("DButton", ItemMain) ViewMoreBTN:SetPos(5, ItemMain:GetTall() - 20) ViewMoreBTN:SetSize(80, 20) ViewMoreBTN:SetText("View More") ViewMoreBTN:SetTextColor(Color(185, 201, 229)) ViewMoreBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end ViewMoreBTN.DoClick = function() LocalPlayer().GBayOrderType = "Service" LocalPlayer().GBayOrderItem = v HomePanel:Remove() GBayViewMoreItemFull("Service", DFrame, data, v) LocalPlayer().GBayPlayerProfileWho = v[2] GBaySideBarClosed(DFrame, "PlayerProfile", false, data, false) end local EditBTN = vgui.Create("DButton", ItemMain) EditBTN:SetPos(95, ItemMain:GetTall() - 20) EditBTN:SetSize(80, 20) EditBTN:SetText("Edit") EditBTN:SetTextColor(Color(255, 0, 0)) EditBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end EditBTN.DoClick = function() LocalPlayer().GBayIsEditing = v[1] GBaySideBarOpened(DFrame, "EditServ", false, data, false) end local RemoveBTN = vgui.Create("DButton", ItemMain) RemoveBTN:SetPos(185, ItemMain:GetTall() - 20) RemoveBTN:SetSize(80, 20) RemoveBTN:SetText("Remove") RemoveBTN:SetTextColor(Color(255, 0, 0)) RemoveBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end RemoveBTN.DoClick = function() Derma_Query("Are you sure you want to remove this item?", "GBay Remove Item", "Yes", function() net.Start("GBayRemoveService") net.WriteFloat(v[1]) net.SendToServer() end, "No", function() end) end else local ViewMoreBTN = vgui.Create("DButton", ItemMain) ViewMoreBTN:SetPos(20, ItemMain:GetTall() - 20) ViewMoreBTN:SetSize(ItemMain:GetWide() - 40, 20) ViewMoreBTN:SetText("View More") ViewMoreBTN:SetTextColor(Color(185, 201, 229)) ViewMoreBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end ViewMoreBTN.DoClick = function() LocalPlayer().GBayOrderType = "Service" LocalPlayer().GBayOrderItem = v HomePanel:Remove() GBayViewMoreItemFull("Service", DFrame, data, v) LocalPlayer().GBayPlayerProfileWho = v[2] GBaySideBarClosed(DFrame, "PlayerProfile", false, data, false) end end local ServModel = vgui.Create("DImage", ItemMain) ServModel:SetPos(0, 0) ServModel:SetSize(100, 100) ServModel:SetImage("gbay/Services_Small.png") local ItemName = vgui.Create("DLabel", ItemMain) ItemName:SetPos(110, 10) ItemName:SetSize(ItemMain:GetWide(), 20) ItemName:SetText(v[3]) ItemName:SetTextColor(Color(0, 0, 0)) ItemName:SetFont("GBayLabelFontSmall") local UserRatingText = vgui.Create("DLabel", ItemMain) UserRatingText:SetPos(110, 30) UserRatingText:SetSize(ItemMain:GetWide(), 20) UserRatingText:SetText("User Rating: ") UserRatingText:SetTextColor(Color(0, 0, 0)) UserRatingText:SetFont("GBayLabelFontSmall") for playerid, player in pairs(data[1]) do if player[2] == v[2] then playerdata = player end end local thestars = 0 local numbers = {playerdata[4], -playerdata[5], -playerdata[6]} local sum = 0 local total = 0 for i = 1, #numbers do sum = sum + numbers[i] total = total + math.abs(numbers[i]) end local percent = math.Round(numbers[1] / total * 100, 1) if percent <= 20 then thestars = 1 elseif percent <= 40 then thestars = 2 elseif percent <= 60 then thestars = 3 elseif percent <= 80 then thestars = 4 elseif percent <= 100 then thestars = 5 end local theposforstars = 185 for i = 1, thestars do local RatingStars = vgui.Create("DImage", ItemMain) RatingStars:SetPos(theposforstars, 35) RatingStars:SetSize(10, 10) RatingStars:SetImage("gbay/Star128.png") theposforstars = theposforstars + 15 end local UserRatingText = vgui.Create("DLabel", ItemMain) UserRatingText:SetPos(110, 50) UserRatingText:SetSize(ItemMain:GetWide(), 20) UserRatingText:SetText("Price: " .. DarkRP.formatMoney(v[5])) UserRatingText:SetTextColor(Color(0, 0, 0)) UserRatingText:SetFont("GBayLabelFontSmall") local PlayerAvatar = vgui.Create("EnhancedAvatarImage", ItemMain) PlayerAvatar:SetPos(ItemMain:GetWide() - 40, 60) PlayerAvatar:SetSize(34, 34) PlayerAvatar:SetSteamID(v[2], 64) ScrollList:AddItem(ItemMain) end end for k, v in pairs(data[5]) do if LocalPlayer():GBayIsAdmin(data) or v[2] == LocalPlayer():SteamID64() then local ItemMain = vgui.Create("DFrame") ItemMain:SetSize(270, 130) ItemMain:SetDraggable(false) ItemMain:SetTitle("") ItemMain:ShowCloseButton(false) ItemMain.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h - 30, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 34, Color(255, 255, 255)) draw.RoundedBox(0, 0, 0, 100, 100, Color(238, 238, 238)) end if LocalPlayer():GBayIsAdmin(data) or v[2] == LocalPlayer():SteamID64() then local ViewMoreBTN = vgui.Create("DButton", ItemMain) ViewMoreBTN:SetPos(5, ItemMain:GetTall() - 20) ViewMoreBTN:SetSize(80, 20) ViewMoreBTN:SetText("View More") ViewMoreBTN:SetTextColor(Color(185, 201, 229)) ViewMoreBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end ViewMoreBTN.DoClick = function() LocalPlayer().GBayOrderType = "Entity" LocalPlayer().GBayOrderItem = v HomePanel:Remove() GBayViewMoreItemFull("Entity", DFrame, data, v) LocalPlayer().GBayPlayerProfileWho = v[2] GBaySideBarClosed(DFrame, "PlayerProfile", false, data, false) end local EditBTN = vgui.Create("DButton", ItemMain) EditBTN:SetPos(95, ItemMain:GetTall() - 20) EditBTN:SetSize(80, 20) EditBTN:SetText("Edit") EditBTN:SetTextColor(Color(255, 0, 0)) EditBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end EditBTN.DoClick = function() LocalPlayer().GBayIsEditing = v[1] GBaySideBarOpened(DFrame, "EditEnt", false, data, false) end local RemoveBTN = vgui.Create("DButton", ItemMain) RemoveBTN:SetPos(185, ItemMain:GetTall() - 20) RemoveBTN:SetSize(80, 20) RemoveBTN:SetText("Remove") RemoveBTN:SetTextColor(Color(255, 0, 0)) RemoveBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end RemoveBTN.DoClick = function() Derma_Query("Are you sure you want to remove this item?", "GBay Remove Item", "Yes", function() net.Start("GBayRemoveEntity") net.WriteFloat(v[1]) net.SendToServer() end, "No", function() end) end else local ViewMoreBTN = vgui.Create("DButton", ItemMain) ViewMoreBTN:SetPos(20, ItemMain:GetTall() - 20) ViewMoreBTN:SetSize(ItemMain:GetWide() - 40, 20) ViewMoreBTN:SetText("View More") ViewMoreBTN:SetTextColor(Color(185, 201, 229)) ViewMoreBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end ViewMoreBTN.DoClick = function() LocalPlayer().GBayOrderType = "Entity" LocalPlayer().GBayOrderItem = v HomePanel:Remove() GBayViewMoreItemFull("Entity", DFrame, data, v) LocalPlayer().GBayPlayerProfileWho = v[2] GBaySideBarClosed(DFrame, "PlayerProfile", false, data, false) end end local theweaponpic = false if file.Exists("materials/vgui/entities/" .. v[5] .. ".vmt", "GAME") then theweaponpic = "vgui/entities/" .. v[5] .. ".vmt" elseif file.Exists("materials/entities/" .. v[5] .. ".png", "GAME") then theweaponpic = "entities/" .. v[5] .. ".png" end local WeaponModel = vgui.Create("DImage", ItemMain) WeaponModel:SetPos(0, 0) WeaponModel:SetSize(100, 100) WeaponModel:SetImage(theweaponpic) local ItemName = vgui.Create("DLabel", ItemMain) ItemName:SetPos(110, 10) ItemName:SetSize(ItemMain:GetWide(), 20) ItemName:SetText(v[3]) ItemName:SetTextColor(Color(0, 0, 0)) ItemName:SetFont("GBayLabelFontSmall") local UserRatingText = vgui.Create("DLabel", ItemMain) UserRatingText:SetPos(110, 30) UserRatingText:SetSize(ItemMain:GetWide(), 20) UserRatingText:SetText("User Rating: ") UserRatingText:SetTextColor(Color(0, 0, 0)) UserRatingText:SetFont("GBayLabelFontSmall") for playerid, player in pairs(data[1]) do if player[2] == v[2] then playerdata = player end end local thestars = 0 local numbers = {playerdata[4], -playerdata[5], -playerdata[6]} local sum = 0 local total = 0 for i = 1, #numbers do sum = sum + numbers[i] total = total + math.abs(numbers[i]) end local percent = math.Round(numbers[1] / total * 100, 1) if percent <= 20 then thestars = 1 elseif percent <= 40 then thestars = 2 elseif percent <= 60 then thestars = 3 elseif percent <= 80 then thestars = 4 elseif percent <= 100 then thestars = 5 end local theposforstars = 185 for i = 1, thestars do local RatingStars = vgui.Create("DImage", ItemMain) RatingStars:SetPos(theposforstars, 35) RatingStars:SetSize(10, 10) RatingStars:SetImage("gbay/Star128.png") theposforstars = theposforstars + 15 end local UserRatingText = vgui.Create("DLabel", ItemMain) UserRatingText:SetPos(110, 50) UserRatingText:SetSize(ItemMain:GetWide(), 20) UserRatingText:SetText("Price: " .. DarkRP.formatMoney(v[6])) UserRatingText:SetTextColor(Color(0, 0, 0)) UserRatingText:SetFont("GBayLabelFontSmall") local PlayerAvatar = vgui.Create("EnhancedAvatarImage", ItemMain) PlayerAvatar:SetPos(ItemMain:GetWide() - 40, 60) PlayerAvatar:SetSize(34, 34) PlayerAvatar:SetSteamID(v[2], 64) ScrollList:AddItem(ItemMain) end end elseif tab == "PlayerProfile" then local playerdata = {} for k, v in pairs(data[1]) do if v[2] == LocalPlayer().GBayPlayerProfileWho then playerdata = v end end local numbers = {playerdata[4], -playerdata[5], -playerdata[6]} local sum = 0 local total = 0 for i = 1, #numbers do sum = sum + numbers[i] total = total + math.abs(numbers[i]) end local percent = math.Round(numbers[1] / total * 100, 1) if IsValid(player.GetBySteamID64(playerdata[2])) then playerdatanick = player.GetBySteamID64(playerdata[2]):Nick() else playerdatanick = "Unknown" end if tostring(percent) == "nan" then percent = "0" end SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) draw.RoundedBox(0, 13, 38, 68, 68, Color(221, 221, 221)) draw.SimpleText(playerdatanick, "GBayLabelFontBold", 180, 60, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(percent .. "% positive feedback", "GBayLabelFontSmall", 165, 80, Color(188, 188, 188, 255), TEXT_ALIGN_CENTER) draw.SimpleText(playerdata[4], "GBayLabelFontBold", 55, 155, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Positive", "GBayLabelFontSmall", 55, 175, Color(188, 188, 188, 255), TEXT_ALIGN_CENTER) draw.SimpleText(playerdata[5], "GBayLabelFontBold", 155, 155, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Neutral", "GBayLabelFontSmall", 155, 175, Color(188, 188, 188, 255), TEXT_ALIGN_CENTER) draw.SimpleText(playerdata[6], "GBayLabelFontBold", 245, 155, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Negative", "GBayLabelFontSmall", 245, 175, Color(188, 188, 188, 255), TEXT_ALIGN_CENTER) draw.SimpleText("User Info", "GBayLabelFontSmall", 5, 230, Color(188, 188, 188, 255)) draw.RoundedBox(0, 0, 250, w, 2, Color(221, 221, 221)) draw.SimpleText("Player ID: " .. playerdata[1], "GBayLabelFontSmall", 5, 270, Color(188, 188, 188, 255)) draw.SimpleText("Player Rank: " .. playerdata[3], "GBayLabelFontSmall", 5, 300, Color(188, 188, 188, 255)) draw.SimpleText("Total Player Rep: " .. playerdata[4] + playerdata[5] + playerdata[6], "GBayLabelFontSmall", 5, 330, Color(188, 188, 188, 255)) draw.SimpleText("Below are this users items!", "GBayLabelFontSmall", 5, 380, Color(188, 188, 188, 255)) draw.RoundedBox(0, 0, 400, w, 2, Color(221, 221, 221)) end if LocalPlayer():GBayIsSuperAdmin(data) then local BanBTN = vgui.Create("DButton", SideBarOpened) BanBTN:SetPos(20, 350) BanBTN:SetSize(SideBarOpened:GetWide() / 3 - 20, 20) BanBTN:SetText("Ban User") BanBTN:SetTextColor(Color(255, 0, 0)) BanBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end BanBTN.DoClick = function() Derma_StringRequest("GBay Ban Player", "How many days should this ban be?", "1", function(text) net.Start("GBayBanPlayer") net.WriteFloat(tonumber(text)) net.WriteString(playerdata[1]) net.SendToServer() end, function(text) end) end local SetRankBTN = vgui.Create("DButton", SideBarOpened) SetRankBTN:SetPos(SideBarOpened:GetWide() / 3 + 10, 350) SetRankBTN:SetSize(SideBarOpened:GetWide() / 3 - 20, 20) SetRankBTN:SetText("Set Rank") SetRankBTN:SetTextColor(Color(185, 201, 229)) SetRankBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end SetRankBTN.DoClick = function() Derma_StringRequest("GBay Set Player Rank", "What rank should this player be? (Superadmin or Admin only!)", "Admin", function(text) net.Start("GBaySetPlayerRank") net.WriteString(text) net.WriteString(playerdata[1]) net.SendToServer() end, function(text) end) end local EditUserBTN = vgui.Create("DButton", SideBarOpened) EditUserBTN:SetPos(SideBarOpened:GetWide() / 3 + 10 + SideBarOpened:GetWide() / 3 - 10, 350) EditUserBTN:SetSize(SideBarOpened:GetWide() / 3 - 20, 20) EditUserBTN:SetText("Edit User") EditUserBTN:SetTextColor(Color(185, 201, 229)) EditUserBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end EditUserBTN.DoClick = function() local menu = DermaMenu() menu:AddOption("Edit +rep", function() Derma_StringRequest("GBay Set Player +rep", "What should the +rep be for this player?", "0", function(text) net.Start("GBaySetprep") net.WriteFloat(tonumber(text)) net.WriteFloat(tonumber(playerdata[1])) net.SendToServer() end, function(text) end) end) menu:AddOption("Edit neutral rep", function() Derma_StringRequest("GBay Set Player neutral rep", "What should the neutral rep be for this player?", "0", function(text) net.Start("GBaySetnrep") net.WriteFloat(tonumber(text)) net.WriteFloat(tonumber(playerdata[1])) net.SendToServer() end, function(text) end) end) menu:AddOption("Edit -rep", function() Derma_StringRequest("GBay Set Player -rep", "What should the -rep be for this player?", "0", function(text) net.Start("GBaySetmrep") net.WriteFloat(tonumber(text)) net.WriteFloat(tonumber(playerdata[1])) net.SendToServer() end, function(text) end) end) menu:AddOption("Close", function() end) menu:Open() end elseif LocalPlayer():GBayIsAdmin(data) then local BanBTN = vgui.Create("DButton", SideBarOpened) BanBTN:SetPos(20, 350) BanBTN:SetSize(SideBarOpened:GetWide() / 3 - 20, 20) BanBTN:SetText("Ban User") BanBTN:SetTextColor(Color(255, 0, 0)) BanBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end BanBTN.DoClick = function() Derma_StringRequest("GBay Ban Player", "How many days should this ban be?", "1", function(text) net.Start("GBayBanPlayer") net.WriteFloat(tonumber(text)) net.WriteString(playerdata[1]) net.SendToServer() end, function(text) end) end end local PlayerAvatar = vgui.Create("AvatarImage", SideBarOpened) PlayerAvatar:SetPos(15, 40) PlayerAvatar:SetSize(64, 64) PlayerAvatar:SetSteamID(playerdata[2], 64) local PositiveIMG = vgui.Create("DImage", SideBarOpened) PositiveIMG:SetPos(30, 160) PositiveIMG:SizeToContents() PositiveIMG:SetImage("gbay/Positive.png") local NeutralIMG = vgui.Create("DImage", SideBarOpened) NeutralIMG:SetPos(130, 160) NeutralIMG:SizeToContents() NeutralIMG:SetImage("gbay/Neutral.png") local NegativeIMG = vgui.Create("DImage", SideBarOpened) NegativeIMG:SetPos(220, 160) NegativeIMG:SizeToContents() NegativeIMG:SetImage("gbay/Negative.png") local ScrollList = vgui.Create("DPanelList", SideBarOpened) ScrollList:SetPos(5, 420) ScrollList:SetSize(SideBarOpened:GetWide(), SideBarOpened:GetTall() - 440) ScrollList:EnableHorizontal(true) ScrollList:SetSpacing(20) ScrollList:EnableVerticalScrollbar(true) ScrollList.VBar.Paint = function(s, w, h) end ScrollList.VBar.btnUp.Paint = function(s, w, h) end ScrollList.VBar.btnDown.Paint = function(s, w, h) end ScrollList.VBar.btnGrip.Paint = function(s, w, h) end for k, v in pairs(data[3]) do if v[2] == playerdata[2] then local ItemMain = vgui.Create("DFrame") ItemMain:SetSize(270, 130) ItemMain:SetDraggable(false) ItemMain:SetTitle("") ItemMain:ShowCloseButton(false) ItemMain.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h - 30, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 34, Color(255, 255, 255)) draw.RoundedBox(0, 0, 0, 100, 100, Color(238, 238, 238)) end local ViewMoreBTN = vgui.Create("DButton", ItemMain) ViewMoreBTN:SetPos(20, ItemMain:GetTall() - 20) ViewMoreBTN:SetSize(ItemMain:GetWide() - 40, 20) ViewMoreBTN:SetText("View More") ViewMoreBTN:SetTextColor(Color(185, 201, 229)) ViewMoreBTN.Paint = function(s, w, h) draw.RoundedBox(0, 0, 0, w, h, Color(238, 238, 238)) draw.RoundedBox(0, 2, 2, w - 4, h - 4, Color(255, 255, 255)) end ViewMoreBTN.DoClick = function() GBayViewMoreItemSmall("Shipment", DFrame, data, v) end local theweaponpic = false if file.Exists("materials/vgui/entities/" .. v[5] .. ".vmt", "GAME") then theweaponpic = "vgui/entities/" .. v[5] .. ".vmt" elseif file.Exists("materials/entities/" .. v[5] .. ".png", "GAME") then theweaponpic = "entities/" .. v[5] .. ".png" end local WeaponModel = vgui.Create("DImage", ItemMain) WeaponModel:SetPos(0, 0) WeaponModel:SetSize(100, 100) WeaponModel:SetImage(theweaponpic) local ItemName = vgui.Create("DLabel", ItemMain) ItemName:SetPos(110, 10) ItemName:SetSize(ItemMain:GetWide(), 20) ItemName:SetText(v[3]) ItemName:SetTextColor(Color(0, 0, 0)) ItemName:SetFont("GBayLabelFontSmall") local UserRatingText = vgui.Create("DLabel", ItemMain) UserRatingText:SetPos(110, 30) UserRatingText:SetSize(ItemMain:GetWide(), 20) UserRatingText:SetText("User Rating: ") UserRatingText:SetTextColor(Color(0, 0, 0)) UserRatingText:SetFont("GBayLabelFontSmall") local thestars = 0 local numbers = {playerdata[4], -playerdata[5], -playerdata[6]} local sum = 0 local total = 0 for i = 1, #numbers do sum = sum + numbers[i] total = total + math.abs(numbers[i]) end local percent = math.Round(numbers[1] / total * 100, 1) if percent <= 20 then thestars = 1 end if percent <= 40 then thestars = 2 end if percent <= 60 then thestars = 3 end if percent <= 80 then thestars = 4 end if percent <= 100 then thestars = 5 end local theposforstars = 185 for i = 1, thestars do local RatingStars = vgui.Create("DImage", ItemMain) RatingStars:SetPos(theposforstars, 35) RatingStars:SetSize(10, 10) RatingStars:SetImage("gbay/Star128.png") theposforstars = theposforstars + 15 end local UserRatingText = vgui.Create("DLabel", ItemMain) UserRatingText:SetPos(110, 50) UserRatingText:SetSize(ItemMain:GetWide(), 20) UserRatingText:SetText("Price: " .. DarkRP.formatMoney(v[6])) UserRatingText:SetTextColor(Color(0, 0, 0)) UserRatingText:SetFont("GBayLabelFontSmall") local PlayerAvatar = vgui.Create("EnhancedAvatarImage", ItemMain) PlayerAvatar:SetPos(ItemMain:GetWide() - 40, 60) PlayerAvatar:SetSize(34, 34) PlayerAvatar:SetSteamID(v[2], 64) ScrollList:AddItem(ItemMain) end end elseif tab == "Create" then local GBayLogoCreate = Material("gbay/Create_Logo.png") local used = false usedshipments = false usedent = false usedservice = false tab = "Dashboard" SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCreate) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText("What type of item?", "GBayLabelFont", w / 2, 140, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) if usedshipments then draw.SimpleText("Name of the shipment?", "GBayLabelFont", w / 2, 200, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Description of the shipment?", "GBayLabelFont", w / 2, 260, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Select your weapon!", "GBayLabelFont", w / 2, 340, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("What is the price of your shipment?", "GBayLabelFont", w / 2, 400, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Submit your Shipment??", "GBayLabelFont", w / 2, 460, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.RoundedBox(0, 0, 520, w, 2, Color(221, 221, 221)) draw.SimpleText("More content coming.", "GBayLabelFontBold", w / 2, 570, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Check updates tab often", "GBayLabelFont", w / 2, 590, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(" to keep up to date!", "GBayLabelFont", w / 2, 610, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) elseif usedservice then draw.SimpleText("Name of the service?", "GBayLabelFont", w / 2, 200, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Description of the service?", "GBayLabelFont", w / 2, 260, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("What is the price of your service?", "GBayLabelFont", w / 2, 340, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Submit your Service??", "GBayLabelFont", w / 2, 400, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.RoundedBox(0, 0, 460, w, 2, Color(221, 221, 221)) draw.SimpleText("More content coming.", "GBayLabelFontBold", w / 2, 550, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Check updates tab often", "GBayLabelFont", w / 2, 570, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(" to keep up to date!", "GBayLabelFont", w / 2, 590, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) elseif usedent then draw.SimpleText("Name of the entity?", "GBayLabelFont", w / 2, 200, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Description of the entity?", "GBayLabelFont", w / 2, 260, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Select your entity!", "GBayLabelFont", w / 2, 340, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("What is the price of your entity?", "GBayLabelFont", w / 2, 400, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Submit your Entity??", "GBayLabelFont", w / 2, 460, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.RoundedBox(0, 0, 520, w, 2, Color(221, 221, 221)) draw.SimpleText("More content coming.", "GBayLabelFontBold", w / 2, 570, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Check updates tab often", "GBayLabelFont", w / 2, 590, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(" to keep up to date!", "GBayLabelFont", w / 2, 610, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) end end local CreateItmType = vgui.Create("DComboBox", SideBarOpened) CreateItmType:SetPos(20, 170) CreateItmType:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmType:SetValue("Item Type") CreateItmType:AddChoice("Shipment") CreateItmType:AddChoice("Entity") CreateItmType:AddChoice("Service") CreateItmType.OnSelect = function(panel, index, value) if used then GBaySideBarClosed(DFrame, "Create", false, data, firstjoined) GBaySideBarOpened(DFrame, "Create", false, data, false) if value == "Shipment" then local CreateItmShipName = vgui.Create("DTextEntry", SideBarOpened) CreateItmShipName:SetPos(20, 230) CreateItmShipName:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmShipName:SetText("Shipment name") CreateItmShipName.OnTextChanged = function(s) if string.len(s:GetValue()) > 27 then local timeleftforrestriction = 5 s:SetText("Shipment name must be < 27 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Shipment name") s:SetEditable(true) return end s:SetText("Shipment name must be < 27 characters... (" .. timeleftforrestriction .. ")") end) end end local CreateItmShipDesc = vgui.Create("DTextEntry", SideBarOpened) CreateItmShipDesc:SetPos(20, 290) CreateItmShipDesc:SetSize(SideBarOpened:GetWide() - 40, 40) CreateItmShipDesc:SetText("Shipment Description") CreateItmShipDesc:SetMultiline(true) CreateItmShipDesc.OnTextChanged = function(s) if string.len(s:GetValue()) > 81 then local timeleftforrestriction = 5 s:SetText("Shipment description must be < 81 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Shipment Description") s:SetEditable(true) return end s:SetText("Shipment description must be < 81 characters... (" .. timeleftforrestriction .. ")") end) end end local SelWepBtn = vgui.Create("DButton", SideBarOpened) SelWepBtn:SetPos(20, 370) SelWepBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepBtn:SetText("Select Shipmet (must be close)") SelWepBtn:SetTextColor(Color(255, 255, 255)) SelWepBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelWepBtn.Weapon = nil SelWepBtn.DoClick = function() GBaySelectWeapon(DFrame, SelWepBtn) end local SelWepPrice = vgui.Create("DNumSlider", SideBarOpened) SelWepPrice:SetPos(20, 430) SelWepPrice:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepPrice:SetText("") SelWepPrice:SetMin(0) SelWepPrice:SetMax(GBayConfig.MaxPrice) SelWepPrice:SetDecimals(0) local SelWepSubBtn = vgui.Create("DButton", SideBarOpened) SelWepSubBtn:SetPos(20, 490) SelWepSubBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepSubBtn:SetText("Submit Shipment") SelWepSubBtn:SetTextColor(Color(255, 255, 255)) SelWepSubBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelWepSubBtn.DoClick = function() net.Start("GBaySubmitShipment") net.WriteString(CreateItmShipName:GetValue()) net.WriteString(CreateItmShipDesc:GetValue()) net.WriteEntity(SelWepBtn.Weapon) net.WriteFloat(SelWepPrice:GetValue()) net.SendToServer() GBaySideBarOpened(DFrame, "Loading", false, data, firstjoined) end usedshipments = true elseif value == "Service" then usedservice = true local CreateItmServName = vgui.Create("DTextEntry", SideBarOpened) CreateItmServName:SetPos(20, 230) CreateItmServName:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmServName:SetText("Service name") CreateItmServName.OnTextChanged = function(s) if string.len(s:GetValue()) > 27 then local timeleftforrestriction = 5 s:SetText("Service name must be < 27 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Shipment name") s:SetEditable(true) return end s:SetText("Service name must be < 27 characters... (" .. timeleftforrestriction .. ")") end) end end local CreateItmServDesc = vgui.Create("DTextEntry", SideBarOpened) CreateItmServDesc:SetPos(20, 290) CreateItmServDesc:SetSize(SideBarOpened:GetWide() - 40, 40) CreateItmServDesc:SetText("Service Description") CreateItmServDesc:SetMultiline(true) CreateItmServDesc.OnTextChanged = function(s) if string.len(s:GetValue()) > 81 then local timeleftforrestriction = 5 s:SetText("Service description must be < 81 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Service Description") s:SetEditable(true) return end s:SetText("Service description must be < 81 characters... (" .. timeleftforrestriction .. ")") end) end end local SelServPrice = vgui.Create("DNumSlider", SideBarOpened) SelServPrice:SetPos(20, 370) SelServPrice:SetSize(SideBarOpened:GetWide() - 40, 20) SelServPrice:SetText("") SelServPrice:SetMin(0) SelServPrice:SetMax(GBayConfig.MaxPrice) SelServPrice:SetDecimals(0) local SelServSubBtn = vgui.Create("DButton", SideBarOpened) SelServSubBtn:SetPos(20, 430) SelServSubBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelServSubBtn:SetText("Submit Service") SelServSubBtn:SetTextColor(Color(255, 255, 255)) SelServSubBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelServSubBtn.DoClick = function() net.Start("GBaySubmitService") net.WriteString(CreateItmServName:GetValue()) net.WriteString(CreateItmServDesc:GetValue()) net.WriteFloat(SelServPrice:GetValue()) net.SendToServer() GBaySideBarOpened(DFrame, "Loading", false, data, firstjoined) end end else if value == "Shipment" then usedshipments = true local CreateItmShipName = vgui.Create("DTextEntry", SideBarOpened) CreateItmShipName:SetPos(20, 230) CreateItmShipName:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmShipName:SetText("Shipment name") CreateItmShipName.OnTextChanged = function(s) if string.len(s:GetValue()) > 27 then local timeleftforrestriction = 5 s:SetText("Shipment name must be < 27 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Shipment name") s:SetEditable(true) return end s:SetText("Shipment name must be < 27 characters... (" .. timeleftforrestriction .. ")") end) end end local CreateItmShipDesc = vgui.Create("DTextEntry", SideBarOpened) CreateItmShipDesc:SetPos(20, 290) CreateItmShipDesc:SetSize(SideBarOpened:GetWide() - 40, 40) CreateItmShipDesc:SetText("Shipment Description") CreateItmShipDesc:SetMultiline(true) CreateItmShipDesc.OnTextChanged = function(s) if string.len(s:GetValue()) > 81 then local timeleftforrestriction = 5 s:SetText("Shipment description must be < 81 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Shipment Description") s:SetEditable(true) return end s:SetText("Shipment description must be < 81 characters... (" .. timeleftforrestriction .. ")") end) end end local SelWepBtn = vgui.Create("DButton", SideBarOpened) SelWepBtn:SetPos(20, 370) SelWepBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepBtn:SetText("Select Shipmet (must be close)") SelWepBtn:SetTextColor(Color(255, 255, 255)) SelWepBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelWepBtn.Weapon = nil SelWepBtn.DoClick = function() GBaySelectWeapon(DFrame, SelWepBtn) end local SelWepPrice = vgui.Create("DNumSlider", SideBarOpened) SelWepPrice:SetPos(20, 430) SelWepPrice:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepPrice:SetText("") SelWepPrice:SetMin(0) SelWepPrice:SetMax(GBayConfig.MaxPrice) SelWepPrice:SetDecimals(0) local SelWepSubBtn = vgui.Create("DButton", SideBarOpened) SelWepSubBtn:SetPos(20, 490) SelWepSubBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepSubBtn:SetText("Submit Shipment") SelWepSubBtn:SetTextColor(Color(255, 255, 255)) SelWepSubBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelWepSubBtn.DoClick = function() net.Start("GBaySubmitShipment") net.WriteString(CreateItmShipName:GetValue()) net.WriteString(CreateItmShipDesc:GetValue()) net.WriteEntity(SelWepBtn.Weapon) net.WriteFloat(SelWepPrice:GetValue()) net.SendToServer() GBaySideBarOpened(DFrame, "Loading", false, data, firstjoined) end elseif value == "Service" then usedservice = true local CreateItmServName = vgui.Create("DTextEntry", SideBarOpened) CreateItmServName:SetPos(20, 230) CreateItmServName:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmServName:SetText("Service name") CreateItmServName.OnTextChanged = function(s) if string.len(s:GetValue()) > 27 then local timeleftforrestriction = 5 s:SetText("Service name must be < 27 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Shipment name") s:SetEditable(true) return end s:SetText("Service name must be < 27 characters... (" .. timeleftforrestriction .. ")") end) end end local CreateItmServDesc = vgui.Create("DTextEntry", SideBarOpened) CreateItmServDesc:SetPos(20, 290) CreateItmServDesc:SetSize(SideBarOpened:GetWide() - 40, 40) CreateItmServDesc:SetText("Service Description") CreateItmServDesc:SetMultiline(true) CreateItmServDesc.OnTextChanged = function(s) if string.len(s:GetValue()) > 81 then local timeleftforrestriction = 5 s:SetText("Service description must be < 81 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Service Description") s:SetEditable(true) return end s:SetText("Service description must be < 81 characters... (" .. timeleftforrestriction .. ")") end) end end local SelServPrice = vgui.Create("DNumSlider", SideBarOpened) SelServPrice:SetPos(20, 370) SelServPrice:SetSize(SideBarOpened:GetWide() - 40, 20) SelServPrice:SetText("") SelServPrice:SetMin(0) SelServPrice:SetMax(GBayConfig.MaxPrice) SelServPrice:SetDecimals(0) local SelServSubBtn = vgui.Create("DButton", SideBarOpened) SelServSubBtn:SetPos(20, 430) SelServSubBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelServSubBtn:SetText("Submit Service") SelServSubBtn:SetTextColor(Color(255, 255, 255)) SelServSubBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelServSubBtn.DoClick = function() net.Start("GBaySubmitService") net.WriteString(CreateItmServName:GetValue()) net.WriteString(CreateItmServDesc:GetValue()) net.WriteFloat(SelServPrice:GetValue()) net.SendToServer() GBaySideBarOpened(DFrame, "Loading", false, data, firstjoined) end elseif value == "Entity" then usedshipments = true local CreateItmEntName = vgui.Create("DTextEntry", SideBarOpened) CreateItmEntName:SetPos(20, 230) CreateItmEntName:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmEntName:SetText("Entity name") CreateItmEntName.OnTextChanged = function(s) if string.len(s:GetValue()) > 27 then local timeleftforrestriction = 5 s:SetText("Entity name must be < 27 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Entity name") s:SetEditable(true) return end s:SetText("Entity name must be < 27 characters... (" .. timeleftforrestriction .. ")") end) end end local CreateItmEntDesc = vgui.Create("DTextEntry", SideBarOpened) CreateItmEntDesc:SetPos(20, 290) CreateItmEntDesc:SetSize(SideBarOpened:GetWide() - 40, 40) CreateItmEntDesc:SetText("Entity Description") CreateItmEntDesc:SetMultiline(true) CreateItmEntDesc.OnTextChanged = function(s) if string.len(s:GetValue()) > 81 then local timeleftforrestriction = 5 s:SetText("Entity description must be < 81 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Entity Description") s:SetEditable(true) return end s:SetText("Entity description must be < 81 characters... (" .. timeleftforrestriction .. ")") end) end end local SelEntBtn = vgui.Create("DButton", SideBarOpened) SelEntBtn:SetPos(20, 370) SelEntBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelEntBtn:SetText("Select Entity (must be close)") SelEntBtn:SetTextColor(Color(255, 255, 255)) SelEntBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelEntBtn.Entity = nil SelEntBtn.DoClick = function() GBaySelectEntity(DFrame, SelEntBtn) end local SelEntPrice = vgui.Create("DNumSlider", SideBarOpened) SelEntPrice:SetPos(20, 430) SelEntPrice:SetSize(SideBarOpened:GetWide() - 40, 20) SelEntPrice:SetText("") SelEntPrice:SetMin(0) SelEntPrice:SetMax(GBayConfig.MaxPrice) SelEntPrice:SetDecimals(0) local SelWepSubBtn = vgui.Create("DButton", SideBarOpened) SelWepSubBtn:SetPos(20, 490) SelWepSubBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepSubBtn:SetText("Submit Entity") SelWepSubBtn:SetTextColor(Color(255, 255, 255)) SelWepSubBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelWepSubBtn.DoClick = function() net.Start("GBaySubmitEntity") net.WriteString(CreateItmEntName:GetValue()) net.WriteString(CreateItmEntDesc:GetValue()) net.WriteEntity(SelEntBtn.Entity) net.WriteFloat(SelEntPrice:GetValue()) net.SendToServer() GBaySideBarOpened(DFrame, "Loading", false, data, firstjoined) end end end used = true end elseif tab == "CreateAds" then local GBayLogoCreate = Material("gbay/Create_AdsLogo.png") local thepricetopay = 0 SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCreate) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText("Lets advertise your items!", "GBayLabelFont", w / 2, 140, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Please select an item!", "GBayLabelFont", w / 2, 170, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Advertise for: " .. DarkRP.formatMoney(thepricetopay) .. "!", "GBayLabelFont", w / 2, 230, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Advertise for 1 day!", "GBayLabelFont", w / 2, 260, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.RoundedBox(0, 0, 520, w, 2, Color(221, 221, 221)) draw.SimpleText("More content coming.", "GBayLabelFontBold", w / 2, 570, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Check updates tab often", "GBayLabelFont", w / 2, 590, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(" to keep up to date!", "GBayLabelFont", w / 2, 610, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) end local theadtype = "" local theadid = 0 local PickItemToAd = vgui.Create("DComboBox", SideBarOpened) PickItemToAd:SetPos(20, 200) PickItemToAd:SetSize(SideBarOpened:GetWide() - 40, 20) PickItemToAd:SetValue("Item") for k, v in pairs(data[3]) do if v[2] == LocalPlayer():SteamID64() then PickItemToAd:AddChoice(v[3], {v, "Ship"}) end end for k, v in pairs(data[4]) do if v[2] == LocalPlayer():SteamID64() then PickItemToAd:AddChoice(v[3], {v, "Serv"}) end end for k, v in pairs(data[5]) do if v[2] == LocalPlayer():SteamID64() then PickItemToAd:AddChoice(v[3], {v, "Ent"}) end end PickItemToAd.OnSelect = function(panel, index, value) if isnumber(panel:GetOptionData(index)[1][5]) then theprice = panel:GetOptionData(index)[1][5] else theprice = panel:GetOptionData(index)[1][6] end theadtype = panel:GetOptionData(index)[2] theadid = panel:GetOptionData(index)[1][1] thepricetopay = theprice / 2 end local PurchaseItemAds = vgui.Create("DButton", SideBarOpened) PurchaseItemAds:SetPos(20, 290) PurchaseItemAds:SetSize(SideBarOpened:GetWide() - 40, 20) PurchaseItemAds:SetText("Purchase Advertisment") PurchaseItemAds:SetTextColor(Color(255, 255, 255)) PurchaseItemAds.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end PurchaseItemAds.DoClick = function() if theadtype ~= "" then net.Start("GBayPurchaseAd") net.WriteString(theadtype) net.WriteString(theadid) net.SendToServer() end end elseif tab == "EditShip" then local GBayLogoCreate = Material("gbay/Create_Logo.png") usedshipments = true tab = "Dashboard" SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCreate) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText("What type of item?", "GBayLabelFont", w / 2, 140, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) if usedshipments then draw.SimpleText("Name of the shipment?", "GBayLabelFont", w / 2, 200, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Description of the shipment?", "GBayLabelFont", w / 2, 260, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Select your weapon!", "GBayLabelFont", w / 2, 340, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("What is the price of your shipment?", "GBayLabelFont", w / 2, 400, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Submit your Item??", "GBayLabelFont", w / 2, 460, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.RoundedBox(0, 0, 520, w, 2, Color(221, 221, 221)) draw.SimpleText("More content coming.", "GBayLabelFontBold", w / 2, 570, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Check updates tab often", "GBayLabelFont", w / 2, 590, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(" to keep up to date!", "GBayLabelFont", w / 2, 610, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) end end local CreateItmType = vgui.Create("DComboBox", SideBarOpened) CreateItmType:SetPos(20, 170) CreateItmType:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmType:SetValue("Shipment") CreateItmType:AddChoice("Shipment") local editingwep = nil for k, v in pairs(data[3]) do if v[1] == LocalPlayer().GBayIsEditing then editingwep = v end end local CreateItmShipName = vgui.Create("DTextEntry", SideBarOpened) CreateItmShipName:SetPos(20, 230) CreateItmShipName:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmShipName:SetText(editingwep[3]) CreateItmShipName.OnTextChanged = function(s) if string.len(s:GetValue()) > 27 then local timeleftforrestriction = 5 s:SetText("Shipment name must be < 27 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Shipment name") s:SetEditable(true) return end s:SetText("Shipment name must be < 27 characters... (" .. timeleftforrestriction .. ")") end) end end local CreateItmShipDesc = vgui.Create("DTextEntry", SideBarOpened) CreateItmShipDesc:SetPos(20, 290) CreateItmShipDesc:SetSize(SideBarOpened:GetWide() - 40, 40) CreateItmShipDesc:SetText(editingwep[4]) CreateItmShipDesc:SetMultiline(true) CreateItmShipDesc.OnTextChanged = function(s) if string.len(s:GetValue()) > 81 then local timeleftforrestriction = 5 s:SetText("Shipment description must be < 81 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Shipment Description") s:SetEditable(true) return end s:SetText("Shipment description must be < 81 characters... (" .. timeleftforrestriction .. ")") end) end end local SelWepBtn = vgui.Create("DButton", SideBarOpened) SelWepBtn:SetPos(20, 370) SelWepBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepBtn:SetText(editingwep[5]) SelWepBtn:SetTextColor(Color(255, 255, 255)) SelWepBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelWepBtn.DoClick = function() end local SelWepPrice = vgui.Create("DNumSlider", SideBarOpened) SelWepPrice:SetPos(20, 430) SelWepPrice:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepPrice:SetText("") SelWepPrice:SetMin(0) SelWepPrice:SetMax(GBayConfig.MaxPrice) SelWepPrice:SetValue(editingwep[6]) SelWepPrice:SetDecimals(0) local SelWepSubBtn = vgui.Create("DButton", SideBarOpened) SelWepSubBtn:SetPos(20, 490) SelWepSubBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelWepSubBtn:SetText("Edit Shipment") SelWepSubBtn:SetTextColor(Color(255, 255, 255)) SelWepSubBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelWepSubBtn.DoClick = function() net.Start("GBayEditShipment") net.WriteTable(editingwep) net.WriteString(CreateItmShipName:GetValue()) net.WriteString(CreateItmShipDesc:GetValue()) net.WriteFloat(SelWepPrice:GetValue()) net.SendToServer() GBaySideBarOpened(DFrame, "Loading", false, data, firstjoined) end usedshipments = true elseif tab == "EditServ" then local GBayLogoCreate = Material("gbay/Create_Logo.png") usedservice = true tab = "Dashboard" SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCreate) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText("What type of item?", "GBayLabelFont", w / 2, 140, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) if usedservice then draw.SimpleText("Name of the service?", "GBayLabelFont", w / 2, 200, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Description of the service?", "GBayLabelFont", w / 2, 260, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("What is the price of your shipment?", "GBayLabelFont", w / 2, 340, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Submit your Item??", "GBayLabelFont", w / 2, 400, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.RoundedBox(0, 0, 560, w, 2, Color(221, 221, 221)) draw.SimpleText("More content coming.", "GBayLabelFontBold", w / 2, 570, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Check updates tab often", "GBayLabelFont", w / 2, 590, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(" to keep up to date!", "GBayLabelFont", w / 2, 610, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) end end local CreateItmType = vgui.Create("DComboBox", SideBarOpened) CreateItmType:SetPos(20, 170) CreateItmType:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmType:SetValue("Service") CreateItmType:AddChoice("Service") local editingwep = nil for k, v in pairs(data[4]) do if v[1] == LocalPlayer().GBayIsEditing then editingwep = v end end local CreateItmServName = vgui.Create("DTextEntry", SideBarOpened) CreateItmServName:SetPos(20, 230) CreateItmServName:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmServName:SetText(editingwep[3]) CreateItmServName.OnTextChanged = function(s) if string.len(s:GetValue()) > 27 then local timeleftforrestriction = 5 s:SetText("Service name must be < 27 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Service name") s:SetEditable(true) return end s:SetText("Service name must be < 27 characters... (" .. timeleftforrestriction .. ")") end) end end local CreateItmServDesc = vgui.Create("DTextEntry", SideBarOpened) CreateItmServDesc:SetPos(20, 290) CreateItmServDesc:SetSize(SideBarOpened:GetWide() - 40, 40) CreateItmServDesc:SetText(editingwep[4]) CreateItmServDesc:SetMultiline(true) CreateItmServDesc.OnTextChanged = function(s) if string.len(s:GetValue()) > 81 then local timeleftforrestriction = 5 s:SetText("Service description must be < 81 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Service Description") s:SetEditable(true) return end s:SetText("Service description must be < 81 characters... (" .. timeleftforrestriction .. ")") end) end end local SelServPrice = vgui.Create("DNumSlider", SideBarOpened) SelServPrice:SetPos(20, 370) SelServPrice:SetSize(SideBarOpened:GetWide() - 40, 20) SelServPrice:SetText("") SelServPrice:SetMin(0) SelServPrice:SetMax(GBayConfig.MaxPrice) SelServPrice:SetValue(editingwep[6]) SelServPrice:SetDecimals(0) local SelServSubBtn = vgui.Create("DButton", SideBarOpened) SelServSubBtn:SetPos(20, 430) SelServSubBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelServSubBtn:SetText("Edit Service") SelServSubBtn:SetTextColor(Color(255, 255, 255)) SelServSubBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelServSubBtn.DoClick = function() net.Start("GBayEditService") net.WriteTable(editingwep) net.WriteString(CreateItmServName:GetValue()) net.WriteString(CreateItmServDesc:GetValue()) net.WriteFloat(SelServPrice:GetValue()) net.SendToServer() GBaySideBarOpened(DFrame, "Loading", false, data, firstjoined) end usedservice = true elseif tab == "ManageServ" then local playerselected = false local GBayLogoCreate = Material("gbay/Create_Logo.png") SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCreate) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText("Manage buyers...", "GBayLabelFont", w / 2, 140, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) if playerselected then draw.SimpleText("Finish this players service?", "GBayLabelFont", w / 2, 200, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) end draw.RoundedBox(0, 0, 560, w, 2, Color(221, 221, 221)) draw.SimpleText("More content coming.", "GBayLabelFontBold", w / 2, 570, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Check updates tab often", "GBayLabelFont", w / 2, 590, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(" to keep up to date!", "GBayLabelFont", w / 2, 610, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) end local editingwep = nil for k, v in pairs(data[4]) do if v[1] == LocalPlayer().GBayIsEditing then editingwep = v end end local buyers = util.JSONToTable(editingwep[6]) local CreateItmType = vgui.Create("DComboBox", SideBarOpened) CreateItmType:SetPos(20, 170) CreateItmType:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmType:SetValue("Buyers") for k, v in pairs(buyers) do if IsValid(player.GetBySteamID64(v)) then CreateItmType:AddChoice(v .. " (" .. player.GetBySteamID64(v):Nick() .. ")", v) else CreateItmType:AddChoice(v) end end CreateItmType.OnSelect = function(panel, index, value) playerselected = true local SetDone = vgui.Create("DButton", SideBarOpened) SetDone:SetPos(20, 230) SetDone:SetSize(SideBarOpened:GetWide() - 40, 20) SetDone:SetText("Mark As Done") SetDone:SetTextColor(Color(255, 255, 255)) SetDone.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SetDone.DoClick = function() Derma_Query("How would you rate this player?", "GBay mark service as done!", "Positive", function() net.Start("GBayMarkServiceAsDone") net.WriteFloat(editingwep[1]) net.WriteString(panel:GetOptionData(index)) net.WriteString("Positive") net.SendToServer() end, "Neutral", function() net.Start("GBayMarkServiceAsDone") net.WriteFloat(editingwep[1]) net.WriteString(panel:GetOptionData(index)) net.WriteString("Netural") net.SendToServer() end, "Negative", function() net.Start("GBayMarkServiceAsDone") net.WriteFloat(editingwep[1]) net.WriteString(panel:GetOptionData(index)) net.WriteString("Negative") net.SendToServer() end, "Close", function() end) end end elseif tab == "EditEnt" then local GBayLogoCreate = Material("gbay/Create_Logo.png") usedshipments = true tab = "Dashboard" SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCreate) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText("What type of item?", "GBayLabelFont", w / 2, 140, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) if usedent then draw.SimpleText("Name of the entity?", "GBayLabelFont", w / 2, 200, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Description of the entity?", "GBayLabelFont", w / 2, 260, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Select your entity!", "GBayLabelFont", w / 2, 340, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("What is the price of your entity?", "GBayLabelFont", w / 2, 400, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Submit your Item??", "GBayLabelFont", w / 2, 460, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.RoundedBox(0, 0, 520, w, 2, Color(221, 221, 221)) draw.SimpleText("More content coming.", "GBayLabelFontBold", w / 2, 570, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText("Check updates tab often", "GBayLabelFont", w / 2, 590, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) draw.SimpleText(" to keep up to date!", "GBayLabelFont", w / 2, 610, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER) end end local CreateItmType = vgui.Create("DComboBox", SideBarOpened) CreateItmType:SetPos(20, 170) CreateItmType:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmType:SetValue("Entity") CreateItmType:AddChoice("Entity") local editingwep = nil for k, v in pairs(data[5]) do if v[1] == LocalPlayer().GBayIsEditing then editingwep = v end end local CreateItmEntName = vgui.Create("DTextEntry", SideBarOpened) CreateItmEntName:SetPos(20, 230) CreateItmEntName:SetSize(SideBarOpened:GetWide() - 40, 20) CreateItmEntName:SetText(editingwep[3]) CreateItmEntName.OnTextChanged = function(s) if string.len(s:GetValue()) > 27 then local timeleftforrestriction = 5 s:SetText("Entity name must be < 27 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Entity name") s:SetEditable(true) return end s:SetText("Entity name must be < 27 characters... (" .. timeleftforrestriction .. ")") end) end end local CreateItmEntDesc = vgui.Create("DTextEntry", SideBarOpened) CreateItmEntDesc:SetPos(20, 290) CreateItmEntDesc:SetSize(SideBarOpened:GetWide() - 40, 40) CreateItmEntDesc:SetText(editingwep[4]) CreateItmEntDesc:SetMultiline(true) CreateItmEntDesc.OnTextChanged = function(s) if string.len(s:GetValue()) > 81 then local timeleftforrestriction = 5 s:SetText("Entity description must be < 81 characters... (" .. timeleftforrestriction .. ")") s:SetEditable(false) timer.Create("GBayUnlockServerNameEntry", 1, 5, function() timeleftforrestriction = timeleftforrestriction - 1 if timeleftforrestriction <= 0 then s:SetText("Entity Description") s:SetEditable(true) return end s:SetText("Entity description must be < 81 characters... (" .. timeleftforrestriction .. ")") end) end end local SelEntBtn = vgui.Create("DButton", SideBarOpened) SelEntBtn:SetPos(20, 370) SelEntBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelEntBtn:SetText(editingwep[5]) SelEntBtn:SetTextColor(Color(255, 255, 255)) SelEntBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelEntBtn.DoClick = function() end local SelEntPrice = vgui.Create("DNumSlider", SideBarOpened) SelEntPrice:SetPos(20, 430) SelEntPrice:SetSize(SideBarOpened:GetWide() - 40, 20) SelEntPrice:SetText("") SelEntPrice:SetMin(0) SelEntPrice:SetMax(GBayConfig.MaxPrice) SelEntPrice:SetValue(editingwep[6]) SelEntPrice:SetDecimals(0) local SelEntSubBtn = vgui.Create("DButton", SideBarOpened) SelEntSubBtn:SetPos(20, 490) SelEntSubBtn:SetSize(SideBarOpened:GetWide() - 40, 20) SelEntSubBtn:SetText("Edit Entity") SelEntSubBtn:SetTextColor(Color(255, 255, 255)) SelEntSubBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end SelEntSubBtn.DoClick = function() net.Start("GBayEditEntity") net.WriteTable(editingwep) net.WriteString(CreateItmEntName:GetValue()) net.WriteString(CreateItmEntDesc:GetValue()) net.WriteFloat(SelEntPrice:GetValue()) net.SendToServer() GBaySideBarOpened(DFrame, "Loading", false, data, firstjoined) end usedent = true elseif tab == "Purchase" then if LocalPlayer().GBayBuyingItemT == "Shipment" then local GBayLogoCheckOut = Material("gbay/Check_Out.png") local postoputtext = 190 local keepgoing = true local totalprice = 0 local costofone = LocalPlayer().GBayBuyingItem[6] / LocalPlayer().GBayBuyingItem[7] SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCheckOut) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText(LocalPlayer().GBayBuyingItem[3] .. " Purchase", "GBayLabelFontBold", w / 2, 150, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Quantity to purchase: " .. LocalPlayer().GBayBuyingItemQ, "GBayLabelFont", w / 2, 170, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) end for i = 1, LocalPlayer().GBayBuyingItemQ do if i > 10 then if keepgoing then local TheLabelForItems = vgui.Create("DLabel", SideBarOpened) TheLabelForItems:SetPos(20, postoputtext) TheLabelForItems:SetText("+" .. LocalPlayer().GBayBuyingItemQ - i .. " " .. LocalPlayer().GBayBuyingItem[3] .. " - " .. DarkRP.formatMoney(costofone * LocalPlayer().GBayBuyingItemQ - i)) TheLabelForItems:SetFont("GBayLabelFont") TheLabelForItems:SetTextColor(Color(137, 137, 137, 255)) TheLabelForItems:SizeToContents() keepgoing = false totalprice = totalprice + costofone * LocalPlayer().GBayBuyingItemQ - i end else local TheLabelForItems = vgui.Create("DLabel", SideBarOpened) TheLabelForItems:SetPos(20, postoputtext) TheLabelForItems:SetText("+1 " .. LocalPlayer().GBayBuyingItem[3] .. " - " .. DarkRP.formatMoney(costofone)) TheLabelForItems:SetFont("GBayLabelFont") TheLabelForItems:SetTextColor(Color(137, 137, 137, 255)) TheLabelForItems:SizeToContents() postoputtext = postoputtext + 20 totalprice = totalprice + costofone end end local TheTaxRate = vgui.Create("DLabel", SideBarOpened) TheTaxRate:SetPos(20, SideBarOpened:GetTall() - 160) TheTaxRate:SetText("Price: " .. DarkRP.formatMoney(math.Round(totalprice))) TheTaxRate:SetFont("GBayLabelFont") TheTaxRate:SetTextColor(Color(137, 137, 137, 255)) TheTaxRate:SizeToContents() local TheTaxRate = vgui.Create("DLabel", SideBarOpened) TheTaxRate:SetPos(20, SideBarOpened:GetTall() - 140) TheTaxRate:SetText("Tax Rate: " .. math.Round(GBayConfig.TaxToMultiplyBy * 100) .. "%") TheTaxRate:SetFont("GBayLabelFont") TheTaxRate:SetTextColor(Color(137, 137, 137, 255)) TheTaxRate:SizeToContents() local TheTaxPrice = vgui.Create("DLabel", SideBarOpened) TheTaxPrice:SetPos(20, SideBarOpened:GetTall() - 120) TheTaxPrice:SetText("Tax: " .. DarkRP.formatMoney(math.Round(totalprice * GBayConfig.TaxToMultiplyBy))) TheTaxPrice:SetFont("GBayLabelFont") TheTaxPrice:SetTextColor(Color(137, 137, 137, 255)) TheTaxPrice:SizeToContents() totalprice = totalprice + totalprice * GBayConfig.TaxToMultiplyBy local TheFinalPrice = vgui.Create("DLabel", SideBarOpened) TheFinalPrice:SetPos(20, SideBarOpened:GetTall() - 100) TheFinalPrice:SetText("Subtotal: " .. DarkRP.formatMoney(math.Round(totalprice))) TheFinalPrice:SetFont("GBayLabelFont") TheFinalPrice:SetTextColor(Color(137, 137, 137, 255)) TheFinalPrice:SizeToContents() local CheckOutBtn = vgui.Create("DButton", SideBarOpened) CheckOutBtn:SetPos(20, SideBarOpened:GetTall() - 70) CheckOutBtn:SetSize(SideBarOpened:GetWide() - 40, 40) CheckOutBtn:SetText("Check out") CheckOutBtn:SetTextColor(Color(255, 255, 255)) CheckOutBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end CheckOutBtn.DoClick = function() net.Start("GBayPurchaseItem") net.WriteString(LocalPlayer().GBayBuyingItemT) net.WriteFloat(LocalPlayer().GBayBuyingItemQ) net.WriteTable(LocalPlayer().GBayBuyingItem) net.SendToServer() GBaySideBarOpened(DFrame, "TransPending", false, data, firstjoined) end elseif LocalPlayer().GBayBuyingItemT == "Service" then local GBayLogoCheckOut = Material("gbay/Check_Out.png") local postoputtext = 190 local keepgoing = true local totalprice = 0 local costofone = LocalPlayer().GBayBuyingItem[5] SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCheckOut) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText(LocalPlayer().GBayBuyingItem[3] .. " Purchase", "GBayLabelFontBold", w / 2, 150, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Quantity to purchase: " .. LocalPlayer().GBayBuyingItemQ, "GBayLabelFont", w / 2, 170, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) end for i = 1, LocalPlayer().GBayBuyingItemQ do if i > 10 then if keepgoing then local TheLabelForItems = vgui.Create("DLabel", SideBarOpened) TheLabelForItems:SetPos(20, postoputtext) TheLabelForItems:SetText("+" .. LocalPlayer().GBayBuyingItemQ - i .. " " .. LocalPlayer().GBayBuyingItem[3] .. " - " .. DarkRP.formatMoney(costofone * LocalPlayer().GBayBuyingItemQ - i)) TheLabelForItems:SetFont("GBayLabelFont") TheLabelForItems:SetTextColor(Color(137, 137, 137, 255)) TheLabelForItems:SizeToContents() keepgoing = false totalprice = totalprice + costofone * LocalPlayer().GBayBuyingItemQ - i end else local TheLabelForItems = vgui.Create("DLabel", SideBarOpened) TheLabelForItems:SetPos(20, postoputtext) TheLabelForItems:SetText("+1 " .. LocalPlayer().GBayBuyingItem[3] .. " - " .. DarkRP.formatMoney(costofone)) TheLabelForItems:SetFont("GBayLabelFont") TheLabelForItems:SetTextColor(Color(137, 137, 137, 255)) TheLabelForItems:SizeToContents() postoputtext = postoputtext + 20 totalprice = totalprice + costofone end end local TheTaxRate = vgui.Create("DLabel", SideBarOpened) TheTaxRate:SetPos(20, SideBarOpened:GetTall() - 160) TheTaxRate:SetText("Price: " .. DarkRP.formatMoney(totalprice)) TheTaxRate:SetFont("GBayLabelFont") TheTaxRate:SetTextColor(Color(137, 137, 137, 255)) TheTaxRate:SizeToContents() local TheTaxRate = vgui.Create("DLabel", SideBarOpened) TheTaxRate:SetPos(20, SideBarOpened:GetTall() - 140) TheTaxRate:SetText("Tax Rate: " .. GBayConfig.TaxToMultiplyBy * 100 .. "%") TheTaxRate:SetFont("GBayLabelFont") TheTaxRate:SetTextColor(Color(137, 137, 137, 255)) TheTaxRate:SizeToContents() local TheTaxPrice = vgui.Create("DLabel", SideBarOpened) TheTaxPrice:SetPos(20, SideBarOpened:GetTall() - 120) TheTaxPrice:SetText("Tax: " .. DarkRP.formatMoney(totalprice * GBayConfig.TaxToMultiplyBy)) TheTaxPrice:SetFont("GBayLabelFont") TheTaxPrice:SetTextColor(Color(137, 137, 137, 255)) TheTaxPrice:SizeToContents() totalprice = totalprice + totalprice * GBayConfig.TaxToMultiplyBy local TheFinalPrice = vgui.Create("DLabel", SideBarOpened) TheFinalPrice:SetPos(20, SideBarOpened:GetTall() - 100) TheFinalPrice:SetText("Subtotal: " .. DarkRP.formatMoney(totalprice)) TheFinalPrice:SetFont("GBayLabelFont") TheFinalPrice:SetTextColor(Color(137, 137, 137, 255)) TheFinalPrice:SizeToContents() local CheckOutBtn = vgui.Create("DButton", SideBarOpened) CheckOutBtn:SetPos(20, SideBarOpened:GetTall() - 70) CheckOutBtn:SetSize(SideBarOpened:GetWide() - 40, 40) CheckOutBtn:SetText("Check out") CheckOutBtn:SetTextColor(Color(255, 255, 255)) CheckOutBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end CheckOutBtn.DoClick = function() net.Start("GBayPurchaseItem") net.WriteString(LocalPlayer().GBayBuyingItemT) net.WriteFloat(LocalPlayer().GBayBuyingItemQ) net.WriteTable(LocalPlayer().GBayBuyingItem) net.SendToServer() GBaySideBarOpened(DFrame, "TransPending", false, data, firstjoined) end elseif LocalPlayer().GBayBuyingItemT == "Entity" then local GBayLogoCheckOut = Material("gbay/Check_Out.png") local postoputtext = 190 local keepgoing = true local totalprice = 0 local costofone = LocalPlayer().GBayBuyingItem[6] SideBarOpened.Paint = function(s, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.DrawRect(0, 0, w, h) surface.SetDrawColor(255, 255, 255, 255) surface.SetMaterial(GBayLogoCheckOut) surface.DrawTexturedRect(w / 2 - 129 / 2, 45, 129, 52) draw.RoundedBox(0, 0, 130, w, 2, Color(221, 221, 221)) draw.SimpleText(LocalPlayer().GBayBuyingItem[3] .. " Purchase", "GBayLabelFontBold", w / 2, 150, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) draw.SimpleText("Quantity to purchase: " .. LocalPlayer().GBayBuyingItemQ, "GBayLabelFont", w / 2, 170, Color(137, 137, 137, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER) end for i = 1, LocalPlayer().GBayBuyingItemQ do if i > 10 then if keepgoing then local TheLabelForItems = vgui.Create("DLabel", SideBarOpened) TheLabelForItems:SetPos(20, postoputtext) TheLabelForItems:SetText("+" .. LocalPlayer().GBayBuyingItemQ - i .. " " .. LocalPlayer().GBayBuyingItem[3] .. " - " .. DarkRP.formatMoney(costofone * LocalPlayer().GBayBuyingItemQ - i)) TheLabelForItems:SetFont("GBayLabelFont") TheLabelForItems:SetTextColor(Color(137, 137, 137, 255)) TheLabelForItems:SizeToContents() keepgoing = false totalprice = totalprice + costofone * LocalPlayer().GBayBuyingItemQ - i end else local TheLabelForItems = vgui.Create("DLabel", SideBarOpened) TheLabelForItems:SetPos(20, postoputtext) TheLabelForItems:SetText("+1 " .. LocalPlayer().GBayBuyingItem[3] .. " - " .. DarkRP.formatMoney(costofone)) TheLabelForItems:SetFont("GBayLabelFont") TheLabelForItems:SetTextColor(Color(137, 137, 137, 255)) TheLabelForItems:SizeToContents() postoputtext = postoputtext + 20 totalprice = totalprice + costofone end end local TheTaxRate = vgui.Create("DLabel", SideBarOpened) TheTaxRate:SetPos(20, SideBarOpened:GetTall() - 160) TheTaxRate:SetText("Price: " .. DarkRP.formatMoney(totalprice)) TheTaxRate:SetFont("GBayLabelFont") TheTaxRate:SetTextColor(Color(137, 137, 137, 255)) TheTaxRate:SizeToContents() local TheTaxRate = vgui.Create("DLabel", SideBarOpened) TheTaxRate:SetPos(20, SideBarOpened:GetTall() - 140) TheTaxRate:SetText("Tax Rate: " .. GBayConfig.TaxToMultiplyBy * 100 .. "%") TheTaxRate:SetFont("GBayLabelFont") TheTaxRate:SetTextColor(Color(137, 137, 137, 255)) TheTaxRate:SizeToContents() local TheTaxPrice = vgui.Create("DLabel", SideBarOpened) TheTaxPrice:SetPos(20, SideBarOpened:GetTall() - 120) TheTaxPrice:SetText("Tax: " .. DarkRP.formatMoney(totalprice * GBayConfig.TaxToMultiplyBy)) TheTaxPrice:SetFont("GBayLabelFont") TheTaxPrice:SetTextColor(Color(137, 137, 137, 255)) TheTaxPrice:SizeToContents() totalprice = totalprice + totalprice * GBayConfig.TaxToMultiplyBy local TheFinalPrice = vgui.Create("DLabel", SideBarOpened) TheFinalPrice:SetPos(20, SideBarOpened:GetTall() - 100) TheFinalPrice:SetText("Subtotal: " .. DarkRP.formatMoney(totalprice)) TheFinalPrice:SetFont("GBayLabelFont") TheFinalPrice:SetTextColor(Color(137, 137, 137, 255)) TheFinalPrice:SizeToContents() local CheckOutBtn = vgui.Create("DButton", SideBarOpened) CheckOutBtn:SetPos(20, SideBarOpened:GetTall() - 70) CheckOutBtn:SetSize(SideBarOpened:GetWide() - 40, 40) CheckOutBtn:SetText("Check out") CheckOutBtn:SetTextColor(Color(255, 255, 255)) CheckOutBtn.Paint = function(s, w, h) draw.RoundedBox(3, 0, 0, w, h, Color(0, 95, 168)) end CheckOutBtn.DoClick = function() net.Start("GBayPurchaseItem") net.WriteString(LocalPlayer().GBayBuyingItemT) net.WriteFloat(LocalPlayer().GBayBuyingItemQ) net.WriteTable(LocalPlayer().GBayBuyingItem) net.SendToServer() GBaySideBarOpened(DFrame, "TransPending", false, data, firstjoined) end end end end
---------------------------------------- -- -- VerticalScrollingFrame.lua -- -- Creates a scrolling frame that automatically updates canvas size -- ---------------------------------------- local plugin = _G.StudioWidgetsPluginGlobalDistributorObject local GuiUtilities = require(script.Parent.GuiUtilities) local VerticalScrollingFrame = {} VerticalScrollingFrame.__index = VerticalScrollingFrame function VerticalScrollingFrame.new(suffix) local self = {} setmetatable(self, VerticalScrollingFrame) local section = Instance.new("Frame") section.BorderSizePixel = 0 section.Size = UDim2.new(1, 0, 1, 0) section.Position = UDim2.new(0, 0, 0, 0) section.BackgroundTransparency = 1 section.Name = "VerticalScrollFrame" .. suffix local scrollBackground = Instance.new("Frame") scrollBackground.Name = "ScrollbarBackground" scrollBackground.BackgroundColor3 = Color3.fromRGB(238, 238, 238) scrollBackground.BorderColor3 = Color3.fromRGB(182, 182, 182) scrollBackground.Size = UDim2.new(0, 15, 1, -2) scrollBackground.Position = UDim2.new(1, -16, 0, 1) scrollBackground.Parent = section scrollBackground.ZIndex = 2; local scrollFrame = Instance.new("ScrollingFrame") scrollFrame.Name = "ScrollFrame" .. suffix scrollFrame.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Right scrollFrame.VerticalScrollBarInset = Enum.ScrollBarInset.ScrollBar scrollFrame.ElasticBehavior = Enum.ElasticBehavior.Never scrollFrame.ScrollBarThickness = 17 scrollFrame.BorderSizePixel = 0 scrollFrame.BackgroundTransparency = 1 scrollFrame.ZIndex = 2 scrollFrame.TopImage = "http://www.roblox.com/asset/?id=1533255544" scrollFrame.MidImage = "http://www.roblox.com/asset/?id=1535685612" scrollFrame.BottomImage = "http://www.roblox.com/asset/?id=1533256504" scrollFrame.Size = UDim2.new(1, 0, 1, 0) scrollFrame.Position = UDim2.new(0, 0, 0, 0) scrollFrame.Parent = section local uiListLayout = Instance.new("UIListLayout") uiListLayout.SortOrder = Enum.SortOrder.LayoutOrder uiListLayout.Parent = scrollFrame self._section = section self._scrollFrame = scrollFrame self._scrollBackground = scrollBackground self._uiListLayout = uiListLayout scrollFrame:GetPropertyChangedSignal("AbsoluteSize"):Connect(function() self:_updateScrollingFrameCanvas() end) uiListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() self:_updateScrollingFrameCanvas() end) self:_updateScrollingFrameCanvas() GuiUtilities.syncGuiElementScrollColor(scrollFrame) GuiUtilities.syncGuiElementBorderColor(scrollBackground) GuiUtilities.syncGuiElementTitleColor(scrollBackground) return self end function VerticalScrollingFrame:_updateScrollbarBackingVisibility() self._scrollBackground.Visible = self._scrollFrame.AbsoluteSize.y < self._uiListLayout.AbsoluteContentSize.y end function VerticalScrollingFrame:_updateScrollingFrameCanvas() self._scrollFrame.CanvasSize = UDim2.new(0, 0, 0, self._uiListLayout.AbsoluteContentSize.Y) self:_updateScrollbarBackingVisibility() end function VerticalScrollingFrame:GetContentsFrame() return self._scrollFrame end function VerticalScrollingFrame:GetSectionFrame() return self._section end --// RETURN return VerticalScrollingFrame
local function is_empty(string) return string == nil or string == "" end return is_empty
return { name = "Recluse Archer", appearance = 'archer', max_hp = 12, }
local StateManager = require("CoreLib.State.StateManager") local Arena = require("Objects.Arena") local AsteroidGenerator = require("Objects.AsteroidGenerator") local DemoScene = StateManager:CreateAsyncState("DemoScene") function DemoScene:Start() local localCam = cameraNode_:GetScriptObject() localCam:NoFollow() localCam:DefaultPosition() local lightNode = scene_:CreateChild("MainLight") self:AddObject("MainLight", lightNode) local light = lightNode:CreateComponent("Light") light.lightType = LIGHT_DIRECTIONAL light.range = 10.0 light.color = Color(1.0, 1.0, 1.0) light.rotation = Quaternion(21, 59, 2) light.lightMask = 1 local arenaNode = scene_:CreateChild("Arena") self:AddObject("Arena", arenaNode) arenaNode:CreateScriptObject("Arena") local asteroidRoot = scene_:CreateChild("AsteroidRoot") self:AddObject("AsteroidRoot", asteroidRoot) local generator = asteroidRoot:CreateScriptObject("AsteroidGenerator") generator:GenerateSets() local titleNode = scene_:CreateChild("TitleNode") self:AddObject("TitleNode", titleNode) titleNode.position = Vector3(0, 1.5, -2) titleNode.rotation = Quaternion(0, 180, 0) local titleModel = titleNode:CreateComponent("StaticModel") titleModel.model = cache:GetResource("Model", "Models/Title.mdl") titleModel.material = cache:GetResource("Material", "Materials/Green.xml") end function DemoScene:Stop() self:ReleaseObjects() end return DemoScene
workspace "gmsv_antifreeze" configurations { "Release", "Release64", "Debug", "Debug64" } location ( "projects/" .. os.get() ) project "gmsv_antifreeze" kind "SharedLib" language "C++" cppdialect "C++11" editandcontinue "Off" vectorextensions "SSE4.1" includedirs "../include/" targetprefix "" targetextension ".dll" staticruntime "Off" floatingpoint "Fast" files { "src/**.*", "../include/**.*" } configuration "Debug" architecture "x86" symbols "On" optimize "Debug" if os.is( "windows" ) then targetsuffix "_win32" end if os.is( "macosx" ) then targetsuffix "_osx" end if os.is( "linux" ) then targetsuffix "_linux" end configuration "Debug64" architecture "x86_64" symbols "On" optimize "Debug" if os.is( "windows" ) then targetsuffix "_win64" end if os.is( "macosx" ) then targetsuffix "_osx64" end if os.is( "linux" ) then targetsuffix "_linux64" end configuration "Release" architecture "x86" symbols "Off" optimize "Speed" omitframepointer "On" flags { "LinkTimeOptimization" } if os.is( "windows" ) then targetsuffix "_win32" end if os.is( "macosx" ) then targetsuffix "_osx" end if os.is( "linux" ) then targetsuffix "_linux" end configuration "Release64" architecture "x86_64" symbols "Off" optimize "Speed" omitframepointer "On" flags { "LinkTimeOptimization" } if os.is( "windows" ) then targetsuffix "_win64" end if os.is( "macosx" ) then targetsuffix "_osx64" end if os.is( "linux" ) then targetsuffix "_linux64" end
local _, ns = ... local stylesheet = ns.stylesheet local function PowerBarPostUpdate(power, unit, cur, min, max) if power.OnUpdate then power.OnUpdate(cur, min, max) end end local function PowerBarPostUpdateColor(power, unit, r, g, b) local bg = power.bg if(bg) then local mu = bg.multiplier or 1 bg:SetVertexColor(r * mu, g * mu, b * mu, stylesheet.generic.backgroundAlpha or 0.5) end end function ns.elements.AddPowerBar(self, unit) local power = CreateFrame("StatusBar", nil, self.frames or self) power:SetStatusBarTexture(ns.assets.STATUSBAR_FLAT) power.colorPower = true power.frequentUpdates = unit == "player" or unit == "target" power.displayAltPower = unit == "boss" local bg = power:CreateTexture(nil, "BACKGROUND") bg:SetTexture(ns.assets.STATUSBAR_FLAT) bg:SetAllPoints() bg.multiplier = 1 / 3 power.bg = bg local border = CreateFrame("Frame", nil, power) Mixin(border, BackdropTemplateMixin) border:SetBackdrop({ edgeFile = ns.assets.BORDER_PIXEL, edgeSize = 6, insets = { left = 1, right = 1, top = 1, bottom = 1 } }) border:SetBackdropColor(0, 0, 0, 1) border:SetAllPoints() power.border = border power.PostUpdate = PowerBarPostUpdate power.PostUpdateColor = PowerBarPostUpdateColor self.Power = power return power end
--[[ MrFlappy.lua Copyright (C) 2016 Kano Computing Ltd. License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPLv2 This is the dialogue you can have with Mr Flappy in Overworld on the Logic Lake 01. ]]-- return { type = "repeat", dialogues = { --- 1) Welcome dialogue -------------------------------------------------------- { type = "copy", copy = { "mrFlappy1" }, arguments = {"FLAPPY_JUDOKA_BEST_SCORE"}, options = { { flappyJudoka = "CMD_FLAPPY_JUDOKA" } , { maybeLater = 2 } }, }, --- 2) Flappy Game ------------------------------------------------------------- { type = "copy", copy = { "mrFlappy2" }, arguments = {}, options = {}, }, --- the end --- } }
dependencies = { basePath = "./deps" } function dependencies.load() dir = path.join(dependencies.basePath, "premake/*.lua") deps = os.matchfiles(dir) for i, dep in pairs(deps) do dep = dep:gsub(".lua", "") require(dep) end end function dependencies.imports() for i, proj in pairs(dependencies) do if type(i) == 'number' then proj.import() end end end function dependencies.projects() for i, proj in pairs(dependencies) do if type(i) == 'number' then proj.project() end end end newoption { trigger = "copy-to", description = "Optional, copy the EXE to a custom folder after build, define the path here if wanted.", value = "PATH" } newoption { trigger = "dev-build", description = "Enable development builds of the client." } dependencies.load() workspace "server-list-exploit" location "./build" objdir "%{wks.location}/obj" targetdir "%{wks.location}/bin/%{cfg.platform}/%{cfg.buildcfg}" configurations {"Debug", "Release"} architecture "x86" platforms "x86" systemversion "latest" symbols "On" staticruntime "On" editandcontinue "Off" warnings "Extra" characterset "ASCII" if _OPTIONS["dev-build"] then defines {"DEV_BUILD"} end flags {"NoIncrementalLink", "NoMinimalRebuild", "MultiProcessorCompile", "No64BitChecks" } filter "action:vs*" buildoptions "/std:c++17" defines { "_WINDOWS", "WIN32" } filter "action:gmake*" cppdialect "C++17" buildoptions "-std=c++17" defines { "_LINUX" } configuration "Release" optimize "Size" buildoptions {"/GL"} linkoptions { "/IGNORE:4702", "/LTCG" } defines {"NDEBUG"} flags {"FatalCompileWarnings"} configuration "Debug" optimize "Debug" defines {"DEBUG", "_DEBUG"} configuration {} project "server-list-exploit" kind "ConsoleApp" language "C++" pchheader "stdinc.hpp" pchsource "src/stdinc.cpp" files {"./src/**.hpp", "./src/**.cpp"} includedirs {"./src", "%{prj.location}/src"} -- links {"kernel32", "user32", "Ws2_32"} dependencies.imports() group "Dependencies" dependencies.projects()
local u = require("utils") -- ---------------- -- Window switching -- ---------------- -- Alt + hjkl: jump between windows -- Alt + HJKL: move windows around u.nmap("<a-h>", "<c-w>h", { noremap = true }) u.nmap("<a-j>", "<c-w>j", { noremap = true }) u.nmap("<a-k>", "<c-w>k", { noremap = true }) u.nmap("<a-l>", "<c-w>l", { noremap = true }) u.nmap("<a-H>", "<c-w>H", { noremap = true }) u.nmap("<a-J>", "<c-w>J", { noremap = true }) u.nmap("<a-K>", "<c-w>K", { noremap = true }) u.nmap("<a-L>", "<c-w>L", { noremap = true }) u.tmap("<a-h>", "<c-\\><c-n><c-w>h", { noremap = true }) u.tmap("<a-j>", "<c-\\><c-n><c-w>j", { noremap = true }) u.tmap("<a-k>", "<c-\\><c-n><c-w>k", { noremap = true }) u.tmap("<a-l>", "<c-\\><c-n><c-w>l", { noremap = true }) u.tmap("<a-H>", "<c-\\><c-n><c-w>H", { noremap = true }) u.tmap("<a-J>", "<c-\\><c-n><c-w>J", { noremap = true }) u.tmap("<a-K>", "<c-\\><c-n><c-w>K", { noremap = true }) u.tmap("<a-L>", "<c-\\><c-n><c-w>L", { noremap = true }) -- Tab switching u.tmap("<a-]>", "<c-\\><c-n>gt", { noremap = true }) u.nmap("<a-]>", "gt", { noremap = true }) u.tmap("<a-[>", "<c-\\><c-n>gT", { noremap = true }) u.nmap("<a-[>", "gT", { noremap = true }) u.nmap("<a-1>", "1gt", { noremap = true }) u.nmap("<a-2>", "2gt", { noremap = true }) u.nmap("<a-3>", "3gt", { noremap = true }) u.nmap("<a-4>", "4gt", { noremap = true }) u.nmap("<a-5>", "5gt", { noremap = true }) u.nmap("<a-6>", "6gt", { noremap = true }) u.nmap("<a-7>", "7gt", { noremap = true }) u.nmap("<a-8>", "8gt", { noremap = true }) u.nmap("<a-9>", "9gt", { noremap = true }) u.tmap("<a-1>", "<c-\\><c-n>1gt", { noremap = true }) u.tmap("<a-2>", "<c-\\><c-n>2gt", { noremap = true }) u.tmap("<a-3>", "<c-\\><c-n>3gt", { noremap = true }) u.tmap("<a-4>", "<c-\\><c-n>4gt", { noremap = true }) u.tmap("<a-5>", "<c-\\><c-n>5gt", { noremap = true }) u.tmap("<a-6>", "<c-\\><c-n>6gt", { noremap = true }) u.tmap("<a-7>", "<c-\\><c-n>7gt", { noremap = true }) u.tmap("<a-8>", "<c-\\><c-n>8gt", { noremap = true }) u.tmap("<a-9>", "<c-\\><c-n>9gt", { noremap = true })
local say = require("say") local assertions = require("spec.assertions") local hammerspoonMocker = require("spec.mock-hammerspoon") assertions:init(say, assert) -- Generate `requirePackage` function to mock external dependencies local function requirePackageMocker(mocks) mocks = mocks or {} local defaultMocks = { lustache = mocks.lustache or mock({ render = function() end }), middleclass = mocks.middleclass or mock(function() return { subclass = function() return {} end } end), } for key, value in pairs(mocks) do defaultMocks[key] = value end mocks = defaultMocks return function(name, isInternal) if isInternal then return mocks[name] or mock(dofile("src/"..name..".lua")) else return mocks[name] end end end -- SmartFolder `initialize` method test suite local function initializeTests() local tests = { { name = "creates a smart folder entity instance", args = { "~/.savedSearch" }, }, } -- Run `initialize` method tests for _, test in pairs(tests) do it(test.name, function() local mockHs = hammerspoonMocker() local SmartFolder = require("smart-folder") local mockFs = { pathToAbsolute = function() return test.args[1] end, } _G.hs = mock(mockHs({ fs = mockFs })) SmartFolder.mergeShortcuts = function() end SmartFolder:initialize(table.unpack(test.args)) assert.are.same(SmartFolder.path, test.args[1]) end) end end -- SmartFolder `showFileSearchSelectionModal` method test suite local function showFileSearchSelectionModalTests() local tests = { { name = "creates a smart folder entity instance", args = { "~/.savedSearch" }, shellOutput = "/test/path1\n/test/path2\n", expectedChoices = {}, }, } -- Run `showFileSearchSelectionModal` method tests for _, test in pairs(tests) do it(test.name, function() local mockHs = hammerspoonMocker() local SmartFolder = require("smart-folder") local mockFs = { pathToAbsolute = function() return test.args[1] end, } _G.hs = mock(mockHs({ fs = mockFs, execute = function() return test.shellOutput end, })) SmartFolder.createFileChoices = function() return test.expectedChoices end SmartFolder.showSelectionModal = function(choices) assert.are.same(choices, test.expectedChoices) end SmartFolder:showFileSearchSelectionModal(table.unpack(test.args)) end) end end -- SmartFolder `openFile` method test suite local function openFileTests() local tests = { { name = "does not open file without a selection", args = { "~/.savedSearch" }, choice = nil, opensFile = false, }, { name = "opens file with a path selection", args = { "~/.savedSearch" }, choice = "/test/path", opensFile = true, }, } -- Run `showFileSearchSelectionModal` method tests for _, test in pairs(tests) do it(test.name, function() local SmartFolder = require("smart-folder") SmartFolder.showFileSearchSelectionModal = function(_, _, callback) return callback(test.choice) end SmartFolder:openFile(table.unpack(test.args)) end) end end -- SmartFolder `copy` method test suite local function copyTests() local tests = { { name = "copies from a source file to a destination folder", args = { "~/.savedSearch" }, choice1 = "/test/source.txt", choice2 = "/test/destination", navigates = true, }, { name = "cancels copying if no selection is made", args = { "~/.savedSearch" }, navigates = false, }, } -- Run `copy` method tests for _, test in pairs(tests) do it(test.name, function() local mockHs = hammerspoonMocker() local SmartFolder = require("smart-folder") local mockFs = { pathToAbsolute = function() return test.args[1] end, } _G.hs = mock(mockHs({ fs = mockFs })) SmartFolder.showFileSearchSelectionModal = function(_, _, callback) return callback(test.choice1 and { path = test.choice1 } or nil) end SmartFolder.navigate = spy.new(function(_, _, callback) return callback(test.choice2) end) SmartFolder.triggerAfterConfirmation = function(_, callback) return callback() end SmartFolder.runFileModeApplescript = function(_, viewModel) assert.are.same(viewModel.filePath1, test.choice1) assert.are.same(viewModel.filePath2, test.choice2) end SmartFolder:copy(table.unpack(test.args)) assert.spy(SmartFolder.navigate).was.called(test.navigates and 1 or 0) end) end end -- SmartFolder `moveToTrash` method test suite local function moveToTrashTests() local tests = { { name = "does not open file without a selection", args = { "~/.savedSearch" }, choice = nil, movesToTrash = false, }, { name = "opens file with a path selection", args = { "~/.savedSearch" }, choice = "/test/path", movesToTrash = true, }, } -- Run `showFileSearchSelectionModal` method tests for _, test in pairs(tests) do it(test.name, function() local moveToTrashSpy = spy.new(function() end); _G.requirePackage = requirePackageMocker({ File = mock({ subclass = function() return {} end, moveToTrash = moveToTrashSpy, }), }) local SmartFolder = require("smart-folder") SmartFolder.showFileSearchSelectionModal = function(_, _, callback) return callback(test.choice) end SmartFolder:moveToTrash(table.unpack(test.args)) assert.spy(moveToTrashSpy).was.called(test.movesToTrash and 1 or 0) end) end end -- SmartFolder `move` method test suite local function moveTests() local tests = { { name = "moves a selected source file to a destination folder", args = { "~/.savedSearch" }, choice1 = "/test/source.txt", choice2 = "/test/destination", navigates = true, }, { name = "cancels moving if no selection is made", args = { "~/.savedSearch" }, navigates = false, }, } -- Run `move` method tests for _, test in pairs(tests) do it(test.name, function() local mockHs = hammerspoonMocker() local SmartFolder = require("smart-folder") local mockFs = { pathToAbsolute = function() return test.args[1] end, } _G.hs = mock(mockHs({ fs = mockFs })) SmartFolder.showFileSearchSelectionModal = function(_, _, callback) return callback(test.choice1 and { path = test.choice1 } or nil) end SmartFolder.navigate = spy.new(function(_, _, callback) return callback(test.choice2) end) SmartFolder.triggerAfterConfirmation = function(_, callback) return callback() end SmartFolder.runFileModeApplescript = function(_, viewModel) assert.are.same(viewModel.filePath1, test.choice1) assert.are.same(viewModel.filePath2, test.choice2) end SmartFolder:move(table.unpack(test.args)) assert.spy(SmartFolder.navigate).was.called(test.navigates and 1 or 0) end) end end -- SmartFolder `openFileWith` method test suite local function openFileWithTests() local tests = { { name = "does not open file without a selection", args = { "~/.savedSearch" }, choice = nil, movesToTrash = false, }, { name = "opens file with a path selection", args = { "~/.savedSearch" }, choice = "/test/path", movesToTrash = true, }, } -- Run `showFileSearchSelectionModal` method tests for _, test in pairs(tests) do it(test.name, function() local openFileWithSpy = spy.new(function() end); _G.requirePackage = requirePackageMocker({ File = mock({ subclass = function() return {} end, openWith = openFileWithSpy, }), }) local SmartFolder = require("smart-folder") SmartFolder.showFileSearchSelectionModal = function(_, _, callback) return callback(test.choice) end SmartFolder:openFileWith(table.unpack(test.args)) assert.spy(openFileWithSpy).was.called(test.movesToTrash and 1 or 0) end) end end -- SmartFolder `openInfoWindow` method test suite local function openInfoWindowTests() local tests = { { name = "does not open file without a selection", args = { "~/.savedSearch" }, choice = nil, movesToTrash = false, }, { name = "opens file with a path selection", args = { "~/.savedSearch" }, choice = "/test/path", movesToTrash = true, }, } -- Run `showFileSearchSelectionModal` method tests for _, test in pairs(tests) do it(test.name, function() local openInfoWindowSpy = spy.new(function() end); _G.requirePackage = requirePackageMocker({ File = mock({ subclass = function() return {} end, openInfoWindow = openInfoWindowSpy, }), }) local SmartFolder = require("smart-folder") SmartFolder.showFileSearchSelectionModal = function(_, _, callback) return callback(test.choice) end SmartFolder:openInfoWindow(table.unpack(test.args)) assert.spy(openInfoWindowSpy).was.called(test.movesToTrash and 1 or 0) end) end end describe("smart-folder.lua (#smartfolder)", function() -- Set globals _G.spoonPath = "" _G.SHORTCUT_MODKEY_INDEX = 1 _G.SHORTCUT_HOTKEY_INDEX = 2 _G.SHORTCUT_EVENT_HANDLER_INDEX = 3 _G.SHORTCUT_METADATA_INDEX = 4 before_each(function() -- Setup each test with a fake Hammerspoon environment and mocked external dependencies package.loaded["smart-folder"] = nil _G.hs = mock(hammerspoonMocker()()) _G.requirePackage = requirePackageMocker({ File = mock({ subclass = function() return {} end }), }) end) after_each(function() _G.hs = nil _G.requirePackage = nil end) describe("`initialize` method", initializeTests) describe("`showFileSearchSelectionModal` method", showFileSearchSelectionModalTests) describe("`openFile` method", openFileTests) describe("`copy` method", copyTests) describe("`moveToTrash` method", moveToTrashTests) describe("`move` method", moveTests) describe("`openFileWith` method", openFileWithTests) describe("`openInfoWindow` method", openInfoWindowTests) end)
local _G = getfenv(0) local unpack = unpack local AtlasLoot = _G.AtlasLoot local Search = {} AtlasLoot.Addons.Search = Search local AL = AtlasLoot.Locales local db function Search.Init() db = AtlasLoot.db.Addons.Search AtlasLoot.SlashCommands:Add("search", Search.Open, "/al search - Search") end AtlasLoot:AddInitFunc(Search.Init) --################################ -- GUI --################################ local function FrameOnDragStart(self, arg1) if arg1 == "LeftButton" then self:StartMoving() end end local function FrameOnDragStop(self) self:StopMovingOrSizing() local a,b,c,d,e = self:GetPoint() db.point = { a, nil, c, d, e } end local function FrameOnShow(self) end function Search:Open() if not Search.GUI then local frameName = "AtlasLoot_Search-Frame" local frame = CreateFrame("Frame", frameName) frame:ClearAllPoints() frame:SetParent(UIParent) frame:SetPoint(unpack(db.point)) frame:SetWidth(500) frame:SetHeight(500) frame:SetMovable(true) frame:EnableMouse(true) frame:RegisterForDrag("LeftButton") frame:RegisterForDrag("LeftButton", "RightButton") frame:SetScript("OnMouseDown", FrameOnDragStart) frame:SetScript("OnMouseUp", FrameOnDragStop) frame:SetScript("OnShow", FrameOnShow) frame:SetToplevel(true) frame:SetClampedToScreen(true) frame:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 16, insets = { left = 4, right = 4, top = 4, bottom = 4 }}) frame:SetBackdropColor(1,1,1,1) frame:Hide() tinsert(UISpecialFrames, frameName) -- allow ESC close frame.CloseButton = CreateFrame("Button", frameName.."-CloseButton", frame, "UIPanelCloseButton") frame.CloseButton:SetPoint("TOPRIGHT", frame, "TOPRIGHT") frame.Title = frame:CreateFontString(nil, "ARTWORK", "GameFontNormal") frame.Title:SetPoint("TOP", frame, "TOP", 0, -10) frame.Title:SetText(AL["AtlasLoot Search"]) frame.NameBox = CreateFrame("EditBox", frameName.."-NameBox", frame, "SearchBoxTemplate") frame.NameBox:SetPoint("TOPLEFT", frame, "TOPLEFT", 15, -20) frame.NameBox:SetWidth(250) frame.NameBox:SetHeight(35) frame.NameBox:SetAutoFocus(false) --frame.NameBox:SetTextInsets(0, 8, 0, 0) frame.NameBox:SetMaxLetters(100) frame.NameBox:SetScript("OnEnterPressed",function(self) print(frame.NameBox:GetText()) frame.NameBox:ClearFocus() end) Search.GUI = frame elseif Search.GUI:IsShown() then Search.GUI:Hide() return end Search.GUI:Show() end
local Nefia = require("mod.elona.api.Nefia") local Area = require("api.Area") local Map = require("api.Map") local ElonaCommand = require("mod.elona.api.ElonaCommand") local Feat = require("api.Feat") local IFeat = require("api.feat.IFeat") local Assert = require("api.test.Assert") local TestUtil = require("api.test.TestUtil") function test_Nefia_create__sets_position_in_parent_map() local north_tyris = Area.create_unique("elona.north_tyris", "root") local _, north_tyris_map = assert(north_tyris:load_or_generate_floor(north_tyris:starting_floor())) Map.set_map(north_tyris_map) Feat.iter(north_tyris_map):each(IFeat.remove_ownership) local player = TestUtil.set_player(north_tyris_map, 50, 20) local nefia_area = Nefia.create("elona.dungeon", north_tyris, 5, 5) Nefia.create_entrance(nefia_area, 50, 20, north_tyris_map) ElonaCommand.descend(player) Assert.eq(nefia_area, Area.current()) Assert.eq(north_tyris, Area.parent(nefia_area)) local x, y, floor = Area.parent(nefia_area):child_area_position(nefia_area) Assert.eq(50, x) Assert.eq(20, y) Assert.eq(1, floor) end
-- Needs lpack to unpack binary data. require "pack" -- Import relevant base types. local types = require "base.types" require "base.vec2" require "base.vec3" -- Module aliases. local vec2 = types.vec2 local vec3 = types.vec3 -- Loads a procedural texture source file into a FlexRender texture. -- Returns the resource ID of the texture. local function procedural(filename) local f = assert(io.open(filename, "r")) local procedure = f:read("*a") f:close() return texture { kind = "procedural", code = procedure } end -- Loads an uncompressed Targa image, assuming origin at bottom-left. local function targa(filename) local f = assert(io.open(filename, "rb")) local _ = nil local kind = nil local width = nil local height = nil local depth = nil local red = nil local green = nil local blue = nil local rtex = {} local gtex = {} local btex = {} -- Unpack the header data. _ = assert(f:read(2)) _, kind = string.unpack(assert(f:read(1)), "b") _ = assert(f:read(9)) _, width = string.unpack(assert(f:read(2)), "<H") _, height = string.unpack(assert(f:read(2)), "<H") _, depth = string.unpack(assert(f:read(1)), "b") _ = assert(f:read(1)) -- Verify that we know how to load the image data. if kind ~= 2 or depth ~= 24 then error("Expected uncompressed Targa with 24-bit color.", 2) end -- Read in the image data. for y = 0, height - 1 do for x = 0, width - 1 do _, blue, green, red = string.unpack(assert(f:read(3)), "bbb") local index = y * width + x rtex[index] = red / 255 gtex[index] = green / 255 btex[index] = blue / 255 end end f:close() rtex.kind = "image" gtex.kind = "image" btex.kind = "image" rtex.size = vec2(width, height) gtex.size = vec2(width, height) btex.size = vec2(width, height) return texture(rtex), texture(gtex), texture(btex) end -- Module exports. return { procedural = procedural, targa = targa }
--[[------------------------------------------------------ lut.Test test --]]------------------------------------------------------ package.path = './?.lua;'..package.path local lub = require 'lub' local lut = require 'lut' local should = lut.Test('lut.Test', { coverage = false }) function should.assertTrue() assertTrue(true) end should:test()
TrapConfig = { } TrapConfig[1]={id=1,remark='普通伤害陷阱',remark2='',TrapLv=0,skinId=10008,clientType=2,type=1,hitEffectId={},triggerEffectId=51003021,deathEffectId=303024,stateEffectId=0,lifetime=12000,exeWay=2,validCount=0,coolDown=3000,checkX=3,checkZ=3,hp=10,target=1,bornType=2,bornAngle=0,bornlength=5,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=100,soulPercent=0,bloodValue=100,bloodPercent=0,parame1=0} TrapConfig[2]={id=2,remark='普通治疗陷阱',remark2='',TrapLv=0,skinId=10005,clientType=1,type=1,hitEffectId={50000092},triggerEffectId=50000021,deathEffectId=402002,stateEffectId=0,lifetime=12000,exeWay=1,validCount=1,coolDown=2000,checkX=1,checkZ=1,hp=10,target=4,bornType=3,bornAngle=0,bornlength=10,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=-100,bloodValue=0,bloodPercent=-100,parame1=0} TrapConfig[3]={id=3,remark='跟踪伤害陷阱',remark2='',TrapLv=0,skinId=10008,clientType=2,type=1,hitEffectId={},triggerEffectId=51003021,deathEffectId=303024,stateEffectId=0,lifetime=12000,exeWay=2,validCount=0,coolDown=3000,checkX=3,checkZ=3,hp=10,target=3,bornType=2,bornAngle=0,bornlength=1,moveType=3,moveSpeed=3,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=100,soulPercent=0,bloodValue=100,bloodPercent=0,parame1=0} TrapConfig[4]={id=4,remark='跟踪治疗陷阱',remark2='',TrapLv=0,skinId=10007,clientType=2,type=1,hitEffectId={},triggerEffectId=900204,deathEffectId=402002,stateEffectId=0,lifetime=12000,exeWay=1,validCount=10,coolDown=1000,checkX=1,checkZ=1,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=3,moveSpeed=6,distance=0,lockingType=3,stateId=0,addBuffers=0,soulValue=0,soulPercent=100,bloodValue=0,bloodPercent=100,parame1=0} TrapConfig[5]={id=5,remark='离开伤害陷阱',remark2='',TrapLv=0,skinId=10008,clientType=2,type=1,hitEffectId={},triggerEffectId=51003021,deathEffectId=303024,stateEffectId=0,lifetime=12000,exeWay=3,validCount=0,coolDown=3000,checkX=3,checkZ=3,hp=10,target=2,bornType=2,bornAngle=0,bornlength=1,moveType=3,moveSpeed=3,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=100,soulPercent=0,bloodValue=100,bloodPercent=0,parame1=0} TrapConfig[6]={id=6,remark='跟踪治疗陷阱',remark2='',TrapLv=0,skinId=10007,clientType=2,type=1,hitEffectId={},triggerEffectId=900204,deathEffectId=402002,stateEffectId=0,lifetime=12000,exeWay=1,validCount=10,coolDown=1000,checkX=1,checkZ=1,hp=10,target=5,bornType=3,bornAngle=0,bornlength=3,moveType=3,moveSpeed=3,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=100,bloodValue=0,bloodPercent=100,parame1=0} TrapConfig[1010200]={id=1010200,remark='渡劫法阵',remark2='1级防御法阵',TrapLv=0,skinId=10015,clientType=1,type=3,hitEffectId={},triggerEffectId=0,deathEffectId=50000301,stateEffectId=0,lifetime=3600000,exeWay=2,validCount=7,coolDown=1000,checkX=3,checkZ=3,hp=7,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=5} TrapConfig[1010201]={id=1010201,remark='渡劫法阵',remark2='2级防御法阵',TrapLv=0,skinId=10015,clientType=1,type=3,hitEffectId={},triggerEffectId=0,deathEffectId=50000301,stateEffectId=0,lifetime=3600000,exeWay=2,validCount=14,coolDown=1000,checkX=3,checkZ=3,hp=14,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=10} TrapConfig[1010202]={id=1010202,remark='渡劫法阵',remark2='3级防御法阵',TrapLv=0,skinId=10015,clientType=1,type=3,hitEffectId={},triggerEffectId=0,deathEffectId=50000301,stateEffectId=0,lifetime=3600000,exeWay=2,validCount=21,coolDown=1000,checkX=3,checkZ=3,hp=21,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=15} TrapConfig[1010203]={id=1010203,remark='渡劫法阵',remark2='4级防御法阵',TrapLv=0,skinId=10015,clientType=1,type=3,hitEffectId={},triggerEffectId=0,deathEffectId=50000301,stateEffectId=0,lifetime=3600000,exeWay=2,validCount=28,coolDown=1000,checkX=3,checkZ=3,hp=28,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=20} TrapConfig[1010204]={id=1010204,remark='渡劫法阵',remark2='5级防御法阵',TrapLv=0,skinId=10015,clientType=1,type=3,hitEffectId={},triggerEffectId=0,deathEffectId=50000301,stateEffectId=0,lifetime=3600000,exeWay=2,validCount=35,coolDown=1000,checkX=3,checkZ=3,hp=35,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=25} TrapConfig[1010205]={id=1010205,remark='渡劫法阵',remark2='6级防御法阵',TrapLv=0,skinId=10015,clientType=1,type=3,hitEffectId={},triggerEffectId=0,deathEffectId=50000301,stateEffectId=0,lifetime=3600000,exeWay=2,validCount=42,coolDown=1000,checkX=3,checkZ=3,hp=42,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=30} TrapConfig[1010206]={id=1010206,remark='渡劫法阵',remark2='7级防御法阵',TrapLv=0,skinId=10015,clientType=1,type=3,hitEffectId={},triggerEffectId=0,deathEffectId=50000301,stateEffectId=0,lifetime=3600000,exeWay=2,validCount=49,coolDown=1000,checkX=3,checkZ=3,hp=49,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=35} TrapConfig[50000060]={id=50000060,remark='天雷',remark2='',TrapLv=0,skinId=19903,clientType=1,type=1,hitEffectId={},triggerEffectId=50000050,deathEffectId=0,stateEffectId=0,lifetime=2000,exeWay=2,validCount=1,coolDown=1000,checkX=3,checkZ=3,hp=10,target=1,bornType=2,bornAngle=0,bornlength=3,moveType=1,moveSpeed=0,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=100,bloodPercent=20000,parame1=0} TrapConfig[50000120]={id=50000120,remark='陨石',remark2='',TrapLv=0,skinId=19903,clientType=1,type=1,hitEffectId={},triggerEffectId=50000120,deathEffectId=0,stateEffectId=0,lifetime=2000,exeWay=2,validCount=1,coolDown=1000,checkX=3,checkZ=3,hp=10,target=1,bornType=2,bornAngle=0,bornlength=3,moveType=1,moveSpeed=0,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=100,bloodPercent=20000,parame1=0} TrapConfig[50000130]={id=50000130,remark='岩爆',remark2='',TrapLv=0,skinId=19903,clientType=1,type=1,hitEffectId={},triggerEffectId=50000130,deathEffectId=0,stateEffectId=0,lifetime=2000,exeWay=2,validCount=1,coolDown=1000,checkX=3,checkZ=3,hp=10,target=1,bornType=2,bornAngle=0,bornlength=3,moveType=1,moveSpeed=0,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=100,bloodPercent=20000,parame1=0} TrapConfig[50000140]={id=50000140,remark='飓风',remark2='',TrapLv=0,skinId=10009,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=10000,exeWay=2,validCount=10,coolDown=1000,checkX=3,checkZ=3,hp=10,target=1,bornType=2,bornAngle=0,bornlength=3,moveType=1,moveSpeed=0,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=100,bloodPercent=20000,parame1=0} TrapConfig[50000150]={id=50000150,remark='漩涡',remark2='',TrapLv=0,skinId=10010,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=10000,exeWay=2,validCount=10,coolDown=1000,checkX=6,checkZ=6,hp=10,target=1,bornType=2,bornAngle=0,bornlength=3,moveType=1,moveSpeed=0,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=100,bloodPercent=20000,parame1=0} TrapConfig[51020030]={id=51020030,remark='飓风狼',remark2='陷阱技能·飓风狼',TrapLv=0,skinId=10009,clientType=2,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=8000,exeWay=2,validCount=8,coolDown=1000,checkX=3,checkZ=3,hp=10,target=1,bornType=2,bornAngle=0,bornlength=1,moveType=3,moveSpeed=3,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=10000,parame1=0} TrapConfig[51020040]={id=51020040,remark='飓风狼',remark2='控制技能·飓风狼',TrapLv=0,skinId=10009,clientType=2,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=8000,exeWay=2,validCount=8,coolDown=1000,checkX=3,checkZ=3,hp=10,target=1,bornType=2,bornAngle=0,bornlength=1,moveType=3,moveSpeed=3,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=10000,parame1=0} TrapConfig[51063051]={id=51063051,remark='古妖',remark2='技能·治疗',TrapLv=0,skinId=10011,clientType=1,type=5,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=10000,exeWay=2,validCount=10,coolDown=1000,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-100,parame1=0} TrapConfig[51047240]={id=51047240,remark='孟驼子·合体',remark2='刺骨',TrapLv=0,skinId=11043,clientType=2,type=5,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=5000,exeWay=2,validCount=0,coolDown=1000,checkX=3,checkZ=3,hp=0,target=1,bornType=2,bornAngle=0,bornlength=5,moveType=3,moveSpeed=5,distance=0,lockingType=2,stateId=0,addBuffers=0,soulValue=0,soulPercent=500,bloodValue=0,bloodPercent=500,parame1=0} TrapConfig[51048240]={id=51048240,remark='藤化元',remark2='咒煞',TrapLv=0,skinId=11045,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=5000,exeWay=2,validCount=0,coolDown=1000,checkX=5,checkZ=5,hp=0,target=1,bornType=1,bornAngle=0,bornlength=5,moveType=1,moveSpeed=5,distance=0,lockingType=1,stateId=0,addBuffers=51048240,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[55029011]={id=55029011,remark='傀儡妖星',remark2='雷击5*5',TrapLv=0,skinId=11025,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=30000,exeWay=2,validCount=0,coolDown=1000,checkX=5,checkZ=5,hp=0,target=1,bornType=2,bornAngle=0,bornlength=5,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=55029011,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[55029012]={id=55029012,remark='傀儡妖星',remark2='眩晕5*5',TrapLv=0,skinId=11035,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=30000,exeWay=2,validCount=0,coolDown=5000,checkX=5,checkZ=5,hp=0,target=1,bornType=2,bornAngle=0,bornlength=5,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=55029012,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[55029013]={id=55029013,remark='傀儡妖星',remark2='沉默5*5',TrapLv=0,skinId=11065,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=30000,exeWay=2,validCount=0,coolDown=1000,checkX=5,checkZ=5,hp=0,target=1,bornType=2,bornAngle=0,bornlength=5,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=55029013,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[55029014]={id=55029014,remark='傀儡妖星',remark2='虚弱5*5',TrapLv=0,skinId=11085,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=30000,exeWay=2,validCount=0,coolDown=1000,checkX=5,checkZ=5,hp=0,target=1,bornType=2,bornAngle=0,bornlength=5,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=55029014,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[55029015]={id=55029015,remark='傀儡妖星',remark2='易伤5*5',TrapLv=0,skinId=11075,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=30000,exeWay=2,validCount=0,coolDown=1000,checkX=5,checkZ=5,hp=0,target=1,bornType=2,bornAngle=0,bornlength=5,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=55029015,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70205501]={id=70205501,remark='分身·古妖·技能',remark2='立定成佛·治疗',TrapLv=1,skinId=10011,clientType=1,type=5,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=10000,exeWay=2,validCount=10,coolDown=1000,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=0,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-100,parame1=0} TrapConfig[70206001]={id=70206001,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=1,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-2500,parame1=0} TrapConfig[70206002]={id=70206002,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=2,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-3000,parame1=0} TrapConfig[70206003]={id=70206003,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=3,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-3500,parame1=0} TrapConfig[70206004]={id=70206004,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=4,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-4000,parame1=0} TrapConfig[70206005]={id=70206005,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=5,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-4500,parame1=0} TrapConfig[70206006]={id=70206006,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=6,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-5000,parame1=0} TrapConfig[70206007]={id=70206007,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=7,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-5500,parame1=0} TrapConfig[70206008]={id=70206008,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=8,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-6000,parame1=0} TrapConfig[70206009]={id=70206009,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=9,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-6500,parame1=0} TrapConfig[70206010]={id=70206010,remark='分身·古妖·技能',remark2='妖·甘霖',TrapLv=10,skinId=10011,clientType=1,type=6,hitEffectId={50000092},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=2,validCount=0,coolDown=900,checkX=5,checkZ=5,hp=10,target=4,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=18,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=-7000,parame1=0} TrapConfig[70407001]={id=70407001,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=1,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4000,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407002]={id=70407002,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=2,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4400,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407003]={id=70407003,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=3,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=4800,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407004]={id=70407004,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=4,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=5200,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407005]={id=70407005,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=5,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=5600,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407006]={id=70407006,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=6,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=6000,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407007]={id=70407007,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=7,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=6400,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407008]={id=70407008,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=8,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=6800,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407009]={id=70407009,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=9,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=7200,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0} TrapConfig[70407010]={id=70407010,remark='分身·古仙·技能',remark2='仙·天机',TrapLv=10,skinId=10012,clientType=1,type=1,hitEffectId={},triggerEffectId=0,deathEffectId=0,stateEffectId=0,lifetime=7600,exeWay=1,validCount=0,coolDown=0,checkX=4,checkZ=4,hp=10,target=1,bornType=1,bornAngle=0,bornlength=1,moveType=1,moveSpeed=0,distance=0,lockingType=1,stateId=21,addBuffers=0,soulValue=0,soulPercent=0,bloodValue=0,bloodPercent=0,parame1=0}
local L = LibStub:GetLibrary("AceLocale-3.0"):GetLocale("Grid2") local Grid2 = Grid2 -- shared methods local function GetTexCoordEmpty() return 0,0.05,0,0.05 end local function GetTexCoordIcon() return 0.55, 0.93, 0.07, 0.42 end local text = L["combat"] local function GetText(self,unit) return text end local function GetPercent(self, unit) return self.dbx.color1.a, text end local function GetIcon() return [[Interface\CharacterFrame\UI-StateIcon]] end -- combat status local Combat = Grid2.statusPrototype:new("combat") local UnitAffectingCombat = UnitAffectingCombat local timer local cache = {} Combat.GetColor = Grid2.statusLibrary.GetColor Combat.GetPercent = GetPercent Combat.GetText = GetText Combat.GetIcon = GetIcon local function UpdateUnits() for unit in Grid2:IterateRosterUnits() do local value = UnitAffectingCombat(unit) if value ~= cache[unit] then cache[unit] = value Combat:UpdateIndicators(unit) end end end function Combat:OnEnable() self:UpdateDB() self:RegisterMessage("Grid_UnitUpdated") self:RegisterMessage("Grid_UnitLeft") timer:Play() end function Combat:OnDisable() self:UnregisterMessage("Grid_UnitUpdated") self:UnregisterMessage("Grid_UnitLeft") timer:Stop() wipe(cache) end function Combat:Grid_UnitUpdated(_, unit) cache[unit] = UnitAffectingCombat(unit) end function Combat:Grid_UnitLeft(_, unit) cache[unit] = nil end function Combat:IsActive(unit) return cache[unit] end function Combat:UpdateDB() self.GetTexCoord = self.dbx.useEmptyIcon and GetTexCoordEmpty or GetTexCoordIcon timer = timer or Grid2:CreateTimer( UpdateUnits, 1, false) end local function Create(baseKey, dbx) Grid2:RegisterStatus(Combat, {"color", "icon", "percent", "text"}, baseKey, dbx) return Combat end Grid2.setupFunc["combat"] = Create Grid2:DbSetStatusDefaultValue( "combat", {type = "combat", color1 = {r=1,g=0,b=0,a=1}} ) -- combat-mine status local MyCombat = Grid2.statusPrototype:new("combat-mine") local inCombat MyCombat.GetColor = Grid2.statusLibrary.GetColor MyCombat.GetPercent = GetPercent MyCombat.GetText = GetText MyCombat.GetIcon = GetIcon function MyCombat:IsActive() return inCombat end function MyCombat:OnEnable() self:UpdateDB() self:RegisterEvent("PLAYER_REGEN_ENABLED", "CombatChanged" ) self:RegisterEvent("PLAYER_REGEN_DISABLED", "CombatChanged" ) inCombat = InCombatLockdown() end function MyCombat:OnDisable() self:UnregisterEvent("PLAYER_REGEN_ENABLED") self:UnregisterEvent("PLAYER_REGEN_DISABLED") end function MyCombat:CombatChanged(event) inCombat = (event=='PLAYER_REGEN_DISABLED') self:UpdateAllUnits() end function MyCombat:UpdateDB() self.GetTexCoord = self.dbx.useEmptyIcon and GetTexCoordEmpty or GetTexCoordIcon end local function Create(baseKey, dbx) Grid2:RegisterStatus(MyCombat, {"color", "icon", "percent", "text"}, baseKey, dbx) return MyCombat end Grid2.setupFunc["combat-mine"] = Create Grid2:DbSetStatusDefaultValue( "combat-mine", {type = "combat-mine", color1 = {r=1,g=0,b=0,a=1}} )
quest = {"proda tako da u silosu ostane ", "doda u silos, ako u silos može da stane "} relat = {" manje ", " više ", " ne više ", " ne manje "}
dofile "configs.lua" local uv = require "luv" local passive = assert(uv.new_tcp()) assert(passive:bind(host, port)) assert(passive:listen(conncount, function (err) assert(not err, err) local stream = uv.new_tcp() assert(passive:accept(stream)) local missing = msgtotal*msgsize assert(stream:read_start(function (err, chunk) missing = missing-#chunk if missing <= 0 then stream:close() passive:close() end end)) end)) local stream = uv.new_tcp() local missing = msgtotal local function onwrite(err) assert(not err, err) missing = missing-1 if missing > 0 then assert(stream:write(msgdata, onwrite)) else stream:close() end end stream:connect(host, port, function (err) assert(not err, err) assert(stream:write(msgdata, onwrite)) end) uv.run()
--[[Arcane Orb Author: chrislotix Date: 05.01.2015.]] function ArcaneOrb( keys ) local ability = keys.ability local caster = keys.caster local mana = caster:GetMana() local target = keys.target local summon_damage = ability:GetLevelSpecialValueFor("illusion_damage", (ability:GetLevel() -1)) local extra_damage = ability:GetLevelSpecialValueFor("mana_pool_damage_pct", (ability:GetLevel() -1)) / 100 local damage_table = {} damage_table.attacker = caster damage_table.damage_type = ability:GetAbilityDamageType() damage_table.ability = ability damage_table.victim = target if not target:IsRealHero() or target:IsSummoned() then damage_table.damage = mana * extra_damage + summon_damage else damage_table.damage = mana * extra_damage end ApplyDamage(damage_table) end
-- On map load writes the current season to gamelog.txt local seasons = { [-1] = 'Nothing', -- worldgen [0] = 'Spring', [1] = 'Summer', [2] = 'Autumn', [3] = 'Winter', } local args = {...} local function write_gamelog(msg) local log = io.open('gamelog.txt', 'a') log:write(msg.."\n") log:close() end if args[1] == 'disable' then dfhack.onStateChange[_ENV] = nil else dfhack.onStateChange[_ENV] = function(op) if op == SC_WORLD_LOADED then write_gamelog(seasons[df.global.cur_season]..' has arrived on the calendar.') end end end
-- Get file to touch local tArgs = { ... } if #tArgs == 0 then print( "Usage: touch <path>" ) return end -- Error checking local sPath = shell.resolve( tArgs[1] ) if not fs.isReadOnly( sPath ) then file = fs.open(sPath, 'a') file.writeLine('') file:close() return else if fs.isDir( sPath ) then printError("folder is read only") else printError("file is read only") end end
-------------------------------------------------------------------------------- -- GY-MCU680V1 module for NodeMCU -- LICENCE: http://opensource.org/licenses/MIT -- @shimosaurus, 1 Mar 2019 -------------------------------------------------------------------------------- --Use: --require("mcu680"):init(Tx_pin, Rx_pin) --require("mcu680"):read(function(temperature, humidity, pressure, iaq_accuracy, iaq, gas_resistance, altitude) -- print(string.format("Temperature: %g C", temperature/100)) -- print(string.format("Humidity: %g %%", humidity/100)) -- print(string.format("Pressure: %g hPa", pressure/100)) -- print(string.format("IAQ accuracy: %g", iaq_accuracy)) -- print(string.format("IAQ: %g", iaq)) -- print(string.format("Gas resistance: %g Ohm", gas_resistance)) -- print(string.format("Altitude: %g m", altitude)) --end) -- local modname = ... -- Used modules and functions local string, print, softuart, struct, bit = string, print, softuart, struct, bit -- Local functions local node_task_post, node_task_LOW_PRIORITY = node.task.post, node.task.LOW_PRIORITY local string_char, string_format = string.char, string.format local softuart_setup = softuart.setup local struct_unpack = struct.unpack local bit_band, bit_rshift = bit.band, bit.rshift string, softuart, struct, bit = nil local cb, suart local function _chsum(data) local sum = 0 for i = 1, 19 do sum = sum + data:byte(i) end return (sum % 256) == data:byte(20) end local function init(self, tx, rx) suart = softuart_setup(9600, tx, rx) --config commands. don't know if needed: suart:write(string_char(0xA5, 0x55, 0x3F, 0x39)) suart:write(string_char(0xA5, 0x56, 0x02, 0xFD)) local data = "" suart:on("data", 20, function(d) data = data .. d local i = 0 while i <= #data do i = i + 1 if #data > i and data:byte(i) == 0x5A and data:byte(i+1) == 0x5A then data = data:sub(i) if #data >= 20 and _chsum(data) then local temperature = struct_unpack(">h", data:sub(5,6)) local humidity = struct_unpack(">h", data:sub(7,8)) local pressure = struct_unpack(">i3", data:sub(9,11)) local iaq_accuracy = bit_rshift(bit_band(data:byte(12), 0xF0), 4) local iaq = struct_unpack(">h", string_char(bit_band(data:byte(12), 0x0F), data:byte(13))) local gas_resistance = struct_unpack(">L", data:sub(14,17)) local altitude = struct_unpack(">h", data:sub(18,19)) data = data:sub(21) i = 0 if cb then node_task_post(node_task_LOW_PRIORITY, function() return cb(temperature, humidity, pressure, iaq_accuracy, iaq, gas_resistance, altitude) end) node_task_post(node_task_LOW_PRIORITY, function() cb = nil end) end end end end end, 0) end local function read(self, lcb) cb = lcb end -- Set module name as parameter of require and return module table local M = { read = read, init = init } _G[modname or 'mcu680'] = M return M
local CorePackages = game:GetService("CorePackages") local Cryo = require(CorePackages.Cryo) local Rodux = require(CorePackages.Rodux) local InspectAndBuyFolder = script.Parent.Parent local AssetInfo = require(InspectAndBuyFolder.Models.AssetInfo) local SetAssets = require(InspectAndBuyFolder.Actions.SetAssets) local SetBundlesAssetIsPartOf = require(InspectAndBuyFolder.Actions.SetBundlesAssetIsPartOf) return Rodux.createReducer( {} , { --[[ Set a group of assets, joining with any existing assets. ]] [SetAssets.name] = function(state, action) local assets = {} for _, asset in ipairs(action.assets) do assert(asset.assetId ~= nil, "Expected an asset id when setting an asset's information.") local currentAsset = state[asset.assetId] or {} assets[asset.assetId] = Cryo.Dictionary.join(currentAsset, asset) end assets = Cryo.Dictionary.join(state, assets) return assets end, --[[ Sets the list of bundles an asset is part of. At this point the asset should already exist in the store. This is called after the user navigates to the details page. ]] [SetBundlesAssetIsPartOf.name] = function(state, action) local assetId = tostring(action.assetId) local bundles = action.bundleIds local currentAsset = state[assetId] or {} local asset = AssetInfo.fromGetAssetBundles(assetId, bundles) asset = Cryo.Dictionary.join(currentAsset, asset) return Cryo.Dictionary.join(state, {[assetId] = asset }) end, })
return { version = "1.2", luaversion = "5.1", tiledversion = "1.2.3", orientation = "orthogonal", renderorder = "right-down", width = 100, height = 300, tilewidth = 32, tileheight = 32, nextlayerid = 8, nextobjectid = 472, properties = {}, tilesets = { { name = "test-tileset", firstgid = 1, filename = "../../map-editing/tilesets/test-tileset.tsx", tilewidth = 32, tileheight = 32, spacing = 0, margin = 0, columns = 1, image = "../assets/art/map/test-tileset-image.png", imagewidth = 32, imageheight = 64, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 32, height = 32 }, properties = {}, terrains = {}, tilecount = 2, tiles = { { id = 1, properties = { ["collidable"] = true } } } }, { name = "cloud-001", firstgid = 3, filename = "../../map-editing/tilesets/cloud-001.tsx", tilewidth = 337, tileheight = 155, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/cloud-001.png", imagewidth = 337, imageheight = 155, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 337, height = 155 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "cloud-003", firstgid = 4, filename = "../../map-editing/tilesets/cloud-003.tsx", tilewidth = 337, tileheight = 165, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/cloud-003.png", imagewidth = 337, imageheight = 165, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 337, height = 165 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-tuft-006", firstgid = 5, filename = "../../map-editing/tilesets/grass-tuft-006.tsx", tilewidth = 127, tileheight = 163, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-tuft-006.png", imagewidth = 127, imageheight = 163, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 127, height = 163 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-tuft-005", firstgid = 6, filename = "../../map-editing/tilesets/grass-tuft-005.tsx", tilewidth = 81, tileheight = 119, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-tuft-005.png", imagewidth = 81, imageheight = 119, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 81, height = 119 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "cloud-002", firstgid = 7, filename = "../../map-editing/tilesets/cloud-002.tsx", tilewidth = 319, tileheight = 148, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/cloud-002.png", imagewidth = 319, imageheight = 148, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 319, height = 148 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "ground-base", firstgid = 8, filename = "../../map-editing/tilesets/ground-base.tsx", tilewidth = 32, tileheight = 32, spacing = 0, margin = 0, columns = 17, image = "../assets/art/environment-textures/ground-base.png", imagewidth = 574, imageheight = 566, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 32, height = 32 }, properties = {}, terrains = {}, tilecount = 289, tiles = {} }, { name = "sky", firstgid = 297, filename = "../../map-editing/tilesets/sky.tsx", tilewidth = 375, tileheight = 375, spacing = 0, margin = 0, columns = 1, image = "../assets/art/map/sky.png", imagewidth = 396, imageheight = 376, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 375, height = 375 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-tuft-004", firstgid = 298, filename = "../../map-editing/tilesets/grass-tuft-004.tsx", tilewidth = 69, tileheight = 119, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-tuft-004.png", imagewidth = 69, imageheight = 119, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 69, height = 119 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "rock-003", firstgid = 299, filename = "../../map-editing/tilesets/rock-003.tsx", tilewidth = 125, tileheight = 105, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/rock-003.png", imagewidth = 125, imageheight = 105, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 125, height = 105 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "rock-005", firstgid = 300, filename = "../../map-editing/tilesets/rock-005.tsx", tilewidth = 302, tileheight = 116, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/rock-005.png", imagewidth = 302, imageheight = 116, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 302, height = 116 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "tree-square", firstgid = 301, filename = "../../map-editing/tilesets/tree-square-tileset.tsx", tilewidth = 353, tileheight = 680, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/tree-square.png", imagewidth = 353, imageheight = 680, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 353, height = 680 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "rock-004", firstgid = 302, filename = "../../map-editing/tilesets/rock-004.tsx", tilewidth = 101, tileheight = 68, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/rock-004.png", imagewidth = 101, imageheight = 68, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 101, height = 68 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-tuft-003", firstgid = 303, tilewidth = 102, tileheight = 95, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-tuft-003.png", imagewidth = 102, imageheight = 95, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 102, height = 95 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-tuft-002", firstgid = 304, filename = "../../map-editing/tilesets/grass-tuft-002.tsx", tilewidth = 72, tileheight = 115, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-tuft-002.png", imagewidth = 72, imageheight = 115, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 72, height = 115 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-tuft-009", firstgid = 305, filename = "../../map-editing/tilesets/grass-tuft-009.tsx", tilewidth = 171, tileheight = 211, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-tuft-009.png", imagewidth = 171, imageheight = 211, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 171, height = 211 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-tuft-007", firstgid = 306, filename = "../../map-editing/tilesets/grass-tuft-007.tsx", tilewidth = 183, tileheight = 97, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-tuft-007.png", imagewidth = 183, imageheight = 97, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 183, height = 97 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "bush-005", firstgid = 307, filename = "../../map-editing/tilesets/bush-005.tsx", tilewidth = 292, tileheight = 458, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/bush-005.png", imagewidth = 292, imageheight = 458, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 292, height = 458 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "bush-002", firstgid = 308, filename = "../../map-editing/tilesets/bush-002.tsx", tilewidth = 261, tileheight = 410, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/bush-002.png", imagewidth = 261, imageheight = 410, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 261, height = 410 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "bush-004", firstgid = 309, filename = "../../map-editing/tilesets/bush-004.tsx", tilewidth = 438, tileheight = 301, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/bush-004.png", imagewidth = 438, imageheight = 301, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 438, height = 301 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "bush-003", firstgid = 310, filename = "../../map-editing/tilesets/bush-003.tsx", tilewidth = 337, tileheight = 301, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/bush-003.png", imagewidth = 337, imageheight = 301, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 337, height = 301 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "bush-006", firstgid = 311, filename = "../../map-editing/tilesets/bush-006.tsx", tilewidth = 417, tileheight = 552, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/bush-006.png", imagewidth = 417, imageheight = 552, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 417, height = 552 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-pattern-005", firstgid = 312, filename = "../../map-editing/tilesets/grass-pattern-005.tsx", tilewidth = 712, tileheight = 498, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-pattern-005.png", imagewidth = 712, imageheight = 498, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 712, height = 498 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass-pattern-004", firstgid = 313, filename = "../../map-editing/tilesets/grass-pattern-004.tsx", tilewidth = 712, tileheight = 498, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-pattern-004.png", imagewidth = 712, imageheight = 498, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 712, height = 498 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "grass_pattern_003", firstgid = 314, filename = "../../map-editing/tilesets/grass-pattern-003.tsx", tilewidth = 712, tileheight = 498, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/grass-pattern-003.png", imagewidth = 712, imageheight = 498, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 712, height = 498 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "rock-001", firstgid = 315, filename = "../../map-editing/tilesets/rock-001.tsx", tilewidth = 284, tileheight = 137, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/rock-001.png", imagewidth = 284, imageheight = 137, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 284, height = 137 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "rock-002", firstgid = 316, filename = "../../map-editing/tilesets/rock-002.tsx", tilewidth = 126, tileheight = 106, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/rock-002.png", imagewidth = 126, imageheight = 106, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 126, height = 106 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "rock-006", firstgid = 317, filename = "../../map-editing/tilesets/rock-006.tsx", tilewidth = 162, tileheight = 72, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/rock-006.png", imagewidth = 162, imageheight = 72, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 162, height = 72 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "rock-007", firstgid = 318, filename = "../../map-editing/tilesets/rock-007.tsx", tilewidth = 210, tileheight = 136, spacing = 0, margin = 0, columns = 1, image = "../assets/art/environment-textures/rock-007.png", imagewidth = 210, imageheight = 136, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 210, height = 136 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} } }, layers = { { type = "tilelayer", id = 1, name = "sky", x = 0, y = 0, width = 100, height = 300, visible = true, opacity = 1, offsetx = 0, offsety = 0, properties = {}, encoding = "lua", data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { type = "tilelayer", id = 2, name = "background", x = 0, y = 0, width = 100, height = 300, visible = true, opacity = 1, offsetx = 0, offsety = 0, properties = {}, encoding = "lua", data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 30, 26, 26, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 30, 26, 26, 30, 30, 30, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 26, 26, 30, 30, 26, 26, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 26, 26, 26, 26, 26, 26, 26, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }, { type = "objectgroup", id = 3, name = "backgroundObjects", visible = true, opacity = 1, offsetx = 0, offsety = 0, draworder = "topdown", properties = {}, objects = { { id = 73, name = "", type = "", shape = "rectangle", x = -85.3522, y = 165.03, width = 289.855, height = 166, rotation = 0, gid = 3, visible = true, properties = {} }, { id = 74, name = "", type = "", shape = "rectangle", x = 613.474, y = 253.611, width = 415.621, height = 203.406, rotation = 0.164813, gid = 7, visible = true, properties = {} }, { id = 75, name = "", type = "", shape = "rectangle", x = 2348.48, y = 334.763, width = 276.455, height = 124.953, rotation = -0.463865, gid = 4, visible = true, properties = {} }, { id = 76, name = "", type = "", shape = "rectangle", x = 1596.25, y = 32.4509, width = 225, height = 102.857, rotation = 0.332634, gid = 7, visible = true, properties = {} }, { id = 297, name = "", type = "", shape = "rectangle", x = 2585, y = 705, width = 127, height = 163, rotation = 0, gid = 5, visible = true, properties = {} }, { id = 336, name = "", type = "", shape = "rectangle", x = 2287.67, y = 2072.67, width = 319, height = 148, rotation = 0, gid = 7, visible = true, properties = {} }, { id = 337, name = "", type = "", shape = "rectangle", x = 1898, y = 3047, width = 337, height = 155, rotation = 0, gid = 3, visible = true, properties = {} }, { id = 338, name = "", type = "", shape = "rectangle", x = 1534, y = 784, width = 337, height = 155, rotation = 0, gid = 3, visible = true, properties = {} }, { id = 339, name = "", type = "", shape = "rectangle", x = 1625, y = 4930, width = 319, height = 148, rotation = 0, gid = 7, visible = true, properties = {} }, { id = 340, name = "", type = "", shape = "rectangle", x = -61, y = 5136, width = 337, height = 155, rotation = 0, gid = 3, visible = true, properties = {} }, { id = 341, name = "", type = "", shape = "rectangle", x = 2992, y = 4637, width = 337, height = 155, rotation = 0, gid = 3, visible = true, properties = {} }, { id = 342, name = "", type = "", shape = "rectangle", x = 2768, y = 5338, width = 337, height = 165, rotation = 0, gid = 4, visible = true, properties = {} }, { id = 343, name = "", type = "", shape = "rectangle", x = 3076, y = 3314, width = 337, height = 165, rotation = 0, gid = 4, visible = true, properties = {} }, { id = 346, name = "", type = "", shape = "rectangle", x = 1509.87, y = 1076.72, width = 118, height = 90.6667, rotation = 12.5906, gid = 300, visible = true, properties = {} }, { id = 348, name = "", type = "", shape = "rectangle", x = 807.046, y = 753.64, width = 109.907, height = 86.7191, rotation = 0.695257, gid = 299, visible = true, properties = {} }, { id = 374, name = "", type = "", shape = "rectangle", x = 2315.46, y = 4240.14, width = 127.731, height = 91.0583, rotation = -29.8959, gid = 302, visible = true, properties = {} }, { id = 391, name = "", type = "", shape = "rectangle", x = 843, y = 5301, width = 319, height = 148, rotation = 0, gid = 7, visible = true, properties = {} }, { id = 392, name = "", type = "", shape = "rectangle", x = 2014, y = 5720, width = 337, height = 155, rotation = 0, gid = 3, visible = true, properties = {} }, { id = 393, name = "", type = "", shape = "rectangle", x = 668, y = 6121, width = 337, height = 155, rotation = 0, gid = 3, visible = true, properties = {} }, { id = 394, name = "", type = "", shape = "rectangle", x = 1686, y = 6419, width = 337, height = 165, rotation = 0, gid = 4, visible = true, properties = {} }, { id = 395, name = "", type = "", shape = "rectangle", x = 1180, y = 7029, width = 337, height = 165, rotation = 0, gid = 4, visible = true, properties = {} }, { id = 396, name = "", type = "", shape = "rectangle", x = 1662, y = 7320, width = 337, height = 165, rotation = 0, gid = 4, visible = true, properties = {} }, { id = 397, name = "", type = "", shape = "rectangle", x = 1002, y = 7629, width = 319, height = 148, rotation = 0, gid = 7, visible = true, properties = {} }, { id = 398, name = "", type = "", shape = "rectangle", x = 2071.02, y = 6474.46, width = 242.995, height = 98.017, rotation = -33.9157, gid = 300, visible = true, properties = {} }, { id = 399, name = "", type = "", shape = "rectangle", x = 881.422, y = 6460.94, width = 101, height = 68, rotation = 8.73636, gid = 302, visible = true, properties = {} }, { id = 400, name = "", type = "", shape = "rectangle", x = 1380.19, y = 6962.25, width = 110.055, height = 122.74, rotation = 4.1309, gid = 308, visible = true, properties = {} }, { id = 401, name = "", type = "", shape = "rectangle", x = 767, y = 6344, width = 158, height = 232, rotation = 0, gid = 307, visible = true, properties = {} }, { id = 402, name = "", type = "", shape = "rectangle", x = 1735.89, y = 7902.55, width = 101.821, height = 98.388, rotation = -11.5444, gid = 311, visible = true, properties = {} }, { id = 404, name = "", type = "", shape = "rectangle", x = 2251.5, y = 3566.5, width = 337, height = 155, rotation = 0, gid = 3, visible = true, properties = {} }, { id = 456, name = "", type = "", shape = "rectangle", x = 355.652, y = 7338.12, width = 319, height = 148, rotation = 0, gid = 7, visible = true, properties = {} }, { id = 457, name = "", type = "", shape = "rectangle", x = 2328.38, y = 7907.82, width = 319, height = 148, rotation = 0, gid = 7, visible = true, properties = {} }, { id = 458, name = "", type = "", shape = "rectangle", x = 489.076, y = 8111.44, width = 337, height = 165, rotation = 0, gid = 4, visible = true, properties = {} } } }, { type = "objectgroup", id = 4, name = "objects", visible = true, opacity = 1, offsetx = 0, offsety = 0, draworder = "topdown", properties = {}, objects = { { id = 4, name = "sam", type = "", shape = "point", x = 240.333, y = 98.031, width = 0, height = 0, rotation = 0, visible = true, properties = {} }, { id = 27, name = "rectangle", type = "", shape = "rectangle", x = 455.425, y = 1142.56, width = 519.105, height = 432.004, rotation = 292.95, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 52, name = "rectangle", type = "", shape = "rectangle", x = -54.2934, y = 1170.9, width = 537.198, height = 644.183, rotation = -87.7473, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 53, name = "cameraFocus", type = "", shape = "point", x = 410.788, y = 500.637, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 425 } }, { id = 54, name = "rectangle", type = "", shape = "rectangle", x = -920.94, y = -753.574, width = 834.3, height = 2050.64, rotation = -365.908, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 55, name = "skateboard", type = "", shape = "point", x = 240.121, y = 186.909, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 400, ["cameraFocus"] = true, ["texturePathBoard"] = "assets/art/gameobject-textures/skateboard-deck.png", ["texturePathWheel"] = "assets/art/gameobject-textures/skateboard-wheel.png" } }, { id = 56, name = "rectangle", type = "", shape = "rectangle", x = 802.57, y = 1328.65, width = 554.891, height = 407.2, rotation = 293.652, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 59, name = "rectangle", type = "", shape = "rectangle", x = 3660.15, y = 1854.75, width = 1386.58, height = 1109.99, rotation = 542.492, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 60, name = "ball", type = "", shape = "ellipse", x = 398.541, y = 657.812, width = 417.333, height = 401.333, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base-circle.png" } }, { id = 61, name = "ball", type = "", shape = "ellipse", x = 1918.67, y = 1264.66, width = 50, height = 50, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base-circle.png" } }, { id = 62, name = "rectangle", type = "", shape = "rectangle", x = 1124.4, y = 1493.25, width = 577.993, height = 410.895, rotation = 298.399, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 63, name = "rectangle", type = "", shape = "rectangle", x = 994.289, y = 2360.16, width = 1405.38, height = 312.84, rotation = 303.07, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 78, name = "rectangle", type = "", shape = "rectangle", x = 3070.02, y = 2500.27, width = 970.519, height = 904.397, rotation = 221.239, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 84, name = "rectangle", type = "", shape = "rectangle", x = 3371.59, y = 2123.04, width = 880.567, height = 698.64, rotation = 467.717, visible = true, properties = { ["cameraDistance"] = 300, ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 85, name = "rectangle", type = "", shape = "rectangle", x = 1701.95, y = 4060.78, width = 1774.23, height = 327.546, rotation = 268.464, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 86, name = "rectangle", type = "", shape = "rectangle", x = 3160.98, y = 2767.79, width = 1648.17, height = 719.54, rotation = 451.289, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 87, name = "rectangle", type = "", shape = "rectangle", x = 3288.82, y = 4682.31, width = 1215.5, height = 946.464, rotation = 502.138, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 91, name = "ball", type = "", shape = "ellipse", x = 2238.49, y = 1761.09, width = 197.333, height = 184, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base-circle.png" } }, { id = 93, name = "ball", type = "", shape = "ellipse", x = 1742.31, y = 2097.43, width = 378.667, height = 352, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base-circle.png" } }, { id = 113, name = "rectangle", type = "", shape = "rectangle", x = -139.162, y = 4915.52, width = 2324.56, height = 203.735, rotation = 333.306, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 164, name = "rectangle", type = "", shape = "rectangle", x = -180.444, y = 5726.2, width = 1873.51, height = 527.53, rotation = 32.8677, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 165, name = "rectangle", type = "", shape = "rectangle", x = 1639.97, y = 6767.65, width = 1873.51, height = 518.911, rotation = 325.735, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 168, name = "rectangle", type = "", shape = "rectangle", x = 1204.12, y = 7124.55, width = 371.995, height = 201.646, rotation = 268.052, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 169, name = "rectangle", type = "", shape = "rectangle", x = 1631.11, y = 7122.89, width = 354.711, height = 201.646, rotation = 271.53, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 223, name = "ball", type = "", shape = "ellipse", x = 1301.45, y = 7809.84, width = 415.758, height = 409.697, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/gameobject-textures/housecircletextures_002.png" } }, { id = 224, name = "cameraFocus", type = "", shape = "point", x = 1506.51, y = 7646.82, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 1000 } }, { id = 225, name = "rectangle", type = "", shape = "rectangle", x = 1253.02, y = 7907.32, width = 503.96, height = 201.646, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 226, name = "rectangle", type = "", shape = "rectangle", x = 1711.32, y = 7826.47, width = 41.96, height = 78.9793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_004.png" } }, { id = 227, name = "rectangle", type = "", shape = "rectangle", x = 1709.32, y = 7739.64, width = 41.96, height = 86.4793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_006.png" } }, { id = 228, name = "rectangle", type = "", shape = "rectangle", x = 1256.32, y = 7827.81, width = 41.96, height = 78.9793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_003.png" } }, { id = 229, name = "rectangle", type = "", shape = "rectangle", x = 1258.32, y = 7737.48, width = 41.96, height = 88.4793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_005.png" } }, { id = 230, name = "rectangle", type = "", shape = "rectangle", x = 1258.33, y = 7701.18, width = 224.739, height = 33.646, rotation = 1.57887, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_002.png" } }, { id = 231, name = "rectangle", type = "", shape = "rectangle", x = 1531.33, y = 7706.8, width = 234.548, height = 33.646, rotation = -0.80849, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_004.png" } }, { id = 232, name = "rectangle", type = "", shape = "rectangle", x = 1264.73, y = 7621.68, width = 41.96, height = 78.9793, rotation = 1.77751, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_002.png" } }, { id = 233, name = "rectangle", type = "", shape = "rectangle", x = 1270, y = 7540.63, width = 41.96, height = 78.9793, rotation = 2.41106, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_002.png" } }, { id = 234, name = "rectangle", type = "", shape = "rectangle", x = 1709.49, y = 7624.81, width = 41.96, height = 78.9793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_002.png" } }, { id = 235, name = "rectangle", type = "", shape = "rectangle", x = 1706.49, y = 7544.48, width = 41.96, height = 78.9793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_002.png" } }, { id = 236, name = "rectangle", type = "", shape = "rectangle", x = 1608.99, y = 7624.81, width = 41.96, height = 78.9793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_006.png" } }, { id = 237, name = "rectangle", type = "", shape = "rectangle", x = 1606.99, y = 7540.48, width = 41.96, height = 82.9793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_001.png" } }, { id = 238, name = "rectangle", type = "", shape = "rectangle", x = 1364, y = 7624.29, width = 41.96, height = 78.9793, rotation = 1.45315, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_001.png" } }, { id = 239, name = "rectangle", type = "", shape = "rectangle", x = 1364.49, y = 7538.48, width = 41.96, height = 84.9793, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_004.png" } }, { id = 240, name = "rectangle", type = "", shape = "rectangle", x = 1272.78, y = 7506.59, width = 105.459, height = 33.646, rotation = -1.98811, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_002.png" } }, { id = 241, name = "rectangle", type = "", shape = "rectangle", x = 1401.27, y = 7503.02, width = 208.427, height = 33.646, rotation = 0.59665, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_002.png" } }, { id = 242, name = "rectangle", type = "", shape = "rectangle", x = 1629.22, y = 7506.38, width = 105.459, height = 33.646, rotation = 1.50587, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_001.png" } }, { id = 243, name = "rectangle", type = "", shape = "rectangle", x = 1365.98, y = 7485.05, width = 169.227, height = 33.646, rotation = -39.8523, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_002.png" } }, { id = 244, name = "rectangle", type = "", shape = "rectangle", x = 1541.14, y = 7376.72, width = 153.504, height = 33.646, rotation = -313.887, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housetextures_004.png" } }, { id = 245, name = "ball", type = "", shape = "ellipse", x = 1504.64, y = 7368.46, width = 25, height = 25, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housecircletextures_001.png" } }, { id = 246, name = "ball", type = "", shape = "ellipse", x = 1468.08, y = 7731.16, width = 80, height = 80, rotation = 0, visible = true, properties = { ["static"] = false, ["texturePath"] = "assets/art/gameobject-textures/housecircletextures_004.png" } }, { id = 252, name = "changeLevel", type = "", shape = "point", x = 974.909, y = 9420.36, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 1000, ["newLevelPath"] = "maps/swinging.lua" } }, { id = 254, name = "changeLevel", type = "", shape = "point", x = 2056.73, y = 9417.33, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 1000, ["newLevelPath"] = "maps/swinging.lua" } }, { id = 255, name = "changeLevel", type = "", shape = "point", x = 2726.42, y = 9408.24, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 1000, ["newLevelPath"] = "maps/swinging.lua" } }, { id = 256, name = "changeLevel", type = "", shape = "point", x = 329.455, y = 9362.79, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 1000, ["newLevelPath"] = "maps/swinging.lua" } }, { id = 257, name = "changeLevel", type = "", shape = "point", x = 3576, y = 8648, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 1000, ["newLevelPath"] = "maps/swinging.lua" } }, { id = 258, name = "changeLevel", type = "", shape = "point", x = -284, y = 8532, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 1000, ["newLevelPath"] = "maps/swinging.lua" } }, { id = 268, name = "rectangle", type = "", shape = "rectangle", x = 1813.02, y = 2323.63, width = 675.286, height = 311.739, rotation = 238.32, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base.png" } }, { id = 415, name = "cameraFocus", type = "", shape = "point", x = 2180.12, y = 4172.79, width = 0, height = 0, rotation = 0, visible = true, properties = { ["cameraDistance"] = 600 } }, { id = 419, name = "ball", type = "", shape = "ellipse", x = 2050.67, y = 2263, width = 135.333, height = 136.667, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base-circle.png" } }, { id = 459, name = "ball", type = "", shape = "ellipse", x = 2395, y = 2609, width = 135.333, height = 136.667, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base-circle.png" } }, { id = 460, name = "ball", type = "", shape = "ellipse", x = 1973.67, y = 3582.33, width = 135.333, height = 136.667, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base-circle.png" } }, { id = 468, name = "ball", type = "", shape = "ellipse", x = 2207.33, y = 4248.33, width = 109, height = 109, rotation = 0, visible = true, properties = { ["static"] = true, ["texturePath"] = "assets/art/environment-textures/ground-base-circle.png" } } } }, { type = "objectgroup", id = 5, name = "foreground objects", visible = true, opacity = 1, offsetx = 0, offsety = 0, draworder = "topdown", properties = {}, objects = { { id = 271, name = "", type = "", shape = "rectangle", x = 2355.63, y = 687.419, width = 302, height = 116, rotation = 2.4775, gid = 300, visible = true, properties = {} }, { id = 272, name = "", type = "", shape = "rectangle", x = 1038.18, y = 887.742, width = 229.958, height = 502.96, rotation = 2.34008, gid = 301, visible = true, properties = {} }, { id = 274, name = "", type = "", shape = "rectangle", x = 2432.99, y = 2770.4, width = 187.081, height = 136.394, rotation = -55.1375, gid = 302, visible = true, properties = {} }, { id = 283, name = "", type = "", shape = "rectangle", x = 1154.33, y = 919, width = 102, height = 95, rotation = 0, gid = 303, visible = true, properties = {} }, { id = 284, name = "", type = "", shape = "rectangle", x = 807.64, y = 758.067, width = 123.931, height = 119, rotation = 18.1522, gid = 6, visible = true, properties = {} }, { id = 285, name = "", type = "", shape = "rectangle", x = 774.667, y = 767.667, width = 104.667, height = 101.667, rotation = 0, gid = 303, visible = true, properties = {} }, { id = 287, name = "", type = "", shape = "rectangle", x = 550.333, y = 669.667, width = 102, height = 95, rotation = 0, gid = 303, visible = true, properties = {} }, { id = 288, name = "", type = "", shape = "rectangle", x = 35.8896, y = 633.221, width = 68, height = 112.333, rotation = 22.3105, gid = 304, visible = true, properties = {} }, { id = 289, name = "", type = "", shape = "rectangle", x = 350.667, y = 658.667, width = 116.333, height = 139.333, rotation = 0, gid = 305, visible = true, properties = {} }, { id = 291, name = "", type = "", shape = "rectangle", x = 1829.89, y = 1565.69, width = 112.074, height = 108.877, rotation = -268.821, gid = 306, visible = true, properties = {} }, { id = 293, name = "", type = "", shape = "rectangle", x = 2700.5, y = 2075.11, width = 183, height = 97, rotation = -182.462, gid = 306, visible = true, properties = {} }, { id = 295, name = "", type = "", shape = "rectangle", x = 2302.33, y = 701.333, width = 183, height = 97, rotation = 0, gid = 306, visible = true, properties = {} }, { id = 300, name = "", type = "", shape = "rectangle", x = 1554.33, y = 1119.67, width = 127, height = 163, rotation = 0, gid = 5, visible = true, properties = {} }, { id = 305, name = "", type = "", shape = "rectangle", x = 1728.67, y = 1183.67, width = 213.333, height = 331.333, rotation = 0, gid = 307, visible = true, properties = {} }, { id = 306, name = "", type = "", shape = "rectangle", x = 28, y = 416, width = 170.333, height = 205, rotation = 0, gid = 308, visible = true, properties = {} }, { id = 307, name = "", type = "", shape = "rectangle", x = 1839.31, y = 1841.75, width = 186, height = 200.667, rotation = 0, gid = 309, visible = true, properties = {} }, { id = 309, name = "", type = "", shape = "rectangle", x = 1977.33, y = 2962.67, width = 212.333, height = 247, rotation = 0, gid = 311, visible = true, properties = {} }, { id = 310, name = "", type = "", shape = "rectangle", x = 336.746, y = 4878.96, width = 160.747, height = 168.581, rotation = -192.2, gid = 311, visible = true, properties = {} }, { id = 311, name = "", type = "", shape = "rectangle", x = 2049.01, y = 4041.56, width = 81, height = 119, rotation = -179.673, gid = 6, visible = true, properties = {} }, { id = 313, name = "", type = "", shape = "rectangle", x = 1469.65, y = 4335.66, width = 72, height = 115, rotation = -184.554, gid = 304, visible = true, properties = {} }, { id = 314, name = "", type = "", shape = "rectangle", x = 1232.73, y = 4463.71, width = 155.3, height = 200.68, rotation = 179.665, gid = 305, visible = true, properties = {} }, { id = 315, name = "", type = "", shape = "rectangle", x = 990.62, y = 4575.01, width = 139.961, height = 112.895, rotation = 172.449, gid = 306, visible = true, properties = {} }, { id = 316, name = "", type = "", shape = "rectangle", x = 497.655, y = 4843.99, width = 100.993, height = 116.004, rotation = -180.008, gid = 5, visible = true, properties = {} }, { id = 317, name = "", type = "", shape = "rectangle", x = 550.74, y = 4793.18, width = 81, height = 119, rotation = -182.15, gid = 6, visible = true, properties = {} }, { id = 318, name = "", type = "", shape = "rectangle", x = 1699.67, y = 4686, width = 127, height = 163, rotation = 0, gid = 5, visible = true, properties = {} }, { id = 319, name = "", type = "", shape = "rectangle", x = 2393.81, y = 4239.51, width = 183, height = 97, rotation = -58.3698, gid = 306, visible = true, properties = {} }, { id = 321, name = "", type = "", shape = "rectangle", x = 2017.38, y = 2114.99, width = 134.647, height = 145.931, rotation = 50.484, gid = 305, visible = true, properties = {} }, { id = 322, name = "", type = "", shape = "rectangle", x = 2421.68, y = 2629.26, width = 101.033, height = 132.545, rotation = -17.5746, gid = 5, visible = true, properties = {} }, { id = 323, name = "", type = "", shape = "rectangle", x = 1985.71, y = 3501.57, width = 81, height = 133.164, rotation = -291.252, gid = 6, visible = true, properties = {} }, { id = 325, name = "", type = "", shape = "rectangle", x = 2428.84, y = 3308.38, width = 82.4069, height = 106.948, rotation = -65.1169, gid = 298, visible = true, properties = {} }, { id = 326, name = "", type = "", shape = "rectangle", x = 2408.09, y = 3547.35, width = 102, height = 95, rotation = -58.9748, gid = 303, visible = true, properties = {} }, { id = 327, name = "", type = "", shape = "rectangle", x = 1979.35, y = 3785.45, width = 102, height = 95, rotation = -302.03, gid = 303, visible = true, properties = {} }, { id = 328, name = "", type = "", shape = "rectangle", x = 1981.49, y = 3507.44, width = 72, height = 115, rotation = 9.7083, gid = 304, visible = true, properties = {} }, { id = 329, name = "", type = "", shape = "rectangle", x = 2365.33, y = 3929.67, width = 72, height = 115, rotation = 0, gid = 304, visible = true, properties = {} }, { id = 330, name = "", type = "", shape = "rectangle", x = 2404.21, y = 3959.22, width = 72, height = 115, rotation = -65.3138, gid = 304, visible = true, properties = {} }, { id = 347, name = "", type = "", shape = "rectangle", x = 1496.83, y = 1105.5, width = 69, height = 119, rotation = 0, gid = 298, visible = true, properties = {} }, { id = 365, name = "", type = "", shape = "rectangle", x = 49.3463, y = 1000.33, width = 512, height = 339, rotation = 7.01098, gid = 312, visible = true, properties = {} }, { id = 368, name = "", type = "", shape = "rectangle", x = 520.292, y = 974.372, width = 419, height = 299, rotation = 28.9622, gid = 314, visible = true, properties = {} }, { id = 371, name = "", type = "", shape = "rectangle", x = 2008.44, y = 3525.5, width = 302, height = 116, rotation = -270.045, gid = 300, visible = true, properties = {} }, { id = 372, name = "", type = "", shape = "rectangle", x = 936.664, y = 1186.19, width = 512, height = 339, rotation = 26.0947, gid = 312, visible = true, properties = {} }, { id = 373, name = "", type = "", shape = "rectangle", x = 1310.41, y = 1604.67, width = 558, height = 367, rotation = 0, gid = 313, visible = true, properties = {} }, { id = 375, name = "", type = "", shape = "rectangle", x = 1237, y = 7912, width = 48, height = 83, rotation = 0, gid = 298, visible = true, properties = {} }, { id = 376, name = "", type = "", shape = "rectangle", x = 1728, y = 7914, width = 54, height = 57, rotation = 0, gid = 303, visible = true, properties = {} }, { id = 377, name = "", type = "", shape = "rectangle", x = 1575, y = 7908, width = 41, height = 50, rotation = 0, gid = 304, visible = true, properties = {} }, { id = 378, name = "", type = "", shape = "rectangle", x = 1304, y = 7912, width = 55, height = 62, rotation = 0, gid = 5, visible = true, properties = {} }, { id = 379, name = "", type = "", shape = "rectangle", x = 2005, y = 6491, width = 97, height = 98, rotation = 0, gid = 5, visible = true, properties = {} }, { id = 380, name = "", type = "", shape = "rectangle", x = 1815.78, y = 6655.7, width = 85, height = 123, rotation = -6.96903, gid = 6, visible = true, properties = {} }, { id = 381, name = "", type = "", shape = "rectangle", x = 2405, y = 6235, width = 69, height = 119, rotation = 0, gid = 298, visible = true, properties = {} }, { id = 382, name = "", type = "", shape = "rectangle", x = 2479, y = 6192, width = 102, height = 95, rotation = 0, gid = 303, visible = true, properties = {} }, { id = 383, name = "", type = "", shape = "rectangle", x = 2765, y = 5967, width = 127, height = 163, rotation = 0, gid = 5, visible = true, properties = {} }, { id = 384, name = "", type = "", shape = "rectangle", x = 1331, y = 6746, width = 106, height = 133, rotation = 0, gid = 5, visible = true, properties = {} }, { id = 385, name = "", type = "", shape = "rectangle", x = 940, y = 6498, width = 81, height = 119, rotation = 0, gid = 6, visible = true, properties = {} }, { id = 386, name = "", type = "", shape = "rectangle", x = 726, y = 6360, width = 81, height = 119, rotation = 0, gid = 6, visible = true, properties = {} }, { id = 387, name = "", type = "", shape = "rectangle", x = 697, y = 6331, width = 56, height = 93, rotation = 0, gid = 298, visible = true, properties = {} }, { id = 388, name = "", type = "", shape = "rectangle", x = 399, y = 6142, width = 102, height = 95, rotation = 0, gid = 303, visible = true, properties = {} }, { id = 389, name = "", type = "", shape = "rectangle", x = 328.486, y = 6084.64, width = 72, height = 115, rotation = 3.57348, gid = 304, visible = true, properties = {} }, { id = 390, name = "", type = "", shape = "rectangle", x = 1286.5, y = 6705.5, width = 48, height = 70, rotation = 0, gid = 6, visible = true, properties = {} }, { id = 405, name = "", type = "", shape = "rectangle", x = 2803.61, y = 3292.02, width = 512, height = 339, rotation = -87.609, gid = 312, visible = true, properties = {} }, { id = 406, name = "", type = "", shape = "rectangle", x = 2720.78, y = 2779.7, width = 419, height = 299, rotation = -64.4075, gid = 314, visible = true, properties = {} }, { id = 407, name = "", type = "", shape = "rectangle", x = 3002.85, y = 2332.43, width = 512, height = 339, rotation = -82.279, gid = 312, visible = true, properties = {} }, { id = 408, name = "", type = "", shape = "rectangle", x = 2458.5, y = 3657.47, width = 558, height = 367, rotation = 0, gid = 313, visible = true, properties = {} }, { id = 410, name = "", type = "", shape = "rectangle", x = 686.37, y = 6736.62, width = 558, height = 367, rotation = -320.987, gid = 313, visible = true, properties = {} }, { id = 411, name = "", type = "", shape = "rectangle", x = 2849.8, y = 6414.54, width = 544.281, height = 353.673, rotation = -36.7584, gid = 312, visible = true, properties = {} }, { id = 412, name = "", type = "", shape = "rectangle", x = -343.285, y = 6162.5, width = 531.298, height = 418.083, rotation = 34.3826, gid = 313, visible = true, properties = {} }, { id = 423, name = "", type = "", shape = "rectangle", x = 1899.12, y = 1270.1, width = 89.1237, height = 66.1748, rotation = 34.1575, gid = 299, visible = true, properties = {} }, { id = 424, name = "", type = "", shape = "rectangle", x = 2664.01, y = 1917.85, width = 558, height = 367, rotation = -84.9077, gid = 313, visible = true, properties = {} }, { id = 425, name = "", type = "", shape = "rectangle", x = 1426.28, y = 1866.11, width = 558, height = 367, rotation = -302.841, gid = 313, visible = true, properties = {} }, { id = 426, name = "", type = "", shape = "rectangle", x = 1619.2, y = 2438.42, width = 558, height = 367, rotation = -270.543, gid = 313, visible = true, properties = {} }, { id = 427, name = "", type = "", shape = "rectangle", x = 1656.85, y = 2970.26, width = 558, height = 367, rotation = -267.498, gid = 313, visible = true, properties = {} }, { id = 428, name = "", type = "", shape = "rectangle", x = 2048.7, y = 4074.17, width = 558, height = 367, rotation = -94.4725, gid = 313, visible = true, properties = {} }, { id = 429, name = "", type = "", shape = "rectangle", x = 1330.27, y = 4418.71, width = 558, height = 367, rotation = -28.7393, gid = 313, visible = true, properties = {} }, { id = 430, name = "", type = "", shape = "rectangle", x = 1889.68, y = 7073.44, width = 558, height = 367, rotation = -36.3256, gid = 313, visible = true, properties = {} }, { id = 431, name = "", type = "", shape = "rectangle", x = 2383.45, y = 6757, width = 558, height = 367, rotation = -36.139, gid = 313, visible = true, properties = {} }, { id = 432, name = "", type = "", shape = "rectangle", x = 176.368, y = 6432.6, width = 558, height = 367, rotation = -326.505, gid = 313, visible = true, properties = {} }, { id = 433, name = "", type = "", shape = "rectangle", x = -320.769, y = 540.477, width = 512, height = 339, rotation = -276.537, gid = 312, visible = true, properties = {} }, { id = 434, name = "", type = "", shape = "rectangle", x = -425.333, y = 62.5, width = 512, height = 339, rotation = -276.537, gid = 312, visible = true, properties = {} }, { id = 435, name = "", type = "", shape = "rectangle", x = -450.667, y = -450.833, width = 512, height = 339, rotation = -276.537, gid = 312, visible = true, properties = {} }, { id = 439, name = "", type = "", shape = "rectangle", x = 2732.39, y = 1291.7, width = 558, height = 367, rotation = -87.9506, gid = 313, visible = true, properties = {} }, { id = 442, name = "", type = "", shape = "rectangle", x = 2835, y = 4250.5, width = 558, height = 367, rotation = -84.9077, gid = 313, visible = true, properties = {} }, { id = 443, name = "", type = "", shape = "rectangle", x = 2423.3, y = 4307.84, width = 558, height = 367, rotation = -293.398, gid = 313, visible = true, properties = {} }, { id = 444, name = "", type = "", shape = "rectangle", x = 1338.85, y = 8169.09, width = 337.27, height = 240.175, rotation = -0.379495, gid = 313, visible = true, properties = {} }, { id = 445, name = "", type = "", shape = "rectangle", x = 1909.04, y = 1298.9, width = 102, height = 95, rotation = 31.4589, gid = 303, visible = true, properties = {} }, { id = 446, name = "", type = "", shape = "rectangle", x = 2383, y = 4290.5, width = 558, height = 367, rotation = -210.079, gid = 313, visible = true, properties = {} }, { id = 455, name = "", type = "", shape = "rectangle", x = 1710, y = 1194, width = 69, height = 119, rotation = 0, gid = 298, visible = true, properties = {} }, { id = 461, name = "", type = "", shape = "rectangle", x = 2107.15, y = 2232.65, width = 208.996, height = 140.459, rotation = -247.628, gid = 300, visible = true, properties = {} }, { id = 462, name = "", type = "", shape = "rectangle", x = 2475.43, y = 1967.15, width = 279.214, height = 156.005, rotation = -139.119, gid = 315, visible = true, properties = {} }, { id = 469, name = "", type = "", shape = "rectangle", x = 2202.54, y = 4343.92, width = 155.419, height = 84.6199, rotation = -37.6931, gid = 302, visible = true, properties = {} } } }, { type = "objectgroup", id = 6, name = "foreground detail", visible = true, opacity = 1, offsetx = 0, offsety = 0, draworder = "topdown", properties = {}, objects = { { id = 463, name = "", type = "", shape = "rectangle", x = 2450.17, y = 2791.17, width = 81, height = 119, rotation = -79.9744, gid = 6, visible = true, properties = {} }, { id = 464, name = "", type = "", shape = "rectangle", x = 2268.04, y = 1847.02, width = 117.256, height = 105.96, rotation = -68.6183, gid = 306, visible = true, properties = {} }, { id = 465, name = "", type = "", shape = "rectangle", x = 2493.48, y = 1933.17, width = 81, height = 119, rotation = 184.988, gid = 6, visible = true, properties = {} }, { id = 467, name = "", type = "", shape = "rectangle", x = 2059.95, y = 2390.57, width = 144.504, height = 101.993, rotation = 147.115, gid = 5, visible = true, properties = {} }, { id = 470, name = "", type = "", shape = "rectangle", x = 2292.39, y = 4269.99, width = 103.568, height = 107.386, rotation = -29.7115, gid = 303, visible = true, properties = {} }, { id = 471, name = "", type = "", shape = "rectangle", x = 2190.12, y = 4379.14, width = 81, height = 119, rotation = -411.59, gid = 6, visible = true, properties = {} } } }, { type = "objectgroup", id = 7, name = "hangybags", visible = true, opacity = 1, offsetx = 0, offsety = 0, draworder = "topdown", properties = {}, objects = { { id = 349, name = "hangingBag", type = "", shape = "point", x = 1628, y = 4383, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 350, name = "hangingBag", type = "", shape = "point", x = 908, y = 4855, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 351, name = "hangingBag", type = "", shape = "point", x = 1552, y = 4819, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 352, name = "hangingBag", type = "", shape = "point", x = 594, y = 5192, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 353, name = "hangingBag", type = "", shape = "point", x = 1247, y = 5067, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 354, name = "hangingBag", type = "", shape = "point", x = 1718, y = 5411, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 355, name = "hangingBag", type = "", shape = "point", x = 993, y = 5418, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 356, name = "hangingBag", type = "", shape = "point", x = 435, y = 5538, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 357, name = "hangingBag", type = "", shape = "point", x = 1016, y = 5789, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 358, name = "hangingBag", type = "", shape = "point", x = 1358, y = 6064, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 359, name = "hangingBag", type = "", shape = "point", x = 2184, y = 5648, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 360, name = "hangingBag", type = "", shape = "point", x = 1912, y = 5038, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 361, name = "hangingBag", type = "", shape = "point", x = 1872, y = 5861, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } }, { id = 363, name = "hangingBag", type = "", shape = "point", x = 2422, y = 2121, width = 0, height = 0, rotation = 0, visible = true, properties = { ["bagHeight"] = 150, ["bagWidth"] = 80, ["pivotingJoint"] = true, ["ropeLength"] = 150, ["texturPpathAnchor"] = "assets/art/gameobject-textures/sandbag_anchortexture.png", ["texturePathBag"] = "assets/art/gameobject-textures/sandbag_bagtexture.png", ["texturePathRope"] = "assets/art/gameobject-textures/sandbag_ropetexture.png" } } } } } }
---@class CS.UnityEngine.HumanBone : CS.System.ValueType ---@field public limit CS.UnityEngine.HumanLimit ---@field public boneName string ---@field public humanName string ---@type CS.UnityEngine.HumanBone CS.UnityEngine.HumanBone = { } return CS.UnityEngine.HumanBone
html = {} function html:input(type, value) return string.format('<input type="%s" value="%s"/>', type, value) end
local rng = require'rng' -- global facility function function random(len) return RNG.new():octet(len) end return rng
--[[ Copyright 2012 The lev 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 exports = {} exports['lev.fs:\tfs_utime'] = function(test) local fs = lev.fs local path = '_test_tmp1.txt' fs.unlink(path) local err, fd = fs.open(path, 'w', '0666') local atime, mtime = 1234, 5678 err = fs.futime(fd, atime, mtime) test.is_nil(err) local stat err, stat = fs.fstat(fd) test.equal(stat.atime, atime) -- Disable this test because it fails on Travis. --test.equal(stat:mtime(), mtime) fs.close(fd) atime, mtime = 4321, 8765 err = fs.utime(path, atime, mtime) test.is_nil(err) err, stat = fs.stat(path) test.equal(stat.atime, atime) test.equal(stat.mtime, mtime) fs.unlink(path) test.done() end return exports
---------------------------------------------------------------------- -- -- This script performs training and testing for evaluation on -- covnet model on a -- classification problem. -- -- -- Ritambhara Singh ---------------------------------------------------------------------- require 'torch' --------------------------------------------------------------------- print '==> processing options' local set = function() cmd = torch.CmdLine() cmd:text() cmd:text('DeepChrome Pipeline options') cmd:text() cmd:text('Options:') -- global: cmd:option('-epoch', 1, 'epoch number of best model') --data: cmd:option('-dataDir', "data/", 'The data home location') cmd:option('-dataset', "toy/", 'Dataset name, corresponds to the folder name in dataDir') cmd:option('-resultsDir', "results/", 'The data home location') cmd:option('-name', "", 'Optionally, give a name for this model') cmd:option('-tssize', "9", 'Test set size (number of genes)') opt = cmd:parse(arg or {}) end set() ---------------------------------------------------------------------- print '==> executing all' dofile '1_data.lua' --perform testing: dofile '6_eval.lua' --perform visualization dofile '7_viz.lua' ---------------------------------------------------------------------- print '==> evaluation!' test() print '==> visualization!' viz_model()
-- first strip out UTF8 BOM from files with powershell local lfs = require "lfs" local FRAMEXML = "../#FrameXML/Generate-Globals/wow-ui-source/" -- too lazy to parse FrameXML_TBC.toc or whatever the new file loading structure is local flavors = { mainline = {FRAMEXML.."Interface"}, tbc = { FRAMEXML.."Interface", FRAMEXML.."Interface_TBC", }, vanilla = { FRAMEXML.."Interface", FRAMEXML.."Interface_Vanilla", }, } local OUT_PATH = "../BlizzardInterfaceResources/Resources" local skipDir = { ["."] = true, [".."] = true, ["GlueXML"] = true, } local dataTypes = { mixin = { label = "Mixins", data = {}, tostring = function(name) return string.format('\t"%s",', name) end, }, template = { label = "Templates", data = {}, tostring = function(tbl) local s = string.format('\t["%s"] = {type = "%s"', tbl.name, tbl.object) if tbl.mixin then s = s..string.format(', mixin = "%s"', tbl.mixin) end if tbl.inherits then s = s..string.format(', inherits = "%s"', tbl.inherits) end if tbl.intrinsic then s = s..string.format(', intrinsic = true', tbl.inherits) end s = s.."}," return s end, }, } local mixinFunc = { CreateFromMixins = "CreateFromMixins%((.-)%)", CreateAndInitFromMixin = "CreateAndInitFromMixin%((.-)[,%)]", -- 9 mixins } local filterMixinArgs = { [""] = true, -- no args ["..."] = true, -- definition ["baseModule or DEFAULT_OBJECTIVE_TRACKER_MODULE"] = true, ["dataProvider"] = true, ["mixin"] = true, ["nodeMixin"] = true, ["self"] = true, ["subSystemMixin"] = true, } local filterTemplates = { -- AddOns\Blizzard_GuildControlUI\Blizzard_GuildControlUI.xml GuildBankTabPermissionsTabTemplate = true, -- commented out } local function SortTable(tbl) local t = {} for k in pairs(tbl) do table.insert(t, k) end table.sort(t, function(a, b) return a:lower() < b:lower() end) return t end local m = {} function m:IterateFiles(folder) for fileName in lfs.dir(folder) do local path = folder.."/"..fileName local attr = lfs.attributes(path) if attr.mode == "directory" then if not skipDir[fileName] then self:IterateFiles(path) end else if fileName:find("%.xml") then self:ParseXml(path, fileName) elseif fileName:find("%.lua") then self:ParseLua(path) end end end end function m:ParseXml(path, fileName) -- could use xml2lua for less dumb parsing local file = io.open(path, "r") local lookbackLines, lineIdx = {}, 0 for line in file:lines() do lineIdx = lineIdx + 1 local mixin = self:FindAttribute(line, "mixin") if mixin then self:HandleCommaString(dataTypes.mixin.data, mixin) end local virtual = self:FindAttribute(line, "virtual") local intrinsic = self:FindAttribute(line, "intrinsic") if virtual == "true" or intrinsic then -- attribute value for IMECandidatesFrame is "false" local objectType = line:match('<(.-) ') local name = line:match(' name%s?="(.-)"') if not name and fileName == "SecureHandlerTemplates.xml" then -- not everything is on 1 line e.g. SecureHandlerDragTemplate line = lookbackLines[lineIdx-2]..lookbackLines[lineIdx-1]..line objectType, name = line:match('<(.-) name%s?="(.-)"') end if name and not filterTemplates[name] and not name:find("%$") then dataTypes.template.data[name] = { name = name, object = objectType, inherits = self:FindAttribute(line, "inherits"), mixin = mixin, intrinsic = intrinsic, } end end lookbackLines[lineIdx] = line end file:close() end function m:ParseLua(path) local file = io.open(path, "r") for line in file:lines() do for _, pattern in pairs(mixinFunc) do local attrValue = line:match(pattern) if attrValue and not filterMixinArgs[attrValue] then self:HandleCommaString(dataTypes.mixin.data, attrValue) end end end file:close() end function m:FindAttribute(line, name) local pattern = name..'%s?="(.-)"' return line:match(pattern) end function m:HandleCommaString(tbl, str) if str:find(",") then for part in str:gmatch("[^%s,]+") do tbl[part] = part end else tbl[str] = str end end function m:WriteDataFile(info) local fullPath = OUT_PATH.."/"..info.label..".lua" print("writing", fullPath) local file = io.open(fullPath, "w") file:write(string.format("local %s = {\n", info.label)) for _, key in pairs(SortTable(info.data)) do local value = info.data[key] local text = info.tostring(value) file:write(text.."\n") end file:write(string.format("}\n\nreturn %s\n", info.label)) file:close() end function m:main(flavor) for _, folder in pairs(flavors[flavor]) do m:IterateFiles(folder) end for _, info in pairs(dataTypes) do m:WriteDataFile(info) end end return m
local function onEvent(self, event, rollID, ...) if GetZoneText() ~= "Zul'Gurub" then -- Only want to run this in ZG return end texture, name = GetLootRollItemInfo(rollID) if(string.find(name," Coin") or string.find(name,"Hakkari Bijou")) then RollOnLoot(arg1, 1) end end frame = CreateFrame("Frame"); frame:SetScript("OnEvent", onEvent); frame:RegisterEvent("START_LOOT_ROLL")
local Modules = script.Parent.Parent.Parent.Parent local Roact = require(Modules.Roact) local ComplexStringInput = require(script.Parent.ComplexStringInput) local uDimPattern = "^([%-%d%.]+),([%-%d%.]+)$" local function createUDimFromString(str) local scale, offset = str:match(uDimPattern) if not scale or not offset then return end return UDim.new(scale, offset) end local function createShortStringFromUDim(uDim: UDim) return string.format("%.3f, %.0f", uDim.Scale, uDim.Offset):gsub("%.?0+$", ""):gsub("%.?0+,", ",") end local function UDimInput(props) return Roact.createElement(ComplexStringInput, { Key = props.Key, Value = createShortStringFromUDim(props.Value), Validate = function(raw) local udim = createUDimFromString(raw:gsub("%s", "")) if not udim then return false else return true, createShortStringFromUDim(udim) end end, Parse = function(raw) return createUDimFromString(raw:gsub("%s", "")) end, OnChanged = props.OnChanged, }) end return UDimInput
byteCode = { 0x1a, 0x53, 0x47, 0x30, 0x33, 0x00, 0x00, 0x53, 0x43, 0x31, 0x31, 0x00, 0x00, 0x53, 0x43, 0x30, 0x35, 0x00, 0x00, 0x53, 0x43, 0x30, 0x33, 0x00, 0x00, 0x41, 0x53, 0x48, 0x54, 0x00, 0x00, 0x53, 0x57, 0x35, 0x36, 0x00, 0x00, 0x53, 0x44, 0x30, 0x31, 0x00, 0x00, 0x53, 0x44, 0x31, 0x33, 0x00, 0x00, 0x53, 0x57, 0x32, 0x32, 0x00, 0x00, 0x53, 0x43, 0x30, 0x31, 0x00, 0x00, 0x53, 0x43, 0x30, 0x38, 0x00, 0x00, 0x53, 0x43, 0x30, 0x32, 0x00, 0x00, 0x53, 0x57, 0x31, 0x32, 0x00, 0x00, 0x53, 0x47, 0x30, 0x32, 0x00, 0x00, 0x53, 0x43, 0x31, 0x30, 0x00, 0x00, 0x53, 0x57, 0x34, 0x32, 0x00, 0x00, 0x41, 0x52, 0x41, 0x4d, 0x00, 0x00, 0x53, 0x43, 0x30, 0x39, 0x00, 0x00, 0x41, 0x4d, 0x45, 0x44, 0x00, 0x00, 0x53, 0x44, 0x30, 0x32, 0x00, 0x00, 0x53, 0x44, 0x30, 0x33, 0x00, 0x00, 0x41, 0x4f, 0x55, 0x54, 0x00, 0x00, 0x41, 0x47, 0x42, 0x31, 0x00, 0x00, 0x41, 0x47, 0x42, 0x32, 0x00, 0x00, 0x53, 0x44, 0x30, 0x39, 0x00, 0x00, 0x53, 0x44, 0x31, 0x30, 0x00, 0x00, 0xcc, 0x01, 0xcc, 0x01, 0xcc, 0x01, 0xcc, 0x01, 0xcc, 0x01, 0xcc, 0x01, 0xcc, 0x02, 0xcc, 0x00, 0xcc, 0x03, 0xcc, 0x03, 0xcc, 0x03, 0xcc, 0x03, 0xcc, 0x03, 0xcc, 0x03, 0xcc, 0x03, 0xcc, 0x03, 0xcc, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0xcc, 0x00, 0xcc, 0x03, 0xcc, 0x00, 0xd0, 0x00, 0x55, 0xcf, 0x00, 0x04, 0x00, 0xc4, 0x07, 0x01, 0x00, 0x00, 0x03, 0x1c, 0xcf, 0x01, 0x02, 0x00, 0xcf, 0x00, 0x03, 0x00, 0xc4, 0x19, 0x01, 0x00, 0x06, 0x01, 0x04, 0xce, 0x00, 0x19, 0x00, 0x04, 0xce, 0x01, 0x01, 0x01, 0xcd, 0x00, 0x00, 0x00, 0x2d, 0xcf, 0x01, 0x03, 0x00, 0xcf, 0x00, 0x02, 0x00, 0xc4, 0x09, 0x01, 0x00, 0x14, 0x03, 0x18, 0xc4, 0x01, 0x01, 0x00, 0x00, 0x00, 0x08, 0xcd, 0x00, 0x01, 0x00, 0xce, 0x00, 0x02, 0x00, 0x08, 0xcd, 0x00, 0x01, 0x01, 0xce, 0x00, 0x02, 0x01, 0x05, 0xd6, 0xce, 0x01, 0x01, 0x01, 0xd0, 0x01, 0x1d, 0xc0, 0x02, 0x00, 0x0a, 0xc0, 0x01, 0x00, 0x09, 0xc1, 0x02, 0xc4, 0x0b, 0x01, 0x00, 0x02, 0x02, 0x04, 0xc0, 0x11, 0x00, 0x10, 0x00, 0xc0, 0x07, 0x01, 0x00, 0x00, 0xc3, 0x00, 0xd0, 0x02, 0x17, 0xc0, 0x00, 0x00, 0x08, 0xc4, 0x0b, 0x01, 0x00, 0x00, 0x00, 0x04, 0xc0, 0x12, 0x00, 0x10, 0x00, 0xc0, 0x07, 0x01, 0x00, 0x01, 0xc3, 0x00, 0xd0, 0x03, 0x10, 0xc1, 0x19, 0xd0, 0x01, 0xd0, 0x02, 0xc0, 0x11, 0x01, 0x00, 0x32, 0xc0, 0x12, 0x01, 0x00, 0x32, 0xd0, 0x04, 0x3b, 0xc0, 0x07, 0x01, 0x00, 0x01, 0xc4, 0x04, 0x01, 0x00, 0x00, 0x00, 0x10, 0xc1, 0x04, 0xc4, 0x04, 0x01, 0x00, 0x00, 0x02, 0x03, 0xc5, 0x01, 0x00, 0x03, 0xc5, 0x00, 0x01, 0x0f, 0xc5, 0x00, 0x02, 0xc4, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0xc1, 0x00, 0xd3, 0x1e, 0x00, 0xca, 0x1e, 0x01, 0xc4, 0x00, 0x01, 0x00, 0x00, 0x02, 0x02, 0xc3, 0x01, 0x00, 0xd0, 0x00, 0xd2, 0x02, 0x00, 0x32, 0x0c, 0x30, 0xc9, 0x64, 0xc0, 0x03, 0x01, 0x00, 0x00, 0xc0, 0x17, 0x01, 0x00, 0x00, 0xc0, 0x16, 0x01, 0x00, 0x00, 0xc4, 0x0e, 0x01, 0x00, 0x00, 0x02, 0x02, 0xdc, 0x0d, 0x00, 0xc0, 0x19, 0x00, 0x18, 0xc1, 0x0d, 0xc0, 0x05, 0x01, 0x00, 0x00, 0xc0, 0x04, 0x01, 0x00, 0x00, 0xc5, 0x00, 0x03, 0xd0, 0x03, 0xc7, 0x00, 0x01, 0x76, 0x01, 0x5b, 0xc4, 0x06, 0x01, 0x00, 0x07, 0x01, 0x53, 0xc0, 0x07, 0x01, 0x00, 0x00, 0xc4, 0x01, 0x01, 0x00, 0x00, 0x00, 0x27, 0xc4, 0x09, 0x01, 0x00, 0x14, 0x03, 0x02, 0xc1, 0x01, 0x02, 0xcb, 0x04, 0xc5, 0x01, 0x05, 0xd4, 0x01, 0xd5, 0x01, 0xc6, 0xc4, 0x01, 0x01, 0x00, 0x03, 0x02, 0x0b, 0xc4, 0x02, 0x01, 0x00, 0x00, 0x02, 0x03, 0xc5, 0x01, 0x06, 0x00, 0x00, 0x1a, 0xc4, 0x02, 0x01, 0x00, 0x00, 0x02, 0x12, 0xc2, 0x17, 0xc4, 0x17, 0x01, 0x00, 0x05, 0x00, 0x08, 0xc5, 0x01, 0x07, 0xc0, 0x17, 0x01, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x00, 0xc5, 0x00, 0x08, 0x00, 0x02, 0x63, 0xc8, 0x13, 0xc4, 0x13, 0x01, 0x00, 0x01, 0x02, 0x56, 0xde, 0x10, 0xc4, 0x06, 0x01, 0x00, 0x01, 0x03, 0x36, 0xc4, 0x10, 0x01, 0x00, 0x04, 0x02, 0x0b, 0xd9, 0x10, 0xc4, 0x10, 0x00, 0x11, 0x03, 0x02, 0xc3, 0x03, 0x00, 0x00, 0xc4, 0x06, 0x01, 0x00, 0x06, 0x01, 0x1b, 0xc4, 0x0f, 0x01, 0x00, 0x01, 0x02, 0x13, 0xc4, 0x10, 0x01, 0x00, 0x03, 0x02, 0x0b, 0xd9, 0x10, 0xc4, 0x10, 0x00, 0x12, 0x03, 0x02, 0xc3, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc4, 0x10, 0x01, 0x00, 0x05, 0x02, 0x0e, 0xd9, 0x10, 0xc5, 0x01, 0x09, 0xc0, 0x05, 0x00, 0x10, 0xc0, 0x15, 0x01, 0x00, 0x02, 0x00, 0x00, 0xc5, 0x00, 0x0a, 0x0b, 0x02, 0xd0, 0x04, 0x00, 0x1c, 0xc4, 0x06, 0x01, 0x00, 0x06, 0x01, 0x12, 0xc5, 0x00, 0x0b, 0xc2, 0x07, 0xc4, 0x07, 0x01, 0x00, 0x01, 0x00, 0x05, 0xc0, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x00, 0x09, 0x4d, 0xc4, 0x01, 0x01, 0x00, 0x00, 0x02, 0x13, 0xc4, 0x02, 0x01, 0x00, 0x00, 0x00, 0x0b, 0xc1, 0x02, 0xc5, 0x00, 0x0c, 0xc0, 0x01, 0x00, 0x09, 0xd0, 0x00, 0x00, 0x00, 0xc4, 0x04, 0x01, 0x00, 0x00, 0x03, 0x13, 0xc2, 0x14, 0xc4, 0x14, 0x01, 0x00, 0x05, 0x00, 0x05, 0xc0, 0x14, 0x01, 0x00, 0x00, 0x00, 0xce, 0x00, 0x14, 0x00, 0x00, 0xc4, 0x15, 0x01, 0x00, 0x01, 0x02, 0x03, 0xc5, 0x01, 0x0a, 0x00, 0xc4, 0x15, 0x01, 0x00, 0x03, 0x01, 0x02, 0xc1, 0x15, 0x00, 0xc2, 0x03, 0x0c, 0x07, 0xd0, 0x00, 0xc0, 0x14, 0x01, 0x00, 0x00, 0x0d, 0x04, 0xce, 0x01, 0x01, 0x01, 0x0e, 0x32, 0xc4, 0x06, 0x01, 0x00, 0x01, 0x02, 0x0e, 0xc0, 0x15, 0x01, 0x00, 0x00, 0xd5, 0xff, 0xc5, 0x01, 0x0d, 0xc0, 0x04, 0x00, 0x00, 0x17, 0xd5, 0x00, 0xc0, 0x04, 0x01, 0x00, 0x00, 0xc4, 0x06, 0x01, 0x00, 0x02, 0x02, 0x08, 0xc0, 0x15, 0x01, 0x00, 0x00, 0xc5, 0x01, 0x0e, 0x00, 0xc0, 0x05, 0x01, 0x00, 0x0a, 0xc7, 0x03, 0x00, 0x11, 0x0c, 0x07, 0xc5, 0x00, 0x0f, 0xd5, 0x01, 0xcb, 0x10, 0x0d, 0x02, 0xd0, 0x01, 0x0b, 0x02, 0xd0, 0x04, 0xc7, 0x04, 0x00, 0x14, 0x0c, 0x07, 0xc5, 0x00, 0x11, 0xd5, 0x01, 0xcb, 0x12, 0x0d, 0x02, 0xd0, 0x02, 0x0b, 0x05, 0xd0, 0x02, 0xdf, 0xd0, 0x04, 0xc7, 0x05, 0x00, 0x25, 0x0c, 0x08, 0xc5, 0x00, 0x11, 0xdf, 0xc0, 0x14, 0x00, 0x0c, 0x09, 0x19, 0xc4, 0x14, 0x01, 0x00, 0x02, 0x01, 0x08, 0xc5, 0x01, 0x13, 0xd7, 0xd4, 0x00, 0xd0, 0x03, 0x09, 0xc1, 0x14, 0xcd, 0x00, 0x14, 0x00, 0xc5, 0x00, 0x0b, 0xc7, 0x01, 0x00, 0x72, 0x0c, 0x23, 0xc5, 0x01, 0x14, 0xc4, 0x19, 0x01, 0x00, 0x00, 0x02, 0x07, 0xd8, 0x15, 0xc0, 0x16, 0x01, 0x00, 0x07, 0x11, 0xca, 0x1e, 0x00, 0xd4, 0xff, 0xc4, 0x0d, 0x01, 0x00, 0x00, 0x02, 0x02, 0xd8, 0x16, 0x02, 0xd8, 0x17, 0x02, 0x2c, 0xc8, 0x13, 0xc4, 0x13, 0x01, 0x00, 0x01, 0x02, 0x1f, 0xde, 0x10, 0xc4, 0x19, 0x01, 0x00, 0x00, 0x00, 0x15, 0xc4, 0x10, 0x01, 0x00, 0x05, 0x02, 0x0d, 0xd9, 0x10, 0xc4, 0x10, 0x00, 0x0d, 0x02, 0x04, 0xd5, 0x0a, 0xc3, 0x05, 0x00, 0x00, 0x00, 0x00, 0xc5, 0x00, 0x0a, 0x09, 0x1d, 0xc2, 0x16, 0xc4, 0x16, 0x01, 0x00, 0x06, 0x02, 0x13, 0xc0, 0x16, 0x01, 0x00, 0x00, 0xc4, 0x0d, 0x01, 0x00, 0x00, 0x02, 0x03, 0xc5, 0x00, 0x18, 0x03, 0xc5, 0x00, 0x19, 0x00, } return byteCode
curse_protection = { cast = function(player) local duration = 285000 player:sendAction(6, 20) player:sendStatus() player:sendAnimation(11) player:playSound(702) player:setDuration("curse_protection", duration) end, uncast = function(player) player:sendMinitext("End of protection") end }
function onCreate() makeLuaSprite('theRoom','room',-600,-350) addLuaSprite('theRoom',false) setLuaSpriteScrollFactor('theRoom', 0.9, 0.9); makeLuaSprite('theShadow','shadow',-400, -300) addLuaSprite('theShadow',true) setLuaSpriteScrollFactor('theShadow', 0, 0); makeAnimatedLuaSprite('doomKitty','doom',0,530) addAnimationByPrefix('doomKitty','doombop','doombop',24,true) addLuaSprite('doomKitty',false) objectPlayAnimation('doomKitty','doombop',true) setLuaSpriteScrollFactor('doomKitty', 0.95, 0.95); makeAnimatedLuaSprite('mrBuns','buns',550,550) addAnimationByPrefix('mrBuns','bunsbop','bunsbop',24,true) addLuaSprite('mrBuns',false) objectPlayAnimation('mrBuns','bunsbop',true) setLuaSpriteScrollFactor('mrBuns', 0.95, 0.95); end function onBeatHit()-- for every beat -- body end function onStepHit()-- for every step -- body end function onUpdate() -- body end
---------------------- -------------------- -- Table Functions ---------------- -------------- ------------ ---------- -------- ------ ---- -- ------------------ -- Private Functions -------- ------ ---- -- -- ref: https://web.archive.org/web/20131225070434/http://snippets.luacode.org/snippets/Deep_Comparison_of_Two_Values_3 local function __deepcompare(t1, t2, ignore_mt) -- native check if not _:isTable(t1) or not _:isTable(t2) then return t1 == t2 end -- respect metatable `__eq` check, if found.. local mt = getmetatable(v1) if not ignore_mt and mt and mt.__eq then return t1 == t2 end -- test t1 == t2 for k1, v1 in pairs(t1) do if t2[k1] == nil or not __deepcompare(v1, t2[k1]) then return false end end -- test t2 == t1 for k2, v2 in pairs(t2) do if t1[k2] == nil or not __deepcompare(t1[k2], v2) then return false end end return true end ------------------ -- Public Functions -------- ------ ---- -- -- _:is_(var) -- Determines if `var` is a native lander `function`. -- -- @param mixed(var) -- @return boolean function _:is_(var) return _:isString(var) and _:isFunction(_[var]) end -- _:isArray(var) -- Determines if `var` is an "array" -- (e.g. contains no named-indexes). -- -- Note: -- "Array" functions will always use `ipairs` -- -- @param mixed(var) -- @return boolean function _:isArray(var) if not _:isTable(var) then return false end -- return #var == _:size(var) end -- _:isBoolean(var) -- Determines if `var` is a boolean value -- -- @param mixed(var) -- @return boolean function _:isBoolean(var) return _.__type(var) == 'boolean' end -- _:isEmpty(var) -- Determines if `var` is an "empty" value. -- -- @param mixed(var) -- @return boolean function _:isEmpty(var) if _:isTable(var) then return _.__next(var) == nil elseif _:isBoolean(var) then return var == false elseif _:isString(var) then return var == '' elseif _:isNumber(var) then return var == 0 end -- TODO: what about other types? return var == nil end -- _:isEqual(left, right) -- Determines if `left == right`, with tables -- undergoing recursive equality. -- -- Notes: -- * Lua's native equality operator tests data types. -- * `metatable __eq` functions are respected. -- -- @param mixed(left) -- @param mixed(right) -- @return boolean function _:isEqual(left, right) return __deepcompare(left, right) end -- _:isEven(var) -- Determines if `var` is an even number. -- -- @param mixed(var) -- @return boolean function _:isEven(var) if not _:isNumber(var) then return false end return var % 2 == 0 end -- _:isFalsey(var) -- Determines if `var` is a falsey value (e.g. `nil`, `false`). -- -- @param mixed(var) -- @return boolean function _:isFalsey(var) if var then return false end return true end -- _:isFunction(var) -- Determines if `var` is a `function`. -- -- @param mixed(var) -- @return boolean function _:isFunction(var) return _.__type(var) == 'function' or _:is_(var) end -- _:isNaN(var) -- Determines if `var` is not a `number`. -- -- @param mixed(var) -- @return boolean function _:isNaN(var) return not _:isNumber(var) end -- _:isNegative(var) -- Determines if `var` is a negative number. -- -- @param mixed(var) -- @return boolean function _:isNegative(var) if not _:isNumber(var) then return false end return var < 0 end -- _:isNil(var) -- Determines if `var` is nil. -- -- @param mixed(var) -- @return boolean function _:isNil(var) return var == nil end -- _:isNotNil(var) -- Determines if `var` is not nil. -- -- @param mixed(var) -- @return boolean function _:isNotNil(var) return var ~= nil end -- _:isNumber(var) -- Determines if `var` is a number. -- -- @param mixed(var) -- @return boolean function _:isNumber(var) return _.__type(var) == 'number' end -- _:isOdd(var) -- Determines if `var` is an odd number. -- -- @param mixed(var) -- @return boolean function _:isOdd(var) if not _:isNumber(var) then return false end return var % 2 ~= 0 end -- _:isPositive(var) -- Determines if `var` is a positive number (including 0). -- -- @param mixed(var) -- @return boolean function _:isPositive(var) if not _:isNumber(var) then return false end return var >= 0 end -- _:isRegex(var) -- Alias for [_:isRegexPattern](#isRegexPattern). -- -- @param mixed(var) -- @return boolean function _:isRegex(var) return _:isRegexPattern(var) end -- _:isRegexPattern(var) -- Determines if `var` is a regex pattern. -- -- @param mixed(var) -- @return boolean function _:isRegexPattern(var) return pcall(function() _.__re.compile(var) end) end -- _:isSequence(var) -- Determines if `var` is a "sequence" -- (e.g. an ordered, indexed table). -- -- @param mixed(var) -- @return boolean function _:isSequence(var) if not _:isArray(var) then return false end -- local prev for _, v in ipairs(var) do if prev and prev > v then return false end -- update `prev` for next comparison prev = v end return true end -- _:isSet(var) -- Determines if `var` is a set (e.g. a table with -- named indexes for uniqueness; order is not important). -- -- Note: -- For the definition of a "set" we are using -- [this reference](https://www.lua.org/pil/11.5.html). -- -- @param mixed(var) -- @return boolean function _:isSet(var) if not _:isArray(var) then return false end -- return _:isEqual(var, _:unique(var)) end -- _:isString(var) -- Determines if `var` is a `string` value. -- -- @param mixed(var) -- @return boolean function _:isString(var) return _.__type(var) == 'string' end -- _:isTable(var) -- Determines if `var` is a `table` value. -- -- @param mixed(var) -- @return boolean function _:isTable(var) return _.__type(var) == 'table' end -- _:isTruthy(var) -- Determines if `var` is a truthy value (e.g. NOT `nil`, `false`). -- -- @param mixed(var) -- @return boolean function _:isTruthy(var) if var then return true end return false end -- _:isThread(var) -- Determines if `var` is a `thread` value. -- -- @param mixed(var) -- @return boolean function _:isThread(var) return _.__type(var) == 'thread' end -- _:isZero(var) -- Determines if `var` equals zero. -- -- @param mixed(var) -- @return boolean function _:isZero(var) return var == 0 end
return { -- Poke = {mapName, huntType} ["Bellsprout"] = {"Route 24", "grass"}, ["Caterpie"] = {"Viridian Forest", "grass"}, ["Diglett"] = {"Digletts Cave Entrance 2", "cave"}, ["Doduo"] = {"Route 16", "grass"}, ["Drowzee"] = {"Route 11", "grass"}, ["Geodude"] = {"Rock Tunnel 1", "cave"}, ["Horsea"] = {"Route 6", "water"}, ["Krabby"] = {"Route 6", "water"}, ["Magikarp"] = {"Route 10", "water"}, ["Magnemite"] = {"Route 10", "grass"}, ["NidoranF"] = {"Route 10", "grass"}, ["Nidoran M"] = {"Route 10", "grass"}, ["Oddish"] = {"Route 25", "grass"}, ["Pidgey"] = {"Route 4", "grass"}, ["Sandshrew"] = {"Digletts Cave", "cave"}, ["Slowpoke"] = {"Route 12", "water"}, ["Spearow"] = {"Route 4", "grass"}, ["Tentacool"] = {"Route 10", "water"}, ["Venonat"] = {"Route 12", "grass"}, ["Weedle"] = {"Viridian Forest", "grass"}, ["Zubat"] = {"Digletts Cave Entrance 2", "cave"}, -- Item = {Location, {x,y}}, ["HP Up"] = {"Celadon Mart 5", {3,9}}, ["Protein"] = {"Celadon Mart 5", {3,9}}, ["Iron"] = {"Celadon Mart 5", {3,9}}, ["Carbos"] = {"Celadon Mart 5", {3,9}}, ["Calcium"] = {"Celadon Mart 5", {3,9}}, ["Zinc"] = {"Celadon Mart 5", {3,9}}, ["Bone Moss"] = {"Pokemon Tower 3F", {16,7}}, ["Hearth Peach"] = {"Viridian Forest", {42,62}}, ["Sparky Blossom"] = {"Power Plant", {1,1}}, }
local io = {} io.width = 64 * 2 io.init = function(gameboy) io.canvas = love.graphics.newCanvas(64, 400) io.gameboy = gameboy io.background_image = love.graphics.newImage("images/debug_io_background.png") end io.draw = function(x, y) love.graphics.setCanvas(io.canvas) love.graphics.clear() love.graphics.setColor(1, 1, 1) love.graphics.draw(io.background_image, 0, 0) io.print_values(io.gameboy) love.graphics.setCanvas() -- reset to main FB love.graphics.setColor(1, 1, 1) love.graphics.push() love.graphics.scale(2, 2) love.graphics.draw(io.canvas, x / 2, y / 2) love.graphics.pop() end local io_values = { [0] = { -- joypad {0xFF00, "JOY"}, -- serial transfer cable (unimplemented entirely) {0xFF01, "SB"}, {0xFF02, "SC"}, -- timers {0xFF04, "DIV"}, {0xFF05, "TIMA"}, {0xFF06, "TMA"}, {0xFF07, "TAC"}, -- interrupt flags (this holds currently requested interrupts) {0xFF0F, "IF"}, -- graphics {0xFF40, "LCDC"}, {0xFF41, "STAT"}, {0xFF42, "SCY"}, {0xFF43, "SCX"}, {0xFF44, "LY"}, {0xFF45, "LYC"}, {0xFF47, "BGP"}, {0xFF48, "OBP0"}, {0xFF49, "OBP1"}, {0xFF4A, "WY"}, {0xFF4B, "WX"}, -- Interrupt enable {0xFFFF, "IE"}, {}, -- sound {0xFF10, "NR10"}, {0xFF11, "NR11"}, {0xFF12, "NR12"}, {0xFF13, "NR13"}, {0xFF14, "NR14"}, --{}, {0xFF16, "NR21"}, {0xFF17, "NR22"}, {0xFF18, "NR23"}, {0xFF19, "NR24"}, --{}, {0xFF1A, "NR30"}, {0xFF1B, "NR31"}, {0xFF1C, "NR32"}, {0xFF1D, "NR33"}, {0xFF1E, "NR34"}, --{}, {0xFF20, "NR41"}, {0xFF21, "NR42"}, {0xFF22, "NR43"}, {0xFF23, "NR44"}, --{}, {0xFF24, "NR50"}, {0xFF25, "NR51"}, {0xFF26, "NR52"}, } } function io.print_value(gameboy, name, address, x, y) love.graphics.print(string.format("%04X [%- 4s] %02X", address, name, gameboy.memory[address]), x, y) end function io.print_values(gameboy) love.graphics.setColor(0, 0, 0) for x, column in pairs(io_values) do for i, io_value in ipairs(column) do if #io_value == 2 then io.print_value(gameboy, io_value[2], io_value[1], 4 + x, 7 * (i) + 10) end end end end return io
-- Copyright (c) 2019 Redfern, Trevor <trevorredfern@gmail.com> -- -- This software is released under the MIT License. -- https://opensource.org/licenses/MIT return function(l, t, r, b) return setmetatable({ left = l, right = r, top = t, bottom = b, contains = function(self, x, y) return x >= self.left and x <= self.right and y >= self.top and y <= self.bottom end }, { __tostring = function(tbl) return string.format("Region (%d,%d)-(%d,%d)", tbl.left, tbl.top, tbl.right, tbl.bottom) end }) end
local _, ns = ... ---------------------------------------------------------------------------------------- -- Settings for DarkUI Option GUI ---------------------------------------------------------------------------------------- ns.Categories = {} ns.OptionList = {} ns.Hooks = {} ns.opt_widgets = {}
resource_manifest_version "05cfa83c-a124-4cfa-a768-c24a5811d8f9" file 'int_medical.ytyp' data_file 'DLC_ITYP_REQUEST' 'int_medical.ytyp'
---@type ZxUIText local ZxUIText = LibStub("AceAddon-3.0"):GetAddon("ZxUIText") ---@class CoreFactory47 local CoreFactory47 = {} CoreFactory47.__index = CoreFactory47 ZxUIText.CoreFactory47 = CoreFactory47 CoreFactory47._frameEnableToggleList = {} CoreFactory47._prevDisabledOptionsList = {} ---@param curModule table ---Explicitly call OnEnable() and OnDisable() depending on the module's IsEnabled() ---This function is exactly like refreshConfig(), except it is called only during initialization. function CoreFactory47:initModuleEnableState(curModule) if type(curModule.handleEnableToggle) == "function" then curModule:handleEnableToggle() end if curModule:IsEnabled() then curModule:OnEnable() else curModule:OnDisable() end curModule:refreshConfig() end ---@param optionInstance table Instance of an option object, such as BarTemplateEnableOptions or -- Aura47Options ---@param curModule table The current module, such as PlayerHealth47 or TargetDebuffs47 ---@return table function CoreFactory47:registerAndReturnOptionTable(optionInstance, curModule) optionInstance:registerModuleOptionsTable() local optionTable = optionInstance.options return optionTable end -- #################################### -- # PRIVATE FUNCTIONS -- ####################################
local TCls = {prop = nil} function TCls:new(o) o = o or {} setmetatable(o, self) self.__index = self self.prop = 123 return o end function TCls:pp() print(self.prop) end local tc = TCls:new(nil) tc:pp()
--Config ScriptHost:LoadScript("scripts/settings/experimental.lua") ScriptHost:LoadScript("scripts/settings/tracking.lua") ScriptHost:LoadScript("scripts/settings/fileio.lua") ScriptHost:LoadScript("scripts/settings/settings.lua") ScriptHost:LoadScript("scripts/settings/defaults.lua") --Essentials ScriptHost:LoadScript("scripts/static.lua") ScriptHost:LoadScript("scripts/global.lua") ScriptHost:LoadScript("scripts/events.lua") --SDK ScriptHost:LoadScript("scripts/sdk/base/class.lua") ScriptHost:LoadScript("scripts/sdk/base/custom_item.lua") ScriptHost:LoadScript("scripts/sdk/base/consumableitem.lua") --Items Tracker:AddItems("items/common.json") Tracker:AddItems("items/regions.json") Tracker:AddItems("items/keysanity_dungeon_items.json") Tracker:AddItems("items/keys.json") Tracker:AddItems("items/doors.json") Tracker:AddItems("items/labels.json") Tracker:AddItems("items/capturebadges.json") --Custom Items ScriptHost:LoadScript("scripts/sdk/extconsumableitem.lua") ScriptHost:LoadScript("scripts/sdk/surrogateitem.lua") ScriptHost:LoadScript("scripts/custom/mapcompassbk.lua") ScriptHost:LoadScript("scripts/custom/modes/worldstatemode.lua") ScriptHost:LoadScript("scripts/custom/modes/keysanitymode.lua") ScriptHost:LoadScript("scripts/custom/modes/entranceshufflemode.lua") ScriptHost:LoadScript("scripts/custom/modes/doorshufflemode.lua") ScriptHost:LoadScript("scripts/custom/modes/owshufflemode.lua") ScriptHost:LoadScript("scripts/custom/modes/retromode.lua") ScriptHost:LoadScript("scripts/custom/modes/poolmode.lua") ScriptHost:LoadScript("scripts/custom/modes/glitchmode.lua") ScriptHost:LoadScript("scripts/custom/modes/racemode.lua") ScriptHost:LoadScript("scripts/custom/gtcrystalreq.lua") ScriptHost:LoadScript("scripts/custom/goalsetting.lua") ScriptHost:LoadScript("scripts/custom/savestorage.lua") ScriptHost:LoadScript("scripts/custom/doors/doordungeonselect.lua") ScriptHost:LoadScript("scripts/custom/doors/doortotalchest.lua") loadMCBK() loadDungeonChests() if Tracker.ActiveVariantUID == "items_only" then Tracker:AddLayouts("layouts/layouts_base_custom.json") Tracker:AddLayouts("layouts/layouts_base_shared.json") Tracker:AddLayouts("layouts/layouts_custom.json") if LAYOUT_ENABLE_ALTERNATE_DUNGEON_VIEW then Tracker:AddLayouts("layouts/layouts_dungeonalt_shared.json") end Tracker:AddLayouts("layouts/layouts_shared.json") Tracker:AddLayouts("layouts/dungeon_grid.json") Tracker:AddLayouts("layouts/tracker.json") Tracker:AddLayouts("layouts/broadcast_standard.json") else ScriptHost:LoadScript("scripts/custom/doors/dynamicrequirement.lua") ScriptHost:LoadScript("scripts/custom/doors/roomgroupselect.lua") ScriptHost:LoadScript("scripts/custom/doors/roomselectslot.lua") ScriptHost:LoadScript("scripts/custom/doors/doorslotselect.lua") ScriptHost:LoadScript("scripts/custom/doors/doorslot.lua") loadDynamicRequirement() loadDoorSlots() --Maps Tracker:AddMaps("maps/maps.json") --Layouts Tracker:AddLayouts("layouts/layouts_capture.json") --Map Locations ScriptHost:LoadScript("scripts/logic_common.lua") ScriptHost:LoadScript("scripts/logic_custom.lua") Tracker:AddLocations("locations/bosses.json") Tracker:AddLocations("locations/regions.json") Tracker:AddLocations("locations/dungeons.json") Tracker:AddLocations("locations/dungeonmap.json") Tracker:AddLocations("locations/underworld.json") Tracker:AddLocations("locations/overworld.json") Tracker:AddLocations("locations/entrances.json") Tracker:AddLocations("locations/edges.json") Tracker:AddLocations("locations/ghosts.json") --Custom Items DoorDungeonSelect() DoorTotalChest("Chests", "chest", "item", "images/0058.png") DoorTotalChest("Keys", "key", "smallkey", "images/SmallKey2.png") WorldStateMode(false):linkSurrogate(WorldStateMode(true)) KeysanityMode(false, "Map"):linkSurrogate(KeysanityMode(true, "Map")) KeysanityMode(false, "Compass"):linkSurrogate(KeysanityMode(true, "Compass")) KeysanityMode(false, "Small Key"):linkSurrogate(KeysanityMode(true, "Small Key")) KeysanityMode(false, "Big Key"):linkSurrogate(KeysanityMode(true, "Big Key")) EntranceShuffleMode(false):linkSurrogate(EntranceShuffleMode(true)) DoorShuffleMode(false):linkSurrogate(DoorShuffleMode(true)) OverworldShuffleMode(false):linkSurrogate(OverworldShuffleMode(true)) RetroMode(false):linkSurrogate(RetroMode(true)) PoolMode(0, "Shopsanity"):linkSurrogate(PoolMode(1, "Shopsanity")) OBJ_POOL_KEYDROP = PoolMode(0, "Key Drop") OBJ_POOL_KEYDROP:linkSurrogate(PoolMode(1, "Key Drop"):linkSurrogate(PoolMode(2, "Key Drop"):linkSurrogate(OBJ_POOL_KEYDROP, true), true), true) GlitchMode(false):linkSurrogate(GlitchMode(true)) RaceMode(false):linkSurrogate(RaceMode(true)) GTCrystalReq() GoalSetting() SaveStorage() --Tracker Layout Tracker:AddLayouts("layouts/layouts_base_custom.json") --anything defined here overrides layouts defined in 'layouts_base_shared' Tracker:AddLayouts("layouts/layouts_base_shared.json") Tracker:AddLayouts("layouts/layouts_custom.json") --anything defined here overrides layouts defined in 'layouts_shared' if LAYOUT_ENABLE_ALTERNATE_DUNGEON_VIEW then Tracker:AddLayouts("layouts/layouts_dungeonalt_shared.json") end Tracker:AddLayouts("layouts/layouts_shared.json") Tracker:AddLayouts("layouts/dungeon_keys_grid.json") Tracker:AddLayouts("layouts/entrance_grid.json") Tracker:AddLayouts("layouts/tracker.json") --Broadcast Layout Tracker:AddLayouts("layouts/keys.json") if Tracker.ActiveVariantUID == "mystery" or Tracker.ActiveVariantUID == "items_only_keys" then Tracker:AddLayouts("layouts/broadcast_keysanity.json") else Tracker:AddLayouts("layouts/maps.json") if string.find(Tracker.ActiveVariantUID, "er_") then Tracker:AddLayouts("layouts/broadcast_erkeysanity.json") else Tracker:AddLayouts("layouts/broadcast_keysanity.json") end end end --Load Global Variables initGlobalVars() --Default Settings Tracker.DisplayAllLocations = PREFERENCE_DISPLAY_ALL_LOCATIONS Tracker.AlwaysAllowClearing = PREFERENCE_ALWAYS_ALLOW_CLEARING_LOCATIONS Tracker.PinLocationsOnItemCapture = PREFERENCE_PIN_LOCATIONS_ON_ITEM_CAPTURE Tracker.AutoUnpinLocationsOnClear = PREFERENCE_AUTO_UNPIN_LOCATIONS_ON_CLEAR if _VERSION == "Lua 5.3" then ScriptHost:LoadScript("scripts/fileio.lua") ScriptHost:LoadScript("scripts/autotracking.lua") else print("Auto-tracker is unsupported by your tracker version") end
supplyLimit("Fighter",48) supplyLimit("Frigate",60) supplyLimit("Capital",16) supplyLimit("Utility",56) supplyLimit("ResourceController",8) supplyLimit("Platform",60)
--!nocheck --[[ Filename: TenFootInterface.lua Written by: jeditkacheff Version 1.0 Description: Setups up some special UI for ROBLOX TV gaming --]] -------------- CONSTANTS -------------- local HEALTH_GREEN_COLOR = Color3.new(27/255, 252/255, 107/255) local DISPLAY_POS_INIT_INSET = 0 local DISPLAY_ITEM_OFFSET = 4 local FORCE_TEN_FOOT_INTERFACE = false -------------- SERVICES -------------- local CoreGui = game:GetService("CoreGui") local RobloxGui = CoreGui:WaitForChild("RobloxGui") local UserInputService = game:GetService("UserInputService") local GuiService = game:GetService("GuiService") local Players = game:GetService("Players") ------------------ VARIABLES -------------------- local tenFootInterfaceEnabled = false do local platform = UserInputService:GetPlatform() tenFootInterfaceEnabled = (platform == Enum.Platform.XBoxOne or platform == Enum.Platform.WiiU or platform == Enum.Platform.PS4 or platform == Enum.Platform.AndroidTV or platform == Enum.Platform.XBox360 or platform == Enum.Platform.PS3 or platform == Enum.Platform.Ouya or platform == Enum.Platform.SteamOS) end if FORCE_TEN_FOOT_INTERFACE then tenFootInterfaceEnabled = true end local Util = {} do function Util.Create(instanceType) return function(data) local obj = Instance.new(instanceType) for k, v in pairs(data) do if type(k) == 'number' then v.Parent = obj else obj[k] = v end end return obj end end end local function CreateModule() local this = {} local nextObjectDisplayYPos = DISPLAY_POS_INIT_INSET local displayStack = {} local displayStackChanged = Instance.new("BindableEvent") local healthContainerPropertyChanged = Instance.new("BindableEvent") -- setup base gui local function createContainer() if not this.Container then this.Container = Util.Create'ImageButton' { Name = "TopRightContainer"; Size = UDim2.new(0, 350, 0, 100); Position = UDim2.new(1,-415,0,10); AutoButtonColor = false; Image = ""; Active = false; BackgroundTransparency = 1; Parent = RobloxGui; }; end end function removeFromDisplayStack(displayObject) local moveUpFromHere = nil for i = 1, #displayStack do if displayStack[i] == displayObject then moveUpFromHere = i + 1 break end end local prevObject = displayObject for i = moveUpFromHere, #displayStack do local objectToMoveUp = displayStack[i] objectToMoveUp.Position = UDim2.new(objectToMoveUp.Position.X.Scale, objectToMoveUp.Position.X.Offset, objectToMoveUp.Position.Y.Scale, prevObject.AbsolutePosition.Y) prevObject = objectToMoveUp end displayStackChanged:Fire() end function addBackToDisplayStack(displayObject) local moveDownFromHere = 0 for i = 1, #displayStack do if displayStack[i] == displayObject then moveDownFromHere = i + 1 break end end local prevObject = displayObject for i = moveDownFromHere, #displayStack do local objectToMoveDown = displayStack[i] local nextDisplayPos = prevObject.AbsolutePosition.Y + prevObject.AbsoluteSize.Y + DISPLAY_ITEM_OFFSET objectToMoveDown.Position = UDim2.new(objectToMoveDown.Position.X.Scale, objectToMoveDown.Position.X.Offset, objectToMoveDown.Position.Y.Scale, nextDisplayPos) prevObject = objectToMoveDown end displayStackChanged:Fire() end function addToDisplayStack(displayObject) local lastDisplayed = nil if #displayStack > 0 then lastDisplayed = displayStack[#displayStack] end displayStack[#displayStack + 1] = displayObject local nextDisplayPos = DISPLAY_POS_INIT_INSET if lastDisplayed then nextDisplayPos = lastDisplayed.AbsolutePosition.Y + lastDisplayed.AbsoluteSize.Y + DISPLAY_ITEM_OFFSET end displayObject.Position = UDim2.new(displayObject.Position.X.Scale, displayObject.Position.X.Offset, displayObject.Position.Y.Scale, nextDisplayPos) createContainer() displayObject.Parent = this.Container displayObject.Changed:connect(function(prop) if prop == "Visible" then if not displayObject.Visible then removeFromDisplayStack(displayObject) else addBackToDisplayStack(displayObject) end end end) displayStackChanged:Fire() end function this:CreateHealthBar() this.HealthContainer = Util.Create'Frame'{ Name = "HealthContainer"; Size = UDim2.new(1, -86, 0, 50); Position = UDim2.new(0, 92, 0, 0); BorderSizePixel = 0; BackgroundColor3 = Color3.new(0,0,0); BackgroundTransparency = 0.5; }; local healthFillHolder = Util.Create'Frame'{ Name = "HealthFillHolder"; Size = UDim2.new(1, -10, 1, -10); Position = UDim2.new(0, 5, 0, 5); BorderSizePixel = 0; BackgroundColor3 = Color3.new(1,1,1); BackgroundTransparency = 1.0; Parent = this.HealthContainer; }; local healthFill = Util.Create'Frame'{ Name = "HealthFill"; Size = UDim2.new(1, 0, 1, 0); Position = UDim2.new(0, 0, 0, 0); BorderSizePixel = 0; BackgroundTransparency = 0.0; BackgroundColor3 = HEALTH_GREEN_COLOR; Parent = healthFillHolder; }; local healthText = Util.Create'TextLabel'{ Name = "HealthText"; Size = UDim2.new(0, 98, 0, 50); Position = UDim2.new(0, -100, 0, 0); BackgroundTransparency = 0.5; BackgroundColor3 = Color3.new(0,0,0); Font = Enum.Font.SourceSans; FontSize = Enum.FontSize.Size36; Text = "Health"; TextColor3 = Color3.new(1,1,1); BorderSizePixel = 0; Parent = this.HealthContainer; }; local username = Util.Create'TextLabel'{ Visible = false } local accountType = Util.Create'TextLabel'{ Visible = false } addToDisplayStack(this.HealthContainer) createContainer() this.HealthContainer.Changed:connect(function() healthContainerPropertyChanged:Fire() end) return this.Container, username, this.HealthContainer, healthFill, accountType end function this:CreateAccountType(accountTypeTextShort) this.AccountTypeContainer = Util.Create'Frame'{ Name = "AccountTypeContainer"; Size = UDim2.new(0, 50, 0, 50); Position = UDim2.new(1, -55, 0, 10); BorderSizePixel = 0; BackgroundColor3 = Color3.new(0,0,0); BackgroundTransparency = 0.5; Parent = RobloxGui; }; local accountTypeTextLabel = Util.Create'TextLabel'{ Name = "AccountTypeText"; Size = UDim2.new(1, 0, 1, 0); Position = UDim2.new(0, 0, 0, 0); BackgroundTransparency = 1; BackgroundColor3 = Color3.new(0,0,0); Font = Enum.Font.SourceSans; FontSize = Enum.FontSize.Size36; Text = accountTypeTextShort; TextColor3 = Color3.new(1,1,1); BorderSizePixel = 0; Parent = this.AccountTypeContainer; TextXAlignment = Enum.TextXAlignment.Center; TextYAlignment = Enum.TextYAlignment.Center; }; end function this:SetupTopStat() local topStatEnabled = true local displayedStat = nil local displayedStatChangedCon = nil local displayedStatParentedCon = nil local leaderstatsChildAddedCon = nil local tenFootInterfaceStat = nil local function makeTenFootInterfaceStat() if tenFootInterfaceStat then return end tenFootInterfaceStat = Util.Create'Frame'{ Name = "OneStatFrame"; Size = UDim2.new(1, 0, 0, 36); Position = UDim2.new(0, 0, 0, 0); BorderSizePixel = 0; BackgroundTransparency = 1; }; local statName = Util.Create'TextLabel'{ Name = "StatName"; Size = UDim2.new(0.5,0,0,36); BackgroundTransparency = 1; Font = Enum.Font.SourceSans; FontSize = Enum.FontSize.Size36; TextStrokeColor3 = Color3.new(104/255, 104/255, 104/255); TextStrokeTransparency = 0; Text = " StatName:"; TextColor3 = Color3.new(1,1,1); TextXAlignment = Enum.TextXAlignment.Left; BorderSizePixel = 0; ClipsDescendants = true; Parent = tenFootInterfaceStat; }; local statValue = statName:clone() statValue.Position = UDim2.new(0.5,0,0,0) statValue.Name = "StatValue" statValue.Text = "123,643,231" statValue.TextXAlignment = Enum.TextXAlignment.Right statValue.Parent = tenFootInterfaceStat addToDisplayStack(tenFootInterfaceStat) end local function setDisplayedStat(newStat) if displayedStatChangedCon then displayedStatChangedCon:disconnect() displayedStatChangedCon = nil end if displayedStatParentedCon then displayedStatParentedCon:disconnect() displayedStatParentedCon = nil end displayedStat = newStat if displayedStat then makeTenFootInterfaceStat() updateTenFootStat(displayedStat) displayedStatParentedCon = displayedStat.AncestryChanged:connect(function() updateTenFootStat(displayedStat, "Parent") end) displayedStatChangedCon = displayedStat.Changed:connect(function(prop) updateTenFootStat(displayedStat, prop) end) end end function updateTenFootStat(statObj, property) if property and property == "Parent" then tenFootInterfaceStat.StatName.Text = "" tenFootInterfaceStat.StatValue.Text = "" setDisplayedStat(nil) tenFootInterfaceChanged() else if topStatEnabled then tenFootInterfaceStat.StatName.Text = " " .. tostring(statObj.Name) .. ":" tenFootInterfaceStat.StatValue.Text = tostring(statObj.Value) else tenFootInterfaceStat.StatName.Text = "" tenFootInterfaceStat.StatValue.Text = "" end end end local function isValidStat(obj) return obj:IsA('StringValue') or obj:IsA('IntValue') or obj:IsA('BoolValue') or obj:IsA('NumberValue') or obj:IsA('DoubleConstrainedValue') or obj:IsA('IntConstrainedValue') end local function tenFootInterfaceNewStat( newStat ) if not displayedStat and isValidStat(newStat) then setDisplayedStat(newStat) end end local localPlayer = Players.LocalPlayer while not localPlayer do Players.PlayerAdded:wait() localPlayer = Players.LocalPlayer end function tenFootInterfaceChanged() local leaderstats = localPlayer:FindFirstChild('leaderstats') if leaderstats then local statChildren = leaderstats:GetChildren() for i = 1, #statChildren do tenFootInterfaceNewStat(statChildren[i]) end if leaderstatsChildAddedCon then leaderstatsChildAddedCon:disconnect() end leaderstatsChildAddedCon = leaderstats.ChildAdded:connect(function(newStat) tenFootInterfaceNewStat(newStat) end) end end local leaderstats = localPlayer:FindFirstChild('leaderstats') if leaderstats then tenFootInterfaceChanged() else localPlayer.ChildAdded:connect(tenFootInterfaceChanged) end --Top Stat Public API local topStatApiTable = {} function topStatApiTable:SetTopStatEnabled(value) topStatEnabled = value if displayedStat then updateTenFootStat(displayedStat, "") end end return topStatApiTable end return this end -- Public API local moduleApiTable = {} local TenFootInterfaceModule = CreateModule() function moduleApiTable:IsEnabled() return tenFootInterfaceEnabled end function moduleApiTable:CreateHealthBar() return TenFootInterfaceModule:CreateHealthBar() end function moduleApiTable:CreateAccountType(accountTypeText) return TenFootInterfaceModule:CreateAccountType(accountTypeText) end function moduleApiTable:SetupTopStat() return TenFootInterfaceModule:SetupTopStat() end return moduleApiTable
local function colorEqual(a,b) return a[1] == b[1] and a[2] == b[2] and a[3] == b[3] and a[4] == b[4] end return function(path) local info = assert(require('levels.'..path), "Cannot load level "..path) local m = love.image.newImageData("levels/"..path..".png") local color_to_code = { {{m:getPixel(0,0)}, {1,0,0,0}}, {{m:getPixel(1,0)}, {0,1,0,0}}, {{m:getPixel(2,0)}, {0,0,1,0}}, {{m:getPixel(3,0)}, {0,0,0,1}}, } local goal_color = {m:getPixel(4,0)} info.goals = {} local control = {0,0,0} local map = love.image.newImageData(WIDTH, HEIGHT) map:mapPixel(function(x,y) local c = {m:getPixel(x,y+1)} for i,cc in ipairs(color_to_code) do if colorEqual(cc[1], c) then control[i] = (control[i] or 0) + 1 return unpack(cc[2]) end end if colorEqual(goal_color, c) then info.goals[#info.goals+1] = vector(x,y) info.goals[#info.goals].nr = #info.goals end return 0,0,0,0 end) info.reset = function(timer) info.map = love.image.newImageData(map:getWidth(), map:getHeight()) info.map:paste(map, 0,0,0,0, map:getWidth(), map:getHeight()) info.map_img = love.graphics.newImage(info.map) info.molds = info.initMolds(info.map) info.control = class.clone(control) for i,g in ipairs(info.goals) do info.goals[i] = vector(g:unpack()) end info.onLoad(info, timer or Timer) end info.everyFrame = info.everyFrame or function() end return info end
return (function(RedisDb) function RedisDb:hdel(self,k, ...) local arg = {...} assert(#arg > 0) local r = 0 local x = RedisDb.xgetw(self,k,"hash") for i=1,#arg do assert((type(arg[i]) == "string")) if x[arg[i]] then r = r + 1 end x[arg[i]] = nil end if empty(self,k) then self[k] = nil end return r end function RedisDb:hexists(self,k,k2) return not not RedisDb.hget(self,k,k2) end function RedisDb:hget(self,k,k2) assert((type(k2) == "string")) local x = RedisDb.xgetr(self,k,"hash") return x[k2] end function RedisDb:hset(self,k,k2,v) assert((type(k2) == "string") and (type(v) == "string")) local x = RedisDb.xgetw(self,k,"hash") x[k2] = v return true end end)
data:extend( { ---- Celluluse { type = "item", name = "bi-cellulose", icon = "__Bio_Industries__/graphics/icons/cellulose.png", flags = {"goes-to-main-inventory"}, subgroup = "intermediate-product", order = "b[cellulose]", stack_size = 200 }, --- BioReactor { type = "item", name = "bi-bioreactor", icon = "__Bio_Industries__/graphics/icons/bioreactor.png", flags = {"goes-to-quickbar"}, subgroup = "production-machine", order = "a[bi]-d[bi-bioreactor]", place_result = "bi-bioreactor", stack_size = 10 }, })
--[[ TTT -> Boot Entry (ServerSide) by Tassilo (https://github.com/TASSIA710) --]] -- Generic stuff local start = SysTime() AddCSLuaFile("sh_logging.lua") include("sh_logging.lua") -- Print start Log.Info("------------------------------") Log.Info("Booting...") -- Load shared AddCSLuaFile("shared.lua") include("shared.lua") -- Boot sequence AddCSLuaFile("core/cl_init.lua") include("core/sv_init.lua") -- Start gamemode -- TODO -- Print finished Log.Info("Done! Took " .. math.Round((SysTime() - start) * 1000, 2) .. "ms") Log.Info("------------------------------")
local module = {} local Sending = {} local SpyMode = false local Connected = false local Confirmation = false local Id = "" local SearchWord = "" local BaseURL = "http://omegle.com/" local http = game:GetService("HttpService") local chatservice = game:GetService("Chat") local Event = Instance.new("BindableEvent") local Colors = { Cyan = Color3.fromRGB(0,255,255), Blue = Color3.fromRGB(0,0,255), Yellow = Color3.fromRGB(255,255,0), Red = Color3.fromRGB(255,0,0), Green = Color3.fromRGB(0,255,0) } local SendEvent = function(m,c) Event:Fire(m,c) end local toHex = function(n) local b, k, ret, i, d = 16, "0123456789ABCDEF", "", 0, nil while n>0 do i = i + 1 n, d = math.floor(n/b), n%b + 1 ret = string.sub(k, d, d)..ret end return ret end local MessageSplit = function(message, prefix) local r = {} for c in message:gmatch('([^'..prefix..']+)') do r[#r+1] = c end return r end function fromHex(str) return (str:gsub('..', function (cc) return string.char(tonumber(cc, 16)) end)) end local New; local GetNewId; GetNewId = function(spy) local token = http:UrlEncode('["'..SearchWord..'"]') local url = BaseURL.."start?caps=recaptcha2&firstevents=1&spid=&randid="..toHex(math.random(1,500000)).."&topics="..token.."&lang=en" Id = http:GetAsync(url,false) if Id:find("You are temporarily banned.") then SendEvent('You are temporarily banned',Colors.Red) elseif Id:find("\[[\"waiting\"]],") then SendEvent("Queued, reconnecting",Colors.Red) New() end end New = function() Connected = false local r,e = pcall(function() local spy = "&wantsspy=1" if not SpyMode then spy = "" end GetNewId(spy) if Id and Id:sub(1,1) == "{" then Id = http:JSONDecode(Id).clientID Connected = true end end) if (not r) then warn("Connection error:",e) SendEvent('Connection error : '..e,Colors.Red) end SendEvent('Connected',Colors.Blue) end local SendConfirmation = function() if Confirmation == true then local confirmation = "Your connected to a roblox server! https://www.roblox.com/games/4600186951/Omegle-Chat" table.insert(Sending,{player=nil,address=BaseURL.."send",message="msg=["..http:UrlEncode(confirmation).."&id="..http:UrlEncode(Id),base=confirmation}) SendEvent('Sent confirmation',Colors.Blue) end end local Disconnect = function() http:PostAsync(BaseURL.."disconnect","id="..http:UrlEncode(Id), 2) Connected = false SendEvent('Disconnected',Colors.Blue) end local Chatted; Chatted = function(p,m) if m:sub(0,1) ~= "/" then if m:sub(0,4) == "!new" or m:sub(0,8) == "!connect" then pcall(function() Disconnect() end) New() elseif m:sub(0,3) == "!sw" then SpyMode = (not SpyMode) elseif m:sub(0,3) == "!dc" then Disconnect() elseif m:sub(0,4) == "!key" then SearchWord = m:sub(6) Disconnect() New() elseif m:sub(0,8) == "!confirm" then Confirmation = (not Confirmation) else if Connected == true then --m = chatservice:FilterStringForBroadcast(m, p) table.insert(Sending,{player=p,address=BaseURL.."send",message="msg=["..http:UrlEncode(m).."&id="..http:UrlEncode(Id),base=m}) end end end end module.connectPlayer = function(p) p.Chatted:Connect(function(m) Chatted(p,m) end) SendEvent(p.Name.." chat connected",Colors.Yellow) end spawn(function() while true do pcall(function() local received = http:PostAsync(BaseURL.."events","id="..http:UrlEncode(Id), 2) local chatdata = http:JSONDecode(received) if type(chatdata) == "table" and chatdata[1] ~= nil then local context = chatdata[1] if context[1]:lower() == "connected" then SendEvent("[Stranger Connected]",Colors.Green) SendConfirmation() elseif context[1]:lower() == "gotmessage" then local msg = context[2] --msg = chatservice:FilterStringForBroadcast(msg, game.Players:GetPlayers()[1]) SendEvent("[Stranger]:"..msg,Colors.Cyan) elseif context[1]:lower() == "typing" then SendEvent("[Stranger Is Typing]",Colors.Green) elseif context[1]:lower() == "strangerdisconnected" then New() SendEvent("[Stranger Left, reconnecting]",Colors.Blue) elseif context[1]:lower() == "identdigests" then else print(context[1]:lower(),context[2]:lower()) end end end) wait(.35) end end) spawn(function() while true do pcall(function() if #Sending > 0 then local Outgoing = Sending[1] local Address = Outgoing.address local Message = Outgoing.message local BaseMsg = Outgoing.base local reqpost = http:PostAsync(Address, Message, 2) table.remove(Sending, 1) SendEvent("[You]: "..BaseMsg,Colors.Yellow) end end) wait(.35) end end) game:BindToClose(function() Disconnect() end) return {Connect=module.connectPlayer,OnNetworkEvent=Event}
-- Generated by CSharp.lua Compiler local System = System local SlipeMtaDefinitions System.import(function (out) SlipeMtaDefinitions = Slipe.MtaDefinitions end) System.namespace("Slipe.Server.Acl", function (namespace) -- <summary> -- Class that wraps static ACL functions -- </summary> namespace.class("AclFile", function (namespace) local Reload, Save -- <summary> -- This function reloads the ACL's and the ACL groups from the ACL XML file. All ACL and ACL group elements are invalid after a call to this and should not be used anymore. -- </summary> Reload = function () return SlipeMtaDefinitions.MtaServer.AclReload() end -- <summary> -- The ACL XML file is automatically saved whenever the ACL is modified, but the automatic save can be delayed by up to 10 seconds for performance reasons. Calling this function will force an immediate save. -- </summary> Save = function () return SlipeMtaDefinitions.MtaServer.AclSave() end return { Reload = Reload, Save = Save, __metadata__ = function (out) return { methods = { { "Reload", 0x8E, Reload, System.Boolean }, { "Save", 0x8E, Save, System.Boolean } }, class = { 0xE } } end } end) end)
Key = require("lib.Keyboard") Tween = require("lib.Tween") local GPM = require("lib.GamepadMgr") local SM = require("lib.SceneMgr") local Event = require("lib.Events") local sm local gpm = GPM({"assets/gamecontrollerdb.txt"}) function love.load() --Love2D game settings love.graphics.setDefaultFilter('nearest', 'nearest') local font = love.graphics.newFont("assets/SuperMario256.ttf", 20) --set the font to the one above love.graphics.setFont(font) _G.events = Event(false) Key:hook_love_events() gpm.event:hook('controller_added', on_controller_added) gpm.event:hook('controller_removed', on_controller_removed) sm = SM("scenes", {"MainMenu", "Test", "TweenTest"}) --sm:switch("MainMenu") --sm:switch("Test") sm:switch("TweenTest") end function on_controller_added(joyId) print("controller " .. joyId .. "added") end function on_controller_removed(joyId) print("controller " .. joyId .. "removed") end function love.update(dt) if dt > 0.035 then return end -- if Key:key_down(",") then -- sm:switch("MainMenu") -- elseif Key:key_down(".") then -- sm:switch("Test") -- end sm:update(dt) Key:update(dt) gpm:update(dt) Tween.update(dt) end function love.draw() sm:draw() end
tigris.magic.register_potion("tigris_magic:health_potion", { description = "Health Restoration Potion", longdesc = "Restores a large amount of health.", color = "#F00", emblem = "defense", on_use = function(itemstack, player) player:set_hp(player:get_hp() + 7) return true end, }) minetest.register_craft({ output = "tigris_magic:health_potion", type = "shapeless", recipe = {"tigris_magic:minor_health_potion", "tigris_magic:blood_essence", "tigris_mobs:mese_heart"}, })
--[[--ldoc desc @Module GameScene8.lua @Author JasonLiu Date: 2018-10-24 10:51:43 Last Modified by: JasonLiu Last Modified time: 2018-10-25 11:48:48 ]] local BetViewCtr = require("app.demo.JasonLiu.module.bet.BetViewCtr") local function main() local scene = cc.Scene:create() scene:addChild(BetViewCtr:create():getView():move(display.cx, display.cy)) scene:addChild(CreateBackMenuItem()) return scene end return main
local colors = { head = Color(192, 57, 43, 255), back = Color(236, 240, 241, 255), text = Color(255, 255, 255, 255), text_blue = Color(52, 152, 219, 255), btn = Color(52, 73, 94, 255), btn_hover = Color(44, 62, 80, 255), btn_disabled = Color(52, 73, 94, 150), open = Color(46, 204, 113, 255), open_hover = Color(39, 174, 96, 255), open_disabled = Color(46, 2014, 113, 150), cancel = Color(231, 76, 60, 255), cancel_hover = Color(192, 57, 43, 255), bar = Color(189, 195, 199, 255), barup = Color(127, 140, 141, 255), closed = Color(230, 126, 34, 255), closed_hover = Color(211, 84, 0, 255), info_back = Color(189, 195, 199, 255), gray = Color(189, 195, 199, 255), gray_hover = Color(127, 140, 141, 255), } --[[asdf]]-- surface.CreateFont("shopHead", {font = "OpenSans-Bold", size = 60, weight = 500}) surface.CreateFont("shopBtn", {font = "OpenSans-Regular", size = 30, weight = 500}) surface.CreateFont("shopBtnSmall", {font = "OpenSans-Light", size = 15, weight = 500}) net.Receive("Shop_UpdateClientItems", function() local items = net.ReadString() or " " local equiped = net.ReadString() or " " timer.Create("timers_r_gay", 0.1, 0, function() if (LocalPlayer() and IsValid(LocalPlayer())) then LocalPlayer().Items = util.JSONToTable(items) LocalPlayer().Equiped = util.JSONToTable(equiped) timer.Destroy("timers_r_gay") MsgN("UPDATED") end end) end) local function createShopGUI() if (!LocalPlayer():IsSuperAdmin()) then chat.AddText("This is in beta, only super admins may use it!"); return; end local function getItemsForCategory(sCat) local tbl = {} for k,v in pairs(shop.Items) do if (v.category == sCat) then tbl[k] = v end end return tbl end local frame = vgui.Create("DFrame") frame:SetSize(837, 545) frame:Center() frame:SetTitle(" ") frame:MakePopup() frame:ShowCloseButton(true) function frame:Paint(w, h) draw.RoundedBox(0, 0, 0, w, h, colors.back); draw.RoundedBox(0, 0, 0, w, 100, colors.head); draw.SimpleText("CShop", "shopHead", w / 2, 20, colors.text, TEXT_ALIGN_CENTER); end local catScroll = vgui.Create("DScrollPanel", frame) catScroll:SetSize(200, frame:GetTall() - 5) catScroll:SetPos(5, 110) local catList = vgui.Create("DIconLayout") catScroll:AddItem(catList) catList:SetSize(catScroll:GetWide(), catScroll:GetTall()) catList:SetPos(0, 0) catList:SetSpaceY(2) local itScroll = vgui.Create("DScrollPanel", frame) itScroll:SetSize(frame:GetWide() - 210, frame:GetTall() - 35) itScroll:SetPos(210, 110) local itList = vgui.Create("DIconLayout") itScroll:AddItem(itList) itList:SetSize(itScroll:GetWide() - 5, itScroll:GetTall()) itList:SetPos(0, 0) itList:SetSpaceY(1) local close = vgui.Create("DButton", frame) close:SetSize(150, 25) close:SetPos(frame:GetWide() - close:GetWide() - 5, frame:GetTall() - close:GetTall() - 5) close:SetText("") local ca = false; function close:OnCursorEntered() ca = true; end function close:OnCursorExited() ca = false; end function close:Paint(w, h) if (ca) then draw.RoundedBox(0, 0, 0, close:GetWide(), close:GetTall(), colors.cancel_hover); else draw.RoundedBox(0, 0, 0, close:GetWide(), close:GetTall(), colors.cancel); end draw.SimpleText("Close", "shopBtnSmall", close:GetWide() / 2, 6, colors.text, TEXT_ALIGN_CENTER); end function close:DoClick() frame:Remove() end local function populateItemList(items) itList:Clear() for k,v in pairs(items) do local pnl = vgui.Create("DPanel", itList) pnl:SetSize(itList:GetWide(), 75) function pnl:Paint(w, h) draw.RoundedBox(0, 0, 0, w, h, colors.gray_hover); end local it = vgui.Create("DLabel", pnl) it:SetPos(0, 5) it:SetText(k) it:SetFont("shopBtnSmall") it:SetTextColor(colors.text) it:SizeToContents() it:CenterHorizontal() local txt = "Cost: "..v.price.." Dollars" if (v.canSell and LocalPlayer():ownsItem(k)) then txt = "Refund: "..v.sell.." Dollars" elseif (!v.canSell and LocalPlayer():ownsItem(k)) then txt = "No refund" end surface.SetFont(it:GetFont()) local w,h = surface.GetTextSize(txt) local costp = vgui.Create("DPanel", pnl) costp:SetPos(pnl:GetWide() - 150 - 5, 0) costp:SetSize(150, 25) function costp:Paint(w, h) draw.RoundedBox(0, 0, 0, w, h, colors.gray); end local cost = vgui.Create("DLabel", costp) cost:SetPos(0, 5) cost:SetText(txt) cost:SetTextColor(colors.text) cost:SetFont("shopBtnSmall") cost:SizeToContents() cost:CenterHorizontal() if (v.display.type == "material") then local mat = vgui.Create("DPanel", pnl) mat:SetSize(65, 65) mat:SetPos(5, 5) function mat:Paint(width, height) surface.SetMaterial(Material(v.display.path, "noclamp")) surface.SetDrawColor(Color(255, 255, 255, 255)) surface.DrawTexturedRect(0, 0, width, height) end elseif (v.display.type == "model") then local mod = vgui.Create("DModelPanel", pnl) mod:SetSize(65, 65) mod:SetPos(5, 5) mod:SetModel(Model(v.display.path)) end local desc = vgui.Create("DLabel", pnl) desc:SetPos(75, 30) desc:SetSize(pnl:GetWide() - 75 - 155, pnl:GetTall() - 40) desc:SetText(v.description or "No description") desc:SetWrap(true) desc:SetFont("shopBtnSmall"); desc:SetTextColor(colors.text) if (LocalPlayer():ownsItem(k)) then local eq = vgui.Create("DButton", pnl) eq:SetSize(150, 25) eq:SetPos(pnl:GetWide() - eq:GetWide() - 160, pnl:GetTall() - 30) local t = "Equip" local eqi = LocalPlayer():getEquipedPerCategory(v.category) if (eqi[k]) then t = "Holster" else local catMax = shop.Categories[v.category].maxEquiped if (#eqi + 1 > catMax) then eq:SetDisabled(true) eq:SetToolTip("You can't equip any more for this category!") end end local e = false; function eq:OnCursorEntered() e = true; end function eq:OnCursorExited() e = false; end function eq:Paint(w, h) if (e) then draw.RoundedBox(0, 0, 0, w, h, colors.closed_hover); else draw.RoundedBox(0, 0, 0, w, h, colors.closed); end draw.SimpleText(t, "shopBtnSmall", w / 2, 6, colors.text, TEXT_ALIGN_CENTER); end function eq:DoClick() if (eqi[k]) then net.Start("Shop_HolsterItem") net.WriteString(k) net.SendToServer() else net.Start("Shop_EquipItem") net.WriteString(k) net.SendToServer() end end eq:SetText(" ") local sell = vgui.Create("DButton", pnl) sell:SetSize(150, 25) sell:SetText(" ") sell:SetPos(pnl:GetWide() - sell:GetWide() - 5, pnl:GetTall() - sell:GetTall() - 5) if (!v.canSell) then sell:SetDisabled(true) sell:SetToolTip("This item is un-sellable!") end function sell:DoClick() net.Start("Shop_SellItem") net.WriteString(k) net.SendToServer() end local sa = false; function sell:OnCursorEntered() sa = true; end function sell:OnCursorExited() sa = false; end function sell:Paint(w, h) if (sa) then draw.RoundedBox(0, 0, 0, w, h, colors.cancel_hover); else draw.RoundedBox(0, 0, 0, w, h, colors.cancel); end draw.SimpleText("Sell", "shopBtnSmall", w / 2, 6, colors.text, TEXT_ALIGN_CENTER); end else local buy = vgui.Create("DButton", pnl) buy:SetSize(150, 25) buy:SetText(" ") buy:SetPos(pnl:GetWide() - buy:GetWide() - 5, pnl:GetTall() - buy:GetTall() - 5) if (!LocalPlayer():canAfford(v.price)) then buy:SetDisabled(true) buy:SetText("You can't afford this!") end function buy:DoClick() net.Start("Shop_BuyItem") net.WriteString(k) net.SendToServer() end local ba = false; function buy:OnCursorEntered() ba = true; end function buy:OnCursorExited() ba = false; end buy.Paint = function() if (ba) then draw.RoundedBox(0, 0, 0, buy:GetWide(), buy:GetTall(), colors.open_hover); else draw.RoundedBox(0, 0, 0, buy:GetWide(), buy:GetTall(), colors.open); end draw.SimpleText("Buy", "shopBtnSmall", buy:GetWide() / 2, 6, colors.text, TEXT_ALIGN_CENTER); end end end end local ct = 0 local activeCat = ""; for k,v in pairs(shop.Categories or {}) do local catBtn = vgui.Create("DButton", catList) catBtn:SetSize(catList:GetWide(), 25) catBtn:SetText("") if (v.image) then catBtn:SetImage(v.image) end function catBtn:DoClick() local items = getItemsForCategory(k) populateItemList(items) activeCat = k; end if (ct == 0) then local items = getItemsForCategory(k) populateItemList(items) end local cb = false; function catBtn:OnCursorEntered() cb = true; end function catBtn:OnCursorExited() cb = false; end catBtn.Paint = function() if (k == activeCat) then if (cb) then draw.RoundedBox(0, 0, 0, catBtn:GetWide(), catBtn:GetTall(), colors.btn_hover); else draw.RoundedBox(0, 0, 0, catBtn:GetWide(), catBtn:GetTall(), colors.btn); end draw.SimpleText(k, "shopBtnSmall", catBtn:GetWide() / 2, 6, colors.text, TEXT_ALIGN_CENTER); else if (cb) then draw.RoundedBox(0, 0, 0, catBtn:GetWide(), catBtn:GetTall(), colors.gray_hover); else draw.RoundedBox(0, 0, 0, catBtn:GetWide(), catBtn:GetTall(), colors.gray); end draw.SimpleText(k, "shopBtnSmall", catBtn:GetWide() / 2, 6, colors.text, TEXT_ALIGN_CENTER); end end end end concommand.Add("shop", createShopGUI)
-- Event notes hooks function onEvent(name, value1, value2) if name == 'Regeneration' then heal = tonumber(value1); setProperty('health', getProperty('health') + heal); end targetAlpha = tonumber(value2); if duration > 0 then duration = duration - 1 * elapsed; setProperty('health', getProperty('health') + value2 * elapsed); end end
add_rules("mode.debug","mode.release") option("configure") set_default(true) set_showmenu(true) option("demo") set_default(true) set_showmenu(true) option("demo_path") set_showmenu(true) if has_config("configure") then target("configure1") on_load(function ( target ) import("core.project.config") str=path.absolute(config.buildir()) str1=string.gsub(str,"\\","/") str2="#define MESH_VIEWER_PATH \""..str1.."/..\"" io.writefile("include/config.h",str2) end) includes("src/*.lua") if has_config("demo") then target("main") add_deps("viewer") set_targetdir("bin") set_kind("binary") add_files("$(demo_path)/*.cpp","$(demo_path)/*.c") ---print("fdsfsdfd") add_includedirs("include","$(demo_path)/include","thirdpart/cstructures/include","thirdpart/glad/include","thirdpart/glfw/include","thirdpart/freetype/include") if is_plat("windows","mingw") then --- print("windwos") add_links("cstructures","glfw3","opengl32","freetype","viewer","gdi32","comdlg32","advapi32","Z") end if is_plat("linux") then add_links("cstructures","glfw3", "GL", "Xrandr", "Xi", "X11", "Xxf86vm", "pthread", "Xinerama", "Xcursor", "dl", "freetype", "png", "z", "harfbuzz") end add_linkdirs("lib","temp_libs") add_ldflags("-no-pie ") end end -- target("viewer_matrix4x4") -- set_kind("static") -- set_targetdir("temp_libs") -- add_files("src/Math/*.c") -- add_includedirs("include") -- add_ldflags(-static-libstdc++ -static-libgcc) -- add_links(glfw3 Gl Xrandr Xi X11 Xxf86vm pthread Xinerama Xcursor m dl freetype png z harf buzz) -- target("main") -- set_kind("binary") -- add_files("Demo/*.cpp","Demo/*.c") -- add_includedirs("include","Demo/include","thirdpart/cstructures/include","thirdpart/glad/include","thirdpart/glfw/include","thirdpart/freetype/incldue")
-- -- Created by IntelliJ IDEA. -- User: macbookair -- Date: 09/04/17 -- Time: 22:48 -- To change this template use File | Settings | File Templates. -- --[[ -- TODO: - * Gerar SQL CREATE TABLE * Gerar SQL Insert * Gerar SQL Select * Gerar SQL Where * Gerar SQL order * Gerar SQL group ]] local class = require("lib.external.30log") require("lib.util.table_util") --[[ -- Generates SQLs queries as strings to be used on SQLite ]] Table = class("Table") function Table:_isModelValid(model) if model == nil or type(model) ~= "table" then error("A model was expected to be different from nil and as a lua table.") end if model.name == nil or model.columns == nil or type(model.columns) ~= "table" then error("Your model must have a name and a columns as properties.") end return true end function Table:_extractValuesForColumnsFromModel(model) local columnValues = {} for columnName, definitions in pairs(model.columns) do local columnValue = "null" if model[columnName] ~= nil then if type(model[columnName]) == "string" then columnValue = "'"..model[columnName].."'" else columnValue = model[columnName] end end --table.insert(columnValues, columnValue) columnValues[columnName] = columnValue end return columnValues end -- TODO: verificar para que o usuário não coloque nomes inválidos para a coluna (http://www.sqlite.org/lang_keywords.html) function Table:_generateSQL(model) local sql if self:_isModelValid(model) then local sizeOfColumns = table.getSize(model.columns) local counterForLoop = sizeOfColumns --[[for columnName, definitions in pairs(model.columns) do numberOfColumns = numberOfColumns+1 end]] sql = "CREATE TABLE IF NOT EXISTS "..model.name.." (" for columnName, definitions in pairs(model.columns) do local columnDefinitionSQL = "" for k,v in pairs(definitions) do if k == "notNull" and v == true then columnDefinitionSQL = columnDefinitionSQL.."not null" end end sql = sql.." "..columnName.." "..columnDefinitionSQL.."" counterForLoop = counterForLoop-1 if counterForLoop == 0 then --sql = sql..")" else sql = sql.."," end end local sqlForeignKeys = "" if model.belongsTo ~= nil and type(model.belongsTo) == "table" then local sizeOfBelongsTo = table.getSize(model.belongsTo) local counterForLoop = sizeOfBelongsTo for foreignKey, foreignTable in pairs(model.belongsTo) do sql = sql..", "..foreignKey.."_id" sqlForeignKeys = sqlForeignKeys..", ".."FOREIGN KEY("..foreignKey.."_id) REFERENCES "..foreignTable.."(rowid)" counterForLoop = counterForLoop-1 if counterForLoop == 0 then --sql = sql..")" else --sql = sql.."," end end sql = sql..sqlForeignKeys --else end sql = sql..")" --FOREIGN KEY(chave_primaria) REFERENCES tabela_externa(id_externo) end return sql end function Table:_generateSQLInsert(model) local sql = nil if self:_isModelValid(model) then --local columnValues = {} local columnValues = self:_extractValuesForColumnsFromModel(model) local sizeOfColumns = table.getSize(model.columns) local counterForLoop = sizeOfColumns sql = "INSERT INTO "..model.name local sqlColumns = " (" local sqlValues = " VALUES (" if model.belongsTo ~= nil and type(model.belongsTo) == "table" then local sizeOfBelongsTo = table.getSize(model.belongsTo) local counterForLoop = sizeOfBelongsTo for foreignKey, foreignTableName in pairs(model.belongsTo) do -- verificar se existe um atributo model[foreignkey] local columnName = foreignKey.."_id" local columnValue = "null" if model[foreignKey] ~= nil and type(model[foreignKey]) == "table" and model[foreignKey].rowid ~= nil and type(model[foreignKey].rowid) == "number" then columnValue = model[foreignKey].rowid end sqlColumns = sqlColumns..""..columnName sqlValues = sqlValues..""..columnValue if counterForLoop ~= 0 then sqlColumns = sqlColumns.."," sqlValues = sqlValues.."," end counterForLoop = counterForLoop-1 end end for columnName, columnValue in pairs(columnValues) do sqlColumns = sqlColumns..""..columnName sqlValues = sqlValues..""..columnValue counterForLoop = counterForLoop-1 if counterForLoop == 0 then sqlColumns = sqlColumns..")" sqlValues = sqlValues..")" else sqlColumns = sqlColumns.."," sqlValues = sqlValues.."," end end sql = sql..sqlColumns..sqlValues end return sql end function Table:_generateSQLSelect(model) local sql = nil if model ~= nil and model.name ~= nil and type(model.name) == "string" then --sql = "SELECT "..model.name..".rowid, * FROM "..model.name sql = "SELECT t1.rowid as "..model.name.."_rowid, "--..", a.*, b.* FROM "..model.name.." as a" local sizeOfColumns = table.getSize(model.columns) local counterForLoop = sizeOfColumns -- this counter will be used to differentiate columns for every table when joining local tableCount = 2 for columnName, definitions in pairs(model.columns) do sql = sql.."t1."..columnName.." as "..model.name.."_"..columnName counterForLoop = counterForLoop-1 if counterForLoop ~= 0 then sql = sql.."," end end local foreignKeySQL = "" if model.belongsTo ~= nil and type(model.belongsTo) == "table" then -- SELECT a.rowid as a_rowid, * FROM Casa as a LEFT OUTER JOIN Pessoa as b on a.pessoa_id = b.rowid for foreignKey, foreignTable in pairs(model.belongsTo) do foreignKeySQL = foreignKeySQL.." LEFT OUTER JOIN " --sql = sql..foreignTable.." ON "..model.name.."."..foreignKey.."_id = "..foreignTable..".rowid" foreignKeySQL = foreignKeySQL..foreignTable.." as t"..tableCount.." ON t1."..foreignKey.."_id = t"..tableCount..".rowid" -- TODO: ao recuperar do servidor, então construir para o JOIN -- "SELECT t1.rowid as Casa_rowid, t1.nome as Casa_nome,t1.idade as Casa_idade, t2.sobrenome as Pessoa_sobrenome, t2.cpf as Pessoa_cpf FROM Casa as t1 LEFT OUTER JOIN Pessoa as t2 ON t1.pessoa_id = t2.rowid" local myClass = require("models."..foreignTable) -- TODO: do validations on foreigntable to check if it contains columns, name and such. sql = sql..", t"..tableCount..".rowid as "..foreignKey.."_rowid" for columnName, definitions in pairs(myClass.columns) do sql = sql..", t"..tableCount.."."..columnName.." as "..foreignKey.."_"..columnName end tableCount = tableCount+1 end end sql = sql.." FROM "..model.name.." as t1" sql = sql..foreignKeySQL -- where e or if model.whereClause ~= nil then if type(model.whereClause) ~= "string" then error("An invalid WHERE clause was passed.") end if model.orClause ~= nil and type(model.orClause) ~= "string" then error("An invalid OR clause was passed.") end sql = sql..model.whereClause if model.orClause ~= nil then sql = sql..model.orClause end end else error("A model was expected to be different from nil and as a lua table. Also it must have a name.") end return sql end function Table:_generateSQLDelete(model) local sql = nil if model ~= nil and model.name ~= nil and type(model.name) == "string" and model.rowid ~= nil then sql = "DELETE FROM "..model.name.." WHERE rowid = "..model.rowid else error("A model was expected to be different from nil and as a lua table. Also it must have a name and a rowid.") end return sql end -- SELECT t1.rowid as Casa_rowid, t1.nome as Casa_nome,t1.idade as Casa_idade, t2.rowid as pessoa_rowid, t2.sobrenome as pessoa_sobrenome, t2.cpf as pessoa_cpf FROM Casa as t1 LEFT OUTER JOIN Pessoa as t2 ON t1.pessoa_id = t2.rowid WHERE t1.pessoa_id = 1 --[[ -- Creates a SQL in format: column = value for use in WHERE. ]] function Table:_generateColumnValueForConditions(conditions, separator) if type(separator) ~= "string" or separator == "" then error("You passed a invalid separator. It must be a string and not be empty.") end local sql = "" local sizeOfColumns = table.getSize(conditions) local counterForLoop = sizeOfColumns for column, value in pairs(conditions) do if type(value) == "string" then value = "'"..value.."'" end sql = sql.." t1."..column.." = "..value counterForLoop = counterForLoop-1 if counterForLoop ~= 0 then sql = sql.." "..separator end end return sql end -- TODO: fazer com que as conditions estejam associadas ao model function Table:_generateSQLWhere(conditions) if conditions == nil or type(conditions) ~= "table" then error("Cannot create where clause without conditions.") end local sizeOfColumns = table.getSize(conditions) if sizeOfColumns == 0 then error("Cannot create where clause with empty conditions.") end local sql = " WHERE" sql = sql..self:_generateColumnValueForConditions(conditions, 'AND') return sql end function Table:_generateSQLWhereOR(conditions) if conditions == nil or type(conditions) ~= "table" then error("Cannot create where clause without conditions.") end local sizeOfColumns = table.getSize(conditions) if sizeOfColumns == 0 then error("Cannot create where clause with empty conditions.") end local sql = " OR" sql = sql..self:_generateColumnValueForConditions(conditions, 'OR') return sql end function Table:_generateSQLUpdate(model) local sql local columnValues = self:_extractValuesForColumnsFromModel(model) local sizeOfColumns = table.getSize(model.columns) local counterForLoop = sizeOfColumns if model ~= nil and model.name ~= nil and type(model.name) == "string" and model.rowid ~= nil then sql = "UPDATE "..model.name.." SET" for columnName, columnValue in pairs(columnValues) do sql = sql.." "..columnName.." = "..columnValue counterForLoop = counterForLoop-1 if counterForLoop == 0 then sql = sql.."" else sql = sql.."," end end if model.belongsTo ~= nil and type(model.belongsTo) == "table" then for foreignKey, foreignTable in pairs(model.belongsTo) do if model[foreignKey] ~= nil and type(model[foreignKey]) == "table" and model[foreignKey].rowid ~= nil then sql = sql..", "..foreignKey.."_id = "..model[foreignKey].rowid else sql = sql..", "..foreignKey.."_id = null" end end end sql = sql.." WHERE rowid = "..model.rowid else error("A model was expected to be different from nil and as a lua table. Also it must have a name and a rowid.") end return sql end return Table
--[[ © 2020 TERRANOVA do not share, re-distribute or modify without permission of its author. --]] TRAIT.name = "Outgoing"; TRAIT.opposite = "Shy"; TRAIT.description = "Let's head out, I'm ready for a good time."; TRAIT.category = "Mentality"; TRAIT.icon = "materials/terranova/ui/traits/outgoing.png";
-- use { -- "luisiacc/gruvbox-baby", -- config = function() -- require("colorschemes.gruvbox_baby") -- end -- } vim.g.transparent_mode = 1 vim.cmd("colo gruvbox-baby")
--Scope: 1 local move = table.move local insert = table.insert local remove = table.remove local create = table.create local function setmeta() end --see Source file for implementation local function getIndex(self, num, pos) return type(num) == 'number' and (num > 0 and num or num + #self + 1) or error('bad argument #' .. pos .. '(number expected, got ' .. type(num) .. ')', 2) end local function get(self, val) if type(val) == 'number' then return self[(val > 0 and val or val + #self + 1)] else return self[val] end end local function concat(self, sep) local components = {} for i,v in ipairs(self) do components[#components + 1] = tostring(v) end return table.concat(components, sep or '') end local function fill(self, first, second, third) local dType = type(second) if dType == 'number' then insert(self, getIndex(self, second), first) elseif dType == 'table' then if next(second) then if third then for i,v in pairs(second) do self[getIndex(self, v)] = first end else for i,v in pairs(second) do insert(self, getIndex(self, v), first) end end else local length = #self move(create(length, first), 1, length, 1, self) end else error('bad argument #2 (number or table expected)', 2) end end
return { no_consumer = true, fields = { url = { required = true, type = "url" }, path = { required = true, type = "string" }, authResponseHeaders = { type = "array" }, connect_timeout = { default = 30000, type = "number" }, send_timeout = { default = 30000, type = "number" }, read_timeout = { default = 30000, type = "number" } } }
local redis = require "resty.redis" local persona = require 'persona' local config = ngx.shared.config -- Only load config once. TODO Needs a /reload url to reload config / unset it. if not config then local f = assert(io.open(ROOT_PATH .. "/etc/config.json", "r")) local c = f:read("*all") f:close() config = cjson.decode(c) ngx.shared.config = config end local function verify_access_key(red, key, album) local accesskey = 'album:' .. album .. ':' .. key local exists = red:exists(accesskey) == 1 if exists then -- set correct expire headres local ttl = red:ttl(accesskey) ngx.header["Expires"] = ngx.http_time( ngx.time() + ttl) ngx.header["Cache-Control"] = "max-age=" .. ttl end return exists end local function exit(red, status) local ok, err = red:set_keepalive(0, 100) ngx.exit(status) end -- helper function to verify that the current user is logged in and valid -- using persona local function is_admin() if persona.get_current_email() == config.admin then return true end return false end BASE = config.path.base local red = redis:new() local match = ngx.re.match(ngx.var.uri, "^/(album|img)/(\\w+)/([a-zA-Z0-9-_\\.]+)/(.*)?/?", "o") if match then local urltype = match[1] local key = match[2] local album = match[3] local img = match[4] local ok, err = red:connect("unix:" .. config.redis.unix_socket_path) local verified = false -- IP based admin access if is_admin() then verified = true else verified = verify_access_key(red, key, album) end if verified then local tag = red:hget(album .. 'h', 'tag') if urltype == 'album' then local uri = BASE .. 'album/' .. tag .. '/' .. album .. '/' if img then uri = uri .. img end ngx.var.IMGBASE = '/img/' .. key .. '/' .. album .. '/' --ngx.log(ngx.ERR, '---***---: rewrote URI:' .. ngx.var.uri .. '=>' .. uri) ngx.req.set_uri(uri) elseif urltype == 'img' then local uri = ngx.var.IMGBASE .. img --ngx.log(ngx.ERR, '---***---: rewrote URI:' .. ngx.var.uri .. '=>' .. uri) ngx.req.set_uri(uri) else --ngx.log(ngx.ERR, '---***---: 404 in rewriter with requested URI:' .. ngx.var.uri) exit(red, 404) end else exit(red, 410) end end local ok, err = red:set_keepalive(0, 100) -- 1 week cache ngx.header["Expires"] = ngx.http_time( ngx.time() + 86400*7 ) --ngx.exit(404)
local util = require("terrautil") local List = require("terralist") local function expectedtype(typeobj,value) local err = ("expected '%s' but found '%s'"):format(tostring(typeobj),type(value)) local mt = getmetatable(value) if mt then err = ("%s (metatable = %s)"):format(err,tostring(mt)) end return err end local function reporterr(depth,what,idx,msg) local fmt = "bad %s #%d to '%s' %s" local funcname = debug.getinfo(depth,"n").name or "?" local err = fmt:format(what,idx,funcname,msg) error(err,depth) end local function istype(typ,value) local typekind = type(typ) if typekind == "string" then if type(value) == typ then return true else return false, expectedtype(typ,value) end elseif typekind == "table" then local isclassof = typ.isclassof if isclassof then local valid, msg = isclassof(typ,value) if valid then return true else return false,msg or expectedtype(typ,value) end end end return false, ("because it has a bad type annotation, expected string or table with :isclassof method but found '%s'"):format(typekind) end local function check(depth,typ,what,idx,value) local valid,msg = istype(typ,value) if valid then return value end reporterr(depth+1,what,idx,msg) end function __argcheck(typ,idx,value) return check(2,typ,"argument",idx,value) end -- have to use recursion to handle nil values in ... correctly local function doretcheck(N,types,i,v,...) if i > N then return end return check(2+i,types[i],"value being returned",i,v),doretcheck(N,types,i+1,...) end -- note: __retcheck is always a tailcall so debug info for the function actually returning -- is not on the stack, instead we have to report errors relative to the function that -- called it "value being returned #2 to 'caller_fn'" is supposed to convey that function __retcheck(types,...) local expected = #types local actual = select("#",...) if actual > expected then error(("expected %d return values but found %d"):format(expected,actual),2) end return doretcheck(expected,types,1,...) end -- Type constructors for common checks local ListOfType = {} ListOfType.__index = ListOfType function ListOfType:isclassof(value) if not List:isclassof(value) then return false, expectedtype(tostring(self),value) end if #value > 0 then local first = value[1] local valid,msg = istype(self.element,first) if not valid then return false, ("%s as first element of %s"):format(msg,tostring(self)) end end return true end function ListOfType:__tostring() return ("ListOf(%s)"):format(tostring(self.element)) end function ListOf(type) return setmetatable({ element = type },ListOfType) end ListOf = util.memoize(ListOf) local OptionOfType = {} OptionOfType.__index = OptionOfType function OptionOfType:isclassof(value) if value == nil then return true end return istype(self.element,value) end function OptionOfType:__tostring() return ("OptionOf(%s)"):format(tostring(self.element)) end function OptionOf(type) return setmetatable({ element = assert(type) },OptionOfType) end OptionOf = util.memoize(OptionOf) local MapOfType = {} MapOfType.__index = MapOfType function MapOfType:isclassof(value) if type(value) ~= "table" then return false, expectedtype(tostring(self),value) end for k,v in pairs(value) do local valid, msg = istype(self.key,k) if not valid then return false, ("%s as key of %s"):format(msg,tostring(self)) end local valid, msg = istype(self.value,v) if not valid then return false, ("%s as value of %s"):format(msg,tostring(self)) end break -- only check one entry, all type annotations should be O(1) time end return true end function MapOfType:__tostring() return ("MapOf(%s,%s)"):format(tostring(self.key),tostring(self.value)) end function MapOf(key,value) return setmetatable({ key = assert(key), value = assert(value) },MapOfType) end MapOf = util.memoize(MapOf)
requestBrowserDomains({"google.com", "youtube.com", "twitch.tv", "pandora.com", "twitch.tv", "www.twitch.tv", "static-cdn.jtvnw.net", "www-cdn.jtvnw.net", "api.twitch.tv", "web-cdn.ttvnw.net", "media-cdn.twitch.tv", "player.twitch.tv"}) -- request browser domain local sx, sy = guiGetScreenSize(); local webView = Browser(640, 480, true, true) local lines = false local music = false local dot = dxCreateTexture(1,1) local white = tocolor(255,255,255,255) --[[ addEventHandler("onClientBrowserCreated", webView, function() -- Load HTML UI webView:loadURL("html/login.html") addEventHandler("onClientRender", root, webBrowserRender) focusBrowser (webView) end ) function dxDrawRectangle3D(x,y,z,w,h,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, dot, h, c or white, ...) end ]]-- -- PRZEGLĄDARA local screenWidth, screenHeight = guiGetScreenSize() local browser = createBrowser(640, 480, false, false) function browserRender() --local x, y, z = 1569, -1310, 16 --dxDrawMaterialLine3D(x, y, 26.25, x, y, 15.75, browser, 15.2, tocolor(255, 255, 255, 255), x, y+1, 19) if lines then dxDrawLine(0, 0, sx, 0, tocolor(0, 200, 0), 2) dxDrawLine(0, sy, sx, sy, tocolor(0, 200, 0), 2) dxDrawLine(sx/2, 0, sx/2, sy, tocolor(0, 0, 0), 2) dxDrawLine(0, sy/2, sx, sy/2, tocolor(0, 0, 0), 2) dxDrawLine(0, 0, sx, sy, tocolor(0, 200, 200), 2) dxDrawLine(sx, 0, 0, sy, tocolor(0, 200, 200), 2) end local sx, sy, sz = 1552, -1325, 34 dxDrawMaterialLine3D(sx, sy, sz, sx, sy, 12.75, browser, 33.2, tocolor(255, 255, 255, 255), sx, sy+1, 19) local px, py, pz = getElementPosition(localPlayer) local distance = getDistanceBetweenPoints3D(sx, sy, sz, px, py, pz) if distance > 100.0 then setBrowserRenderingPaused(browser, true) setBrowserVolume(browser, 0.0) else local volume = ((100 - distance) / 100) - 0.5 if volume < 0 then volume = 0.01 end setBrowserVolume(browser, volume) setBrowserRenderingPaused(browser, false) end end addEventHandler("onClientBrowserCreated", browser, function() --loadBrowserURL(browser, "http://www.youtube.com/embed/XnvTFrZ6xsg?rel=0&autoplay=1") --loadBrowserURL(browser, "http://www.youtube.com/embed/XnvTFrZ6xsg?rel=0&autoplay=1") -- Http://www.twitch.tv/m0e_tv loadBrowserURL(browser, "http://player.twitch.tv/?channel=taketv") --loadBrowserURL(browser, "http://www.youtube.com/embed/iTa7QH8eJB4?rel=0&autoplay=1") addEventHandler("onClientRender", root, browserRender) end )
local kong = kong return { ["/cache/:key"] = { GET = function(self) -- probe the cache to see if a key has been requested before local ttl, err, value = kong.cache:probe(self.params.key) if err then kong.log.err(err) return kong.response.exit(500, { message = "An unexpected error happened" }) end if ttl then return kong.response.exit(200, type(value) == "table" and value or { message = value }) end ttl, err, value = kong.core_cache:probe(self.params.key) if err then kong.log.err(err) return kong.response.exit(500, { message = "An unexpected error happened" }) end if ttl then return kong.response.exit(200, type(value) == "table" and value or { message = value }) end return kong.response.exit(404, { message = "Not found" }) end, DELETE = function(self) kong.cache:invalidate_local(self.params.key) kong.core_cache:invalidate_local(self.params.key) return kong.response.exit(204) -- no content end, }, ["/cache"] = { DELETE = function() kong.cache:purge() kong.core_cache:purge() return kong.response.exit(204) -- no content end, }, }
-- Modules local bouncyWalls = require "modules.bouncyWalls" local bubbleCntl = require "modules.bubbleCntl" local composer = require "composer" local controls = require "modules.controls" local dynamicBackground = require "modules.dynamicBackground" local fonts = require "modules.fonts" local memoryManagement = require "modules.memoryManagement" local musicAndSound = require "modules.musicAndSound" local physics = require "physics" local font = fonts.getMarkerFeltBold() local fontSize = 18 local taps = 0 local background local bubbleCntlI local onBackgroundTouch local player local runtimeFunction -- Memory Management local transitionStash = {} local scene = composer.newScene() local function showOverlay() local ANIMATION_LENGTH = 250 local options = { isModal = true, effect = "slideUp", time = ANIMATION_LENGTH, } composer.showOverlay( "scenes.tutorialDecision", options ) end local function onTap() taps = taps + 1 if taps == 3 then showOverlay() end end function scene:create( event ) local sceneGroup = self.view composer.state.returnTo = nil physics.start() physics.setGravity(0, 0) -- Uncomment to see physics bodies --physics.setDrawMode( "hybrid" ) local wallGroup = bouncyWalls.new() bubbleCntlI = bubbleCntl.new(bubbleCntl.thePlayerShouldHaveATail(saves.upgradeSelections), sceneGroup, transitionStash) controls.resetControls() -- Play pop sound on scene load musicAndSound.playSound("pop") background = display.newImage( "images/background.png" ) background.x = W / 2 background.y = H / 2 -- Create the dynamic background local dynamicBackroundLayer = dynamicBackground.newDynamicBackroundLayer() player = bubbleCntlI.newPlayer(bubbleCntlI.getInitialPlayerSize(), W/2, H/2, 0, 0, sceneGroup) wallGroup.update(player) runtimeFunction = function( event ) dynamicBackground.move(dynamicBackroundLayer) -- animate the background player.x , player.y = controls.wrapEffect(player) controls.movePlayer(player, saves.sensitivity) end Runtime:addEventListener( "enterFrame", runtimeFunction ) --[[ If an touch event is detected by the background, then it will stop the controls. ]]-- function onBackgroundTouch(e) if e.phase == "began" then -- Set the touch location so a force can be applied in that direction. controls.setTouchX(e.x) controls.setTouchY(e.y) -- Player is now touching the background. controls.setTouchingBackground(true) elseif e.phase == "ended" then -- Player stopped touching the background. controls.setTouchingBackground(false) onTap() end return true end background:addEventListener( "touch", onBackgroundTouch ) local hintText = display.newText("Tap to move", W * .5, H * .9, font, fontSize ) hintText.alpha = .75 hintText:setFillColor( 0, 0, 0 ) sceneGroup:insert( background ) sceneGroup:insert( dynamicBackroundLayer ) sceneGroup:insert( player ) sceneGroup:insert( hintText ) sceneGroup:insert( wallGroup ) end function scene:show( event ) local sceneGroup = self.view local phase = event.phase if ( phase == "will" ) then elseif ( phase == "did" ) then end end function scene:hide( event ) local sceneGroup = self.view local phase = event.phase if ( phase == "will" ) then audio.setVolume(1, {channel = 1}) -- sets channel volume back to 1, because it persists across scenes audio.stop() elseif ( phase == "did" ) then end end function scene:destroy( event ) local sceneGroup = self.view Runtime:removeEventListener ("enterFrame", runtimeFunction) runtimeFunction = nil -- Remove event listeners. background:removeEventListener( "touch", onBackgroundTouch ) player = bubbleCntlI.deleteObject(player) memoryManagement.cancelAllTransitions(transitionStash) bubbleCntlI.clean() bubbleCntlI = nil collectgarbage() end scene:addEventListener( "create", scene ) scene:addEventListener( "show", scene ) scene:addEventListener( "hide", scene ) scene:addEventListener( "destroy", scene ) return scene
function executeClean(interval) doCleanMap() doBroadcastMessage("Game map cleaned, next clean in " .. table.concat(string.timediff(interval / 1000)) .. ".") return true end function onThink(interval) doBroadcastMessage("Game map cleaning within 30 seconds, please pick up your items!") addEvent(executeClean, 30000, interval) return true end
--[================================[ @Language.ko-KR @Summary [Player]에게 [DestPlayer]의 시야를 [State]합니다. @Group 시야 @param.Player.TrgPlayer @param.DestPlayer.TrgPlayer @param.State.TrgSwitchState @Language.us-EN @Summary [Player]에게 [DestPlayer]의 시야를 [State]합니다. @Group 시야 @param.Player.TrgPlayer @param.DestPlayer.TrgPlayer @param.State.TrgSwitchState ]================================] function SetVision(Player, DestPlayer, State) --시야/TrgPlayer,TrgPlayer,TrgSwitchState/[Player]에게 [DestPlayer]의 시야를 [State]합니다. State = ParseSwitchState(State) Player = ParsePlayer(Player) DestPlayer = ParsePlayer(DestPlayer) offsetEPD = VisionEPD(DestPlayer) if State == 2 then Amount = "0xFF" else Amount = "0x0" end if IsNumber(Player) then Mask = 2^Player rstr = string.format("SetMemoryXEPD(%s, SetTo, %s, %d)", offsetEPD, Amount, Mask) else preDefine("const VisionMask = EUDVArray(8)(list(1, 2, 4, 8, 16, 32, 64, 128));") rstr = string.format("SetMemoryXEPD(%s, SetTo, %s, VisionMask[%s])", offsetEPD, Amount, Player) end echo(rstr) end --[================================[ @Language.ko-KR @Summary [Player]가 [DestPlayer]를 볼 수 있는지 확인합니다. @Group 시야 @param.Player.TrgPlayer @param.DestPlayer.TrgPlayer @Language.us-EN @Summary [Player]가 [DestPlayer]를 볼 수 있는지 확인합니다. @Group 시야 @param.Player.TrgPlayer @param.DestPlayer.TrgPlayer ]================================] function GetVision(Player, DestPlayer) --시야/TrgPlayer,TrgPlayer/[Player]가 [DestPlayer]를 볼 수 있는지 확인합니다. Player = ParsePlayer(Player) DestPlayer = ParsePlayer(DestPlayer) offsetEPD = VisionEPD(DestPlayer) if IsNumber(Player) then Mask = 2^Player rstr = string.format("maskread_epd(%s, %d)", offsetEPD, Mask) else preDefine("const VisionMask = EUDVArray(8)(list(1, 2, 4, 8, 16, 32, 64, 128));") rstr = string.format("maskread_epd(%s, VisionMask[%s])", offsetEPD, Player) end echo(rstr) end --[================================[ @Language.ko-KR @Summary [Player]의 시야 오프셋을 반환합니다. @Group 시야 @param.Player.TrgPlayer @Language.us-EN @Summary [Player]의 시야 오프셋을 반환합니다. @Group 시야 @param.Player.TrgPlayer ]================================] function VisionEPD(Player) --시야/TrgPlayer/[Player]의 시야 오프셋을 반환합니다. Player = ParsePlayer(Player) if IsNumber(Player) then return string.format("EPD(0x%X)", 0x57F1EC + 0x4 * Player) else return string.format("EPD(0x%X) + %s", 0x57F1EC ,Player) end end
-- @Date : 2016-01-27 10:43:48 -- @Author : Miao Lian (miaolian19890421@163.com) -- @Version : 1.0 -- @Description : local common_lib = require 'sim_ulucu_sys_lib.units.sim_common_lib' local error = error local pairs = pairs local setmetatable = setmetatable local _M = {_VERSION = "0.01"} local function init_errors() local errors = common_lib.try_require('application.config.errors', {}) errors[100] = { status = 500, message = "Ulucu Inner Lpcall Err." } errors[102] = { status = 404, message = "Application Err." } errors[103] = { status = 404, message = "Action Err." } errors[201] = { status = 500, message = "Routing Err." } errors[300] = { status = 500, message = "Unknow Err." } return errors end _M.list = init_errors() function _M.new(self,custom_attrs,code) local err = _M.list[code] if err == nil then err = self.list[300] end local body = { code = code, msg = err.message, data = nil } if custom_attrs and type(custom_attrs) == "string" then body.msg = body.msg..custom_attrs end local instance = { status = err.status, body = body } setmetatable(instance, {__index = self}) return instance end return _M
return require('packer').startup(function() local config = function(name) require(string.format('plugins.%s', name)) end use('wbthomason/packer.nvim') -- packer can manage itself use('neovim/nvim-lspconfig') use({ 'nvim-treesitter/nvim-treesitter', config = config('treesitter'), run = 'TSUpdate', }) use('tpope/vim-fugitive') use('tpope/vim-surround') use('tpope/vim-repeat') use('mhinz/vim-signify') use({ 'morhetz/gruvbox', config = vim.api.nvim_set_var('gruvbox_italic', 1), }) use('chriskempson/base16-vim') use({ 'hrsh7th/nvim-cmp', config = config('cmp'), requires = { 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-path', }, }) end)
game:DefineFastFlag("AvatarExperienceBackgroundThemeFix", false) return function() return game:GetFastFlag("AvatarExperienceBackgroundThemeFix") end
-- Lua is dynamically and weakly typed --[[ ^ Strong | Ruby | Erlang | Java | C# | Haskell Python | | Dynamic | Static <-----------------------------------------------------------> | | Perl | Javascript | C++ | =>Lua<= | C | | v Weak --]]
--ブート・スタッガード --Boot Stagguard --Scripted by Eerie Code function c70950698.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(70950698,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetRange(LOCATION_HAND) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCountLimit(1,70950698) e1:SetCondition(c70950698.spcon) e1:SetTarget(c70950698.sptg) e1:SetOperation(c70950698.spop) c:RegisterEffect(e1) --token local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(70950698,1)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetCode(EVENT_BATTLE_DAMAGE) e2:SetCondition(c70950698.tkcon) e2:SetTarget(c70950698.tktg) e2:SetOperation(c70950698.tkop) c:RegisterEffect(e2) end function c70950698.spcfilter(c,tp) return c:IsControler(tp) and c:IsRace(RACE_CYBERS) end function c70950698.spcon(e,tp,eg,ep,ev,re,r,rp) return eg:IsExists(c70950698.spcfilter,1,nil,tp) end function c70950698.sptg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) end function c70950698.spop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if c:IsRelateToEffect(e) then Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) end end function c70950698.tkcon(e,tp,eg,ep,ev,re,r,rp) return ep~=tp end function c70950698.tktg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,70950699,0,0x4011,0,0,1,RACE_CYBERS,ATTRIBUTE_EARTH) end Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) end function c70950698.tkop(e,tp,eg,ep,ev,re,r,rp) if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.IsPlayerCanSpecialSummonMonster(tp,70950699,0,0x4011,0,0,1,RACE_CYBERS,ATTRIBUTE_EARTH) then local token=Duel.CreateToken(tp,70950699) Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP) end end
local i18n = require("core.i18n") i18n.add { death_by = { chara = { transformed_into_meat = { active = { by_spell = "粉々の肉片に変えた。", by_chara = "粉々の肉片に変えた。", }, passive = "{name($1)}は粉々の肉片に変えられた。", }, destroyed = { active = { by_spell = "破壊した。", by_chara = "破壊した。", }, passive = "{name($1)}は破壊された。", }, minced = { active = { by_spell = "ミンチにした。", by_chara = "ミンチにした。", }, passive = "{name($1)}はミンチにされた。", }, killed = { active = { by_spell = "殺した。", by_chara = "殺した。", }, passive = "{name($1)}は殺された。", }, death_cause = "{basename($1)}に殺された。", }, element = { default = { active = { by_spell = "殺した。", by_chara = "殺した。", }, passive = "{name($1)}は死んだ。", }, _50 = { active = { by_spell = "燃やし尽くした。", by_chara = "燃やし尽くした。", }, passive = "{name($1)}は燃え尽きて灰になった。", }, _51 = { active = { by_spell = "氷の塊に変えた。", by_chara = "氷の塊に変えた。", }, passive = "{name($1)}は氷の彫像になった。", }, _52 = { active = { by_spell = "焦げカスにした。", by_chara = "焦げカスにした。", }, passive = "{name($1)}は雷に打たれ死んだ。", }, _53 = { active = { by_spell = "闇に飲み込んだ。", by_chara = "闇に飲み込んだ。", }, passive = "{name($1)}は闇に蝕まれて死んだ。", }, _54 = { active = { by_spell = "再起不能にした。", by_chara = "再起不能にした。", }, passive = "{name($1)}は発狂して死んだ。", }, _55 = { active = { by_spell = "毒殺した。", by_chara = "毒殺した。", }, passive = "{name($1)}は毒に蝕まれて死んだ。", }, _56 = { active = { by_spell = "冥界に墜とした。", by_chara = "冥界に墜とした。", }, passive = "{name($1)}は冥界に墜ちた。", }, _57 = { active = { by_spell = "聴覚を破壊し殺した。", by_chara = "聴覚を破壊し殺した。", }, passive = "{name($1)}は朦朧となって死んだ。", }, _58 = { active = { by_spell = "神経を破壊した。", by_chara = "神経を破壊した。", }, passive = "{name($1)}は神経を蝕まれて死んだ。", }, _59 = { active = { by_spell = "混沌の渦に吸い込んだ。", by_chara = "混沌の渦に吸い込んだ。", }, passive = "{name($1)}は混沌の渦に吸収された。", }, -- _60 _61 = { active = { by_spell = "千切りにした。", by_chara = "千切りにした。", }, passive = "{name($1)}は千切りになった。", }, -- _62 _63 = { active = { by_spell = "ドロドロに溶かした。", by_chara = "ドロドロに溶かした。", }, passive = "{name($1)}は酸に焼かれ溶けた。", }, }, other = { _1 = { text = "{name($1)}は罠にかかって死んだ。", death_cause = "罠にかかって死んだ。", }, _2 = { text = "{name($1)}はマナの反動で死んだ。", death_cause = "マナの反動で消滅した。", }, _3 = { text = "{name($1)}は餓死した。", death_cause = "飢え死にした。", }, _4 = { text = "{name($1)}は毒に蝕まれ死んだ。", death_cause = "毒にもがき苦しみながら死んだ。", }, _5 = { text = "{name($1)}は呪いの力で死んだ。", death_cause = "呪い殺された。", }, _6 = { text = "{name($1)}は{$2}の重さに耐え切れず死んだ。", death_cause = "{$1}の重さに耐え切れず潰れた。", backpack = "荷物", }, _7 = { text = "{name($1)}は階段から転げ落ちて死んだ。", death_cause = "階段から転げ落ちて亡くなった。", }, _8 = { text = "{name($1)}は聴衆に殺された。", death_cause = "演奏中に激怒した聴衆に殺された。", }, _9 = { text = "{name($1)}は焼け死んだ。", death_cause = "焼けて消滅した。", }, -- _10 _11 = { text = "{name($1)}は見えざる手に葬られた。", death_cause = "見えざる手に葬られた。", }, _12 = { text = "{name($1)}は食中毒で死んだ。", death_cause = "食中毒で倒れた。", }, _13 = { text = "{name($1)}は出血多量で死んだ。", death_cause = "血を流しすぎて死んだ。", }, _14 = { text = "{name($1)}はエーテルに侵食され死んだ。", death_cause = "エーテルの病に倒れた。", }, _15 = { text = "{name($1)}は溶けて液体になった。", death_cause = "溶けて液体になった。", }, _16 = { text = "{name($1)}はバラバラになった。", death_cause = "自殺した。", }, _17 = { text = "{name($1)}は核爆発に巻き込まれて塵となった。", death_cause = "核爆発に巻き込まれて死んだ。", }, _18 = { text = "{name($1)}はアイアンメイデンの中で串刺しになって果てた。", death_cause = "アイアンメイデンにはさまれて死んだ。", }, _19 = { text = "{name($1)}はギロチンで首をちょんぎられて死んだ。", death_cause = "ギロチンで首を落とされて死んだ。", }, _20 = { text = "{name($1)}は首を吊った。", death_cause = "首を吊った。", }, _21 = { text = "{name($1)}はもちを喉に詰まらせて死んだ。", death_cause = "もちを喉に詰まらせて死んだ。", }, }, }, }
local ffi = require "ffi" require "resty.openssl.include.x509" require "resty.openssl.include.x509v3" local altname_lib = require "resty.openssl.x509.altname" local stack_lib = require "resty.openssl.stack" local _M = {} local stack_ptr_ct = ffi.typeof("OPENSSL_STACK*") local STACK = "DIST_POINT" local new = stack_lib.new_of(STACK) local dup = stack_lib.dup_of(STACK) -- TODO: return other attributes? local cdp_decode_fullname = function(ctx) return altname_lib.dup(ctx.distpoint.name.fullname) end local mt = stack_lib.mt_of(STACK, cdp_decode_fullname, _M) function _M.new() local ctx = new() if ctx == nil then return nil, "OPENSSL_sk_new_null() failed" end local self = setmetatable({ ctx = ctx, _is_dup = false, }, mt) return self, nil end function _M.istype(l) return l and l.cast and ffi.istype(stack_ptr_ct, l.cast) end function _M.dup(ctx) if ctx == nil or not ffi.istype(stack_ptr_ct, ctx) then return nil, "expect a stack ctx at #1" end local dup_ctx = dup(ctx) return setmetatable({ ctx = dup_ctx, -- don't let lua gc the original stack to keep its elements _dupped_from = ctx, _is_dup = true, _elem_refs = {}, _elem_refs_idx = 1, }, mt), nil end _M.all = function(stack) local ret = {} local _next = mt.__ipairs(stack) while true do local i, e = _next() if i then ret[i] = e else break end end return ret end _M.each = mt.__ipairs _M.index = mt.__index _M.count = mt.__len return _M
--[[ desc: Blind, A buff of Blind. author: Musoucrow since: 2019-5-4 alter: 2019-5-11 ]]-- local _CONFIG = require("config") local _SOUND = require("lib.sound") local _RESMGR = require("actor.resmgr") local _ECSMGR = require("actor.ecsmgr") local _FACTORY = require("actor.factory") local _Effect_Colorize = require("actor.component.effect.colorize") local _Base = require("actor.buff.base") ---@class Actor.Buff.Blind : Actor.Buff ---@field protected _effect Actor.RESMGR.InstanceData local _Blind = require("core.class")(_Base) local _colorize = { motions = { { time = 500, color = { red = 255, green = 255, blue = 255, alpha = 0 } } } } ---@param entity Actor.Entity ---@param data Actor.RESMGR.BuffData ---@return boolean function _Blind.CanNew(entity, data) return _Base.CanNew(entity, data) and entity == _CONFIG.user.player end ---@param data Actor.RESMGR.BuffData function _Blind.HandleData(data) if (data.actor) then data.actor = _RESMGR.GetInstanceData(data.actor) end if (data.sound) then data.sound = _RESMGR.GetSoundData(data.sound) end end function _Blind:Ctor(entity, data) _Base.Ctor(self, entity, data) self._effect = _FACTORY.New(data.actor, {entity = self._entity}) _SOUND.Play(data.sound) end function _Blind:Exit() if (_Base.Exit(self)) then _ECSMGR.AddComponent(self._effect, "effect_colorize", _Effect_Colorize.New(_colorize)) return true end return false end return _Blind
---------------------------------------- -- Factory Inventory: Display Manager -- -- By W3asel (1337joe) -- ---------------------------------------- -- This display commissioned by Vifrevaert for Honest Vif's store at Utopia Station -- Bundled: ${date} -- Latest version always available here: https://du.w3asel.com/du-factory-inventory/templates/template.display.honest-vifs.json local screenConfig = { vertical = true, titleFontSize = 75, titleHeight = 100, headerRuleHeight = 5, fontSize = 35, xPadding = 20, tableXPadding = 10, rowHeight = 46.5, rowPadding = 10, countOffset = -100, columns = 1, colspan = 1, tables = {} } screenConfig.tables[#screenConfig.tables + 1] = { title = "Row 2", columns = {"Top Left", "Top Right"}, rows = { {{name = "Window XS"},{name = "Window M"}}, {{name = "Surrogate VR Station"},{name = "Armored Window XS"}}, {{name = "Trash Can"},{name = "Armored Window M"}}, {{name = "Barrier M"},{name = "Dispenser"}}, {{name = "Wooden Low Table"},{name = "Square Carpet"}}, {{name = "Wooden Dresser"},{name = "Glass Panel M"}}, {{name = "Wooden Chair"},{name = "Keyboard Unit"}}, {{name = "Navigator Chair"},{name = "Spaceship Hologram S"}}, {{name = "Toilet Unit B"},{name = "Command Seat Controller", label = "Command Seat"}}, {{name = "Sink Unit"},{name = "Wooden Table L"}}, {{name = "Nightstand"}}, {{name = "Bed"}}, {{name = "Sofa"}}, {{name = "Wooden Armchair"}}, {{name = "Wooden Table M"}}, } } screenConfig.tables[#screenConfig.tables + 1] = { columns = {"Bottom Left", "Bottom Right"}, rows = { {{name = "Surrogate Pod Station"},{name = "Window S"}}, {{name = "Elevator XS"},{name = "Window L"}}, {{name = "Barrier Corner"},{name = "Armored Window S"}}, {{name = "Barrier S"},{name = "Armored Window L"}}, {{name = "Dresser"},{name = "Hatch S"}}, {{name = "Encampment Chair"},{name = "Glass Panel S"}}, {{name = "Office Chair"},{name = "Glass Panel L"}}, {{name = "Urinal Unit"},{name = "Planet Hologram"}}, {{name = "Toilet Unit A"},{name = "Spaceship Hologram M"}}, {{name = "Shower Unit"},{name = "Hovercraft Seat Controller", label = "Hovercraft Seat"}}, {{name = "Wardrobe"}}, {{name = "Bench"}}, {{name = "Wooden Sofa"}}, {{name = "Table"}}, {{name = "Wooden Wardrobe"}}, } } -- ensure display array exists if not _G.displays then _G.displays = {} end -- must link by slot name _G.displays[${slotName}] = screenConfig
ESX.Trace = function(str) if Config.EnableDebug then print('ESX> ' .. str) end end ESX.SetTimeout = function(msec, cb) local id = ESX.TimeoutCount + 1 SetTimeout(msec, function() if ESX.CancelledTimeouts[id] then ESX.CancelledTimeouts[id] = nil else cb() end end) ESX.TimeoutCount = id return id end ESX.ClearTimeout = function(id) ESX.CancelledTimeouts[id] = true end ESX.RegisterServerCallback = function(name, cb) ESX.ServerCallbacks[name] = cb end ESX.TriggerServerCallback = function(name, requestId, source, cb, ...) if ESX.ServerCallbacks[name] ~= nil then ESX.ServerCallbacks[name](source, cb, ...) else print('es_extended: TriggerServerCallback => [' .. name .. '] does not exist') end end ESX.SavePlayer = function(xPlayer, cb) local asyncTasks = {} xPlayer.lastPosition = xPlayer.get('coords') -- User accounts for i=1, #xPlayer.accounts, 1 do if ESX.LastPlayerData[xPlayer.source].accounts[xPlayer.accounts[i].name] ~= xPlayer.accounts[i].money then table.insert(asyncTasks, function(cb) MySQL.Async.execute('UPDATE user_accounts SET `money` = @money WHERE identifier = @identifier AND name = @name', { ['@money'] = xPlayer.accounts[i].money, ['@identifier'] = xPlayer.identifier, ['@name'] = xPlayer.accounts[i].name }, function(rowsChanged) cb() end) end) ESX.LastPlayerData[xPlayer.source].accounts[xPlayer.accounts[i].name] = xPlayer.accounts[i].money end end -- Inventory items for i=1, #xPlayer.inventory, 1 do if ESX.LastPlayerData[xPlayer.source].items[xPlayer.inventory[i].name] ~= xPlayer.inventory[i].count then table.insert(asyncTasks, function(cb) MySQL.Async.execute('UPDATE user_inventory SET `count` = @count WHERE identifier = @identifier AND item = @item', { ['@count'] = xPlayer.inventory[i].count, ['@identifier'] = xPlayer.identifier, ['@item'] = xPlayer.inventory[i].name }, function(rowsChanged) cb() end) end) ESX.LastPlayerData[xPlayer.source].items[xPlayer.inventory[i].name] = xPlayer.inventory[i].count end end -- Job, loadout and position table.insert(asyncTasks, function(cb) MySQL.Async.execute('UPDATE users SET `job` = @job, `job_grade` = @job_grade, `loadout` = @loadout, `position` = @position WHERE identifier = @identifier', { ['@job'] = xPlayer.job.name, ['@job_grade'] = xPlayer.job.grade, ['@loadout'] = json.encode(xPlayer.getLoadout()), ['@position'] = json.encode(xPlayer.getLastPosition()), ['@identifier'] = xPlayer.identifier }, function(rowsChanged) cb() end) end) Async.parallel(asyncTasks, function(results) RconPrint('[SAVED] ' .. xPlayer.name .. "\n") if cb ~= nil then cb() end end) end ESX.SavePlayers = function(cb) local asyncTasks = {} local xPlayers = ESX.GetPlayers() for i=1, #xPlayers, 1 do table.insert(asyncTasks, function(cb) local xPlayer = ESX.GetPlayerFromId(xPlayers[i]) ESX.SavePlayer(xPlayer, cb) end) end Async.parallelLimit(asyncTasks, 8, function(results) RconPrint('[SAVED] All players' .. "\n") if cb ~= nil then cb() end end) end ESX.StartDBSync = function() function saveData() ESX.SavePlayers() SetTimeout(10 * 60 * 1000, saveData) end SetTimeout(10 * 60 * 1000, saveData) end ESX.GetPlayers = function() local sources = {} for k,v in pairs(ESX.Players) do table.insert(sources, k) end return sources end ESX.GetPlayerFromId = function(source) return ESX.Players[tonumber(source)] end ESX.GetPlayerFromIdentifier = function(identifier) for k,v in pairs(ESX.Players) do if v.identifier == identifier then return v end end end ESX.RegisterUsableItem = function(item, cb) ESX.UsableItemsCallbacks[item] = cb end ESX.UseItem = function(source, item) ESX.UsableItemsCallbacks[item](source) end ESX.GetItemLabel = function(item) if ESX.Items[item] ~= nil then return ESX.Items[item].label end end ESX.CreatePickup = function(type, name, count, label, player) local pickupId = (ESX.PickupId == 65635 and 0 or ESX.PickupId + 1) ESX.Pickups[pickupId] = { type = type, name = name, count = count } TriggerClientEvent('esx:pickup', -1, pickupId, label, player) ESX.PickupId = pickupId end
object_mobile_dressed_npe_neina = object_mobile_shared_dressed_npe_neina:new { } ObjectTemplates:addTemplate(object_mobile_dressed_npe_neina, "object/mobile/dressed_npe_neina.iff")
local mixin, oldVersion = LibStub("LibJayOptions"):RegisterControl("CheckButton", 0, "CheckButton") if not mixin then return end ---@param self table ---@param motion boolean local function OnEnter(self, motion) if self:IsEnabled() then self.callbacks:TriggerEvent("OnEnter", self, motion) end end ---@param self table ---@param motion boolean local function OnLeave(self, motion) self.callbacks:TriggerEvent("OnLeave", self, motion) end local SOUND_IG_MAINMENU_OPTION_CHECKBOX_ON = SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_ON local SOUND_IG_MAINMENU_OPTION_CHECKBOX_OFF = SOUNDKIT.IG_MAINMENU_OPTION_CHECKBOX_OFF local PlaySound = PlaySound local LJOptions = LibStub("LibJayOptions") ---@param self table ---@param button string ---@param down boolean local function OnClick(self, button, down) LJOptions:ClearFocus() local value = self:GetValue() if value then PlaySound(SOUND_IG_MAINMENU_OPTION_CHECKBOX_ON) else PlaySound(SOUND_IG_MAINMENU_OPTION_CHECKBOX_OFF) end self.callbacks:TriggerEvent("OnValueChanged", self, value) end local LJCallback = LibStub("LibJayCallback") function mixin:OnLoad() self.OnLoad = nil self.callbacks = self.callbacks or LJCallback:New(self) self.expand = true self.icon = self.icon or self:CreateTexture() self.icon:SetParent(self) self.icon:SetDrawLayer("ARTWORK") self.icon:ClearAllPoints() self.icon:SetPoint("TOPLEFT") self.icon:SetPoint("BOTTOMLEFT") self.icon:SetWidth(26) local fontString = self:GetFontString() or self:CreateFontString() fontString:SetParent(self) fontString:SetDrawLayer("BORDER") fontString:ClearAllPoints() fontString:SetPoint("TOPLEFT", self.icon, "TOPRIGHT", 2, 0) fontString:SetPoint("BOTTOMRIGHT", -30, 0) self:SetFontString(fontString) self:SetNormalFontObject("GameFontNormalSmallLeft") self:SetHighlightFontObject("GameFontHighlightSmallLeft") self:SetDisabledFontObject("GameFontDisableSmallLeft") local normalTexture = self:GetNormalTexture() or self:CreateTexture() normalTexture:ClearAllPoints() normalTexture:SetPoint("TOPRIGHT") normalTexture:SetSize(26, 26) normalTexture:SetTexture([[Interface\Buttons\UI-CheckBox-Up]]) normalTexture:SetDrawLayer("BACKGROUND") self:SetNormalTexture(normalTexture) local highlightTexture = self:GetHighlightTexture() or self:CreateTexture() highlightTexture:ClearAllPoints() highlightTexture:SetPoint("TOPRIGHT") highlightTexture:SetSize(26, 26) highlightTexture:SetTexture([[Interface\Buttons\UI-CheckBox-Highlight]]) highlightTexture:SetDrawLayer("BACKGROUND") self:SetHighlightTexture(highlightTexture, "ADD") local pushedTexture = self:GetPushedTexture() or self:CreateTexture() pushedTexture:ClearAllPoints() pushedTexture:SetPoint("TOPRIGHT") pushedTexture:SetSize(26, 26) pushedTexture:SetTexture([[Interface\Buttons\UI-CheckBox-Down]]) pushedTexture:SetDrawLayer("BACKGROUND") self:SetPushedTexture(pushedTexture) local checkedTexture = self:GetCheckedTexture() or self:CreateTexture() checkedTexture:ClearAllPoints() checkedTexture:SetPoint("TOPRIGHT") checkedTexture:SetSize(26, 26) checkedTexture:SetTexture([[Interface\Buttons\UI-CheckBox-Check]]) checkedTexture:SetDrawLayer("BACKGROUND") self:SetCheckedTexture(checkedTexture) local disabledTexture = self:GetDisabledCheckedTexture() or self:CreateTexture() disabledTexture:ClearAllPoints() disabledTexture:SetPoint("TOPRIGHT") disabledTexture:SetSize(26, 26) disabledTexture:SetTexture([[Interface\Buttons\UI-CheckBox-Check-Disabled]]) disabledTexture:SetDrawLayer("BACKGROUND") self:SetDisabledCheckedTexture(disabledTexture) self:SetScript("OnEnter", OnEnter) self:SetScript("OnLeave", OnLeave) self:SetScript("OnClick", OnClick) end function mixin:OnAcquire() self:SetHeight(26) self:SetIcon() self:SetText() end function mixin:OnRelease() self.callbacks:Wipe() end ---@param value boolean function mixin:SetValue(value) if value ~= self:GetChecked() then self:SetChecked(value) end end ---@return boolean value function mixin:GetValue() return self:GetChecked() end local unpack = unpack ---@param filename string ---@param coords table function mixin:SetIcon(filename, coords) local icon = self.icon icon:SetTexture(filename) local left, right, top, bottom if coords then left, right, top, bottom = unpack(coords) end icon:SetTexCoord(left or 0, right or 1, top or 0, bottom or 1) icon:SetWidth(filename and 26 or 0.1) end
require("prototypes.constants") require("prototypes.functions") data:extend({ { type = "recipe-category", name = "oil-asif" } }) function computeAdvOilProcRecipe(name, compression_ratio, productivity_factor) local normal_time, _ = getItemCreateTime(name) local base_recipe = data.raw.recipe[name] speed_bonus = 0 if name == "advanced-oil-processing" then speed_bonus = oil_total_speed_bonus else speed_bonus = chem_total_speed_bonus end --Result dict: --result[inputs][index]{connections_needed, amount_needed, name} --result[outputs][index]{connections_needed, amount_needed, name} --Example: -- result["inputs"][1]{["connections_needed"] = 3, ["name"] = "water", ["amount_needed"] = 22400 } -- result["outputs"][1]{["connections_needed"] = 7, ["name"] = "light-oil", ["amount_needed"] = 67800 } result = {["inputs"]={},["outputs"] = {}} for _, item in pairs(base_recipe.ingredients) do local ips = math.floor(item.amount / (normal_time / speed_bonus)) * compression_ratio table.insert(result["inputs"], {["name"] = item.name, ["connections_needed"] = math.ceil(ips/MAX_FLUID_PER_INPUT_PER_SECOND), ["amount_needed"] = ips}) end for _, item in pairs(base_recipe.results) do local ips = math.ceil(item.amount / (normal_time / speed_bonus)) * compression_ratio * (1 + productivity_factor) table.insert(result["outputs"], {["name"] = item.name, ["connections_needed"] = math.ceil(ips/MAX_FLUID_PER_INPUT_PER_SECOND), ["amount_needed"] = ips}) end return result end function createAdvOilProResultRecipes(stock_name, new_name, recipe_data) local recipe_name = new_name .. "-recipe" local new_recipe = util.table.deepcopy(data.raw.recipe[stock_name]) new_recipe.name = recipe_name new_recipe.main_product = nil new_recipe.icon = "__AssemblerUPSGrade__/graphics/recipe/" .. GRAPHICS_MAP[new_name].icon new_recipe.icon_size = 64 new_recipe.ingredients = {} local counter = 1 for _,entry in pairs(recipe_data["inputs"]) do new_recipe.ingredients[counter] = {type="fluid", name = entry["name"], amount = entry["amount_needed"] } counter = counter + 1 end new_recipe.result = nil new_recipe.results = {} counter = 1 for _,entry in pairs(recipe_data["outputs"]) do new_recipe.results[counter] = {type="fluid", name = entry["name"], amount = entry["amount_needed"] } counter = counter + 1 end new_recipe.energy_required = 1 new_recipe.enabled = false new_recipe.always_show_made_in = true new_recipe.category = new_name if DEBUG then log("Debug createAdvOilProResultRecipes: " .. do_dump(new_recipe)) end data:extend({new_recipe}) end
local login_pin_map = require("qnFiles/qnPlist/hall/login_pin"); local login_regAccount= { name="login_regAccount",type=0,typeName="View",time=0,report=0,x=0,y=0,width=0,height=0,visible=1,fillParentWidth=1,fillParentHeight=1,nodeAlign=kAlignCenter, { name="shiled",type=1,typeName="Image",time=77270266,report=0,x=0,y=0,width=1280,height=800,visible=1,fillParentWidth=1,fillParentHeight=1,nodeAlign=kAlignCenter,file="hall/common/bg_shiled.png" }, { name="contentView",type=0,typeName="View",time=77270267,report=0,x=0,y=0,width=800,height=560,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignCenter, { name="bg",type=1,typeName="Image",time=77270268,report=0,x=0,y=0,width=0,height=0,visible=1,fillParentWidth=1,fillParentHeight=1,nodeAlign=kAlignCenter,file="hall/common/popupWindow/popupWindow_bg_55_55_55_55.png",gridLeft=55,gridRight=55,gridTop=55,gridBottom=55 }, { name="titleBg",type=1,typeName="Image",time=77270269,report=0,x=0,y=-55,width=617,height=190,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignTop,file="hall/common/popupWindow/popupWindow_title.png", { name="title",type=4,typeName="Text",time=77270270,report=0,x=0,y=-5,width=136,height=50,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignCenter,fontSize=34,textAlign=kAlignCenter,colorRed=255,colorGreen=235,colorBlue=186,string=[[账号注册]] } }, { name="closeBtn",type=2,typeName="Button",time=77270271,report=0,x=-15,y=-15,width=60,height=60,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignTopRight,file="hall/common/popupWindow/popupWindow_close.png" }, { name="centerView",type=0,typeName="View",time=77270275,report=0,x=75,y=60,width=200,height=150,fillTopLeftX=5,fillTopLeftY=65,fillBottomRightX=5,fillBottomRightY=110,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignTopLeft, { name="subView",type=0,typeName="View",time=77277306,report=0,x=0,y=-25,width=500,height=220,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignCenter, { name="tips",type=4,typeName="Text",time=77277336,report=0,x=0,y=20,width=580,height=35,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignTop,fontSize=30,textAlign=kAlignLeft,colorRed=143,colorGreen=92,colorBlue=31,string=[[请输入你的手机号,将作为领奖联系方式使用]] }, { name="inputBg",type=1,typeName="Image",time=48129873,report=0,x=0,y=100,width=620,height=65,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignTop,file="hall/common/input_bg_l25_r25_t25_b25.png",gridLeft=25,gridRight=25,gridTop=25,gridBottom=25, { name="phoneEditText",type=6,typeName="EditText",time=48310517,report=0,x=0,y=-2,width=570,height=60,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignCenter,fontSize=30,textAlign=kAlignLeft,colorRed=210,colorGreen=195,colorBlue=160 }, { name="errorMsg",type=4,typeName="Text",time=48131030,report=0,x=0,y=-35,width=320,height=24,visible=0,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignBottomLeft,fontSize=24,textAlign=kAlignLeft,colorRed=190,colorGreen=70,colorBlue=70,string=[[验证失败,请稍后重试!]] }, { name="warningIcon",type=1,typeName="Image",time=48131121,report=0,x=-55,y=0,width=36,height=35,visible=0,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignRight,file=login_pin_map['error.png'] } }, { name="confirmBtn",type=2,typeName="Button",time=48129988,report=0,x=150,y=260,width=250,height=89,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignTop,file="hall/common/btns/btn_green_164x89_l25_r25_t25_b25.png",gridLeft=25,gridRight=25,gridTop=25,gridBottom=25, { name="confirmBtnText",type=4,typeName="Text",time=48130134,report=0,y=0,width=200,height=85,visible=1,fillParentWidth=1,fillParentHeight=1,nodeAlign=kAlignCenter,fontSize=36,textAlign=kAlignCenter,colorRed=255,colorGreen=235,colorBlue=186,string=[[确 定]] } } } }, { name="bottomView",type=0,typeName="View",time=77270279,report=0,x=0,y=0,width=0,height=0,fillTopLeftX=5,fillTopLeftY=385,fillBottomRightX=5,fillBottomRightY=5,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignTopLeft, { name="loginarea",type=2,typeName="Button",time=48130424,report=0,x=-150,y=-41,width=250,height=89,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignCenter,file="hall/common/btns/btn_orange_164x89_l25_r25_t25_b25.png",gridLeft=25,gridRight=25,gridTop=25,gridBottom=25, { name="accountLogin",type=4,typeName="Text",time=48130821,report=0,x=0,y=0,width=198,height=37,visible=1,fillParentWidth=0,fillParentHeight=0,nodeAlign=kAlignCenter,fontSize=32,textAlign=kAlignCenter,colorRed=255,colorGreen=235,colorBlue=186,string=[[已有账号登录]] } } } } } return login_regAccount;
package.path = './scripts/?.lua;' .. package.path package.cpath = './scripts/?.dll;' .. package.cpath local ffi = require("ffi") local inspect = require 'inspect' local defs = require 'gta2-def' local CPed = require 'cped' print("gta2.lua") ffi.cdef[[ struct UISettings { bool open; bool do_show_cycles; bool do_show_physics; bool do_show_ids; bool do_free_shopping; bool fast_cars; bool flamethrower; bool set_cop_level; int copLevel; }; ]] local API = { IsLeftMouseDown = false, } function API.test( abc ) print("API.test", abc) end function API.getSettings( ) local settings = ffi.cast('struct UISettings*', getSettings()) return settings end -- init local availableMods = listMods() local loadedMods = {} -- API function loadMod( modFile ) print("loadMod", modFile) local mod = require(string.gsub(modFile, ".lua", "")) if type(mod) ~= "table" then print("Error, mod must return a table") return false end if mod.initMod == nil then print("Error, mod must return a table with 'initMod' function") return false end mod.initMod(API) table.insert(loadedMods, mod) return true end -- Load mods print("listMods", inspect(availableMods)) for i = 1, #availableMods do loadMod(availableMods[i]) end local health = 10 -- static GetPedById fnGetPedByID = (GetPedById)0x0043ae10; local fnGetPedByID = ffi.cast('GetPedById', 0x0043ae10) local pGame = nil print("UISettings") local settings = ffi.cast('struct UISettings*', getSettings()) print("Ready") -- ignore_replay_header -- ffi.cast('bool*', 0x005ead86)[0] = true function gameTickPre(dt) -- print("gameTickPre") API.IsLeftMouseDown = IsLeftMouseDown API.IsRightMouseDown = IsRightMouseDown for i = 1, #loadedMods do local mod = loadedMods[i] if mod.tickPre ~= nil then mod.tickPre(dt, API) end end -- local p = ffi.cast('int*', 0x005eb4fc) -- if p[0] == 0 then -- return -- end -- -- pGame = ffi.cast('struct Game*', 0x005eb4fc) -- -- local pp = CPed:new(1) -- print("pp ", inspect(pp)) -- print("pp pp:getHealth()", pp:getHealth()) -- print("pp pp.health", pp.health) -- -- -- health = health + 10 -- -- if health > 100 then -- -- health = 10 -- -- end -- -- print("tick1", dt, health) -- local p = fnGetPedByID(1) -- if p == nil then -- return -- end -- local ped = ffi.cast('struct Ped*', p) -- ped.health = 100 -- print("health: ", ped.health) -- end function gameTick(dt) -- print("gameTick") for i = 1, #loadedMods do local mod = loadedMods[i] if mod.tick ~= nil then mod.tick(dt, API) end end end function setKeyState( keyState ) -- hook to control keys -- print("setKeyState pre", keyState) local modifiedKeyState = keyState for i = 1, #loadedMods do local mod = loadedMods[i] if mod.setKeyState ~= nil then modifiedKeyState = mod.setKeyState(modifiedKeyState, API) end end -- print("setKeyState post", modifiedKeyState) return modifiedKeyState end
freya_pain_reflection = class({}) LinkLuaModifier("modifier_freya_pain_reflection", "heroes/hero_freya/modifier_freya_pain_reflection.lua", LUA_MODIFIER_MOTION_NONE) if IsServer() then function freya_pain_reflection:OnSpellStart() self:GetCaster():AddNewModifier(self:GetCaster(), self, "modifier_freya_pain_reflection", {duration = self:GetSpecialValueFor("duration")}) end end
-- httpserver-static.lua -- Part of nodemcu-httpserver, handles sending static files to client. -- Author: Marcos Kirsch return function (connection, req, args) --print("Begin sending:", args.file) --print("node.heap(): ", node.heap()) if args.isGzipped and req.isCheckModifiedRequest() then -- todo: really check if file updated dofile("httpserver-header.lc")(connection, 304, args.ext, args.isGzipped) else dofile("httpserver-header.lc")(connection, 200, args.ext, args.isGzipped) -- Send file in little chunks local continue = true local size = file.list()[args.file] local bytesSent = 0 -- Chunks larger than 1024 don't work. -- https://github.com/nodemcu/nodemcu-firmware/issues/1075 local chunkSize = 1024 while continue do collectgarbage() -- NodeMCU file API lets you open 1 file at a time. -- So we need to open, seek, close each time in order -- to support multiple simultaneous clients. file.open(args.file) file.seek("set", bytesSent) local chunk = file.read(chunkSize) file.close() connection:send(chunk) bytesSent = bytesSent + #chunk chunk = nil --print("Sent: " .. bytesSent .. " of " .. size) if bytesSent == size then continue = false end end --print("Finished sending: ", args.file) end end
local M = {} M.bg = '#000000' M.fg = '#ffffff' local function hexToRgb(hex_str) local hex = '[abcdef0-9][abcdef0-9]' local pat = '^#(' .. hex .. ')(' .. hex .. ')(' .. hex .. ')$' hex_str = string.lower(hex_str) assert(string.find(hex_str, pat) ~= nil, 'hex_to_rgb: invalid hex_str: ' .. tostring(hex_str)) local r, g, b = string.match(hex_str, pat) return { tonumber(r, 16), tonumber(g, 16), tonumber(b, 16) } end ---@param fg string foreground color ---@param bg string background color ---@param alpha number number between 0 and 1. 0 results in bg, 1 results in fg function M.blend(fg, bg, alpha) bg = hexToRgb(bg) fg = hexToRgb(fg) local blendChannel = function(i) local ret = (alpha * fg[i] + ((1 - alpha) * bg[i])) return math.floor(math.min(math.max(0, ret), 255) + 0.5) end return string.format('#%02X%02X%02X', blendChannel(1), blendChannel(2), blendChannel(3)) end function M.darken(hex, amount, bg) return M.blend(hex, bg or M.bg, math.abs(amount)) end function M.lighten(hex, amount, fg) return M.blend(hex, fg or M.fg, math.abs(amount)) end function M.tint_lualine_color(color, bg, bg_dark) local colors = require('lighthaus.colors') local group = { a = { bg = color, fg = bg }, b = { bg = M.darken(color, 0.2), fg = M.lighten(color, 0.2) }, } if vim.o.background == 'dark' then group.c = { bg = M.darken(color, 0.01, bg_dark), fg = M.lighten(color, 0.4, colors.fg), } else -- inverting colors for light colorschemes group.c = { bg = M.lighten(color, 0.01, bg_dark), fg = M.darken(color, 0.4, colors.fg), } end return group end function M.set_highlight(group, fg, bg, attr) local style = attr and 'gui=' .. attr or 'gui=NONE' local fg_def = fg and 'guifg=' .. fg or 'guifg=NONE' local bg_def = bg and 'guibg=' .. bg or 'guibg=NONE' vim.api.nvim_command('highlight ' .. group .. ' ' .. style .. ' ' .. fg_def .. ' ' .. bg_def) end return M
fx_version 'bodacious' game 'gta5' client_script 'client.lua' server_script 'server.lua'
ShuttleDropoff = { promptBody = { "Which shuttle would you like to spawn? (\"lambda\", \"shuttle\", \"transport\", \"theed transport\").", "Move to the location where you'd like the shuttle to land and type \"here\" in the box to set its spawn point.", "Would you like the shuttle to spawn NPCs upon landing? (\"yes\" or \"no\").", "Enter the spawn template name of the NPC (e.g. stormtrooper, nightsister_elder) Note: These will be spawned as event mobs.", "Enter the number of NPCs to spawn.", "Enter the level of the event NPC's to spawn." }, promptTitle = { "Shuttle Type", "Landing Area", "Spawn NPCs on Landing?", "NPC Template", "Number of NPCs", "NPC Level" }, shuttleTemplate = { "object/creature/npc/theme_park/lambda_shuttle.iff", "object/creature/npc/theme_park/player_shuttle.iff", "object/creature/npc/theme_park/player_transport.iff", "object/creature/npc/theme_park/player_transport_theed_hangar.iff" }, shuttleName = { "Lambda Shuttle", "Shuttle", "Transport", "Theed Transport" }, shuttleLandingTime = { 18, 23, 27, 34 }, -- Time it takes each shuttle to land in seconds shuttleCleanup = 8 * 60 * 60, -- Automatic shuttle cleanup after 8 hours if the shuttle has not been told to lift off } function ShuttleDropoff:resetDefaults(pPlayer) local playerID = SceneObject(pPlayer):getObjectID() deleteData(playerID .. ":ShuttleDropoff:setupStep") deleteData(playerID .. ":ShuttleDropoff:setupCompleted") deleteData(playerID .. ":ShuttleDropoff:shuttleType") deleteData(playerID .. ":ShuttleDropoff:heading") deleteData(playerID .. ":ShuttleDropoff:numSpawns") deleteData(playerID .. ":ShuttleDropoff:spawnPointX") deleteData(playerID .. ":ShuttleDropoff:spawnPointZ") deleteData(playerID .. ":ShuttleDropoff:spawnPointY") deleteData(playerID .. ":ShuttleDropoff:shuttleStatus") deleteData(playerID .. ":ShuttleDropoff:spawnLevel") deleteStringData(playerID .. ":ShuttleDropoff:spawnTemplate") deleteStringData(playerID .. ":ShuttleDropoff:spawnPlanet") end function ShuttleDropoff:destroyShuttle(pPlayer) local playerID = SceneObject(pPlayer):getObjectID() local shuttleID = readData(playerID .. ":ShuttleDropoff:shuttleID") local pShuttle = getSceneObject(shuttleID) if (pShuttle ~= nil) then SceneObject(pShuttle):destroyObjectFromWorld() end deleteData(playerID .. ":ShuttleDropoff:shuttleID") end function ShuttleDropoff:spawnShuttle(pPlayer, manualControl) local playerID = SceneObject(pPlayer):getObjectID() local type = readData(playerID .. ":ShuttleDropoff:shuttleType") local posX = readData(playerID .. ":ShuttleDropoff:spawnPointX") local posZ = readData(playerID .. ":ShuttleDropoff:spawnPointZ") local posY = readData(playerID .. ":ShuttleDropoff:spawnPointY") local heading = readData(playerID .. ":ShuttleDropoff:heading") local planet = readStringData(playerID .. ":ShuttleDropoff:spawnPlanet") if (type < 3) then heading = heading + 180 end local pShuttle = spawnSceneObject(planet, self.shuttleTemplate[type], posX, posZ, posY, 0, heading) if (pShuttle == nil) then CreatureObject(pPlayer):sendSystemMessage("Error creating shuttle. Please try again.") return nil end if (type ~= 1) then CreatureObject(pShuttle):setPosture(PRONE) end CreatureObject(pShuttle):setCustomObjectName(self.shuttleName[type]) writeData(playerID .. ":ShuttleDropoff:shuttleID", SceneObject(pShuttle):getObjectID()) if (manualControl) then writeData(playerID .. ":ShuttleDropoff:shuttleStatus", -1) -- Creating shuttle createEvent(5 * 1000, "ShuttleDropoff", "allowManualControl", pPlayer, "") else writeData(playerID .. ":ShuttleDropoff:shuttleStatus", 1) -- Spawned end createEvent(self.shuttleCleanup * 1000, "ShuttleDropoff", "cleanUp", pPlayer, "") return pShuttle end function ShuttleDropoff:doFlyby(pPlayer) local pShuttle = self:spawnShuttle(pPlayer, false) if (pShuttle == nil) then CreatureObject(pPlayer):sendSystemMessage("Error executing flyby, shuttle not found.") return end local type = readData(SceneObject(pPlayer):getObjectID() .. ":ShuttleDropoff:shuttleType") CreatureObject(pPlayer):sendSystemMessage("Beginning flyby.") createEvent(6 * 1000, "ShuttleDropoff", "landShuttle", pPlayer, "") createEvent((self.shuttleLandingTime[type] + 9) * 1000, "ShuttleDropoff", "doTakeOff", pPlayer, "") end function ShuttleDropoff:landShuttle(pPlayer) local playerID = SceneObject(pPlayer):getObjectID() local shuttleID = readData(playerID .. ":ShuttleDropoff:shuttleID") local type = readData(playerID .. ":ShuttleDropoff:shuttleType") local pShuttle = getSceneObject(shuttleID) if (pShuttle == nil) then CreatureObject(pPlayer):sendSystemMessage("Error executing shuttle landing, shuttle not found.") return end if (type == 1) then CreatureObject(pShuttle):setPosture(PRONE) else CreatureObject(pShuttle):setPosture(UPRIGHT) end writeData(playerID .. ":ShuttleDropoff:shuttleStatus", 2) -- Landing createEvent(self.shuttleLandingTime[type] * 1000, "ShuttleDropoff", "dropOffNpcs", pPlayer, "") CreatureObject(pPlayer):sendSystemMessage("Shuttle Update: Shuttle is now landing..") end function ShuttleDropoff:dropOffNpcs(pPlayer) if (pPlayer == nil) then return end local playerID = SceneObject(pPlayer):getObjectID() local posX = readData(playerID .. ":ShuttleDropoff:spawnPointX") local posZ = readData(playerID .. ":ShuttleDropoff:spawnPointZ") local posY = readData(playerID .. ":ShuttleDropoff:spawnPointY") local template = readStringData(playerID .. ":ShuttleDropoff:spawnTemplate") local mobLevel = readData(playerID .. ":ShuttleDropoff:spawnLevel") local numSpawns = readData(playerID .. ":ShuttleDropoff:numSpawns") local heading = readData(playerID .. ":ShuttleDropoff:heading") local planet = readStringData(playerID .. ":ShuttleDropoff:spawnPlanet") writeData(playerID .. ":ShuttleDropoff:shuttleStatus", 3) -- Landed for i = 1, numSpawns, 1 do local xOffset = -3 + getRandomNumber(0, 6) local yOffset = -3 + getRandomNumber(0, 6) spawnEventMobile(planet, template, mobLevel, posX + xOffset, posZ, posY + yOffset, heading, 0) end end function ShuttleDropoff:cleanUp(pPlayer) if (pPlayer == nil) then return end self:resetDefaults(pPlayer) self:destroyShuttle(pPlayer) end function ShuttleDropoff:doTakeOff(pPlayer) if (pPlayer == nil) then return end local playerID = SceneObject(pPlayer):getObjectID() local shuttleID = readData(playerID .. ":ShuttleDropoff:shuttleID") local type = readData(playerID .. ":ShuttleDropoff:shuttleType") local pShuttle = getSceneObject(shuttleID) if (pShuttle == nil) then CreatureObject(pPlayer):sendSystemMessage("Error executing shuttle take off, shuttle not found.") return end if (type == 1) then CreatureObject(pShuttle):setPosture(UPRIGHT) else CreatureObject(pShuttle):setPosture(PRONE) end writeData(playerID .. ":ShuttleDropoff:shuttleStatus", 4) -- Taking off createEvent(20 * 1000, "ShuttleDropoff", "cleanUp", pPlayer, "") CreatureObject(pPlayer):sendSystemMessage("Shuttle Update: Shuttle has taken off.") end function ShuttleDropoff:showMainUI(pPlayer) local sui = SuiInputBox.new("ShuttleDropoff", "suiShuttleDropoffMainCallback") sui.setTargetNetworkId(SceneObject(pPlayer):getObjectID()) local suiBody = "Enter \"setup\" to setup data, \"data\" to view current data, \"quit\" to end. After setup type \"f\" to have the shuttle do an automatic fly-by. Type \"m\" to spawn and manually control the shuttle then use \"land\" to make it land, \"leave\" to make it take off." sui.setTitle("Information") sui.setPrompt(suiBody) sui.sendTo(pPlayer) end function ShuttleDropoff:allowManualControl(pPlayer) if (pPlayer == nil) then return end writeData(SceneObject(pPlayer):getObjectID() .. ":ShuttleDropoff:shuttleStatus", 1) end function ShuttleDropoff:suiShuttleDropoffMainCallback(pPlayer, pSui, eventIndex, args) local cancelPressed = (eventIndex == 1) if (cancelPressed) then return end local playerID = SceneObject(pPlayer):getObjectID() local shuttleID = readData(playerID .. ":ShuttleDropoff:shuttleID") local pShuttle = getSceneObject(shuttleID) if (args == "setup") then if (pShuttle ~= nil) then CreatureObject(pPlayer):sendSystemMessage("Error: A shuttle already exists. Use \"quit\" to destroy the existing shuttle before running \"setup\" again.") else self:resetDefaults(pPlayer) writeData(playerID .. ":ShuttleDropoff:setupStep", 1) self:showSetupUI(pPlayer) return end elseif (args == "data") then local sType = readData(playerID .. ":ShuttleDropoff:shuttleType") if (sType == 0) then CreatureObject(pPlayer):sendSystemMessage("No shuttle data entered. Run setup first.") else local numSpawns = readData(playerID .. ":ShuttleDropoff:numSpawns") if (numSpawns == 0) then CreatureObject(pPlayer):sendSystemMessage("Shuttle: " .. self.shuttleName[sType] .. ". Number of spawns: " .. numSpawns) else local sTemp = readStringData(playerID .. ":ShuttleDropoff:spawnTemplate") CreatureObject(pPlayer):sendSystemMessage("Shuttle: " .. self.shuttleName[sType] .. ". Number of spawns: " .. numSpawns .. ". Spawn template: " .. sTemp) end end elseif (args == "quit") then self:resetDefaults(pPlayer) self:destroyShuttle(pPlayer) return elseif (args == "f") then if (readData(playerID .. ":ShuttleDropoff:setupCompleted") ~= 1) then CreatureObject(pPlayer):sendSystemMessage("Shuttle setup incomplete. Use \"setup\" to set up the shuttle before triggering a flyby.") else self:doFlyby(pPlayer) end elseif (args == "m" or args == "land" or args == "leave") then if (args == "m") then if (readData(playerID .. ":ShuttleDropoff:setupCompleted") == 1) then if (pShuttle ~= nil) then CreatureObject(pPlayer):sendSystemMessage("Existing shuttle found. Use \"land\" and \"leave\" to control it, or \"quit\" to end the event.") else ShuttleDropoff:spawnShuttle(pPlayer, true) end else CreatureObject(pPlayer):sendSystemMessage("Shuttle setup has not been completed. Use \"setup\" to configure the shuttle.") end else if (pShuttle == nil) then CreatureObject(pPlayer):sendSystemMessage("No shuttle found. Type \"m\" first to enter manual control before trying to land or leave.") else local shuttleStatus = readData(playerID .. ":ShuttleDropoff:shuttleStatus") if (args == "land") then if (shuttleStatus == -1) then CreatureObject(pPlayer):sendSystemMessage("Please allow 5 seconds after entering manual control for the shuttle to be created.") elseif (shuttleStatus == 1) then self:landShuttle(pPlayer) elseif (shuttleStatus == 2) then CreatureObject(pPlayer):sendSystemMessage("Shuttle is already in the process of landing.") elseif (shuttleStatus == 3) then CreatureObject(pPlayer):sendSystemMessage("Shuttle has already landed.") elseif (shuttleStatus == 4) then CreatureObject(pPlayer):sendSystemMessage("Shuttle is currently taking off.") end else if (shuttleStatus == 1) then CreatureObject(pPlayer):sendSystemMessage("Shuttle is not currently on the ground.") elseif (shuttleStatus == 2) then CreatureObject(pPlayer):sendSystemMessage("Shuttle is currently in the process of landing.") elseif (shuttleStatus == 3) then self:doTakeOff(pPlayer) elseif (shuttleStatus == 4) then CreatureObject(pPlayer):sendSystemMessage("Shuttle is already taking off.") end end end end end self:showMainUI(pPlayer) end function ShuttleDropoff:showSetupUI(pPlayer) local playerID = SceneObject(pPlayer):getObjectID() local curStep = readData(playerID .. ":ShuttleDropoff:setupStep") if (readData(playerID .. ":ShuttleDropoff:setupCompleted") == 1 or curStep == 0) then self:showMainUI(pPlayer) return end local sui = SuiInputBox.new("ShuttleDropoff", "suiShuttleDropoffSetupCallback") sui.setTargetNetworkId(SceneObject(pPlayer):getObjectID()) sui.setTitle(self.promptTitle[curStep]) sui.setPrompt(self.promptBody[curStep]) sui.sendTo(pPlayer) end function ShuttleDropoff:suiShuttleDropoffSetupCallback(pPlayer, pSui, eventIndex, args) local cancelPressed = (eventIndex == 1) if (cancelPressed) then return end local playerID = SceneObject(pPlayer):getObjectID() local curStep = readData(playerID .. ":ShuttleDropoff:setupStep") if (curStep == 1) then if (args ~= "lambda" and args ~= "shuttle" and args ~= "transport" and args ~= "theed transport") then CreatureObject(pPlayer):sendSystemMessage("Invalid shuttle type. Please choose from the available shuttle types listed.") else local shuttleNum if (args == "lambda") then shuttleNum = 1 elseif (args == "shuttle") then shuttleNum = 2 elseif (args == "transport") then shuttleNum = 3 else shuttleNum = 4 end writeData(playerID .. ":ShuttleDropoff:setupStep", 2) writeData(playerID .. ":ShuttleDropoff:shuttleType", shuttleNum) CreatureObject(pPlayer):sendSystemMessage("Shuttle Type: " .. self.shuttleName[shuttleNum]) end elseif (curStep == 2) then if (args == "here") then if (SceneObject(pPlayer):getParentID() ~= 0) then CreatureObject(pPlayer):sendSystemMessage("ERROR: You must be outside to set a landing area.") else writeData(playerID .. ":ShuttleDropoff:spawnPointX", math.floor(SceneObject(pPlayer):getWorldPositionX())) writeData(playerID .. ":ShuttleDropoff:spawnPointZ", math.floor(SceneObject(pPlayer):getWorldPositionZ())) writeData(playerID .. ":ShuttleDropoff:spawnPointY", math.floor(SceneObject(pPlayer):getWorldPositionY())) writeStringData(playerID .. ":ShuttleDropoff:spawnPlanet", SceneObject(pPlayer):getZoneName()) writeData(playerID .. ":ShuttleDropoff:heading", math.floor(SceneObject(pPlayer):getDirectionAngle())) writeData(playerID .. ":ShuttleDropoff:setupStep", 3) CreatureObject(pPlayer):sendSystemMessage("Landing Area: Set to your current location and direction.") end else CreatureObject(pPlayer):sendSystemMessage("You must stand where you want the shuttle to land and type \"here\" in the input box.") end elseif (curStep == 3) then if (args == "yes") then CreatureObject(pPlayer):sendSystemMessage("Spawn NPCs on Landing?: yes.") writeData(playerID .. ":ShuttleDropoff:setupStep", 4) elseif (args == "no") then CreatureObject(pPlayer):sendSystemMessage("Spawn NPCs on Landing?: no.") writeData(playerID .. ":ShuttleDropoff:setupCompleted", 1) else CreatureObject(pPlayer):sendSystemMessage("You must enter yes or no.") end elseif (curStep == 4) then if (args == "") then CreatureObject(pPlayer):sendSystemMessage("You must enter a spawn template.") else writeStringData(playerID .. ":ShuttleDropoff:spawnTemplate", args) CreatureObject(pPlayer):sendSystemMessage("NPC Template: " .. args) writeData(playerID .. ":ShuttleDropoff:setupStep", 5) end elseif (curStep == 5) then local spawnNumber = tonumber(args) if (spawnNumber ~= nil and spawnNumber > 0 and spawnNumber <= 10) then writeData(playerID .. ":ShuttleDropoff:numSpawns", spawnNumber) writeData(playerID .. ":ShuttleDropoff:setupStep", 6) else CreatureObject(pPlayer):sendSystemMessage("You must enter a spawn number between 1 and 10.") end elseif (curStep == 6) then local spawnLevel = tonumber(args) if (spawnLevel ~= nil and spawnLevel > 0) then writeData(playerID .. ":ShuttleDropoff:spawnLevel", spawnLevel) writeData(playerID .. ":ShuttleDropoff:setupCompleted", 1) else CreatureObject(pPlayer):sendSystemMessage("You must enter a spawn level greater than 0.") end end self:showSetupUI(pPlayer) end
-- This script template has each of the script entry point functions. -- They are described in detail in VR-Forces Configuration Guide. -- Some basic VRF Utilities defined in a common module. require "vrfutil" -- Global Variables. Global variables get saved when a scenario gets checkpointed. -- They get re-initialized when a checkpointed scenario is loaded. -- Task Parameters Available in Script -- taskParameters.naval_mine Type: String (resource name) -- taskParameters.mine_depth Type: Real Unit: meters -- taskParameters.arm_time Type: Integer Unit: seconds - Amount of time after reaching final depth to arm the mine mySubtaskId = -1 myState = 0 -- Called when the task first starts. Never called again. function init() -- Set the tick period for this script. vrf:setTickPeriod(0.001) end -- Called each tick while this task is active. function tick() -- endTask() causes the current task to end once the current tick is complete. tick() will not be called again. -- Wrap it in an appropriate test for completion of the task. if (mySubtaskId == -1) then local drop_location = taskParameters.drop_location -- If want to use current altitude, set drop location altitude to altitude of entity if (taskParameters.use_current_altitude) then drop_location:setAlt(this:getLocation3D():getAlt()) end mySubtaskId = vrf:startSubtask("move-to-location", {aiming_point=drop_location}) myState = 1 myCurrentDistance = 1000 elseif (vrf:isSubtaskComplete(mySubtaskId)) then -- Wait until we are "close enough" to the drop point to drop the mine. If we ever move away from the last point we -- were closest to the location, drop as well if (myState == 1) then -- set altitude to 0 to perform 2D distance check local cur = this:getLocation3D() local dest = taskParameters.drop_location cur:setAlt(0) dest:setAlt(0) local distance = cur:distanceToLocation3D(dest) if ((distance <= 5) or (distance > myCurrentDistance)) then myState = 2 else myCurrentDistance = distance end elseif (myState == 3) then vrf:endTask(true) end if (myState == 2) then if (this:getResourceAmounts(taskParameters.naval_depth_charge) > 0) then this:depleteResource(taskParameters.naval_depth_charge, 1) mySubtaskId = vrf:startSubtask("Drop_Naval_Depth_Charge", {naval_depth_charge = taskParameters.naval_depth_charge, explode_at_depth = taskParameters.explode_at_depth}) myState = 3 else print("Out of resources ", taskParameters.naval_depth_charge) vrf:endTask(false) end end elseif (not vrf:isSubtaskRunning(mySubtaskId)) then vrf:endTask(false) end end -- Called when this task is being suspended, likely by a reaction activating. function suspend() -- By default, halt all subtasks and other entity tasks started by this task when suspending. vrf:stopAllSubtasks() vrf:stopAllTasks() end -- Called when this task is being resumed after being suspended. function resume() -- By default, simply call init() to start the task over. init() end -- Called immediately before a scenario checkpoint is saved when -- this task is active. -- It is typically not necessary to add code to this function. function saveState() end -- Called immediately after a scenario checkpoint is loaded in which -- this task is active. -- It is typically not necessary to add code to this function. function loadState() end -- Called when this task is ending, for any reason. -- It is typically not necessary to add code to this function. function shutdown() end -- Called whenever the entity receives a text report message while -- this task is active. -- message is the message text string. -- sender is the SimObject which sent the message. function receiveTextMessage(message, sender) end
return { -- Version: 1 (0x0) -- ... -- Issuer: C = US, ST = California, L = San Francisco, O = Kong, OU = Core, CN = ssl-example.com -- Validity -- Not Before: Apr 24 14:36:29 2020 GMT -- Not After : Feb 7 14:36:29 2294 GMT -- ... -- -- Note: Version 1 was accomplished by using a openssl.cnf file -- with the x509_extensions line commented out. -- See https://stackoverflow.com/questions/26788244/how-to-create-a-legacy-v1-or-v2-x-509-cert-for-testing -- and this line's commit message for more info cert = [[-----BEGIN CERTIFICATE----- MIIFbTCCA1UCFGjFyapVZYpvpKuYDJbLA1YJip++MA0GCSqGSIb3DQEBCwUAMHIx CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4g RnJhbmNpc2NvMQ0wCwYDVQQKEwRLb25nMQ0wCwYDVQQLEwRDb3JlMRgwFgYDVQQD Ew9zc2wtZXhhbXBsZS5jb20wIBcNMjAwNDI0MTQzNjI5WhgPMjI5NDAyMDcxNDM2 MjlaMHIxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH Ew1TYW4gRnJhbmNpc2NvMQ0wCwYDVQQKEwRLb25nMQ0wCwYDVQQLEwRDb3JlMRgw FgYDVQQDEw9zc2wtZXhhbXBsZS5jb20wggIiMA0G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sw/pKdz+I qL4jTdwm9Vjh9Vi4Gqcy1AoE/nzxIj0c+qaZzp+3L3ssAApKOS+BY3Y7Iqr82+X2 1P3oTnJYZjG8mxyxeMguT824CjgWZvkd6Q0jSz8H4nLaeYlpG2jIov10voBJd5Zw NqY0sKkTzDVvl/l1k+Dp+hxUzAFfxIgU3x3qs/fPw9ahoI0oBH/+Xmg6vGg9T+te N7D4w5wpK/SHbjZBvSNp5kNlnqfDPjmfAwlGW1J6CBDcWWaEHWIcc4n3l2bCg3At LTLKB76sourXcEDVvZA6xrYv9GJukUqmc5SlHhJZQOhu48ITKXH18U7iuy8= -----END RSA PRIVATE KEY-----]], -- Issuer: C = US, ST = California, O = Kong Testing, CN = Kong Testing Intermidiate CA -- Validity -- Not Before: May 2 20:03:11 2019 GMT -- Not After : Apr 28 20:03:11 2029 GMT -- Subject: C = US, ST = California, O = Kong Testing, CN = foo@example.com -- X509v3 Key Usage: critical -- Digital Signature, Non Repudiation, Key Encipherment -- X509v3 Extended Key Usage: -- TLS Web Client Authentication, E-mail Protection -- X509v3 Subject Alternative Name: -- email:foo@example.com, email:bar@example.com cert_client = [[-----BEGIN CERTIFICATE----- MIIFIjCCAwqgAwIBAgICIAEwDQYJKoZIhvcNAQELBQAwYDELMAkGA1UEBhMCVVMx EzARBgNVBAgMCkNhbGlmb3JuaWExFTATBgNVBAoMDEtvbmcgVGVzdGluZzElMCMG A1UEAwwcS29uZyBUZXN0aW5nIEludGVybWlkaWF0ZSBDQTAeFw0xOTA1MDIyMDAz MTFaFw0yOTA0MjgyMDAzMTFaMFMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxp Zm9ybmlhMRUwEwYDVQQKDAxLb25nIFRlc3RpbmcxGDAWBgNVBAMMD2Zvb0BleGFt cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJldMxsZHDxA RpbSXdIFZiTf8D0dYgsPnsmx5tVjA/zrVBSVBPO9KunaXNm4Z6JWmUwenz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Z3JZIrSFhnPSSBna+B1FjMhTVb/5sjPJS87BvjVYiZd5GY 5Az4RgSlU3PlsaiuR95NH1vDxHXb5GcMs/EfnEklAoGBAIVFe2yve+yXjUkT9RYh TPm596pZOwEeskOcyK3epDuQPcwj6eh3Khs1MRPDALKjGUGi5PpWoKnlpe2HDcoT pacsp/vpWgiiFa1q+NzguKW46G5oaJSPZ8/75/ifvHzzL82fzEXqGPzWWKJg5te5 UzCfikraTXOySyl2qC9uuEz1AoGBAILH8eNMmb48YW9EcbS6Ro9Z38EaI+U0SZ9O LqvjNS1q9fMiL6CzCYwoaJS6S5VdvMLtsaiCSV9pTtL182uBN2VZf3co6jS4c9ur zpQEZe6Mui7+KpodSVJPmXKL6mSBLT8q2IpAsrnxyhr5L5OiF4yQWSqCQMgkr6/k XnfYklSlAoGBAKBePjIdBGLy3ckdlTfbuTeO3kp2eZFBDtGzxP515+LcoRfOjd8T ZDX/porUMcgbtIF/B4SNso+8D/aHTCg3QAo6nDjFFjUBHhftgy+GP3BFfMvjqou6 utJFRkc3FvrrkkeWHnyDQrPmAHjar94/xq1k1Vo+KQHQVQOrvtQt6KXK -----END RSA PRIVATE KEY-----]], --[[ Issuer: C = US, ST = California, O = Kong Testing, CN = Kong Testing Root CA Validity Not Before: Apr 13 23:48:41 2020 GMT Not After : Apr 11 23:48:41 2030 GMT Subject: C = US, ST = CA, O = Kong Testing, CN = example2.com --]] cert_client2 = [[-----BEGIN CERTIFICATE----- MIIEJzCCAg8CFAQ6oTnLBUHbumx1bxyY9kV0W21BMA0GCSqGSIb3DQEBCwUAMFgx CzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRUwEwYDVQQKDAxLb25n IFRlc3RpbmcxHTAbBgNVBAMMFEtvbmcgVGVzdGluZyBSb290IENBMB4XDTIwMDQx MzIzNDg0MVoXDTMwMDQxMTIzNDg0MVowSDELMAkGA1UEBhMCVVMxCzAJBgNVBAgM AkNBMRUwEwYDVQQKDAxLb25nIF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F25yRKExm7Dyjx eCQC+KOsBfJSc78fG5R6KPIDK1JrpUEGSCeqFICiqGv9kUzPf5zeGZVf9cU4tyPT 5wYUEM7NX8VRoasZ4OUvYyYBw1Cx8vMdvQn/gv8CgYAIhxcFYqkEWrJx4XskO+5B VKUw0MziREO/YE0wTD76B7cF/ntpDaocwLvAIN+z+a13HEtDdhGQXysK7GxMT57p OgrdfZAykZHBJdOv7B2k0odbr0LHwVd/Pp1DNJecBFId0dzpoM6gXmvKzQZgJAt+ tTL6+EGNLsKspfyrFl+7wQKBgQDAt2VuJbAJ1xQOdS+4IDCujfbrxp60uCBJVylW +WK56LAP2WxtqLlhtsQuTKeiqgIkRp/vzo1jZ+0tX7f4oKnIL2NCT3aeESys3g3R aDmCKQOD5mkJGvmgpFLr3INHoqiLbfuV2uS2qgWnIQRwJLOTnksOWzxIYdPFYGDH cTz9bQKBgQDGv929DUinrKXe/uKJHLAcq+MjmF/+kZU9yn+svq6SSdplqp7xbXX4 3T5HCWqD4Sy+PVzGaDg5YfXC8yaFPPfY0/35T2FoQEiCAPQO+07Smg6RqJ3yVpIm LTsbLleJTc8CX0bI4SukQ7MVQsiHimzyEzx3eyLt1S8aBdJuRFZ2mg== -----END RSA PRIVATE KEY-----]], --[[ Issuer: C=US, ST=California, L=San Francisco, O=Mashape, OU=Kong, CN=ssl-alt.com Validity Not Before: May 24 23:46:58 2017 GMT Not After : Jun 23 23:46:58 2017 GMT Subject: C=US, ST=California, L=San Francisco, O=Mashape, OU=Kong, CN=ssl-alt.com Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (4096 bit) --]] cert_alt = [[-----BEGIN CERTIFICATE----- MIIFXjCCA0YCCQCsb6B5OWdHXDANBgkqhkiG9w0BAQsFADBxMQswCQYDVQQGEwJV UzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzEQ MA4GA1UECgwHTWFzaGFwZTENMAsGA1UECwwES29uZzEUMBIGA1UE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iFiVHz/mGlAlnHFjDty3NflA/wF7XKIQRGsw4va6a1uVw08no znp46UXC+MYaAz1k1E7tgaPPFhAO/3N29F98vD+4TUWiB9XEgtpxYHEnv8F/nj8L VznTmVQ+ABGfWTyq0PnOCA4feNN0DykC0beK81V5gAifRx7rL9P5T5KzP1T0DUBX ojUwQLq2aycz3Y89yxkMYQZbqUak8VECggEBAMj0qzxSPrboxNOwKRcpGGhRFscJ K/4iNG165/q2btZiDZ9BiUO8WZGR8Ww50fZb21fIJBaU+znLaDiY6b4UDc0H4d0H vt9bkm9BmNkdbHlDR++7XcRIuq1w4EDtgvDqT8oCuW8mWOt+oqnQof3MOO0Z0AbI Ksbcnvk0qf75vZUVPoPCoIAuex23PxWhewb3BM9ifeRr4EUjWWH9+iJ0ucnGHndq MRz5bk6HBaxa2Twpa6yra+pobyWhRyU/X40wV7nUs3wd1vZNMjn0i8vXwnT6zdNv 11htsJRdoyo2gXnVNMWN1D+8QTozSXFTTyM2LG4k06Dw3dAl5KHQjKWX+ac= -----END RSA PRIVATE KEY-----]], --[[ Issuer: C = US, ST = California, L = San Francico, O = Kong Inc., CN = ssl-alt-alt.com Validity Not Before: Nov 18 07:28:56 2018 GMT Not After : Dec 18 07:28:56 2018 GMT Subject: C = US, ST = California, L = San Francico, O = Kong Inc., CN = ssl-alt-alt.com Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) --]] cert_alt_alt = [[-----BEGIN CERTIFICATE----- MIIDpDCCAoygAwIBAgIJAIAQMZH+2V26MA0GCSqGSIb3DQEBCwUAMGcxCzAJBgNV BAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRUwEwYDVQQHDAxTYW4gRnJhbmNp Y28xEjAQBgNVBAoMCUtvbmcgSW5jLjEYMBYGA1UEAwwPc3NsLWFsdC1hbHQuY29t MB4XDTE4MTExODA3Mjg1NloXDTE4MTIxODA3Mjg1NlowZzELMAkGA1UEBhMCVVMx EzARBgNVBAgMCkNhbGlmb3J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4/l fz7gq+8K+0RA6k4MVvmKveXcDTi6rsoMhrpm7yMX7w37rIVWYJd80jEhq9etkDIx Wlbe8szlv/gCqF+v5Mdp58kOFhtrM80WlTczzVDIe9JpN2rHY3Lc3csJ2DkCgYEA hCAHhyLaKNT3i6JAyz/24OiOCdnlaywzImSE18xVgR3+0sE1HM0GjiXEjSF6IsRo aCREBN3u1zAyZrB8oBVrbS8crnA7EUhrm+FMoL/IsongQKbWQEo2NbF0oJdMDAFx uBUe9XFreUaMkpjdPi1Y5qVqzHeIY1D5ovjQ9UjJrOUCgYA/GJPhcZbEz4MgokqE CCWCLF6Ia5fehznO6VrbKZUUklURFIaw6Uc+DIbGpJZZwVt9l7R3x2pJlF1NlaCJ IqGzqSWne1tW86drBcfSip714wsZOoF8PT6iUCa0LC1sum1P4vS2cnRw8jXwIL6g gEuhDrQHJ5V1U/Qc1HrqWYH4cA== -----END PRIVATE KEY-----]], -- Issuer: C = US, ST = California, O = Kong Testing, CN = Kong Testing Root CA -- Validity -- Not Before: May 2 19:34:42 2019 GMT -- Not After : Apr 27 19:34:42 2039 GMT -- Subject: C = US, ST = California, O = Kong Testing, CN = Kong Testing Root CA -- X509v3 Basic Constraints: critical -- CA:TRUE -- X509v3 Key Usage: critical -- Digital Signature, Certificate Sign, CRL Sign cert_ca = [[-----BEGIN CERTIFICATE----- MIIFoTCCA4mgAwIBAgIUQDBLwIychoRbVRO44IzBBk9R4oYwDQYJKoZIhvcNAQEL BQAwWDELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFTATBgNVBAoM DEtvbmcgVGVzdGluZzEdMBsGA1UEAwwUS29uZyBUZXN0aW5nIFJvb3QgQ0EwHhcN MTkwNTAyMTkzNDQyWhcNMzkwNDI3MTkzNDQyWjBYMQswCQYDVQQGEwJVUzETMBEG A1UECAwKQ2FsaWZvcm5pYTEVMBMGA1UECgwMS29uZyBUZXN0aW5nMR0wGwYDVQQD DBRLb25nIFRlc3RpbmcgUm9vdC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8sv0o7n sFc+huI522yiEJ8LLn99TLyZxCJ0sxwUOX8qCnj3xe02zBv/Fu/v5yXhh1R4Mo9x XcDw39bBikFTYi7N86KSXAzMDHWrAxO/ztRQrthSo/G/SeFCTJE2O2IjE+fFSRRU SV2EvKxM/bbyo49o+YtwuwZVoFKLsYRBAoIBADaL9sx49XTHIIFGqEQP7NLEhs7D eJgSKP5oQ54J0iaoVpsoxng8DrTBkMVW75hiWzTW75EJnMXrauo/YfAbvsMM//3e BfRWvYpS5xKcHmXg2QJxy2VpvElHLg5Y2lligEZhO+5Sm2OG/hixBmiFvEvxPEB8 8YIvYKcRAGA/HgDY9hGWSNsBP7qDXWP5kRm8qnB6zn33TVZMsXwUv6TP0cwsBKf7 XDbnPBpOQK9nicehY7oscy9yTB9Q3bUHecYLY822ueCwaJgwJWFUH+Xe4u6xIH5l A/IyIfyOqxjUc34Me+37ehNmbTIxZ1BqLddppm9QsSAD7cDMurfb3pRpju4= -----END RSA PRIVATE KEY-----]], }
AddCSLuaFile() -- the main object ArcCW = {} ArcCWInstalled = true ArcCW.GenerateAttEntities = true for _, v in pairs(file.Find("arccw/shared/*", "LUA")) do include("arccw/shared/" .. v) AddCSLuaFile("arccw/shared/" .. v) end for _, v in pairs(file.Find("arccw/client/*", "LUA")) do AddCSLuaFile("arccw/client/" .. v) if CLIENT then include("arccw/client/" .. v) end end if SERVER or game.SinglePlayer() then for _, v in pairs(file.Find("arccw/server/*", "LUA")) do include("arccw/server/" .. v) end end -- if you want to override arccw functions, put your override files in the arccw/mods directory so it will be guaranteed to override the base for _, v in pairs(file.Find("arccw/mods/shared/*", "LUA")) do include("arccw/mods/shared/" .. v) AddCSLuaFile("arccw/mods/shared/" .. v) end for _, v in pairs(file.Find("arccw/mods/client/*", "LUA")) do AddCSLuaFile("arccw/mods/client/" .. v) if CLIENT then include("arccw/mods/client/" .. v) end end if SERVER or game.SinglePlayer() then for _, v in pairs(file.Find("arccw/mods/server/*", "LUA")) do include("arccw/mods/server/" .. v) end end
local warning = require "warning" local util = require "util" local plugin = {} local function plugin_environment( name ) local env = {} local plugin = { name = name, mode = "*", data = {}, load = function( self, builder ) end, state = function() return {} end, file_lookup_callbacks = {}, file_read_all = false, file_read_modifier = nil, directive_list = {}, directive_callbacks = {}, lexer_callbacks = { ignore = {} }, parse_node_callbacks = {}, transform_node_callbacks = {}, transform_ast_callbacks = {}, } env.plugin = plugin plugin.lookup = setmetatable( {}, { __newindex = function( s, k, v ) plugin.file_lookup_callbacks[k] = v end } ) plugin.directives = setmetatable( {}, { __newindex = function( s, k, v ) plugin.directive_list[#plugin.directive_list + 1] = k plugin.directive_callbacks[k] = v end } ) plugin.lexer = setmetatable( {}, { __newindex = function( s, k, v ) if k == "ignore" then plugin.lexer_callbacks.ignore[#plugin.lexer_callbacks.ignore + 1] = v else return error( "unsupported hook '" .. tostring( k ) .. "'" ) end end } ) plugin.transform = setmetatable( {}, { __newindex = function( s, k, v ) if k == "node" then plugin.transform_node_callbacks[#plugin.transform_node_callbacks + 1] = v elseif k == "ast" then plugin.transform_ast_callbacks[#plugin.transform_ast_callbacks + 1] = v else return error( "unsupported mode '" .. tostring( k ) .. "'" ) end end } ) setmetatable( plugin, { __newindex = function( s, k, v ) if k == "parse" then plugin.parse_node_callbacks[#plugin.parse_node_callbacks + 1] = v end end } ) return setmetatable( env, { __index = getfenv and getfenv() or _ENV } ), plugin end local function plugin_loader( content, name ) local env, plugin_data = plugin_environment( name ) local f, err = (load or loadfile)( content, "[plugin] " .. name, nil, env ) if not f then return warning.warn( warning.PLUGIN_ERR, "failed to load plugin '" .. name .. "': " .. err ) elseif not load then setfenv( f, env ) end local ok, err = pcall( f ) if not ok then return warning.warn( warning.PLUGIN_ERR, "failed to load plugin '" .. name .. "': " .. err ) end return plugin_data end function plugin.load( file, paths ) local name = file:gsub( ".+/", "" ):gsub( "%.%w+$", "", 1 ) local absolute = file:sub( 1, 1 ) == "/" or util.has_uri_protocol( file ) for i = 1, #(paths or {}) do local path = (paths[i] or ".") .. "/" .. file local h = util.open_uri_handle( absolute and file or path ) if h then local content = h:read "*a" h:close() return plugin_loader( content, name ) end if absolute then break end end warning.warn( warning.PLUGIN_ERR, "failed to load plugin '" .. name .. "': file not found '" .. file .. "'" ) end return plugin
always_load('freesurfer') always_load('Xvfb') always_load('mesa') local version = myModuleVersion() local base = "/vf/users/MEGmodules/modules/mne_bids_pipeline" .. version local scripts = base .. "_extras/scripts" family("mne_bids_pipeline") prepend_path("PATH", pathJoin(base,"bin")) prepend_path("PATH", scripts) local omp_nt = os.getenv("OMP_NUM_THREADS") or "1" pushenv("OMP_NUM_THREADS", omp_nt) if (mode() == "load") then LmodMessage("[+] Loading mne_bids_pipeline ",version," ...") LmodMessage('[+] ') LmodMessage('[+] !! Make sure you have an lscratch if performing report gen!!') LmodMessage('[+] (prior to loading this module you should have initiated like below)') LmodMessage('[+] e.g.: ') LmodMessage('[+] sinteractive --mem=6G --cpus-per-task=4 --gres=lscratch:50 ') LmodMessage('[+] ') LmodMessage("[+] Available Scripts") LmodMessage("[+] mne-bids-pipeline-run.py") end if (mode() == "unload") then LmodMessage("[-] Unloading mne_bids_pipeline ",version," ...") end setenv("MESA_GL_VERSION_OVERRIDE",3.3) setenv("MNE_3D_OPTION_ANTIALIAS",'false')
object_tangible_loot_mustafar_must_painting_03 = object_tangible_loot_mustafar_shared_must_painting_03:new { } ObjectTemplates:addTemplate(object_tangible_loot_mustafar_must_painting_03, "object/tangible/loot/mustafar/must_painting_03.iff")