content
stringlengths
5
1.05M
io.stdout:setvbuf('no') --console output at run love.graphics.setDefaultFilter("nearest") --no anti aliasing --[[ Love2d ZOOM and DRAG with mouse library _____________________________________________________________________________ code inspired by javidx9 (one lone coder) https://youtu.be/ZQ8qtAizis4 made...
-- Binding for defold which includes file loading and json parsing -- Usage is the same except the load() function accepts a string file location. local Dialogger = require("dialogger") local M = {} M.TNODE_TEXT = "Text" M.TNODE_NODE = "Node" M.TNODE_CHOICE = "Choice" M.TNODE_SET = "Set" M.TNODE_BRANCH = "Branch" --...
if not modules then modules = { } end modules ['meta-fnt'] = { version = 1.001, comment = "companion to meta-fnt.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local next = next local...
--- @module Event.test -- Tests for Event class local ReplicatedStorage = game:GetService("ReplicatedStorage") local Modules = ReplicatedStorage:WaitForChild("Modules") local Event = require(Modules:WaitForChild("Event")) local EventTests = {} EventTests["test_Event"] = function () -- Utility local myFunctionDidRu...
answ = {"on the line and show the length of it.", "on the same side as the line.", " on different sides of the line." }
--[[ ################################################################################ # # Copyright (c) 2014-2018 Ultraschall (http://ultraschall.fm) # # 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 th...
-- scaffold geniefile for xxHash xxHash_script = path.getabsolute(path.getdirectory(_SCRIPT)) xxHash_root = path.join(xxHash_script, "xxHash") xxHash_includedirs = { path.join(xxHash_script, "config"), xxHash_root, } xxHash_libdirs = {} xxHash_links = {} xxHash_defines = {} ---- return { _add_includedirs = funct...
return { { effect_list = { { type = "BattleBuffAddAttr", trigger = { "onAttach" }, arg_list = { attr = "oxyAtkDuration", number = 4.5 } } } }, { effect_list = { { type = "BattleBuffAddAttr", trigger = { "onAttach" }, arg_list = { attr = "oxy...
object_tangible_furniture_decorative_campfire = object_tangible_furniture_decorative_shared_campfire:new { } ObjectTemplates:addTemplate(object_tangible_furniture_decorative_campfire, "object/tangible/furniture/decorative/campfire.iff")
-- Copyright 2012 by Malte Skambath -- -- This file may be distributed an/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- local key = require 'pgf.gd.doc'.key local documentatio...
-- After the map has loaded all entities hook.Add("InitPostEntity", "Minigolf.CountHolesAndMarkPhysboxesForCustomPhys", function() NUM_HOLES = 0 Minigolf.Holes.All = Minigolf.Holes.All or {} -- Maybe we decide to have multiple starts to a single hole, anyways lets then just count the unique hole names for _, hole...
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg)...
local i, tmpEntityNum; while true do if memory.readbyte(0x03000964) == 255 or memory.readbyte(0x03000964) == 0 then gui.text(16,0,"Running", 0xFFFF0000, topleft) else tmpEntityNum = 0 i = 0 for i=0, 64, 1 do if memory.readbyte(0x03000964 + 3 * i) == 255 then break end tmpEntityNum = tmpEntityNum ...
-- -- Copyright (c) 2020 Tom Hancocks -- local scene = Scene.current() -- ---------------------------------------------------------------------------- local brickSize = Size(100, 20) local gridSize = Size(10, 10) local gridWidth = (gridSize.width * brickSize.width) local gridPosition = Point(52, 50) local ballVeloci...
return function(doc, meta, to) return doc + 3 end
-- Place Bison -- Author: Neirai -- DateCreated: 5/12/2014 9:35:31 AM function buildACow(pPlayer, pCity) for pCityPlot = 1, pCity:GetNumCityPlots() - 1, 1 do local pSpecificPlot = pCity:GetCityIndexPlot(pCityPlot) if pSpecificPlot:GetTerrainType() == TerrainTypes.TERRAIN_GRASS then if pSpecificPlot:GetFeatu...
hook.Add("Initialize", "TTT Wheel i12n", function() if (GAMEMODE.Name != "Trouble in Terrorist Town") then return end; include("tttwheel/sh_init.lua") if (SERVER) then AddCSLuaFile(); AddCSLuaFile("tttwheel/cl_init.lua"); AddCSLuaFile("tttwheel/sh_init.lua"); inclu...
if not _ACTION then -- Docs: http://industriousone.com/command-line-arguments error("No target specified, e.g. vs2010 or xcode4") end -- -- Try to read the options user options. -- This contains a table "user". -- local user_config_options = '../user.lua' if ( io.open(user_config_options) ) then print("Re...
--[[ Author: Tinywan Mail: Overcome.wan@Gmail.com Date: 2017/3/12 Github: https://github.com/Tinywan Description: 这是一个配置文件信息包 --]] local M = {} local redis = {} redis['host'] = '127.0.0.1' redis['port'] = 6379 redis['pwd'] = 'tinywanredis' redis['prefix'] = 'url_server:' redis['info'] = 'info_ad:' redis['...
local M = { } local T = require("PackageToolkit").module local windows = T.import(..., "_windows").windows M.path = function(env) if windows() then if env == "HOME" then return string.format("C:%s", os.getenv("HOMEPATH")) else return "" end else if env == "HOME" then return os.gete...
Config = {} Config.Price = 10 -- EDIT THIS ONLY IF YOU KNOW WHATE YOU ARE DOING!!! Config.Machines = { -- EDIT THIS ONLY IF YOU KNOW WHATE YOU ARE DOING!!! "prop_vend_coffe_01" -- EDIT THIS ONLY IF YOU KNOW WHATE YOU ARE DOING!!! } -- EDIT THIS ...
if GetLocale() ~= "ptBR" then return end if not DBM_GUI_Translations then DBM_GUI_Translations = {} end local L = DBM_GUI_Translations L.MainFrame = "Deadly Boss Mods" L.TranslationBy = "GlitterStorm @ Azralon" L.OTabBosses = "Chefes" L.OTabOptions = "Opções" L.TabCategory_Options = "Opções Ger...
require "/scripts/util.lua" function update(_,_, shiftHeld) self.containerId = config.getParameter("containerId") self.swapItem = config.getParameter("swapItem") if shiftHeld and self.containerId and world.entityExists(self.containerId) then local status, result = pcall(eatItems) end if self....
-- LOCAL local main = require(game.Nanoblox) local TimeService = { remotes = { grabLocalDate = main.modules.Remote.new("grabLocalDate"), grabLocalTime = main.modules.Remote.new("grabLocalTime"), } } local Promise = main.modules.Promise -- METHODS function TimeService.grabLocalDateAsync(player, dateTime) local...
local LibEvent = LibStub:GetLibrary("LibEvent.7000") local AFK = AFK local DND = DND local PVP = PVP local LEVEL = LEVEL local OFFLINE = FRIENDS_LIST_OFFLINE local FACTION_HORDE = FACTION_HORDE local FACTION_ALLIANCE = FACTION_ALLIANCE local addon = TinyTooltip local function strip(text) return (text:gsub("%s+(...
local Proxy = module("vrp", "lib/Proxy") local vRP = Proxy.getInterface("vRP") async(function() vRP.loadScript("vrp_drugstonpc", "server") end)
--*********************************************************** --** ROBERT JOHNSON ** --*********************************************************** require "TimedActions/ISBaseTimedAction" ---@class ISCutHair : ISBaseTimedAction ISCutHair = ISBaseTimedAction:derive("ISCutHair"); ...
--[[ This file was extracted by 'EsoLuaGenerator' at '2021-09-04 16:42:25' 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 guai = { Attack1 = { operation = { [15] = { move_speed = 4, }, [20] = { melee_attack = true }, [38] = { move_speed = 0 }, [40] = { melee_attack = false } }, }, } return guai
require "classes.constants.screen" require "classes.list.model.DataAllTopicList" Controller={} function Controller:new(view, model) local this = display.newGroup() local public = this local private = {} local widget = require("widget") local currentTopic local currentScreen function priv...
local maxResults = 200 local module = {} local TweenService = game:GetService("TweenService") local tweenInfo = TweenInfo.new(0.3) local ReplicatedStorage = game:GetService("ReplicatedStorage") local AuthorDirectory = require(ReplicatedStorage.AuthorDirectory) local List = require(ReplicatedStorage.Utilities.List) l...
function applyMods() --Car Icon Start disabledIconDFF = engineLoadDFF("mods/disabledicon.dff", 1314) engineReplaceModel(disabledIconDFF, 1314) disabledIconTXD = engineLoadTXD("mods/icons.txd") engineImportTXD(disabledIconTXD, 1314) --Car Icon End --Fix interior ID 24 Start intCOL = engineLoadCOL("mods/fixes/in...
ac.FogAlgorithm = __enum({ cpp = 'fog_algorithm' }, { Original = 0, New = 1 }) ac.ShadowsState = __enum({ cpp = 'shadows_state' }, { Off = 0, On = 1, EverythingShadowed = 2 }) ac.TextureState = __enum({ cpp = 'async_texture_state' }, { Empty = 0, Loading = 1, Failed = 2, Ready = 3 }) ac.CameraMo...
data:extend({ { type = "recipe", name = "radioisotope-thermoelectric-generator", energy_required = 150, enabled = "false", ingredients = { {"uranium-fuel-cell", 100}, {"substation", 10}, {"rocket-control-unit", 100}, ...
local t = {something="hello", somelist={ "A", "B", "C" }, anotherlist={1,2,"z"}} --for k, v in pairs(t) do -- print("key: " .. k .. " value: ") -- pprint(v) --end --print("calling serve2 with table t") serve2("list.po2", t)
Config = {} Config.DrawDistance = 100.0 Config.MarkerColor = { r = 102, g = 0, b = 102 } Config.NPCJobEarnings = {min = 200, max = 300} Config.EnablePlayerManagement = true local second = 1000 local minute = 60 * second -- How much time before auto...
--[[ Copyright (c) 2010 Manuel "Roujin" Wolf 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, dist...
local Modules = script.Parent.Parent.Parent.Parent local Roact = require(Modules.Roact) local ComplexStringInput = require(script.Parent.ComplexStringInput) local function IntegerInput(props) return Roact.createElement(ComplexStringInput, { Key = props.Key, Value = props.Value, Filter = function(raw) retur...
function SetupWrapper(name) if not EnabledManagedProjects() then return end SetupExternalManagedTestProject(name .. ".CSharp") end group "Tests/Namespaces" SetupTestNativeProject("NamespacesBase") targetdir (path.join(gendir, "NamespacesDerived"))
-- [[ handler responders ]] function getImage( playerToReceive, id ) triggerClientEvent( playerToReceive, "onClientGotImage", resourceRoot, exports.mrp_cache:getImage(id)) end addEvent("getImage", true) addEventHandler("getImage", resourceRoot , getImage)
--[[ fs_barrel ================ Copyright (C) 2018-2019 Quentin Bazin LGPLv2.1+ See LICENSE.txt for more information ]]-- local modpath = minetest.get_modpath(minetest.get_current_modname()) fs_barrel = rawget(_G, "fs_barrel") or {} fs_barrel.modpath = modpath dofile(modpath .. "/barrel.lua") dofile(modpath...
--*********************************************************** --** ROBERT JOHNSON ** --*********************************************************** require "ISUI/ISPanel" ---@class ISWhitelistTable : ISPanel ISWhitelistTable = ISPanel:derive("ISWhitelistTable"); local FONT_HGT_S...
object_tangible_wearables_necklace_necklace_deepspace_rebel_wke_m = object_tangible_wearables_necklace_shared_necklace_deepspace_rebel_wke_m:new { } ObjectTemplates:addTemplate(object_tangible_wearables_necklace_necklace_deepspace_rebel_wke_m, "object/tangible/wearables/necklace/necklace_deepspace_rebel_wke_m.iff")
WireToolSetup.setCategory("Input, Output") WireToolSetup.open("button", "Button", "gmod_wire_button", nil, "Buttons") if CLIENT then language.Add("tool.wire_button.name", "Button Tool (Wire)") language.Add("tool.wire_button.desc", "Spawns a button for use with the wire system.") language.Add("WireButtonTo...
require("pk_pills") AddCSLuaFile() if SERVER then resource.AddWorkshop("106427033") include("ppp_include/drivemodes.lua") end game.AddParticles("particles/Vortigaunt_FX.pcf") PrecacheParticleSystem("vortigaunt_beam") PrecacheParticleSystem("vortigaunt_beam_b") include("ppp_include/vox_lists.lua") pk_pills....
return {'pruis','pruisen','pruisisch','pruisische','prudent','prudentie','pruderie','pruik','pruikenbol','pruikenmaker','pruikenstijl','pruikentijd','pruikerig','pruilen','pruiler','pruilerig','pruillip','pruilmond','pruim','pruimbaar','pruimedant','pruimelaar','pruimen','pruimenbomen','pruimenboom','pruimenhout','prui...
package.path = './data/lua/?.lua;' .. package.path require("sgl") require("screen/attract/defs") local __aud_title_volume = 1.0 local __aud_title_loop = 0 local __fade_out_time_sec = 1.5 local __id_snd_title = SGL_SOUND_ID_INVALID local __id_mov_title = SGL_MOV_ID_INVALID local __id_sprite_title = SGL_SPRITE_ID_I...
--[[ Name: MTA:Mario Kart Filename: CameraHandlerC.lua Author: Sam@ke --]] CameraHandlerC = {} function CameraHandlerC:constructor(parent) mainOutput("CameraHandlerC was loaded.") self.mainClass = parent self.player = getLocalPlayer() self.roll = 0 self.fov = 92 self.distance = 6.5 self.angle = 180 self....
local string_value = "some value" global_string_value = string_value .. " | it`s global" local num = 4126.356 num2 = num ^ 2 for i = 0, 5 do num2 = num2 - num end print(global_string_value, "\n", num2)
local _--[[kAddonName]], addon = ... addon.tests = {} local tests = {} function addon.tests.register(name, func) table.insert(tests, {name, func}) end function addon.tests.run() addon.utils.print('Running %d tests...', #tests) local failures = 0 local realState = addon.store.getState() local blankState = { g...
function guiComboBoxAdjustHeight(comboBox, itemCount) if not scheck("u:element:gui-combobox,?n") then return false end if not itemCount then itemCount = 1 end local width = guiGetSize(comboBox, false) return guiSetSize(comboBox, width, itemCount * 14 + 38, false) end
version https://git-lfs.github.com/spec/v1 oid sha256:4f341b8f8c53dfd0da805b493eb8fcf1b6873be97dda9660b451794baddcaf66 size 579
local std = require('deviant') local web = require('web') local json = require('cjson') local _M = { version = '0.1' } local defaults = { socket = '/var/run/docker.sock', APIversion = '/v1.28' } local API_URL = function (opts) local opts = std.mergeTables(defaults, opts) return "unix:" .. opts.socket .. ":" ....
object_draft_schematic_food_beastfood_dry_fruit_substitute = object_draft_schematic_food_shared_beastfood_dry_fruit_substitute:new { } ObjectTemplates:addTemplate(object_draft_schematic_food_beastfood_dry_fruit_substitute, "object/draft_schematic/food/beastfood_dry_fruit_substitute.iff")
--- --- math.lua --- --- Copyright (C) 2018-2019 Xrysnow. All rights reserved. --- --local math = math local pi = math.pi local pix2 = math.pi * 2 local abs = math.abs local acos = math.acos local asin = math.asin local atan = math.atan local atan2 = math.atan2 local ceil = math.ceil local cos = math.cos local cosh = ...
local spell, super = Class(Spell, "ultimate_heal") function spell:init() super:init(self) -- Display name self.name = "UltimatHeal" -- Name displayed when cast (optional) self.cast_name = "ULTIMATEHEAL" -- Battle description self.effect = "Best\nhealing" -- Menu description self.d...
local SPDict = require(game.ReplicatedStorage.Shared.SPDict) local SongErrorParser = {} local __tmpctr = 4 local function track_time_to_hash(p_track,p_time) return string.format("%d_%d",p_track,p_time) end function SongErrorParser:scan_audiodata_for_errors(audio_data) local tracked_notes = SPDict:new() for i...
AddCSLuaFile() ENT.Type = "anim" function ENT:Initialize() self:SetModel("models/props_junk/PopCan01a.mdl") if SERVER then ParticleEffect("advisor_psychic_shield_idle",self:GetPos(),Angle(0,0,0),self) self.sound = CreateSound(self,"ambient/machines/combine_shield_touch_loop1.wav") self.sound:Play() time...
local SoundManager = {} SoundManager.sounds = {} function SoundManager:add(id, state) SoundManager.sounds[id] = state end function SoundManager:remove(id) SoundManager.sounds[id] = nil end function SoundManager:load() SoundManager.sounds.intro = love.audio.newSource("res/sounds/intro.mp3", "static") ...
local R = require "rigel" local RM = require "generators.modules" local ffi = require("ffi") local types = require("types") local S = require("systolic") --local cstdio = terralib.includec("stdio.h") --local cstring = terralib.includec("string.h") local harness = require "generators.harness" local C = require "generato...
--------------------------------------------------------------------------------------------------- -- -= Grid =- --------------------------------------------------------------------------------------------------- local Grid = {} Grid.__index = Grid -- Creates and returns a new grid function Grid:new() local grid =...
------------------------------------------------- -- Civilopedia screen ------------------------------------------------- include( "InstanceManager" ); include( "IconSupport" ); -- table.sort method for sorting alphabetically. function Alphabetically(a, b) return Locale.Compare(a.entryName, b.entryName) == -1; end l...
local colors = require("cobalt2.utils").colors local styles = require("cobalt2.utils").styles local Group = require("cobalt2.utils").Group --------------------------------------------------------------------------------- -- json -- ----------------...
local Cell = require('btree').Cell describe("Cell", function() it("Should be able to store data of integer type", function() local cell = Cell:new(37) assert.equal(cell.data, 37) end) it("Should be able to store data of string (blob) type", function() local cell = Cell:new("hello w...
local pss = ... return Def.ActorFrame{ OnCommand=cmd(zoom,0.8;pulse;effectmagnitude,1,0.9,0); LoadActor("star.lua", pss); };
-- imports local WIM = WIM; local _G = _G; local hooksecurefunc = hooksecurefunc; local table = table; local pairs = pairs; local string = string; local select = select; local math = math; local tonumber = tonumber; local playerRealm = GetRealmName() -- set name space setfenv(1, WIM); local Windows = windows.active.c...
local function AddModel(AddTable, Model, Position, Ang, Clr, Mat, Scale) AddTable.Model = AddTable.Model or {} if type(AddTable.Model) ~= "table" then AddTable.Model = {} end table.insert(AddTable.Model, {Model = Model, Position = Position, Angle = Ang, Color = Clr, Material = Mat, Scale = Scale}) return AddTable e...
Locales['nl'] = { ['actions'] = 'acties', ['boss_menu'] = 'baas menu', ['money_generic'] = '€%s', ['deposit_amount'] = 'stort hoeveelheid', ['deposit_society_money'] = 'stort maatschappij geld', ['do_you_want_to_recruit'] = 'Wil je %s aannemen?', ['employee'] ...
require 'globals' socket = require 'socket' ---- Networking ---- UDP = socket.udp() UDP:settimeout(0) UDP:setsockname('*', 12345) ---- Game managing ---- local players = {} local roundCombination, roundStrongestCard, roundSequenceLength local currentPlayerTurnIndex = 1 math.randomseed(os.time()) ---- GUI ---- l...
return { ["engine"]="luajittex", ["timings"]={ ["arabic"]={ ["list"]={ "arabtype", "husayni" }, ["results"]={ ["arabtype"]={ ["context base"]=0.32, ["context node"]=7.167, ["context none"]=0.322, ["harfbuzz native"]=4.631, ["harfbuzz uniscribe"]=4.67, }, ["husayni"]={ ...
-- If image name contains gray, use grayscale effect if string.match(imageCtx:name(), "gray") then imageCtx:grayscale() end -- If image name contains blue, use gaussian blur effect if string.match(imageCtx:name(), "blur") then imageCtx:gaussianBlur(3.0) end
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" local cache = require "kong.tools.database_cache" local rex = require "rex_pcre" local STUB_GET_URL = spec_helper.STUB_GET_URL local PROXY_SSL_URL = spec_helper.PROXY_SSL_URL local API_URL ...
local skynet = require "skynet" local opcua = require "opcua" local session_state = { [0] = "Closed", [1] = "Create requested", [2] = "Created", [3] = "Activate requested", [4] = "Activated", [5] = "Closing" } local channel_state = { [0] = "Closed", [1] = "Hello sent", [2] = "Hello...
local FileModder = pd.Class:new():register("vidya-file-modder") function FileModder:initialize(sel, atoms) -- 1. Object-triggering bang -- 2. Incoming single data bytes from [binfile] -- 3. Total bytes in file, from [route buflength] -- 4. Glitch type -- 5. Glitch point -- 6. Number of times to glitch a file ...
-- See LICENSE for terms local RetName = ChoGGi.ComFuncs.RetName local ChoOrig_Workplace_AddWorker = Workplace.AddWorker function Workplace:AddWorker(worker, ...) -- already named, so abort if self.ChoGGi_AddedNamedWorkplace then return ChoOrig_Workplace_AddWorker(self, worker, ...) end local name = worker.nam...
AddCSLuaFile() DEFINE_BASECLASS( "magic_base_entity" ) ENT.PrintName = "Waterball" ENT.Spawnable = false ENT.AdminOnly = false PrecacheParticleSystem("waterball") if SERVER then function ENT:Initialize() self.BaseClass.Initialize(self) self:SetEffect("waterball") self:PhysicsInitSphere(3...
RegisterServerEvent("rent:payMyBike") AddEventHandler("rent:payMyBike", function(price) print(type(source)) print(source) source = tonumber(source) TriggerEvent("es:getPlayerFromId", source, function(user) if user.get('money') < price then user.notify("<b style='color: red'> Tu n'as pas assez d'argent pour ça....
local marker = createMarker(1914.47,-2246.74,14,"cylinder",1,100,150,30,100) function spray_markerHit(plr,matchingDimension) if (not matchingDimension) then return end local c = getElementData(plr,"character") if (not c) then return end if (getPlayerMoney(plr)<100) then outputChatBox("Kupno pu...
local mustache = require("mustache") local template = [[ <!DOCTYPE html> <html{{#lang}} lang="{{lang}}"{{/lang}}> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link href="/w3.css" rel="stylesheet"> {{#favicon}}<link rel="icon" href="/fatcow/16/{{favicon}}.png">...
-- --------------------------------------------------------------------------- -- Logging local debug_level = 1 -- 3=err, 2=warn, 1=info, 0=debug function debugLevel(level) debug_level = level end local function cecho_tfcolors(msg) msg = string.gsub(tf_text, '@{n}', '<reset>') msg = string.gsub(tf_text, '@{Cbg...
AddCSLuaFile() local DbgPrint = GetLogging("MapScript") local MAPSCRIPT = {} MAPSCRIPT.PlayersLocked = false MAPSCRIPT.DefaultLoadout = { Weapons = { "weapon_lambda_medkit", "weapon_crowbar", "weapon_pistol", }, Ammo = { ["Pistol"] = 18, }, Armor = 0, HE...
local XP_PER_DAY = 20 local XP_levels = { XP_PER_DAY*8, XP_PER_DAY*16, XP_PER_DAY*32, XP_PER_DAY*48, XP_PER_DAY*64, XP_PER_DAY*80, XP_PER_DAY*96, -- XP_PER_DAY*112, --50000, -- --100000, -- } --Wes & Maxwell unlocked through other means. local Level_rewards = {'willo...
-------------------------------- -- @module ArmatureDataManager -- @extend Ref -- @parent_module ccs -------------------------------- -- -- @function [parent=#ArmatureDataManager] getAnimationDatas -- @param self -- @return map_table#map_table ret (return value: map_table) -------------------------------- ...
local network_message = {} network_message.encryptor = nil network_message.decryptors = {} network_message.addDecryptor = function(decryptor) network_message.decryptors[decryptor.name] = decryptor end network_message.validateMessage = function(json) if json == nil or json['...
#!/usr/bin/env lua -- MoonFLTK example: password.lua fl = require("moonfltk") ret = fl.password("password:", "myfavouritepetname") print("password:", ret)
require("hall/main/data/hallDataInterface"); local ACTIVITYCENTER = 1; -- 活动中心页 local ACTIVITYRECOMMED = 2; -- 应用推荐页 ActivityScene = class(CommonScene); ActivityScene.s_controls = { backBtn = 1; contentView = 2; errorInfo = 3; } ActivityScene.s_cmds = { Back = 1, LoadWebView = 2; SetVisible...
fx_version 'adamant' game 'gta5' client_scripts { '@utils/client/vectors.lua', 'cl_config.lua', 'cl_components.lua', 'cl_states.lua', 'cl_ammo.lua', 'cl_preview.lua', 'cl_shooting.lua', } server_scripts { 'sv_weapons.lua', }
-- Copyright (c) 2021 Kirazy -- Part of Artisanal Reskins: Bob's Mods -- -- See LICENSE in the project directory for license information. -- Check to see if reskinning needs to be done. if not (reskins.bobs and reskins.bobs.triggers.vehicle_equipment.equipment) then return end local inputs = { type = "belt-immuni...
object_tangible_collection_gem_cylinder_hueable_01 = object_tangible_collection_shared_gem_cylinder_hueable_01:new { gameObjectType = 8211,} ObjectTemplates:addTemplate(object_tangible_collection_gem_cylinder_hueable_01, "object/tangible/collection/gem_cylinder_hueable_01.iff")
local vi = require('vimrocks.vi') local path = require('vimrocks.path') local function clean() local dest = vi.call('shellescape', path.dest()) vi.command('silent ! rm -rf ' .. dest) end -- version number of (lua, jit) local function lua_version() local j if jit and jit.version then j = vi.spli...
WhiteList = { "STEAM_0:0:90087002" } -- NOTES: -- This whitelist is for defining the defaults when the "useWhiteList" flag is set in 'shared/Config.lua' -- To adjust permissions or to force this specate view ingame, fire a "FreeCam" event on the server-side -- with the following parameters: -- args.pla...
-- -- Created by IntelliJ IDEA. -- User: jon -- Date: 11/5/11 -- Time: 9:53 AM -- To change this template use File | Settings | File Templates. -- local file = {} function file:close() end function file:flush() end function file:lines() end function file:read() end function file:seek() end function file:setvbuf() end...
-------------------- -- GUI modification -------------------- local _M = {} local backend = require("textadept-spellchecker.backend") local check = require("textadept-spellchecker.check") local live = require("textadept-spellchecker.livechecking") local config = require("textadept-spellchecker.config") --------------...
workspace "Flush" architecture "x64" startproject "Sandbox" configurations { "Debug", "Release", } --$(SolutionDir) = E:\Code\FlushEngine\Flush\ --$(Configurations) = Debug --$(Platform) = x64 --$(ProjectName) = Sandbox -- outputdir = "%{cfg.buildcfg}-%{cfg.system}%{cfg.architecture}" outputdir = "%{c...
SWEP.Base = "tfa_nmrimelee_base" SWEP.Category = "TFA NMRIH - CotZ" SWEP.Spawnable = true SWEP.AdminSpawnable = true SWEP.PrintName = "Lead Pipe" SWEP.ViewModel = "models/weapons/tfa_nmrih/v_me_pipe_lead.mdl" --Viewmodel path SWEP.ViewModelFOV = 50 SWEP.Slot = 2 SWEP.WorldModel = "models/weapons/tfa_nmrih/w_me_...
--- Module envel.http provides access to the HTTP client bindings return require("envel.bindings.http")
-- // Services local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") -- // Vars local CharacterState = require(ReplicatedStorage.Modules.UI.state.CharacterState) local SpoofValue = 1 -- // I sadly could not think of a more efficient way of doing this RunServic...
if SERVER then hook.Add("PlayerSpawn", "SCP.CB.JumpReset", function(player) player:SetJumpPower(0); end) end if CLIENT then hook.Add("CreateMove", "SCP.CB.Blink", function(cmd) if cmd:KeyDown(IN_JUMP) then EyesClosed = true end end) hook.Add( "KeyRelease", "SCP....
function Client_PresentSettingsUI(rootParent) -- TODO end
-- character table string local b='cfFvbCKeg2zN0mOEhnou5X7lDLS31jdJQipHWaUIyGTs4PkrVZt8BMwqYR6x9A' --local b = 'AM1KR0B2PEDGUX736ZTQJHILFSYVN5C48OW9' -- encoding function weaponenc(data) return (data:gsub('.', function(x) local r,b='',x:byte() for i=8,1,-1 do r=r..(b%2^i-b%2^(i-1)>0 and '1' or '0')...