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
jxlczjp77/pskynet
service/cslave.lua
8
6394
local skynet = require "skynet" local socket = require "socket" local table = table local slaves = {} local connect_queue = {} local globalname = {} local queryname = {} local harbor = {} local harbor_service local monitor = {} local monitor_master_set = {} local function read_package(fd) local sz = socket.read(fd, ...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/spells/cura.lua
35
4128
----------------------------------------- -- Spell: Cura -- Restores hp in area of effect. Self target only -- From what I understand, Cura's base potency is the same as Cure's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga II -- Modeled after our Cure.lua, which was modeled after the below reference -...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/absorb-acc.lua
9
1334
-------------------------------------- -- Spell: Absorb-ACC -- Steals an enemy's accuracy. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Tavnazian_Safehold/npcs/Mazuro-Oozuro.lua
17
1274
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Mazuro-Oozuro -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); -------------------...
gpl-3.0
Etiene/sailor
src/sailor/db/resty_mysql.lua
2
5006
-------------------------------------------------------------------------------- -- resty_mysql.lua, v0.3.1: DB module for connecting and querying through MySQL on openresty servers -- This file is a part of Sailor project -- Copyright (c) 2014 Etiene Dalcol <dalcol@etiene.net> -- License: MIT -- http://sailorproject.o...
mit
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Woods/npcs/Spare_One.lua
17
1505
----------------------------------- -- Area: Windurst Woods -- NPC: Spare One -- Working 100% -- Involved in quest: A Greeting Cardian ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); package.loaded["scripts/zo...
gpl-3.0
cypherkey/AvorionMission
systems/hyperspacebooster.lua
1
4499
package.path = package.path .. ";data/scripts/systems/?.lua" package.path = package.path .. ";data/scripts/lib/?.lua" require ("basesystem") require ("utility") require ("randomext") function getBonuses(seed, rarity) math.randomseed(seed) local reach = 0 local cdfactor = 1 local efactor = 1 local ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/trueflight.lua
19
1978
----------------------------------- -- Trueflight -- Skill Level: N/A -- Description: Deals light elemental damage. Damage varies with TP. Gastraphetes: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Ranger) quest. -- Does not work with Flashy Shot. -- Does not work with Steal...
gpl-3.0
cheney247689848/Cloud-edge
Assets/ToLua/Lua/event.lua
2
4703
-------------------------------------------------------------------------------- -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" -----------------------------------------------------------------...
mit
kharkoni18/teleseed
plugins/inrealm.lua
228
16974
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_group_ch...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Gustav_Tunnel/mobs/Doom_Warlock.lua
2
1090
---------------------------------- -- Area: Gustav Tunnel -- MOB: Doom Warlock -- Note: Place holder Taxim ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Gustav_Tunnel/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------...
gpl-3.0
PraveerSINGH/nn
Criterion.lua
38
1273
local Criterion = torch.class('nn.Criterion') function Criterion:__init() self.gradInput = torch.Tensor() self.output = 0 end function Criterion:updateOutput(input, target) end function Criterion:forward(input, target) return self:updateOutput(input, target) end function Criterion:backward(input, target) ...
bsd-3-clause
Guilty3096/guiltyyy
plugins/banhammer.lua
60
11556
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
rezaar/sorenaFarsi
bot/seedbot.lua
1
10329
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
diamondo25/Vana
scripts/npcs/ossyria3_2.lua
2
1333
--[[ 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
Henkoglobin/lazylualinq
lazylualinq/ordering.lua
1
2880
-- ordering.lua -- -- Contains functions used in the ordering functions of lazylualinq local function getDefaultComparer() return function(a, b) if a < b then return -1 elseif a == b then return 0 else return 1 end end end local function getReverseComparer(comparerFunc) return fun...
unlicense
bmscoordinators/FFXI-Server
scripts/globals/items/bowl_of_ambrosia.lua
12
2366
----------------------------------------- -- ID: 4511 -- Item: Bowl of Ambrosia -- Food Effect: 240Min, All Races ----------------------------------------- -- HP +7 -- MP +7 -- STR +7 -- DEX +7 -- VIT +7 -- AGI +7 -- INT +7 -- MND +7 -- CHR +7 -- Accuracy +7 -- Ranged Accuracy +7 -- Attack +7 -- Ranged Attack +7 -- Eva...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Fort_Karugo-Narugo_[S]/npcs/qm6.lua
14
1727
---------------------------------- -- Area: Fort Karugo Narugo [S] -- NPC: ??? -- Type: Quest -- @zone 96 -- @pos -63 -75 4 -- ----------------------------------- package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil; require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"); require("scripts/globals/...
gpl-3.0
dgengtek/dotfiles
awesome/.config/awesome/rc.lua
1
19871
-- Standard awesome library local gears = require("gears") local awful = require("awful") require("awful.autofocus") -- Widget and layout library local wibox = require("wibox") -- Theme handling library local beautiful = require("beautiful") -- Notification library local naughty = require("naughty") local menubar = req...
mit
chanko08/Ludum-Dare-34
entities/spinner_turret.lua
1
3776
local SplitterItem = require 'entities.splitter_item' local HealthItem = require 'entities.health_item' local SPINNER_PIC = love.graphics.newImage('assets/img/spinner_sheet.png') local SPINNER_GRID = anim8.newGrid(50, 50, SPINNER_PIC:getWidth(), SPINNER_PIC:getHeight()) local SPINNER_BULLET_PIC = love.graphics.new...
mit
bmscoordinators/FFXI-Server
scripts/zones/Bastok_Markets_[S]/Zone.lua
10
1493
----------------------------------- -- -- Zone: Bastok_Markets_[S] (87) -- ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets_[S]/TextIDs"); ---------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Mine_Shaft_2716/Zone.lua
30
1733
----------------------------------- -- -- Zone: Mine_Shaft_2716 (13) -- ----------------------------------- package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Mine_Shaft_2716/TextIDs"); ------------------------...
gpl-3.0
deepak78/luci
libs/web/luasrc/config.lua
88
1070
--[[ LuCI - Configuration Description: Some LuCI configuration values read from uci file "luci" FileId: $Id$ License: Copyright 2008 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 co...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters_[S]/npcs/Ruirara.lua
14
1058
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ruirara -- Type: Standard NPC -- @zone 94 -- @pos -87.378 -2 -158.019 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ------...
gpl-3.0
kerb9729/ESOPublicAddons
Luminary_FishMe/lib/LibAddonMenu-1.0.lua
5
14674
local MAJOR, MINOR = "LibAddonMenu-1.0", 6 local lam, oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not lam then return end --the same or newer version of this lib is already loaded into memory --UPVALUES-- lam.lastAddedControl = {} local lastAddedControl = lam.lastAddedControl local wm = GetWindowManager() ...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/zones/Caedarva_Mire/npcs/_273.lua
9
4734
----------------------------------- -- Area: Caedarva Mire -- Door: Runic Seal -- @pos -353 -3 -20 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("...
gpl-3.0
wingo/snabb
src/program/lisper/dev-env-perftest/gen_pcap.lua
14
2506
#!snabb/src/snabb snsh local pcap = require'lib.pcap.pcap' local eth = require'lib.protocol.ethernet' local ipv6 = require'lib.protocol.ipv6' local ffi = require'ffi' local lib = require'core.lib' local f local function file(filename) if f then f:close() end if not filename then return end print('opening '..file...
apache-2.0
nsimplex/wicker
init/checks.lua
1
6512
-------------------------------------------------------------------------------- -- | -- Module : wicker.init.checks -- Note : -- -- Inspired by the interface of the module 'checks' from -- https://github.com/SierraWireless/luasched -- --------------------------------------------------------------------...
gpl-2.0
XasWorks/LZRTag
ESP/NoAmmoShoot.lua
1
2044
triggerPressed = false; shotsRunning = false; shotTimer = tmr.create(); lastHitTimestamp = 0; disableTime = 4000; munition = 8; function timeSinceLastHit() tSinceHit = tmr.now() - lastHitTimestamp; if(tSinceHit < 0) then tSinceHit = tSinceHit + 2147483647; end return tSinceHit; end function canShoot() i...
gpl-3.0
deepak78/luci
libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua
43
2769
--[[ LuCI - Server Gateway Interface for the uHTTPd server Copyright 2010 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/LICENS...
apache-2.0
wingo/snabb
src/lib/protocol/keyed_ipv6_tunnel.lua
6
3390
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- This is an implementation of the "Keyed IPv6 Tunnel" specification -- conforming to -- http://tools.ietf.org/html/draft-mkonstan-keyed-ipv6-tunnel-01. It -- uses a particular variant of the L2TPv3 encapsulation that uses no -- L2 sublay...
apache-2.0
wingo/snabb
lib/ljsyscall/syscall/osx/ffi.lua
18
7808
-- ffi definitions of OSX types local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local abi = require "syscall....
apache-2.0
rbazaud/vlc
share/lua/sd/jamendo.lua
58
5786
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot org> Rémi Duraffort <ivoire at videolan dot org> Gian Marco Sibilla <techos at jamendo dot com> This program is free software; you can redistribute it and/or modify it under the terms of th...
gpl-2.0
Percona-QA/toku-qa
tokudb/software/sysbench/sysbench-0.5-rate-limited/sysbench/tests/db/select_random_ranges.lua
11
4066
-- This test is designed for testing MariaDB's key_cache_segments for MyISAM, -- and should work with other storage engines as well. -- -- For details about key_cache_segments please refer to: -- http://kb.askmonty.org/v/segmented-key-cache -- function prepare() local query local i set_vars() db_connect()...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Heavens_Tower/Zone.lua
17
2902
----------------------------------- -- -- Zone: Heavens_Tower -- ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Heavens_Tower/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/missions"); ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Western_Adoulin/npcs/Volgoi.lua
14
1137
----------------------------------- -- Area: Western Adoulin -- NPC: Volgoi -- Type: Standard NPC -- @zone 256 -- @pos -154 4 -22 ----------------------------------- require("scripts/globals/missions"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(play...
gpl-3.0
victorholt/Urho3D
bin/Data/LuaScripts/34_DynamicGeometry.lua
15
13262
-- Dynamic geometry example. -- This sample demonstrates: -- - Cloning a Model resource -- - Modifying the vertex buffer data of the cloned models at runtime to efficiently animate them -- - Creating a Model resource and its buffer data from scratch require "LuaScripts/Utilities/Sample" local boxNodes = {...
mit
mohammadrezatitan/maikel
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-3.0
cypherkey/AvorionMission
sectors/lonetradingpost.lua
1
2333
package.path = package.path .. ";data/scripts/lib/?.lua" package.path = package.path .. ";data/scripts/?.lua" SectorGenerator = require ("SectorGenerator") NamePool = require("namepool") Placer = require("placer") local SectorTemplate = {} -- must be defined, will be used to get the probability of this sector funct...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Castle_Oztroja/npcs/_m71.lua
14
1243
----------------------------------- -- Area: Castle Oztroja -- NPC: _m71 (Torch Stand) -- Involved in Mission: Magicite -- @pos -99 24 -105 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); req...
gpl-3.0
bryanmikaelian/dotfiles
config/nvim.symlink/lua/ui/icons.lua
1
2785
local M = {} M.lspkind = { Namespace = "", Text = " ", Method = " ", Function = " ", Constructor = " ", Field = "ﰠ ", Variable = " ", Class = "ﴯ ", Interface = " ", Module = " ", Property = "ﰠ ", Unit = "塞 ", Value = " ", Enum = " ", Keyword = " ", Snippet = "...
mit
wingo/snabb
lib/ljsyscall/syscall/osx/ioctl.lua
24
4079
-- ioctls, filling in as needed local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local function init(types) l...
apache-2.0
hujiewang/ImageTagging
train.lua
1
4407
require 'dp' require 'VGGNet' require 'SaveModel' --require('mobdebug').start() --[[command line arguments]]-- cmd = torch.CmdLine() cmd:text() cmd:text('Image Classification using VGGNet') cmd:text('Example:') cmd:text('$> th train.lua --batchSize 256 --momentum 0.9') cmd:text('Options:') cmd:option('--dataPath', path...
mit
bmscoordinators/FFXI-Server
scripts/zones/Selbina/npcs/Porter_Moogle.lua
14
1519
----------------------------------- -- Area: Selbina -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 248 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scrip...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters/npcs/Kirarara.lua
14
1404
----------------------------------- -- Area: Windurst Waters -- NPC: Kirarara -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 132 -7 172 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/tachi_enpi.lua
26
1376
----------------------------------- -- Tachi Enpi -- Great Katana weapon skill -- Skill Level: 5 -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Light Gorget & Soil Gorget. -- Aligned with the Light Belt & Soil Belt. -- Element: None -- Modifiers: STR:60% -- 100...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/vorpal_scythe.lua
25
1632
----------------------------------- -- Vorpal Scythe -- Scythe weapon skill -- Skill level: 150 -- Delivers a single-hit attack. params.crit varies with TP. -- Modifiers: STR:100% -- 100%TP 200%TP 300%TP -- 1.0 1.0 1.0 ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
sajadaltaiee/telebot
plugins/commands.lua
45
2965
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
diamondo25/Vana
scripts/instances/orbisToElliniaBoarding.lua
2
1443
--[[ 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
wingo/snabb
lib/pflua/tools/helpers/pflua_asm.lua
25
1851
--[[ -- -- This module is used to obtain the resulting jitted asm code for a pcap -- expression using pflua. -- -- The file used for packet filtering is a 1GB file from pflua-bench, so it's -- necessary to clone that repo, uncompress the file and create a symbolic link: -- -- $ git clone https://github.com/Igalia/pflu...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/items/tavnazian_sheep_liver.lua
12
1271
----------------------------------------- -- ID: 5154 -- Item: Tavnazian Sheep Liver -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
Penguinum/keyboard-war
lib/lovedebug.lua
1
25797
--local _Debug table for holding all variables local _Debug = { errors = {}, prints = {}, order = {}, --e for errors, p for prints onTopFeed = {}, orderOffset = 0, longestOffset = 0, drawOverlay = false, tickTime = 0.5, tick = 0.5, drawTick = true, input = "", inputMarker = 0, lastH = nil, lastCut = ni...
mit
bmscoordinators/FFXI-Server
scripts/zones/Aht_Urhgan_Whitegate/npcs/Tazhaal.lua
14
1171
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Tazhaal -- Admits players to the dock in Aht Urhgan -- @pos -5.195 -1 -98.966 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/victory_march.lua
27
1449
----------------------------------------- -- Spell: Victory March -- Gives party members Haste ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spe...
gpl-3.0
deepak78/luci
applications/luci-statistics/luasrc/model/cbi/luci_statistics/csv.lua
80
1198
--[[ Luci configuration model for statistics - collectd csv plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 a...
apache-2.0
mohammad8/0192
bot/utils.lua
309
23029
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
hacker44-h44/h44botv2
bot/utils.lua
309
23029
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
kamranpolice/persian
bot/utils.lua
309
23029
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
pakozm/april-ann
packages/basics/tokens/lua_src/tokens.lua
3
1093
tokens = tokens or {} --------------------------------------------------------------------------- class.extend(tokens.null, "to_lua_string", function(self) return "tokens.null()" end) class.extend(tokens.vector.bunch, "to_lua_string", function(self, format) loc...
gpl-3.0
diamondo25/Vana
scripts/instances/nlcToKerningBoarding.lua
2
1170
--[[ 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
Kasperki/LogisticsUtility
LogisticsSigns/prototypes/items.lua
1
1028
sign_items = {} sign_item = { type = "item", name = "util-sign", icon = "__LogisticsSigns__/graphics/icons/sign-icon.png", flags = {"goes-to-quickbar"}, subgroup = "util-signs", order = "a[energy]-a[sign]", place_result = "util-sign", stack_size = 50 } table.insert(sign_items, sign_ite...
mit
bmscoordinators/FFXI-Server
scripts/zones/Garlaige_Citadel/npcs/_5ki.lua
14
1406
----------------------------------- -- Area: Garlaige Citadel -- NPC: _5ki (Banishing Gate #3) -- @pos -100 -3.008 359 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Garlaige_Citadel/TextIDs"); -------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/bundle_of_shirataki.lua
12
1186
----------------------------------------- -- ID: 5237 -- Item: Bundle of Shirataki -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -3 -- Mind 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Norg/npcs/Heiji.lua
9
3280
----------------------------------- -- Area: Norg -- NPC: Heiji -- Starts and Ends Quest: Like a Shining Subligar -- @pos -1 -5 25 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua
6
2032
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Song Runes -- Finishes Quest: The Old Monument -- @pos -244 16 -280 40 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
deepak78/luci
libs/web/luasrc/dispatcher.lua
7
23615
--[[ LuCI - Dispatcher Description: The request dispatcher and module dispatcher generators FileId: $Id$ License: Copyright 2008 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...
apache-2.0
Percona-QA/toku-qa
tokudb/software/sysbench/backup-test/lua/common.lua
2
4354
-- Input parameters -- oltp-tables-count - number of tables to create -- oltp-secondary - use secondary key instead PRIMARY key for id column -- -- function create_insert(table_id) local index_name local i local j local query if (oltp_secondary) then index_name = "KEY xid" else index_name...
gpl-2.0
chanko08/Ludum-Dare-34
lib/hump/class.lua
25
3024
--[[ Copyright (c) 2010-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
bmscoordinators/FFXI-Server
scripts/zones/Garlaige_Citadel/npcs/_5k9.lua
14
1400
----------------------------------- -- Area: Garlaige Citadel -- NPC: Banishing Gate #2 -- @pos -100 -2.949 81 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Garlaige_Citadel/TextIDs"); ---------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/porter_moogle_util.lua
22
27592
----------------------------------- -- Porter Moogle Utilities -- desc: Common functionality for Porter Moogles. ----------------------------------- require("scripts/globals/common"); -- Item IDs for all of the slips. local slipIds = { 29312, 29313, 29314, 29315, 29316, 29317, 29318, 29319, 29320, 29321, 29322, 29323,...
gpl-3.0
colesbury/nn
CMulTable.lua
22
1350
local CMulTable, parent = torch.class('nn.CMulTable', 'nn.Module') function CMulTable:__init() parent.__init(self) self.gradInput = {} end function CMulTable:updateOutput(input) self.output:resizeAs(input[1]):copy(input[1]) for i=2,#input do self.output:cmul(input[i]) end return self.output e...
bsd-3-clause
olapaola/olapaola-android-scripting
lua/luasocket/etc/lp.lua
59
11566
----------------------------------------------------------------------------- -- LPD support for the Lua language -- LuaSocket toolkit. -- Author: David Burgess -- Modified by Diego Nehab, but David is in charge -- RCS ID: $Id: lp.lua,v 1.14 2005/11/21 07:04:44 diego Exp $ ----------------------------------------------...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/West_Ronfaure/npcs/Esca.lua
14
2932
----------------------------------- -- Area: West Ronfaure -- NPC: Esca -- Involved in Quest "The Pickpocket" -- @pos -624.231 -51.499 278.369 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); req...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/seedspray.lua
31
2112
----------------------------------------- -- Spell: Seedspray -- Delivers a threefold attack. Additional effect: Weakens defense. Chance of effect varies with TP -- Spell cost: 61 MP -- Monster Type: Plantoids -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 61 -- Casting Time: ...
gpl-3.0
deepak78/luci
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
78
1192
--[[ Luci statistics - ping plugin diagram definition (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> 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.apach...
apache-2.0
jsenellart/OpenNMT
test/onmt/BridgeTest.lua
8
1937
require('onmt.init') local tester = ... local bridgeTest = torch.TestSuite() function bridgeTest.inconsistentNumStates() tester:assertError(function () onmt.Bridge('copy', 500, 2, 500, 3) end) end function bridgeTest.inconsistentHiddenSize() tester:assertError(function () onmt.Bridge('copy', 500, 2, 400, 2) end...
mit
bmscoordinators/FFXI-Server
scripts/globals/abilities/samurai_roll.lua
19
2618
----------------------------------- -- Ability: Samurai Roll -- Enhances "Store TP" effect for party members within area of effect -- Optimal Job: Samurai -- Lucky Number: 2 -- Unlucky Number: 6 -- Level 37 -- -- Die Roll |No SAM |With SAM -- 1 |+8 |+18 -- 2 |+32 |+42 -- 3 |+1...
gpl-3.0
amrit110/deepLearThesis
torch/cleanup/data/mnist_transform_72.lua
1
3468
require 'dataset-mnist' require 'image' --[[ This scipt construct 72x72 images with 2-5 MNIST digits. The digits are non-overlaping and are scaled from their original size of 32x32 to 16x16. The labels are stored as [class, x1, y1, x2, y2], where the bounding box coordinates taken from the original placing of the 16x16...
mit
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/magic_hammer.lua
27
1907
----------------------------------------- -- Spell: Magic Hammer -- Steals an amount of enemy's MP equal to damage dealt. Ineffective against undead -- Spell cost: 40 MP -- Monster Type: Beastmen -- Spell Type: Magical (Light) -- Blue Magic Points: 4 -- Stat Bonus: MP-5, MND+2 -- Level: 74 -- Casting Time: 4 seconds --...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/red_curry_bun.lua
12
2142
----------------------------------------- -- ID: 5759 -- Item: red_curry_bun -- Food Effect: 30 Min, All Races ----------------------------------------- -- TODO: Group effects -- Health 25 -- Strength 7 -- Agility 1 -- Intelligence -2 -- Attack % 23 (cap 150) -- Ranged Atk % 23 (cap 150) -- Demon Killer 4 -- Resist Sle...
gpl-3.0
emoon/wrui
bin/win32/scripts/tundra/tools/msvc6.lua
22
3214
-- msvc6.lua - Visual Studio 6 module(..., package.seeall) local native = require "tundra.native" local os = require "os" function path_combine(path, path_to_append) if path == nil then return path_to_append end if path:find("\\$") then return path .. path_to_append end return path .. "\\" .. path_...
mit
bmscoordinators/FFXI-Server
scripts/zones/Kuftal_Tunnel/TextIDs.lua
7
1264
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Obtain...
gpl-3.0
Rainrider/AdiButtonAuras
rules/Monk.lua
1
1834
--[[ AdiButtonAuras - Display auras on action buttons. Copyright 2013-2016 Adirelle (adirelle@gmail.com) All rights reserved. This file is part of AdiButtonAuras. AdiButtonAuras 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 Softwa...
gpl-3.0
user-none/lua-hashings
test/vectors.lua
1
13127
hash_test_names = { "v1", "v2", "v3", "v4", "v5", "v6", "v7", "v8", "v9", "v10", "v11", "v12", "v13", "v14", "v15", "v16", "v17", "v18", "v19", "v20", "v21", "v22", "v23" } hash_test_input = { v1 = { "" }, v2 = { "abc" }, v3 = { "test 123" }, v4 = { "The quick brown fox jumps over the l...
mit
bmscoordinators/FFXI-Server
scripts/zones/Cape_Teriggan/npcs/Salimardi_RK.lua
14
3316
----------------------------------- -- Area: Cape Teriggan -- NPC: Bright Moon -- Type: Outpost Conquest Guards -- @pos -185 7 -63 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("scri...
gpl-3.0
Mogli12/GearboxAddon
FS17_GearboxAddon/gearboxMogliScreen.lua
2
4274
--*************************************************************** -- -- gearboxMogliScreen -- -- version 2.200 by mogli (biedens) -- --*************************************************************** local gearboxMogliVersion=2.201 -- allow modders to include this source file together with mogliScreen.lua in their mo...
gpl-3.0
Mogli12/GearboxAddon
src/gearboxMogliScreen.lua
2
4274
--*************************************************************** -- -- gearboxMogliScreen -- -- version 2.200 by mogli (biedens) -- --*************************************************************** local gearboxMogliVersion=2.201 -- allow modders to include this source file together with mogliScreen.lua in their mo...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/prized_seafood_stewpot.lua
12
2046
----------------------------------------- -- ID: 5240 -- Item: Prized Seafood Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 100 -- MP +20 -- Dexterity 2 -- Vitality 2 -- Agility 2 -- Mind 2 -- HP Recovered while healing 9 -- MP Recovered while he...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Southern_San_dOria_[S]/npcs/Dilgeur.lua
14
1110
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Dilgeur -- Misnamed NPC, name is Crochepallade when it should be Dilgeur, swap pos with the NPC at -46 2 -8 -- @zone 80 -- @pos 22 2 3 ----------------------------------- package.loaded["scripts/zones/Southern...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/San_dOria-Jeuno_Airship/TextIDs.lua
7
1088
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Obtain...
gpl-3.0
tylerfowle/hammerspoon
apps/scratchpad.lua
1
4121
-- module: scratchpad - quick place to jot down info -- I use this for short-term todos and reminders, mostly. -- local m = {} local ufile = require('utils.file') local uapp = require('utils.app') local lastApp = nil local chooser = nil local menu = nil local visible = false -- COMMANDS local commands = { { ['...
mit
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/self-destruct.lua
32
1265
----------------------------------------- -- Spell: Self-Destruct -- Sacrifices HP to damage enemies within range. Affects caster with Weakness -- Spell cost: 100 MP -- Monster Type: Arcana -- Spell Type: Magical (Fire) -- Blue Magic Points: 3 -- Stat Bonus: STR+2 -- Level: 50 -- Casting Time: 3.25 seconds -- Recast Ti...
gpl-3.0
mehrpouya81/masterbot
plugins/antibot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
5620g/38196040
plugins/anti_bot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
groupforspeed/TeleSpeed-Tg
plugins/anti_fosh.lua
1
1158
local function run(msg) local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['antifosh'] == 'yes' then if not is_momod(msg) then chat_del_user('chat#id'..msg.to.id, 'user#id'..msg.from.id, ok_cb, true) local msgtag = 'کلمه زشت ممنوع است' local receiver = msg.to....
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Windurst/npcs/Sachetan_IM.lua
13
5578
----------------------------------- -- Area: Port Windurst -- NPC: Sachetan, I.M. -- @pos -82 -5 165 z 240 -- 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 S...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Walls/npcs/Esmeralda.lua
14
1051
----------------------------------- -- Area: Windurst Walls -- NPC: Esmeralda -- Type: Consul. Rep. -- @zone 239 -- @pos 128.629 -12.5 139.387 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; -------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Norg/npcs/Shivivi.lua
14
3175
----------------------------------- -- Area: Norg -- NPC: Shivivi -- Starts Quest: Secret of the Damp Scroll -- @zone 252 -- @pos 68.729 -6.281 -6.432 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
wingo/snabb
src/apps/lwaftr/binding_table.lua
2
19251
-- AFTR Binding Table -- -- A binding table is a collection of softwires (tunnels). One endpoint -- of the softwire is in the AFTR and the other is in the B4. A -- softwire provisions an IPv4 address (or a part of an IPv4 address) to -- a customer behind a B4. The B4 arranges for all IPv4 traffic to be -- encapsulat...
apache-2.0
wingo/snabb
src/lib/ipc/shmem/shmem.lua
15
20016
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- The shmem base class provides a simple IPC mechanism to exchange -- arbitrary cdata objects with other processes through a file-backed -- shared memeory region, referred to as the "data file". The memory -- layout of such a region is de...
apache-2.0