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 |
|---|---|---|---|---|---|
RwNigma/darkstar | scripts/zones/FeiYin/npcs/_no4.lua | 15 | 2203 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Cermet Door (triggers Rukususu dialog)
-- Type: Quest NPC
-- @pos -183 0 190 204
-- Involved in Quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle
-- Involved in Missions: Windurst 5-1/7-2/8-2
--------------------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Temenos/mobs/Water_Elemental.lua | 9 | 1382 | -----------------------------------
-- Area: Temenos E T
-- Mob: Water Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobEngaged(mob,target)
end;
function onMobDeath(mob, player, isKiller)
local mobID = mob:getID();
local mobX = ... | gpl-3.0 |
destdev/ygopro-scripts | c16278116.lua | 4 | 2435 | --竜の束縛
function c16278116.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c16278116.target)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect... | gpl-2.0 |
angt/overthebox | feeds/luci/applications/luci-app-polipo/luasrc/model/cbi/polipo.lua | 32 | 5755 | -- Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
-- Licensed to the public under the Apache License 2.0.
m = Map("polipo", translate("Polipo"),
translate("Polipo is a small and fast caching web proxy."))
-- General section
s = m:section(NamedSection, "general", "polipo", translate("Proxy"))
s:tab("gene... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Temenos/npcs/Armoury_Crate.lua | 14 | 8397 | -----------------------------------
-- Area: Temenos
-- NPC: Armoury Crate
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/Temenos/TextIDs");
re... | gpl-3.0 |
cjcer/ABTestingGateway | lib/abtesting/adapter/runtime.lua | 22 | 3599 | ---
-- @classmod abtesting.adapter.runtime
-- @release 0.0.1
local modulename = "abtestingAdapterRuntime"
local _M = {}
local metatable = {__index = _M}
_M._VERSION = "0.0.1"
local ERRORINFO = require('abtesting.error.errcode').info
---
-- @field fields
-- @warning this is a conf, may other file later
local fi... | mit |
destdev/ygopro-scripts | c42717221.lua | 2 | 3968 | --サイバース・クロック・ドラゴン
function c42717221.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFunRep(c,21830679,aux.FilterBoolFunction(Card.IsFusionType,TYPE_LINK),1,63,true,true)
--mill + atk
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(42717221,0))
e1:SetCategory(CATEGOR... | gpl-2.0 |
destdev/ygopro-scripts | c14943837.lua | 2 | 2285 | --デブリ・ドラゴン
function c14943837.initial_effect(c)
--synchro custom
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetValue(c14943837.synlimit)
c:RegisterEffect(e1)
local e2=Effect.Cre... | gpl-2.0 |
destdev/ygopro-scripts | c78121572.lua | 3 | 1331 | --黒魔力の精製者
function c78121572.initial_effect(c)
--counter
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78121572,0))
e1:SetCategory(CATEGORY_COUNTER)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c7812157... | gpl-2.0 |
destdev/ygopro-scripts | c72328962.lua | 7 | 1211 | --魔轟神ソルキウス
function c72328962.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(72328962,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_GRAVE)
e1:SetCost(c72328962.cost)
e1:SetTarget(c72328962.tg)
e1:SetOperation(c7232... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/zones/Temenos/Zone.lua | 12 | 4494 | -----------------------------------
--
-- Zone: Temenos (37)
--
-----------------------------------
local ID = require("scripts/zones/Temenos/IDs");
require("scripts/globals/conquest");
require("scripts/globals/settings");
require("scripts/globals/limbus");
-----------------------------------
-------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c79757784.lua | 2 | 2655 | --幻奏の音女タムタム
function c79757784.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCondition(c79757784.th... | gpl-2.0 |
angt/overthebox | feeds/luci/libs/luci-lib-nixio/docsrc/nixio.UnifiedIO.lua | 16 | 5900 | --- Unified high-level I/O utility API for Files, Sockets and TLS-Sockets.
-- These functions are added to the object function tables by doing <strong>
-- require "nixio.util"</strong>, can be used on all nixio IO Descriptors and
-- are based on the shared low-level read() and write() functions.
-- @cstyle instance
mo... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm13.lua | 51 | 1857 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: ???
-- Spawns: Chloris
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(pla... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/foxfire.lua | 11 | 1266 | ---------------------------------------------
-- Foxfire
--
-- Description: Damage varies with TP. Additional effect: "Stun."
-- Type: Physical (Blunt)
-- RDM, THF, PLD, BST, BRD, RNG, NIN, and COR fomors).
--
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/pl_tidal_slash.lua | 11 | 1158 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water damage in a threefold
-- attack to targets in a fan-shaped area of effect.
-- Type: Physical?
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Melee?
-- Notes: Used only by Merrows equipped with a spear.
-- If they lost their spe... | gpl-3.0 |
B-LUC/AdminTools | usr/local/bin/mod_auth_zimbra.lua | 1 | 3009 | -- Prosody IM
-- Copyright (C) 2017 B-LUC Consulting and Thomas Bullinger
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local new_sasl = require "util.sasl".new;
local pop3 = require "pop3"
local host = module.host;
local log = require "util.logg... | apache-2.0 |
ffxijuggalo/darkstar | scripts/zones/Ranguemont_Pass/IDs.lua | 9 | 2220 | -----------------------------------
-- Area: Ranguemont Pass (166)
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.RANGUEMONT_PASS] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>.... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Chateau_dOraguille/npcs/_6h4.lua | 17 | 3614 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Great Hall
-- Involved in Missions: 3-3, 5-2, 6-1, 8-2, 9-1
-- @pos 0 -1 13 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
------... | gpl-3.0 |
nikai3d/naev | dat/events/tutorial/tutorial.lua | 11 | 3115 | -- Master tutorial script.
-- This script allows the player to choose a tutorial module to run, or return to the main menu.
-- localization stuff, translators would work here
lang = naev.lang()
if lang == "es" then
else -- default english
menutitle = "Tutorial Menu"
menutext = "Welcome to the Naev tutorial men... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Qufim_Island/npcs/Hieroglyphics.lua | 17 | 2172 | -----------------------------------
-- Area: Qufim_Island
-- NPC: Hieroglyphics
-- Dynamis Qufim Entrance
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/reishi_mushroom.lua | 35 | 1195 | -----------------------------------------
-- ID: 4449
-- Item: reishi_mushroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -6
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/mobskills/grim_halo.lua | 11 | 1124 | ---------------------------------------------------
-- Grim Halo
-- Deals damage to a all targets. Additional effect: Knockback
-- Only used by Fomors that wield a two-handed weapon (principally WAR, BLM, DRK, SAM, DRG, and SMN fomors).
---------------------------------------------
require("scripts/globals/monstertpmov... | gpl-3.0 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/lib/Direct.lua | 3 | 2868 | -- Copyright 2012 by Till Tantau
--
-- This file may be distributed an/or modified
--
-- 1. under the LaTeX Project Public License and/or
-- 2. under the GNU Public License
--
-- See the file doc/generic/pgf/licenses/LICENSE for more information
-- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Cloister_of_Tremors/mobs/Titan_Prime.lua | 18 | 2766 | -----------------------------------
-- Area: Cloister of Tremors
-- NPC: Titan Prime
-- Involved in Quest: Trial by Earth
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status")... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Monarch_Linn/mobs/Ouryu.lua | 6 | 2341 | -----------------------------------
-- Area:
-- MOB: Ouryu
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:SetMobSkillAttack(0); -- resetting so it doesn't respawn in ... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Parukoko.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Parukoko
-- Type: Standard NPC
-- @zone: 94
-- @pos -32.400 -3.5 -103.666
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/maps/_unused/node_beacon_songcave.lua | 6 | 1136 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Al_Zahbi/npcs/Falzuuk.lua | 29 | 2711 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Falzuuk
-- Type: Imperial Gate Guard
-- @pos -60.486 0.999 105.397 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/entities/_unused/studenta.lua | 6 | 1567 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
destdev/ygopro-scripts | c60666820.lua | 4 | 2193 | --デーモン・イーター
function c60666820.initial_effect(c)
c:SetUniqueOnField(1,0,60666820)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c60666820.spcon)
c:RegisterEffect(e1)
--... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/spells/katon_san.lua | 5 | 1584 | -----------------------------------------
-- Spell: Katon: San
-- Deals fire damage to an enemy and lowers its resistance against water.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Qufim_Island/npcs/Hieroglyphics.lua | 12 | 2254 | -----------------------------------
-- Area: Qufim_Island
-- NPC: Hieroglyphics
-- Dynamis Qufim Entrance
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("script... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Balgas_Dais/bcnms/divine_punishers.lua | 9 | 1063 | -----------------------------------
-- Divine Punishers
-- Balga's Dais BCNM60, Moon Orb
-- !additem 1130
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function onB... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Meriphataud_Mountains_[S]/npcs/Indescript_Markings.lua | 9 | 1037 | ----------------------------------
-- Area: Meriphataud_Mountains_[S]
-- NPC: Indescript Markings
-- Type: Quest
-- !pos -389 -9 92 97
-----------------------------------
local ID = require("scripts/zones/Meriphataud_Mountains_[S]/IDs")
require("scripts/globals/keyitems")
-----------------------------------
function ... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Nashmau/npcs/Mamaroon.lua | 13 | 1504 | -----------------------------------
-- Area: Nashmau
-- NPC: Mamaroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
destdev/ygopro-scripts | c17775525.lua | 1 | 2741 | --超重蒸鬼テツドウ-O
function c17775525.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x9a),aux.NonTuner(Card.IsSetCard,0x9a),2)
c:EnableReviveLimit()
--defense attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DEFENSE_ATTACK)
e1... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Attohwa_Chasm/mobs/Sekhmet.lua | 13 | 1842 | -----------------------------------
-- Area: Attohwa Chasm
-- NM: Sekhmet
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-----------------------------... | gpl-3.0 |
destdev/ygopro-scripts | c94215860.lua | 3 | 1473 | --夜叉
function c94215860.initial_effect(c)
--spirit
aux.EnableSpiritReturn(c,EVENT_SUMMON_SUCCESS,EVENT_FLIP)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(... | gpl-2.0 |
your-gatsby/skynet | examples/agent.lua | 65 | 2082 | local skynet = require "skynet"
local netpack = require "netpack"
local socket = require "socket"
local sproto = require "sproto"
local sprotoloader = require "sprotoloader"
local WATCHDOG
local host
local send_request
local CMD = {}
local REQUEST = {}
local client_fd
function REQUEST:get()
print("get", self.what)
... | mit |
Deadwing888/darkstar | scripts/zones/Kazham/npcs/Tsui_Golalapahn.lua | 15 | 1055 | -----------------------------------
-- Area: Kazham
-- NPC: Tsui Golalapahn
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
RwNigma/darkstar | scripts/globals/items/garlic_cracker_+1.lua | 35 | 1345 | -----------------------------------------
-- ID: 4280
-- Item: garlic_cracker_+1
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic Regen While Healing 8
-- Undead Killer 5
-- Blind Resist 5
-----------------------------------------
require("scripts/globals/status");
------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/dish_of_spaghetti_vongole_rosso.lua | 11 | 1379 | -----------------------------------------
-- ID: 5189
-- Item: dish_of_spaghetti_vongole_rosso
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 20
-- Health Cap 90
-- Vitality 2
-- Mind -1
-- Defense % 25
-- Defense Cap 30
-- Store TP 6
-----------------------------------------
req... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Light.lua | 9 | 2183 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Light
-- Involved in Zilart Mission 7
-- !pos 199 -2 36 168
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
local ID = require("scripts/... | gpl-3.0 |
alimashmamali/BoT-tG | plugins/btc.lua | 289 | 1375 | -- See https://bitcoinaverage.com/api
local function getBTCX(amount,currency)
local base_url = 'https://api.bitcoinaverage.com/ticker/global/'
-- Do request on bitcoinaverage, the final / is critical!
local res,code = https.request(base_url..currency.."/")
if code ~= 200 then return nil end
local data = j... | gpl-2.0 |
etown/sysdig | userspace/sysdig/chisels/iobytes_net.lua | 18 | 1667 | --[[
Copyright (C) 2013-2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without... | gpl-2.0 |
simonfork/aquaria | game_scripts/scripts/maps/node_clicktocook.lua | 6 | 1043 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Northern_San_dOria/npcs/Pepigort.lua | 13 | 1042 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pepigort
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -126.739 11.999 262.757
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs"... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Kf_ghrah_whm.lua | 3 | 1890 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- MOB: Kf'ghrah WHM
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic"); -- no spells are currently set due to lack of info
-----------------------------------
-- onMobSpawn
-- Set core Skin and m... | gpl-3.0 |
destdev/ygopro-scripts | c46195773.lua | 2 | 1541 | --ターボ・ウォリアー
function c46195773.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c46195773.tfilter,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--atk down
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(46195773,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/RuAun_Gardens/npcs/Pincerstone.lua | 17 | 3728 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Pincerstone
-- NPCs which activates the blue teleports in sky
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");... | gpl-3.0 |
angt/overthebox | feeds/packages/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/cpu.lua | 74 | 1429 | -- stat/cpu collector
local function scrape()
local stat = get_contents("/proc/stat")
-- system boot time, seconds since epoch
metric("node_boot_time_seconds", "gauge", nil,
string.match(stat, "btime ([0-9]+)"))
-- context switches since boot (all CPUs)
metric("node_context_switches_total", "counter", n... | gpl-3.0 |
linuxmaniac/pkg-prosody | core/usermanager.lua | 4 | 4733 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local modulemanager = require "core.modulemanager";
local log = require "util.logger".init("usermanager");... | mit |
RwNigma/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mathlouq.lua | 37 | 1029 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mathlouq
-- Type: Standard NPC
-- @pos -92.892 -7 129.277 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_White... | gpl-3.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Everyones_Grudge.lua | 36 | 1591 | ---------------------------------------------
-- Everyones Grudge
--
-- Notes: Invokes collective hatred to spite a single target.
-- Damage done is 5x the amount of tonberries you have killed! For NM's using this it is 50 x damage.
---------------------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
destdev/ygopro-scripts | c30012506.lua | 4 | 4373 | --A-アサルト・コア
function c30012506.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(30012506,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c30012506.eqtg)
e1:SetOperation(c... | gpl-2.0 |
aboasola/the3tetoo | plugins/ar-info.lua | 8 | 1610 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : معـلوماتـي ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/Qufim_Island/npcs/Pitoire_RK.lua | 13 | 3326 | -----------------------------------
-- Area: Qufim Island
-- NPC: Pitoire, R.K.
-- Type: Outpost Conquest Guards
-- @pos -245.366 -20.344 299.502 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
simonfork/aquaria | game_scripts/scripts/maps/node_pushleft.lua | 6 | 1045 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public License
-- as published by the Free Software Foundation; either version 2
-- of the License, or (at your option) any later vers... | gpl-2.0 |
Kong/kong | spec/02-integration/04-admin_api/02-kong_routes_spec.lua | 1 | 19181 | local helpers = require "spec.helpers"
local cjson = require "cjson"
local UUID_PATTERN = "%x%x%x%x%x%x%x%x%-%x%x%x%x%-%x%x%x%x%-%x%x%x%x%-%x%x%x%x%x%x%x%x%x%x%x%x"
local strategies = {}
for _, strategy in helpers.each_strategy() do
table.insert(strategies, strategy)
end
table.insert(strategies, "off")
for _, strat... | apache-2.0 |
destdev/ygopro-scripts | c22061412.lua | 4 | 2266 | --E・HERO The シャイニング
function c22061412.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x3008),aux.FilterBoolFunction(Card.IsFusionAttribute,ATTRIBUTE_LIGHT),true)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(... | gpl-2.0 |
angt/overthebox | feeds/luci/modules/luci-compat/luasrc/model/firewall.lua | 17 | 10704 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local type, pairs, ipairs, table, luci, math
= type, pairs, ipairs, table, luci, math
local tpl = require "luci.template.parser"
local utl = require "luci.util"
local uci = require "luci.model.uci"
module "lu... | gpl-3.0 |
destdev/ygopro-scripts | c46411259.lua | 2 | 1540 | --突然変異
function c46411259.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetLabel(0)
e1:SetCost(c46411259.cost)
e1:SetTarget(c46411259.target)
e1:SetOperation(c46411259.activate)
c:RegisterEf... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/items/black_ghost.lua | 11 | 1050 | -----------------------------------------
-- ID: 5138
-- Item: Black Ghost
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
------------------------------------... | gpl-3.0 |
RwNigma/darkstar | scripts/zones/Dynamis-Jeuno/bcnms/dynamis_jeuno.lua | 22 | 1306 | -----------------------------------
-- Area: Dynamis Jeuno
-- Name: Dynamis Jeuno
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaJeuno]UniqueID",player:getDynamisUniqueID(1283));
SetServerVariable(... | gpl-3.0 |
destdev/ygopro-scripts | c87835759.lua | 4 | 2991 | --創世の竜騎士
function c87835759.initial_effect(c)
--level
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LEVEL)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(4)
e1:SetCondition(c87835759.lvcon)
c:RegisterEffect(e1)
--to grave
local e2=Ef... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/Grounds_Tome.lua | 34 | 1149 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function ... | gpl-3.0 |
destdev/ygopro-scripts | c25484449.lua | 4 | 2032 | --ゼンマイシャーク
function c25484449.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(25484449,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c25484449... | gpl-2.0 |
maikerumine/grieftest | mods/farming/statistics.lua | 15 | 3382 | local statistics = {}
local ROOT_2 = math.sqrt(2.0)
-- Approximations for erf(x) and erfInv(x) from
-- https://en.wikipedia.org/wiki/Error_function
local erf
local erf_inv
local A = 8 * (math.pi - 3.0)/(3.0 * math.pi * (4.0 - math.pi))
local B = 4.0 / math.pi
local C = 2.0/(math.pi * A)
local D = 1.0 / A
erf = func... | lgpl-2.1 |
moses1984/aafmt | book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/deprecated/Vector.lua | 3 | 5718 | -- Copyright 2012 by Till Tantau
--
-- This file may be distributed an/or modified
--
-- 1. under the LaTeX Project Public License and/or
-- 2. under the GNU Public License
--
-- See the file doc/generic/pgf/licenses/LICENSE for more information
-- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd... | gpl-2.0 |
MrGrim48/prop_hunt | gamemode/modules/taunt/sv_taunt.lua | 1 | 7970 |
module( "Taunt", package.seeall )
-- Network String to play taunts from taunt menu
util.AddNetworkString( "TauntRequest" )
util.AddNetworkString( "SendTauntInfo" )
util.AddNetworkString( "SendTauntComplete" )
util.AddNetworkString( "DestroyMenu" )
util.AddNetworkString( "SoundDurationCooldown" )
-- Seconds... | mit |
BulletProofCli/BPReborn | libs/fakeredis.lua | 650 | 40405 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-3.0 |
aboasola/the3tetoo | libs/fakeredis.lua | 650 | 40405 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-2.0 |
x1957/thrift | test/lua/test_basic_server.lua | 30 | 3451 | -- 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 n... | apache-2.0 |
destdev/ygopro-scripts | c34475451.lua | 6 | 1358 | --工作列車シグナル・レッド
function c34475451.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(34475451,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c344... | gpl-2.0 |
ffxijuggalo/darkstar | scripts/globals/abilities/pets/cannibal_blade.lua | 12 | 1966 | ---------------------------------------------
-- Cannibal Blade
---------------------------------------------
require("scripts/globals/automatonweaponskills")
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/msg")
---------------------------------------------
function onMo... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/globals/items/bowl_of_sunset_soup.lua | 11 | 1187 | -----------------------------------------
-- ID: 4341
-- Item: bowl_of_sunset_soup
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- HP Recovered While Healing 5
-- Ranged Accuracy % 9 (cap 20)
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Southern_San_dOria/npcs/Arpevion_TK.lua | 13 | 5482 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Arpevion, T.K.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Missio... | gpl-3.0 |
angt/overthebox | feeds/luci/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua | 3 | 1336 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("CPU Plugin Configuration"),
translate("The cpu plugin collects basic statistics about the processor usage."))
-- collectd_cpu config section
s = m:sect... | gpl-3.0 |
mynameiscraziu/waqerr | plugins/wiki.lua | 735 | 4364 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
RwNigma/darkstar | scripts/zones/Northern_San_dOria/npcs/Pikiki.lua | 36 | 1425 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pikiki
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests")... | gpl-3.0 |
destdev/ygopro-scripts | c90411554.lua | 2 | 4976 | --巌征竜-レドックス
function c90411554.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(90411554,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,90411554)
e1:SetCost(c90411554.hspco... | gpl-2.0 |
vyacht/carambola | package/vyacht-web/files/test-vyacht.lua | 2 | 5277 |
vtest = 1
mtest = 1
ptest = 1
local _ip = require "vyacht-ip"
local vy = require "vyacht"
local bus = require "ubus"
_uci_real = cursor or _uci_real or uci.cursor()
vubus = bus.connect()
function test_validAddress(ip, valid)
iparr, prefix = _ip.IPv4AddressToArray(ip)
if va... | gpl-2.0 |
destdev/ygopro-scripts | c20630765.lua | 1 | 2267 | --魔石術師 クルード
function c20630765.initial_effect(c)
c:EnableCounterPermit(0x16)
c:SetCounterLimit(0x16,1)
--Add counter
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e0:SetCode(EVENT_CHAINING)
e0:SetRange(LOCATION_MZONE)
e0:SetOpera... | gpl-2.0 |
ichramm/LuaNode | test/simple/test-net-connect-buffer.lua | 2 | 1061 | module(..., lunit.testcase, package.seeall)
local common = dofile("common.lua")
local net = require("luanode.net")
function test()
local tcpPort = common.PORT
local tcp
tcp = net.Server(function (self, s)
tcp:close()
console.log("tcp server connection")
local buf = "";
s:on('data', function (self, d)
buf = b... | mit |
Deadwing888/darkstar | scripts/zones/Attohwa_Chasm/npcs/qm1.lua | 13 | 1613 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: ??? (qm1)
-- @pos -402.574 3.999 -202.750 7
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
--------------------... | gpl-3.0 |
destdev/ygopro-scripts | c43661068.lua | 1 | 1560 | --星に願いを
function c43661068.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c43661068.target)
e1:SetOperation(c43661068.activate)
c:RegisterEffect(e1)
end
function c43661068.target(e,tp... | gpl-2.0 |
destdev/ygopro-scripts | c85991529.lua | 6 | 4320 | --Kozmo-ダークプラネット
function c85991529.initial_effect(c)
c:EnableReviveLimit()
--special summon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
--special summon rule... | gpl-2.0 |
destdev/ygopro-scripts | c42737833.lua | 4 | 1348 | --XX-セイバー エマーズブレイド
function c42737833.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(42737833,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c42737833.condition)... | gpl-2.0 |
destdev/ygopro-scripts | c94634433.lua | 6 | 1064 | --緊急同調
function c94634433.initial_effect(c)
--synchro effect
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_BATTLE_START+TIMING_BATTLE_END)
e1:SetCondition(c94634433.sccon)
e1:SetTarget(c94634433.sct... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/items/slice_of_salted_hare.lua | 18 | 1177 | -----------------------------------------
-- ID: 5737
-- Item: slice_of_salted_hare
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
destdev/ygopro-scripts | c70138455.lua | 6 | 1543 | --ミスター・ボンバー
function c70138455.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(70138455,0))
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c70138455.... | gpl-2.0 |
Deadwing888/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fa.lua | 13 | 1076 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 260 -34 -49 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
ffxijuggalo/darkstar | scripts/zones/Rolanberry_Fields/Zone.lua | 9 | 2173 | -----------------------------------
--
-- Zone: Rolanberry_Fields (110)
--
-----------------------------------
local ID = require("scripts/zones/Rolanberry_Fields/IDs")
require("scripts/globals/icanheararainbow")
require("scripts/globals/chocobo_digging")
require("scripts/globals/conquest")
require("scripts/globals/mis... | gpl-3.0 |
Deadwing888/darkstar | scripts/zones/Metalworks/TextIDs.lua | 15 | 3817 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6434; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6438; -- You cannot obtain the item <item>. Try trading again after sorting your inventory.
ITEM_OBTAINED =... | gpl-3.0 |
ho3einkj/antispam | libs/dkjson.lua | 63 | 26559 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
alimashmamali/BoT-tG | plugins/media.lua | 297 | 1590 | do
local function run(msg, matches)
local receiver = get_receiver(msg)
local url = matches[1]
local ext = matches[2]
local file = download_to_file(url)
local cb_extra = {file_path=file}
local mime_type = mimetype.get_content_type_no_sub(ext)
if ext == 'gif' then
print('send_file')
send_docum... | gpl-2.0 |
RwNigma/darkstar | scripts/globals/spells/hunters_prelude.lua | 18 | 1490 | -----------------------------------------
-- Spell: Hunter's Prelude
-- Gives party members ranged attack accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChe... | gpl-3.0 |
destdev/ygopro-scripts | c1142880.lua | 2 | 3123 | --サイバー・ドラゴン・ネクステア
function c1142880.initial_effect(c)
--code
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetRange(LOCATION_MZONE+LOCATION_GRAVE)
e1:SetValue(70095154)
c:RegisterEffect(e1)
--special summon (self)
loca... | gpl-2.0 |
Deadwing888/darkstar | scripts/globals/mobskills/Trinary_Tap.lua | 32 | 2010 | ---------------------------------------------------
-- Trinary Tap
-- Attempts to absorb three buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.