content
stringlengths
5
1.05M
----------------------------------- -- Area: Bhaflau Thickets -- Mob: Sea Puk -- Note: Place holder Nis Puk ----------------------------------- local ID = require("scripts/zones/Bhaflau_Thickets/IDs") require("scripts/globals/mobs") function onMobDeath(mob, player, isKiller) end function onMobDespawn(mob) tpz.mo...
-- LoadModule is by default included in 5.3, If people use 5.1 load 5.3's version manualy. if not LoadModule then function LoadModule(ModuleName,...) local Path = THEME:GetCurrentThemeDirectory().."Modules/"..ModuleName if THEME.get_theme_fallback_list then -- pre-5.1 support. for _,theme in pairs(THEME:ge...
--*********************************************************** --** ROBERT JOHNSON ** --*********************************************************** ---@class ISSafehousesList : ISPanel ISSafehousesList = ISPanel:derive("ISSafehousesList"); ISSafehousesList.messages = {}; local FON...
object_tangible_loot_mustafar_cube_loot_cube_loot_1w = object_tangible_loot_mustafar_cube_loot_shared_cube_loot_1w:new { } ObjectTemplates:addTemplate(object_tangible_loot_mustafar_cube_loot_cube_loot_1w, "object/tangible/loot/mustafar/cube/loot/cube_loot_1w.iff")
local IdGenerator = {} local id = 0 function IdGenerator:getId() id = id + 1 return id end return IdGenerator
local Sink Sink = require("debugkit.log").Sink local safeOpen, getSize do local _obj_0 = require("filekit") safeOpen, getSize = _obj_0.safeOpen, _obj_0.getSize end local levels levels = function(t) local _tbl_0 = { } for i, v in ipairs(t) do _tbl_0[v] = i end return _tbl_0 end local inverse = levels loc...
local __Scripts = LibStub:GetLibrary("ovale/Scripts") local OvaleScripts = __Scripts.OvaleScripts do local name = "icyveins_monk_brewmaster" local desc = "[7.3.2] Icy-Veins: Monk Brewmaster" local code = [[ Include(ovale_common) Include(ovale_trinkets_mop) Include(ovale_trinkets_wod) Include(ovale_monk_spel...
return { level = 81, need_exp = 230000, clothes_attrs = { 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, }, }
-- Fix broken job postings posting_structs_known = pcall(function() return df.job:new().posting_index end) world = df.global.world print(dfhack.getDFHackVersion()) if posting_structs_known then print('Posting structs known') job_postings = 'job_postings' posting_index = 'posting_index' function is_de...
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Laityn -- Involved In Quest: Recollections ----------------------------------- require("scripts/globals/quests") ----------------------------------- function onTrade(player, npc, trade) end function onTrigger(player, npc) if (player:getQuestSta...
--[[ -- added by passion @ 2021/5/31 8:37:36 -- ExamItemDes模块窗口配置,要使用还需要导出到UI.Config.UIConfig.lua --]] -- 窗口配置 local ExamItemDes= { Name = UIWindowNames.ExamItemDes, Layer = UILayers.SceneLayer, Model = require "UI.ExamItemDes.Model.ExamItemDesModel", Ctrl = require "UI.ExamItemDes.Controller.ExamItemDesCtrl", Vi...
function Server_StartDistribution(game, standing) overriddenTerris=Mod.Settings.OverriddenTerris; for _, terr in pairs(standing.Territories) do print('ID: ' .. terr.ID .. ', Arr: ' .. overriddenTerris[terr.ID]); if (overriddenTerris[terr.ID]~=nil) then if (overriddenTerris[terr.ID]==1) then if(t...
StandAndAttack = Class(BehaviourNode, function(self, inst, findnewtargetfn) BehaviourNode._ctor(self, "StandAndAttack") self.inst = inst self.findnewtargetfn = findnewtargetfn self.numattacks = 0 -- we need to store this function as a key to use to remove itself later self.onattackfn = func...
--[[ "Get A Job, Baby!" is a game written by Eetu Rantanen for Ludum Dare 45 Copyright (C) 2019 - Spyric Entertainment This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Li...
return { name = "Crystal", desc = "Glows at night", sprite = 'crystal', usage = 'torch', torch = {radius = 92, color = {0.9, 0.5, 1}, night_glow = true} }
return { config = 1, cpath = 1, loaded = 4, loadlib = 1, path = 1, preload = 4, searchers = 4, searchpath = 1, }
-- ======= Copyright (c) 2003-2011, Unknown Worlds Entertainment, Inc. All rights reserved. ======= -- -- lua\Fade.lua -- -- Created by: Charlie Cleveland (charlie@unknownworlds.com) and -- Max McGuire (max@unknownworlds.com) -- -- Role: Surgical striker, harassment -- -- The Fade should be a frag...
--[[----------------------------------------------------------------------------- ColorPicker Widget -------------------------------------------------------------------------------]] local Type, Version = "ColorPicker", 21 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(...
-- ref.: https://hips.seas.harvard.edu/blog/2013/03/03/the-alias-method-efficient-sampling-with-many-discrete-outcomes/ local AM = torch.class("torch.AliasMultinomial") function AM:__init(probs) self.J, self.q = self:setup(probs) end function AM:setup(probs) assert(probs:dim() == 1) local K = probs:nElement...
local nitro = true local backfire = true local dev = false local time_after_finish_ms = 60000 local time_bef_start_s = 6 local car = 12 local plyvehs = {} local checkpoints = {} local finished = {} local playerscheckpoints = {} local lastclassement = {} local notready = {} local finishclassement = {} local cur...
local class = require 'middleclass' local Scene = require 'scene' local MainMenu = class('MainMenu', Scene) function MainMenu:initialize(manager) Scene.initialize(self, manager) end function MainMenu:onLoad() self.fontTitle = love.graphics.newFont('assets/neuropol.ttf', 48) self.fontText = love.graphics.n...
-- This is a part of uJIT's testing suite. -- Copyright (C) 2020-2021 LuaVela Authors. See Copyright Notice in COPYRIGHT -- Copyright (C) 2015-2020 IPONWEB Ltd. See Copyright Notice in COPYRIGHT jit.off() local tests = {} local function assert_immutable_nyi_type(obj) local status, errmsg = pcall(ujit.immutable, ...
local value = event.getvalue() local address = event.dst local message = "" if value == true then message = "Fancoil " .. address .. " gikk INN i alarm.\nDato/Tid: " .. os.date() else message = "Fancoil " .. address .. " gikk UT av alarm.\nDato/Tid: " .. os.date() end local username = 'GMAIL_USERNAME' local ...
return { id = 3004, value = "any", }
if not modules then modules = { } end modules ['mult-aux'] = { version = 1.001, comment = "companion to mult-aux.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local find = string.fin...
---@meta ---@class cc.Sprite3D :cc.Node@all parent class: Node,BlendProtocol local Sprite3D={ } cc.Sprite3D=Sprite3D ---* ---@param enable boolean ---@return self function Sprite3D:setCullFaceEnabled (enable) end ---@overload fun(string0:cc.Texture2D):self ---@overload fun(string:string):self ---@param texFile st...
local awful = require('awful') local hotkeys_popup = require('awful.hotkeys_popup') require('awful.hotkeys_popup.keys') local join = require('gears.table').join local menu_position = require('utils.common').menus.get_position local tag_edit = require('utils.tag_editor') local default_modkeys = { super = 'Mod4', ...
----------------------------------- -- Area: Port Windurst -- NPC: Ryan -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Port_Windurst/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock = { ...
settings { statusFile = "/tmp/lsyncd.status", statusInterval = 10, nodaemon = true, insist = true, inotifyMode = "CloseWrite or Modify", maxProcesses = 1 } rclone_command = "/usr/bin/rclone -v sync ^source ^target" rclone = { delay = 600, maxProcesses = 1, onAttrib = rclone_command, onCreate = rc...
PLUGIN.name = "Advanced Citizen Outfit" PLUGIN.author = "Black Tea" PLUGIN.desc = "This plugin allows the server having good amount of customizable citizens." -- http://steamcommunity.com/sharedfiles/filedetails/?id=320536858 -- workshop Address = 320536858 if SERVER then resource.AddWorkshop(320536858) end nut.util....
-- { name = "Muldraugh, KY - Spawn As A Outsider", file = "media/maps/Muldraugh, KY - Outside/spawnregions.lua" }, function SpawnPoints() return { unemployed = { -- 35x35 {worldX=35, worldY=35, posX=90, posY=299}, -- South Western MSR City Entry {worldX=35, worldY=35, po...
#!/usr/bin/env lua -- Load cfg first so that luarocks.loader knows it is running inside LuaRocks local cfg = require("luarocks.core.cfg") local loader = require("luarocks.loader") local cmd = require("luarocks.cmd") local description = "LuaRocks repository administration interface" local commands = { help = "lua...
local combat = Combat() combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) combat:setParameter(COMBAT_PARAM_CREATEITEM, ITEM_WILDGROWTH) function onCastSpell(creature, variant, isHotkey) return combat:execute(creature, variant) end
--[[ a lua interface (build with luajit ffi) for maxminddb to get country code from ip address ]] local json = require('cjson'); local json_encode = json.encode local json_decode = json.decode local ht_print = ngx.print local ngx_log = ngx.log local ngx_ERR = ngx.ERR local ng...
return [==[ body { font-family: sans-serif; font-size: 16px; background: #D6D6D6; margin: 0; } #editor .CodeMirror { height: auto; } #editor .CodeMirror-scroll { overflow-y: hidden; overflow-x: auto; } #editor .editor_top { background: whitesmoke; padding: 20px; border-bottom: 1px solid #B1AFAF; ...
return { three = "333", seven = "7", five = { eight = "8" } }
local config = require("pandoc.config") local M = {} M.create_output = function(name, template) local template_string = template or config.get().default.output assert(type(template_string) == "string", "output must be a string") return template_string:format(name:gsub(".[^.]+$", "")) end M.has_argument = fun...
local PANEL = {}; function PANEL:PerformLayout ( ) local x, y = self:GetPos() if (self.ModelPanel) then self.ModelPanel:SetPos(x + 1, y + 1); self.ModelPanel:SetSize(self:GetWide() - 2, self:GetTall() - 2); end end function PANEL:GrabItem ( itemTable ) self.itemTable = itemTable; if (!self.ModelPanel) ...
AddCSLuaFile('shared.lua') AddCSLuaFile('cl_init.lua') include('shared.lua') util.AddNetworkString('bw_ents_radar') function ENT:Initialize() local antenna = ents.Create('prop_physics') local ang = self:GetAngles() antenna:SetModelScale(0.9) antenna:SetPos(self:GetPos() +ang:Up() *30 -ang:Forward() *4.5) antenna...
local GlobalAddonName, WQLdb = ... local ELib = WQLdb.ELib -- Enigma helper local KirinTorQuests = { [43756]=true, --VS [43772]=true, --SH [43767]=true, --HM [43328]=true, --A [43778]=true, --SU } local KirinTorPatt = { --Patterns created by flow0284 [1] = { [9]=1,[10]=1,[11]=1,[12]=1,[13]=1,[20]=1,[23]=1,[2...
AddCSLuaFile("shared.lua") include("shared.lua") /*----------------------------------------------- *** Copyright (c) 2012-2017 by DrVrej, All rights reserved. *** No parts of this code or any of its contents may be reproduced, copied, modified or adapted, without the prior written consent of the author, unless other...
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") local OldVoltage function ENT:Initialize() self:SetModel("models/z-o-m-b-i-e/metro_2033/electro/m33_electro_box_12_4.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) self:SetUseTyp...
PrismObject = { type = "PrismObject", ENTITY_DETAIL_ID = 1, Properties = { }, Editor = { Model = "Editor/Objects/Particles.cgf", Icon = "Clouds.bmp", }, } ------------------------------------------------------- function PrismObject:OnSpawn() self:SetFlags(ENTITY_FLAG_CLIENT_ONLY, 0); end -------------...
UT.Spawn = {} UT.Spawn.available = {} UT.Spawn.position = "crosshair" function UT.Spawn.setMode(mode) UT.Spawn.index = 1 UT.Spawn.mode = mode UT.showMessage("spawn mode set to " .. mode, UT.colors.info) end function UT.Spawn.setModeEnemies() UT.Spawn.setMode("enemies") end function UT.Spawn.setModeA...
config = { t0 = true, t1 = 10 }
local ffi = require("ffi"); local Queue = require("schedlua.queue") local Task = require("schedlua.task"); print("== SCHEDULER INCLUDED==") --[[ The Scheduler supports a cooperative multi-tasking environment. The fundamental unit of execution is the Lua coroutine. Lua coroutines allow a program to rapidly switc...
local compile = function(f) if file.exists(f) then local newf = f:gsub("%w+/", "") file.rename(f, newf) print('Compiling:', newf) node.compile(newf) file.remove(newf) collectgarbage() end end local serverFiles = { 'sofar_hyd6es.lua', 'sofar_read_grid....
DefineClass.SupplyRocket = { __parents = { "RocketBase" }, } -- backward compatibility --[[ Some rocket states used to happen in game-time threads which aren't saved anywhere and can be potentially saved. The following functions are used to hook onto these running threads and phase the rocket to a proper command. -...
local angleshit = 1; local anglevar = 1; local camBumpFunny = 0.005; local draintheshit = 0; local addedthe = 0; function onCreatePost() initSaveData('luaCustomOptions') for i = 0, getProperty('opponentStrums.length')-1 do setPropertyFromGroup('opponentStrums',i,'visible',false) setPropertyFro...
module ('content.draw', package.seeall) require 'base.drawable' rectangle = base.drawable:new { mode = 'fill', width = 32, height = 32 } function rectangle:getWidth () return self.width end function rectangle:getHeight () return self.height end function rectangle:draw (element, graphics) graphic...
AddCSLuaFile() SWEP.ViewModel = Model( "models/weapons/c_arms_animations.mdl" ) SWEP.WorldModel = Model( "models/MaxOfS2D/camera.mdl" ) SWEP.Primary.ClipSize = -1 SWEP.Primary.DefaultClip = -1 SWEP.Primary.Automatic = false SWEP.Primary.Ammo = "none" SWEP.Secondary.ClipSize = -1 SWEP.Secondary.Defa...
--[[ Vector of two elements. Extremely useful for 2D math. ]]-- local obj = require('src.lua-cor.obj') local typ = require('src.lua-cor.typ') local ass = require 'src.lua-cor.ass' local wrp = require('src.lua-cor.wrp') local log = require('src.lua-cor.log').get('obj') -- Define 2d vector type l...
addEventHandler ( "onPlayerJoin", root, function() setPlayerInternalChannel ( player, root ) end ) function refreshPlayers() for i,player in ipairs(getElementsByType"player") do if not tonumber(getPlayerChannel ( player )) then --If he's not in a scripted channel setPlayerDefaultChannel ( player ) end en...
_PACKAGE = (...):match "^(.+)[%./][^%./]+" or "" local util = require(_PACKAGE .. "/util") local dep = require(_PACKAGE .. "/dep") local Vector = dep.Vector local Button = require(_PACKAGE .. "/button") local Input = require(_PACKAGE .. "/input") --@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
------------------------------------- --- PANELS ------------------------------------- local Panels = MR.CL.Panels -- Section: clean up modifications function Panels:SetCleanup(parent, frameType, info) local frame = MR.CL.Panels:StartContainer("Cleanup", parent, frameType, info) MR.CL.ExposedPanels:Set(frame, "clea...
-- Copyright (C) Asseco Poland SA local BasePlugin = require "kong.plugins.base_plugin" require("kong.plugins.asseco-debug.serialize") local DebugHandler = BasePlugin:extend() DebugHandler.PRIORITY = 5000 DebugHandler.VERSION = "1.0.0" function DebugHandler:new() DebugHandler.super.new(self, "asseco-debug") end fu...
--[[ The majority of the lua parsing code in LibParse is based on the JSON Lua 5.1 Encoder and Parser found here: http://www.chipmunkav.com/downloads/Json.lua ------------------------------------------------------------------------------ Permission is hereby granted, free of charge, to any person ob...
local _test = clnn._test local times = _test.times local clnntest = _test.clnntest local x_clnntest = _test.x_clnntest local nloop = _test.nloop local precision_forward = 1e-6 local precision_backward = 1e-6 function clnntest.SpatialMaxPooling_forward_batch() torch.manualSeed(123) local bs = 7 local from = 37...
--after upgrading for the first time function start(keys) local ability = keys.ability local level = ability:GetLevel() if level == 1 then ability.caster = keys.caster ability.dmg_table = {} end end --each time an enemy hero deals damage function store(keys) local attacker = keys.a...
--[[ TheNexusAvenger Implementation of a command. --]] local HttpService = game:GetService("HttpService") local BaseCommand = require(script.Parent.Parent:WaitForChild("BaseCommand")) local Command = BaseCommand:Extend() --[[ Creates the command. --]] function Command:__new() self:InitializeSuper("countdown",...
local Books = {} local ReplicatedStorage = game:GetService("ReplicatedStorage") local List = require(ReplicatedStorage.Utilities.List) local ServerScriptService = game:GetService("ServerScriptService") local BookChildren = require(ServerScriptService.BookChildren) local Genres = require(ServerScriptService.Genres) loc...
ModifyEvent(-2, -2, -1, -1, -1, -1, -1, -1, -1, -1, -2, -2, -2); AddItem(181, 1); do return end;
local _package = require 'lulz.package' return _package(...)
local cc = require "@nasso/epine-cc/v0.2.0-alpha" return { epine.var("CC", "g++"):targets("MyGKrellm"), epine.br, -- supported target types: cc.binary, cc.static -- planned: cc.shared cc.binary "MyGKrellm" { -- target prerequisites prerequisites = {"./lib/libjzon.a"}, -- lan...
-------------------------------------------------------------------------------- -- 0650-legacy.lua: tests for replacements of legacy Lua functions -- This file is a part of lua-nucleo library -- Copyright (c) lua-nucleo authors (see file `COPYRIGHT` for the license) ----------------------------------------------------...
ok function MqttNode:new(qnode) ok function MqttNode:setDevAttrs(devAttrs) ok function MqttNode:initResrc(...) -- iid should be given, resrcs should be a table ok function MqttNode:readResrc(oid, iid, rid, callback) ok function MqttNode:writeResrc(oid, iid, rid, value, callback) function MqttNode:execResrc(oid, iid...
-- test with cloudmqtt.com m_dis={} function dispatch(m,t,pl) if pl~=nil and m_dis[t] then m_dis[t](m,pl) end end function topic1func(m,pl) print("get1: "..pl) end function topic2func(m,pl) print("get2: "..pl) end m_dis["/topic1"]=topic1func m_dis["/topic2"]=topic2func -- Lua: mqtt.Client(clientid, keepalive, use...
return require('packer').startup({function() use { 'wbthomason/packer.nvim', } use { 'hrsh7th/nvim-cmp', requires = { 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-nvim-lsp', 'neovim/nvim-lspconfig', 'onsails/lspkind-nvim' } } use { 'nvim-treesitter/nvim-treesitter', requires = { {'n...
local F, C = unpack(select(2, ...)) C.themes["Blizzard_BindingUI"] = function() local r, g, b = C.r, C.g, C.b local KeyBindingFrame = KeyBindingFrame KeyBindingFrame.header:DisableDrawLayer("BACKGROUND") KeyBindingFrame.header:DisableDrawLayer("BORDER") KeyBindingFrame.scrollFrame.scrollBorderTop:SetTexture("")...
-- Windows 7 taskbar icon extensions (progress bar, custom thumbnail buttons) require 'extern.mswindows' local com = require 'extern.mswindows.com' com.def { {"ITaskbarList"; methods = { {'HrInit'}; {'AddTab', 'void* hwnd'}; {'DeleteTab', 'void* hwnd'}; {'ActivateTab', 'void* hwnd'}; ...
local Entity = require('__stdlib__/stdlib/data/entity') local Item = require('__stdlib__/stdlib/data/item') local Recipe = require('__stdlib__/stdlib/data/recipe') local recipes = settings.startup['picker-cheat-recipes'].value local icon_path = '__PickerCheats__/graphics/icons/creative-lab.png' local entity_path = '_...
local ok, harpoon = pcall(require, 'harpoon') if not ok then vim.cmd('echom "plugin error: harpoon is missing"') return end harpoon.setup { menu = { width = 100, } }
return{ name= "Cube", attributes= { { componentType= 5126, name= "POSITION", type= "VEC3", offset= 0, length= 288 }, { componentType= 5126, name= "NORMAL", type= "VEC3", offset= 28...
--singles resource.AddSingleFile("resource/localization/en/pyrition.properties") --[[ resource.AddSingleFile("materials/pyrition/memes/enjoyer/contemplate.png") resource.AddSingleFile("materials/pyrition/memes/enjoyer/joker.png") resource.AddSingleFile("materials/pyrition/memes/enjoyer/smile.png") resource.AddSingleFi...
--[[----------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2010-2020 Mark Rogaski 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 res...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:28' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
#!/usr/bin/env lua --[[ Makes a request to an HTTP2 endpoint that has an infinite length response. Usage: lua examples/h2_streaming.lua ]] local request = require "http.request" -- This endpoint returns a never-ending stream of chunks containing the current time local req = request.new_from_uri("https://http2.golang...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:28' using the latest game version. NOTE: This file should only be used as IDE support; it should NOT be distributed with addons! **************************************************************************** CONTENTS OF THIS FILE IS COPYRI...
local C = ccn2.C local SpatialCrossResponseNormalization, parent = torch.class('ccn2.SpatialCrossResponseNormalization', 'nn.Module') function SpatialCrossResponseNormalization:__init(size, addScale, powScale, minDiv, blocked) parent.__init(self) self.size = size self.addScale = addScale or 0.0001 -- dic['sc...
--[[ Pac-man: adaptive ambient soundtrack Script for FCEUX + Emstrument This script creates an alternate adaptive soundtrack for Pac-man. Sounds are generated in response to game events and the player's and ghosts' positions. This script works with the Logic Pro X project "pacman.logicx" ...
local Array = require("AlgoLua.Libs.lockbox.util.array") local Stream = require("AlgoLua.Libs.lockbox.util.stream") local CBCMode = require("AlgoLua.Libs.lockbox.cipher.mode.cbc") local PKCS7Padding = require("AlgoLua.Libs.lockbox.padding.pkcs7") local ZeroPadding = require("AlgoLua.Libs.lockbox.padding.zero") local AE...
local registered_emoji = {} function refreshTable () local file = fileOpen("emojis.json") registered_emoji = fromJSON(fileRead(file, fileGetSize(file))) fileClose(file) end addEventHandler("onClientResourceStart",rroot,function() refreshTable() end,false) local root = getRootElement() local rroot = getResourc...
--[[ Copyright 2019 Manticore Games, Inc. 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, distrib...
-- -*- coding:utf-8 -*- -- Copyright (C) 2017 ifritJP local log = require( 'lctags.LogCtrl' ) local gcc = {} local function processParen( arg, macroParen ) for paren in string.gmatch( arg, "[()]" ) do if paren == "(" then macroParen = macroParen + 1 else macroParen = macroParen - 1 if macroParen...
local plr = game.Players.LocalPlayer.Backpack["Makarov"] --Change Mk 17 to whatever gun you have plr.Stats.Recoil.Value = 0 plr.Stats.Accuracy.Value = 0 plr.Stats.Offset.Value = 0
local colors = require("cobalt2.utils").colors local Group = require("cobalt2.utils").Group local styles = require("cobalt2.utils").styles --------------------------------------------------------------------------------- -- lir.nvim -- ----------------...
local a=module('_core','libs/Tunnel')local b=module('_core','libs/Proxy')local c=a.getInterface("hpp_sellvehs")API=b.getInterface('API')cAPI=a.getInterface('cAPI')Citizen.CreateThread(function()while true do Citizen.Wait(5*60*1000)collectgarbage("count")collectgarbage("collect")end end)local d={[1]={["x"]=-32.130405426...
local playsession = { {"mewmew", {446374}}, {"MeggalBozale", {345804}}, {"morcup", {326930}}, {"Serennie", {30279}}, {"MadClown01", {895914}}, {"ikeikeeng", {725686}}, {"flooxy", {100696}}, {"maigiee", {4346}}, {"Satyr", {306340}}, {"urss2", {7619}}, {"adee", {788954}}, {"ETK03", {50928}}, {"Irx99", {1776}...
--Phantom Forces ESP V3 By RelentlessRaptor / !!!RelentlessRaptor#5709 on discord. --Please credit me in any videos you use this in. Thanks. wait(0.5) plrs = nil for _,p in pairs(game:GetChildren()) do if p.ClassName == ("Players") then plrs = p end end function tors(plr) local fr = Instance.new("SurfaceGui...
object_draft_schematic_weapon_component_new_weapon_comp_projectile_rifle_barrel = object_draft_schematic_weapon_component_shared_new_weapon_comp_projectile_rifle_barrel:new { } ObjectTemplates:addTemplate(object_draft_schematic_weapon_component_new_weapon_comp_projectile_rifle_barrel, "object/draft_schematic/weapon/c...
fx_version 'adamant' game 'gta5' -- Manifest Version description 'interact-sound' version '1.0.0' -- Client Scripts client_script 'client/main.lua' -- Server Scripts server_script 'server/main.lua' -- NUI Default Page ui_page('client/html/index.html') -- Arquivos necessários para NUI -- NÃO ESQUEÇA DE ADICIONAR...
task:add_args({one(config['filename']) or 'bootstrap.sh'}) task:add_args(get_commandline()) register_task(task)
-- See LICENSE for terms --~ local Translate = ChoGGi.ComFuncs.Translate local SettingState = ChoGGi.ComFuncs.SettingState local Strings = ChoGGi.Strings local Actions = ChoGGi.Temp.Actions local c = #Actions c = c + 1 Actions[c] = {ActionName = Strings[302535920000031--[[Find Nearest Resource]]], ActionMenubar = "E...
local Deque = require('plenary.async.structs').Deque local eq = assert.are.same -- just a helper to create the test deque local function new_deque() local deque = Deque.new() eq(deque:len(), 0) deque:pushleft(1) eq(deque:len(), 1) deque:pushleft(2) eq(deque:len(), 2) deque:pushright(3) eq(deque:len(...
module(..., package.seeall) local io = require("io") local http = require("socket.http") local ltn12 = require("ltn12") require "jester.support.file" local cjson = require("cjson") --[[ Speech to text using Google's API. ]] function speech_to_text_from_file_google(action) require "lfs" local filepath = action....
local skynet = require("skynet") local proxy_meta = {} proxy_meta.__index = proxy_meta ---@param query table query conditiron ---@param selector table fields to be returned ---@return boolean #whether call ok ---@return table|string # success data or error message function proxy_meta:find(query, selector) retur...
-- inculdes local prompt = require 'prompt' local Dialog = require 'dialog' local app = require 'app' local utils = require 'utils' local Player = require 'player' local NodeClass = require('nodes/npc') return { width = 32, height = 48, greeting = 'My name is {{red_light}}Juan{{white}}, I spend my days lazying a...
local dir = ... or "/tmp" local maps = {} local lookup = {} local autofillCache local function addRaw(filePath, funct, m, errLevel) if type(filePath) ~= "string" then error("Invalid filename", errLevel or 2) elseif type(funct) ~= "function" then error("Invalid function", errLevel or 2) end...
AddCSLuaFile("shared.lua") if CLIENT then SWEP.PrintName = "Dog" SWEP.Category = "XYZ Weapons" SWEP.DrawAmmo = false SWEP.DrawCrosshair = true SWEP.ViewModelFOV = 70 SWEP.ViewModelFlip = false SWEP.CSMuzzleFlashes = false SWEP.Slot = 4 end SWEP.Spawnable = true SWEP.AdminSpawn...
fileNames = "abcdefgh" rankNames = "12345678" function SquareToCordinate(square) square = square -- local file = square % 7 local file = FileIndex(square) local rank = RankIndex(square) local placeX = file * Loader.pieceSize local placeY = rank * Loader.pieceSize return placeX, placeY end ...