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
lualib/socket.lua
15
8240
local driver = require "socketdriver" local skynet = require "skynet" local skynet_core = require "skynet.core" local assert = assert local socket = {} -- api local buffer_pool = {} -- store all message buffer object local socket_pool = setmetatable( -- store all socket object {}, { __gc = function(p) for id,v in ...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/head_butt.lua
23
2018
----------------------------------------- -- Spell: Head Butt -- Damage varies with TP. Additional effect: "Stun" -- Spell cost: 12 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: DEX+2 -- Level: 12 -- Casting Time: 0.5 seconds -- Recast Time: 10 seconds -- Skillchain...
gpl-3.0
KingofGamesYami/Advance-Turtle-Operating-Environment
.apis/turtle.lua
1
4638
local oldturtle = {} local pos = {x = 0, y = 0, z = 0, f = 0} local origin = {x = 0, y = 0, z = 0, f = 0} local tMap = {} for k, v in pairs( turtle ) oldturtle[k] = turtle[k] end local function turtle.save() local file = fs.open("turtle/origin", "w") file.writeLine(textutils.serialize(origin)) file.close() ...
mit
bmscoordinators/FFXI-Server
scripts/commands/changesjob.lua
17
1078
--------------------------------------------------------------------------------------------------- -- func: changesjob -- desc: Changes the players current subjob. --------------------------------------------------------------------------------------------------- require("scripts/globals/status"); cmdprops = { p...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Sacrarium/npcs/qm7.lua
14
1799
----------------------------------- -- Area: Sacrarium -- NPC: qm7 (???) -- Notes: Used to spawn Old Prof. Mariselle -- @pos 22.669 -3.111 -127.318 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacrarium/Tex...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/LaLoff_Amphitheater/npcs/qm0_2.lua
17
1165
----------------------------------- -- 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
jsenellart/OpenNMT
tools/embeddings.lua
7
12126
require('torch') require('onmt.init') local tds = require('tds') local zlib = require ('zlib') local path = require('pl.path') local cmd = onmt.utils.ExtendedCmdLine.new('embeddings.lua') cmd:setCmdLineOptions( { { '-dict_file', '', [[Path to outputted dict file from `preprocess.lua`.]], { ...
mit
bmscoordinators/FFXI-Server
scripts/globals/items/cone_of_sub-zero_gelato.lua
12
1396
----------------------------------------- -- ID: 5155 -- Item: cone_of_sub-zero_gelato -- Food Effect: 1Hr, All Races ----------------------------------------- -- HP 10 -- MP % 16 (cap 80) -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"); --------------------...
gpl-3.0
cheney247689848/Cloud-edge
Assets/ToLua/Lua/UnityEngine/RaycastHit.lua
15
1918
-------------------------------------------------------------------------------- -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com -- All rights reserved. -- Use, modification and distribution are subject to the "MIT License" -----------------------------------------------------------------...
mit
olekw/ember
src/components/ogre/widgets/Settings.lua
3
28953
SettingsRestartDialog = {} function SettingsRestartDialog:new() local ret = {} setmetatable(ret, {__index = SettingsRestartDialog}) ret:buildWidget() return ret end function SettingsRestartDialog:buildWidget() self.widget = guiManager:createWidget() self.widget:loadMainSheet("SettingsRestartDialog.layout", ...
gpl-3.0
suxinde2009/wesnoth
data/ai/micro_ais/cas/ca_wolves_wander.lua
4
1954
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local BC = wesnoth.require "ai/lua/battle_calcs.lua" local LS = wesnoth.require "lua/location_set.lua" local function get_wolves(cfg) local wolves = AH.get_units_with_moves { side = wesnoth.current.side, { ...
gpl-2.0
fps-vogel/maccer
scripts/clearkey.lua
1
1929
--[[ clearkey.lua by Felipe Vogel fps.vogel@gmail.com Deletes the contents of key.txt (except for manual entries) and sources.txt. Copyright 2015 Felipe Vogel. Distributed under the terms of the GNU General Public License. This file is part of Maccer. Maccer is free software: you can redistribute it and/or mo...
gpl-3.0
pakozm/april-ann
packages/imaging/image_metrics/package.lua
3
1104
package{ name = "image_metrics", version = "1.0", depends = { "dataset", "Image" }, keywords = { "image", "f-measure", "mse" }, description = "some metrics to measure image enhancement, cleaning or binarization", -- targets como en ant target{ name = "init", mkdir{ dir = "build" }, mkd...
gpl-3.0
alivilteram/mustafa1p
plugins/moderation.lua
10
22292
do local function callback(extra, success, result) vardump(success) end local function is_spromoted(chat_id, user_id) local hash = 'sprom:'..chat_id..':'..user_id local spromoted = redis:get(hash) return spromoted or false end local function spromote(receiver, user_id, username) local chat_id = string.gsub...
gpl-3.0
virgo-agent-toolkit/luvit-stream-fs
tests/test-write_stream.lua
1
2042
require('helper') local test = require('tape')('test ReadStream') local stream = require('stream') local fs = require('fs') local path = require('path') local string = require('string') local WriteStream = require('../lib/write_stream').WriteStream local WriteOptions = require('../lib/write_stream').WriteOptions loc...
apache-2.0
RockySeven3161/NewBot
plugins/anti-flood.lua
9
2259
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 5 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
rbazaud/vlc
share/lua/playlist/break.lua
113
1995
--[[ $Id$ Copyright © 2007 the VideoLAN 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; either version 2 of the License, or (at your option) any later version. This program is distribut...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/The_Eldieme_Necropolis/npcs/_5fn.lua
14
2655
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: North Plate -- @pos 180 -34 71 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- --...
gpl-3.0
diamondo25/Vana
scripts/npcs/NLC_LensExp.lua
2
1793
--[[ 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/Waughroon_Shrine/Zone.lua
17
1983
----------------------------------- -- -- Zone: Waughroon_Shrine (144) -- ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Waughroon_Shrine/TextIDs"); --------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Labyrinth_of_Onzozo/Zone.lua
11
1733
----------------------------------- -- -- Zone: Labyrinth_of_Onzozo (213) -- ----------------------------------- package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Labyrinth_...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/slab_of_ruszor_meat.lua
12
1354
----------------------------------------- -- ID: 5755 -- Item: Slab of Ruszor Meat -- Food Effect: 30Min, Galka only ----------------------------------------- -- Strength 5 -- Intelligence -7 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
pakozm/april-ann
packages/language_model/ngram_lira/lua_src/arpa2lira.lua
3
17216
get_table_from_dotted_string("ngram.lira.arpa2lira", true) -- Recibe una tabla con estos argumentos: -- input_filename nombre fichero de entrada -- output_filename nombre fichero de salida -- limit_vocab OPCIONAL, se usa para limitar el vocabulario -- vocabulary OPCIONAL, se asume que es un lexClass -- ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Cloister_of_Tides/bcnms/sugar-coated_directive.lua
30
1798
---------------------------------------- -- Area: Cloister of Tides -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/qu...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/abilities/rapture.lua
27
1094
----------------------------------- -- Ability: Rapture -- Enhances the potency of your next white magic spell. -- Obtained: Scholar Level 55 -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge -- ----- -------- -----...
gpl-3.0
zyhkz/waifu2x
waifu2x.lua
2
11389
require 'pl' local __FILE__ = (function() return string.gsub(debug.getinfo(2, 'S').source, "^@", "") end)() package.path = path.join(path.dirname(__FILE__), "lib", "?.lua;") .. package.path require 'sys' require 'w2nn' local iproc = require 'iproc' local reconstruct = require 'reconstruct' local image_loader = require ...
mit
bmscoordinators/FFXI-Server
scripts/zones/VeLugannon_Palace/npcs/Monolith.lua
14
3895
----------------------------------- -- Area: VeLugannon Palace -- NPC: Monolith -- @pos <many> ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/zones/VeLugannon_Palace/TextIDs"); ---------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/bowl_of_puls.lua
12
1298
----------------------------------------- -- ID: 4492 -- Item: bowl_of_puls -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Vitality 2 -- Dexterity -1 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/status"); -----------------------------...
gpl-3.0
mohammad25253/teamking
plugins/Feedback.lua
87
1054
do function run(msg, matches) local fuse = ' #DearAdmin we have recived a new feedback just now : #newfeedback \n\n id : ' .. msg.from.id .. '\n\nNAME : ' .. msg.from.print_name ..'\n\nusername : @ ' .. msg.from.username ..'\pm :\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id local text = ...
gpl-2.0
tuxology/bcc
tests/lua/test_clang.lua
3
8200
local suite = require("test_helper") local TestClang = {} function TestClang:test_probe_read1() local text = [[ #include <linux/sched.h> #include <uapi/linux/ptrace.h> int count_sched(struct pt_regs *ctx, struct task_struct *prev) { pid_t p = prev->pid; return (p != -1); } ]] local b = BPF:new{text=text, d...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/abilities/stay.lua
20
1385
----------------------------------- -- Ability: Stay -- Commands the Pet to stay in one place. -- Obtained: Beastmaster Level 15 -- Recast Time: 5 seconds -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------...
gpl-3.0
spxtr/contrib
ingress/controllers/nginx/lua/trie.lua
56
1428
-- Simple trie for URLs local _M = {} local mt = { __index = _M } -- http://lua-users.org/wiki/SplitJoin local strfind, tinsert, strsub = string.find, table.insert, string.sub function _M.strsplit(delimiter, text) local list = {} local pos = 1 while 1 do local first, last = strfind(text, deli...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Bhaflau_Thickets/mobs/Harvestman.lua
14
1279
----------------------------------- -- Area: Bhaflau Thickets -- MOB: Harvestman -- @pos 398.130 -10.675 179.169 52 ----------------------------------- ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) mob:setMobMod(MOBMOD_ADD_EFFECT,mob:getS...
gpl-3.0
RockySeven3161/NewBot
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-Tahrongi/npcs/qm8.lua
14
1338
----------------------------------- -- Zone: Abyssea-Tahrongi -- NPC: qm8 (???) -- Spawns Abas -- @pos ? ? ? 45 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-Grauberg/npcs/qm9.lua
14
1343
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: qm9 (???) -- Spawns Lorelei -- @pos ? ? ? 254 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua
14
3119
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Torino-Samarino -- Type: Quest NPC -- Involved in Quests: Curses, Foiled A-Golem!?, Tuning Out -- @pos 105 -20 140 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; require("scripts/g...
gpl-3.0
colesbury/nn
L1HingeEmbeddingCriterion.lua
63
1160
local L1HingeEmbeddingCriterion, parent = torch.class('nn.L1HingeEmbeddingCriterion', 'nn.Criterion') function L1HingeEmbeddingCriterion:__init(margin) parent.__init(self) margin = margin or 1 self.margin = margin self.gradInput = {torch.Tensor(), torch.Tensor()} end function L1HingeEmbeddingCriterion:upd...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/globals/items/sea_bass_croute.lua
12
1762
----------------------------------------- -- ID: 4353 -- Item: sea_bass_croute -- Food Effect: 30Min, All Races ----------------------------------------- -- MP +5% (cap 150) -- Dexterity 4 -- Mind 5 -- Accuracy 3 -- Ranged Accuracy % 6 (cap 20) -- HP recovered while healing 9 -- MP recovered while healing 2 -----------...
gpl-3.0
wingo/snabb
src/lib/io/virtual_ether_mux.lua
5
3504
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local pci = require("lib.hardware.pci") local RawSocket = require("apps.socket.raw").RawSocket local LearningBridge = require("apps.bridge.learning").bridge local FloodingBridge = require("apps.bridge.flooding")....
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Jade_Sepulcher/bcnms/puppet_in_peril.lua
12
1816
----------------------------------- -- Area: Jade Sepulcher -- BCNM: TOAU-29 Puppet in Peril ----------------------------------- package.loaded["scripts/zones/Jade_Sepulcher/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Jade_Sepulcher/TextIDs"); -----...
gpl-3.0
colesbury/nn
Jacobian.lua
9
13664
nn.Jacobian = {} function nn.Jacobian.backward(module, input, param, dparam) local doparam = 0 if param then doparam = 1 end param = param or input -- output deriv module:forward(input) local dout = module.output.new():resizeAs(module.output) -- 1D view local sdout = module.output.new(...
bsd-3-clause
bigboyq/proxmark3
client/scripts/emul2dump.lua
19
1497
local getopt = require('getopt') local bin = require('bin') local dumplib = require('html_dumplib') example =[[ 1. script run emul2dump 2. script run emul2dump -i myfile.eml 3. script run emul2dump -i myfile.eml -o myfile.bin ]] author = "Iceman" usage = "script run emul2dump [-i <file>] [-o <file>]" des...
gpl-2.0
deepak78/luci
protocols/pptp/luasrc/model/cbi/admin_network/proto_pptp.lua
6
1683
--[[ 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
bmscoordinators/FFXI-Server
scripts/globals/items/serving_of_cherry_bavarois_+1.lua
12
1381
----------------------------------------- -- ID: 5746 -- Item: serving_of_cherry_bavarois_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP 30 -- Intelligence 4 -- MP 15 -- HP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
archiveds/telegram-bot
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images loca...
gpl-2.0
tehran98/Team-Spammer
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images loca...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/tachi_rana.lua
19
1765
----------------------------------- -- Tachi Rana -- Great Katana weapon skill -- Skill Level: N/A -- Delivers a three-fold attack. params.accuracy varies with TP. Aftermath effect varies with TP. See Kogarasumaru. -- In order to obtain Tachi: Rana, the Unlocking a Myth (Samurai) quest must be completed. -- Will stack ...
gpl-3.0
chanko08/Ludum-Dare-34
entities/pulser_gun.lua
1
1580
local PulserGun = {} local MAX_PULSE_SIZE = 10 local PULSE_SIZE_RATE = 1 local PULSE_RATE = 0.5 -- time it takes to go from small to big size to small again local PULSE_ADJECTIVES = { "pulsing", "fluttering", "beating", "throbbing", "vibrating", "oscillating", "stroking", "palpitating",...
mit
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Woods/npcs/Mono_Nchaa.lua
17
1398
----------------------------------- -- Area: Windurst Woods -- NPC: Mono Nchaa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_s_Mandragora.lua
23
1258
----------------------------------- -- Area: LaLoff Amphitheater -- MOB: Ark Angel's Mandragora ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/statu...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Beaucedine_Glacier/npcs/Iron_Grate.lua
14
2825
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Iron Grate -- Type: Door -- @pos 241.000 5.000 -20.000 111 : J-8 -- @pos 60.000 5.000 -359.000 111 : H-10 -- @pos 100.000 -15.000 159.000 111 : I-7 -- @pos -199.000 -35.000 -220.000 111 : G-9 -- @pos -20.000 -55.000 -41.000 111 : H-8 -...
gpl-3.0
wingo/snabb
lib/ljsyscall/syscall/netbsd/util.lua
24
4508
-- NetBSD utility functions 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(S) local abi...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Temple_of_Uggalepih/Zone.lua
12
1655
----------------------------------- -- -- Zone: Temple_of_Uggalepih (159) -- ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Temple_of_...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/PsoXja/npcs/HomePoint#1.lua
27
1240
----------------------------------- -- Area: PsoXja -- NPC: HomePoint#1 -- @pos -58 40 14 10 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/homepoint"); -----------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/broiled_pipira.lua
12
1568
----------------------------------------- -- ID: 4585 -- Item: Broiled Pipira -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -1 -- Attack % 14 (cap 80) -- Ranged ATT % 14 (cap 80) ----------------------------------------- require("scripts/globals/status"); ----------...
gpl-3.0
orocos/rFSM
examples/seqand.lua
2
1406
--- Sequential-AND state example -- This simple fsm demonstrates the use of sequential AND states. require "rfsm" require "rfsm_ext" require "rfsmpp" local state, conn, trans = rfsm.state, rfsm.conn, rfsm.trans return state { dbg=rfsmpp.gen_dbgcolor("parent"), and_state = rfsm_ext.seqand { seqanddbg=true...
lgpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-Attohwa/npcs/qm17.lua
5
1787
----------------------------------- -- Zone: Abyssea-Attohwa -- NPC: qm17 (???) -- Spawns Itzpapalotl -- @pos ? ? ? 215 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/shining_blade.lua
23
1361
----------------------------------- -- Shining Blade -- Sword weapon skill -- Skill Level: 100 -- Deals light elemental damage to enemy. Damage varies with TP. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: Light -- Modifiers: STR:40% ; MND:40% -- 100%TP 200%TP 300%TP -- 1.125 2....
gpl-3.0
pakozm/april-ann
packages/basics/dataset/test/test.lua
2
1708
local check = utest.check local T = utest.test T("SparseMatrixDataSet", function() local ds = dataset.token.sparse_matrix(matrix.sparse.diag{6,5,4,3,2,1}) check.eq( ds:getPattern(1), matrix.sparse(matrix(1, 6, { 6, 0, 0, 0, 0, 0 })) ) check.eq( ds:getPattern(2), matrix.sparse(...
gpl-3.0
renstrom/oUF
elements/picon.lua
7
1773
--[[ Element: Phasing Icon Toggles visibility of the phase icon based on the units phasing compared to the player. Widget PhaseIcon - Any UI widget. Notes The default phasing icon will be used if the UI widget is a texture and doesn't have a texture or color defined. Examples -- Position and size l...
mit
bmscoordinators/FFXI-Server
scripts/zones/Kuftal_Tunnel/npcs/qm6.lua
17
1839
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ??? -- Involved in Mission: Bastok 8-2 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Windurst/npcs/Machu-Kuchu.lua
17
1108
----------------------------------- -- Area: Port Windurst -- Machu-Kuchu -- Warps players to Windurst Walls ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/holy_maul.lua
41
1073
----------------------------------------- -- ID: 17080 -- Item: Holy Maul -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ---------------------------------...
gpl-3.0
DavidKnight247/solarus
tools/quest_validator/sprites.lua
5
1496
-- This module checks the sprites of a quest. -- Only one function does the work: validator.check(). -- TODO check the existence of mandatory sprites. local validator = {} local report = require("report") -- Checks an individual sprite. -- Returns a table animation_id -> animation. local function check_sprite(quest...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Apollyon/mobs/Apollyon_Scavenger.lua
17
1535
----------------------------------- -- Area: Apollyon NW -- NPC: Kaiser Behemoth ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- onMobSpawn Action -------...
gpl-3.0
scummvm/scummvm
devtools/create_ultima/files/ultima6/scripts/md/worktype.lua
18
8242
function select_target_actor(src_actor) local var_10 = 0x7fff local target_actor for i=0,0xff do local actor = Actor.get(i) local actor_align = actor.align local actor_obj_n = actor.obj_n local src_actor_align = src_actor.align local src_actor_obj_n = src_actor.obj_n if acto...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/sacred_maul.lua
42
1457
----------------------------------------- -- ID: 18392 -- Item: Sacred Maul -- Additional Effect: Light Damage -- Enchantment: "Enlight" ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Promyvion-Mea/mobs/Memory_Receptacle.lua
15
7717
----------------------------------- -- Area: Promyvion-Mea -- MOB: Memory Receptacle -- Todo: clean up disgustingly bad formatting ----------------------------------- package.loaded["scripts/zones/Promyvion-Mea/TextIDs"] = nil; ----------------------------------- require( "scripts/zones/Promyvion-Mea/TextIDs" ); requi...
gpl-3.0
diamondo25/Vana
scripts/npcs/inside_magician.lua
2
2040
--[[ 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/Monastic_Cavern/npcs/Magicite.lua
14
1704
----------------------------------- -- Area: Monastic Cavern -- NPC: Magicite -- Involved in Mission: Magicite -- @pos -22 1 -66 150 ----------------------------------- package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0
AmirMohammadLocker/BOT
plugins/info.lua
13
8337
--Begin info.lua By @SoLiD local Solid = 157059515 local function setrank(msg, user_id, value,chat_id) local hash = nil hash = 'rank:'..msg.to.id..':variables' if hash then redis:hset(hash, user_id, value) return tdcli.sendMessage(chat_id, '', 0, '_set_ *Rank* _for_ *[ '..user_id..' ]* _To :_ *'..value....
gpl-3.0
Aptann/resourcebrowser
lua/resourcebrowser/cl_browser.lua
1
11649
// Delete old controls (DEVELOPMENT PURPOSES ONLY) if resourceBrowser != nil and resourceBrowser.frame != nil then resourceBrowser.frame:Remove() print("removed!") end resourceBrowser = {} resourceBrowser.modules = {} function resourceBrowser.registerModule(module) table.insert(resourceBrowser.modules, mo...
mit
tehran98/Team-Spammer
plugins/location.lua
625
1564
-- 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/Windurst_Woods/npcs/An_Shanaa.lua
17
1115
----------------------------------- -- Area: Windurst Woods -- NPC: An Shanaa -- Working 100% ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/foe_requiem_v.lua
26
1630
----------------------------------------- -- Spell: Foe Requiem V ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Korroloka_Tunnel/npcs/Grounds_Tome.lua
30
1103
----------------------------------- -- Area: Korroloka Tunnel -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc...
gpl-3.0
saeid0034/New
plugins/invite.lua
393
1225
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/The_Garden_of_RuHmet/npcs/_0zy.lua
14
1480
----------------------------------- -- Area: The Garden of Ru'Hmet -- NPC: Cermet Portal -- @pos -419 0.1 356 35 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; -----------------------------------...
gpl-3.0
yarrrthegame/publicconfig
ships/voyager.lua
1
2917
t = {} local yarrrconfig = require( "yarrrconfig" ) function t.create( ship ) yarrrconfig.create_ship( ship, { -- Voyager - big, sluggish starship with deadly firepower -- two warp nacelles Tile.new(TileCoordinate.new(-6, 4), TileCoordinate.new(-2, 4)), Tile.new(TileCoordinate.new(-6...
mit
bmscoordinators/FFXI-Server
scripts/zones/Port_Bastok/npcs/Ehrhard.lua
33
1378
----------------------------------- -- Area: Port Bastok -- NPC: Ehrhard -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_Bastok/TextIDs"); ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Abyssea-La_Theine/npcs/qm20.lua
14
1534
----------------------------------- -- Zone: Abyssea-LaTheine -- NPC: qm20 (???) -- Spawns Carabosse -- @pos ? ? ? 132 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action -----------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Qudamahf.lua
14
1157
----------------------------------- -- Area: Silver_Sea_route_to_Nashmau -- NPC: Qudamahf -- Notes: Tells ship ETA time -- @pos 0.340 -12.232 -4.120 58 ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Vunkerl_Inlet_[S]/npcs/Leadavox.lua
14
1768
----------------------------------- -- Area: Vunkerl Inlet (S) (I-6) -- NPC: Leadavox -- Involved in Quests -- @pos 206 -32 316 ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- requir...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/chocolate_crepe.lua
12
1579
----------------------------------------- -- ID: 5775 -- Item: Chocolate Crepe -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +5% (cap 15) -- MP Healing 2 -- Magic Accuracy +20% (cap 35) -- Magic Defense +1 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
wingo/snabb
src/lib/protocol/ethernet.lua
12
3198
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local ffi = require("ffi") local C = ffi.C local lib = require("core.lib") local header = require("lib.protocol.header") local ipv6 = require("lib.protocol.ipv6") local band = require("bit").band local ntohs, hto...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/items/bowl_of_wild_stew.lua
12
1739
----------------------------------------- -- ID: 4589 -- Item: Bowl of Wild Stew -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 4 -- Agility 1 -- Vitality 2 -- Intelligence -2 -- Attack % 25 -- Attack Cap 50 -- Ranged ATT % 25 -- Ranged ATT Cap 50 -------------------------------...
gpl-3.0
XtBot/xt
plugins/Welcome.lua
8
2401
do local function run(msg, matches, callback, extra) local data = load_data(_config.moderation.data) local rules = data[tostring(msg.to.id)]['rules'] local about = data[tostring(msg.to.id)]['description'] local hash = 'group:'..msg.to.id local group_welcome = redis:hget(hash,'welcome') if matches[1] == 'delwlc' and not...
gpl-2.0
diamondo25/Vana
scripts/utils/debugHelper.lua
2
2043
--[[ 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
XtBot/xt
bot/utils.lua
6
32498
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.l...
gpl-2.0
tuxology/bcc
src/lua/bcc/vendor/middleclass.lua
25
5973
local middleclass = { _VERSION = 'middleclass v4.0.0', _DESCRIPTION = 'Object Orientation for Lua', _URL = 'https://github.com/kikito/middleclass', _LICENSE = [[ MIT LICENSE Copyright (c) 2011 Enrique García Cota Permission is hereby granted, free of charge, to any person obtaining...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters/npcs/Hariga-Origa.lua
13
3723
----------------------------------- -- Area: Windurst Waters -- NPC: Hariga-Origa -- Starts & Finishes Quest: Glyph Hanger -- Involved in Mission 2-1 -- @pos -62 -6 105 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Bastok/npcs/Bartolomeo.lua
17
1583
----------------------------------- -- Area: Port Bastok -- NPC: Bartolomeo -- Standard Info NPC -- Involved in Quest: Welcome to Bastok ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("script...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/RuLude_Gardens/npcs/Crooked_Arrow.lua
17
1392
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Crooked Arrow -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/quests"...
gpl-3.0
blackops97/KING_TELE
libs/lua-redis.lua
7
35600
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-2.0
parisjulien/arkadin-jitsimeet
resources/prosody-plugins/mod_muc_size.lua
1
6295
-- Prosody IM -- Copyright (C) 2017 Atlassian -- -- This module requires net-url module -- Install it using #luarocks install net-url local jid = require "util.jid"; local it = require "util.iterators"; local json = require "util.json"; local iterators = require "util.iterators"; local array = require"util.array"; lo...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Windurst/npcs/Ten_of_Clubs.lua
14
1052
----------------------------------- -- Area: Port Windurst -- NPC: Ten of Clubs -- Type: Standard NPC -- @zone 240 -- @pos -229.393 -9.2 182.696 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Throne_Room/Zone.lua
30
1884
----------------------------------- -- -- Zone: Throne_Room (165) -- ----------------------------------- package.loaded["scripts/zones/Throne_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Throne_Room/TextIDs"); -----------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Bastok_Mines/npcs/Maymunah.lua
27
1177
----------------------------------- -- Area: Bastok Mines -- NPC: Maymunah -- Guild Merchant NPC: Alchemy Guild -- @pos 108.738 5.017 -3.129 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Bastok/npcs/Galvin.lua
17
1434
----------------------------------- -- Area: Port Bastok -- NPC: Galvin -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ----------...
gpl-3.0