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 |
|---|---|---|---|---|---|
bmscoordinators/FFXI-Server | scripts/zones/Ghelsba_Outpost/bcnms/wings_of_fury.lua | 27 | 1512 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: Wings of Fury BCNM20
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/dolphin_staff.lua | 41 | 1077 | -----------------------------------------
-- ID: 17134
-- Item: Dolphin Staff
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Dragons_Aery/npcs/relic.lua | 14 | 1860 | -----------------------------------
-- Area: Dragon's Aery
-- NPC: <this space intentionally left blank>
-- @pos -20 -2 61 154
-----------------------------------
package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Dragons_Aery/TextIDs");
-----------... | gpl-3.0 |
deepak78/luci | modules/niu/luasrc/niulib.lua | 49 | 1744 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
loc... | apache-2.0 |
deepak78/luci | protocols/6x4/luasrc/model/cbi/admin_network/proto_6to4.lua | 9 | 2884 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
local ma... | apache-2.0 |
victorholt/Urho3D | Source/ThirdParty/LuaJIT/src/jit/v.lua | 42 | 5755 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
ashkanpj/firec | plugins/stats.lua | 1 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
saibotk/TTT-Team-Buy-Notifications | lua/autorun/client/cl_buy_notif_autorun.lua | 1 | 3330 | -------------------------------------------------------------------------------
-- TTT team buy notifications
-- Copyright (C) 2017-2019 saibotk (tkindanight)
-------------------------------------------------------------------------------
-- This program is free software: you can redistribute it and/or modify
... | gpl-3.0 |
tuxun/smw-funwiki | extensions/Scribunto/tests/engines/LuaCommon/TextLibraryTests.lua | 2 | 15385 | local testframework = require 'Module:TestFramework'
-- Force the argument list to be ordered
local tagattrs = { absent = false, present = true, key = 'value', n = 42 }
setmetatable( tagattrs, { __pairs = function ( t )
local keys = { 'absent', 'present', 'key', 'n' }
local i = 0
return function()
i = i + 1
if ... | gpl-2.0 |
Element-Research/rnn | examples/sequence-to-one.lua | 7 | 2189 | require 'rnn'
-- hyper-parameters
batchSize = 8
rho = 10 -- sequence length
hiddenSize = 100
nIndex = 100 -- input words
nClass = 7 -- output classes
lr = 0.1
-- build simple recurrent neural network
r = nn.Recurrent(
hiddenSize, nn.Identity(),
nn.Linear(hiddenSize, hiddenSize), nn.Sigmoid(),
rho
)
rnn ... | bsd-3-clause |
bmscoordinators/FFXI-Server | scripts/globals/spells/pyrohelix.lua | 26 | 1690 | --------------------------------------
-- 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/ma... | gpl-3.0 |
MRAHS/SBSS_Plus | plugins/MAP.lua | 87 | 1499 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Ghelsba_Outpost/bcnms/petrifying_pair.lua | 27 | 1515 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: pertrifying_pair BCNM30
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyite... | gpl-3.0 |
emoon/wrui | bin/win32/scripts/tundra/path.lua | 20 | 1650 | module(..., package.seeall)
local npath = require "tundra.native.path"
local native = require "tundra.native"
split = npath.split
normalize = npath.normalize
join = npath.join
get_filename_dir = npath.get_filename_dir
get_filename = npath.get_filename
get_extension = npath.g... | mit |
Mogli12/GearboxAddon | sampleMod2/scripts/mogliBase20.lua | 1 | 24920 | --
-- mogliBasics
-- This is the specialization for mogliBasics
--
local mogliBaseVersion = 2.01
if mogliBase20 == nil or mogliBase20.version == nil or mogliBase20.version < mogliBaseVersion then
mogliBase20 = {}
mogliBase20.version = mogliBaseVersion
print("mogliBase.lua version "..tostring(mogliBase20.version)... | gpl-3.0 |
wuyu201321060203/redis-3.0-annotated | deps/lua/test/life.lua | 888 | 2635 | -- life.lua
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
-- modified to use ANSI terminal escape sequences
-- modified to use for instead of while
local write=io.write
ALIVE="¥" DEAD="þ"
ALIVE="O" DEAD="-"
function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
for i=1,10000 do... | bsd-3-clause |
Fawxy/Ensage-Wip | Scripts/Bloodseeker Auto Bloodrage and Kill.lua | 1 | 3548 | -- Bloodseeker will auto bloodrage and attempt to kill lowest target
-- ===================
-- == Features V1.0 ==
-- ===================
-- Hold space to enable
-- Auto phase boots if you have em
-- Auto bloodrage if we can
require("libs.Utils")
require("libs.ScriptConfig")
require("libs.HeroInfo")
-- Script config... | gpl-2.0 |
Choonster-WoW-AddOns/CustomTooltips | core.lua | 1 | 10784 | --[===[
Tooltip Format:
NAME = {
heading = "Heading Text",
body = {{"Body Text Line", RED, GREEN, BLUE}}
},
REQUIRED FIELDS
-- NAME is a unique name for this tooltip, used for the "#customtooltip TooltipName" metacommand in your macro (without the
quotes). This name is case-insensitive, so ExampleName and E... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua | 17 | 1184 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fayeewah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("scripts... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Kazham/npcs/Toji_Mumosulah.lua | 17 | 1636 | -----------------------------------
-- Area: Kazham
-- NPC: Toji Mumosulah
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Vaquelage.lua | 14 | 1535 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Vaquelage
-- Type: Item Deliverer NPC
-- @pos 17.396 1.699 -29.357 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOr... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/North_Gustaberg/npcs/Waterfall_Base.lua | 14 | 1402 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Waterfall Base
-- Involved In Quest: Drachenfall
-- @pos -217.594 98.644 464.722 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ques... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/tortilla.lua | 12 | 1254 | -----------------------------------------
-- ID: 4408
-- Item: tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 6
-- Dexterity -1
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Iruki-Waraki.lua | 13 | 3038 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Iruki-Waraki
-- Type: Standard NPC
-- Involved in quest: No Strings Attached
-- @pos 101.329 -6.999 -29.042 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
firedtoad/skynet | lualib/skynet/db/redis.lua | 10 | 6239 | local skynet = require "skynet"
local socket = require "skynet.socket"
local socketchannel = require "skynet.socketchannel"
local table = table
local string = string
local assert = assert
local redis = {}
local command = {}
local meta = {
__index = command,
-- DO NOT close channel in __gc
}
---------- redis respon... | mit |
bmscoordinators/FFXI-Server | scripts/globals/items/silken_siesta.lua | 12 | 1253 | -----------------------------------------
-- ID: 5626
-- Item: Silken Siesta
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recoverd while healing 2
-- MP Recovered while healing 5
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Kazham/npcs/Nti_Badolsoma.lua | 17 | 1071 | -----------------------------------
-- Area: Kazham
-- NPC: Nti Badolsoma
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_Windurst/npcs/Lebondur.lua | 17 | 1534 | -----------------------------------
-- Area: Port Windurst
-- NPC: Lebondur
-- Regional Marchant NPC
-- Only sells when Windurst controls Vollbow.
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zone... | gpl-3.0 |
lxbgit/luarocks | src/luarocks/refresh_cache.lua | 20 | 1108 |
--- Module implementing the luarocks-admin "refresh_cache" command.
--module("luarocks.refresh_cache", package.seeall)
local refresh_cache = {}
package.loaded["luarocks.refresh_cache"] = refresh_cache
local util = require("luarocks.util")
local cfg = require("luarocks.cfg")
local cache = require("luarocks.cache")
re... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Palborough_Mines/npcs/_3z8.lua | 14 | 1541 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Refiner Lever
-- Involved In Mission: Journey Abroad
-- @zone 143
-- @pos 180 -32 167
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Walls/npcs/HomePoint#1.lua | 27 | 1278 | -----------------------------------
-- Area: Windurst Walls
-- NPC: HomePoint#1
-- @pos -72.069 -5.013 124.784 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
require("scripts/g... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Abyssea-Misareaux/npcs/qm6.lua | 14 | 1354 | -----------------------------------
-- Zone: Abyssea-Misareaux
-- NPC: qm6 (???)
-- Spawns Ironclad Observer
-- @pos ? ? ? 216
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/serving_of_icecap_rolanberry.lua | 12 | 1396 | -----------------------------------------
-- ID: 4556
-- Item: serving_of_icecap_rolanberry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 19
-- Magic Cap 55
-- Intelligence 2
-- Wind Res 5
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
kerb9729/ESOPublicAddons | Alchemist/Alchemist/Batteries.lua | 3 | 1357 | -- table_keys_to_list({a = 1, b = 2}) -> {a, b}
local function table_keys_to_list(tbl)
local ret = {}
for key, _ in pairs(tbl) do
table.insert(ret, key)
end
return ret
end
-- num_items_in_table({2, 4, 6}) -> 3
local function num_items_in_table(tbl)
n = 0
for _ in pairs(tbl) do
n... | bsd-3-clause |
bmscoordinators/FFXI-Server | scripts/zones/LaLoff_Amphitheater/npcs/qm0_3.lua | 17 | 1169 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/galkan_sausage_-1.lua | 12 | 1588 | -----------------------------------------
-- ID: 5862
-- Item: galkan_sausage_-1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength -3
-- Dexterity -3
-- Vitality -3
-- Agility -3
-- Mind -3
-- Intelligence -3
-- Charisma -3
-----------------------------------------
require("scripts... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/weaponskills/true_strike.lua | 25 | 1495 | -----------------------------------
-- True Strike
-- Club weapon skill
-- Skill level: 175
-- Deals params.critical damage. params.accuracy varies with TP.
-- 100% Critical Hit Rate. Has a substantial accuracy penalty at 100TP. http://www.bg-wiki.com/bg/True_Strike
-- Will stack with Sneak Attack.
-- Aligned with the ... | gpl-3.0 |
colesbury/nn | SpatialDilatedConvolution.lua | 9 | 2629 | local THNN = require 'nn.THNN'
local SpatialDilatedConvolution, parent = torch.class('nn.SpatialDilatedConvolution', 'nn.SpatialConvolution')
function SpatialDilatedConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH, dilationW, dilationH)
parent.__init(self, nInputPlane, nOutputPlane, kW, kH, ... | bsd-3-clause |
bmscoordinators/FFXI-Server | scripts/zones/Abyssea-Grauberg/npcs/Cavernous_Maw.lua | 29 | 1196 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Cavernous Maw
-- @pos -564.000, 30.300, -760.000 254
-- Teleports Players to North Gustaberg
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
AmirMohammadLocker/BOT | libs/feedparser.lua | 543 | 11955 | local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./libs/XMLElement.lua")()
local dateparser = (loadfile "./libs/dateparser.lua")()
local URL = (loadfile "./libs/url.lua")()
local tinsert, tremove, tconcat = table.insert... | gpl-3.0 |
bigboyq/proxmark3 | client/lualibs/taglib.lua | 27 | 3737 | local manufacturer = {}
manufacturer[0x01]='Motorola [UK]'
manufacturer[0x02]='STMicroelectronics SA [France]'
manufacturer[0x03]='Hitachi, Ltd [Japan]'
manufacturer[0x04]='NXP Semiconductors [Germany]'
manufacturer[0x05]='Infineon Technologies AG [Germany]'
manufacturer[0x06]='Cylink [USA]'
manufacturer[0x07]='Texas I... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Temenos/mobs/Temenos_Weapon.lua | 26 | 1282 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Temenos_Weapon
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------... | gpl-3.0 |
cypherkey/AvorionMission | entity/merchants/resourcetrader.lua | 1 | 11659 | package.path = package.path .. ";data/scripts/lib/?.lua"
require ("randomext")
require ("galaxy")
require ("utility")
require ("stringutility")
require ("faction")
require ("player")
Dialog = require("dialogutility")
-- Menu items
local window = 0
local buyAmountTextBox = 0
local sellAmountTextBox = 0
local stock =... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/La_Theine_Plateau/npcs/Telepoint.lua | 17 | 1697 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/La_Theine_Plateau/TextIDs");
----------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/cryohelix.lua | 26 | 1687 | --------------------------------------
-- Spell: Cryohelix
-- Deals ice 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/magi... | gpl-3.0 |
telegramxmanbot/aaa | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
shahabsaf1/Teleseed-sami | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
aliomega/aliomega | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Norg/npcs/Solby-Maholby.lua | 17 | 1469 | -----------------------------------
-- Area: Norg
-- NPC: Solby-Maholby
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
require("scripts/zones/Norg/TextIDs");
-----------------------------------
-- onTrade Action
-------... | gpl-3.0 |
deepak78/luci | modules/niu/luasrc/controller/niu/wireless.lua | 49 | 1057 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
modul... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/seismostomp.lua | 51 | 1154 | ---------------------------------------------
-- Seismostomp
--
-- Description: Damage varies with TP. Additional effect: "Stun."
-- Type: Physical (Blunt)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmov... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Beaucedine_Glacier_[S]/Zone.lua | 32 | 1286 | -----------------------------------
--
-- Zone: Beaucedine_Glacier_[S] (136)
--
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Beaucedine_Glacier_[S]/TextIDs");
--... | gpl-3.0 |
Shayan123456/botttttt10 | plugins/translate.lua | 674 | 1637 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local p... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/PsoXja/npcs/_090.lua | 14 | 3070 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _090 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 341.600 -1.925 -50.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
jsenellart/OpenNMT | test/onmt/EncoderTest.lua | 5 | 9155 | require('onmt.init')
local tester = ...
local encoderTest = torch.TestSuite()
local function buildEncoder(class, rnnType, merge, dropout, dropout_type, dropout_input)
local cmd = onmt.utils.ExtendedCmdLine.new()
class.declareOpts(cmd)
local opt = cmd:parse('')
opt.rnn_size = 10
opt.rnn_type = rnnType or '... | mit |
rizaumami/tdcliBot | plugins/kbbi.lua | 1 | 1982 | do
local tagMap = {
['·'] = '·',
['<sup>.-/sup>'] = '',
['<br/>'] = '\n',
['\\/'] = '/',
['—'] = '--',
[' <b>1'] = '\n<b>1',
[' <b>2'] = '\n<b>2',
[' <b>3'] = '\n<b>3',
[' <b>4'] = '\n<b>4',
[' <b>5'] = '\n<b>5',
[' <b>6'] = '\n<b>6',
[' <b>7'] = '\n<b>7',
[' ... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/The_Shrouded_Maw/npcs/MementoCircle.lua | 22 | 1461 | -----------------------------------
-- Area: The_Shrouded_Maw
-- NPC: MementoCircle
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missi... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Western_Adoulin/npcs/Oka_Qhantari.lua | 14 | 1311 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Oka Qhantari
-- Type: Standard NPC and Quest NPC
-- Involved With Quest: 'Order Up'
-- @zone 256
-- @pos -30 3 -6
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua | 26 | 2944 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Radeivepart
-- Starts and Finishes Quest: Northward
-- Involved in Quests: Save the Clock Tower
-- @zone 243
-- @pos 5 9 -39
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Yuhtunga_Jungle/npcs/Blue_Rafflesia.lua | 14 | 6365 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Blue Rafflesia
-- Used in quest Even More Gullible Travels
-- @pos -468.876 -1 220.247 123 <many>
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
jsenellart/OpenNMT | onmt/utils/Profiler.lua | 8 | 4333 | --[[ Profile is a class used for generating profiling of a training
--]]
local Profiler = torch.class('Profiler')
local options = {
{
'-profiler', false,
[[Generate profiling logs.]]
}
}
function Profiler.declareOpts(cmd)
cmd:setCmdLineOptions(options)
end
--[[ Profiler object
To avoid concurrency pro... | mit |
Element-Research/rnn | MaskZero.lua | 3 | 3506 | ------------------------------------------------------------------------
--[[ MaskZero ]]--
-- Decorator that zeroes the output rows of the encapsulated module
-- for commensurate input rows which are tensors of zeros
------------------------------------------------------------------------
local MaskZero, parent = torc... | bsd-3-clause |
diamondo25/Vana | scripts/quests/q2186e.lua | 2 | 1303 | --[[
Copyright (C) 2008-2016 Vana Development Team
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 distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Stellar_Fulcrum/npcs/_4z1.lua | 51 | 1348 | -----------------------------------
-- Area: Stellar Fulcrum
-- NPC: Qe'Lov Gate
-------------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-------------------------------... | gpl-3.0 |
Element-Research/rnn | RecurrentAttention.lua | 7 | 6909 | ------------------------------------------------------------------------
--[[ RecurrentAttention ]]--
-- Ref. A. http://papers.nips.cc/paper/5542-recurrent-models-of-visual-attention.pdf
-- B. http://incompleteideas.net/sutton/williams-92.pdf
-- module which takes an RNN as argument with other
-- hyper-parameters suc... | bsd-3-clause |
cypherkey/AvorionMission | entity/ai/passsector.lua | 1 | 1416 | if onServer() then
package.path = package.path .. ";data/scripts/lib/?.lua"
require ("randomext")
-- ships passing through
local destination = vec3()
local timeInSector = 0
local timeThreshold = random():getFloat(9 * 60, 10 * 60)
function getUpdateInterval()
return 5
end
function initialize(destination_in)
... | gpl-3.0 |
pakozm/april-ann | tools/lgi/gtk.lua | 3 | 2486 | -- module gtk
local gtk = {}
local lgi = require "lgi"
local Gtk = lgi.Gtk
local GdkPixbuf = lgi.GdkPixbuf
function gtk.show(...)
local windows = {}
for i=1,select('#',...) do
local param = select(i,...)
local gtk_image = nil
local tmp_file = nil
if type(param) ~= "string" then
local img = ... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Crawlers_Nest/npcs/Olavia.lua | 14 | 1024 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: Olavia
-- Type: Escort NPC
-- @pos 379.638 -33.051 -0.533 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/TextIDs");
---... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Metalworks/npcs/relic.lua | 14 | 1857 | -----------------------------------
-- Area: Metalworks
-- NPC: <this space intentionally left blank>
-- @pos -20 -11 33 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Arrapago_Reef/mobs/Lamia_Idolater.lua | 46 | 1672 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Lamia Idolator
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-------------------------... | gpl-3.0 |
albanD/adaptive-neural-compilation | adaptation/examples/swap.lua | 1 | 3544 | -- This is a config for the Swap task
local config = {}
-- For conversion to distributions
local distUtils = require 'nc.distUtils'
local f = distUtils.flatDist
-- Name of the algorithm
config.name = "Swap"
-- Number of available registers (excluding the RI)
config.nb_registers = 5
-- Number of instructions this progr... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Tavnazian_Safehold/npcs/HomePoint#1.lua | 27 | 1289 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: HomePoint#1
-- @pos -1.250 -27.907 107.425 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Tavnazian_Safehold/TextIDs");
require... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/puffball.lua | 12 | 1175 | -----------------------------------------
-- ID: 4448
-- Item: puffball
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -4
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
emoon/wrui | bin/win32/scripts/tundra/unitgen.lua | 28 | 6025 | module(..., package.seeall)
local util = require "tundra.util"
local buildfile = require "tundra.buildfile"
local decl = require "tundra.decl"
local nodegen = require "tundra.nodegen"
function match_build_id(id, default)
assert(id)
local i = id:gmatch("[^-]+")
local platform_name, toolset, variant, ... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Cloister_of_Tremors/npcs/qm2.lua | 14 | 1420 | -----------------------------------
-- Area: Cloister of Tremors
-- NPC: qm2 (???)
-- Involved in Quest: Open Sesame
-- Notes: Used to obtain a Tremor Stone
-- @pos -545.184,1.855,-495.693 209
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
---------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Spire_of_Mea/npcs/_0l3.lua | 66 | 1350 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Cloister_of_Tremors/Zone.lua | 30 | 1745 | -----------------------------------
--
-- Zone: Cloister_of_Tremors (209)
--
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Cloister_of_Tremors/TextIDs");
-----------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/polar_bulwark.lua | 27 | 1037 | ---------------------------------------------
-- Polar Bulwark
--
-- Description: Grants a Magic Shield effect for a time.
-- Type: Enhancing
--
-- Range: Self
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmo... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Kuftal_Tunnel/npcs/qm2.lua | 14 | 1125 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ??? (qm2)
-- Note: Used to spawn Cancer & Bastok mission 8-2
-- @pos -25.238 -12.785 -148.393 174
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/zon... | gpl-3.0 |
pakozm/april-ann | tools/LM/xlex_freq.lua | 3 | 5405 | opt = cmdOpt{
program_name = string.basename(arg[0]),
argument_description = "",
main_description = "April lexicon handler",
{
index_name="text",
description="Text file where extract the lexicon (It could be a Lua table with pairs {text,prob} )",
short="t",
argument="yes",
},
{
index_nam... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/effects/vit_down.lua | 34 | 1112 | -----------------------------------
--
-- EFFECT_VIT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_VIT) - effect:ge... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/serving_of_bass_meuniere_+1.lua | 12 | 1663 | -----------------------------------------
-- ID: 4346
-- Item: serving_of_bass_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 3 (cap 130)
-- Dexterity 3
-- Agility 3
-- Mind -3
-- Ranged ACC % 6
-- Ranged ACC Cap 20
-----------------------------------------
require(... | gpl-3.0 |
cypherkey/AvorionMission | lib/shipgenerator.lua | 1 | 5246 | package.path = package.path .. ";data/scripts/lib/?.lua"
package.path = package.path .. ";data/scripts/?.lua"
require ("galaxy")
require ("utility")
require ("defaultscripts")
require ("goods")
PlanGenerator = require ("plangenerator")
FighterGenerator = require ("fightergenerator")
ShipUtility = require ("shiputility... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_Jeuno/npcs/Supiroro.lua | 30 | 1388 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Supiroro
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
------------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mhasbaf.lua | 14 | 1044 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mhasbaf
-- Type: Standard NPC
-- @pos 54.701 -6.999 11.387 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_White... | gpl-3.0 |
deepak78/luci | applications/luci-pbx/luasrc/controller/pbx.lua | 144 | 1448 | --[[
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 |
wingo/snabb | src/apps/lwaftr/ndp.lua | 2 | 15593 | module(..., package.seeall)
-- NDP address resolution.
-- Given a remote IPv6 address, try to find out its MAC address.
-- Exit if this fails.
-- If resolution succeeds:
-- All packets coming through the 'south' interface (ie, via the network card)
-- are silently forwarded.
-- All packets coming through the 'north' i... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/weaponskills/swift_blade.lua | 26 | 1419 | -----------------------------------
-- Swift Blade
-- Sword weapon skill
-- Skill Level: 225
-- Delivers a three-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers: STR:5... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/serving_of_marbled_steak.lua | 12 | 1771 | -----------------------------------------
-- ID: 5157
-- Item: serving_of_marbled_steak
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 6
-- Agility 1
-- Intelligence -3
-- Attack % 18
-- Attack Cap 95
-- Ranged ATT % 18
-- Ranged ATT Cap 95
-- Lizard Killer 5
-------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Crawlers_Nest_[S]/npcs/Chodopopo.lua | 14 | 1069 | ----------------------------------
-- Area: Crawlers' Nest [S]
-- NPC: Chodopopo
-- Type: Item Deliverer
-- @zone 171
-- @pos 100.528 -32.272 -58.739
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil;
require("scripts/zones/Crawlers_Nest_[S]/TextIDs");
-... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/king_truffle.lua | 5 | 1181 | -----------------------------------------
-- ID: 4386
-- King Truffle
-- 5 Minutes, food effect, All Races
-----------------------------------------
-- Strength -6
-- Mind +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----... | gpl-3.0 |
Dhahi374/likwid | src/applications/likwid.lua | 8 | 55718 | local likwid = {}
package.cpath = package.cpath .. ';<PREFIX>/lib/?.so'
require("liblikwid")
require("math")
likwid.groupfolder = "<PREFIX>/share/likwid"
likwid.version = <VERSION>
likwid.release = <RELEASE>
likwid.pinlibpath = "<PREFIX>/lib/liblikwidpin.so"
likwid.dline = string.rep("=",24)
likwid.hline = string.re... | gpl-3.0 |
openwrt-es/openwrt-packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi_stations.lua | 58 | 2753 | local ubus = require "ubus"
local iwinfo = require "iwinfo"
local function scrape()
local metric_wifi_stations = metric("wifi_stations", "gauge")
local metric_wifi_station_signal = metric("wifi_station_signal_dbm","gauge")
local metric_wifi_station_inactive = metric('wifi_station_inactive_milliseconds', 'gauge... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kazween.lua | 14 | 1079 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kazween
-- Type: Item Deliverer
-- @pos -130 -6 95 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/Tex... | gpl-3.0 |
kaeza/lua-chatterbot | chatterbot/ircbot.lua | 1 | 8303 |
local require, setmetatable, print, pairs, ipairs, table_insert, table_concat,
os_time =
require, setmetatable, print, pairs, ipairs, table.insert, table.concat,
os.time
module "chatterbot.ircbot"
local irc = require("irc")
local marshal = require("marshal")
local bot = { }
local bot_meta = {
_... | bsd-2-clause |
bedros/lsyncd | examples/lsayirc.lua | 13 | 4053 | -----
-- An Lsyncd+IRC-Bot Config
--
-- Logs into an IRC channel and tells there everything that happens in the
-- watched directory tree.
--
-- The challenge coding Lsyncd configs taking use of TCP sockets is
-- that they must not block! Otherwise Lsyncd will block, no longer
-- empty the kernels monitor queue, no lo... | gpl-2.0 |
bmscoordinators/FFXI-Server | 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 |
wingo/snabb | src/program/lwaftr/tests/end-to-end/benchrun.lua | 2 | 2556 | #! /usr/bin/env luajit
local ffi = require("ffi")
ffi.cdef("int isatty(int)")
local function printfln(fmt, ...)
print(fmt:format(...))
end
local function average(values)
local sum = 0.0
for _, value in ipairs(values) do
sum = sum + value
end
return sum / #values
end
local function stderror(valu... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_Windurst/npcs/Boronene.lua | 14 | 1049 | -----------------------------------
-- Area: Port Windurst
-- NPC: Boronene
-- Type: Moghouse Renter
-- @zone 240
-- @pos 201.651 -13 229.584
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
---------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/grim_reaper.lua | 37 | 1024 | ---------------------------------------------
-- Grim Reaper
--
-- Description: Deals damage in a threefold attack to targets in a fan-shaped area of effect. Additional effect: Doom
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown cone
-- Notes: Used only by certain Lamia NMs (e.g. Lamia ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.