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 |
|---|---|---|---|---|---|
SorBlackPlus/AntiSpam | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
GENRALVS/GENRAL-VS | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
lbthomsen/openwrt-luci | applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua | 79 | 1554 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("coovachilli")
-- radius server
s1 = m:section(TypedSection, "radius")
s1.anonymous = true
s1:option( Value, "radiusserver1" )
s1:option( Value, "rad... | apache-2.0 |
ricker75/Global-Server | data/npc/scripts/Ottokar.lua | 1 | 1732 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, ms... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/West_Sarutabaruta/npcs/Roshina-Kuleshuna_WW.lua | 30 | 3078 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Roshina-Kuleshuna, W.W.
-- Type: Outpost Conquest Guards
-- @pos -11.322 -13.459 317.696 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Northern_San_dOria/TextIDs.lua | 7 | 8664 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6587; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6592; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>
GIL_OBTAINED = 65... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Cloister_of_Tremors/bcnms/trial_by_earth.lua | 9 | 1510 | -----------------------------------
-- Area: Cloister of Tremors
-- BCNM: Trial by Earth
-----------------------------------
local ID = require("scripts/zones/Cloister_of_Tremors/IDs")
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/quests")
require("scripts/globals/t... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/drain.lua | 21 | 1716 | -----------------------------------------
-- Spell: Drain
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------------
-- OnSpellCast
--------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/blackened_newt.lua | 12 | 1568 | -----------------------------------------
-- ID: 4581
-- Item: Blackened Newt
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Attack % 18
-- Attack Cap 60
-- Virus Resist 4
-- Curse Resist 4
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Behemoths_Dominion/mobs/Behemoth.lua | 12 | 1907 | -----------------------------------
-- Area: Behemoth's Dominion
-- HNM: Behemoth
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
... | gpl-3.0 |
naclander/tome | game/modules/tome/data/gfx/particles/dark_lightning.lua | 3 | 2492 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/bluemagic/sickle_slash.lua | 8 | 1527 | -----------------------------------------
-- Spell: Sickle Slash
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 41 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+15
-- Level: 48
-- Casting Time: 0.5 seconds
-- Recast Time: 20.5 ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Southern_San_dOria/npcs/Foletta.lua | 17 | 1458 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Foletta
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/globals/... | gpl-3.0 |
shadog/mdo_th_boos | bot/seedbot.lua | 22 | 14096 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4w3.lua | 19 | 2691 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Mythril Beastcoin Door
-- @zone 176
-- @pos 40 8.6 20.012
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
dojoteef/lualol | src/lol/summoner.lua | 1 | 10457 | --- Allows for making queries against the League of Legends Summoner API
--
-- By first creating an api object and creating a new summoner object from it
-- you can then make queries against the League of Legends Summoner API.
--
-- @module lol.summoner
local api = require('lol.api')
local utils = require('pl.utils')
... | mit |
ibm2431/darkstar | scripts/globals/weaponskills/blade_shun.lua | 10 | 1852 | -----------------------------------
-- Blade Shun
-- Katana weapon skill
-- Skill level: N/A
-- Description: Delivers a fivefold attack. Attack power varies with TP.
-- In order to obtain Blade: Shun the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all additiona... | gpl-3.0 |
Igalia/snabbswitch | lib/luajit/testsuite/test/lib/ffi/cdata_var.lua | 6 | 1108 | local ffi = require("ffi")
do --- byte array allocations
local typ = ffi.typeof"uint8_t[?]"
for i = 4, 24 do
for d = -5, 5 do
local sz = 2^i + d
assert(ffi.sizeof(typ, sz) == sz)
local mem = ffi.new(typ, sz)
assert(ffi.sizeof(mem) == sz)
mem[0] = 0x21
mem[1] = 0x32
mem... | apache-2.0 |
alerque/sile | shapers/base.lua | 1 | 5729 | -- local smallTokenSize = 20 -- Small words will be cached
-- local shapeCache = {}
-- local _key = function (options)
-- return table.concat({ options.family;options.language;options.script;options.size;("%d"):format(options.weight);options.style;options.variant;options.features;options.direction;options.filename },... | mit |
LegionXI/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Luck_Rune.lua | 14 | 1069 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos 573.245 24.999 199.560 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-------------------------------------
require("scripts/zone... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Altar_Room/Zone.lua | 28 | 1623 | -----------------------------------
--
-- Zone: Altar_Room (152)
--
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Altar_Room/TextIDs");
---------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Cloister_of_Tremors/bcnms/sugar-coated_directive.lua | 13 | 1704 | ----------------------------------------
-- Area: Cloister of Tremors
-- BCNM: Sugar Coated Directive (ASA-4)
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/FadeTo.lua | 11 | 1678 |
--------------------------------
-- @module FadeTo
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- initializes the action with duration and opacity <br>
-- param duration in seconds
-- @function [parent=#FadeTo] initWithDuration
-- @param self
-- @param #float duration
-- @param #u... | mit |
naclander/tome | game/modules/tome/data/zones/maze/npcs.lua | 3 | 7450 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Southern_San_dOria/npcs/Dahjal.lua | 34 | 1231 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Dahjal
-- first in conquest Npc
-- @zone 230
-- @pos
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/T... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Bastok_Markets/npcs/Umberto.lua | 9 | 1080 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Umberto
-- Type: Quest NPC
-- Involved in Quest: Too Many Chefs
-- !pos -56.896 -5 -134.267 235
-----------------------------------
local ID = require("scripts/zones/Bastok_Markets/IDs");
-----------------------------------
function onTrade(player,n... | gpl-3.0 |
icyxp/kong | spec/fixtures/custom_plugins/kong/plugins/cache/handler.lua | 5 | 1046 | local BasePlugin = require "kong.plugins.base_plugin"
local singletons = require "kong.singletons"
local responses = require "kong.tools.responses"
local CacheHandler = BasePlugin:extend()
CacheHandler.PRIORITY = 1000
function CacheHandler:new()
CacheHandler.super.new(self, "cache")
end
function CacheHandler... | apache-2.0 |
LegionXI/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 |
naclander/tome | game/modules/tome/data/gfx/particles/wormhole.lua | 3 | 1269 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/West_Ronfaure/npcs/Doladepaiton_RK.lua | 14 | 3332 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Doladepaiton, R.K.
-- Type: Outpost Conquest Guards
-- @pos -448 -19 -214 100
-------------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
--------------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
everhopingandwaiting/telegram-bot | 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 |
LegionXI/darkstar | scripts/zones/Northern_San_dOria/npcs/Grilau.lua | 14 | 6142 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Grilau
-- @pos -241.987 6.999 57.887 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Horlais_Peak/bcnms/the_secret_weapon.lua | 13 | 2277 | -----------------------------------
-- Area: Horlais Peak
-- Name: Mission Rank 7
-- @pos -509 158 -211 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Bastok_Markets/npcs/Pavel.lua | 30 | 1775 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Pavel
-- Involved in Quest: Stamp Hunt
-- @pos -349.798 -10.002 -181.296 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requi... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/town-zigur/grids.lua | 3 | 2732 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EaseElasticOut.lua | 9 | 1215 |
--------------------------------
-- @module EaseElasticOut
-- @extend EaseElastic
-- @parent_module cc
--------------------------------
-- @overload self, cc.ActionInterval
-- @overload self, cc.ActionInterval, float
-- @function [parent=#EaseElasticOut] create
-- @param self
-- @param #cc.ActionInt... | mit |
greasydeal/darkstar | scripts/zones/Lower_Jeuno/Zone.lua | 12 | 3839 | -----------------------------------
--
-- Zone: Lower_Jeuno (245)
--
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/m... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Mercenary.lua | 23 | 1060 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Goblin Mercenary
-- Note: Place holder Soulstealer Skullnix
-----------------------------------
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Lower_Jeuno/npcs/Miladi-Nildi.lua | 38 | 1034 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Miladi-Nildi
-- Type: Standard NPC
-- @zone: 245
-- @pos 39.898 -5.999 77.190
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
---------------... | gpl-3.0 |
naclander/tome | game/modules/gruesome/dialogs/MapMenu.lua | 1 | 4789 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Quicksand_Caves/npcs/qm5.lua | 2 | 2024 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm5)
-- Involved in Quest: The Missing Piece
-- @pos
--1:770 0 -419
--2:657 0 -537
--3:749 0 -573
--4:451 -16 -739
--5:787 -16 -819
--spawn in npc_list is 770 0 -419
-----------------------------------
package.loaded["scripts/zones/Quicksand_Cav... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PointLight.lua | 11 | 1236 |
--------------------------------
-- @module PointLight
-- @extend BaseLight
-- @parent_module cc
--------------------------------
-- get or set range
-- @function [parent=#PointLight] getRange
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
--
-- @function... | mit |
Codex-NG/otxserver | data/talkactions/scripts/mccheck.lua | 40 | 1027 | function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
if player:getAccountType() < ACCOUNT_TYPE_GOD then
return false
end
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Multiclient Check List:")
local ipList = {}
local players = Game.getPlayers()
for i = 1, ... | gpl-2.0 |
NebronTM/TeleBot | libs/serpent.lua | 31 | 8016 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
knl/hammerspoon | extensions/timer/init.lua | 8 | 6764 | --- === hs.timer ===
---
--- Execute functions with various timing rules
---
--- This module is based primarily on code from the previous incarnation of Mjolnir by [Steven Degutis](https://github.com/sdegutis/).
local module = require("hs.timer.internal")
-- private variables and methods -----------------------------... | mit |
LegionXI/darkstar | scripts/zones/Port_Jeuno/npcs/Dohhel.lua | 14 | 1044 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Dohhel
-- Type: Event Scene Replayer
-- @zone 246
-- @pos -156.031 -2 6.051
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
--------------------... | gpl-3.0 |
gwlim/luci | applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua | 80 | 1260 | --[[
LuCI - Lua Configuration Interface
(c) 2009 Daniel Dickinson
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 = Map("mactodevinfo", lu... | apache-2.0 |
greasydeal/darkstar | scripts/commands/jail.lua | 26 | 2109 | ---------------------------------------------------------------------------------------------------
-- func: jail
-- desc: Sends the target player to jail. (Mordion Gaol)
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
par... | gpl-3.0 |
BackupGGCode/teebx | misc/lua/parse-desc.lua | 4 | 1517 | #!/usr/bin/env lua
-- --- T2-COPYRIGHT-NOTE-BEGIN ---
-- This copyright note is auto-generated by ./scripts/Create-CopyPatch.
--
-- T2 SDE: misc/lua/parse-desc.lua
-- Copyright (C) 2005 - 2006 The T2 SDE Project
--
-- More information can be found in the files COPYING and README.
--
-- This program is free software;... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Balgas_Dais/bcnms/charming_trio.lua | 13 | 1813 | -----------------------------------
-- Area: Balgas_Dais
-- Name: Charming Trio
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/Balg... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/imperial_omelette.lua | 12 | 2964 |
-----------------------------------------
-- ID: 4331
-- Item: imperial_omelette
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Non Elvaan Stats
-- Strength 5
-- Dexterity 2
-- Intelligence -3
-- Mind 4
-- Attack % 22
-- Attack Cap 70
-- Ranged ATT % 22
-- Ranged ATT Cap 70
------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/m&p_doner_kabob.lua | 36 | 1132 | -----------------------------------------
-- ID: 5717
-- Item: M&P Doner Kabob
-- Food Effect: 5Min, All Races
-----------------------------------------
-- HP 5%
-- MP 5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsShape.lua | 3 | 10110 |
--------------------------------
-- @module PhysicsShape
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Get this shape's friction.<br>
-- return A float number.
-- @function [parent=#PhysicsShape] getFriction
-- @param self
-- @return float#float ret (return value: float)
----------... | mit |
LegionXI/darkstar | scripts/zones/Kazham/npcs/Rauteinot.lua | 26 | 3159 | -----------------------------------
-- Area: Kazham
-- NPC: Rauteinot
-- Starts and Finishes Quest: Missionary Man
-- @zone 250
-- @pos -42 -10 -89
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/plate_of_patlican_salata_+1.lua | 11 | 1051 | -----------------------------------------
-- ID: 5583
-- Item: plate_of_patlican_salata_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Agility 5
-- Vitality -2
-- Evasion +7
-- hHP +3
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/ms... | gpl-3.0 |
dojoteef/lualol | spec/match_spec.lua | 1 | 5117 | describe('lol.match', function()
local match,lmatch
setup(function()
match = require('lol.match')
lmatch = require('luassert.match')
end)
it('loaded okay', function()
assert.not_nil(match)
end)
it('errors if given an invalid api obj', function()
assert.has.error... | mit |
greasydeal/darkstar | scripts/zones/Windurst_Woods/npcs/HomePoint#1.lua | 12 | 1262 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#1
-- @pos -98.588 0.001 -183.416 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require(... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/East_Sarutabaruta/npcs/Signpost.lua | 38 | 2029 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Signpost
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs");
-----------------------------------
-- onTrade A... | gpl-3.0 |
A2AFMI/devams2 | plugins/newgroup.lua | 1 | 35802 | --[[
-----admin @llX8Xll
---صنع مجموعه
—]]
-- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin1(msg) then
local group_creator = msg.from.print_name... | gpl-2.0 |
u20024804/skynet | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
ld-test/alnbox | spec/runAlnbox_spec.lua | 1 | 14925 | -- alnbox, alignment viewer based on the curses library
-- Copyright (C) 2015 Boris Nagaev
-- See the LICENSE file for terms of use
local function sleep()
local duration = os.getenv('TEST_SLEEP') or 5
os.execute('sleep ' .. duration)
end
local function startCode(rt, code)
if type(code) == 'function' then
... | mit |
greasydeal/darkstar | scripts/zones/Lufaise_Meadows/mobs/Splinterspine_Grukjuk.lua | 37 | 1181 | -----------------------------------
-- Area: Lufaise Meadows (24)
-- Mob: Splinterspine_Grukjuk
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/icanheararainbow.lua | 14 | 8400 | -- Functions below used in quest: I Can Hear a Rainbow
require( "scripts/globals/status");
require( "scripts/globals/quests");
require( "scripts/globals/weather");
colorsAvailable = { 102, 103, 104, 105, 106, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125}; -- Zone IDs
-- Data be... | gpl-3.0 |
icyxp/kong | kong/cache.lua | 4 | 3895 | local kong_mlcache = require "kong.mlcache"
local type = type
local max = math.max
local ngx_log = ngx.log
local ngx_now = ngx.now
local ERR = ngx.ERR
local NOTICE = ngx.NOTICE
local DEBUG = ngx.DEBUG
local SHM_CACHE = "kong_cache"
--[[
Hypothesis
----------
Item size: 1024 bytes
Max memory li... | apache-2.0 |
greasydeal/darkstar | scripts/zones/Windurst_Waters/npcs/Baehu-Faehu.lua | 36 | 1615 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Baehu-Faehu
-- Only sells when Windurst has control of Sarutabaruta
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_2.lua | 21 | 2309 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: Sealed Entrance (Sealed_Entrance_2)
-- @pos 263.600 -6.512 40.000 95
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/global... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/red_curry_bun.lua | 11 | 1876 | -----------------------------------------
-- ID: 5759
-- Item: red_curry_bun
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- TODO: Group effects
-- Health 25
-- Strength 7
-- Agility 1
-- Intelligence -2
-- Attack % 23 (cap 150)
-- Ranged Atk % 23 (cap 150)
-- Demon Killer 4
-- Resist Sle... | gpl-3.0 |
lbthomsen/openwrt-luci | applications/luci-app-nft-qos/luasrc/controller/nft-qos.lua | 5 | 1607 | -- Copyright 2018 Rosy Song <rosysong@rosinson.com>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.nft-qos", package.seeall)
function index()
if not nixio.fs.access("/etc/config/nft-qos") then
return
end
local e
e = entry({"admin", "status", "realtime", "rate"}, template("nft-... | apache-2.0 |
ibm2431/darkstar | scripts/zones/Lower_Jeuno/npcs/Harnek.lua | 9 | 1896 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Harnek
-- Starts and Finishes Quest: The Tenshodo Showdown (finish)
-- !pos 44 0 -19 245
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/glo... | gpl-3.0 |
karthikncode/text-world-player | utils.lua | 3 | 4305 | local clock = os.clock
function sleep(n) -- seconds
local t0 = clock()
while clock() - t0 <= n do end
end
function split(s, pattern)
local parts = {}
for i in string.gmatch(s, pattern) do
table.insert(parts, i)
end
return parts
end
function string.starts(String,Start)
return string.sub(String,1,string.... | mit |
LocutusOfBorg/ettercap | src/lua/share/core/hook_points.lua | 9 | 6396 | ---
-- Provides hook point values for those setting up ettercap lua scripts.
--
-- These values are defined in include/ec_hook.h, so this module will need
-- to be updated if that file ever changes!
--
-- Copyright (C) Ryan Linn and Mike Ryan
--
-- This program is free software; you can redistribute it and/or mod... | gpl-2.0 |
ibm2431/darkstar | scripts/zones/Southern_San_dOria/IDs.lua | 9 | 9961 | -----------------------------------
-- Area: Southern_San_dOria
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.SOUTHERN_SAN_DORIA] =
{
text =
{
HOMEPOINT_SET = 24, -- Home point set!
IT... | gpl-3.0 |
naclander/tome | game/modules/tome/data/maps/zones/unremarkable-cave.lua | 3 | 6561 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 ... | gpl-3.0 |
siktirmirza/supergp | plugins/webshot.lua | 110 | 1424 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Castle_Zvahl_Keep_[S]/Zone.lua | 28 | 1341 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep_[S] (155)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/The_Ashu_Talif/Zone.lua | 10 | 1253 | -----------------------------------
--
-- Zone: The_Ashu_Talif
--
-----------------------------------
require("scripts/globals/settings");
local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs");
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(z... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Spire_of_Dem/npcs/_0j3.lua | 36 | 1313 | -----------------------------------
-- Area: Spire_of_Dem
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Dem/TextIDs");
---------------... | gpl-3.0 |
siktirmirza/supergp | plugins/antisticker.lua | 18 | 19258 | -- data saved to data/moderation.json
do
local administrators_only = 'For administrator only!'
local moderators_only = 'For moderators only!'
local function create_group(msg)
if not is_admin(msg) then return administrators_only end
local group_creator = msg.from.print_name
create_group_chat (group_creator, grou... | gpl-2.0 |
pokemoncentral/wiki-lua-modules | test/PokémonData.spec.lua | 1 | 6932 | -- "Test cases" for Typelist
local pokeData = require('PokémonData')
local tests = {}
-- ================================ getName ================================
-- Tests 1, 5
-- Standard case
table.insert(tests, { pokeData.getName{args={'398'}}, 'Staraptor' })
-- Few digits
table.insert(tests, { pokeData.getName{a... | cc0-1.0 |
LegionXI/darkstar | scripts/zones/Meriphataud_Mountains_[S]/npcs/Cavernous_Maw.lua | 29 | 1450 | -----------------------------------
-- Area: Meriphataud Mountains [S]
-- NPC: Cavernous Maw
-- @pos 597 -32 279 97
-- Teleports Players to Meriphataud Mountains
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
evrooije/beerarchy | mods/walls/init.lua | 26 | 1449 | walls = {}
walls.register = function(wall_name, wall_desc, wall_texture, wall_mat, wall_sounds)
-- inventory node, and pole-type wall start item
minetest.register_node(wall_name, {
description = wall_desc,
drawtype = "nodebox",
node_box = {
type = "connected",
fixed = {{-1/4, -1/2, -1/4, 1/4, 1/2, 1/4}},... | lgpl-2.1 |
ibm2431/darkstar | scripts/zones/Monastic_Cavern/npcs/Magicite.lua | 9 | 1319 | -----------------------------------
-- Area: Monastic Cavern
-- NPC: Magicite
-- Involved in Mission: Magicite
-- !pos -22 1 -66 150
-----------------------------------
require("scripts/globals/keyitems")
local ID = require("scripts/zones/Monastic_Cavern/IDs")
-----------------------------------
function onTrade(play... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Southern_San_dOria/npcs/Adaunel.lua | 9 | 1135 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Adaunel
-- General Info NPC
-- !pos 80 -7 -22 230
------------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
---------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Throne_Room/npcs/_4l3.lua | 36 | 1164 | -----------------------------------
-- Area: Throne Room
-- NPC: Ore Door
-------------------------------------
require("scripts/globals/bcnm");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if(TradeBCNM(player,player:get... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Garlaige_Citadel/Zone.lua | 10 | 3957 | -----------------------------------
--
-- Zone: Garlaige_Citadel (200)
--
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Garlai... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/weaponskills/Flash_Nova.lua | 30 | 1392 | -----------------------------------
-- Skill level: 290
-- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP.
-- Generates a significant amount of Enmity.
-- Does not stack with Sneak Attack
-- Aligned with Aqua Gorget.
-- Aligned with Aqua Belt.
-- Properties:
-- Elemen... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/Cavernous_Maw.lua | 29 | 1190 | -----------------------------------
-- Area: Abyssea - Tahrongi
-- NPC: Cavernous Maw
-- @pos -31.000, 47.000, -681.000 45
-- Teleports Players to Tahrongi Canyon
-----------------------------------
package.loaded["scripts/zones/Abyssea-Tahrongi/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Stellar_Fulcrum/bcnms/return_to_delkfutts_tower.lua | 13 | 1843 | -----------------------------------
-- Area: Stellar Fulcrum
-- Name: Mission 5-2
-- @pos -520 -4 17 179
-----------------------------------
package.loaded["scripts/zones/Stellar_Fulcrum/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
req... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/abilities/pets/thunder_ii.lua | 11 | 1064 | ---------------------------------------------------
-- Thunder 2
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/magic")
---------------------------------------------------
func... | gpl-3.0 |
icyxp/kong | kong/plugins/response-ratelimiting/access.lua | 6 | 2831 | local policies = require "kong.plugins.response-ratelimiting.policies"
local timestamp = require "kong.tools.timestamp"
local responses = require "kong.tools.responses"
local pairs = pairs
local tostring = tostring
local _M = {}
local RATELIMIT_REMAINING = "X-RateLimit-Remaining"
local function get_identifier(conf)... | apache-2.0 |
LegionXI/darkstar | scripts/globals/quests.lua | 20 | 45133 | require("scripts/globals/log_ids");
-----------------------------------
-- Nation IDs
-----------------------------------
NATION_SANDORIA = 0;
NATION_BASTOK = 1;
NATION_WINDURST = 2;
-----------------------------------
--
-- QUESTS ID
--
-----------------------------------
QUEST_AVAILABLE = 0;
QUEST_ACCEPTED =... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Kazham/npcs/Vah_Keshura.lua | 17 | 1073 | -----------------------------------
-- Area: Kazham
-- NPC: Vah Keshura
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
fun... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_Jeuno/npcs/Imasuke.lua | 10 | 3143 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Imasuke
-- Starts and Finishes Quest: The Antique Collector
-- @zone 246
-- @pos -165 11 94
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/chunk_of_orobon_meat.lua | 11 | 1339 | -----------------------------------------
-- ID: 5563
-- Item: Chunk of Orobon Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- HP 10
-- MP -10
-- Strength +6
-- Intelligence -8
-- Demon Killer 10
-----------------------------------------
require("scripts/globals/status")
... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/seraph_blade.lua | 10 | 1346 | -----------------------------------
-- 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%T... | gpl-3.0 |
srijan/ntopng | scripts/lua/modules/graph_utils.lua | 1 | 12796 | --
-- (C) 2013 - ntop.org
--
function breakdownBar(sent, sentLabel, rcvd, rcvdLabel)
if((sent+rcvd) > 0) then
sent2rcvd = round((sent * 100) / (sent+rcvd), 0)
print('<div class="progress"><div class="bar bar-warning" style="width: ' .. sent2rcvd.. '%;">'..sentLabel)
print('</div><div class="bar ... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Metalworks/npcs/Ayame.lua | 9 | 2541 | -----------------------------------
-- Area: Metalworks
-- NPC: Ayame
-- Involved in Missions
-- Starts and Finishes Quest: True Strength
-- !pos 133 -19 34 237
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/globals/titles");
require("script... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/san_dorian_carrot.lua | 35 | 1200 | -----------------------------------------
-- ID: 4389
-- Item: san_dorian_carrot
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Aydeewa_Subterrane/mobs/Pandemonium_Warden.lua | 12 | 11865 | -----------------------------------
-- Area: Aydeewa Subterrane
-- ZNM: Pandemonium_Warden
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/commands/takexp.lua | 26 | 1232 | ---------------------------------------------------------------------------------------------------
-- func: @takexp <amount> <player>
-- desc: Removes experience points from the target player.
---------------------------------------------------------------------------------------------------
cmdprops =
{
p... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.