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 |
|---|---|---|---|---|---|
Oliveryo/Interface | AddOns/pfUI/modules/config.lua | 1 | 9498 | pfUI_playerDB = {}
pfUI_config = {}
function pfUI:LoadConfig()
-- MODULE SUBGROUP ENTRY VALUE
pfUI:UpdateConfig("global", nil, "pixelperfect", "0")
pfUI:UpdateConfig("global", nil, "font_size", "12")
pfUI:UpdateConfig("global", nil, ... | gpl-3.0 |
NerdWalletOSS/Q | DEPRECATED_Q2/LUAQ/BAK1/metaq.lua | 1 | 5417 | function chk_tbl_name(t)
assert(t ~= nil, "Table name is nil")
assert ( tostring(t), "Table name not a string")
assert(#t < 32, "Table name too long")
assert(#t >= 1, "Table name too short")
assert(string.sub(t, 1, 1) ~= "_", "Table name starts with underscore")
return true
end
function chk_fld_name(t)
a... | mit |
alanjcfs/glc-client | assets/loading-screens/0.4/cat.lua | 2 | 2171 |
function animation(frames, path_to_frame)
-- given a list of frames and a string which identifies these frames
-- as files, return an array of loaded images.
local animations = {}
for index, frame in ipairs(frames) do
local file_name = string.format(path_to_frame, frame)
animations[index] = love.graphi... | apache-2.0 |
rdelval/likwid | src/applications/likwid-agent.lua | 10 | 13028 | #!/home/rrze/unrz/unrz139/Work/likwid/trunk/ext/lua/lua
package.path = package.path .. ';' .. string.gsub(debug.getinfo(1).source, "^@(.+/)[^/]+$", "%1") .. '/?.lua'
local likwid = require("likwid")
dconfig = {}
dconfig["groupStrings"] ={}
dconfig["groupData"] ={}
dconfig["duration"] = 1
dconfig["groupPath"] = "/home... | gpl-3.0 |
g0t-ya/XiaoyuBox | luci/controller/admin/servicectl.lua | 76 | 1376 | --[[
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
$Id$
]]--
mo... | lgpl-3.0 |
njrat/BREKEBOT | 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 |
mamaddeveloper/s-t2 | 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 |
Zero-K-Experiments/Zero-K-Experiments | scripts/hoverdepthcharge.lua | 6 | 4227 | include "constants.lua"
local spGetUnitRulesParam = Spring.GetUnitRulesParam
local base, shield, front, bottom, back = piece('base', 'shield', 'front', 'bottom', 'back')
local rim1, door1, rim2, door2 = piece('rim1', 'door1', 'rim2', 'door2')
local turretbase, turret, gun, pads, flare1, flare2 = piece('turretbase', '... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/Grounds_Tome.lua | 30 | 1115 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/NoteSkins/kb7/retrobar-razor_o2/Noteskin.lua | 1 | 2021 | -- from scratch, with various references.
local Noteskin = ... or {};
-- element redirs
Noteskin.ElementRedirs = {
-- ["element"] = "redir_element";
-- Instead of separate hold heads, use the tap note graphics.
["Hold Head Inactive"] = "Tap Note";
["Hold Head Active"] = "Tap Note";
["Roll Head Inactive"] = "Tap N... | mit |
Scavenge/darkstar | scripts/globals/mobskills/Vorpal_Wheel.lua | 37 | 1063 | ---------------------------------------------
-- Vorpal Wheel
--
-- Description: Throws a slicing wheel at a single target.
-- Type: Physical
-- Utsusemi/Blink absorb: No
-- Range: Unknown
-- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as his he... | gpl-3.0 |
sockethub/sockethub | test/prosody/prosody.cfg.lua | 1 | 8746 | daemonize = false;
-- Prosody XMPP Server Configuration
--
-- Information on configuring Prosody can be found on our
-- website at https://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running this command:
-- prosodyctl check config
-- If the... | lgpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters/npcs/Angelica.lua | 14 | 5826 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Angelica
-- Starts and Finished Quest: A Pose By Any Other Name
-- Working 100%
-- @zone = 238
-- @pos = -70 -10 -6
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/bomberstrike.lua | 3 | 3933 | unitDef = {
unitname = [[bomberstrike]],
name = [[Kestrel]],
description = [[Tactical Strike Bomber]],
brakerate = 0.4,
buildCostEnergy = 400,
buildCostMetal = 400,
builder = false,
buildPic = [[bomberstrike.png]],
buildTime ... | gpl-2.0 |
seblindfors/ConsolePort | ConsolePort_Config/Settings/Variables.lua | 1 | 9091 | local _, env, db, L = ...; db, L = env.db, env.L;
local PanelMixin, Widgets = {}, env.Widgets;
---------------------------------------------------------------
-- Addon settings
---------------------------------------------------------------
local SHORTCUT_WIDTH, GENERAL_WIDTH, FIXED_OFFSET, OPTION_HEIGHT = 284, 700, 8... | artistic-2.0 |
Scavenge/darkstar | scripts/globals/weaponskills/blade_yu.lua | 19 | 1588 | -----------------------------------
-- Blade Yu
-- Katana weapon skill
-- Skill Level: 290
-- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: Water
-- Modifiers: DEX:50% ; INT:50%... | gpl-3.0 |
wkitty42/snort3 | piglet/tests/interface/raw_buffer.lua | 1 | 4004 | plugin =
{
type = "piglet",
name = "piglet::raw_buffer",
test = function()
-- Put the dofile here so that it doesn't get loaded twice
dofile(SCRIPT_DIR .. "/common.lua")
return run_all(tests)
end
}
INIT_SIZE = 16
INIT_STRING = "foobar"
INIT_16_CONTENT = "0 0 0 0 0 0 0 0 0 0 0 0 ... | gpl-2.0 |
xincun/nginx-openresty-windows | LuaJIT-2.1-20150622/src/jit/dis_arm.lua | 78 | 19363 | ----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | bsd-2-clause |
fengshao0907/ABTestingGateway | admin/policy/get.lua | 22 | 3106 | local policyModule = require('abtesting.adapter.policy')
local redisModule = require('abtesting.utils.redis')
local systemConf = require('abtesting.utils.init')
local handler = require('abtesting.error.handler').handler
local utils = require('abtesting.utils.utils')
local ERRORINFO = require('ab... | mit |
1yvT0s/luvit | deps/tls/lcrypto.lua | 6 | 1188 | --[[
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 or ag... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/api_custom_unit_shaders.lua | 4 | 20208 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- author: jK
--
-- Copyright (C) 2008,2009,2010.
-- Licensed under the terms of the GNU GPL, v2 or later.
--
---------------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ghatsad.lua | 14 | 29298 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ghatsad
-- Standard Info NPC
-- Involved in quest: No String Attached
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/common");
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Cape_Teriggan/npcs/Dultwa_IM.lua | 14 | 3310 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Dulwa, I.M.
-- Type: Border Conquest Guards
-- @pos 119 0 282 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("script... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua | 50 | 5024 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Miah Riyuh
-- @pos 5.323 -2 37.462 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyite... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/StartBoxes/Knockout_v2.lua | 17 | 2417 | return {
[0] = {
startpoints = {
{7127,1106},
},
boxes = {
{
{6881,860},
{7373,860},
{7373,1352},
{6881,1352},
},
},
},
[1] = {
startpoints = {
{5161,11182},
},
boxes = {
{
{4915,10936},
{5407,10936},
{5407,11428},
{4915,11428},
},
},
},
[2] = {
s... | gpl-2.0 |
Dyaxler/SpartanUI | Modules/PlayerFrames/scripts/Unit-FrameSpawn.lua | 1 | 17359 | local SUI = SUI
local L = SUI.L
local PlayerFrames = SUI.PlayerFrames
----------------------------------------------------------------------------------------------------
local FramesList = {
[1] = 'pet',
[2] = 'target',
[3] = 'targettarget',
[4] = 'focus',
[5] = 'focustarget',
[6] = 'player'
}
function PlayerFr... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Asrahd.lua | 27 | 3066 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Asrahd
-- Type: Imperial Gate Guard
-- @pos 0.011 -1 10.587 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requir... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/funnelweb.lua | 3 | 5148 | unitDef = {
unitname = [[funnelweb]],
name = [[Funnelweb]],
description = [[Drone/Shield Support Strider]],
acceleration = 0.0552,
activateWhenBuilt = true,
brakeRate = 0.1375,
buildCostEnergy = 4500,
buildCostMetal = ... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua | 14 | 1429 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Ipupu
-- Involved in Quest: Glyph Hanger
-- @pos 251.745 -5.5 35.539 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems")... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Behemoths_Dominion/npcs/Cermet_Headstone.lua | 14 | 3102 | -----------------------------------
-- 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 |
Scavenge/darkstar | scripts/zones/Sacrarium/npcs/qm6.lua | 14 | 1799 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm6 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 62.668 -3.111 -127.310 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/Tex... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/East_Ronfaure/npcs/Field_Manual.lua | 29 | 1057 | -----------------------------------
-- Field Manual
-- Area: East Ronfaure
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/pipira.lua | 12 | 1658 | -----------------------------------------
-- ID: 5787
-- Item: pipira
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Attack % 14.5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Uleguerand_Range/npcs/HomePoint#5.lua | 27 | 1258 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#5
-- @pos
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
dor003/Herc | tools/item_merge.lua | 15 | 23076 | -- This file is part of Hercules.
-- http://herc.ws - http://github.com/HerculesWS/Hercules
--
-- Copyright (C) 2014-2015 Hercules Dev Team
--
-- Hercules 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, eit... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/Cermet_Door.lua | 27 | 1148 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Notes: Leads to Upper Delkfutt's Tower.
-- @pos 524 16 20 184
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm3.lua | 14 | 1304 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Ullikummi)
-- @pos 739 -99 -581 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextID... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/unit_initial_queue.lua | 2 | 21953 | local version = "v1.544"
function widget:GetInfo()
return {
name = "Initial Queue ZK",
desc = version .. " Allows you to queue buildings before game start",
author = "Niobium, KingRaptor",
date = "7 April 2010",
license = "GNU GPL, v2 or later",
layer = -1, -- Puts it below cmd_mex_... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/hoverriot.lua | 6 | 2016 | local base = piece 'base'
local flare = piece 'flare'
local ground1 = piece 'ground1'
local barrel = piece 'barrel'
local wakes = {}
for i = 1, 8 do
wakes[i] = piece ('wake' .. i)
end
include "constants.lua"
-- Signal definitions
local SIG_HIT = 2
local SIG_AIM = 4
local RESTORE_DELAY = 3000
local function Wob... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/mobskills/Gigaflare.lua | 37 | 1686 | ---------------------------------------------
-- Gigaflare
-- Family: Bahamut
-- Description: Deals massive Fire damage to enemies within a fan-shaped area.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range:
-- Notes: Used by Bahamut when at 10% of its HP, and can use anytime afterwards at will... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pelftrix.lua | 17 | 1263 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pelftrix
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Windurst_Waters_[... | gpl-3.0 |
smanolache/kong | spec/integration/01-dao/05-use_cases_spec.lua | 1 | 3298 | local helpers = require "spec.spec_helpers"
local Factory = require "kong.dao.factory"
helpers.for_each_dao(function(db_type, default_options, TYPES)
describe("Real use-cases with DB: #"..db_type, function()
local factory
setup(function()
factory = Factory(db_type, default_options)
assert(factory... | apache-2.0 |
Scavenge/darkstar | scripts/globals/weaponskills/sturmwind.lua | 25 | 1558 | -----------------------------------
-- Sturmwind
-- Great Axe weapon skill
-- Skill level: 70
-- Delivers a two-hit attack. Attack varies with TP.
-- Will stack with Sneak Attack, but only the first hit.
-- Aligned with the Soil Gorget & Aqua Gorget.
-- Aligned with the Soil Belt & Aqua Belt.
-- Element: None
-- Modifi... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/bluemagic/metallic_body.lua | 45 | 1520 | -----------------------------------------
-- Spell: Metallic Body
-- Absorbs an certain amount of damage from physical and magical attacks
-- Spell cost: 19 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 1
-- Stat Bonus: None
-- Level: 8
-- Casting Time: 7 seconds
-- Recast Time: 60 sec... | gpl-3.0 |
zozaiq/DEV_ZOZO | plugins/banhammer.lua | 4 | 15799 |
local function pre_process(msg)
local data = load_data(_config.moderation.data)
-- 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('Che... | gpl-2.0 |
smanolache/kong | spec/plugins/jwt/jwt_parser_spec.lua | 1 | 5180 | require "kong.tools.ngx_stub"
local jwt_parser = require "kong.plugins.jwt.jwt_parser"
local fixtures = require "spec.plugins.jwt.fixtures"
describe("JWT parser", function()
describe("Encoding", function()
it("should properly encode using HS256", function()
local token = jwt_parser.encode({
sub = ... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Sauromugue_Champaign/npcs/qm6.lua | 14 | 2470 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: qm6 (???) (Tower 6)
-- Involved in Quest: THF AF "As Thick As Thieves"
-- @pos 363.481 23.600 6.335 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/armsonar.lua | 16 | 1682 | include "constants.lua"
local base, float, body, head, ball = piece ("base", "float", "body", "head", "ball")
local wings = {}
for i = 1, 4 do
wings[i] = piece ("wing"..i)
end
local explodables1 = {ball, wings[1], wings[2]}
local explodables2 = {float, head, wings[3], wings[4]}
local smokePiece = { base }
function ... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Selbina/npcs/Abelard.lua | 14 | 7799 | -----------------------------------
-- Area: Selbina
-- NPC: Abelard
-- An Explorer's Footsteps
-- @pos -52 -11 -13 248
-- This quest was changed to require a minimum amount of fame to combat RMTs POS-Hacking around to
-- quickly earn gil. However, as this is not a legitimate concern on private servers players may
--... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Gusgen_Mines/npcs/Degga.lua | 14 | 1163 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Degga
-- Type: Standard Info NPC
-- @pos 40 -68 -259
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests"... | gpl-3.0 |
NixOS/nixpkgs | doc/build-aux/pandoc-filters/docbook-writer/rst-roles.lua | 1 | 1361 | --[[
Converts AST for reStructuredText roles into corresponding
DocBook elements.
Currently, only a subset of roles is supported.
Reference:
List of roles:
https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html
manpage:
https://tdg.docbook.org/tdg/5.1/citerefentry.html
file:
https://... | mit |
Scavenge/darkstar | scripts/zones/Manaclipper/npcs/Gniyah_Mischatt.lua | 14 | 1028 | -----------------------------------
-- Area: Manaclipper
-- NPC: Gniyah Mischatt
-- Type: Adventurer's Assistant
-- @pos 0.033 -4 2.725 3
-----------------------------------
package.loaded["scripts/zones/Manaclipper/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Manaclipper/TextIDs");
... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/block_of_stone_cheese.lua | 12 | 1214 | -----------------------------------------
-- ID: 4460
-- Item: Block of Stone Cheese
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health +6% (cap 40)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/feral_howl.lua | 58 | 3525 | ---------------------------------------------------
-- Ability: Feral Howl
-- Terrorizes the target.
-- Obtained: Beastmaster Level 75
-- Recast Time: 0:05:00
-- Duration: Apprx. 0:00:01 - 0:00:10
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status")... | gpl-3.0 |
ArchonTeam/Soft_TG | bot/shield.lua | 2 | 12163 | 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 = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Gusgen_Mines/npcs/_5ge.lua | 14 | 1360 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5ge (Lever E)
-- @pos 20 -20.561 143.801 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | effects/gundam_jetflash.lua | 25 | 1649 | -- jetflash
return {
["jetflash"] = {
bitmapmuzzleflame = {
air = true,
class = [[CBitmapMuzzleFlame]],
count = 1,
ground = true,
underwater = 1,
water = true,
properties = {
colormap ... | gpl-2.0 |
purebn/secure | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/terrain_texture_handler.lua | 3 | 13224 |
function gadget:GetInfo()
return {
name = "Terrain Texture Handler",
desc = "Handles requested changes to terrain texture by unit_terraform.lua gadget. Only updates for players which can see terrain (according to UHM).",
author = "Google Frog",
date = "25 June 2012", --24 August 201... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Port_Windurst/npcs/Panja-Nanja.lua | 53 | 1909 | -----------------------------------
-- Area: Port Windurst
-- NPC: Panja-Nanja
-- Type: Fishing Adv. Image Support
-- @pos -194.499 -3 58.692 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-statistics/luasrc/statistics/rrdtool.lua | 69 | 15320 | --[[
Luci statistics - rrdtool interface library / diagram model interpreter
(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 |
Scavenge/darkstar | scripts/globals/items/faerie_apple.lua | 12 | 1198 | -----------------------------------------
-- ID: 4363
-- Item: faerie_apple
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -4
-- Intelligence 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/gui_advplayerslist.lua | 9 | 64426 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- Copyright (C) 2008.
-- Licensed under the terms of the GNU GPL, v2 or later.
--
----------------------------------------------------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Xarcabard/npcs/Trail_Markings.lua | 7 | 2752 | -----------------------------------
-- Area: Xarcabard
-- NPC: Trail Markings
-- Dynamis-Xarcabard Enter
-- @pos 570 0 -272 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Bastok_Markets/npcs/Harmodios.lua | 14 | 2447 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Harmodios
-- Standard Merchant NPC
-- @pos -79.928 -4.824 -135.114 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scri... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Kazham/npcs/Pofhu_Tendelicon.lua | 17 | 1074 | -----------------------------------
-- Area: Kazham
-- NPC: Pofhu Tendelicon
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Temenos/bcnms/Temenos_Eastern_Tower.lua | 35 | 1553 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
if (GetMobAction(16928844) > 0) then DespawnMob(16928844);end
if (GetMobAction(16928853) > 0) then DespawnMob(16928853);en... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/mission_orbital_drop.lua | 6 | 14122 | 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 |
Dyaxler/SpartanUI | libs/oUF_Plugins/oUF_AuraWatch.lua | 1 | 9462 | --[[------------------------------------------------------------------------------------------------------
oUF_AuraWatch by Astromech
Please leave comments, suggestions, and bug reports on this addon's WoWInterface page
To setup, create a table named AuraWatch in your unit frame. There are several options
you can... | gpl-3.0 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/meta/fetcher/tvrage.lua | 48 | 2571 | --[[
Gets metas for tv episode using tvrage.
$Id$
Copyright © 2010 the VideoLAN team
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 l... | gpl-2.0 |
smanolache/kong | spec/integration/05-proxy/dns_resolver_spec.lua | 1 | 1253 | local spec_helper = require "spec.spec_helpers"
local http_client = require "kong.tools.http_client"
local TCP_PORT = spec_helper.find_port()
describe("DNS", function()
setup(function()
spec_helper.prepare_db()
spec_helper.insert_fixtures {
api = {
{ name = "tests-dns-1", request_host = "dns1.... | apache-2.0 |
angking0802wu/UniLua | Assets/StreamingAssets/LuaRoot/test/strings.lua | 9 | 9838 | print('testing strings and string library')
assert('alo' < 'alo1')
assert('' < 'a')
assert('alo\0alo' < 'alo\0b')
assert('alo\0alo\0\0' > 'alo\0alo\0')
assert('alo' < 'alo\0')
assert('alo\0' > 'alo')
assert('\0' < '\1')
assert('\0\0' < '\0\1')
assert('\1\0a\0a' <= '\1\0a\0a')
assert(not ('\1\0a\0b' <= '\1\0a\0a'))
ass... | mit |
Scavenge/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Eulaclaire.lua | 27 | 1698 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Eulaclaire
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
smanolache/kong | spec/plugins/basic-auth/api_spec.lua | 1 | 5048 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
describe("Basic Auth Credentials API", function()
local BASE_URL, credential, consumer, consumer_alice
setup(function()
spec_helper.prepare_db()
spec_helper.start_kong()
end)... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | gamedata/modularcomms/weapons/torpedo.lua | 17 | 1427 | local name = "commweapon_torpedo"
local weaponDef = {
name = [[Torpedo Launcher]],
areaOfEffect = 16,
avoidFriendly = false,
bouncerebound = 0.5,
bounceslip = 0.5,
burnblow = true,
collideFriendly = false,
craterBoost ... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Waughroon_Shrine/npcs/Burning_Circle.lua | 14 | 2281 | -----------------------------------
-- 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/globals/bcnm");... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Feretory/Zone.lua | 32 | 1164 | -----------------------------------
--
-- Zone: Feretory
--
-----------------------------------
package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Marjami_Ravine/TextIDs");
-----------------------------------
--... | gpl-3.0 |
mymedia2/GroupButler | plugins/banhammer.lua | 2 | 7957 | local config = require 'config'
local u = require 'utilities'
local api = require 'methods'
local plugin = {}
local function get_motivation(msg)
if msg.reply then
return msg.text:match(("%sban (.+)"):format(config.cmd))
or msg.text:match(("%skick (.+)"):format(config.cmd))
or msg.text:match(("%stempban .+\n(... | gpl-2.0 |
DebugClub/slua | build/luajit-2.1.0/src/jit/bc.lua | 78 | 5620 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
Scavenge/darkstar | scripts/globals/items/meat_chiefkabob.lua | 12 | 1457 | -----------------------------------------
-- ID: 4574
-- Item: meat_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
---------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/uskumru.lua | 12 | 1322 | -----------------------------------------
-- ID: 5452
-- Item: Uskumru
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
phi-gamma/lualibs | lualibs-os.lua | 1 | 15832 | if not modules then modules = { } end modules ['l-os'] = {
version = 1.001,
comment = "companion to luat-lib.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
-- This file deals with som... | gpl-2.0 |
omidtarh/wezard | bot/bot.lua | 6 | 7103 | 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 = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters/npcs/Churano-Shurano.lua | 9 | 1471 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Churano-Shurano
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrad... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Al_Zahbi/npcs/Rughadjeen.lua | 14 | 1043 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Rughadjeen
-- Type: Skyserpent General
-- @zone 48
-- @pos -74.150 -7 70.656
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/timbre_timbers_salad.lua | 12 | 1467 | -----------------------------------------
-- ID: 4321
-- Item: timbre_timbers_salad
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/blade_madrigal.lua | 27 | 1568 | -----------------------------------------
-- Spell: Blade Madrigal
-- Gives party members accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
taxler/radish | lua/parse/json/read/u_escape.lua | 1 | 1230 |
local re = require 're'
local strchar = string.char
local bit = require 'bit'
local bor, band = bit.bor, bit.band
local lshift, rshift = bit.lshift, bit.rshift
local read_surrogate_pair = re.compile [[
'\u' &([dD][8-9a-bA-B]) ( {..%x%x} '\u' {[dD][c-fC-F]%x%x} )
]] / function(leading, trailing)
leading = tonum... | mit |
ArchonTeam/Soft_TG | plugins/chat.lua | 4 | 1681 | local function run(msg)
if msg.text == "hi" then
return "hello"
end
if msg.text == "Hi" then
return "Hello"
end
if msg.text == "Khubi?" then
return "merc to chetor?"
end
if msg.text == "Salam" then
return "Saaalam"
end
if msg.text == "salam" then
return "Salaam"
end
if msg.text == "shield" then
return "jana... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/armzeus.lua | 15 | 15279 | local base = piece 'base'
local chest = piece 'chest'
local aim = piece 'aim'
local flare = piece 'flare'
local hips = piece 'hips'
local lthigh = piece 'lthigh'
local rthigh = piece 'rthigh'
local lforearm = piece 'lforearm'
local rforearm = piece 'rforearm'
local rshoulder = piece 'rshoulder'
local lshoulde... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Port_Windurst/npcs/Three_of_Clubs.lua | 14 | 1465 | -----------------------------------
-- Area: Port Windurst
-- NPC: Three of Clubs
-- Type: Standard NPC
-- @pos -7.238 -5 106.982 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scri... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/seraph_blade.lua | 23 | 1356 | -----------------------------------
-- Seraph Blade
-- Sword weapon skill
-- Skill Level: 125
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Ignores shadows.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: Light
-- Modifiers: STR:40% ; MND:40%
-- 100%TP 200%TP 300%... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Cloister_of_Frost/npcs/Cermet_Headstone.lua | 14 | 2769 | -----------------------------------
-- Area: Cloister of Frost
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Ice Fragment)
-- @pos 566 0 606 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
purebn/secure | 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 |
Scavenge/darkstar | scripts/zones/Sealions_Den/mobs/Tenzen.lua | 23 | 1173 | -----------------------------------
-- Area: Sealion den
-- NPC: Tenzen
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobEngaged
-----------------------------------
fun... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/Themes/default/BGAnimations/ScreenGameplay failed/default.lua | 1 | 1208 | local longFail = ThemePrefs.Get("LongFail");
local t = Def.ActorFrame{};
if longFail then
t[#t+1] = Def.Quad{
InitCommand=cmd(FullScreen;diffuse,color("1,0,0,0");blend,Blend.Multiply);
OnCommand=cmd(decelerate,1.25;diffuse,color("0.75,0,0,0.75");linear,7;diffuse,color("0,0,0,1");sleep,1.25;linear,1;diffuse,color... | mit |
1yvT0s/luvit | deps/timer.lua | 6 | 6124 | --[[
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 |
Zero-K-Experiments/Zero-K-Experiments | effects/storm.lua | 25 | 4672 | -- stormback
-- stormmuzzle
return {
["stormback"] = {
fire = {
air = true,
class = [[CSimpleParticleSystem]],
count = 10,
ground = true,
water = true,
properties = {
airdrag = 0.6,
co... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Mhaura/npcs/Felisa.lua | 17 | 1201 | -----------------------------------
-- Area: Mhaura
-- NPC: Felisa
-- Admits players to the dock in Mhaura.
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
Crystalwarrior/ZombieDefence | lib/HardonCollider/shapes.lua | 1 | 12363 | --[[
Copyright (c) 2011 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | unlicense |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.