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
xtao/ntopng
third-party/LuaJIT-2.0.3/dynasm/dasm_x86.lua
59
58755
------------------------------------------------------------------------------ -- DynASM x86/x64 module. -- -- Copyright (C) 2005-2014 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ local x64 = x64 -- Module i...
gpl-3.0
dkorolev/tarantool
test/box/alter.test.lua
1
5759
_space = box.space[box.schema.SPACE_ID] _index = box.space[box.schema.INDEX_ID] ADMIN = 1 -- -- Test insertion into a system space - verify that -- mandatory fields are required. -- _space:insert{_space.id, ADMIN, 'test', 5 } -- -- Bad space id -- _space:insert{'hello', 'world', 'test'} -- -- Can't create a space which...
bsd-2-clause
Deiz/naev
dat/ai/include/attack_bomber.lua
5
2690
--[[ -- Attack functions for bombers --]] --[[ -- Bombers don't really think, they lock on until target is dead. --]] function atk_b_think () -- No thinking atm end --[[ -- Attacks the current target, task pops when target is dead. -- -- Specialized for bomber type craft. AI will try to shoot missiles and s...
gpl-3.0
Maliv/cyber
plugins/owners.lua
71
12458
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
yzziizzy/minetest_giants
init.lua
1
2395
local path = minetest.get_modpath("giants") giants = {} local mod_storage = minetest.get_mod_storage() local storagedata = mod_storage:to_table() -- Assuming there are only messages in the mod configuration --print("storage data: \n") --print(dump(storagedata)) if storagedata ~= nil then --print("loading group ...
mit
HeavensSword/darkstar
scripts/zones/Windurst_Woods/npcs/Bopa_Greso.lua
5
1509
----------------------------------- -- Area: Windurst Woods -- NPC: Bopa Greso -- Type: Standard NPC -- @zone 241 -- !pos 59.773 -6.249 216.766 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; --------------...
gpl-3.0
shahifaqeer/my-luci-bismark-0.11
applications/luci-statistics/luasrc/model/cbi/luci_statistics/collectd.lua
5
2377
--[[ Luci configuration model for statistics - general collectd configuration (c) 2008 Freifunk Leipzig / 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 ...
apache-2.0
HeavensSword/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua
5
1042
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Caiphimonride -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Tavnazian_Safe...
gpl-3.0
HeavensSword/darkstar
scripts/globals/abilities/fighters_roll.lua
1
2850
----------------------------------- -- Ability: Fighter's Roll -- Improves "Double Attack" rate for party members within area of effect -- Optimal Job: Warrior -- Lucky Number: 5 -- Unlucky Number: 9 -- Level: 49 -- Phantom Roll +1 Value: 1 -- -- Die Roll |No WAR |With WAR -- -------- -------- ----------- -- 1 ...
gpl-3.0
Openarl/PathOfBuilding
Data/2_6/ModFlask.lua
2
9464
-- This file is automatically generated, do not edit! -- Item data (c) Grinding Gear Games return { ["FlaskIncreasedRecoverySpeed1"] = { type = "Prefix", affix = "Catalysed", "50% increased Recovery Speed", statOrderKey = "158", statOrder = { 158 }, level = 1, group = "FlaskRecoverySpeed", weightKey = { "utility_flas...
mit
HeavensSword/darkstar
scripts/globals/spells/sandstorm.lua
32
1181
-------------------------------------- -- Spell: Sandstorm -- Changes the weather around target party member to "dusty." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -...
gpl-3.0
Illarion-eV/Illarion-Content
handler/opendoor.lua
5
1435
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
QuetzalQatl/RustPluginManual
SnapshotAllPlugins/m-GatherRate.lua
1
10877
 -- ----------------------------------------------------------------------------------- -- Increased Gather Rate Version 1.1.2 -- ----------------------------------------------------------------------------------- -- Filename: m-GatherRate.lua -- Last Modificati...
gpl-2.0
shingenko/darkstar
scripts/zones/RuAun_Gardens/npcs/qm2.lua
16
1440
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: ??? (Seiryu's Spawn) -- Allows players to spawn the HNM Seiryu with a Gem of the East and a Springstone. -- @pos 569 -70 -80 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; ------------------...
gpl-3.0
nakrakiiya/luadocumentor
template/index.lua
4
1042
-------------------------------------------------------------------------------- -- Copyright (c) 2012 Sierra Wireless. -- All rights reserved. This program and the accompanying materials -- are made available under the terms of the Eclipse Public License v1.0 -- which accompanies this distribution, and is availabl...
epl-1.0
TheAncientGoat/GodheadLips
data/godhead/scripts/content/weapons.lua
1
24504
-- (materials sorted by durability) -- weapon\matrl W S Q I C A -- ====================================== -- mattock + + + + + + -- staff + - - - - - -- -- dagger + + + + + + -- hatchet + + + + + + -- sword + + + + + + -- club + - - - - - -- -- gr...
gpl-3.0
ArcherSys/ArcherSys
Lua/lua/oil/arch/corba.lua
1
3672
local pairs = pairs local port = require "oil.port" local component = require "oil.component" local arch = require "oil.arch" local base = require "oil.arch.typed" local sysex = require "oil.corba.idl.sysex" --[[VERBOSE]] local verbose = require "oil.verbose" module ...
mit
fingon/hnet-core
scbtcp.lua
1
5665
#!/usr/bin/env lua -- -*-lua-*- -- -- $Id: scbtcp.lua $ -- -- Author: Markus Stenberg <markus stenberg@iki.fi> -- -- Copyright (c) 2013 cisco Systems, Inc. -- -- Created: Sun Jan 27 11:15:32 2013 mstenber -- Last modified: Sat Oct 19 01:48:06 2013 mstenber -- Edit time: 27 min -- -- (Code has been moved here...
gpl-2.0
shingenko/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm6.lua
34
1106
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm6 (???) -- Notes: Opens door @ J-8 from behind -- @pos 105.502 -25.262 57.138 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player...
gpl-3.0
psychon/awesome
tests/test-keyboard-layout-changes.lua
6
1106
-- Test for bug #1494: Using xmodmap freezes awesome since it re-queries the -- keyboard layout many, many times. (xmodmap applies each change on its own) local runner = require("_runner") local spawn = require("awful.spawn") local GLib = require("lgi").GLib local done local timer = GLib.Timer() local steps = { ...
gpl-2.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/latex/polyglossia/polyglossia-punct.lua
1
11761
require('polyglossia') -- just in case... local add_to_callback = luatexbase.add_to_callback local remove_from_callback = luatexbase.remove_from_callback local priority_in_callback = luatexbase.priority_in_callback local new_attribute = luatexbase.new_attribute local node = node local insert_node_before ...
gpl-2.0
PorkShoulderHolder/lstm
base.lua
1
2291
-- -- Copyright (c) 2014, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the Apache 2 license found in the -- LICENSE file in the root directory of this source tree. -- function g_disable_dropout(node) if type(node) == "table" and node.__typename == nil then for i = 1, #node...
apache-2.0
fingon/hnet-core
spec/scr_spec.lua
1
10667
#!/usr/bin/env lua -- -*-lua-*- -- -- $Id: scr_spec.lua $ -- -- Author: Markus Stenberg <markus stenberg@iki.fi> -- -- Copyright (c) 2013 cisco Systems, Inc. -- -- Created: Thu Apr 25 10:54:26 2013 mstenber -- Last modified: Thu May 16 11:27:31 2013 mstenber -- Edit time: 61 min -- -- Simple testsuite for co...
gpl-2.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/LuaMacro/luam.lua
1
7373
--[[-- Front end for LuaMacro, a Lua macro preprocessor. The default action is to preprocess and run a Lua file. To just dump the preprocessed output, use the `-d` flag. Like `lua`, the `-l` flag can be used to load a library first, but you need to explicitly say `-i` to get an interactive prompt. The package...
lgpl-3.0
Illarion-eV/Illarion-Content
content/ronaganDungeon.lua
1
2415
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
shingenko/darkstar
scripts/zones/Xarcabard/Zone.lua
17
3133
----------------------------------- -- -- Zone: Xarcabard (112) -- ----------------------------------- package.loaded[ "scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Xarcabard/TextIDs"); require("scripts/globals/icanheararainbow"); require("scripts/global...
gpl-3.0
moaxcp/notion-config
notion/net_client_list.lua
7
2805
-- Authors: Etan Reisner <deryni@gmail.com> -- License: MIT, see http://opensource.org/licenses/mit-license.php -- Last Changed: 2007-07-22 -- --[[ Author: Etan Reisner Email: deryni@unreliablesource.net Summary: Maintains the _NET_CLIENT_LIST property (and the _NET_CLIENT_LIST_STACKING property incorrectly) on the roo...
mit
nicholas-leonard/dpnn
OneHot.lua
3
1958
local OneHot, parent = torch.class('nn.OneHot', 'nn.Module') -- adapted from https://github.com/karpathy/char-rnn -- and https://github.com/hughperkins/char-lstm function OneHot:__init(outputSize) parent.__init(self) self.outputSize = outputSize end function OneHot:updateOutput(input) local size if type(...
bsd-3-clause
shingenko/darkstar
scripts/globals/items/blind_bolt.lua
41
1057
----------------------------------------- -- ID: 18150 -- Item: Blind Bolt -- Additional Effect: Blindness ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- ...
gpl-3.0
shingenko/darkstar
scripts/globals/items/soft-boiled_egg.lua
35
1195
----------------------------------------- -- ID: 4532 -- Item: soft-boiled_egg -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Magic 20 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
shingenko/darkstar
scripts/zones/The_Shrouded_Maw/mobs/Diabolos.lua
16
8384
----------------------------------- -- Area: The Shrouded Maw -- MOB: Diabolos ----------------------------------- -- TODO: CoP Diabolos -- 1) Make the diremites in the pit all aggro said player that falls into region. Should have a respawn time of 10 seconds. -- 2) Diremites also shouldnt follow you back to t...
gpl-3.0
shingenko/darkstar
scripts/globals/spells/sinewy_etude.lua
18
1762
----------------------------------------- -- Spell: Sinewy Etude -- Static STR Boost, BRD 24 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMag...
gpl-3.0
shingenko/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Nijaom.lua
33
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Nijaom -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); -----------...
gpl-3.0
padrinoo1/telelove
plugins/LinkPv.lua
107
31031
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
TheAncientGoat/GodheadLips
data/godhead/scripts/server/generator.lua
1
15400
require "server/region" Generator = Class() Generator.class_name = "Generator" Generator.map_size = Vector(1000, 1000, 1000) Generator.map_start = Vector(600, 600, 600) - Generator.map_size * 0.5 Generator.map_end = Vector(600, 600, 600) + Generator.map_size * 0.5 Generator.map_version = "6" Generator.layer_offset = 1...
gpl-3.0
shingenko/darkstar
scripts/zones/Navukgo_Execution_Chamber/Zone.lua
28
1358
----------------------------------- -- -- Zone: Navukgo_Execution_Chamber (64) -- ----------------------------------- package.loaded["scripts/zones/Navukgo_Execution_Chamber/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Navukgo_Execution_Chamb...
gpl-3.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/cgilua/src/cgilua/loader.lua
1
3607
-- CGILua loader -- -- Assumes two global variables pointing to directories: -- CGILUA_CONF - CGILua configuration directory -- CGILUA_TMP - CGILua temporary files directory -- -- # $Id: loader.lua,v 1.7 2008/03/28 22:01:18 ignacio Exp $ require "lfs" module("cgilua.loader", package.seeall) function i...
lgpl-3.0
Pd2VoidTeam/VoidUI
lua/managers/Jokers.lua
1
5241
if RequiredScript == "lib/units/contourext" then table.insert(ContourExt._types, "joker") ContourExt._types["joker"] = {priority = 1, material_swap_required = true} elseif RequiredScript == "lib/managers/group_ai_states/groupaistatebase" then Hooks:PostHook(GroupAIStateBase,"convert_hostage_to_criminal","void_co...
gpl-3.0
shingenko/darkstar
scripts/zones/Kamihr_Drifts/npcs/LiseranDoorEntrance.lua
19
1183
----------------------------------- -- Area: Kamihr Drifts -- NPC: Liseran Door Entrance -- Zones to Outer Ra'Kaznar (zone 274) -- @zone 274 -- @pos -34.549 -181.334 -20.031 ----------------------------------- package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
Clavus/Conclavus
engine/extend/table.lua
2
9824
------------------------ -- Extensions to the [table module](http://www.lua.org/manual/5.1/manual.html#5.5). -- Credit to rxi's [lume](https://github.com/rxi/lume/) lib for some of these functions.. -- @extend table --- Copies a table. -- Only copies references to nested tables. -- @tparam table t table to copy -- @tr...
mit
shingenko/darkstar
scripts/commands/addcurrency.lua
26
1362
--------------------------------------------------------------------------------------------------- -- func: @addcurrency <currency type> <amount> <target player> -- desc: Adds the specified currency to the player --------------------------------------------------------------------------------------------------- ...
gpl-3.0
openwayne/chaos_theory
mods/homedecor/handlers/furnaces.lua
4
8550
-- This code supplies an oven/stove. Basically it's just a copy of the default furnace with different textures. local S = homedecor_i18n.gettext local function swap_node(pos, name) local node = minetest.get_node(pos) if node.name == name then return end node.name = name minetest.swap_node(pos, node) end local fu...
lgpl-2.1
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/cosmo/samples/sample.lua
1
1899
local cosmo = require "cosmo" template = [==[ <h1>$list_name</h1> <ul> $do_items[=[<li>$item</li>]=] </ul> ]==] print(cosmo.fill(template, { list_name = "My List", do_items = function() for i=1,5 do cosmo.yield { item = i } en...
lgpl-3.0
ArcherSys/ArcherSys
Lua/examples/copas/cosocket.lua
3
1249
------------------------------------------------------------------------------- -- Copas - Coroutine Oriented Portable Asynchronous Services -- -- Copas Wrapper for socket.http module -- -- Written by Leonardo Godinho da Cunha ------------------------------------------------------------------------------- require "co...
mit
wagonrepairer/Zero-K
LuaUI/Widgets/unit_blobshadow.lua
8
6008
-- $Id: unit_blobshadow.lua 3171 2008-11-06 09:06:29Z det $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- author: jK -- -- Copyright (C) 2007,2009. -- Licensed under the terms of the GNU GPL, v2...
gpl-2.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Samples/TestLuaPlusLib/ScriptVectorDump.lua
3
1186
VectorMetaTable = { FormattedWrite = function(file, value, alphabetical, indentLevel, maxIndentLevel, writeAll, writeTablePointers) LuaFilePrint(file, "{ ") for index = 1, 1000000 do local obj = value[index] if not obj then break end if index ~= 1 then LuaFilePrint(file, ", ") ...
lgpl-3.0
ArchAngel075/CurseEngine-TheDarkness
mods/CORE/models/pointLightModel.lua
1
5621
local model = { type="class", } function model:new() local o = {} -- create a copy of the base data... setmetatable(o, self) self.__index = self return o end function model:init() self.renderData = { Owner = false, vars = { vec3 = {100,100,0}, torch_isOn = true, charge = 100, lightData_color = {...
gpl-2.0
shingenko/darkstar
scripts/globals/items/bunny_ball.lua
35
1739
----------------------------------------- -- ID: 4349 -- Item: Bunny Ball -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 10 -- Strength 2 -- Vitality 2 -- Intelligence -1 -- Attack % 30 -- Attack Cap 25 -- Ranged ATT % 30 -- Ranged ATT Cap 25 -------------------------...
gpl-3.0
padrinoo1/telelove
plugins/Feedback.lua
49
1048
do function run(msg, matches) local fuse = '#DearAdmin😜 we have recived a new feedback just now : #newfeedback \n\nID▶️ : ' .. msg.from.id .. '\n\nName▶ : ' .. msg.from.print_name ..'\n\nusername▶️ :@ ' .. msg.from.username ..'\n\n🅿️♏️ :\n\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id lo...
gpl-2.0
fengshao0907/SOHU-DBProxy
tests/suite/base/t/overlong-mock.lua
4
1885
--[[ $%BEGINLICENSE%$ Copyright (c) 2009, 2010, 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
shingenko/darkstar
scripts/zones/Selbina/npcs/Melyon.lua
17
3585
----------------------------------- -- Area: Selbina -- NPC: Melyon -- Starts and Finishes Quest: Only the Best (R) -- Involved in Quest: Riding on the Clouds -- @pos 25 -6 6 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; package.loaded["scripts/globals/settings"...
gpl-3.0
shingenko/darkstar
scripts/zones/Altar_Room/Zone.lua
28
1623
----------------------------------- -- -- Zone: Altar_Room (152) -- ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Altar_Room/TextIDs"); ---------------------------...
gpl-3.0
wagonrepairer/Zero-K
LuaRules/Gadgets/unit_stockpile.lua
4
5124
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Stockpile", desc = "Partial reimplementation of stockpile system.", author = "Google Fr...
gpl-2.0
shadobaker/TeleBeyond
plugins/Id.lua
7
2972
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
bartvm/nn
SpatialSubSampling.lua
44
1412
local SpatialSubSampling, parent = torch.class('nn.SpatialSubSampling', 'nn.Module') function SpatialSubSampling:__init(nInputPlane, kW, kH, dW, dH) parent.__init(self) dW = dW or 1 dH = dH or 1 self.nInputPlane = nInputPlane self.kW = kW self.kH = kH self.dW = dW self.dH = dH self.weight...
bsd-3-clause
openwayne/chaos_theory
mods/pipeworks/tube_registration.lua
2
6466
-- This file supplies the various kinds of pneumatic tubes local tubenodes = {} pipeworks.tubenodes = tubenodes minetest.register_alias("pipeworks:tube", "pipeworks:tube_000000") -- now, a function to define the tubes local REGISTER_COMPATIBILITY = true local vti = {4, 3, 2, 1, 6, 5} local default_noctrs = { "pip...
lgpl-2.1
psychon/awesome
lib/awful/menu.lua
2
23921
-------------------------------------------------------------------------------- --- A menu for awful -- -- @author Damien Leone &lt;damien.leone@gmail.com&gt; -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @author dodo -- @copyright 2008, 2011 Damien Leone, Julien Danjou, dodo -- @module awful.menu -----------...
gpl-2.0
hiddenvirushacker/hiddenvirus
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
Godfather021/eagle
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lanes/tests/finalizer.lua
2
2121
-- -- Test resource cleanup -- -- This feature was ... by discussion on the Lua list about exceptions. -- The idea is to always run a certain block at exit, whether due to success -- or error. Normally, 'pcall' would be used for such but as Lua already -- does that, simply giving a 'cleanup=function' parameter is...
lgpl-3.0
ArcherSys/ArcherSys
Lua/lua/luadoc/taglet/standard.lua
2
14275
------------------------------------------------------------------------------- -- @release $Id: standard.lua,v 1.39 2007/12/21 17:50:48 tomas Exp $ ------------------------------------------------------------------------------- local assert, pairs, tostring, type = assert, pairs, tostring, type local io = require "io...
mit
wagonrepairer/Zero-K
LuaUI/Widgets/chili_new/skins/DarkHive/skin.lua
25
4262
--//============================================================================= --// Skin local skin = { info = { name = "DarkHive", version = "0.1", author = "luckywaldo7", } } --//============================================================================= --// skin.general = { --font ...
gpl-2.0
shingenko/darkstar
scripts/zones/Bearclaw_Pinnacle/Zone.lua
28
1630
----------------------------------- -- -- Zone: Bearclaw_Pinnacle (6) -- ----------------------------------- package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bearclaw_Pinnacle/TextIDs"); --------...
gpl-3.0
shingenko/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm1.lua
25
1568
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm1 (???) -- @pos 203.939 0.000 -238.811 120 -- Notes: Spawns Dribblix Greasemaw for ACP mission "Gatherer of Light (I)" ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ------------...
gpl-3.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/layered/crossing_minimization.lua
1
3150
-- Copyright 2012 by Till Tantau -- -- This file may be distributed and/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 -- @release $Header$ local declare = require("pgf.gd.interface.Interfa...
gpl-2.0
ArcherSys/ArcherSys
Lua/lua/oil/corba/services/event/ProxyPushConsumer.lua
7
3053
local oil = require "oil" local oo = require "oil.oo" local assert = require "oil.assert" module("oil.corba.services.event.ProxyPushConsumer", oo.class) -- Proxies are in one of three states: disconnected, connected, or destroyed. -- Push/pull operations are only valid in the...
mit
lixiantai/barrier_breaker
feeds/routing/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/interfaces.lua
20
2085
--[[ Copyright (C) 2011 Pau Escrich <pau@dabax.net> 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 2 of the License, or (at your option) any later version. Th...
gpl-2.0
shingenko/darkstar
scripts/globals/weaponskills/glory_slash.lua
18
1563
----------------------------------- -- Glory Slash -- Sword weapon skill -- Skill Level: NA -- Only avaliable during Campaign Battle while weilding Lex Talionis. -- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun. -- Will stack with Sneak Attack. -- Aligned with t...
gpl-3.0
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/voice/sGlobals.lua
3
1719
if isVoiceEnabled() then TEAM_REFRESH = 4000 -- Interval in which team channels are refreshed, in MS. SETTINGS_REFRESH = 5000 -- Interval in which team channels are refreshed, in MS. resourceRoot = getResourceRootElement(getThisResource()) setElementData ( resourceRoot, "voice_enabled", true ) -- REMOVE IN 1.4 ...
mit
lixiantai/barrier_breaker
feeds/luci/applications/luci-wol/luasrc/model/cbi/wol.lua
37
2522
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> 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 ]]-- local sy...
gpl-2.0
tullamods/Dominos_Config
localization/localization.es.lua
2
1748
--[[ Localization.fr.lua Translations for Dominos Spanish --]] local L = LibStub('AceLocale-3.0'):NewLocale('Dominos-Config', 'esES') if not L then return end L.Scale = 'Escala' L.Opacity = 'Opacidad' L.FadedOpacity = 'Opacidad al pasar el ratón' L.Visibility = 'Visibilidad' L.Spacing = 'Espaciado' L.Padding = '...
bsd-3-clause
FiveM-Scripts/fs_freemode
int/cinema.lua
1
5788
--[[ fs_freemode - game mode for FiveM. Copyright (C) 2018 FiveM-Scripts This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License...
agpl-3.0
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/eventmanager/eventmanager_c.lua
2
10209
current = false event = "" mapList = {} eventList = {} gridPositions = {} -- {[i] = {hor,ver,sel}} function clientStart() end addEventHandler("onClientResourceStart",resourceRoot,clientStart) --------- -- GUI -- --------- function updateQueueInfo() fetchCurrentEvent() fetchQueue() fetchOverview() if guiGetVisibl...
mit
wagonrepairer/Zero-K
effects/corpun.lua
25
1956
-- corpun_shockwave return { ["corpun_shockwave"] = { clouds0 = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, underwater = 0, water = false, properties = { aird...
gpl-2.0
pacerom/external_skia
tools/lua/skia.lua
207
1863
-- Experimental helpers for skia -- function string.startsWith(String,Start) return string.sub(String,1,string.len(Start))==Start end function string.endsWith(String,End) return End=='' or string.sub(String,-string.len(End))==End end Sk = {} function Sk.isFinite(x) return x * 0 == 0 end ----------------...
bsd-3-clause
medoo313m/bmo-bot2
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-2.0
ArcherSys/ArcherSys
Lua/lua/vstruct/init.lua
2
2356
-- vstruct, the versatile struct library -- Copyright � 2008 Ben "ToxicFrog" Kelly; see COPYING local table,math,type,require,assert,_unpack = table,math,type,require,assert,unpack local print = print module((...)) cursor = require (_NAME..".cursor") compile = require (_NAME..".compile") function math.trunc(n) if...
mit
shingenko/darkstar
scripts/zones/Wajaom_Woodlands/npcs/_1f1.lua
19
1052
----------------------------------- -- Area: Wajaom Woodlands -- NPC: Engraved Tablet -- @pos -64 -11 -641 51 ----------------------------------- require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --...
gpl-3.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/model/Path.lua
1
33646
-- Copyright 2014 by Till Tantau -- -- 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 -- @release $Header$ --- -- A Path models a path in the plane. -- -- Fo...
gpl-2.0
roboplus12/roboplus14
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
peiman08/m.peiman
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
hfjgjfg/mehdi5
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
bgrozev/jitsi-meet
resources/prosody-plugins/token/util.lib.lua
1
15223
-- Token authentication -- Copyright (C) 2015 Atlassian local basexx = require "basexx"; local have_async, async = pcall(require, "util.async"); local hex = require "util.hex"; local jwt = require "luajwtjitsi"; local http = require "net.http"; local jid = require "util.jid"; local json_safe = require "cjson.safe"; lo...
apache-2.0
Illarion-eV/Illarion-Content
craft/final/tailoring.lua
1
38019
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
soonhokong/travis_test
tests/lua/old/expr6.lua
6
1311
import("util.lua") function print_leaves(e, ctx) if (not e) then return end local k = e:kind() if k == expr_kind.Var then local i = e:fields() local e = ctx:lookup(i) print("var idx: " .. i .. ", name: " .. tostring(e:get_name())) elseif k == expr_kind.Const then local n = e...
apache-2.0
shingenko/darkstar
scripts/zones/Behemoths_Dominion/npcs/Cermet_Headstone.lua
17
2940
----------------------------------- -- Area: Behemoth's Dominion -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Lightning Headstone) -- @pos -74 -4 -87 127 ----------------------------------- package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil; --------------------------...
gpl-3.0
shingenko/darkstar
scripts/zones/Temenos/mobs/Goblin_Warlord.lua
16
1189
----------------------------------- -- Area: Temenos N T -- NPC: Goblin_Warlord ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -------------------------...
gpl-3.0
wagonrepairer/Zero-K
LuaRules/Utilities/GetEffectiveWeaponRange.lua
10
5625
local function GetRangeModType(weaponDef) local modType = 0 --weapon targeting mod type if (weaponDef.type == "Cannon") or (weaponDef.type == "EmgCannon") or (weaponDef.type == "DGun" and weaponDef.gravityAffected) or (weaponDef.type == "AircraftBomb") then --Ballistic modType = 0 elseif (weaponDef.type == "...
gpl-2.0
wagonrepairer/Zero-K
effects/roach.lua
25
1044
-- roachplosion return { ["roachplosion"] = { boom = { air = true, class = [[CExpGenSpawner]], count = 1, ground = true, water = true, properties = { delay = 0, explosiongenerator = ...
gpl-2.0
ArcherSys/ArcherSys
Lua/SciTE/scite-debug/remDebug/remdebug/engine.lua
1
9527
-- -- RemDebug 1.0 Beta -- Copyright Kepler Project OK5 (http://www.keplerproject.org/remdebug) -- local socket = require"socket" local lfs = require"lfs" local debug = require"debug" module("remdebug.engine", package.seeall) _COPYRIGHT = "2006 - Kepler Project" _DESCRIPTION = "Remote Debugger for the Lua programmin...
mit
shingenko/darkstar
scripts/zones/Sacrarium/npcs/Treasure_Chest.lua
19
2554
----------------------------------- -- Area: Sacrarium -- NPC: Treasure Chest -- @zone 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Sa...
gpl-3.0
shingenko/darkstar
scripts/zones/Western_Adoulin/npcs/HomePoint#1.lua
17
1240
----------------------------------- -- Area: Western_Adoulin -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Western_Adoulin/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
openwayne/chaos_theory
mods/pipeworks/compat.lua
9
5269
-- this bit of code modifies the default chests and furnaces to be compatible -- with pipeworks. minetest.override_item("default:furnace", { tiles = { "default_furnace_top.png^pipeworks_tube_connection_stony.png", "default_furnace_bottom.png^pipeworks_tube_connection_stony.png", "default_furnace_side.png^pipewo...
lgpl-2.1
BSpike/MOOSE
Moose Development/Moose/Core/Set.lua
1
148052
--- **Core** -- SET_ classes define **collections** of objects to perform **bulk actions** and logically **group** objects. -- -- ![Banner Image](..\Presentations\SET\Dia1.JPG) -- -- === -- -- SET_ classes group objects of the same type into a collection, which is either: -- -- * Manually managed using the **:Add...
gpl-3.0
shingenko/darkstar
scripts/zones/Selbina/npcs/Falgima.lua
29
1187
----------------------------------- -- Area: Selbina -- NPC: Falgima -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); ----------------------...
gpl-3.0
Illarion-eV/Illarion-Content
monster/race_79_trolls/mountain.lua
3
1029
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
fzimmermann89/texlive.js
texlive/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/interface/InterfaceCore.lua
1
5258
-- Copyright 2012 by Till Tantau -- -- 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 -- @release $Header$ --- -- This class provides the core functionality...
gpl-2.0
ioc32/heka-lua-decoders
rabbitmq.lua
1
2726
-- Error in process <0.11849.5> on node 'rabbit@rigel-dev' with exit value: {badarith,[{ssl_session,valid_session,2},{ssl_manager,validate_session,3},{ssl_manager,session_validation,2},{lists,foldl,3},{ets,do_foldl,4},{ets,foldl,3}]} local l = require "lpeg" l.locale(l) local dt = require "date_time" local ip = requir...
bsd-2-clause
shingenko/darkstar
scripts/globals/weaponskills/flash_nova.lua
30
1392
----------------------------------- -- Skill level: 290 -- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP. -- Generates a significant amount of Enmity. -- Does not stack with Sneak Attack -- Aligned with Aqua Gorget. -- Aligned with Aqua Belt. -- Properties: -- Elemen...
gpl-3.0
changjiashuai/vlc
share/lua/intf/modules/host.lua
48
12262
--[==========================================================================[ host.lua: VLC Lua interface command line host module --[==========================================================================[ Copyright (C) 2007-2012 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> ...
gpl-2.0