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 |
|---|---|---|---|---|---|
Openarl/PathOfBuilding | Data/2_6/Bases/staff.lua | 1 | 8409 | -- This file is automatically generated, do not edit!
-- Item data (c) Grinding Gear Games
local itemBases = ...
itemBases["Gnarled Branch"] = {
type = "Staff",
socketLimit = 6,
tags = { default = true, weapon = true, twohand = true, staff = true, two_hand_weapon = true, small_staff = true, },
implicit = "18% Chan... | mit |
jesboat/fbthrift | thrift/test/lua/test_bpack.lua | 2 | 2635 | -- Copyright 2004-present Facebook. All Rights Reserved.
local b = luabpack
-- Pack and unpack a value
function pup(t, val)
return luabpack.bunpack(t, luabpack.bpack(t, val))
end
function luaunit:testChar()
luaunit:assertEqual(pup('c', 0x01), 1)
luaunit:assertEqual(pup('c', 0x40), 64)
luaunit:assertEqual(pup... | apache-2.0 |
ind9/kong | kong/dao/schemas/plugins_configurations.lua | 13 | 2385 | local utils = require "kong.tools.utils"
local DaoError = require "kong.dao.error"
local constants = require "kong.constants"
local function load_value_schema(plugin_t)
if plugin_t.name then
local loaded, plugin_schema = utils.load_module_if_exists("kong.plugins."..plugin_t.name..".schema")
if loaded then
... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Windurst_Waters/npcs/Paku-Nakku.lua | 5 | 1039 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Paku-Nakku
-- Involved in Quest: Making the Grade
-- !pos 127 -6 165 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/Te... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Port_San_dOria/Zone.lua | 5 | 2149 | -----------------------------------
--
-- Zone: Port_San_dOria (232)
--
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextID... | gpl-3.0 |
Deiz/naev | dat/missions/flf/flf_patrol.lua | 2 | 7875 | --[[
FLF patrol elimination mission.
Copyright (C) 2014 Julian Marchant <onpon4@riseup.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
http://www.apache.org/licenses/LI... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/mobskills/chains_of_apathy.lua | 5 | 1360 | ---------------------------------------------
-- Chains of Apathy
--
---------------------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
---------------------------------------------
require("scripts/zones/Empyreal_Paradox/TextIDs");
require("scripts/globals/monstertpmoves");
r... | gpl-3.0 |
Deiz/naev | dat/ai/civilian.lua | 5 | 1508 | include("dat/ai/tpl/generic.lua")
include("dat/ai/personality/civilian.lua")
-- Sends a distress signal which causes faction loss
function sos ()
msg = {
"Mayday! We are under attack!",
"Requesting assistance. We are under attack!",
"Civilian vessel under attack! Requesting help!",
"Help! S... | gpl-3.0 |
dkorolev/tarantool | test/big/iterator.test.lua | 7 | 11516 | dofile('utils.lua')
# Tree single-part unique
space = box.schema.space.create('tweedledum')
idx1 = space:create_index('primary', { type = 'tree', parts = {1, 'str'}, unique = true})
-- Tree single-part non-unique
idx2 = space:create_index('i1', { type = 'tree', parts = {2, 'str'}, unique = false})
-- Tree multi-part ... | bsd-2-clause |
404rq/GTW-RPG | [resources]/GTWtraindriver/train_s.lua | 2 | 9461 | --[[
********************************************************************************
Project owner: RageQuit community
Project name: GTW-RPG
Developers: Mr_Moose
Source code: https://github.com/404rq/GTW-RPG/
Bugtracker: https://discuss.404rq.com/t/issues
Suggestions: https://discuss.404rq.com/t/deve... | bsd-2-clause |
serbyy/MozDef | examples/heka-lua-bro/bro_tunnel.lua | 10 | 3015 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-- Copyright (c) 2014 Mozilla Corporation
--
-- Contributors:
-- Anthony Verez averez@mozilla.com
-- Jeff Bryner jbryn... | mpl-2.0 |
Deiz/naev | dat/missions/zalek/zlk_test.lua | 3 | 10376 | --[[
Handles the randomly generated Za'lek test missions.
(Based on the ES lua code)
stages :
0 : everything normal
1 : the player has forgotten the engine
]]
include "dat/scripts/cargo_common.lua"
include "dat/scripts/numstring.lua"
lang = naev.lang()
if lang == "es" then
else --... | gpl-3.0 |
samijon/best | bot/seedbot.lua | 1 | 10216 | 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 |
Dota-2-5v5v5v5/GameFolder | scripts/vscripts/libraries/physics_old.lua | 1 | 85910 | PHYSICS_VERSION = "0.92"
PHYSICS_NAV_NOTHING = 0
PHYSICS_NAV_HALT = 1
PHYSICS_NAV_SLIDE = 2
PHYSICS_NAV_BOUNCE = 3
PHYSICS_GROUND_NOTHING = 0
PHYSICS_GROUND_ABOVE = 1
PHYSICS_GROUND_LOCK = 2
COLLIDER_SPHERE = 0
COLLIDER_BOX = 1
COLLIDER_AABOX = 2
PHYSICS_THINK = 0.01
if Physics == nil then
prin... | gpl-3.0 |
mdziekon/eiti-tin-ftp-stattr | wireshark-module/tin-json.lua | 1 | 18532 | -- trivial protocol example
-- declare our protocol
function getLUA()
-----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://github.com/craigmj/json4lua/
-- Ve... | mit |
HeavensSword/darkstar | scripts/zones/Temenos/mobs/Airi.lua | 26 | 1273 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Airi
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/items/rolanberry_daifuku.lua | 3 | 1930 | -----------------------------------------
-- ID: 6339
-- Item: rolanberry_daifuku
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 50)
-- Ranged Accuracy +10% (cap 50)
-- Magic Accuracy +3
-- Pet:
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 75)
-- Range... | gpl-3.0 |
DennisWG/CastModifier | Utility.lua | 1 | 1637 | --[[
Author: Dennis Werner Garske (DWG)
License: MIT License
]]
local _G = _G or getfenv(0)
local Roids = _G.Roids or {} -- redundant since we're loading first but peace of mind if another file is added top of chain
-- Splits the given string into a list of sub-strings
-- str: The string to split
-- seperatorPattern... | mit |
HeavensSword/darkstar | scripts/zones/FeiYin/npcs/qm1.lua | 5 | 1188 | -----------------------------------
-- Area: FeiYin
-- NPC: qm1 (???)
-- Involved In Quest: Pieuje's Decision
-- !pos -55 -16 69 204
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
cogwerkz/gUI4 | gUI4/elements/fullscreenfade.lua | 1 | 1618 | local _, gUI4 = ...
-- Lua API
local _G = _G
-- WoW API
local CreateFrame = _G.CreateFrame
local UIFrameFade = _G.UIFrameFade
local UIFrameFadeIn = _G.UIFrameFadeIn
local UIFrameFadeRemoveFrame = _G.UIFrameFadeRemoveFrame
local UIFrameIsFading = _G.UIFrameIsFading
local UIParent = _G.UIParent
---------... | mit |
Death15/Supers-TOUCHTG | plugins/Swatch-Control.lua | 1 | 6425 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
Openarl/PathOfBuilding | Modules/Data.lua | 1 | 10858 | -- Path of Building
--
-- Module: Data
-- Contains static data used by other modules.
--
LoadModule("Data/Global")
local skillTypes = {
"act_str",
"act_dex",
"act_int",
"other",
"glove",
"minion",
"spectre",
"sup_str",
"sup_dex",
"sup_int",
}
local itemTypes = {
"axe",
"bow",
"claw",
"dagger",
"mace",
... | mit |
dani-sj/komil | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
ind9/kong | kong/vendor/lapp.lua | 25 | 9906 | -- lapp.lua
-- Simple command-line parsing using human-readable specification
-----------------------------
--~ -- args.lua
--~ local args = require ('lapp') [[
--~ Testing parameter handling
--~ -p Plain flag (defaults to false)
--~ -q,--quiet Plain flag with GNU-style optional long ... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Port_Windurst/npcs/Pyo_Nzon.lua | 5 | 2479 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pyo Nzon
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/T... | gpl-3.0 |
Wedmer/luci | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/dns.lua | 68 | 2109 | -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.dns", package.seeall)
function rrdargs( graph, plugin, plugin_instance )
local traffic = {
title = "%H: DNS traffic", vlabel = "Bit/s",
data = {
sou... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Lower_Jeuno/npcs/Vola.lua | 5 | 2894 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Vola
-- Starts and Finishes Quest: Fistful of Fury
-- Involved in Quests: Beat Around the Bushin (before the quest)
-- @zone 245
-- !pos 43 3 -45
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-------------... | gpl-3.0 |
qwook/dpsht | libs/loveframes/objects/internal/columnlist/columnlistheader.lua | 10 | 4228 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- columnlistheader class
local newobject = loveframes.NewObject("columnlistheader", "loveframes_object_columnlistheader", t... | mit |
HeavensSword/darkstar | scripts/globals/items/plate_of_sea_spray_risotto.lua | 3 | 1371 | -----------------------------------------
-- ID: 4268
-- Item: plate_of_sea_spray_risotto
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 45
-- Dexterity 6
-- Agility 3
-- Mind -4
-- HP Recovered While Healing 1
-- Accuracy % 6 (cap 20)
-----------------------------------------
require("... | gpl-3.0 |
shahifaqeer/my-luci-bismark-0.11 | applications/luci-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua | 70 | 1672 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
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
]]--
m... | apache-2.0 |
peymankhanas8487/Horror_Avatar | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
devlaith/DEVLAITH-HL | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
HeavensSword/darkstar | scripts/zones/Windurst_Walls/npcs/_6n2.lua | 5 | 5404 | -----------------------------------
-- Area: Windurst Walls
-- Door: House of the Hero
-- Involved in Mission 2-1
-- Involved In Quest: Know One's Onions, Onion Rings, The Puppet Master, Class Reunion
-- !pos -26 -13 260 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = ni... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/spells/katon_san.lua | 7 | 1441 | -----------------------------------------
-- Spell: Katon: San
-- Deals fire damage to an enemy and lowers its resistance against water.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
gwx/tome-grayswandir-illusion | data/autoloads/objects/boss-artifacts.lua | 1 | 1352 | -- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful... | gpl-3.0 |
dkorolev/tarantool | test/box/net.box.test.lua | 1 | 10435 | remote = require 'net.box'
fiber = require 'fiber'
log = require 'log'
msgpack = require 'msgpack'
LISTEN = require('uri').parse(box.cfg.listen)
space = box.schema.space.create('net_box_test_space')
index = space:create_index('primary', { type = 'tree' })
-- low level connection
log.info("create connection")
cn = rem... | bsd-2-clause |
haolly/slua_source_note | build/luajit-2.1.0-beta3/src/jit/bcsave.lua | 40 | 18344 | ----------------------------------------------------------------------------
-- LuaJIT module to save/list bytecode.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
ii02ii/Saqt_Pro | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
HeavensSword/darkstar | scripts/globals/items/serving_of_cilbir.lua | 3 | 1224 | -----------------------------------------
-- ID: 5642
-- Item: serving_of_cilbir
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 5 (cap 150)
-- MP % 5 (cap 100)
-- HP recovered while healing 3
-- MP recovered while healing 3
-----------------------------------------
require("scripts/gl... | gpl-3.0 |
zero-ui/miniblink49 | third_party/skia/tools/lua/classify_rrect_clips.lua | 160 | 3346 |
function sk_scrape_startcanvas(c, fileName) end
function sk_scrape_endcanvas(c, fileName) end
function classify_rrect(rrect)
if (rrect:type() == "simple") then
local x, y = rrect:radii(0)
if (x == y) then
return "simple_circle"
else
return "simple_oval"
end... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Northern_San_dOria/npcs/Calovour.lua | 5 | 1120 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Calovour
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/globals/... | gpl-3.0 |
wsmith323/hammerspoon | extensions/eventtap/init.lua | 11 | 7447 | --- === hs.eventtap ===
---
--- Tap into input events (mouse, keyboard, trackpad) for observation and possibly overriding them
--- It also provides convenience wrappers for sending mouse and keyboard events. If you need to construct finely controlled mouse/keyboard events, see hs.eventtap.event
---
--- This module is b... | mit |
mosy210/fast-spam | plugins/banhammer.lua | 175 | 5896 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
nologic/chaoticmarch | lua/post_all-click_around.lua | 1 | 1384 | -- let's click some buttons around the screen.
tStringCount = 0
function fill_all_fields()
local fields = findOfTypes("UITextField", "")
for index, field in pairs(fields) do
-- click it to grab focus.
click_button(field)
usleep(500000)
inputText("Test_string" .. tStringCount)
tStringCoun... | apache-2.0 |
zero-ui/miniblink49 | third_party/skia/tools/lua/dump_clipstack_at_restore.lua | 147 | 1096 | function sk_scrape_startcanvas(c, fileName)
canvas = c
clipstack = {}
restoreCount = 0
end
function sk_scrape_endcanvas(c, fileName)
canvas = nil
end
function sk_scrape_accumulate(t)
if (t.verb == "restore") then
restoreCount = restoreCount + 1;
-- io.write("Clip Stack at restore #... | gpl-3.0 |
DaemonEleuel/avorionpack | data/scripts/entity/ui/complexManager/tradingTab.lua | 1 | 22093 | package.path = package.path .. ";data/scripts/lib/?.lua"
require ("utility")
CFSCRIPT = "data/scripts/entity/merchants/complexFactory.lua"
VERSION = "[0.88] "
MOD = "[CPX3]"
DEBUGLEVEL = 2
--complex Good-Management Menu
--Top
local soldGoodsListbox, intermediateGoodsListbox, boughtGoodsListbox
local soldGoodsListbox... | mit |
HeavensSword/darkstar | scripts/zones/Windurst_Waters/npcs/Funpo-Shipo.lua | 5 | 1118 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Funpo-Shipo
-- Type: Standard NPC
-- !pos -44.091 -4.499 41.728 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
brunovalads/smw-stuff | SMW-Utils-Script-Snes9x.lua | 1 | 39328 | --[[
Super Mario World (U) Utility Script for Snes9x
https://code.google.com/p/snes9x-rr/
Edited by BrunoValads, checked in snes9x-rr 1.51 v7
http://github.com/brunovalads/smw-stuff
Original script by gocha (with Mr.'s contribution),
checked using snes9x-rr 1.43 v17 svn
=== Cheat Keys ===
Level:
up+sele... | mit |
shahifaqeer/my-luci-bismark-0.11 | modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua | 8 | 5137 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 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: wifi_add... | apache-2.0 |
gwx/tome-grayswandir-illusion | overload/data/gfx/particles/amnesia_pulse.lua | 1 | 1421 | -- Gray's Illusions, for Tales of Maj'Eyal.
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Mount_Zhayolm/Zone.lua | 6 | 1037 | -----------------------------------
--
-- Zone: Mount_Zhayolm (61)
--
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
require("scripts/zones/Mount_Zhayolm/MobIDs");
require("scripts/globa... | gpl-3.0 |
mukunda-/Delleren | status.lua | 1 | 19726 | -------------------------------------------------------------------------------
-- DELLEREN
-- (C) 2015 Mukunda Johnson (mukunda@mukunda.com)
-- See LICENSE-DELLEREN.TXT
-------------------------------------------------------------------------------
local Delleren = DellerenAddon
local PLAYER_TIMEOUT_LENGTH = 60
loc... | mit |
devlaith/DEVLAITH-HL | plugins/shrfaa.lua | 3 | 8139 | local function run(msg, matches)
if #matches < 2 then
return "بعد هذا الأمر، من خلال تحديد كلمة المسافة أو العبارة التي تريد إدخال الكتابة الجميلة"
end
if string.len(matches[2]) > 44 then
return "الحد الأقصى المسموح به 40 حرفاالأحرف الإنجليزية والأرقام"
end
local font_base = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,... | gpl-2.0 |
pd2-linux/tina | feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk.lua | 80 | 5333 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
DennisWG/CastModifier | Extensions/Mouseover/PerfectRaid.lua | 1 | 4186 | --[[
Author: Dennis Werner Garske (DWG)
License: MIT License
]]
local _G = _G or getfenv(0)
local Roids = _G.Roids or {}
Roids.Hooks = Roids.Hooks or {};
Roids.mouseoverUnit = Roids.mouseoverUnit or nil;
local Extension = Roids.RegisterExtension("PerfectRaid");
Extension.RegisterEvent("ADDON_LOADED", "OnLoad");
fu... | mit |
HeavensSword/darkstar | scripts/zones/Arrapago_Reef/npcs/Cutter.lua | 4 | 2414 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Cutter
-- The ship for The Black Coffin Battle (TOAU-15)
-- !pos -462 -2 -394 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/T... | gpl-3.0 |
404rq/GTW-RPG | [misc]/freecam/freecam_server.lua | 2 | 1497 | function setPlayerFreecamEnabled(player, x, y, z, itemAttached)
return triggerClientEvent(player,"doSetFreecamEnabled", getRootElement(), x, y, z, itemAttached)
end
function setPlayerFreecamDisabled(player, dontChangeFixedMode)
return triggerClientEvent(player,"doSetFreecamDisabled", getRootElement(), dontChangeFixe... | bsd-2-clause |
HeavensSword/darkstar | scripts/zones/Yughott_Grotto/npcs/Treasure_Chest.lua | 5 | 2582 | -----------------------------------
-- Area: Yughott Grotto
-- NPC: Treasure Chest
-- !zone 142
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("script... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/harvesting.lua | 18 | 5916 | -------------------------------------------------
-- Harvesting functions
-- Info from:
-- http://wiki.ffxiclopedia.org/wiki/Harvesting
-------------------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
----------------... | gpl-3.0 |
shahifaqeer/my-luci-bismark-0.11 | applications/luci-asterisk/luasrc/model/cbi/asterisk/dialplans.lua | 11 | 2853 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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: dialplan... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Mine_Shaft_2716/npcs/_0d0.lua | 5 | 2023 | -----------------------------------
-- Area: Mine_Shaft_2716
-- NPC: Shaft entrance
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missio... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Palborough_Mines/npcs/Mythril_Seam.lua | 5 | 1956 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Mythril Seam
-- Involved In Mission: Journey Abroad
-- Involved in quest: Rock Racketeer
-- @zone 143
-- !pos -68 -7 173 // Rock Racketeer !pos 210 -32 -63
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"... | gpl-3.0 |
shahifaqeer/my-luci-bismark-0.11 | protocols/3g/luasrc/model/cbi/admin_network/proto_3g.lua | 74 | 4349 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 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 ma... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_545.lua | 4 | 1245 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Notes: Involved in Missions: THREE_PATHS
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("... | gpl-3.0 |
captain-mayhem/captainsengine | heroquest/HQServer/scripts/events.lua | 2 | 2497 | attacktable = {n = 0;}
hittable = {n = 0;}
turntable = {n = 0;}
movetable = {n = 0;}
starttable = {n = 0;}
function attacking(x, y)
local name = getCreatureProperty(x, y, "name");
local plyr = getCreatureProperty(x, y, "player");
local size = table.getn(attacktable);
if size < 1 then
return
end
for i=s... | lgpl-2.1 |
lhsazevedo/LIKO-12 | OS/DiskOS/Programs/paint.lua | 1 | 6695 | --Paint Program--
if false then color(8) print("Work in progress ....") return end
local args = {...}
if #args < 1 or args[1] == "-?" then
printUsage("paint <filename>", "Creates or edits an existing image.")
return
end
local tar = table.concat(args," ") --The path may include whitespaces
if tar:sub(-5,-1) ~= ".l... | mit |
HeavensSword/darkstar | scripts/globals/items/roll_of_buche_au_chocolat.lua | 3 | 1228 | -----------------------------------------
-- 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 |
HeavensSword/darkstar | scripts/zones/Upper_Delkfutts_Tower/Zone.lua | 7 | 1843 | -----------------------------------
--
-- Zone: Upper_Delkfutts_Tower (158)
--
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Delkfutts_Tower/TextIDs");
require("scripts/zones/Upper_Delkfutts_Tower... | gpl-3.0 |
mahdib9/99 | plugins/info.lua | 14 | 9494 | --[[
#
# Show users information in groups
#
# author: Amir < @AmirDark >
# our channel: @DarkTeam
# Version: 2016-04-02
#
# Features added:
# -- setrank on reply
# -- get users info with their IDs and @username
#
]]
do
local Arian = 119626024 --put your id here(BOT OWNER ID)
local function setrank(msg, name, value)... | gpl-2.0 |
shahifaqeer/my-luci-bismark-0.11 | applications/luci-statistics/luasrc/model/cbi/luci_statistics/ping.lua | 11 | 1439 | --[[
Luci configuration model for statistics - collectd ping plugin 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 ... | apache-2.0 |
ZhouYzzz/cqui | URS/ReportScreen.lua | 3 | 80392 | -- ===========================================================================
-- ReportScreen
-- All the data
--
-- ===========================================================================
include("CitySupport");
include("Civ6Common");
include("InstanceManager");
include("SupportFunctions");
include("TabSupport");
... | mit |
jcadduono/kali-nethunter | nethunter-installer/update/system/bin/lualibs/htmlskel.lua | 17 | 9801 | local skel_1 = [[
<html>
<head>
<script>
var dictionary = {}
function add(commaSeparated)
{
var fields = commaSeparated.split(",");
var manufacturerCode = fields[0];
var modelCode = fields[1];
var modelSubCode= fields[2];
var modelName = fields[3];
var ATQA = fields[4];
var SAK = fi... | gpl-2.0 |
HeavensSword/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Kunai.lua | 7 | 1140 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Kunai
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
function onMobEngaged(mob,target)
if (mob:AnimationSub() == 3) then
... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Mhaura/npcs/Willah_Maratahya.lua | 5 | 3458 | -----------------------------------
-- Area: Mhaura
-- NPC: Willah Maratahya
-- Title Change NPC
-- !pos 23 -8 63 249
-----------------------------------
require("scripts/globals/titles");
local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_3.lua | 5 | 3161 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Ark Angels 3 (Mithra)
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/missio... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Spire_of_Vahzl/npcs/_0n3.lua | 66 | 1356 | -----------------------------------
-- Area: Spire_of_vahlz
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Vahzl/TextIDs");
-------------------... | gpl-3.0 |
qwook/dpsht | core/input.lua | 1 | 7449 |
require("libs.json")
bit = require("bit")
Input = class("Input")
-- This will be checked when keyBindings are loaded in from config.JSON.
-- keyBoardLayout = "arcade" -- todo: figure a way out to load config stuff
keyBoardLayout = "qwerty"
timeToPause = 1000000
timeToReset = 1000000
afkTimer = 0 -- don't touch this... | mit |
HeavensSword/darkstar | scripts/zones/Port_Jeuno/npcs/Imasuke.lua | 3 | 2917 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Imasuke
-- Starts and Finishes Quest: The Antique Collector
-- !pos -165 11 94 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
zero-ui/miniblink49 | third_party/skia/resources/slides_utils.lua | 78 | 2513 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | gpl-3.0 |
HeavensSword/darkstar | scripts/globals/spells/learned_etude.lua | 5 | 1812 | -----------------------------------------
-- Spell: Learned Etude
-- Static INT Boost, BRD 26
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,targ... | gpl-3.0 |
kirbyfan64/pygments-unofficial | tests/examplefiles/example.lua | 102 | 8677 | --[[
Auctioneer Advanced
Version: <%version%> (<%codename%>)
Revision: $Id: CoreMain.lua 2233 2007-09-25 03:57:33Z norganna $
URL: http://auctioneeraddon.com/
This is an addon for World of Warcraft that adds statistical history to the auction data that is collected
when the auction is scanned, so that you can ea... | bsd-2-clause |
HeavensSword/darkstar | scripts/zones/Northern_San_dOria/npcs/Telmoda.lua | 5 | 1331 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Telmoda
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/globals/s... | gpl-3.0 |
xtao/ntopng | scripts/lua/hosts_matrix.lua | 2 | 3538 | --
-- (C) 2013-14 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
sendHTTPHeader('text/html; charset=iso-8859-1')
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
active_page = "hosts"
dofile(dirs.installdir .. "/sc... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Heavens_Tower/npcs/Rakano-Marukano.lua | 5 | 1939 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Rakano-Marukano
-- Type: Immigration NPC
-- !pos 6.174 -1 32.285 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
-------------... | gpl-3.0 |
shahifaqeer/my-luci-bismark-0.11 | modules/niu/luasrc/controller/niu/network.lua | 49 | 1175 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.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$
]]--
modul... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Apollyon/mobs/Carnagechief_Jackbodokk.lua | 5 | 2095 | -----------------------------------
-- Area: Apollyon CS
-- MOB: Carnagechief_Jackbodokk
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/limbus");
------------------------... | gpl-3.0 |
ariasezar/smart | plugins/fun.lua | 1 | 14055 |
--------------------------------
local function run_bash(str)
local cmd = io.popen(str)
local result = cmd:read('*all')
return result
end
--------------------------------
local api_key = nil
local base_api = "https://maps.googleapis.com/maps/api"
--------------------------------
local function get_latlong... | gpl-3.0 |
dlannan/webdruino | deps/luasys-master/test/test_sys.lua | 1 | 2613 | #!/usr/bin/env lua
local io = require("io")
local sys = require("sys")
local sock = require("sys.sock")
print"-- file:isatty()"
do
local f = assert(sys.handle():open("."))
assert(not f:isatty())
assert(sys.stdin:isatty())
print("OK")
end
print"-- sys.handle <-> io.file"
do
local file = assert(io.open("te... | mit |
Wedmer/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua | 17 | 3220 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local wa = require "luci.tools.webadmin"
local fs = require "nixio.fs"
m = Map("network",
translate("Routes"),
translate("Routes specify over which interface and gateway a certain host or network " ..
"can ... | apache-2.0 |
HeavensSword/darkstar | scripts/zones/Nyzul_Isle/instances/nashmeira's_plea.lua | 7 | 1942 | -----------------------------------
--
-- TOAU-42: Path of Darkness
--
-----------------------------------
require("scripts/globals/instance")
require("scripts/globals/keyitems");
require("scripts/zones/Nyzul_Isle/IDs");
-----------------------------------
function afterInstanceRegister(player)
local instance = pl... | gpl-3.0 |
o-lim/busted | busted/done.lua | 15 | 2989 | local M = {}
-- adds tokens to the current wait list, does not change order/unordered
M.wait = function(self, ...)
local tlist = { ... }
for _, token in ipairs(tlist) do
if type(token) ~= 'string' then
error('Wait tokens must be strings. Got '..type(token), 2)
end
table.insert(self.tokens, token... | mit |
Max-pbot/Maxbot | plugins/invite.lua | 1 | 1298 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User ['..user_id..' ]usere morede nazar ban shode ast!.')
... | gpl-2.0 |
HeavensSword/darkstar | scripts/zones/Bastok_Mines/npcs/Eulaphe.lua | 3 | 1633 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Eulaphe
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/chocobo");
require("scripts/globals/status");
-----------------------------------
fun... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua | 3 | 2051 | -----------------------------------
-- Area: Empyreal Paradox
-- MOB: Promathia (phase 2)
-----------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Empyreal_Paradox/TextIDs");
require("scripts/globals/status");
require... | gpl-3.0 |
HeavensSword/darkstar | scripts/zones/Port_San_dOria/npcs/Miene.lua | 5 | 2596 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Miene
-- NPC for Quest "The Pickpocket"
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/np... | gpl-3.0 |
cogwerkz/gUI4 | gUI4_UnitFrames/units/pettarget.lua | 1 | 8623 | local addon,ns = ...
local gUI4 = GP_LibStub("GP_AceAddon-3.0"):GetAddon("gUI4", true)
if not gUI4 then return end
local oUF = gUI4.oUF
if not oUF then return end
local parent = gUI4:GetModule("gUI4_UnitFrames")
if not parent then return end
local module = parent:NewModule("PetTarget", "GP_AceEvent-3.0"... | mit |
cogwerkz/gUI4 | gUI4_UnitFrames/units/altpowerbar.lua | 1 | 2335 | local addon,ns = ...
local gUI4 = GP_LibStub("GP_AceAddon-3.0"):GetAddon("gUI4", true)
if not gUI4 then return end
local oUF = gUI4.oUF
if not oUF then return end
local parent = gUI4:GetModule("gUI4_UnitFrames")
if not parent then return end
local module = parent:NewModule("AltPowerBar", "GP_AceEvent-3.... | mit |
devlaith/DEVLAITH-HL | libs/feedparser.lua | 543 | 11955 | local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./libs/XMLElement.lua")()
local dateparser = (loadfile "./libs/dateparser.lua")()
local URL = (loadfile "./libs/url.lua")()
local tinsert, tremove, tconcat = table.insert... | gpl-2.0 |
CestusMagnus/go-qt5 | make/ui/painter.lua | 4 | 2529 | module("painter")
name = "Painter"
base = "object"
unmap = true
funcs = [[
+ Init()
+ InitWithImage(image *Image)
- Close()
InitFrom(w IWidget)
Begin(w IWidget)
End()
@ SetFont(font *Font)
@ Font() (font *Font)
@ SetPen(pen *Pen)
@ Pen() (pen *Pen)
@ SetBrush(brush *Brush)
@ Brush() (brush *Brush)
DrawPoint(pt Point)... | bsd-2-clause |
docker/dockercraft | Docker/docker.lua | 1 | 9566 | ----------------------------------------
-- GLOBALS
----------------------------------------
-- queue containing the updates that need to be applied to the minecraft world
UpdateQueue = nil
-- array of container objects
Containers = {}
--
SignsToUpdate = {}
-- as a lua array cannot contain nil values, we store referen... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.