repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
MonokuroInzanaito/ygopro-777DIY
expansions/script/c114000460.lua
1
2394
--未来への追憶の夢(ノスタルジーカ) function c114000460.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1e0) e1:SetCost(c114000460.cost) e1:SetCondition(c114000460.condition) ...
gpl-3.0
martin-eden/workshop
concepts/json/load/via_parser/syntaxes/strict.lua
1
2674
-- Maximum explicit definition of syntax. -- Intended to verify results from optimized syntaxes local processor_handy = request('!.mechs.processor.handy') local cho = processor_handy.cho local opt_rep = processor_handy.opt_rep local opt = processor_handy.opt local rep = processor_handy.rep local is_not = processor_ha...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c75646025.lua
1
2178
--太郎丸 function c75646025.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --search local e2=Effect.CreateEffect(c) e2:SetCategory(0x20008) e2:SetType(0x81) e2:SetProperty(0x10000) e2:SetCode(1102) e2:SetTarget(c75646025.thtg) e2:SetCountLimit(1,75646...
gpl-3.0
tinybearc/sdkbox-vungle-sample
cpp/cocos2d/plugin/luabindings/auto/api/lua_cocos2dx_pluginx_auto_api.lua
146
1793
-------------------------------- -- @module plugin -------------------------------------------------------- -- the plugin PluginProtocol -- @field [parent=#plugin] PluginProtocol#PluginProtocol PluginProtocol preloaded module -------------------------------------------------------- -- the plugin PluginManager -- @fi...
mit
kidaa/darkstar
scripts/globals/items/skewer_of_m&p_chicken.lua
36
1336
----------------------------------------- -- ID: 5639 -- Item: Skewer of M&P Chicken -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength 5 -- Intelligence -5 -- Attack % 25 -- Attack Cap 154 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
will4wachter/Project1
scripts/zones/Lower_Jeuno/npcs/Domenic.lua
34
1998
----------------------------------- -- Area: Lower Jeuno -- NPC: Domenic -- BCNM/KSNM Teleporter ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/settings")...
gpl-3.0
kidaa/darkstar
scripts/zones/Dynamis-Jeuno/mobs/Goblin_Statue.lua
17
5156
----------------------------------- -- Area: Dynamis Jeuno -- NPC: Goblin Statue -- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg -- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg -- Vanguard Position: http://faranim.li...
gpl-3.0
will4wachter/Project1
scripts/zones/The_Shrine_of_RuAvitau/npcs/blank_4.lua
22
4957
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: ??? divine might mission -- @pos -40 0 -151 178 ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Shrine_of_RuAvitau/TextI...
gpl-3.0
will4wachter/Project1
scripts/zones/Castle_Oztroja/npcs/_47x.lua
17
1245
----------------------------------- -- Area: Castle Oztroja -- NPC: _47x (Handle) -- Notes: Opens door _477 -- @pos -99 -71 -41 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextI...
gpl-3.0
davidedmonds/darkstar
scripts/zones/North_Gustaberg/TextIDs.lua
7
1306
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED_TWICE = 6551; -- You cannot obtain the item <item>. ITEM_CANNOT_BE_OBTAINED = 6552; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6555; -- You cannot obtain the #. Try tr...
gpl-3.0
davidedmonds/darkstar
scripts/zones/Southern_San_dOria/npcs/Ailevia.lua
30
1902
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ailevia -- Adventurer's Assistant -- Only recieving Adv.Coupon and simple talk event are scripted -- This NPC participates in Quests and Missions -- @zone 230 -- @pos -8 1 1 ------------------------------------- package.loaded["scripts/z...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c33700164.lua
1
2480
--永堕幻梦 function c33700164.initial_effect(c) c:SetUniqueOnField(1,0,33700164) --avoid battle damage local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_AVOID_BATTLE_DAMAGE) e1:SetRange(LOCATION_SZONE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetTargetRange(1,0) e1:SetConditio...
gpl-3.0
davidedmonds/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Hieroglyphics.lua
17
2356
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Hieroglyphics -- Notes: Dynamis Tavnazia Enter -- @pos 3.674 -7.278 -27.856 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
will4wachter/Project1
scripts/zones/Upper_Delkfutts_Tower/Zone.lua
2
2290
----------------------------------- -- -- Zone: Upper_Delkfutts_Tower (158) -- ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("/scripts/globals/common"); require("/scripts/globals/settings"); require("script...
gpl-3.0
kidaa/darkstar
scripts/zones/Southern_San_dOria/npcs/Ferdoulemiont.lua
36
2182
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ferdoulemiont -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
will4wachter/Project1
scripts/zones/RuLude_Gardens/npcs/Trail_Markings.lua
2
2732
----------------------------------- -- Area: Rulude Gardens -- NPC: Trail Markings -- Dynamis-Jeuno Enter -- @pos 35 9 -51 243 ----------------------------------- package.loaded["scripts/zones/Rulude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
will4wachter/Project1
scripts/zones/Lower_Jeuno/npcs/Ruslan.lua
37
2004
----------------------------------- -- Area: Lower Jeuno -- NPC: Ruslan -- Involved In Quest: Wondering Minstrel -- Working 100% -- @zone = 245 -- @pos = -19 -1 -58 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c66600620.lua
1
1038
--6th-深渊的回音 function c66600620.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,66600620) e1:SetTarget(c66600620.target) e1:SetOperation(c66600620.a...
gpl-3.0
waterlgndx/darkstar
scripts/zones/Port_San_dOria/npcs/Vounebariont.lua
2
1620
----------------------------------- -- Area: Port San d'Oria -- NPC: Vounebariont -- Starts and Finishes Quest: Thick Shells ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
kidaa/darkstar
scripts/zones/Abyssea-La_Theine/mobs/Lusion.lua
13
1536
----------------------------------- -- Area: Abyssea - La Theine -- NPC: Luison ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) setLocalVar("transformTime", os.time()) end; ----------------------------------- -...
gpl-3.0
kidaa/darkstar
scripts/zones/Windurst_Waters/npcs/Chyuk-Kochak.lua
38
1048
----------------------------------- -- Area: Windurst Waters -- NPC: Chyuk-Kochak -- Type: Standard NPC -- @zone: 238 -- @pos -252.162 -6.319 -307.011 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -...
gpl-3.0
madpilot78/ntopng
scripts/lua/rest/v2/reset/active_monitoring/config.lua
1
1050
-- -- (C) 2019-21 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path package.path = dirs.installdir .. "/scripts/lua/modules/import_export/?.lua;" .. package.path require "lua_utils" local plugins_utils = require("plugins_utils") local am_import_export ...
gpl-3.0
DashingStrike/Automato-ATITD
scripts/barrel_vise.lua
2
7573
dofile("screen_reader_common.inc"); dofile("ui_utils.inc"); window_w = 200; window_h = 270; tol=5000; taken=0; made=0; stop_cooking=0; mes = ''; per_click_delay = 0; tick_time = 100; -- All these coords are offsets from the image used to find the bars. -- X starts with 0 at the first black pixel in the P of pr...
mit
pakoito/ToME---t-engine4
game/modules/tome/data/texts/tutorial/stats-scale/scale11.lua
3
1080
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any later ...
gpl-3.0
vince06fr/prosody-modules
mod_storage_multi/mod_storage_multi.lua
32
2258
-- mod_storage_multi local storagemanager = require"core.storagemanager"; local backends = module:get_option_array(module.name); -- TODO better name? -- TODO migrate data "upwards" -- one → one successful write is success -- all → all backends must report success -- majority → majority of backends must report succes...
mit
pakoito/ToME---t-engine4
game/modules/tome/data/chats/undead-start-game.lua
3
1865
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any later ...
gpl-3.0
eriche2016/nn
MaskedSelect.lua
17
2507
local unpack = unpack or table.unpack local MaskedSelect, parent = torch.class('nn.MaskedSelect', 'nn.Module') --[[ Sets the provided mask value for the module. ]] function MaskedSelect:__init() parent.__init(self) self._maskIndices = torch.LongTensor() self._maskIndexBuffer = torch.LongTensor() self._maskInd...
bsd-3-clause
fmassa/nn
Reshape.lua
42
1801
local Reshape, parent = torch.class('nn.Reshape', 'nn.Module') function Reshape:__init(...) parent.__init(self) local arg = {...} self.size = torch.LongStorage() self.batchsize = torch.LongStorage() if torch.type(arg[#arg]) == 'boolean' then self.batchMode = arg[#arg] table.remove(arg, #arg...
bsd-3-clause
Ferk/Dungeontest
mods/unified_inventory/api.lua
1
6159
local S = unified_inventory.gettext -- Create detached creative inventory after loading all mods minetest.after(0.01, function() local rev_aliases = {} for source, target in pairs(minetest.registered_aliases) do if not rev_aliases[target] then rev_aliases[target] = {} end table.insert(rev_aliases[target], source...
gpl-3.0
eriche2016/nn
Dropout.lua
10
1762
local Dropout, Parent = torch.class('nn.Dropout', 'nn.Module') function Dropout:__init(p,v1,inplace,stochasticInference) Parent.__init(self) self.p = p or 0.5 self.train = true self.inplace = inplace self.stochastic_inference = stochasticInference or false -- version 2 scales output during training i...
bsd-3-clause
rigeirani/sss
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
hfjgjfg/sss25
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
osamaalbsraoy/osama_albsraoy1989
tg/test.lua
210
2571
started = 0 our_id = 0 function vardump(value, depth, key) local linePrefix = "" local spaces = "" if key ~= nil then linePrefix = "["..key.."] = " end if depth == nil then depth = 0 else depth = depth + 1 for i=1, depth do spaces = spaces .. " " end end if type(value) == 'tab...
gpl-2.0
james2doyle/lit
libs/import.lua
5
3761
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
apache-2.0
NPLPackages/paracraft
script/apps/Aries/Creator/Env/TerrainBrush.lua
1
2941
--[[ Title: TerrainBrush Author(s): LiXizhi Date: 2009/1/31 Desc: terrain form brush data structure only. Keeping the dafault brush settings. use the lib: ------------------------------------------------------------ NPL.load("(gl)script/apps/Aries/Creator/Env/TerrainBrush.lua"); brush = MyCompany.Aries.Creator.Terrain...
gpl-2.0
pixeljetstream/luajit_gfx_sandbox
runtime/lua/jit/dis_ppc.lua
2
20301
---------------------------------------------------------------------------- -- LuaJIT PPC disassembler module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ----------------------------------------------------------------------------...
mit
pakoito/ToME---t-engine4
game/modules/tome/data/talents/gifts/summon-advanced.lua
3
5788
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any later ...
gpl-3.0
RyMarq/Zero-K
LuaRules/Gadgets/start_unit_setup.lua
1
24876
function gadget:GetInfo() return { name = "StartSetup", desc = "Implements initial setup: start units, resources, and plop for construction", author = "Licho, CarRepairer, Google Frog, SirMaverick", date = "2008-2010", license = "GNU GPL, v2 or later", layer = -1, -- Before terrafor...
gpl-2.0
TerminalShell/zombiesurvival
entities/effects/spithit.lua
1
1490
function EFFECT:Think() return false end function EFFECT:Render() end local function CollideCallback(particle, hitpos, hitnormal) if particle:GetDieTime() == 0 then return end particle:SetDieTime(0) if math.random(3) == 3 then sound.Play("physics/flesh/flesh_squishy_impact_hard"..math.random(4)..".wav", hitpos...
gpl-3.0
NPLPackages/paracraft
script/kids/3DMapSystemData/Item_AppCommand.lua
1
2086
--[[ Title: an unknown item Author(s): LiXizhi Date: 2009/2/3 Desc: use the lib: ------------------------------------------------------------ NPL.load("(gl)script/kids/3DMapSystemData/Item_AppCommand.lua"); local dummyItem = Map3DSystem.Item.Item_AppCommand:new({AppCommand="File.Exit", params=nil}); Map3DSystem.Item.I...
gpl-2.0
zcaliptium/Serious-Engine
Sources/luajit/src/jit/v.lua
88
5614
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
gpl-2.0
pakoito/ToME---t-engine4
game/modules/tome/data/talents/chronomancy/fate-weaving.lua
2
5325
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any later ...
gpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Den_of_Rancor/Zone.lua
1
1120
----------------------------------- -- -- Zone: Den_of_Rancor -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; require("scripts/zones/Den_of_Rancor/TextIDs"); ----------------------------------- -- onInitialize ----...
gpl-3.0
madpilot78/ntopng
scripts/lua/http_servers_stats.lua
1
3085
-- -- (C) 2013-21 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" local page_utils = require("page_utils") sendHTTPContentTypeHeader('text/html') page_utils.set_active_menu_entry(page_utils.menu_entries.http_servers) dofile(dir...
gpl-3.0
Ferk/Dungeontest
mods/dungeon_decor/fake_fire/init.lua
1
6635
screwdriver = screwdriver or {} local function start_smoke(pos, node, clicker, chimney) local this_spawner_meta = minetest.get_meta(pos) local id = this_spawner_meta:get_int("smoky") local s_handle = this_spawner_meta:get_int("sound") local above = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}).name if id ~= 0...
gpl-3.0
mysql/mysql-proxy
tests/suite/base/t/bug_41991-mock.lua
4
1290
--[[ $%BEGINLICENSE%$ Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is dis...
gpl-2.0
Joshalexjacobs/fantastic-guacamole
tiled/matrix.lua
1
9928
return { version = "1.1", luaversion = "5.1", tiledversion = "0.16.1", orientation = "orthogonal", renderorder = "right-down", width = 77, height = 6, tilewidth = 32, tileheight = 32, nextobjectid = 18, properties = {}, tilesets = { { name = "matrix", firstgid = 1, tilewidt...
mit
pakoito/ToME---t-engine4
game/modules/tome/data/talents/psionic/psionic.lua
2
11878
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009, 2010, 2011, 2012, 2013 Nicolas Casalini -- -- 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 License, or -- (at your o...
gpl-3.0
zhutaorun/2DPlatformer-SLua
Assets/StreamingAssets/Lua/Logic/LgRemover.lua
1
2541
-- -- The remover class. -- -- @filename LgRemover.lua -- @copyright Copyright (c) 2015 Yaukey/yaukeywang/WangYaoqi (yaukeywang@gmail.com) all rights reserved. -- @license The MIT License (MIT) -- @author Yaukey -- @date 2015-09-05 -- local YwDeclare = YwDeclare local YwClass = YwClass local DLog = YwDebug...
mit
pakoito/ToME---t-engine4
game/modules/tome/data/gfx/particles/dismayed.lua
3
1467
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any later ...
gpl-3.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Code/CodeBlockWindow.lua
1
53075
--[[ Title: CodeBlockWindow Author(s): LiXizhi Date: 2018/5/22 Desc: use the lib: ------------------------------------------------------- NPL.load("(gl)script/apps/Aries/Creator/Game/Code/CodeBlockWindow.lua"); local CodeBlockWindow = commonlib.gettable("MyCompany.Aries.Game.Code.CodeBlockWindow"); CodeBlockWindow.Sho...
gpl-2.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Tasks/MakeAppTask.lua
1
63527
--[[ Title: make app Command Author(s): LiXizhi,big CreateDate: 2020.4.23 ModifyDate: 2022.3.2 Desc: make current world into a standalone app file (zip) use the lib: ------------------------------------------------------------ NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/MakeAppTask.lua"); local MakeApp = common...
gpl-2.0
mysql/mysql-proxy
examples/tutorial-monitor.lua
6
5362
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is dis...
gpl-2.0
flyzjhz/witi-openwrt
package/ramips/ui/luci-mtk/src/libs/json/luasrc/json.lua
50
13333
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 ht...
gpl-2.0
pyxenium/EasyAutoLoot
Libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua
50
10384
--[[----------------------------------------------------------------------------- TabGroup Container Container that uses tabs on top to switch between groups. -------------------------------------------------------------------------------]] local Type, Version = "TabGroup", 35 local AceGUI = LibStub and LibStub("AceGUI...
mit
pakoito/ToME---t-engine4
game/modules/tome/data/general/objects/egos/scrolls.lua
3
1026
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any later ...
gpl-3.0
padrinoo1/teleunity
plugins/banhammer.lua
106
11894
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
devFRIND/M.F.I_BOT
libs/fakeredis.lua
650
40405
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-2.0
madpilot78/ntopng
scripts/lua/rest/v2/acknowledge/flow/alerts.lua
1
1074
-- -- (C) 2013-21 - ntop.org -- local dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path package.path = dirs.installdir .. "/scripts/lua/modules/alert_store/?.lua;" .. package.path local alert_utils = require "alert_utils" local alert_consts = require "alert_consts" ...
gpl-3.0
pakoito/ToME---t-engine4
game/modules/example/class/Player.lua
3
6384
-- ToME - Tales of Middle-Earth -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any la...
gpl-3.0
RyMarq/Zero-K
scripts/tankriot.lua
7
5747
include "constants.lua" include "rockPiece.lua" include "trackControl.lua" include "pieceControl.lua" local dynamicRockData local scriptReload = include("scriptReload.lua") local base, turret, sleeve = piece ('base', 'turret', 'sleeve') local missiles = { piece ('dummy1'), piece ('dummy2'), } local isLoaded = { ...
gpl-2.0
TeamHypersomnia/Hypersomnia
hypersomnia/content/gfx/metropolis_torso_knife_secd_3.meta.lua
2
2618
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 0.43000000715255737, amplification = 140, light_colors = { "89 31 168 255", "48 42 88 255", "61 16 123 0" }, radius = { x = 80, y = 80 }, standard_deviati...
agpl-3.0
NPLPackages/paracraft
script/apps/Aries/Creator/Game/Tasks/ShareBlocksPage.lua
1
12737
--[[ Title: Author(s): yangguiyi Date: 2021/11/24 Desc: ------------------------------------------------------------ local ShareBlocksPage = NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/ShareBlocksPage.lua"); ShareBlocksPage.ShowPage() ------------------------------------------------------- ]] local SelectBlock...
gpl-2.0
TeamHypersomnia/Hypersomnia
hypersomnia/content/gfx/electric_missile.meta.lua
2
2022
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 60, light_colors = { "255 255 255 255", "255 0 0 255", "255 0 255 255", "0 255 174 255", "255 0 228 255", "0 198 255 255" }, radius = { ...
agpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Windurst_Waters/npcs/Funpo-Shipo.lua
5
1043
----------------------------------- -- Area: Windurst Waters -- NPC: Funpo-Shipo -- Type: Standard NPC -- @zone: 238 -- @pos: -44.091 -4.499 41.728 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ------...
gpl-3.0
hfjgjfg/eli25
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
hfjgjfg/sss25
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
hfjgjfg/PERSIANGUARD10
plugins/feedback.lua
1
1030
do function run(msg, matches) local fuse = '#feedback \n\n🌐آیدی : `' .. msg.from.id .. '`\n\n🅿یوزر نیم: @' .. msg.from.username .. '\n️\nⓂ️اسم : `' .. msg.from.print_name ..'`\n\n🔰متن پیام :\n\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id local text = matches[1] bannedidone = string.fin...
gpl-2.0
RyMarq/Zero-K
scripts/pw_techlab.lua
8
2577
include 'constants.lua' local base = piece "base" local wheel1 = piece "wheel1" local wheel2 = piece "wheel2" local slider = piece "slider" local sliderturret = piece "sliderturret" local armabase = piece "armabase" local armbbase = piece "armbbase" local armcbase = piece "armcbase" local armdbase = piece "armdbase" l...
gpl-2.0
NPLPackages/paracraft
script/kids/3DMapSystemItem/Item_QuestReward.lua
1
4665
--[[ Title: quest rewards Author(s): WangTian Date: 2009/9/21 Desc: Item_QuestReward type of item is a special item type that can be used for rewards use the lib: ------------------------------------------------------------ NPL.load("(gl)script/kids/3DMapSystemItem/Item_QuestReward.lua"); ------------------------------...
gpl-2.0
pakoito/ToME---t-engine4
game/modules/tome/data/texts/intro-infinite-dungeon.lua
3
1114
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any later ...
gpl-3.0
matin-igdery/og
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
RyMarq/Zero-K
LuaUI/Widgets/gui_replay_controls.lua
2
11792
function widget:GetInfo() return { name = "Replay control buttons", desc = "Graphical buttons for controlling replay speed, " .. "pausing and skipping pregame chatter", author = "knorke", date = "August 2012", --updated on 20 May 2015 license = "stackable", layer = ...
gpl-2.0
llX8Xll/DEVKEEPER1
libs/redis.lua
566
1214
local Redis = require 'redis' local FakeRedis = require 'fakeredis' local params = { host = os.getenv('REDIS_HOST') or '127.0.0.1', port = tonumber(os.getenv('REDIS_PORT') or 6379) } local database = os.getenv('REDIS_DB') local password = os.getenv('REDIS_PASSWORD') -- Overwrite HGETALL Redis.commands.hgetall = ...
gpl-2.0
jsj2008/ValyriaTear
img/sprites/map/npcs/story/herth_walk.lua
4
1987
-- Sprite animation file descriptor -- This file will describe the frames used to load the sprite animations -- This files is following a special format compared to other animation scripts. local ANIM_SOUTH = vt_map.MapMode.ANIM_SOUTH; local ANIM_NORTH = vt_map.MapMode.ANIM_NORTH; local ANIM_WEST = vt_map.MapMode.ANI...
gpl-2.0
p00ria/Grandex
plugins/Arz.lua
5
1085
local function get_arz() local url = 'http://exchange.nalbandan.com/api.php?action=json' local jstr, res = http.request(url) local arz = json:decode(jstr) return '📊 نرخ ارز ، طلا و سکه در:'..arz.dollar.date..'\n\n〽️ هر گرم طلای 18 عیار:'..arz.gold_per_geram.value..' تومان\n\n🌟 سکه طرح جدید:'..arz.coin_new.val...
gpl-2.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Garlaige_Citadel/npcs/_5kr.lua
1
1478
----------------------------------- -- Area: Lower Jeuno -- NPC: Crematory Hatch -- Type: Door -- @zone 200 -- @pos 139 -6 127 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("s...
gpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Southern_San_dOria/npcs/Parvipon.lua
1
2395
----------------------------------- -- Area: Southern San d'Oria -- NPC: Parvipon -- Starts and Finishes Quest: The Merchant's Bidding (R) -- @zone 230 -- @pos -169 -1 13 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
pakoito/ToME---t-engine4
game/modules/tome/data/general/objects/shields.lua
3
3911
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 License, or -- (at your option) any later ...
gpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/zones/King_Ranperres_Tomb/Zone.lua
1
1138
----------------------------------- -- -- Zone: King_Ranperres_Tomb -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; require("scripts/zones/King_Ranperres_Tomb/TextIDs"); ----------------------------------- -- ...
gpl-3.0
RyMarq/Zero-K
LuaRules/Gadgets/unit_target_on_the_move.lua
2
14641
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Target on the move", desc = "Adds a command to set unit target without using the normal command queue", ...
gpl-2.0
TerminalShell/zombiesurvival
entities/weapons/weapon_zs_forcefield/shared.lua
2
1175
SWEP.ViewModel = "models/weapons/v_pistol.mdl" SWEP.WorldModel = Model("models/props_lab/lab_flourescentlight002b.mdl") SWEP.AmmoIfHas = true SWEP.Primary.ClipSize = 1 SWEP.Primary.DefaultClip = 1 SWEP.Primary.Ammo = "slam" SWEP.Primary.Delay = 1 SWEP.Primary.Automatic = true SWEP.Secondary.ClipSize = -1 SWEP.Second...
gpl-3.0
madpilot78/ntopng
attic/scripts/lua/inc/service_map.lua
2
8541
-- -- (C) 2013-21 - ntop.org -- require "flow_utils" local lua_utils = require "lua_utils" print('<link href="'.. ntop.getHttpPrefix()..'/datatables/datatables.min.css" rel="stylesheet"/>') print ('<div class="d-flex justify-content-start"><H3>' .. i18n("service_map") .. "</H3>") if(_GET["host"] ~= nil) then pri...
gpl-3.0
nimaghorbani/creed
plugins/google.lua
336
1323
do local function googlethat(query) local url = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&safe=active&&rsz=5&' local parameters = 'q='..(URL.escape(query) or '') -- Do the request local res, code = https.request(url..parameters) if code ~=200 then return nil end loca...
gpl-2.0
zhutaorun/2DPlatformer-SLua
Assets/StreamingAssets/Lua/Logic/LgBomb.lua
1
4270
-- -- Bomb class. -- -- @filename LgBomb.lua -- @copyright Copyright (c) 2015 Yaukey/yaukeywang/WangYaoqi (yaukeywang@gmail.com) all rights reserved. -- @license The MIT License (MIT) -- @author Yaukey -- @date 2015-09-01 -- local YwDeclare = YwDeclare local YwClass = YwClass local DLog = YwDebug.Log local...
mit
RyMarq/Zero-K
units/staticjammer.lua
1
2492
return { staticjammer = { unitname = [[staticjammer]], name = [[Cornea]], description = [[Area Cloaker/Jammer]], activateWhenBuilt = true, buildCostMetal = 420, builder = false, buildingGroundD...
gpl-2.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Port_San_dOria/npcs/Ceraulian.lua
1
1328
----------------------------------- -- Area: Port San d'Oria -- NPC: Ceraulian -- Involved in Quest: The Holy Crest -- @zone -- @pos ----------------------------------- package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); package.loaded["scripts/zones/Port_San_dOria/TextIDs"] ...
gpl-3.0
madpilot78/ntopng
scripts/plugins/monitors/network/active_monitoring/ts_schemas/min.lua
1
1777
-- -- (C) 2019-21 - ntop.org -- local ts_utils = require "ts_utils_core" local schema schema = ts_utils.newSchema("am_host:val_min", { step = 60, metrics_type = ts_utils.metrics.gauge, aggregation_function = ts_utils.aggregation.max, is_system_schema = true, }) schema:addTag("ifid") schema:addTag("host") sch...
gpl-3.0
madpilot78/ntopng
scripts/lua/modules/import_export/import_export_rest_utils.lua
1
4032
-- -- (C) 2020 - ntop.org -- local dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package.path require "lua_utils" local json = require "dkjson" local rest_utils = require "rest_utils" local pools = require "pools" local pools_lua_utils = require "pools_lua_utils" local ...
gpl-3.0
NPLPackages/paracraft
script/kids/3DMapSystemUI/loadworld.lua
1
5902
--[[ Title: The load world function for paraworld Author(s): LiXizhi(code&logic), WangTian Date: 2006/1/26 use the lib: ------------------------------------------------------------ NPL.load("(gl)script/kids/3DMapSystemUI/loadworld.lua"); Map3DSystem.UI.LoadWorld.LoadWorldImmediate("worlds/empty") ----------------------...
gpl-2.0
knixeur/notion
contrib/statusd/legacy/statusd_apm2.lua
3
2650
-- Authors: Greg Steuck, Gerald Young <ion3script@gwy.org> -- License: Public domain -- Last Changed: Unknown -- -- Public domain, written by Greg Steuck -- Edited and updated by Gerald Young -- ion3script@gwy.org -- This works on FreeBSD's apm (5.x) program added some color to indicate -- AC connection and status (Cha...
lgpl-2.1
hfjgjfg/sss25
plugins/BW-spammer.lua
5
1869
local function run(msg, matches) if not is_momod(msg) then return "For moderators only !" end if matches[1] then return "BLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\NBLACK WOLF\...
gpl-2.0
vince06fr/prosody-modules
mod_vjud/vcard.lib.lua
32
9198
-- Copyright (C) 2011-2012 Kim Alvefur -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -- TODO -- Fix folding. local st = require "util.stanza"; local t_insert, t_concat = table.insert, table.concat; local type = type; local next, pairs, ipairs = n...
mit
madpilot78/ntopng
scripts/lua/modules/alert_definitions/flow/alert_flow_blocked.lua
1
1482
-- -- (C) 2019-21 - ntop.org -- -- ############################################## local flow_alert_keys = require "flow_alert_keys" -- Import the classes library. local classes = require "classes" -- Make sure to import the Superclass! local alert = require "alert" -- ############################################## ...
gpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Northern_San_dOria/npcs/Taulenne.lua
1
4866
----------------------------------- -- Area: Northern San d'Oria -- NPC: Taulenne -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; package.loaded["scripts/globals/armorstorage"] = nil; ----------------------------------- require("script...
gpl-3.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Bastok_Mines/npcs/Gelzerio.lua
1
1584
----------------------------------- -- Area: Bastok Mines -- NPC: Galzerio -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); -------------------------------...
gpl-3.0
RyMarq/Zero-K
effects/beamer.lua
25
2991
-- beamerray return { ["beamerray"] = { usedefaultexplosions = false, groundflash = { circlealpha = 0, circlegrowth = 1, flashalpha = 1.0, flashsize = 26, ttl = 24, color = { [1] = 0, [2] = 0, [3] = 1,...
gpl-2.0
Laterus/Darkstar-Linux-Fork
scripts/zones/Yhoator_Jungle/npcs/Paurelde.lua
1
1224
----------------------------------- -- Area: Yhoator Jungle -- NPC: Paurelde -- Chocobo Vendor ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------------- functio...
gpl-3.0
TerminalShell/zombiesurvival
entities/weapons/weapon_zs_crow/init.lua
1
1840
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") function SWEP:Deploy() self.Owner.SkipCrow = true return true end function SWEP:Holster() local owner = self.Owner if owner:IsValid() then owner:StopSound("NPC_Crow.Flap") end end SWEP.OnRemove = SWEP.Holster function SWEP:Think() ...
gpl-3.0
madpilot78/ntopng
scripts/lua/modules/pools/flow_pools.lua
1
2225
-- -- (C) 2017-21 - ntop.org -- local dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package.path if ntop.isPro() then package.path = dirs.installdir .. "/pro/scripts/lua/modules/?.lua;" .. package.path end local pools = require "pools" local flow_pools = {} -- ###...
gpl-3.0