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
AdamGagorik/darkstar
scripts/zones/Metalworks/npcs/Lexun-Marixun_WW.lua
13
5592
----------------------------------- -- Area: Metalworks -- NPC: Lexun-Maxirun, W.W. -- @pos 28 -16 28 237 -- 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 Su...
gpl-3.0
martin-ueding/vicious
widgets/volume.lua
6
1380
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local tonumber = tonumber local io = { popen = io.popen } local setmetatable = setmetatable ...
gpl-2.0
sbuettner/kong
spec/integration/dao/cassandra/base_dao_spec.lua
1
24318
local spec_helper = require "spec.spec_helpers" local cassandra = require "cassandra" local constants = require "kong.constants" local DaoError = require "kong.dao.error" local utils = require "kong.tools.utils" local cjson = require "cjson" local uuid = require "uuid" -- Raw session for double-check purposes local se...
mit
AdamGagorik/darkstar
scripts/globals/items/plate_of_ic_pilav_+1.lua
18
1948
----------------------------------------- -- ID: 5585 -- Item: plate_of_ic_pilav_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- Ranged ATT % ...
gpl-3.0
neechbear/colloquy
src/users.lua
1
7009
-- stuff to handle users users = { god = { password = crypt("godgod"), -- god's default password is "god" privs = "ABCDEFGHIJKLMNOPQRSTUVWXYZ", site = "", talktime = 0, } } -- the users table is keyed by lower-case username. The values are -- a table describing that user, in the followi...
mit
AdamGagorik/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gc.lua
13
1340
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gc (Lever A) -- @pos -4 -40.561 -54.199 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); --------------------------...
gpl-3.0
Hostle/luci
applications/luci-app-olsr/luasrc/controller/olsr.lua
9
9924
module("luci.controller.olsr", package.seeall) local neigh_table = nil local ifaddr_table = nil function index() local ipv4,ipv6 if nixio.fs.access("/etc/config/olsrd") then ipv4 = 1 end if nixio.fs.access("/etc/config/olsrd6") then ipv6 = 1 end if not ipv4 and not ipv6 then return end require("luci.mo...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Upper_Jeuno/npcs/Migliorozz.lua
13
1048
----------------------------------- -- Area: Upper Jeuno -- NPC: Migliorozz -- Type: Standard NPC -- @zone: 244 -- @pos -37.760 -2.499 12.924 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/bowl_of_pebble_soup.lua
18
1130
----------------------------------------- -- ID: 4455 -- Item: Bowl of Pebble Soup -- Food Effect: 3 Hr, All Races ----------------------------------------- -- MP Recovered while healing 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_server_status/mod_server_status.lua
32
4748
-- (C) 2011, Marco Cirillo (LW.Org) -- Display server stats in readable XML or JSON format module:depends("http") local base_path = module:get_option_string("server_status_basepath", "/server-status/") local show_hosts = module:get_option_array("server_status_show_hosts", nil) local show_comps = module:get_option_arr...
mit
AdamGagorik/darkstar
scripts/zones/Selbina/npcs/Humilitie.lua
39
1459
----------------------------------- -- Area: Selbina -- NPC: Humilitie -- Reports the time remaining before boat arrival. -- @pos 17.979 -2.39 -58.800 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextI...
gpl-3.0
paritoshmmmec/kong
spec/unit/dao/cassandra/query_builder_spec.lua
13
6551
local builder = require "kong.dao.cassandra.query_builder" describe("Query Builder", function() local apis_details = { primary_key = {"id"}, clustering_key = {"cluster_key"}, indexes = {public_dns = true, name = true} } describe("SELECT", function() it("should build a SELECT query", function()...
mit
paritoshmmmec/kong
spec/plugins/ratelimiting/api_spec.lua
13
1370
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" local BASE_URL = spec_helper.API_URL.."/apis/%s/plugins/" describe("Rate Limiting API", function() setup(function() spec_helper.prepare_db() spec_helper.insert_fixtures { a...
mit
AdamGagorik/darkstar
scripts/zones/Windurst_Woods/npcs/Kopua-Mobua_AMAN.lua
62
1375
----------------------------------- -- Area: Windurst Woods -- NPC: Kopua-Mobua A.M.A.N. -- Type: Mentor Recruiter -- @pos -23.134 1.749 -67.284 241 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/plate_of_flapanos_paella.lua
18
1480
----------------------------------------- -- ID: 5975 -- Item: Plate of Flapano's Paella -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 45 -- Vitality 6 -- Defense % 26 Cap 155 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); -----------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/excalibur.lua
27
1097
----------------------------------------- -- ID: 18276 -- Item: Excalibur -- Additional Effect: Damage proportionate to current HP (25% Current HP) ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/weaponskills"); ----------------------------------- -- onAdditionalEf...
gpl-3.0
nerdclub-tfg/telegram-bot
plugins/isup.lua
741
3095
do local socket = require("socket") local cronned = load_from_file('data/isup.lua') local function save_cron(msg, url, delete) local origin = get_receiver(msg) if not cronned[origin] then cronned[origin] = {} end if not delete then table.insert(cronned[origin], url) else for k,v in pairs(cronned[...
gpl-2.0
mohammad25253/seed238
plugins/isup.lua
741
3095
do local socket = require("socket") local cronned = load_from_file('data/isup.lua') local function save_cron(msg, url, delete) local origin = get_receiver(msg) if not cronned[origin] then cronned[origin] = {} end if not delete then table.insert(cronned[origin], url) else for k,v in pairs(cronned[...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Lower_Jeuno/npcs/Panta-Putta.lua
25
4244
----------------------------------- -- Area: Lower Jeuno -- NPC: Panta-Putta -- Starts and Finishes Quest: The Wonder Magic Set, The kind cardian -- Involved in Quests: The Lost Cardian -- @zone 245 -- @pos -61 0 -140 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gb.lua
13
1344
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gb (Lever B) -- @pos 19.999 -40.561 -54.198 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); ----------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Northern_San_dOria/npcs/Sochiene.lua
13
1038
----------------------------------- -- Area: Northern San d'Oria -- NPC: Sochiene -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos 4.000 0.000 -28.000 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); ...
gpl-3.0
D-m-L/evonara
modules/libs/Peep/LoveFrames/libraries/util.lua
1
10357
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- util library loveframes.util = {} --[[--------------------------------------------------------- - func: SetActiveSkin(n...
mit
AdamGagorik/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Cacaroon.lua
19
2405
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Cacaroon -- Standard Info NPC -- @pos -72.026 0.000 -82.337 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegat...
gpl-3.0
Nathan22Miles/sile
languages/bn.lua
4
1141
SILE.hyphenator.languages["bn"] = {}; SILE.hyphenator.languages["bn"].patterns = { -- GENERAL RULE -- Do not break either side of ZERO-WIDTH JOINER (U+200D) "2‍2", -- Break on both sides of ZERO-WIDTH NON JOINER (U+200C) "1‌1", -- Break before or after any independent vowel. "অ1", "আ1", "ই1", "ঈ1", "উ1", "ঊ1", "ঋ1...
mit
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/sound_blast.lua
26
1358
----------------------------------------- -- Spell: Sound Blast -- Lowers Intelligence of enemies within range. -- Spell cost: 25 MP -- Monster Type: Birds -- Spell Type: Magical (Fire) -- Blue Magic Points: 1 -- Stat Bonus: None -- Level: 32 -- Casting Time: 4 seconds -- Recast Time: 30 seconds -- Magic Bursts on: Liq...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/cursed_sphere.lua
35
1489
----------------------------------------- -- Spell: Cursed Sphere -- Deals water damage to enemies within area of effect -- Spell cost: 36 MP -- Monster Type: Vermin -- Spell Type: Magical (Water) -- Blue Magic Points: 2 -- Stat Bonus: MND+1 -- Level: 18 -- Casting Time: 3 seconds -- Recast Time: 19.5 seconds -- Magic ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/abilities/konzen-ittai.lua
27
1660
----------------------------------- -- Ability: Konzen-Ittai -- Readies target for a skillchain. -- Obtained: Samurai Level 65 -- Recast Time: 0:03:00 -- Duration: 1:00 or until next Weapon Skill ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("script...
gpl-3.0
aliomega/aliomega
plugins/stats.lua
866
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
PraveerSINGH/nn
TemporalConvolution.lua
14
2040
local TemporalConvolution, parent = torch.class('nn.TemporalConvolution', 'nn.Module') function TemporalConvolution:__init(inputFrameSize, outputFrameSize, kW, dW) parent.__init(self) dW = dW or 1 self.inputFrameSize = inputFrameSize self.outputFrameSize = outputFrameSize self.kW = kW self.dW = dW ...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/zones/South_Gustaberg/npcs/qm2.lua
27
2839
----------------------------------- -- Area: South Gustaberg -- NPC: ??? -- Involved in Quest: Smoke on the Mountain -- @pos 461 -21 -580 107 ----------------------------------- package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/South_Gustaberg/Te...
gpl-3.0
zantze/tuomio-topdown
videogame/vector.lua
28
5323
--[[ 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
diamondo25/Vana
scripts/instances/hakToMuLung.lua
2
1037
--[[ 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
mohammad8/0192
plugins/Location.lua
185
1565
-- 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
5620g/38196040
plugins/location.lua
185
1565
-- 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
rizaumami/tdcliBot
plugins/base64.lua
1
1432
do local function run(msg, matches) if matches[1] then local str = matches[1] local bit = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' local b64 = ((str:gsub( '.', function(x) local r, bit = '', x:byte() for integer = 8, 1, -1 do ...
gpl-3.0
Mogli12/GearboxAddon
Documents/Motorized.lua
1
73056
--====================================================================================================== -- preLoad --====================================================================================================== -- Description -- Called before loading -- Definition -- preLoad(table savegame) -- Arguments...
gpl-3.0
dvv/u-gotta-luvit
example.lua
1
3586
require('lib/util') local Stack = require('lib/stack') --[[ * * Application * ]]-- local function authenticate(session, credentials, cb) -- N.B. this is simple "toggle" logic. -- in real world you should check credentials passed in `credentials` -- to decide whether to let user in. -- just assign `null` to...
mit
firedtoad/skynet
service/multicastd.lua
16
5570
local skynet = require "skynet" local mc = require "skynet.multicast.core" local datacenter = require "skynet.datacenter" local harbor_id = skynet.harbor(skynet.self()) local command = {} local channel = {} local channel_n = {} local channel_remote = {} local channel_id = harbor_id local NORET = {} local function ge...
mit
tehran98/Team-Spammer
plugins/id.lua
355
2795
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..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Arrapago_Reef/mobs/Zareehkl_the_Jubilant.lua
23
1703
----------------------------------- -- Area: Arrapago Reef -- NPC: Zareehkl the Jubilant ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ------------------...
gpl-3.0
PraveerSINGH/nn
SpatialSubtractiveNormalization.lua
18
4314
local SpatialSubtractiveNormalization, parent = torch.class('nn.SpatialSubtractiveNormalization','nn.Module') function SpatialSubtractiveNormalization:__init(nInputPlane, kernel) parent.__init(self) -- get args self.nInputPlane = nInputPlane or 1 self.kernel = kernel or torch.Tensor(9,9):fill(1) local ...
bsd-3-clause
albanD/adaptive-neural-compilation
adaptation/examples/increment.lua
1
3025
-- This is a config for the increment task local config = {} -- For conversion to distributions local distUtils = require 'nc.distUtils' local f = distUtils.flatDist -- Name of the algorithm config.name = "Increment" -- Number of available registers (excluding the RI) config.nb_registers = 6 -- Number of instructions ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Jugner_Forest/npcs/Alexius.lua
14
1619
----------------------------------- -- Area: Jugner Forest -- NPC: Alexius -- Involved in Quest: A purchase of Arms & Sin Hunting -- @pos 105 1 382 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titl...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Eastern_Altepa_Desert/npcs/Field_Manual.lua
29
1067
----------------------------------- -- Field Manual -- Area: Eastern Altepa Desert ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ----------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Chamber_of_Oracles/Zone.lua
30
1741
----------------------------------- -- -- Zone: Chamber_of_Oracles (168) -- ----------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Chamber_of_Oracles/TextIDs"); --------------...
gpl-3.0
jsenellart/OpenNMT
tools/build_vocab.lua
7
1515
require('onmt.init') local cmd = onmt.utils.ExtendedCmdLine.new('build_vocab.lua') local options = { { '-data', '', [[Data file.]], { valid = onmt.utils.ExtendedCmdLine.fileExists } }, { '-save_vocab', '', [[Vocabulary dictionary prefix.]], { valid = onmt.utils.ExtendedCm...
mit
wingo/snabb
lib/ljsyscall/syscall/linux/errors.lua
24
5242
-- Linux error messages return { PERM = "Operation not permitted", NOENT = "No such file or directory", SRCH = "No such process", INTR = "Interrupted system call", IO = "Input/output error", NXIO = "No such device or address", ["2BIG"] = "Argument list too long", NOEXEC = "Exec format error", BADF = ...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-Konschtat/npcs/qm14.lua
4
1761
----------------------------------- -- Zone: Abyssea-Konschtat -- NPC: qm14 (???) -- Spawns Kukulkan -- @pos ? ? ? 15 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action -----------------------------------...
gpl-3.0
wingo/snabb
src/dasm_x86.lua
11
74171
------------------------------------------------------------------------------ -- DynASM x86/x64 module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ local x64 = rawget(_G, "x64"...
apache-2.0
groupforspeed/TeleSpeed-Tg
plugins/location.lua
93
1704
-- 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
groupforspeed/TeleSpeed-Tg
plugins/boobs.lua
90
1731
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Port_San_dOria/npcs/Avandale.lua
14
1052
----------------------------------- -- Area: Port San d'Oria -- NPC: Avandale -- Type: Standard NPC -- @zone 232 -- @pos -105.524 -9 -125.274 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ------------...
gpl-3.0
Trebek/ComputerCraft
Funhouse/Archived/Funhouse_v0.3.2.lua
1
22464
--[[ INFO ]] -- -- Name: Tales from the Funhouse -- Version: 0.3.2 -- Date: 25/08/2013 -- Author: Alex Crawford -- Notes: N/A --[[ TABLE OF CONTENTS S1 - Tables S1.1 - Error Message Table S1.2 - Room Table S1.3 - Player Table S1.3.1 - Inventory Table S1.4 - Action Table S2 - 'Core' Functions S2.1 - Print Tit...
mit
bmscoordinators/FFXI-Server
scripts/globals/abilities/jump.lua
14
2211
----------------------------------- -- Ability: Jump -- Delivers a short jumping attack on a targeted enemy. -- Obtained: Dragoon Level 10 -- Recast Time: 1:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/weapo...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/wild_onion.lua
12
1180
----------------------------------------- -- ID: 4387 -- Item: wild_onion -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 4 -- Vitality -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Windurst/npcs/Kususu.lua
17
1729
----------------------------------- -- Area: Port Windurst -- NPC: Kususu -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ---...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Meriphataud_Mountains/npcs/Muzeze.lua
14
1049
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Muzeze -- Type: Armor Storer -- @pos -6.782 -18.428 208.185 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Meriphataud_...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/konigskuchen.lua
12
1443
----------------------------------------- -- ID: 5614 -- Item: konigskuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 8 -- Magic % 3 -- Magic Cap 13 -- Intelligence 2 -- hMP +1 ----------------------------------------- require("scripts/globals/status"); --------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/grand_slam.lua
33
1713
----------------------------------------- -- Spell: Grand Slam -- Delivers an area attack. Damage varies with TP -- Spell cost: 24 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 2 -- Stat Bonus: INT+1 -- Level: 30 -- Casting Time: 1 seconds -- Recast Time: 14.25 seconds -- Skillchain...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Garlaige_Citadel/npcs/Mashira.lua
14
2139
----------------------------------- -- Area: Garlaige Citadel -- NPC: Mashira -- Involved in Quests: Rubbish day, Making Amens! -- @pos 141 -6 138 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Al_Zahbi/npcs/Talruf.lua
14
1033
----------------------------------- -- Area: Al Zahbi -- NPC: Talruf -- Type: Standard NPC -- @zone 48 -- @pos 100.878 -7 14.291 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------------------...
gpl-3.0
tuxun/smw-funwiki
extensions/Scribunto/tests/engines/LuaCommon/SiteLibraryTests.lua
4
5124
local testframework = require 'Module:TestFramework' local function nsTest( ... ) local args = { ... } local t = mw.site.namespaces local path = 'mw.site.namespaces' for i = 1, #args do t = t[args[i]] path = path .. string.format( '[%q]', args[i] ) if t == nil then error( path .. ' is nil!' ) end end ...
gpl-2.0
xushiwei/rapidjson
build/premake4.lua
3
3520
function setTargetObjDir(outDir) for _, cfg in ipairs(configurations()) do for _, plat in ipairs(platforms()) do local action = _ACTION or "" local prj = project() --"_debug_win32_vs2008" local suffix = "_" .. cfg .. "_" .. plat .. "_" .. action targetPath = outDir suffi...
mit
bmscoordinators/FFXI-Server
scripts/zones/Lower_Jeuno/npcs/Parike-Poranke.lua
14
1121
----------------------------------- -- Area: Lower Jeuno -- NPC: Parike-Poranke -- Type: Adventurer's Assistant -- @zone 245 -- @pos -33.161 -1 -61.303 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; -------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Hall_of_Transference/npcs/_0e0.lua
14
1356
----------------------------------- -- Area: Hall of Transference -- NPC: Cermet Gate - Holla -- @pos -219 -6 280 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/H...
gpl-3.0
victorholt/Urho3D
bin/Data/LuaScripts/48_Hello3DUI.lua
19
9612
-- A 3D UI demonstration based on the HelloGUI sample. Renders UI alternatively -- either to a 3D scene object using UIComponent, or directly to the backbuffer. require "LuaScripts/Utilities/Sample" local window = nil local dragBeginPosition = IntVector2(0, 0) local textureRoot = nil local current = nil local renderO...
mit
bmscoordinators/FFXI-Server
scripts/zones/Southern_San_dOria_[S]/Zone.lua
10
2560
----------------------------------- -- -- Zone: Southern_San_dOria_[S] (80) -- ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); requ...
gpl-3.0
Element-Research/rnn
BiSequencer.lua
10
2488
------------------------------------------------------------------------ --[[ BiSequencer ]]-- -- Encapsulates forward, backward and merge modules. -- Input is a sequence (a table) of tensors. -- Output is a sequence (a table) of tensors of the same length. -- Applies a forward rnn to each element in the sequence in -...
bsd-3-clause
diamondo25/Vana
scripts/npcs/con1.lua
2
2622
--[[ 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
P1sec/LTE_monitor_c2xx
wireshark/epan/wslua/template-init.lua
1
2650
-- init.lua -- -- initialize wireshark's lua -- -- This file is going to be executed before any other lua script. -- It can be used to load libraries, disable functions and more. -- -- $Id: template-init.lua 49608 2013-05-29 06:50:28Z lego $ -- -- Wireshark - Network traffic analyzer -- By Gerald Combs <gerald@wiresh...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/effects/aftermath_lv1.lua
30
1130
----------------------------------- -- -- EFFECT_AFTERMATH_LV1 -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); if (effe...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/The_Eldieme_Necropolis/npcs/qm9.lua
57
2181
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm9 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- @pos 92.272 -32 -64.676 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
tuxology/bcc
src/lua/bpf/cdef.lua
4
9392
--[[ Copyright 2016 Marek Vavrusa <mvavrusa@cloudflare.com> 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 t...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/items/plate_of_royal_sautee.lua
12
1839
----------------------------------------- -- ID: 4295 -- Item: plate_of_royal_sautee -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 5 -- Agility 1 -- Intelligence -2 -- Attack +22% (cap 80) -- Ranged Attack +22% (cap 80) -- Stun Resist +4 -- HP recovered while healing +1 -------...
gpl-3.0
firedtoad/skynet
service/gate.lua
16
2079
local skynet = require "skynet" local gateserver = require "snax.gateserver" local watchdog local connection = {} -- fd -> connection : { fd , client, agent , ip, mode } local forwarding = {} -- agent -> connection skynet.register_protocol { name = "client", id = skynet.PTYPE_CLIENT, } local handler = {} function...
mit
bmscoordinators/FFXI-Server
scripts/zones/Norg/npcs/_700.lua
14
2994
----------------------------------- -- Area: Norg -- NPC: Oaken door (Gilgamesh's room) -- @pos 97 -7 -12 252 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/settings") ----------------------------------- -- onTrade Action ----------------------------------- functio...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/baked_apple.lua
12
1271
----------------------------------------- -- ID: 4406 -- Item: Baked Apple -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 20 -- Agility -1 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
deepak78/luci
libs/nixio/lua/nixio/util.lua
179
5824
--[[ nixio - Linux I/O library for lua 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$ ]]-- local...
apache-2.0
DarkWanderer/DW.Lua
DW.Lua.UnitTests/Code/Fixtures/tpack.lua
6
10603
-- $Id: tpack.lua,v 1.13 2016/11/07 13:11:28 roberto Exp $ -- See Copyright Notice in file all.lua local pack = string.pack local packsize = string.packsize local unpack = string.unpack print "testing pack/unpack" -- maximum size for integers local NB = 16 local sizeshort = packsize("h") local sizeint = packsize("i...
mit
midnightviking/simple-rotation
Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua
52
9726
local AceGUI = LibStub("AceGUI-3.0") -- Lua APIs local pairs, assert, type = pairs, assert, type -- WoW APIs local PlaySound = PlaySound local CreateFrame, UIParent = CreateFrame, UIParent -- Global vars/functions that we don't upvalue since they might get hooked, or upgraded -- List them here for Mikk's FindGlobals...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/spells/hydrohelix.lua
26
1690
-------------------------------------- -- Spell: Hydrohelix -- Deals water 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/m...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Al_Zahbi/npcs/Yudi_Yolhbi.lua
53
2326
----------------------------------- -- Area: Al Zahbi -- NPC: Yudi Yolhbi -- Type: Woodworking Normal/Adv. Image Support -- @pos -71.584 -7 -56.018 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
RockySeven3161/NewBot
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
deepak78/luci
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua
80
1153
--[[ LuCI - Lua Configuration Interface (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.controller.l...
apache-2.0
MRAHS/SBSS_Plus
bot/InfernalTG.lua
1
8718
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 = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Konschtat_Highlands/npcs/qm1.lua
14
1374
----------------------------------- -- Area: Konschtat Highlands -- NPC: qm1 (???) -- Continues Quests: Past Perfect -- @pos -201 16 80 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Gusgen_Mines/npcs/Clay.lua
14
1229
----------------------------------- -- Area: Gusgen Mines -- NPC: Clay -- Involved in Quest: A Potter's Preference -- @pos 117 -21 432 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scr...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Horlais_Peak/bcnms/hostile_herbivores.lua
30
1739
----------------------------------- -- Area: Horlias peak -- Name: Hostile Herbivores -- BCNM50 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Horlais_Peak/TextIDs"); ----------------------------------- -- EXAM...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/abilities/beast_roll.lua
19
2633
----------------------------------- -- Ability: Beast Roll -- Enhances pet attacks for party members within area of effect -- Optimal Job: Beastmaster -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 34 -- -- Die Roll |No BST |With BST -- -------- -------- ----------- -- 1 |16 |41 -- 2 |20...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/huton_san.lua
21
1271
----------------------------------------- -- Spell: Huton: San -- Deals wind damage to an enemy and lowers its resistance against ice. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/feather_tickle.lua
25
1164
----------------------------------------- -- Spell: Feather Tickle -- Reduces an enemy's TP -- Spell cost: 48 MP -- Monster Type: Birds -- Spell Type: Magical (Wind) -- Blue Magic Points: 3 -- Stat Bonus: AGI+1 -- Level: 64 -- Casting Time: 4 seconds -- Recast Time: 26 seconds -- Magic Bursts on: Detonation, Fragmentat...
gpl-3.0
victorholt/Urho3D
bin/Data/LuaScripts/01_HelloWorld.lua
24
1882
-- This first example, maintaining tradition, prints a "Hello World" message. -- Furthermore it shows: -- - Using the Sample utility functions as a base for the application -- - Adding a Text element to the graphical user interface -- - Subscribing to and handling of update events require "LuaScripts...
mit
victorholt/Urho3D
bin/Data/LuaScripts/Utilities/ScriptCompiler.lua
29
1247
-- Script to recursively compile lua files located in specified rootFolder to luc (bytecode) -- Usage: require "LuaScripts/Utilities/LuaScriptCompiler" -- Set root folder containing lua files to convert local rootFolder = "Data/LuaScripts/" -- Starting from bin folder if not fileSystem:DirExists(rootFolder) then log:...
mit
bmscoordinators/FFXI-Server
scripts/globals/items/pork_cutlet.lua
12
1737
----------------------------------------- -- ID: 6394 -- Item: pork_cutlet -- Food Effect: 180Min, All Races ----------------------------------------- -- HP +40 -- STR +7 -- INT -7 -- Fire resistance +20 -- Attack +20% (cap 120) -- Ranged Attack +20% (cap 120) ----------------------------------------- require("scripts...
gpl-3.0
deepak78/luci
applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua
14
3181
--[[ Luci diag - Diagnostics controller module (c) 2009 Daniel Dickinson 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 ]]-- module("luci.cont...
apache-2.0
tuxun/smw-funwiki
extensions/Scribunto/tests/engines/LuaStandalone/StandaloneTests.lua
9
1406
local testframework = require( 'Module:TestFramework' ) local function setfenv1() local ok, err = pcall( function() setfenv( 2, {} ) end ) if not ok then err = string.gsub( err, '^%S+:%d+: ', '' ) error( err ) end end local function getfenv1() local env pcall( function() env = getfenv( 2 ) end ) retur...
gpl-2.0
XtBot/xt
plugins/Abjad.lua
13
4026
local numbers = {} numbers['ا'] = 1 numbers['ب'] = 2 numbers['ج'] = 3 numbers['د'] = 4 numbers['ه'] = 5 numbers['و'] = 6 numbers['ز'] = 7 numbers['ح'] = 8 numbers['ط'] = 9 numbers['ی'] = 10 numbers['ک'] = 20 numbers['ل'] = 30 numbers['م'] = 40 numbers['ن'] = 50 numbers['س'] = 60 numbers['ع'] = 70 numbers['ف'] = 80 numb...
gpl-2.0
rizaumami/tdcliBot
plugins/btc.lua
1
1368
do -- See https://bitcoinaverage.com/api local function run(msg, matches) local base_url = 'https://api.bitcoinaverage.com/ticker/global/' local currency = matches[2] and matches[2]:upper() or 'USD' -- Do request on bitcoinaverage, the final / is critical! local res, code = https.request(base_url ....
gpl-3.0
TannerRogalsky/GGJ2017
light/get_line_of_sight_points.lua
1
3296
local queryBBox = require('light.query_bbox') local rayCastClosest = require('light.raycast_closest') local shellsort = require('light.shellsort') local num_hits = 0 local function rotate(phi, x,y, ox,oy) x, y = x - ox, y - oy local c, s = math.cos(phi), math.sin(phi) return c*x - s*y + ox, s*x + c*y + oy end ...
mit
bmscoordinators/FFXI-Server
scripts/zones/Mount_Zhayolm/npcs/HomePoint#1.lua
27
1274
----------------------------------- -- Area: Mount Zhayolm -- NPC: HomePoint#1 -- @pos -540.844 -4.000 70.809 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Mount_Zhayolm/TextIDs"); require("scripts/globa...
gpl-3.0