repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
kepler155c/opus-apps | builder/apis/schematic.lua | 1 | 28925 | local class = require('opus.class')
local Util = require('opus.util')
local DEFLATE = require('builder.deflatelua')
local Point = require('opus.point')
local bit = _G.bit
local fs = _G.fs
local os = _G.os
local term = _G.term
local function getHeadingInfo(heading)
return Point.headings[heading]
e... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Temple_of_Uggalepih/npcs/_4fv.lua | 17 | 1653 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- Involved in Missions: San dOria Mission 8-2
-- @pos -50 -17 -154
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hadahda.lua | 37 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hadahda
-- Type: Standard NPC
-- @pos -112.029 -6.999 -66.114 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_W... | gpl-3.0 |
Gwynthell/FFDB | 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 |
maz-1/openwrt-extra | lang/lua/lua-xmlrpc/files/http.lua | 5 | 1482 | ---------------------------------------------------------------------
-- XML-RPC over HTTP.
-- See Copyright Notice in license.html
---------------------------------------------------------------------
local error, tonumber, tostring, unpack = error, tonumber, tostring, unpack
local ltn12 = require"ltn12"
local req... | gpl-2.0 |
Gwynthell/FFDB | scripts/zones/Yahse_Hunting_Grounds/Zone.lua | 3 | 1086 | -----------------------------------
--
-- Zone: Yahse Hunting Grounds
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Yahse_Hunting_Grounds/TextIDs"] = nil;
require("scripts/zones/Yahse_Hunting_Grounds/TextIDs");
-----------------------------------
-- onIni... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Bibiki_Bay/mobs/Shen.lua | 6 | 1252 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Shen
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
-----------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Sealions_Den/Zone.lua | 15 | 2028 | -----------------------------------
--
-- Zone: Sealions_Den (32)
--
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Sealions_Den/TextIDs");
----------------------... | gpl-3.0 |
knu/hammerspoon | extensions/_coresetup/init.lua | 2 | 22778 | --- === hs ===
---
--- Core Hammerspoon functionality
return {setup=function(...)
local modpath, prettypath, fullpath, configdir, docstringspath, hasinitfile, autoload_extensions = ...
local tostring,pack,tconcat,sformat=tostring,table.pack,table.concat,string.format
local crashLog = require("hs.crash").crashLog... | mit |
farid79n/AdvanSource | plugins/anti_spam.lua | 21 | 5144 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Save... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Southern_San_dOria/npcs/Hae_Jakhya.lua | 19 | 1856 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Hae Jakhya
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/que... | gpl-3.0 |
msafin/luci | libs/nixio/docsrc/nixio.lua | 151 | 15824 | --- General POSIX IO library.
module "nixio"
--- Look up a hostname and service via DNS.
-- @class function
-- @name nixio.getaddrinfo
-- @param host hostname to lookup (optional)
-- @param family address family [<strong>"any"</strong>, "inet", "inet6"]
-- @param service service name or port (optional)
-- @return ... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/mobskills/Gates_of_Hades.lua | 5 | 1261 | ---------------------------------------------
-- Gates of Hades
--
-- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn
-- Type: Magical
--
--
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' radial
-- Notes: Only used when a cerberus's health is 25%... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Kazham/npcs/Ghemi_Sinterilo.lua | 37 | 1391 | -----------------------------------
-- Area: Kazham
-- NPC: Ghemi Senterilo
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Castle_Oztroja/npcs/_m75.lua | 17 | 2229 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m75 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- @pos -139.643 -72.113 -62.682 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
maz-1/openwrt-extra | luci/protocol/luci-n2n/luasrc/model/cbi/admin_network/proto_n2n.lua | 2 | 3772 | local map, section, net = ...
local ifc = net:get_interface()
local cfgcmd = "var Macaddr=document.getElementById(this.parentNode.parentNode.parentNode.id.replace('cbi', 'cbid').replace(/-/g, '.'));" ..
"function randomString(len,type){len=len||32;type=type||0;" ..
"var $chars='';" ..
"switch(type){case 1:$chars='1357... | gpl-2.0 |
Gwynthell/FFDB | scripts/globals/items/himesama_rice_ball.lua | 3 | 1693 | -----------------------------------------
-- ID: 5928
-- Item: Himesama Rice Ball
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- HP 25
-- Dexterity 4
-- Vitality 4
-- Character 4
-- Effect with enhancing equipment
-- Attack +60
-- Defense +40
-- Triple Attack 1
-------------------------... | gpl-3.0 |
BurmistrovJ/prosody-modules | mod_firewall/conditions.lib.lua | 31 | 6103 | local condition_handlers = {};
local jid = require "util.jid";
-- Return a code string for a condition that checks whether the contents
-- of variable with the name 'name' matches any of the values in the
-- comma/space/pipe delimited list 'values'.
local function compile_comparison_list(name, values)
local conditio... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Bastok/npcs/Bodaway.lua | 12 | 1429 | -----------------------------------
-- Area: Port Bastok
-- NPC: Bodaway
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
-----------------------------------
-- onTrade Action
----------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ryo.lua | 7 | 1173 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ryo
-- Type: ZNM
-- @pos -127.086 0.999 22.693 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/besieged");
require("scripts/... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Temenos/mobs/Temenos_Aern.lua | 2 | 2277 | -----------------------------------
-- Area: Temenos
-- NPC: Temenos_Aern
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- o... | gpl-3.0 |
czanyou/node.lua | core/tests/uv/test-lutils.lua | 1 | 2150 | local lutils = require('lutils')
local assert = require('assert')
local fs = require('fs')
local thread = require('thread')
local tap = require('util/tap')
local test = tap.test
test('lutils.hex_encode', function()
local data = "888888"
local hash = lutils.hex_encode(data)
assert.equal(hash, '383838383838... | apache-2.0 |
ASMlover/study | lua/lispbind/test/test_linux.lua | 1 | 1497 | -- Copyright (c) 2013 ASMlover. All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions
-- are met:
--
-- * Redistributions of source code must retain the above copyright
-- notice, this list ofconditions and... | bsd-2-clause |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Spire_of_Vahzl/Zone.lua | 17 | 1579 | -----------------------------------
--
-- Zone: Spire_of_Vahzl (23)
--
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Spire_of_Vahzl/TextIDs");
require("scripts/g... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Metalworks/npcs/Hungry_Wolf.lua | 19 | 2040 | -----------------------------------
-- Area: Metalworks
-- NPC: Hungry Wolf
-- Type: Quest Giver
-- @pos -25.861 -11 -30.172 237
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-- Updated for "Smoke on the Mountain" by EccentricAnata 03.22.13
-----------------------------------
package.loaded["scri... | gpl-3.0 |
msafin/luci | modules/admin-full/luasrc/model/cbi/admin_system/leds.lua | 83 | 3272 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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$
]]--
m = ... | apache-2.0 |
Gwynthell/FFDB | scripts/zones/Garlaige_Citadel/npcs/_5k0.lua | 2 | 1313 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Banishing Gate #1
-- @pos -201.000 -2.994 220 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Garlaige_Citadel/TextIDs");
----------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/leg_sweep.lua | 6 | 1405 | -----------------------------------
-- Leg Sweep
-- Polearm weapon skill
-- Skill Level: 100
-- Stuns enemy. Chance of stunning varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP 3... | gpl-3.0 |
jdhk94/DarkRP | gamemode/modules/hitmenu/cl_menu.lua | 2 | 7234 | local PANEL
--[[---------------------------------------------------------------------------
Hitman menu
---------------------------------------------------------------------------]]
PANEL = {}
AccessorFunc(PANEL, "hitman", "Hitman")
AccessorFunc(PANEL, "target", "Target")
AccessorFunc(PANEL, "selected", "Selected")
... | mit |
Gwynthell/FFDB | scripts/zones/Apollyon/mobs/Ice_Elemental.lua | 14 | 2337 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
prefanatic/exsto | lua/exsto/plugins/server/ghost-command.lua | 1 | 2655 | --Exsto Ghost Plugin
local PLUGIN = exsto.CreatePlugin()
PLUGIN:SetInfo({
Name = "Ghost player Plugin",
ID = "ghost",
Desc = "A plugin that hides people.",
Owner = "Hobo",
})
--Hook for checking weapon switches and colouring accordingly.
function PLUGIN:Think()
for _, ply in ipairs(player.GetAll()) do
if ply... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Port_San_dOria/npcs/Pomilla.lua | 17 | 1693 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Pomilla
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -38 -4 -55 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
sammyt291/wire | lua/entities/gmod_wire_colorer.lua | 5 | 5600 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Colorer"
ENT.RenderGroup = RENDERGROUP_BOTH
ENT.WireDebugName = "Colorer"
function ENT:SetupDataTables()
self:NetworkVar( "Float", 0, "BeamLength" )
end
if CLIENT then
local color_box_size = 64
function ENT:GetWorldTipBodySize()
... | apache-2.0 |
minoki/cluttex | src/texrunner/shellutil_windows.lua | 1 | 1370 | --[[
Copyright 2016,2019 ARATA Mizuki
This file is part of ClutTeX.
ClutTeX 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.
... | gpl-3.0 |
sevenbot/seven | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
maz-1/openwrt-extra | luci/applications/luci-rtorrent/luasrc/model/cbi/rtorrent/torrent/files.lua | 2 | 4329 | -- Copyright 2014-2016 Sandor Balazsi <sandor.balazsi@gmail.com>
-- Licensed to the public under the Apache License 2.0.
local rtorrent = require "rtorrent"
local nixio = require "nixio"
local common = require "luci.model.cbi.rtorrent.common"
local hash = arg[1]
local details = rtorrent.batchcall({"name", "base_path"... | gpl-2.0 |
knu/hammerspoon | extensions/httpserver/hsminweb.lua | 3 | 85598 |
--- === hs.httpserver.hsminweb ===
---
--- Minimalist Web Server for Hammerspoon
---
--- This module aims to be a minimal, but (mostly) standards-compliant web server for use within Hammerspoon. Expanding upon the Hammerspoon module, `hs.httpserver`, this module adds support for serving static pages stored at a speci... | mit |
blunty666/CC-Programs-and-APIs | turtle/enderLilyFarm.lua | 1 | 3265 | local ENDER_LILLY_PLANT_STRING = "ExtraUtilities:plant/ender_lilly"
local ENDER_LILLY_MATURE_METADATA = 7
local ENDER_CHEST_STRING = "EnderStorage:enderChest"
local ENDER_CHEST_EMPTY_COLOUR = {colours.black, colours.black, colours.black}
local ENDER_CHEST_REFUEL_COLOUR = {colours.grey, colours.grey, colours.grey}
loc... | mit |
focusworld/teletmamal | plugins/cpu.lua | 244 | 1893 | function run_sh(msg)
name = get_name(msg)
text = ''
-- if config.sh_enabled == false then
-- text = '!sh command is disabled'
-- else
-- if is_sudo(msg) then
-- bash = msg.text:sub(4,-1)
-- text = run_bash(bash)
-- else
-- text = name .. ' you... | gpl-2.0 |
Aftly1951/h4kurd | plugin/cpu.lua | 244 | 1893 | function run_sh(msg)
name = get_name(msg)
text = ''
-- if config.sh_enabled == false then
-- text = '!sh command is disabled'
-- else
-- if is_sudo(msg) then
-- bash = msg.text:sub(4,-1)
-- text = run_bash(bash)
-- else
-- text = name .. ' you... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/The_Eldieme_Necropolis/npcs/_5ff.lua | 34 | 1109 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 88 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextID... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | 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 |
Vivitarut/darkstar | scripts/globals/items/cherry_muffin.lua | 37 | 1344 | -----------------------------------------
-- ID: 5653
-- Item: Cherry Muffin
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Intelligence 1
-- Magic % 10
-- Magic Cap 80
-- Agility -1
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/bowl_of_goblin_stew.lua | 3 | 1388 | -----------------------------------------
-- ID: 4465
-- Item: bowl_of_goblin_stew
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Dexterity -4
-- Attack % 15.5
-- Ranged Attack % 15.5
-----------------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
DaTrollMon/xenia | third_party/capstone.lua | 10 | 1207 | group("third_party")
project("capstone")
uuid("b3a89f7e-bb02-4945-ae75-219caed6afa2")
kind("StaticLib")
language("C++")
links({
})
defines({
"CAPSTONE_X86_ATT_DISABLE",
"CAPSTONE_DIET_NO",
"CAPSTONE_X86_REDUCE_NO",
"CAPSTONE_HAS_X86",
"CAPSTONE_USE_SYS_DYN_MEM",
"_LIB",
})
includ... | bsd-3-clause |
A-N-bot/ali-nima | bot/sbssbot.lua | 1 | 13593 | 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 = '3'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
nagyistoce/cardpeek | dot_cardpeek_dir/scripts/calypso.lua | 16 | 9370 | --
-- This file is part of Cardpeek, the smartcard reader utility.
--
-- Copyright 2009-2013 by 'L1L1'
--
-- Cardpeek 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
-- (a... | gpl-3.0 |
szorfein/dotfiles | awesomewm/.config/awesome/util/separators.lua | 1 | 3047 | --[[
Licensed under GNU General Public License v2
* (c) 2015, Luca CPZ
* (c) 2015, plotnikovanton
--]]
local wibox = require("wibox")
local gears = require("gears")
-- Lain Cairo separators util submodule
-- lain.util.separators
local separators = { height = 0, width = 9 }
-- [[ Arrow
-- Right
fu... | mit |
masterkorp/Vicious | contrib/net.lua | 16 | 4539 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) 2009, Henning Glawe <glaweh@debian.org>
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com>
---------------------------------------------------
-- {{{ Grab en... | gpl-2.0 |
mandla99/the_king1 | plugins/onservice.lua | 1 | 1362 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY abo_shosho98 ▀▄ ▄▀
▀▄ ▄▀ BY Th3_BOOS (@abo_shosho98 ) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY abo_shosho98 ▀▄ ▄▀
▀▄ ▄▀ KICK BOT : طرد البوت ▀▄ ▄▀
▀▄... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | 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 |
Vivitarut/darkstar | scripts/zones/Temenos/mobs/Enhanced_Beetle.lua | 5 | 1048 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Beetle
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------------... | gpl-3.0 |
jdhk94/DarkRP | gamemode/modules/doorsystem/sv_interface.lua | 7 | 20694 | DarkRP.doorToEntIndex = DarkRP.stub{
name = "doorToEntIndex",
description = "Get an ENT index from a door index.",
parameters = {
{
name = "index",
description = "The door index",
type = "number",
optional = false
}
},
returns = {
... | mit |
Gwynthell/FFDB | scripts/globals/items/bird_egg.lua | 3 | 1083 | -----------------------------------------
-- ID: 4570
-- Item: Bird Egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 6
-- Magic 6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Horlais_Peak/bcnms/hostile_herbivores.lua | 6 | 1701 | -----------------------------------
-- Area: Horlias peak
-- Name: Hostile Herbivores
-- BCNM50
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXAM... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/plate_of_octopus_sushi.lua | 35 | 1302 | -----------------------------------------
-- ID: 5693
-- Item: plate_of_octopus_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-- Accuracy % 16
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/greedie.lua | 1 | 1201 | -----------------------------------------
-- ID: 4500
-- Item: greedie
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Coffer.lua | 12 | 4053 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Treasure Coffer
-- @zone 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
OldDragon2A/EmptyEpsilon | scripts/shipTemplates_Corvette.lua | 2 | 10187 | --[[ Corvette
Corvettes are the common large ships. Larger then a frigate, smaller then a dreadnaught.
They generally have 4 or more shield sections. Run with a crew of 20 to 250.
This class generally has jumpdrives or warpdrives. But lack the manouverbility that is seen in frigates.
They come in 3 di... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Behemoths_Dominion/mobs/King_Behemoth.lua | 23 | 1825 | -----------------------------------
-- Area: Behemoth's Dominion
-- HNM: King Behemoth
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
--------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Lufaise_Meadows/npcs/qm4.lua | 8 | 1349 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: ??? - spawns Splinterspine Grukjuk for quest "A Hard Day's Knight"
-- @pos -38.605 -9.022 -290.700 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
jdhk94/DarkRP | gamemode/modules/fspectate/sv_init.lua | 5 | 6407 | util.AddNetworkString("FSpectate")
util.AddNetworkString("FSpectateTarget")
local function findPlayer(info)
if not info or info == "" then return nil end
local pls = player.GetAll()
for k = 1, #pls do
local v = pls[k]
if tonumber(info) == v:UserID() then
return v
end
... | mit |
cryptotoad/prosody-modules | mod_checkcerts/mod_checkcerts.lua | 29 | 2809 | local ssl = require"ssl";
local datetime_parse = require"util.datetime".parse;
local load_cert = ssl.loadcertificate;
local st = require"util.stanza"
-- These are in days.
local nag_time = module:get_option_number("checkcerts_notify", 7) * 86400;
if not load_cert then
module:log("error", "This version of LuaSec (%s)... | mit |
Gwynthell/FFDB | scripts/zones/Arrapago_Reef/npcs/qm1.lua | 15 | 1170 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (Spawn Lil'Apkallu(ZNM T1))
-- @pos 488 -1 166 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
---------------... | gpl-3.0 |
bamdadsepehr/khar | plugins/ingroup.lua | 1 | 59498 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
maz-1/openwrt-extra | luci/applications/luci-cups/luasrc/model/cbi/cups.lua | 3 | 1038 | --[[
LuCI - Lua Configuration Interface
Copyright 2016 Weijie Gao <hackpascal@gmail.com>
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$
]]--
req... | gpl-2.0 |
A-N-bot/ali-nima | plugins/music.lua | 1 | 2345 | --[[
#
# Music Downloader
#
# @anonymou3nk
# @ch_anonymou3tg
#
#
]]
local function musiclink(msg, musicid)
local value = redis:hget('music:'..msg.to.id, musicid)
if not value then
return
else
value = value..'\n\n@ch_anonymou3tg'
return value
end
end
------------------ Seconds To Minutes alg ------------... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Port_Windurst/npcs/Drozga.lua | 51 | 1440 | -----------------------------------
-- Area: Port Windurst
-- NPC: Drozga
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Port_Windurst/TextIDs");
----... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/choco-ligar.lua | 3 | 1095 | -----------------------------------------
-- ID: 5919
-- Item: Choco-ligar
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Vitality 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/fish_chiefkabob.lua | 3 | 1418 | -----------------------------------------
-- ID: 4575
-- Item: fish_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind 1
-- Charisma 1
-- defense % 26
-- defense Cap 95
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/ComAttribute.lua | 7 | 2283 |
--------------------------------
-- @module ComAttribute
-- @extend Component
-- @parent_module ccs
--------------------------------
-- @function [parent=#ComAttribute] getFloat
-- @param self
-- @param #string str
-- @param #float float
-- @return float#float ret (return value: float)
---------------------... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Castle_Oztroja/mobs/Tzee_Xicu_the_Manifest.lua | 6 | 1232 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Tzee Xicu the Manifest
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Castle_Oztroja/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/bluemagic/mind_blast.lua | 7 | 2130 | -----------------------------------------
-- Spell: Mind Blast
-- Deals lightning damage to an enemy. Additional effect: Paralysis
-- Spell cost: 82 MP
-- Monster Type: Demons
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: MP+5 MND+1
-- Level: 73
-- Casting Time: 3 seconds
-- Recast... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Ordelles_Caves/npcs/Grounds_Tome.lua | 34 | 1140 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Northern_San_dOria/npcs/Madaline.lua | 36 | 1615 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Madaline
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/loach_gruel.lua | 35 | 1674 | -----------------------------------------
-- ID: 5670
-- Item: loach_soup
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Accuracy % 7
-- Accuracy Cap 30
-- HP % 7
-- HP Cap 30
-- Evasion 4
-- (Did Not Add Group Food Effect)
-------------... | gpl-3.0 |
kepler155c/opus-apps | miloApps/apps/enderchest.lua | 1 | 1305 | --[[
Send items to a players enderchest.
--]]
local Event = require('opus.event')
local Util = require('opus.util')
local device = _G.device
local fs = _G.fs
local os = _G.os
local turtle = _G.turtle
local STARTUP_FILE = 'usr/autorun/enderchest.lua'
local enderChest = device.manipulator and
device.manip... | mit |
Gwynthell/FFDB | scripts/zones/Mhaura/npcs/HomePoint#1.lua | 1 | 1232 | -----------------------------------
-- Area: Mhaura
-- NPC: HomePoint#1
-- @pos -12.750 -15.791 87.286 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mhaura/TextIDs");
------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Bhaflau_Thickets/npcs/Kamih_Mapokhalam.lua | 4 | 1720 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Kamih Mapokhalam
-- 20 -30 597 z 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Bhaflau_Thickets... | gpl-3.0 |
alexsong93/openwhisk-apigateway | scripts/lua/oauth/app-id.lua | 1 | 2466 | --
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may ... | apache-2.0 |
shkan/DB | plugins/time.lua | 120 | 2804 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
Gwynthell/FFDB | scripts/zones/Southern_San_dOria/npcs/Balasiel.lua | 4 | 5869 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Balasiel
-- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test
-- @zone 230
-- @pos -136 -11 64
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Castle_Zvahl_Keep/npcs/HomePoint#1.lua | 3 | 1722 | -----------------------------------
-- Area: Castle_Zvahl_Keep
-- NPC: HomePoint#1
-- @pos -554 -70 66 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castl... | gpl-3.0 |
jozeff3/smart_devil | plugins/textphoto.lua | 7 | 1175 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# Developer : Aziz < @TH3_GHOST >
# our channel: @DevPointTeam
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
do... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Bostaunieux_Oubliette/Zone.lua | 2 | 1662 | -----------------------------------
--
-- Zone: Bostaunieux_Oubliette (167)
--
-----------------------------------
package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bostaunieux_Oubliette/TextIDs"... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/tests/lua-tests/src/AssetsManagerTest/AssetsManagerTest.lua | 5 | 4588 | local targetPlatform = cc.Application:getInstance():getTargetPlatform()
local lineSpace = 40
local itemTagBasic = 1000
local menuItemNames =
{
"enter",
"reset",
"update",
}
local winSize = cc.Director:getInstance():getWinSize()
local function updateLayer()
local layer = cc.Layer:create()
local s... | apache-2.0 |
Gwynthell/FFDB | scripts/zones/West_Ronfaure/npcs/qm1.lua | 4 | 1441 | -----------------------------------
-- Area: West Ronfaure
-- NPC: qm1 (???)
-- Involved in Quest: The Dismayed Customer
-- @pos -453 -20 -230 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/army_biscuit.lua | 35 | 1254 | -----------------------------------------
-- ID: 5657
-- Item: army_biscuit
-- Food Effect: 5Min?, All Races
-----------------------------------------
-- HP Recovered While Healing 3
-- MP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Waters/npcs/Fuepepe.lua | 4 | 3559 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Fuepepe
-- Starts and Finishes Quest: Teacher's Pet
-- Involved in Quest: Making the grade, Class Reunion
-- @zone = 238
-- @pos = 161 -2 161
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Misareaux_Coast/npcs/_0p2.lua | 5 | 1873 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Dilapidated Gate
-- Entrance to Riverne Site #B01
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("script... | gpl-3.0 |
knu/hammerspoon | extensions/alert/init.lua | 3 | 11509 | local module = {}
--- === hs.alert ===
---
--- Simple on-screen alerts
local drawing = require("hs.drawing")
local timer = require("hs.timer")
local screen = require("hs.screen")
local uuid = require"hs.host".uuid
local stext = require"hs.styledtext".new
local stextMT = hs.getObjectMetatable("hs.styledtext")... | mit |
msafin/luci | libs/core/luasrc/ltn12.lua | 83 | 11303 | --[[
LuaSocket 2.0.2 license
Copyright � 2004-2007 Diego Nehab
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, me... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Al_Zahbi/Zone.lua | 28 | 1323 | -----------------------------------
--
-- Zone: Al_Zahbi (48)
--
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Al_Zahbi/TextIDs");
----------------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Altar_Room/npcs/Hooknox.lua | 38 | 1033 | -----------------------------------
-- Area: Altar Room
-- NPC: Hooknox
-- Type: Standard NPC
-- @zone: 152
-- @pos -265.248 11.693 -102.547
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
----------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/mobskills/Floodlight.lua | 8 | 1225 | ---------------------------------------------------
-- Floodlight
--
-- Description: ~300 magic damage, Flash, Blind and Silence, ignores Utsusemi
-- Type: Magical
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/g... | gpl-3.0 |
JoseJimeniz/BankItems | localization-itIT.lua | 1 | 7253 | -- BankItems itIT Locale File
-- THE CONTENTS OF THIS FILE IS AUTO-GENERATED BY THE WOWACE PACKAGER
-- Please use the Localization App on WoWAce to update this
-- at http://www.wowace.com/projects/bank-items/localization/
if GetLocale() ~= "itIT" then return end
local L = BANKITEMS_LOCALIZATION
-- L["All players' dat... | unlicense |
Reza1377/Reza | bot/utils.lua | 646 | 23489 | 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 |
CCAAHH/best | bot/utils.lua | 646 | 23489 | 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 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/mobskills/Spirits_Within.lua | 7 | 1731 | ---------------------------------------------
-- Spirits Within
--
-- Description: Delivers an unavoidable attack. Damage varies with HP and TP.
-- Type: Magical/Breath
-- Ignores shadows and most damage reduction.
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Lower_Jeuno/npcs/Panta-Putta.lua | 2 | 3958 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Panta-Putta
-- Starts and Finishes Quest: The Wonder Magic Set, The kind cardian
-- Involved in Quests: The Lost Cardian
-- @zone 245
-- @pos -61 0 -140
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
packag... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.