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 |
|---|---|---|---|---|---|
nasomi/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Porter_Moogle.lua | 41 | 1560 | -----------------------------------
-- Area: Southern San d'Oria [S]
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 80
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/So... | gpl-3.0 |
kaustubhcs/torch-toolbox | Try-model/tryModel.lua | 3 | 3398 | --------------------------------------------------------------------------------
-- Routing for testing models.lua
-- Alfredo Canziani, Mar 2014
--------------------------------------------------------------------------------
-- Options ---------------------------------------------------------------------
lapp = requi... | bsd-3-clause |
nasomi/darkstar | scripts/globals/items/serving_of_yellow_curry.lua | 35 | 2067 | -----------------------------------------
-- ID: 4517
-- Item: serving_of_yellow_curry
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Health Points 20
-- Strength 5
-- Agility 2
-- Intelligence -4
-- HP Recovered While Healing 2
-- MP Recovered While Healing 1
-- Attack 20% (... | gpl-3.0 |
shakfu/start-vm | config/base/awesome/vicious/widgets/mboxc.lua | 14 | 1841 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
---------------------------------------------------
-- {{{ Grab environment
local io = { open = io.open }
local setmetatable = setmetatable
local string = { find = stri... | mit |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004042.lua | 1 | 1959 | --BT4-038 Hirudegarn, the Wanderer
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,CHARACTER_HIRUDEGARN,SPECIAL_TRAIT_PHANTOM_DEMON)
ds.AddPlayProcedure(c,COLOR_BLUE,1,1)
--to drop
ds.AddSingleAutoAttack(c,0,nil,ds.... | gpl-3.0 |
droogmic/droogmic-domoticz-lua | packages/socket/ltn12.lua | 71 | 8331 | -----------------------------------------------------------------------------
-- LTN12 - Filters, sources, sinks and pumps.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
------------------------------------------------------------------------... | mit |
thesabbir/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua | 53 | 2738 | -- 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("Network Plugin Configuration"),
translate(
"The network plugin provides network based communication between " ..
"different collectd instances. Coll... | apache-2.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/electric_rapier.meta.lua | 2 | 3585 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 80,
light_colors = {
"0 234 255 255",
"196 250 255 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation... | agpl-3.0 |
nasomi/darkstar | scripts/globals/items/serving_of_patriarch_sautee.lua | 36 | 1253 | -----------------------------------------
-- ID: 5677
-- Item: Serving of Patriarch Sautee
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP 60
-- Mind 7
-- MP Recovered While Healing 7
-----------------------------------------
require("scripts/globals/status");
-------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Bastok_Mines/npcs/Odoba.lua | 19 | 1145 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Odoba
-- Guild Merchant NPC: Alchemy Guild
-- @pos 108.473 5.017 1.089 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27001101.lua | 1 | 1252 | --BT1-086_SPR Golden Frieza, Resurrected Terror
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_FRIEZAS_ARMY,CHARACTER_FRIEZA,SPECIAL_TRAIT_FRIEZA_CLAN)
ds.AddPlayProcedure(c,COLOR_YELLOW,3,4)
--evolve
... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Port_Bastok/npcs/Styi_Palneh.lua | 17 | 4043 | -----------------------------------
-- Area: Port Bastok
-- NPC: Styi Palneh
-- Title Change NPC
-- @pos 28 4 -15 236
-----------------------------------
require("scripts/globals/titles");
local title2 = { NEW_ADVENTURER , BASTOK_WELCOMING_COMMITTEE , BUCKET_FISHER , PURSUER_OF_THE_PAST , MOMMYS_HELPER , HOT... | gpl-3.0 |
hqren/Atlas | lib/proxy/balance.lua | 41 | 2807 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Zeruhn_Mines/npcs/Zelman.lua | 34 | 1737 | -----------------------------------
-- Area: Zeruhn Mines
-- NPC: Zelman
-- Involved In Quest: Groceries
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
... | gpl-3.0 |
nasomi/darkstar | scripts/globals/spells/dokumori_ichi.lua | 18 | 1202 | -----------------------------------------
-- Spell: Dokumori: Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targ... | gpl-3.0 |
mlem/wesnoth | data/ai/micro_ais/cas/ca_lurkers.lua | 25 | 3877 | local LS = wesnoth.require "lua/location_set.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local H = wesnoth.require "lua/helper.lua"
local function get_lurker(cfg)
-- We simply pick the first of the lurkers, they have no strategy
local lurker = AH.get_units_with_moves {
side = wesnoth.current... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Dynamis-Tavnazia/bcnms/dynamis_Tavnazia.lua | 16 | 1139 | -----------------------------------
-- Area: dynamis_Tavnazia
-- Name: dynamis_Tavnazia
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaTavnazia]UniqueID",player:getDynamisUniqueID(1289));
SetServerVariable... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27002126.lua | 1 | 1599 | --BT2-111 Secret Evolution Cooler
--Note: Keep "give skill" appropriately synchronized with Auxiliary.EnableEvolve
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_FRIEZA_CLAN,CHARACTER_COOLER)
ds.AddPlay... | gpl-3.0 |
akornatskyy/lucid | src/http/request_key.lua | 1 | 2997 | local assert, format, concat = assert, string.format, table.concat
local load = loadstring or load
local unpack = unpack or table.unpack
local function var_method()
return nil, 'req.method'
end
local function var_path()
return nil, 'req.path'
end
local function var_query(name)
return 'local q = req.quer... | mit |
nasomi/darkstar | scripts/zones/Davoi/npcs/_45g.lua | 19 | 2043 | -----------------------------------
-- Area: Davoi
-- NPC: Groaning Pond
-- Used In Quest: Whence Blows the Wind
-- @pos 101 0.1 60 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
freem/freemlib-neogeo | tools/sailorvrom/lua/svrom.lua | 1 | 17182 | -- Sailor VROM (Lua version) by freem
-- Use of this tool (e.g. using the exported files) is free.
-- License is still undecided, but leaning towards public domain/unlicense/CC0.
--============================================================================--
local verNum = 0.20
local pcmbSeparator = "|"
local si... | isc |
nasomi/darkstar | scripts/zones/Ranguemont_Pass/npcs/Perchond.lua | 19 | 1579 | -----------------------------------
-- Area: Ranguemont Pass
-- NPC: Perchond
-- @pos -182.844 4 -164.948 166
-----------------------------------
package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
----------------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Faith.lua | 24 | 1296 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Jailer_of_Faith
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
-- Give it two hour
mob:setMod(MOBMOD_MAIN_2HOUR, 1);
-- Change anima... | gpl-3.0 |
luanorlandi/SwiftSpaceBattle | src/menu/data.lua | 2 | 9031 | require "menu/languageArray"
local languageArray = getLanguageArraySorted()
MenuData = {}
MenuData.__index = MenuData
function MenuData:new()
local M = {}
setmetatable(M, MenuData)
M.active = true
M.textBoxPos = {}
M.textBoxSelected = 0
M.pageLimit = 8
M.menuFunction = {}
M.resolutionsAvailable = rea... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/truelove_chocolate.lua | 35 | 1232 | -----------------------------------------
-- ID: 5231
-- Item: truelove_chocolate
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP 10
-- MP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
Peixinho/Pyros3D | otherplatforms/raspberry-pi/premake4.lua | 1 | 6190 | ------------------------------------------------------------------
-- premake 4 Pyros3D solution
------------------------------------------------------------------
solution "Pyros3D"
newoption {
trigger = "shared",
description = "Ouput Shared Library"
}
newoption {
trigger = "sta... | mit |
PolyCement/dotfiles | awesome/monitors/volmon.lua | 1 | 1785 | -- volmon.lua
-- an awesome wm plugin that uses pactl subscribe to watch for changes to the default sink state
-- this allows the volume widget to update as volume changes instead of relying on a timer
local awful = require("awful")
-- tracking for registered widgets
local registered_widgets = {}
local volmon = {}
-... | mit |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/resistance_torso_knife_prim_return_3.meta.lua | 2 | 2801 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.40000000596046448,
amplification = 100,
light_colors = {
"223 113 38 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation = fals... | agpl-3.0 |
RhenaudTheLukark/CreateYourFrisk | Assets/Mods/Examples/Lua/Libraries/randomvoice.lua | 2 | 2133 | -- A library to add random voices to every letter in a dialogue.
-- First, we make a new table for our random voices and our module.
local voices = {} -- This will contain the voices we're going to use. Only accessible from within this library.
local randomvoicer = {} -- The actual module.
-- You can change your voic... | gpl-3.0 |
mpub/mp_lightroom | mp.lrplugin/dkjson.lua | 17 | 25626 | -- 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.3*
In the default configuration this module writes no global valu... | mit |
shangjiyu/luci-with-extra | modules/luci-mod-rpc/luasrc/controller/rpc.lua | 37 | 4466 | -- 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.
local require = require
local pairs = pairs
local print = print
local pcall = pcall
local table = table
module "luci.controller.rpc"
function index()
local ... | apache-2.0 |
OpenPrograms/payonel-Programs | psh/etc/rc.d/pshd.lua | 1 | 2686 | local term = require("term")
local daemon = require("psh.daemon")
local psh = require("psh")
local vtcolors =
{
black = 30,
red = 31,
green = 32,
yellow = 33,
blue = 34,
magenta = 35,
cyan = 36,
white = 37
}
local function mkcolor(color)
if io.stdout.tty and term.isAvailable() then
return string... | mit |
shakfu/start-vm | config/base/awesome/vicious/widgets/bat.lua | 11 | 2922 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) 2013, NormalRa <normalrawr@gmail.com>
---------------------------------------------------
-- {{{ Grab environment
local tonumber = tonumber
local setmetatabl... | mit |
Hello23-Ygopro/ygopro-ds | expansions/script/c27001058.lua | 1 | 1091 | --BT1-051 Result of Training
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
--give skill
ds.AddActivateMainSkill(c,0,LOCATION_HAND,scard.skop,scard.skcost,ds.hinttg,DS_EFFECT_FLAG_CARD_CHOOSE)
end
scard.dragon_ball_super_card=true
scard.skcost=ds.PayEnergyCost(... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Mount_Zhayolm/npcs/qm2.lua | 16 | 1161 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Claret(ZNM T1))
-- @pos 497 -9 52 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
---------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua | 53 | 1835 | -----------------------------------
-- Area: Port Windurst
-- NPC: Erabu-Fumulubu
-- Type: Fishing Synthesis Image Support
-- @pos -178.900 -2.789 76.200 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/st... | gpl-3.0 |
rosejn/torch-datasets | dataset/TableDataset.lua | 2 | 11696 | require 'fn'
require 'fn/seq'
require 'util/arg'
require 'dataset'
require 'dataset/pipeline'
require 'dataset/whitening'
require 'pprint'
local arg = util.arg
local TableDataset = torch.class("dataset.TableDataset")
-- Wraps a table containing a dataset to make it easy to transform the dataset
-- and then sample f... | bsd-3-clause |
nasomi/darkstar | scripts/globals/spells/stoneskin.lua | 13 | 1358 | -----------------------------------------
-- Spell: Stoneskin
-----------------------------------------
-- http://wiki.ffxiclopedia.org/wiki/Stoneskin
-- Max 350 damage absorbed
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---... | gpl-3.0 |
m13790115/eset | bot/seedbot.lua | 1 | 11276 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
appaquet/torch-android | src/3rdparty/luasocket-2.0.2/samples/cddb.lua | 56 | 1415 | local socket = require("socket")
local http = require("socket.http")
if not arg or not arg[1] or not arg[2] then
print("luasocket cddb.lua <category> <disc-id> [<server>]")
os.exit(1)
end
local server = arg[3] or "http://freedb.freedb.org/~cddb/cddb.cgi"
function parse(body)
local lines = string.gfind(bo... | bsd-3-clause |
MatthewDwyer/botman | mudlet/profiles/newbot/scripts/chat/gmsg_hotspots.lua | 1 | 27499 | --[[
Botman - A collection of scripts for managing 7 Days to Die servers
Copyright (C) 2020 Matthew Dwyer
This copyright applies to the Lua source code in this Mudlet profile.
Email mdwyer@snap.net.nz
URL http://botman.nz
Source https://bitbucket.org/mhdwyer/botman
--]]
l... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Castle_Oztroja/npcs/_47m.lua | 17 | 1571 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47m (Torch Stand)
-- Notes: Opens door _471 near password #3
-- @pos -45.230 -17.832 17.668 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Wajaom_Woodlands/npcs/qm4.lua | 16 | 1176 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: ??? (Spawn Tinnin(ZNM T4))
-- @pos 278 0 -703 51
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/TextIDs");
-----------... | gpl-3.0 |
OpenPrograms/payonel-Programs | payo-lib/usr/lib/payo-lib/argutil.lua | 1 | 8187 | -- instead of using =, this parses --type f as 'f' as a value for 'type'
local ser = require("serialization");
local argutil = {};
-- pack is a table.pack(...) for the script parameters
-- returns an array of meta data about each param
-- each param consists of:
-- name, the value given in the parameter
-- dashes, t... | mit |
Maxsteam/99998888 | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Achantere_TK.lua | 28 | 4907 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Achatere, 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 ... | gpl-3.0 |
thesabbir/luci | modules/luci-base/luasrc/cbi.lua | 17 | 40212 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.cbi", package.seeall)
require("luci.template")
local util = require("luci.util")
require("luci.http")
--local event = require "luci.sys.event"
local fs = require("nixio.fs")
local uc... | apache-2.0 |
lipp/tango | tango/server/zmq.lua | 1 | 1617 | local zmq = require"zmq"
zmq.poller = require'zmq.poller'
local serialize = require'tango.utils.serialization'.serialize
local unserialize = require'tango.utils.serialization'.unserialize
local dispatcher = require'tango.dispatcher'
local default = require'tango.config'.server_default
local print = print
module('tango... | mit |
dromozoa/dromozoa-image | dromozoa/image/sips_reader.lua | 3 | 2047 | -- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com>
--
-- This file is part of dromozoa-image.
--
-- dromozoa-image 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... | gpl-3.0 |
droogmic/droogmic-domoticz-lua | script_time_blinds.lua | 1 | 8757 | -- blind time script
-- script names have three name components: script_trigger_name.lua
-- trigger can be 'time' or 'device', name can be any string
-- domoticz will execute all time and device triggers when the relevant trigger occurs
--
-- copy this script and change the "name" part, all scripts named "demo" are ign... | mit |
nasomi/darkstar | scripts/zones/Port_Windurst/npcs/Kohlo-Lakolo.lua | 36 | 10182 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kohlo-Lakolo
-- Invloved In Quests: Truth, Justice, and the Onion Way!,
-- Know One's Onions,
-- Inspector's Gadget,
-- Onion Rings,
-- Crying Over Onions,
-- Wild Card,
-- ... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004177.lua | 1 | 1530 | --EX03-23 Frieza, Obsession of The Clan
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_FRIEZAS_ARMY,CHARACTER_FRIEZA,SPECIAL_TRAIT_FRIEZA_CLAN)
ds.AddPlayProcedure(c,COLOR_YELLOW,2,2)
--negate attack
... | gpl-3.0 |
minigeek/MMDAgent | Library_Bullet_Physics/src/Demos/OpenCLClothDemo/AMD/premake4.lua | 4 | 1137 |
hasCL = findOpenCL_AMD()
if (hasCL) then
project "AppOpenCLClothDemo_AMD"
defines { "USE_AMD_OPENCL","CL_PLATFORM_AMD"}
initOpenCL_AMD()
language "C++"
kind "ConsoleApp"
targetdir "../../.."
libdirs {"../../../Glut"}
links {
"LinearMath",
"BulletCollision",
... | bsd-3-clause |
cristiandonosoc/unexperiments | dotaoh/lib/hump/signal.lua | 24 | 2729 | --[[
Copyright (c) 2012-2013 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | mit |
nasomi/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/qm3.lua | 34 | 1033 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm3 (???)
-- Notes: Opens north door @ J-9
-- @pos 116.743 -24.636 27.518 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Palguevion.lua | 36 | 1806 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Palguevion
-- Only sells when San d'Oria controlls Valdeaunia Region
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
znek/xupnpd | src/xupnpd_ssdp.lua | 6 | 2747 | -- Copyright (C) 2011-2015 Anton Burdinuk
-- clark15b@gmail.com
-- https://tsdemuxer.googlecode.com/svn/trunk/xupnpd
ssdp_msg_alive={}
ssdp_msg_byebye={}
function ssdp_msg(nt,usn,nts)
return string.format(
'NOTIFY * HTTP/1.1\r\n'..
'HOST: 239.255.255.250:1900\r\n'..
'CACHE-CONTROL: max-age... | gpl-2.0 |
shangjiyu/luci-with-extra | applications/luci-app-pbx/luasrc/model/cbi/pbx-advanced.lua | 18 | 14476 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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
... | apache-2.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zarfhid.lua | 34 | 1034 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zarfhid
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_1st_Floor.lua | 19 | 1075 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[C_Temenos_1st]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1303),TEMENOS); ... | gpl-3.0 |
akornatskyy/lucid | src/security/crypto/ticket.lua | 1 | 1920 | local struct = require 'struct'
local rand = require 'security.crypto.rand'
local pack, unpack, rand_bytes = struct.pack, struct.unpack, rand.bytes
local assert, type, time = assert, type, os.time
local setmetatable = setmetatable
local Ticket = {
encode = function(self, s)
local b = rand_bytes(12)
... | mit |
nasomi/darkstar | scripts/zones/Metalworks/npcs/Topuru-Kuperu.lua | 38 | 1044 | -----------------------------------
-- Area: Metalworks
-- NPC: Topuru-Kuperu
-- Type: Standard NPC
-- @zone: 237
-- @pos 28.284 -17.39 42.269
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scrip... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/sn69.meta.lua | 2 | 3245 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"0 255 255 255",
"0 222 255 255",
"0 78 255 255",
"6 0 255 255"
},
radius = {
x = 120,
y = 120
},
standard... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Norg/npcs/Paito-Maito.lua | 34 | 2624 | -----------------------------------
-- Area: Norg
-- NPC: Paito-Maito
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
local path = {
-71.189713, -9.413510, 74.024879,
-71.674171, -9.317029, 73.054794,
-72.516525, -9.298064, 72.363213,
-73.432983, -9.220915, 71... | gpl-3.0 |
texane/opende_kaapi | build/premake4.lua | 1 | 13306 | ----------------------------------------------------------------------
-- Premake4 configuration script for OpenDE
-- Contributed by Jason Perkins (starkos@industriousone.com)
-- For more information on Premake: http://industriousone.com/premake
----------------------------------------------------------------------
--... | lgpl-2.1 |
shangjiyu/luci-with-extra | applications/luci-app-cpulimit/luasrc/model/cbi/cpulimit.lua | 20 | 1274 |
m = Map("cpulimit", translate("cpulimit"),translate("Use cpulimit to limit app's cpu using."))
s = m:section(TypedSection, "list", translate("Settings"))
s.template = "cbi/tblsection"
s.anonymous = true
s.addremove = true
enable = s:option(Flag, "enabled", translate("enable", "enable"))
enable.optional = false
enable... | apache-2.0 |
nasomi/darkstar | scripts/zones/Altar_Room/npcs/Magicite.lua | 19 | 1576 | -----------------------------------
-- Area: Altar Room
-- NPC: Magicite
-- Involved in Mission: Magicite
-- @zone 152
-- @pos -344 25 43
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/crepe_caprice.lua | 36 | 1318 | -----------------------------------------
-- ID: 5776
-- Item: Crepe Caprice
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +20
-- MP Healing 3
-- Magic Accuracy +5
-- Magic Defense +2
-----------------------------------------
require("scripts/globals/status");
---------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Gebhardt.lua | 19 | 1206 | -----------------------------------
-- Area: North Gustaberg (S) (I-6)
-- NPC: Gebhardt
-- Involved in Quests: The Fighting Fourth
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
r... | gpl-3.0 |
EnjoyHacking/nn | SparseJacobian.lua | 61 | 8618 | nn.SparseJacobian = {}
function nn.SparseJacobian.backward (module, input, param, dparam)
local doparam = 0
if param then
doparam = 1
end
-- output deriv
module:forward(input)
local dout = module.output.new():resizeAs(module.output)
-- 1D view
local sdout = module.output.new(dout:stor... | bsd-3-clause |
EnjoyHacking/nn | SpatialDropout.lua | 33 | 1453 | local SpatialDropout, Parent = torch.class('nn.SpatialDropout', 'nn.Module')
function SpatialDropout:__init(p)
Parent.__init(self)
self.p = p or 0.5
self.train = true
self.noise = torch.Tensor()
end
function SpatialDropout:updateOutput(input)
self.output:resizeAs(input):copy(input)
if self.train the... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Nashmau/npcs/Yoyoroon.lua | 34 | 1613 | -----------------------------------
-- Area: Nashmau
-- NPC: Yoyoroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------... | gpl-3.0 |
MatthewDwyer/botman | mudlet/profiles/newbot/scripts/chat/gmsg_friends.lua | 1 | 25483 | --[[
Botman - A collection of scripts for managing 7 Days to Die servers
Copyright (C) 2020 Matthew Dwyer
This copyright applies to the Lua source code in this Mudlet profile.
Email smegzor@gmail.com
URL http://botman.nz
Source https://bitbucket.org/mhdwyer/botman
--]]
loc... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/yellow_fish_7.meta.lua | 16 | 1922 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"255 177 82 255",
"51 204 0 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation =... | agpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/yellow_fish_3.meta.lua | 16 | 1922 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"255 177 82 255",
"51 204 0 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
generate_desaturation =... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Excavation_Point.lua | 29 | 1114 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Excavation Point
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/excavation");
require("scripts/zones/Tahrongi_Canyon/TextIDs... | gpl-3.0 |
nasomi/darkstar | scripts/globals/abilities/rogues_roll.lua | 9 | 2778 | -----------------------------------
-- Ability: Rogue's Roll
-- Improves critical hit rate for party members within area of effect
-- Optimal Job: Thief
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 43
--
-- Die Roll |No THF |With THF
-- -------- ------- -----------
-- 1 |2% |8%
--... | gpl-3.0 |
thesabbir/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua | 68 | 1513 | -- 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.
cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
chan_agent = module:option(L... | apache-2.0 |
shakfu/start-vm | config/artful/awesome/vicious/widgets/pkg_all.lua | 1 | 1931 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
---------------------------------------------------
-- {{{ Grab environment
local io = { popen = io.popen }
local math = { max = math.max }
local setmetatable = setmeta... | mit |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/metropolis_backpack.meta.lua | 2 | 3144 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.69999998807907104,
amplification = 60,
light_colors = {
"0 255 255 255",
"255 0 228 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 7
},
gener... | agpl-3.0 |
nasomi/darkstar | scripts/globals/items/mercanbaligi.lua | 18 | 1262 | -----------------------------------------
-- ID: 5454
-- Item: Mercanbaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
coolflyreg/gs | 3rd/skynet-mingw/lualib/http/internal.lua | 95 | 2613 | local table = table
local type = type
local M = {}
local LIMIT = 8192
local function chunksize(readbytes, body)
while true do
local f,e = body:find("\r\n",1,true)
if f then
return tonumber(body:sub(1,f-1),16), body:sub(e+1)
end
if #body > 128 then
-- pervent the attacker send very long stream without ... | gpl-2.0 |
nasomi/darkstar | scripts/zones/RuAun_Gardens/Zone.lua | 28 | 15340 | -----------------------------------
--
-- Zone: RuAun_Gardens (130)
--
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/conque... | gpl-3.0 |
nasomi/darkstar | scripts/globals/abilities/pets/pet_frost_breath.lua | 25 | 1248 | ---------------------------------------------------
-- Frost Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCh... | gpl-3.0 |
Samanj5/spam-is-alive | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
nasomi/darkstar | scripts/globals/spells/pyrohelix.lua | 9 | 1729 | --------------------------------------
-- Spell: Pyrohelix
-- Deals fire damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
mkjanke/Focus-Points | focuspoints.lrdevplugin/Info.lua | 5 | 1612 | --[[
Copyright 2016 Whizzbang Inc
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
Unless required by applicable law or agreed to in writin... | apache-2.0 |
thesabbir/luci | applications/luci-app-ddns/luasrc/controller/ddns.lua | 29 | 7451 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2013 Manuel Munz <freifunk at somakoma dot de>
-- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
module("luci.c... | apache-2.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Danngogg.lua | 36 | 1427 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Danngogg
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
thesabbir/luci | protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua | 52 | 4346 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, apn, service, pincode, username, password, dialnumber
local ipv6, maxwait, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
d... | apache-2.0 |
luanorlandi/SwiftSpaceBattle | src/ship/player.lua | 2 | 4130 | require "effect/spawnblink"
local deckSize = Vector:new(60 * window.scale, 60 * window.scale)
local deck = MOAIGfxQuad2D.new()
deck:setTexture("texture/ship/ship5.png")
deck:setRect(-deckSize.x, -deckSize.y, deckSize.x, deckSize.y)
local deckDmg = MOAIGfxQuad2D.new()
deckDmg:setTexture("texture/ship/ship5dmg.png")
de... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Gray_Colossus_LC.lua | 38 | 1071 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Gray Colossus, L.C.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos 76.178 -60.763 -48.775
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Gun.lua | 16 | 1469 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Gun
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function ... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/metropolis_torso_pistol_shot_3.meta.lua | 2 | 2812 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.43000000715255737,
amplification = 140,
light_colors = {
"89 31 168 255",
"48 42 88 255",
"61 16 123 0"
},
radius = {
x = 80,
y = 80
},
standard_deviati... | agpl-3.0 |
nasomi/darkstar | scripts/zones/Selbina/npcs/Vobo.lua | 17 | 1507 | -----------------------------------
-- Area: Selbina
-- NPC: Vobo
-- Involved in Quest: Riding on the Clouds
-- @pos 37 -14 81 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
requir... | gpl-3.0 |
telergybot/kelidestan5454 | plugins/banhammer.lua | 214 | 11956 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Port_San_dOria/npcs/Brifalien.lua | 17 | 1776 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Brifalien
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- @pos -20 -4 -74
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/slice_of_juicy_mutton.lua | 35 | 1397 | -----------------------------------------
-- ID: 4335
-- Item: slice_of_juicy_mutton
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
Wouterz90/SuperSmashDota | Game/scripts/vscripts/libraries/attachments.lua | 1 | 21490 | ATTACHMENTS_VERSION = "1.00"
--[[
Lua-controlled Frankenstein Attachments Library by BMD
Installation
-"require" this file inside your code in order to gain access to the Attachments global table.
-Optionally require "libraries/notifications" before this file so that the Attachment Configuration GUI can displ... | mit |
nasomi/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Elysia.lua | 17 | 2386 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Elysia
-- Starts Quest: Unforgiven
-- @zone 26
-- @pos -50.410 -22.204 -41.640
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs")
requir... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.