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 |
|---|---|---|---|---|---|
TRIEXTEAM/Triex | plugins/inpm.lua | 59 | 3138 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
gsage/engine | resources/scripts/imgui/transform.lua | 1 | 1667 | require 'lib.class'
local time = require 'lib.time'
require 'imgui.base'
local lm = require 'lib.locales'
local icons = require 'imgui.icons'
-- node transform settings
Transform = class(ImguiWindow, function(self, sceneEditor, title, docked, open)
ImguiWindow.init(self, title, docked, open)
self.icon = icons.rota... | mit |
AresTao/darkstar | scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Chest.lua | 19 | 3506 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- NPC: Treasure Chest
-- @zone 213
-----------------------------------
package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
Al-Asaadi/llGHll | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
trishume/hammerspoon | extensions/ipc/init.lua | 1 | 12040 | --- === hs.ipc ===
---
--- Provides the server portion of the Hammerspoon command line interface
--- Note that in order to use the command line tool, you will need to explicitly load `hs.ipc` in your init.lua. The simplest way to do that is `require("hs.ipc")`
---
--- This module is based primarily on code from Mjolnir... | mit |
AresTao/darkstar | scripts/globals/weaponskills/knights_of_round.lua | 18 | 2076 | -----------------------------------
-- Knights Of Round
-- Sword Weapon Skill
-- Skill Level: N/A
-- Caliburn/Excalibur: Additional Effect: Regen.
-- Regen 10HP/Tick, duration varies with TP.
-- Available only when equipped with the Relic Weapons Caliburn (Dynamis use only) or Excalibur.
-- Also available withou... | gpl-3.0 |
tysonliddell/OpenRA | mods/d2k/maps/atreides-02b/atreides02b.lua | 4 | 2641 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
Guard13007/LightWorld-Editor | src/lib/light_world/normal_map.lua | 7 | 3161 | local normal_map = {}
function normal_map.fromHeightMap(heightMap, strength)
local imgData = heightMap:getData()
local imgData2 = love.image.newImageData(heightMap:getWidth(), heightMap:getHeight())
local red, green, blue, alpha
local x, y
local matrix = {}
matrix[1] = {}
matrix[2] = {}
matrix[3] = {}
strengt... | mit |
Jmainguy/docker_images | prosody/prosody/lib/prosody/modules/mod_tls.lua | 3 | 4359 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local config = require "core.configmanager";
local create_context = require "core.certmanager".create_con... | gpl-2.0 |
cloudwatt/contrail-controller | src/analytics/uvedelete.lua | 1 | 1680 | --
-- Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
--
local function sub_del(_values)
local lres = redis.call('hgetall',_values)
local iter = 1
while iter <= #lres do
local attr = lres[iter]
local val = lres[iter+1]
if string.byte(val,1) ~= 60 then
loca... | apache-2.0 |
AresTao/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/qm3.lua | 34 | 1069 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: ???
-- Notes: Teleports you to the 10th floor.
-- @pos 261 19 20 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Rabao/npcs/Shupah_Mujuuk.lua | 17 | 3540 | -----------------------------------
-- Area: Rabao
-- NPC: Shupah Mujuuk
-- Title Change NPC
-- @pos 12 8 20 247
-----------------------------------
require("scripts/globals/titles");
local title2 = { THE_IMMORTAL_FISHER_LU_SHANG , INDOMITABLE_FISHER , KUFTAL_TOURIST , ACQUIRER_OF_ANCIENT_ARCANUM , DESERT_HU... | gpl-3.0 |
bbalu/kong | kong/plugins/basicauth/access.lua | 5 | 3495 | local cache = require "kong.tools.database_cache"
local stringy = require "stringy"
local responses = require "kong.tools.responses"
local constants = require "kong.constants"
local _M = {}
local function skip_authentication(headers)
-- Skip upload request that expect a 100 Continue response
return headers["expec... | mit |
bbalu/kong | kong/plugins/request_transformer/access.lua | 17 | 3899 | local utils = require "kong.tools.utils"
local stringy = require "stringy"
local Multipart = require "multipart"
local _M = {}
local CONTENT_LENGTH = "content-length"
local FORM_URLENCODED = "application/x-www-form-urlencoded"
local MULTIPART_DATA = "multipart/form-data"
local CONTENT_TYPE = "content-type"
local fun... | mit |
DeinFreund/Zero-K | units/shieldskirm.lua | 1 | 3745 | unitDef = {
unitname = [[shieldskirm]],
name = [[Rogue]],
description = [[Skirmisher Bot (Indirect Fire)]],
acceleration = 0.25,
brakeRate = 0.2,
buildCostMetal = 120,
buildPic = [[shieldskirm.png]],
canGuard ... | gpl-2.0 |
Jmainguy/docker_images | prosody/prosody/lib/prosody/core/storagemanager.lua | 4 | 3952 |
local error, type, pairs = error, type, pairs;
local setmetatable = setmetatable;
local config = require "core.configmanager";
local datamanager = require "util.datamanager";
local modulemanager = require "core.modulemanager";
local multitable = require "util.multitable";
local hosts = hosts;
local log = require "uti... | gpl-2.0 |
padrinoo1/service | bot/creed.lua | 1 | 15522 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
DeinFreund/Zero-K | LuaRules/Gadgets/unit_jugglenaut_juggle.lua | 1 | 9113 | function gadget:GetInfo()
return {
name = "Old Jugglenaut Juggle",
desc = "Implementes special weapon Juggling for Old Jugglenaut",
author = "Google Frog",
date = "1 April 2011",
license = "GNU GPL, v2 or later",
layer = 0,
enabled = false -- loaded by default?
... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Caedarva_Mire/npcs/Runic_Portal.lua | 17 | 2782 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Runic Portal
-- Caedarva Mire Teleporter Back to Aht Urhgan Whitegate
-- @pos -264 -6 -28 79 (Dvucca)
-- @pos 524 -28 -503 79 (Azouph)
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
------------... | gpl-3.0 |
DeinFreund/Zero-K | lups/ParticleClasses/StaticParticles.lua | 5 | 10587 | -- $Id: StaticParticles.lua 3345 2008-12-02 00:03:50Z jk $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local StaticParticles = {}
Stati... | gpl-2.0 |
AresTao/darkstar | scripts/globals/spells/bluemagic/helldive.lua | 27 | 1699 | -----------------------------------------
-- Spell: Helldive
-- Damage varies with TP
-- Spell cost: 16 MP
-- Monster Type: Birds
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: CHR+1, HP+5
-- Level: 16
-- Casting Time: 0.5 seconds
-- Recast Time: 11.25 seconds
-- Skillchain Property: ... | gpl-3.0 |
AresTao/darkstar | scripts/globals/items/serving_of_green_curry.lua | 35 | 1755 | -----------------------------------------
-- ID: 4296
-- Item: serving_of_green_curry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality 1
-- Health Regen While Healing 2
-- Magic Regen While Healing 1
-- Defense % 9
-- Ranged ACC % 5
-- Ranged ACC Cap 25
--... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Kazham/npcs/Vah_Keshura.lua | 15 | 1102 | -----------------------------------
-- Area: Kazham
-- NPC: Vah Keshura
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------... | gpl-3.0 |
Sygmei/ObEngine | engine/Lib/Toolkit/Functions/object.lua | 5 | 5346 | local Color = require("Lib/StdLib/ConsoleColor");
local Route = require("Lib/Toolkit/Route");
local Style = require("Lib/Toolkit/Stylesheet")
local Functions = {};
function Functions.create(objectName, components)
components = components:upper();
local currentWs = obe.Path.Paths()[1].basePath;
local haveA... | mit |
erfan1292/sezar | plugins/saveplug.lua | 19 | 1055 | --Created by: @WaderTGTeam
--Powered by: @WaderTGTeam
--âڑ ï¸ڈCopyRight all right reservedâڑ ï¸ڈ
local function saveplug(extra, success, result)
local msg = extra.msg
local name = extra.name
local receiver = get_receiver(msg)
if success then
local file = 'plugins/'..name..'.lua'
print('File saving to:'... | gpl-2.0 |
jorisgorinsek/jsonrpc2_lua | client/json/rpc.lua | 1 | 5365 | -----------------------------------------------------------------------------
-- JSONRPC4Lua: JSON RPC client calls over http for the Lua language.
-- json.rpc Module.
-- Author: Craig Mason-Jones
-- Homepage: http://github.com/craigmj/json4lua/
-- Version: 1.0.0
-- This module is released under the MIT License ... | mit |
Jmainguy/docker_images | prosody/prosody/share/lua/5.1/luarocks/build.lua | 2 | 15176 |
--- Module implementing the LuaRocks "build" command.
-- Builds a rock, compiling its C parts if any.
--module("luarocks.build", package.seeall)
local build = {}
package.loaded["luarocks.build"] = build
local pack = require("luarocks.pack")
local path = require("luarocks.path")
local util = require("luarocks.util")
l... | gpl-2.0 |
AresTao/darkstar | scripts/globals/items/rolanberry_(864_ce).lua | 35 | 1205 | -----------------------------------------
-- ID: 4531
-- Item: rolanberry_864_ce)
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Crawlers_Nest/npcs/qm3.lua | 14 | 1043 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Drown Crawler (Spawn area 1)
-- @pos 4.045 -2.703 285.026 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/Text... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Dwago.lua | 34 | 1290 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Dwago
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("s... | gpl-3.0 |
DaTaK-BoT/DaTaK | bot/datak.lua | 1 | 14002 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Port_San_dOria/npcs/Eddy.lua | 38 | 1038 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Eddy
-- Type: NPC Quest Giver
-- @zone: 232
-- @pos -5.209 -8.999 39.833
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------... | gpl-3.0 |
nicesource/PS | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | agpl-3.0 |
AresTao/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Craigine_RK.lua | 30 | 3063 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Craigine, R.K.
-- Border Conquest Guards
-- @pos -599.903 -41.441 165.776 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conqu... | gpl-3.0 |
Gedo789/TrackAssemblyTool | lua/trackassembly/lang/fr.lua | 1 | 21166 | return function(sTool, sLimit) local tSet = {} -- French
tSet["tool."..sTool..".workmode.1" ] = "Général créer/aligner des pièces"
tSet["tool."..sTool..".workmode.2" ] = "Point d'intersection actif"
tSet["tool."..sTool..".workmode.3" ] = "Ajuster des segments de ligne courbés"
tSet["tool."..sT... | agpl-3.0 |
AresTao/darkstar | scripts/globals/spells/refresh.lua | 43 | 1077 | -----------------------------------------
-- Spell: Refresh
-- Gradually restores target party member's MP
-- Composure increases duration 3x
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
... | gpl-3.0 |
gsage/engine | Tests/resources/specs/lua_event_proxy_spec.lua | 1 | 2177 | require 'factories.camera'
require 'lib.eal.manager'
local event = require 'lib.event'
describe("test event proxy #core", function()
local function createTestEntity()
return data:createEntity({
flags = {"dynamic"},
stats = {
hp = 1
}
})
end
setup(function()
game:reset()
... | mit |
wizardbottttt/X | plugins/moderation.lua | 336 | 9979 | 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
local username = v.username
data[tostring(m... | gpl-2.0 |
kidaa/luvit | deps/http-codec.lua | 12 | 8601 | --[[
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 |
DeinFreund/Zero-K | units/factorygunship.lua | 1 | 2883 | unitDef = {
unitname = [[factorygunship]],
name = [[Gunship Plant]],
description = [[Produces Gunships, Builds at 10 m/s]],
acceleration = 0,
brakeRate = 0,
buildCostMetal = Shared.FACTORY_COS... | gpl-2.0 |
klaffenboeck/gamecode4 | Assets/Scripts/LevelInit.lua | 44 | 3469 | --========================================================================
-- LevelInit.lua : A script that's executed when the level is initializing
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - ... | lgpl-3.0 |
AresTao/darkstar | scripts/zones/West_Sarutabaruta/npcs/Banege_RK.lua | 30 | 3066 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Banege, R.K.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
DeinFreund/Zero-K | units/amphlaunch.lua | 3 | 3712 | unitDef = {
unitname = [[amphlaunch]],
name = [[Lobster]],
description = [[Amphibious Launcher Bot]],
acceleration = 0.2,
activateWhenBuilt = true,
brakeRate = 0.4,
buildCostMetal = 340,
buildPic = [[amphlaunch.... | gpl-2.0 |
DeinFreund/Zero-K | LuaRules/Configs/StartBoxes/OnyxCauldron1.6.lua | 11 | 6342 | return {
[0] = {
boxes = {
{
{6863.8203125, 6965.1958007813},
{6289.3608398438, 6844.1010742188},
{6662.59765625, 6382.8154296875},
{6700.3759765625, 6373.1455078125},
{6723.0004882813, 6373.0263671875},
{6760.7124023438, 6384.935546875},
{6792.8911132813, 6397.5922851563},
{6839.2... | gpl-2.0 |
lightningkay/NoahGameFrame | _Out/NFDataCfg/ScriptModule/NFScriptSystem.lua | 1 | 4439 | package.path = '../NFDataCfg/ScriptModule/?.lua;../NFDataCfg/ScriptModule/game/?.lua;../NFDataCfg/ScriptModule/world/?.lua;../NFDataCfg/ScriptModule/proxy/?.lua;../NFDataCfg/ScriptModule/master/?.lua;../NFDataCfg/ScriptModule/login/?.lua;'
require("NFScriptEnum");
script_module = nil;
function init_script_system(xLua... | apache-2.0 |
thess/OpenWrt-luci | modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua | 78 | 2244 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
require("luci.sys.zoneinfo")
require("luci.tools.webadmin")
require("luci.util")
m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device li... | apache-2.0 |
DeinFreund/Zero-K | scripts/vehcapture.lua | 12 | 6694 | include "constants.lua"
local spGetUnitRulesParam = Spring.GetUnitRulesParam
local base, front, bigwheel, rear = piece('base', 'front', 'bigwheel', 'rear')
local turret, arm_1, arm_2, arm_3, dish, panel_a1, panel_b1, panel_a2, panel_b2, flare = piece('turret', 'arm_1', 'arm_2', 'arm_3', 'dish', 'panel_a1', 'panel_b1... | gpl-2.0 |
NREL/api-umbrella | src/api-umbrella/proxy/hooks/access.lua | 1 | 3519 | -- Try to find the matching API backend first, since it dictates further
-- settings and requirements.
local api = ngx.ctx.matched_api
if not api then
return true
end
local api_key_validator = require "api-umbrella.proxy.middleware.api_key_validator"
local api_settings = require "api-umbrella.proxy.middleware.api_se... | mit |
DeinFreund/Zero-K | LuaRules/Gadgets/mission_orbital_drop.lua | 1 | 14255 | function gadget:GetInfo()
return {
name = "Orbital Drop",
desc = "Makes units spawned with GG.DropUnit fall from the sky.",
author = "quantum, msafwan", --msafwan add dynamic/configurable orbital drop
date = "November 2010", --7 April 2013
license = "GNU GPL, v2 or later",
... | gpl-2.0 |
mortezam1234/kkdfjkfl- | plugins/id.lua | 226 | 4260 | 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, result)
local re... | gpl-2.0 |
Sygmei/ObEngine | engine/Lib/Toolkit/Functions/loglevel.lua | 5 | 1328 | local Color = require("Lib/StdLib/ConsoleColor");
local Route = require("Lib/Toolkit/Route");
local Style = require("Lib/Toolkit/Stylesheet");
function getLogLevels()
local logLevels = {
"0 (trace)",
"1 (debug)",
"2 (info)",
"3 (warn)",
"4 (err)",
"5 (critical)",
... | mit |
tysonliddell/OpenRA | mods/d2k/maps/ordos-02a/ordos02a-AI.lua | 8 | 1137 | --[[
Copyright 2007-2020 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Saluhwa.lua | 34 | 1475 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Saluhwa
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Aht_Urh... | gpl-3.0 |
mamaddeveloper/Testmamo | plugins/inrealm.lua | 9 | 17440 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_group_ch... | gpl-2.0 |
omniAwesome/tbag-tank | levels/9.lua | 2 | 4033 | return {
map = 2,
cannon = {mapX = 6, mapY = 4},
ammo = {'bomb', 'bomb', 'bomb', 'bomb', 'bomb', 'bomb', 'bomb'},
bugs = {
{x = 1601, y = 230},
{x = 1492, y = 230},
{x = 1710, y = 230},
{x = 1489, y = 84},
{x = 1595, y = 84},
{x = 1710, y = 84},
{x = 2228, y = 166},
{x = 2381, y = 166},
{x = 2298,... | mit |
AresTao/darkstar | scripts/zones/Woh_Gates/Zone.lua | 34 | 1270 | -----------------------------------
--
-- Zone: Woh Gates
--
-----------------------------------
package.loaded["scripts/zones/Woh_Gates/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Woh_Gates/TextIDs");
-----------------------------------
... | gpl-3.0 |
Jmainguy/docker_images | prosody/prosody/lib/prosody/modules/mod_message.lua | 4 | 2330 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local full_sessions = prosody.full_sessions;
local bare_sessions = prosody.bare_sessions;
local st = re... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Ordelles_Caves/npcs/qm4.lua | 17 | 1419 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: ??? (qm4)
-- Involved In Quest: Dark Puppet
-- @pos -52 27 -85 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Windurst_Walls/npcs/Shantotto.lua | 17 | 7967 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Shantotto
-- @pos 122 -2 112 239
-- CSID's missing in autoEventID please check the old forums under resources for all of shantotto's csid's. I found them all manually.
-----------------------------------
package.loaded["scripts/zones/Windurst_W... | gpl-3.0 |
AresTao/darkstar | scripts/globals/items/roll_of_buche_au_chocolat.lua | 36 | 1521 | -----------------------------------------
-- ID: 5550
-- Item: Roll of Buche Au Chocolat
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +3% Cap 13
-- Intelligence +2
-- HP Recovered while healing +1
-- MP Recovered while healing +4
-----------------------... | gpl-3.0 |
three2one/Atlas | lib/histogram.lua | 40 | 5165 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, 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 |
AresTao/darkstar | scripts/zones/Yhoator_Jungle/npcs/Etaj-Pohtaj_WW.lua | 30 | 3054 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Etaj-Pohtaj, W.W.
-- Outpost Conquest Guards
-- @pos 200.254 -1 -80.324 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
dreamsxin/manaserv | example/scripts/npcs/barber.lua | 4 | 4392 | ----------------------------------------------------------
-- Barber Function --
----------------------------------------------------------------------------------
-- Copyright 2009 The Mana World Development Team --
-- ... | gpl-2.0 |
mehulsbhatt/ntopng | scripts/lua/sflow_tree.lua | 8 | 8318 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
require "flow_utils"
local json = require ("dkjson")
sendHTTPHeader('text/html; charset=iso-8859-1')
local debug = false
-----------------------------------
func... | gpl-3.0 |
DeinFreund/Zero-K | units/jumpscout.lua | 1 | 4002 | unitDef = {
unitname = [[jumpscout]],
name = [[Puppy]],
description = [[Walking Missile]],
acceleration = 0.24,
activateWhenBuilt = true,
brakeRate = 0.72,
buildCostMetal = 50,
builder = false,
buildPic ... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Apollyon/mobs/Dark_Elemental.lua | 16 | 2431 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Windurst_Waters/npcs/Rukuku.lua | 36 | 1417 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Rukuku
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 130 -6 160
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
AresTao/darkstar | scripts/zones/East_Ronfaure/npcs/Rayochindot.lua | 38 | 1028 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Rayochindot
-- Type: Gate Guard
-- @pos 93.159 -62.999 272.601 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Ronfaure/TextIDs");
... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Windurst_Woods/npcs/HomePoint#2.lua | 17 | 1251 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#2
-- @pos 107 -5 -56 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require("scripts/glo... | gpl-3.0 |
ld-test/prosody | tests/test_core_s2smanager.lua | 3 | 1409 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
env = {
prosody = { events = require "util.events".new() };
};
function compare_srv_priorities(csp)
loc... | mit |
prosody-modules/import | mod_blocking/mod_blocking.lua | 32 | 5669 | local jid_split = require "util.jid".split;
local st = require "util.stanza";
local xmlns_blocking = "urn:xmpp:blocking";
module:add_feature("urn:xmpp:blocking");
-- Add JID to default privacy list
function add_blocked_jid(username, host, jid)
local privacy_lists = datamanager.load(username, host, "privacy") or {li... | mit |
AresTao/darkstar | scripts/commands/checkvar.lua | 38 | 1130 | ---------------------------------------------------------------------------------------------------
-- func: @checkvar <varType> <varName>
-- desc: checks player or server variable and returns result value.
---------------------------------------------------------------------------------------------------
cmdprops =
{... | gpl-3.0 |
NeoRaider/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua | 30 | 2974 | -- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require "luci.sys"
local m, s, o
local sensor_types = {
["12v"] = "voltage",
["2.0v"] = "voltage",
["2.5v"] = "voltage",
["3.3v"] = "voltage",
["5.0v"] = "voltage",
["5v"] = "voltage",
["ain1"] = "voltag... | apache-2.0 |
AresTao/darkstar | scripts/zones/Port_San_dOria/npcs/Albinie.lua | 37 | 1468 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Albinie
-- Standard Merchant NPC
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/P... | gpl-3.0 |
Jmainguy/docker_images | prosody/prosody/lib/luarocks/rocks/luafilesystem/1.6.2-2/tests/test.lua | 4 | 5207 | #!/usr/bin/env lua5.1
local tmp = "/tmp"
local sep = string.match (package.config, "[^\n]+")
local upper = ".."
local lfs = require"lfs"
print (lfs._VERSION)
io.write(".")
io.flush()
function attrdir (path)
for file in lfs.dir(path) do
if file ~= "." and file ~= ".." then
... | gpl-2.0 |
AresTao/darkstar | scripts/globals/spells/windstorm.lua | 31 | 1153 | --------------------------------------
-- Spell: Windstorm
-- Changes the weather around target party member to "windy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------------------... | gpl-3.0 |
DeinFreund/Zero-K | effects/heatray.lua | 17 | 2758 | -- heatray_ceg
-- heatray_hit
return {
["heatray_hit"] = {
usedefaultexplosions = false,
cinder = {
air = true,
class = [[heatcloud]],
count = 1,
ground = true,
water = true,
properties = {
alwaysvis... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Buburimu_Peninsula/Zone.lua | 17 | 4632 | -----------------------------------
--
-- Zone: Buburimu_Peninsula (118)
--
-----------------------------------
package.loaded[ "scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Penins... | gpl-3.0 |
komiga/site-core | Redirect.lua | 1 | 1096 |
local U = require "togo.utility"
local P = require "Pickle"
local M = U.module("Redirect")
U.class(M)
local tpl = P.Template(nil, [[
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0;url={! C.destination !}">
<link rel="canonical" href="{! C.destination !}" />
... | mit |
AresTao/darkstar | scripts/globals/items/slice_of_buffalo_meat.lua | 18 | 1424 | -----------------------------------------
-- ID: 5152
-- Item: slice_of_buffalo_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 4
-- Agility -5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Grounds_Tome.lua | 34 | 1146 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onT... | gpl-3.0 |
AresTao/darkstar | scripts/globals/items/derfland_pear.lua | 35 | 1212 | -----------------------------------------
-- ID: 4352
-- Item: derfland_pear
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Waughroon_Shrine/npcs/Burning_Circle.lua | 17 | 2216 | -----------------------------------
-- Area: Waughroon Shrine
-- NPC: Burning Circle
-- Waughroon Shrine Burning Circle
-- @pos -345 104 -260 144
-------------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-------------------------------------
require("scripts/global... | gpl-3.0 |
DeinFreund/Zero-K | units/chicken_spidermonkey.lua | 3 | 3308 | unitDef = {
unitname = [[chicken_spidermonkey]],
name = [[Spidermonkey]],
description = [[All-Terrain Support]],
acceleration = 0.36,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
buildPic ... | gpl-2.0 |
AresTao/darkstar | scripts/globals/spells/bluemagic/geist_wall.lua | 18 | 1333 | -----------------------------------------
-- Spell: Geist Wall
-- Removes one beneficial magic effect from enemies within range
-- Spell cost: 35 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 3
-- Stat Bonus: HP-5, MP+10
-- Level: 46
-- Casting Time: 3 seconds
-- Recast Time:... | gpl-3.0 |
AresTao/darkstar | scripts/zones/West_Ronfaure/npcs/Palcomondau.lua | 35 | 12378 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Palcomondau
-- Type: Patrol
-- @pos -349.796 -45.345 344.733 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/pathfind");
---------------... | gpl-3.0 |
AresTao/darkstar | scripts/zones/Gusgen_Mines/npcs/_5gd.lua | 34 | 1341 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gd (Lever F)
-- @pos 44 -20.56 143.802 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
-----------------... | gpl-3.0 |
prosody-modules/import | mod_roster_command/mod_roster_command.lua | 31 | 5484 | -----------------------------------------------------------
-- mod_roster_command: Manage rosters through prosodyctl
-- version 0.02
-----------------------------------------------------------
-- Copyright (C) 2011 Matthew Wild
-- Copyright (C) 2011 Adam Nielsen
--
-- This project is MIT/X11 licensed. Please see the
--... | mit |
Alberto-Beralix/Beralix | i386-squashfs-root/usr/share/quvi/lua/website/funnyordie.lua | 1 | 1757 |
-- quvi
-- Copyright (C) 2010 quvi project
--
-- This file is part of quvi <http://quvi.sourceforge.net/>.
--
-- This library is free software; you can redistribute it and/or
-- modify it under the terms of the GNU Lesser General Public
-- License as published by the Free Software Foundation; either
-- version 2.1 of... | gpl-3.0 |
markandgo/LOVEly-tiles | tmxloader.lua | 3 | 11944 | local path = (...):match('^.+[%.\\/]') or ''
local grid = require(path..'grid')
local atlas = require(path..'atlas')
local mapdata = require(path..'mapdata')
local map = require(path..'map')
local isomap = require(path..'isomap')
local drawlist = require(path..'drawlist')
local xmlparser = req... | mit |
DeinFreund/Zero-K | LuaRules/Gadgets/lups_flame_jitter.lua | 17 | 6545 | -- $Id: lups_flame_jitter.lua 3643 2009-01-03 03:00:52Z jk $
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Lups Flamethrower Jitter",
d... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Statue_Prototype.lua | 16 | 1244 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Statue Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scri... | gpl-3.0 |
AresTao/darkstar | scripts/zones/East_Sarutabaruta/npcs/Taby_Canatahey.lua | 34 | 1067 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Taby Canatahey
-- @pos -119.119 -4.106 -524.347 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs... | gpl-3.0 |
MadkaT182/DDR4th | Graphics/Player combo/default.lua | 3 | 1660 | local c;
local player = Var "Player";
local ShowComboAt = THEME:GetMetric("Combo", "ShowComboAt");
local Pulse = THEME:GetMetric("Combo", "PulseCommand");
local PulseLabel = THEME:GetMetric("Combo", "PulseLabelCommand");
local NumberMinZoom = THEME:GetMetric("Combo", "NumberMinZoom");
local NumberMaxZoom = THEME:GetMe... | gpl-2.0 |
resetnow/premake-core | tests/actions/vstudio/cs2005/test_project_refs.lua | 7 | 3230 | --
-- tests/actions/vstudio/cs2005/test_project_refs.lua
-- Test the project dependencies block of a Visual Studio 2005+ C# project.
-- Copyright (c) 2012 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_cs2005_project_refs")
local cs2005 = premake.vstudio.cs2005
--
-- Setup and teardow... | bsd-3-clause |
AresTao/darkstar | scripts/globals/ability.lua | 17 | 15202 | -----------------------------------
--
-- ABILITIES
--
-----------------------------------
ABILITY_MIGHTY_STRIKES = 0;
ABILITY_HUNDRED_FISTS = 1;
ABILITY_BENEDICTION = 2;
ABILITY_MANAFONT = 3;
ABILITY_CHAINSPELL = 4;
ABILITY_PERFECT_DODGE = 5;
ABILITY_... | gpl-3.0 |
DasBlub/mangos-wotlk | dep/recastnavigation/RecastDemo/premake4.lua | 82 | 3551 | --
-- premake4 file to build RecastDemo
-- http://industriousone.com/premake
--
local action = _ACTION or ""
local todir = "Build/" .. action
solution "recastnavigation"
configurations {
"Debug",
"Release"
}
location (todir)
-- extra warnings, no exceptions or rtti
flags {
"ExtraWarnings",
"FloatFast"... | gpl-2.0 |
AresTao/darkstar | scripts/zones/Southern_San_dOria/npcs/Hinaree.lua | 19 | 1923 | -----------------------------------
-- Area: Southern San d'Oria@
-- NPC: Hinaree
-- Type: Standard NPC
-- @zone: 230
-- @pos -301.535 -10.199 97.698
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;... | gpl-3.0 |
cloudwatt/contrail-controller | src/analytics/delrequest.lua | 1 | 2701 | --
-- Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
--
local function sub_del(_values)
local lres = redis.call('hgetall',_values)
local iter = 1
while iter <= #lres do
local attr = lres[iter]
local val = lres[iter+1]
if string.byte(val,1) ~= 60 then
loca... | apache-2.0 |
AresTao/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Areuhat1.lua | 36 | 1069 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Areuhat
-- @zone 80
-- @pos 21 0 22
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
----------------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.