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 |
|---|---|---|---|---|---|
ibm2431/darkstar | scripts/globals/items/bowl_of_seafood_stew.lua | 11 | 1168 | -----------------------------------------
-- ID: 4561
-- Item: Bowl of Seafood Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 1
-- Vitality 5
-- Defense % 25
-- Defense Cap 120
-----------------------------------------
require("scripts/globals/status")
require... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Mamook/npcs/Logging_Point.lua | 17 | 1064 | -----------------------------------
-- Area: Mamook
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Mamook/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Mamook/TextIDs");
-----------------------------------
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Kazham/npcs/Shey_Wayatih.lua | 12 | 1379 | -----------------------------------
-- Area: Kazham
-- NPC: Shey Wayatih
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
--------------------------... | gpl-3.0 |
softer/prosody-modules | mod_inotify_reload/mod_inotify_reload.lua | 32 | 2429 | -- mod_inotify_reload
-- Reloads modules when their files change
-- Depends on linotify: https://github.com/hoelzro/linotify
module:set_global();
local inotify = require "inotify";
local modulemanager = require "core.modulemanager";
local inh = inotify.init();
local watches = {};
local watch_ids = {};
-- Fake sock... | mit |
ibm2431/darkstar | scripts/zones/Bastok_Mines/npcs/Hemewmew.lua | 12 | 2491 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Hemewmew
-- Type: Guildworker's Union Representative
-- !pos 117.970 1.017 -10.438 234
-----------------------------------
local ID = require("scripts/zones/Bastok_Mines/IDs");
require("scripts/globals/keyitems");
require("scripts/globals/crafting");
l... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Ryunchi-Pauchi_WW.lua | 30 | 3077 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Ryunchi-Pauchi, W.W.
-- Type: Outpost Conquest Guards
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
marinehero/wax | lib/stdlib/helpers/base64.lua | 19 | 2976 | -- working lua base64 codec (c) 2006-2008 by Alex Kloss
-- compatible with lua 5.1
-- http://www.it-rfc.de
module("wax.base64", package.seeall)
-- bitshift functions (<<, >> equivalent)
-- shift left
function lsh(value,shift)
return (value*(2^shift)) % 256
end
-- shift right
function rsh(value,shift)
return math... | mit |
LegionXI/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5c0_.lua | 17 | 1822 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Mahogany Door
-- Involved In Quest: Making Headlines
-- Working 100%
-- Unable to find EventID for Making Headlines quest. Used dialog ID instead.
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"]... | gpl-3.0 |
naclander/tome | game/modules/tome/data/birth/races/human.lua | 1 | 5122 | -- 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 |
ricker75/Global-Server | data/creaturescripts/scripts/quest/gnomebase/warzone2.lua | 1 | 2188 | local positions = {
Position(33097, 31976, 11),
Position(33097, 31977, 11),
Position(33097, 31978, 11),
Position(33097, 31979, 11)
}
local barrierPositions = {
Position(33098, 31976, 11),
Position(33098, 31977, 11),
Position(33098, 31978, 11),
Position(33098, 31979, 11)
}
local function clearArena()
local s... | gpl-2.0 |
naclander/tome | game/modules/tome/data/maps/zones/arena.lua | 3 | 1198 | -- 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/Outer_Horutoto_Ruins/mobs/Balloon.lua | 12 | 2987 | -----------------------------------
-- Area: Outer Horutoto Ruins (194)
-- MOB: Balloon
-- Note: Place holder Bomb King, Doppelganger Dio, Doppelganger Gog
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/Outer_Horutoto_Ruins/MobIDs");
-----------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#3.lua | 12 | 1250 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#3
-- @pos -189 -8 26 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/glo... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_San_dOria/npcs/Coribalgeant.lua | 36 | 1378 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coribalgeant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Mhaura/npcs/Vera.lua | 14 | 3064 | -----------------------------------
-- Area: Mhaura
-- NPC: Vera
-- Finishes Quest: The Old Lady
-- @pos -49 -5 20 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
re... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/AlTaieu/npcs/_0x3.lua | 9 | 1711 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Rubious Crystal (East Tower)
-- !pos 683.718 -6.250 -222.167 33
-----------------------------------
local ID = require("scripts/zones/AlTaieu/IDs");
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)... | gpl-3.0 |
naclander/tome | game/engines/default/modules/boot/data/gfx/particles/firetrail.lua | 3 | 1724 | -- ToME - Tales of Middle-Earth
-- 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 la... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/red_curry_bun_+1.lua | 11 | 1790 | -----------------------------------------
-- ID: 5765
-- Item: red_curry_bun_+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- TODO: Group effects
-- Health 35
-- Strength 7
-- Agility 3
-- Attack % 25 (cap 150)
-- Ranged Atk % 25 (cap 150)
-- Demon Killer 6
-- Resist Sleep +5
-- HP reco... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/Razan.lua | 2 | 4702 | 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, msg) npcH... | gpl-2.0 |
anti-gfw/packages | luci/applications/luci-app-dns-forwarder/luasrc/model/cbi/dns-forwarder.lua | 3 | 1131 | -- Copyright (C) 2016 OpenWrt-dist
-- Copyright (C) 2016 Jian Chang <aa65535@live.com>
-- Licensed to the public under the GNU General Public License v3.
local m, s, o
if luci.sys.call("pidof dns-forwarder >/dev/null") == 0 then
m = Map("dns-forwarder", translate("DNS-Forwarder"), "%s - %s" %{translate("DNS-Forwarde... | gpl-2.0 |
LegionXI/darkstar | scripts/globals/mobskills/Dread_Dive.lua | 33 | 1035 | ---------------------------------------------
-- Dread Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
-------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Selbina/npcs/Yulon-Polon.lua | 16 | 3638 | -----------------------------------
-- Area: Selbina
-- NPC: Yulon-Polon
-- Type: Title Change NPC
-- @pos 45.998 -16.273 15.739 248
-----------------------------------
require("scripts/globals/titles");
local title2 = { CORDON_BLEU_FISHER , ECOLOGIST , LIL_CUPID , ACE_ANGLER , GOLD_HOOK , MYTHRIL_HOOK , SILVER_... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/frost.lua | 6 | 2075 | -----------------------------------------
-- Spell: Frost
-- Deals ice damage that lowers an enemy's agility and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----... | gpl-3.0 |
Tommy228/TTTDamagelogs | lua/damagelogs/server/autoslay.lua | 1 | 18215 | util.AddNetworkString("DL_SlayMessage")
util.AddNetworkString("DL_AutoSlay")
util.AddNetworkString("DL_AutoslaysLeft")
util.AddNetworkString("DL_PlayerLeft")
util.AddNetworkString("DL_SendJails")
local mode = Damagelog.ULX_AutoslayMode
if mode ~= 1 and mode ~= 2 then
return
end
local aslay = mode == 1
if not sql... | gpl-3.0 |
bittorf/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme.lua | 68 | 1037 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require "luci.asterisk"
cbimap = Map("asterisk", "MeetMe - Rooms")
meetme = cbimap:section(TypedSection, "meetme", "MeetMe Rooms")
meetme.addremove = true
meetme.anonymous = true
meetme.template = ... | apache-2.0 |
LegionXI/darkstar | scripts/globals/mobskills/Red_Lotus_Blade.lua | 9 | 1469 | ---------------------------------------------
-- Red lotus Blade
--
-- Description: Deals fire elemental damage. Damage varies with TP.
-- Type: Physical
-- Utsusemi/Blink absorb: 1 Shadow?
-- Range: Melee
---------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts/globals/... | gpl-3.0 |
bacsmar/Urho3D | Source/ThirdParty/LuaJIT/src/jit/p.lua | 40 | 9092 | ----------------------------------------------------------------------------
-- LuaJIT profiler.
--
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-- This modul... | mit |
LegionXI/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Akane_IM.lua | 14 | 3364 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Akane, I.M.
-- Type: Outpost Conquest Guards
-- @pos -24.351 -60.421 -114.215 111
-------------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-------------------------------------
require("scripts/globa... | gpl-3.0 |
Igalia/snabbswitch | lib/ljsyscall/syscall/linux/sockopt.lua | 24 | 1966 | -- socket options mapping
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
-- TODO add typemap for cmsghdr fro... | apache-2.0 |
greasydeal/darkstar | scripts/zones/Dynamis-Valkurm/mobs/Cirrate_Christelle.lua | 17 | 4110 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Cirrate_Christelle
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
... | gpl-3.0 |
NebronTM/TeleBot | libs/XMLElement.lua | 31 | 3946 |
local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, type, getmetatable, tostring, error
local table, string = table, string
local XMLElement={}
local mt
XMLElement.new = function(lom)
return setmetatable({lom=lom or {}}, mt)
end
local function filter(filtery_thing... | gpl-3.0 |
marinehero/wax | tools/Tests/scripts/tests/structTest.lua | 16 | 3344 | describe["Unpacking structs"] = function()
before = function()
Structs = wax.class["Structs"]
end
it["can upack a single value struct"] = function()
local struct = wax.struct.unpack(Structs:numberFive())
expect( #struct ).should_be(1)
expect( struct[1] ).should_be(5)
end
it["can upack a ... | mit |
greasydeal/darkstar | scripts/zones/QuBia_Arena/bcnms/shattering_stars.lua | 13 | 1914 | -----------------------------------
-- Area: Qu'Bia Arena
-- Name: Shattering stars - Maat Fight
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/QuBia_Arena/TextIDs");
--------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/The_Ashu_Talif/mobs/Ashu_Talif_Crew.lua | 10 | 1189 | -----------------------------------
-- Area: The Ashu Talif (The Black Coffin)
-- MOB: Ashu Talif Crew
-----------------------------------
require("scripts/globals/status");
local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs");
-----------------------------------
-- onMobSpawn Action
--------------------... | gpl-3.0 |
naclander/tome | game/engines/default/engine/Projectile.lua | 1 | 11679 | -- TE4 - T-Engine 4
-- 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 version.... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/VeLugannon_Palace/mobs/Detector.lua | 19 | 2565 | -----------------------------------
-- Area: VeLugannon Palace
-- MOB: Detector
-----------------------------------
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-----------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Narito-Pettito.lua | 38 | 1054 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Narito-Pettito
-- Type: Standard NPC
-- @zone: 94
-- @pos -52.674 -5.999 90.403
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ... | gpl-3.0 |
SimLeek/the-Open-Source-Pony-Game | libs/DialogueWindow.lua | 1 | 2589 | require("libs.LoveFrames")
dialogueWindow = {}
function dialogueWindow.Create()
dialogueWindow.frame=loveframes.Create("frame")
dialogueWindow.frame:SetState(loveframes.GetState())
dialogueWindow.frame:SetName("")
dialogueWindow.frame:SetResizable(true)
dialogueWindow.frame:ShowCloseButton(false)
local ww=love.... | mit |
LegionXI/darkstar | scripts/zones/Windurst_Woods/npcs/Tapoh_Lihzeh.lua | 28 | 3551 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Tapoh Lihzeh
-- Starts & Finishes Repeatable Quest: Paying Lip Service
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("s... | gpl-3.0 |
naclander/tome | game/modules/tome/data/talents/cunning/stealth.lua | 1 | 8525 | -- 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/commands/setmerits.lua | 14 | 1091 | ---------------------------------------------------------------------------------------------------
-- func: setmerits <amount> <player>
-- desc: Sets the target players merit count.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
... | gpl-3.0 |
naclander/tome | game/modules/tome/data/quests/high-peak.lua | 1 | 9656 | -- 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/zones/Abyssea-Altepa/IDs.lua | 12 | 3945 | -----------------------------------
-- Area: Abyssea-Altepa
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.ABYSSEA_ALTEPA] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You... | gpl-3.0 |
destroyerdust/Class-Hall | Libs/AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua | 51 | 2814 | --[[-----------------------------------------------------------------------------
InteractiveLabel Widget
-------------------------------------------------------------------------------]]
local Type, Version = "InteractiveLabel", 20
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidg... | mit |
icyxp/kong | kong/core/plugins_iterator.lua | 3 | 4215 | local responses = require "kong.tools.responses"
local singletons = require "kong.singletons"
local setmetatable = setmetatable
-- Loads a plugin config from the datastore.
-- @return plugin config table or an empty sentinel table in case of a db-miss
local function load_plugin_into_memory(api_id, consumer_id, plugin... | apache-2.0 |
gwlim/luci | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/dns.lua | 85 | 2332 | --[[
Luci statistics - dns plugin diagram definition
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/license... | apache-2.0 |
ibm2431/darkstar | scripts/zones/Nyzul_Isle/IDs.lua | 12 | 6892 | -----------------------------------
-- Area: Nyzul_Isle
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.NYZUL_ISLE] =
{
text = {
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after so... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm3.lua | 14 | 1972 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm3 (???)
-- Involved In Quest: Yomi Okuri
-- @pos -767 -4 192 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scrip... | gpl-3.0 |
bittorf/luci | applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua | 60 | 5493 | -- Copyright 2012 Gabor Juhos <juhosg@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local m, s, o
m = Map("minidlna", translate("miniDLNA"),
translate("MiniDLNA is server software with the aim of being fully compliant with DLNA/UPnP-AV clients."))
m:section(SimpleSection).template = "minidln... | apache-2.0 |
atheurer/MoonGen | lua/include/ipsec.lua | 8 | 23209 | ---------------------------------
--- @file ipsec.lua
--- @brief IPsec (ESP/AH) offloading.
--- @todo Documentation
---------------------------------
local mod = {}
local dpdkc = require "dpdkc"
local dpdk = require "dpdk"
local ffi = require "ffi"
local log = require "log"
-- Intel X540 registers
local SECTXCTRL ... | mit |
LegionXI/darkstar | scripts/globals/mobskills/Deadeye.lua | 28 | 1185 | ---------------------------------------------
-- Deadeye
-- Family: Qiqurn
-- Description: Lowers the defense and magical defense of enemies within range.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown
-- Notes: Used only by certain Notorious Monsters. Strong effect.
---------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/frostbite.lua | 10 | 1248 | -----------------------------------
-- Frostbite
-- Great Sword weapon skill
-- Skill Level: 70
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget.
-- Aligned with the Snow Belt.
-- Element: Ice
-- Modifiers: STR:20% INT:20%
-- 100%TP 200%TP 300%TP
-- 1.00 2.00 ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/La_Theine_Plateau/Zone.lua | 6 | 5851 | -----------------------------------
--
-- Zone: La_Theine_Plateau (102)
--
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/La_Theine_Plateau/... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/crawler_egg.lua | 12 | 1188 | -----------------------------------------
-- ID: 4357
-- Item: crawler_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/crepe_paysanne.lua | 11 | 1317 | -----------------------------------------
-- ID: 5772
-- Item: crepe_paysanne
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +10% (cap 30)
-- STR +2
-- VIT +1
-- Magic Accuracy +15
-- Magic Defense +4
-- hHP +3
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
ratschlab/ASP | testsuite/lua_modular/generator.lua | 1 | 1207 | package.path = package.path .. ";../../../src/interfaces/lua_modular/?.lua;"
package.cpath = package.cpath .. ";../../../src/interfaces/lua_modular/?.so;/usr/local/lib/?.so"
require("lfs")
example_dir = '../../examples/undocumented/lua_modular'
test_dir = '../../../testsuite/tests'
blacklist = {"load.lua", "MatrixTes... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Bastok_Markets/npcs/Marin.lua | 38 | 1121 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Marin
-- Type: Quest Giver
-- @zone: 235
-- @pos -340.060 -11.003 -148.181
--
-- Auto-Script: Requires Verification. Verified standard dialog is also "All By Myself" repeatable quest. - thrydwolf 12/18/2011
-----------------------------------
pac... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/diaga_ii.lua | 26 | 1930 | -----------------------------------------
-- Spell: Diaga II
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
------------------------------------... | gpl-3.0 |
zhuj/esp8266-light | src/httpserver-connection.lua | 1 | 2287 | -- Author: Marcos Kirsch
-- Original code: https://github.com/marcoskirsch/nodemcu-httpserver
-- GNU General Public License, version 2
-- httpserver-connection
-- Part of nodemcu-httpserver, provides a buffered connection object that can handle multiple
-- consecutive send() calls, and buffers small payloads to ... | gpl-2.0 |
LegionXI/darkstar | scripts/globals/weaponskills/raging_axe.lua | 25 | 1498 | -----------------------------------
-- Raging Axe
-- Axe weapon skill
-- Skill level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- When stacked with Sneak Attack, both hits have a 100% chance of landing, though it is unclear if they both params.crit.
-- Aligned with the Bre... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/QuBia_Arena/bcnms/let_sleeping_dogs_die.lua | 9 | 1067 | -----------------------------------
-- Let Sleeping Dogs Die
-- Qu'Bia Arena BCNM30, Sky Orb
-- !additem 1552
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/West_Sarutabaruta_[S]/npcs/Cavernous_Maw.lua | 29 | 1486 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: Cavernous Maw
-- @pos 0 0 -165 95
-- Teleports Players to West Sarutabaruta
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Nashmau/npcs/Pyopyoroon.lua | 9 | 1747 | -----------------------------------
-- Area: Nashmau
-- NPC: Pyopyoroon
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Nashmau/IDs");
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/keyitems");
require("scripts/globals/title... | gpl-3.0 |
samanhatami/spam | plugins/banhammer.lua | 14 | 38775 | local function pre_process(msg)
if msg.to.type ~= 'pv' then
chat = msg.to.id
user = msg.from.id
local function check_newmember(arg, data)
test = load_data(_config.moderation.data)
lock_bots = test[arg.chat_id]['settings']['lock_bots']
local hash = "gp_lang:"..arg.chat_id
local lang = redis:get(hash)
if data... | gpl-3.0 |
naclander/tome | game/modules/tome/class/interface/PartyIngredients.lua | 3 | 3395 | -- 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 |
Igalia/snabbswitch | src/lib/token_bucket.lua | 6 | 3096 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
local lib = require("core.lib")
local tsc = require("lib.tsc")
local ffi = require("ffi")
local token_bucket = {}
local params = {
rate = { required = true },
burst_size = { required = false },
}
function... | apache-2.0 |
greasydeal/darkstar | scripts/globals/mobskills/Laser_Shower.lua | 7 | 1189 | ---------------------------------------------
-- Laser_Shower
--
-- Description: Deals Darkness damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
require("scripts/globals/se... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_Windurst/npcs/Pygmalion.lua | 38 | 1033 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pygmalion
-- Type: Standard NPC
-- @zone: 240
-- @pos 228.710 -7 93.314
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/herculean_etude.lua | 27 | 1615 | -----------------------------------------
-- Spell: Herculean Etude
-- Static STR Boost, BRD 74
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function on... | gpl-3.0 |
Source-advan/AdvanSource | plugins/Groups.lua | 1 | 2869 | local function chat_list(msg)
local data = load_data(_config.moderation.data)
local groups = 'groups'
if not data[tostring(groups)] then
return '<b>No groups at the moment</b>'
end
local message = '<b>List of your bot Groups:</b>\n\n> '
for k,v in pairs(data[t... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Riverne-Site_A01/mobs/Carmine_Dobsonfly.lua | 14 | 1926 | -----------------------------------
-- Area: Riverne Site A01
-- MOB: Carmine Dobsonfly
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setMobMod(MOBMOD_SUPERLINK, 16900230); -- mobID of the first one
... | gpl-3.0 |
cnbird1999/ABTestingGateway | admin/policy/check.lua | 22 | 2828 | local policyModule = require('abtesting.adapter.policy')
local redisModule = require('abtesting.utils.redis')
local systemConf = require('abtesting.utils.init')
local handler = require('abtesting.error.handler').handler
local utils = require('abtesting.utils.utils')
local ERRORINFO = require('ab... | mit |
06192010/BoL-8 | Common/SidasAutoCarryPlugin - Anivia.lua | 2 | 2669 | require "iFoundation_v2"
--[[
SAC Anivia plugin
Version: 1.1
- Initial release
Version: 1.2
- Updated to iFoundation
LAST TESTED 1.2 ON 8.11 WORKING PERFECT
--]]
local SkillQ = Caster(_Q, 1100, SPELL_LINEAR, 860.05, 0.250, 110, true)
local SkillW = Caster(_W, 1000, SPELL_CIRCLE, math.huge, 0, 200, true)
lo... | gpl-2.0 |
destroyerdust/Class-Hall | Libs/AceHook-3.0/AceHook-3.0.lua | 31 | 18880 | --- **AceHook-3.0** offers safe Hooking/Unhooking of functions, methods and frame scripts.
-- Using AceHook-3.0 is recommended when you need to unhook your hooks again, so the hook chain isn't broken
-- when you manually restore the original function.
--
-- **AceHook-3.0** can be embeded into your addon, either explici... | mit |
greasydeal/darkstar | scripts/zones/La_Theine_Plateau/npcs/Stone_Monument.lua | 32 | 1296 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 334.133 50.623 141.163 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
alomina007/sgp | plugins/setwlc.lua | 6 | 1652 | local function run(msg, matches, callback, extra)
local data = load_data(_config.moderation.data)
local group_welcome = data[tostring(msg.to.id)]['group_welcome']
-------------------------- Data Will be save on Moderetion.json
if matches[1] == 'dw' and not matches[2] and is_owner(msg) then
data[tostring... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Port_San_dOria/npcs/Callort.lua | 36 | 1373 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Callort
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextI... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/sprig_of_cibol.lua | 12 | 1196 | -----------------------------------------
-- ID: 5234
-- Item: sprig_of_cibol
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----... | gpl-3.0 |
gwlim/luci | applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua | 147 | 5025 | require("luci.tools.webadmin")
m = Map("multiwan", translate("Multi-WAN"),
translate("Multi-WAN allows for the use of multiple uplinks for load balancing and failover."))
s = m:section(NamedSection, "config", "multiwan", "")
e = s:option(Flag, "enabled", translate("Enable"))
e.rmempty = false
e.default = e.enabled
... | apache-2.0 |
DarkRedemption/GUnit | lua/gunit/main/testengine/sv_result.lua | 1 | 1225 | local Colors = GUnit.Colors
local Result = {}
function Result:print()
if (self.passed) then
MsgC(Colors.green, "+ " .. self.specName .. "\n")
elseif (self:isPending()) then
MsgC(Colors.yellow, "* " .. self.specName .. ": * PENDING *\n")
else
MsgC(Colors.red, "- " .. self.specName .. ": *** FAILED **... | mit |
everhopingandwaiting/telegram-bot | plugins/remind.lua | 279 | 1873 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
LegionXI/darkstar | scripts/globals/mobskills/Core_Meltdown.lua | 35 | 1099 | ---------------------------------------------------
-- Core Meltdown (Ghrah)
-- Reactor core fails and self-destructs, damaging any nearby targets.
-- Note: Very rare, estimated 5% chance
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require... | gpl-3.0 |
alerque/sile | packages/gutenberg/init.lua | 1 | 1509 | local base = require("packages.base")
local package = pl.class(base)
package._name = "gutenberg"
function package:registerCommands ()
self:registerCommand("alt", function (_, _)
SU.deprecated("\\alt", "\\alternative", "0.10.0", "0.14.0")
end, "Deprecated")
self:registerCommand("alternative", function (_, ... | mit |
LegionXI/darkstar | scripts/zones/Bastok_Mines/npcs/Sieglinde.lua | 32 | 1749 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Sieglinde
-- Alchemy Synthesis Image Support
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
req... | gpl-3.0 |
gOOvER/Factionizer | Libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.lua | 42 | 23498 | --- AceConfigCmd-3.0 handles access to an options table through the "command line" interface via the ChatFrames.
-- @class file
-- @name AceConfigCmd-3.0
-- @release $Id: AceConfigCmd-3.0.lua 1045 2011-12-09 17:58:40Z nevcairiel $
--[[
AceConfigCmd-3.0
Handles commandline optionstable access
REQUIRES: AceConsole-3.0... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Southern_San_dOria/npcs/Ashene.lua | 36 | 2059 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ashene
-- Standard Merchant NPC
-- @zone 230
-- @pos 70 0 61
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua | 9 | 4090 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rytaal
-- Type: Standard NPC
-- !pos 112.002 -1.338 -45.038 50
-----------------------------------
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scri... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/weaponskills/spirit_taker.lua | 30 | 1443 | -----------------------------------
-- Spirit Taker
-- Staff weapon skill
-- Skill Level: 215
-- Converts damage dealt to own MP. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties.
-- It is a physi... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/plate_of_mushroom_paella_+1.lua | 36 | 1339 | -----------------------------------------
-- ID: 5971
-- Item: Plate of Mushroom Paella +1
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 43
-- Mind 6
-- Magic Accuracy 6
-- Undead Killer 6
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
gwlim/luci | contrib/luasrcdiet/lua/lparser.lua | 122 | 41820 | --[[--------------------------------------------------------------------
lparser.lua: Lua 5.1 parser in Lua
This file is part of LuaSrcDiet, based on Yueliang material.
Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net>
The COPYRIGHT file describes the conditions
under which this software may be distribu... | apache-2.0 |
ricker75/Global-Server | data/movements/scripts/others/shrinesportal_out.lua | 2 | 1448 | local config = {
{storageKey = 10017, teleportPosition = Position(32360, 31781, 9)},
{storageKey = 10018, teleportPosition = Position(32369, 32242, 6)},
{storageKey = 10019, teleportPosition = Position(32958, 32077, 5)},
{storageKey = 10020, teleportPosition = Position(32681, 31686, 2)},
{storageKey = 10021, telep... | gpl-2.0 |
softer/prosody-modules | mod_auth_ldap2/mod_auth_ldap2.lua | 36 | 2106 | -- vim:sts=4 sw=4
-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
-- Copyright (C) 2012 Rob Hoelz
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- http://code.google.com/p/prosody-modules/source/brows... | mit |
atheurer/MoonGen | lua/include/headers.lua | 2 | 6631 | ------------------------------------------------------------------------
--- @file headers.lua
--- @brief C struct definitions for all protocol headers and respective
--- additional structs for instance addresses.
--- Please check the source code for more information.
--------------------------------------------------... | mit |
ibm2431/darkstar | scripts/zones/Arrapago_Remnants/mobs/Qiqirn_Treasure_Hunter.lua | 9 | 2351 | -----------------------------------
-- Area: Arrapago Remnants
-- Mob: Qiqirn Treasure Hunter
-----------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/status")
require("scripts/globals/pathfind")
local ID = require("scripts/zones/Arrapago_Remnants/IDs")
-------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/army_biscuit.lua | 12 | 1241 | -----------------------------------------
-- 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 |
LegionXI/darkstar | scripts/zones/Kazham/npcs/Vanono.lua | 14 | 1484 | -----------------------------------
-- Area: Kazham
-- NPC: Vanono
-- Type: Standard NPC
-- @zone 250
-- @pos -23.140 -5 -23.101
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/bluemagic/heat_breath.lua | 12 | 1701 | -----------------------------------------
-- Spell: Heat Breath
-- Deals fire damage to enemies within a fan-shaped area originating from the caster
-- Spell cost: 169 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 4
-- Stat Bonus: STR+3
-- Level: 71
-- Casting Time: 7.5 seconds
-- Recas... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_Windurst/npcs/Suspicious_Tarutaru.lua | 1 | 1098 | -----------------------------------
-- Area: Port Windurst
-- NPC: Six of Clubs
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
-----------------------------------
-- ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Selbina/npcs/Torapiont.lua | 34 | 1475 | -----------------------------------
-- Area: Selbina
-- NPC: Torapiont
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
---------... | gpl-3.0 |
Wargus/wargus | scripts/menus/diplomacy.lua | 1 | 3849 | function RunDiplomacyMenu()
local menu = WarGameMenu(panel(5))
menu:resize(352, 352)
menu:addLabel(_("Diplomacy"), 176, 11)
menu:addLabel(_("Allied"), 136, 30, Fonts["game"])
menu:addLabel(_("Enemy"), 196, 30, Fonts["game"])
menu:addLabel(_("Shared Vision"), 286, 30, Fonts["game"])
local allied = {}
... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.