repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
bmscoordinators/FFXI-Server | scripts/zones/Metalworks/npcs/Hugues.lua | 29 | 1804 | -----------------------------------
-- Area: Metalworks
-- NPC: Hugues
-- Type: Smithing Synthesis Image Support
-- @pos -106.336 2.000 26.117 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requir... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Dynamis-Xarcabard/mobs/Count_Vine.lua | 23 | 1602 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Count Vine
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Sauromugue_Champaign_[S]/Zone.lua | 12 | 1543 | -----------------------------------
--
-- Zone: Sauromugue_Champaign_[S] (98)
--
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Sauromugue_Champaign_[S]/TextIDs")... | gpl-3.0 |
yardnsm/dotfiles | nvim/lua/user/plugin/treesitter.lua | 1 | 1051 | local status_ok, configs = pcall(require, "nvim-treesitter.configs")
if not status_ok then
return
end
configs.setup({
-- one of "all", "maintained" (parsers with maintainers), or a list of languages
ensure_installed = "all",
-- install languages synchronously (only applied to `ensure_installed`)
sync_instal... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Riverne-Site_B01/Zone.lua | 15 | 1806 | -----------------------------------
--
-- Zone: Riverne-Site_B01
--
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Riverne-Site_B01/TextIDs");
require("scripts/globals/status");
require("scripts/globals/se... | gpl-3.0 |
ashkanpj/fire-creed | plugins/Expire.lua | 47 | 1782 | local filename='data/expire.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/bean_daifuku.lua | 12 | 2201 | -----------------------------------------
-- ID: 6341
-- Item: bean_daifuku
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 50)
-- Ranged Accuracy +10% (cap 50)
-- Pet:
-- HP +20
-- VIT +3
-- Accuracy +10% (cap 75)
-- Ranged Accuracy +10% (cap 75)
--... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Apollyon/mobs/Bardha.lua | 17 | 1529 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Action
-------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/moorish_idol.lua | 12 | 1327 | -----------------------------------------
-- ID: 5121
-- Item: Moorish Idol
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
Henkoglobin/lazylualinq | test/terminal/first.lua | 1 | 1632 | describe("terminal operator '#first'", function()
local linq = require("lazylualinq")
describe("without a predicate", function()
it("returns the first element in the sequence", function()
local sequence = linq { 1, 2, 3 }
assert.is_same(1, sequence:first())
end)
it("does not iterate the sequence beyond... | unlicense |
cheney247689848/Cloud-edge | Assets/Script_Lua/core/observer/L_Observer.lua | 1 | 1251 | -------------------------------------------------------------------
-- The Long night
-- The night gives me black eyes, but I use it to find the light.
-- In 2017
-------------------------------------------------------------------
L_Observer = {}
setmetatable(L_Observer, {__index = _G})
local _this = L_Observer
funct... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Buburimu_Peninsula/npcs/Five_of_Spades.lua | 17 | 1488 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Five of Spades
-- Invloved in quests: A Greeting Cardian
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Peninsula/TextIDs"... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Upper_Jeuno/npcs/Leillaine.lua | 17 | 1301 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Leillaine
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
pakozm/april-ann | tools/nbest/minimum_bayes_risk_decoding.lua | 3 | 9221 | -- PAPER: "Minimum Bayes Risk Decoding for BLEU", Nicola Ehling and
-- Richard Zens and Hermann Ney, in ACL 2007
-- REVISAR TAMBIEN: "Task-Specific Minimum Bayes-Risk Decoding using
-- Learned Edit Distance", Izhak Shafran and William Byrne
opt = cmdOpt{
program_name = string.basename(arg[0]),
argument_descriptio... | gpl-3.0 |
RockySeven3161/NewBot | plugins/trivia.lua | 647 | 6784 | do
-- Trivia plugin developed by Guy Spronck
-- Returns the chat hash for storing information
local function get_hash(msg)
local hash = nil
if msg.to.type == 'chat' then
hash = 'chat:'..msg.to.id..':trivia'
end
if msg.to.type == 'user' then
hash = 'user:'..msg.from.id..':trivia'
end
return hash
en... | gpl-2.0 |
emoon/wrui | bin/win32/scripts/tundra/scanner.lua | 28 | 1488 | module(..., package.seeall)
local util = require "tundra.util"
local native = require "tundra.native"
local _scanner_mt = {}
setmetatable(_scanner_mt, { __index = _scanner_mt })
local cpp_scanner_cache = {}
local generic_scanner_cache = {}
function make_cpp_scanner(paths)
local key = table.concat(paths, '\0')
... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Southern_San_dOria_[S]/npcs/_6eo.lua | 14 | 1387 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Door:House
-- @zone 80
-- @pos 148 0 27
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/globals/quests");
require("scripts/globals/settings");
---------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/amplification.lua | 28 | 1256 | ---------------------------------------------------
-- Amplification
-- Enhances Magic Attack and Magic Defense. Bonus stacks when used by mobs.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Lower_Jeuno/npcs/Muckvix.lua | 14 | 1542 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Muckvix
-- Involved in Mission: Magicite
-- @zone 245
-- @pos -26.824 3.601 -137.082
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Baya_Hiramayuh.lua | 17 | 1455 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Baya Hiramayuh
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-------------... | gpl-3.0 |
victorholt/Urho3D | Source/ThirdParty/toluapp/src/bin/lua/typedef.lua | 44 | 1696 | -- tolua: typedef class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enhancements... | mit |
Samanj5/creed-SPAM | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
5620g/38196040 | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
IPAMS/RS | RS_Simulation.lua | 1 | 21417 | --[[
Monte Carlo Reaction Simulation (RS) extension to SIMION charged particle simulator
This program implements a monte carlo model for the simulation of chemical
reaction kinetics involving charged particles (typically molecular ions) in the
SIMION charged particle simulator.
Additionally this program allo... | gpl-3.0 |
alijoooon/wshgh | plugins/persian_lang.lua | 20 | 25826 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
ianmaclarty/vertex-meadow | save.lua | 1 | 5801 | local save = {}
local win = require "window"
local
function do_save(old_scene, old_bg, floor, ceiling, floor_detail, ceiling_detail, hands, terrain_state)
floor.fb:read_back()
ceiling.fb:read_back()
floor_detail.fb:read_back()
ceiling_detail.fb:read_back()
hands.fb:read_back()
local floor_data... | mit |
olekw/ember | src/components/ogre/widgets/DefaultEntityActions.lua | 5 | 1144 | DefaultEntityActions = {}
function DefaultEntityActions:getDefaultWearableFunction()
return self.mDefaultWearableFunction
end
function DefaultEntityActions:setDefaultWearableFunction(defaultWearableFunction)
self.mDefaultWearableFunction = defaultWearableFunction
end
function DefaultEntityActions:getDefaultBioMass... | gpl-3.0 |
albanD/adaptive-neural-compilation | adaptation/init.lua | 1 | 1322 | local nn = require 'nn'
local nc = {}
-- Put the submodules we want in the table of the main module
nc.distUtils = require 'nc.distUtils'
nc.layers = require 'nc.layers'
nc.decompiler = require 'nc.decompiler'
nc.optim = require 'nc.optim'
nc.utils = require 'nc.utils'
-- Include ops in the ram
torch.include('nc', 'a... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_San_dOria/npcs/Albinie.lua | 17 | 1473 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Albinie
-- Standard Merchant NPC
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Port_San_dO... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Waters/npcs/Chyuk-Kochak.lua | 14 | 1061 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chyuk-Kochak
-- Type: Standard NPC
-- @zone 238
-- @pos -252.162 -6.319 -307.011
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_EV.lua | 23 | 1661 | -----------------------------------
-- Area: LaLoff Amphitheater
-- MOB: Ark Angel EV
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/status");
----... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/bluemagic/cimicine_discharge.lua | 27 | 1367 | -----------------------------------------
-- Spell: Cimicine Discharge
-- Reduces the attack speed of enemies within range
-- Spell cost: 32 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+1, AGI+2
-- Level: 78
-- Casting Time: 3 seconds
-- Recast Time: 20 seconds
-... | gpl-3.0 |
MRAHS/SBSS_Plus | plugins/info.lua | 21 | 1369 | --[[
Print user identification/informations by replying their post or by providing
their username or print_name.
!id <text> is the least reliable because it will scan trough all of members
and print all member with <text> in their print_name.
chat_info can be displayed on group, send it into PM, or save as file then... | gpl-2.0 |
olekw/ember | src/components/ogre/widgets/AssetsManager.lua | 3 | 45957 | --Lists all of the graphical resources available
AssetsManager = {}
--Reloads a resource
function AssetsManager:reloadResource(manager, resourceName)
local resourcePtr = manager:getResourceByName(resourceName)
if resourcePtr:isNull() == false then
local resource = resourcePtr:get()
resource:reload()
end
end
... | gpl-3.0 |
jxlczjp77/pskynet | examples/login/msgagent.lua | 56 | 1165 | local skynet = require "skynet"
skynet.register_protocol {
name = "client",
id = skynet.PTYPE_CLIENT,
unpack = skynet.tostring,
}
local gate
local userid, subid
local CMD = {}
function CMD.login(source, uid, sid, secret)
-- you may use secret to make a encrypted data stream
skynet.error(string.format("%s is lo... | apache-2.0 |
groupforspeed/TeleSpeed-Tg | plugins/invite.lua | 84 | 2540 | --[[
Invite other user to the chat group.
Use !invite ********* (where ********* is id_number) to invite a user by id_number.
This is the most reliable method.
Use !invite @username to invite a user by @username.
Less reliable. Some users don't have @username.
Use !invite Type print_name Here to invite a user by ... | gpl-2.0 |
firedtoad/skynet | lualib/skynet.lua | 2 | 19473 | -- read https://github.com/cloudwu/skynet/wiki/FAQ for the module "skynet.core"
local c = require "skynet.core"
local tostring = tostring
local coroutine = coroutine
local assert = assert
local pairs = pairs
local pcall = pcall
local table = table
local profile = require "skynet.profile"
local cresume = profile.resum... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Woods/npcs/Gottah_Maporushanoh.lua | 17 | 1152 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gottah Maporushanoh
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-------... | gpl-3.0 |
wingo/snabb | lib/ljsyscall/syscall/bit.lua | 24 | 3014 | -- abstract different bit libraries in different lua versions
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
... | apache-2.0 |
bryanmikaelian/dotfiles | config/nvim.symlink/lua/plugins/configs/cmp.lua | 1 | 2688 | local present, cmp = pcall(require, "cmp")
if not present then
return
end
require("base46").load_highlight "cmp"
vim.opt.completeopt = "menuone,noselect"
local function border(hl_name)
return {
{ "╭", hl_name },
{ "─", hl_name },
{ "╮", hl_name },
{ "│", hl_name },
{ "╯", hl_name... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Southern_San_dOria_[S]/npcs/YrvaulairSCousseraux1.lua | 14 | 1204 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Yrvaulair S Cousseraux
-- @zone 80
-- @pos 0 1 -78
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-------------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/West_Sarutabaruta_[S]/npcs/Harvesting_Point.lua | 17 | 1121 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/West_Sarutabaruta_[... | gpl-3.0 |
FlorianMuenchbach/prosody-mod_muc_acl | mod_muc_acl.lua | 1 | 5307 | local st = require "util.stanza";
local jid = require "util.jid";
local nodeprep = require "util.encodings".stringprep.nodeprep;
local unprepped_access_lists = module:get_option("muc_acls", {});
local unprepped_public_rooms = module:get_option("muc_acl_public_rooms", {});
local unprepped_default_acl = module:get_optio... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Ghelsba_Outpost/bcnms/holy_crest.lua | 9 | 2229 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: Holy Crest - DRG flag quest
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/key... | gpl-3.0 |
lxbgit/luarocks | src/luarocks/lint.lua | 20 | 1570 |
--- Module implementing the LuaRocks "lint" command.
-- Utility function that checks syntax of the rockspec.
--module("luarocks.lint", package.seeall)
local lint = {}
package.loaded["luarocks.lint"] = lint
local util = require("luarocks.util")
local download = require("luarocks.download")
local fetch = require("luaro... | mit |
bmscoordinators/FFXI-Server | scripts/globals/items/serving_of_newt_flambe.lua | 12 | 1564 | -----------------------------------------
-- ID: 4329
-- Item: serving_of_newt_flambe
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Attack % 18
-- Attack Cap 65
-- Virus Resist 4
-- Curse Resist 4
-----------------------------------------
require("scripts/glob... | gpl-3.0 |
diamondo25/Vana | scripts/npcs/NLC_Taxi.lua | 2 | 2504 | --[[
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 |
rbazaud/vlc | share/lua/intf/modules/httprequests.lua | 45 | 15899 | --[==========================================================================[
httprequests.lua: code for processing httprequests commands and output
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at video... | gpl-2.0 |
deepak78/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk/dialplans.lua | 80 | 2807 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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
$Id$
]]--
l... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/AlTaieu/npcs/Auroral_Updraft.lua | 30 | 1713 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Auroral Updraft
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/AlTaieu/npcs/HomePoint#2.lua | 29 | 1244 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#2
-- @pos -532 0 447 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
-------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Western_Adoulin/npcs/Gontrain.lua | 14 | 1316 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Gontrain
-- Type: Standard NPC and Quest NPC
-- Involved with Quest: 'Raptor Rapture'
-- @zone 256
-- @pos 13 0 -143 256
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Actio... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/aquaveil.lua | 24 | 1381 | -----------------------------------------
-- Spell: Aquaveil
-- Reduces chance of having a spell interrupted.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---... | gpl-3.0 |
diamondo25/Vana | scripts/npcs/pirate4.lua | 2 | 4110 | --[[
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/Silver_Knife/Zone.lua | 17 | 1091 | -----------------------------------
--
-- Zone: Silver Knife
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Silver_Knife/TextIDs"] = nil;
require("scripts/zones/Silver_Knife/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Al_Zahbi/npcs/Rajaaha.lua | 53 | 2325 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Rajaaha
-- Type: Goldsmithing Normal/Adv. Image Support
-- @pos 49.9 0.1 -45.2 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("sc... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Abyssea-Konschtat/npcs/qm5.lua | 4 | 1347 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm5 (???)
-- Spawns Keratyrannos
-- @pos ? ? ? 15
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
... | gpl-3.0 |
colesbury/nn | Threshold.lua | 11 | 1375 | local Threshold, parent = torch.class('nn.Threshold','nn.Module')
function Threshold:__init(th,v,ip)
parent.__init(self)
self.threshold = th or 1e-6
self.val = v or 0
if (th and type(th) ~= 'number') or (v and type(v) ~= 'number') then
error('nn.Threshold(threshold, value)')
end
-- default for ... | bsd-3-clause |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Walls/npcs/Pakke-Pokke.lua | 14 | 1053 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Pakke-Pokke
-- Type: Standard NPC
-- @zone 239
-- @pos -3.464 -17.25 125.635
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Tavnazian_Safehold/npcs/Enaremand.lua | 14 | 1060 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Enaremand
-- Type: Standard NPC
-- @zone 26
-- @pos 95.962 -42.003 51.613
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
----... | gpl-3.0 |
hsgrishe/recycle-bin | spectator.lua | 1 | 1826 | module( "spectator", package.seeall )
useKeys = true
drawHUD = true
if CLIENT then
surface.CreateFont( "BhopFont", {
font = "Roboto",
size = 32,
extended = true,
shadow = true,
weight = 350,
} )
surface.CreateFont( "BhopFontS", {
font = "Roboto",
size = 18,
extended = true,
shad... | mit |
jsenellart/OpenNMT | tools/score.lua | 5 | 3141 |
require('torch')
local path = require('pl.path')
require('onmt.init')
local cmd = onmt.utils.ExtendedCmdLine.new('scorer.lua')
local options = {
{
'-scorer', 'bleu',
[[Scorer to use.]],
{
enum = onmt.scorers.list
}
},
{
'rfilestem',
'string',
[[Reads the reference(s) from `na... | mit |
gmorishere/plzplzplz | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
alivilteram/mustafa1p | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/North_Gustaberg_[S]/npcs/Roderich.lua | 16 | 1361 | -----------------------------------
-- Area: North Gustaberg (S) (I-6)
-- NPC: Gebhardt
-- Involved in Quests: The Fighting Fourth
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
r... | gpl-3.0 |
sini370/sini370xy | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
lliQll/BiRD_iQ | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-3.0 |
mralivictor/gpgu | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
telegramxmanbot/aaa | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
jvehent/MozDef | examples/heka-lua-bro/bro_known_hosts.lua | 14 | 1784 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-- Copyright (c) 2014 Mozilla Corporation
--
-- Contributors:
-- Anthony Verez averez@mozilla.com
-- Jeff Bryner jbryn... | mpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Abdhaljs_Isle-Purgonorgo/Zone.lua | 17 | 1353 | -----------------------------------
--
-- Zone: Abdhaljs_Isle-Purgonorgo
--
-----------------------------------
package.loaded["scripts/zones/Abdhaljs_Isle-Purgonorgo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Abdhaljs_Isle-Purgonorgo/TextIDs");
--... | gpl-3.0 |
diamondo25/Vana | scripts/npcs/crane.lua | 2 | 3865 | --[[
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 |
victorholt/Urho3D | bin/Data/LuaScripts/39_CrowdNavigation.lua | 9 | 27853 | -- CrowdNavigation example.
-- This sample demonstrates:
-- - Generating a dynamic navigation mesh into the scene
-- - Performing path queries to the navigation mesh
-- - Adding and removing obstacles/agents at runtime
-- - Raycasting drawable components
-- - Crowd movement management
-- - Acces... | mit |
wingo/snabb | src/core/histogram.lua | 8 | 4158 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- histogram.lua -- a histogram with logarithmic buckets
module(...,package.seeall)
local ffi = require("ffi")
local shm = require("core.shm")
local log, floor, max, min = math.log, math.floor, math.max, math.min
type = shm.register('his... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Beaucedine_Glacier/npcs/Leaufetie_RK.lua | 14 | 3346 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Leaufetie, R.K.
-- Type: Conquest Overseer
-- @pos -227.956 -81.475 260.442 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/con... | gpl-3.0 |
mehrpouya81/masterbot | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
parisjulien/arkadin-jitsimeet | resources/prosody-plugins/token/util.lib.lua | 1 | 10856 | -- Token authentication
-- Copyright (C) 2015 Atlassian
local basexx = require "basexx";
local have_async, async = pcall(require, "util.async");
local hex = require "util.hex";
local jwt = require "luajwtjitsi";
local http = require "net.http";
local jid = require "util.jid";
local json = require "cjson";
local path =... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua | 17 | 1716 | -----------------------------------
-- Area: Port Windurst
-- NPC: Hohbiba-Mubiba
-- 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 |
pakozm/april-ann | packages/ann/autoencoders/package.lua | 3 | 1322 | package{ name = "ann.autoencoders",
version = "1.0",
depends = { "ann", "dataset", "matrix", "util", "trainable" },
keywords = { "Stacked Denoising Auto-Encoders" },
description = "Implements a LUA function for training Stacked Denoising Auto-Encoers",
-- targets como en ant
target{
name = "init... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/abilities/ice_shot.lua | 9 | 3029 | -----------------------------------
-- Ability: Ice Shot
-- Consumes a Ice Card to enhance ice-based debuffs. Deals ice-based magic damage
-- Frost Effect: Enhanced DoT and AGI-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Quicksand_Caves/mobs/Triarius_IV-XIV.lua | 11 | 1427 | -----------------------------------
-- Area: Quicksand Caves
-- MOB: Tribunus_IV-XIV
-- Pops in Bastok mission 8-1 "The Chains that Bind Us"
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/Text... | gpl-3.0 |
emoon/wrui | bin/macosx/tundra/scripts/tundra/ide/xcode3.lua | 28 | 22220 | -- Xcode 3 (works in 4 as well) Workspace/Project file generation
module(..., package.seeall)
local path = require "tundra.path"
local nodegen = require "tundra.nodegen"
local util = require "tundra.util"
local native = require "tundra.native"
local xcode_generator = {}
local xcode_generator = {}
xcode_generator.__i... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Windurst_Waters/npcs/Cochal-Monchal.lua | 14 | 1617 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Cochal-Monchal
-- Involved in Quest: Dark Legacy
-- @zone 238
-- @pos -52 -6 110
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
diamondo25/Vana | scripts/npcs/crack.lua | 2 | 2500 | --[[
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/Southern_San_dOria/npcs/Phamelise.lua | 17 | 2189 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Phamelise
-- Only sells when San d'Oria controlls Zulkheim Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/T... | gpl-3.0 |
Snider-tech-club/Tank-game | game.love/HC/spatialhash.lua | 8 | 5480 | --[[
Copyright (c) 2011 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, distribut... | gpl-3.0 |
deepak78/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua | 80 | 3231 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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
$Id$
]]--
l... | apache-2.0 |
rbazaud/vlc | share/lua/playlist/metacafe.lua | 113 | 2150 | --[[
$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/commands/setweather.lua | 25 | 1579 | ---------------------------------------------------------------------------------------------------
-- func: setweather
-- desc: Sets the current weather for the current zone.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parame... | gpl-3.0 |
amoashi/h | plugins/groupmanager.lua | 1 | 144562 | local function modadd(msg)
local hash = "gp_lang:"..msg.to.id
local lang = redis:get(hash)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
if not lang then
return '_You are not bot admin_'
else
return 'شما مدیر ربات نمیباشید'
end
end
local d... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Ghelsba_Outpost/bcnms/toadal_recall.lua | 27 | 1512 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: toadal_recall BCNM30
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
aliwvw/Smart_guy | plugin/addreply.lua | 1 | 3639 | --[[
_ _ _ _ ___ ___ _
__ _| |__ ___ ___| | ___ __ ___ _ __ (_) __ _ / |/ _ \ / _ \| | __
/ _` | '_ \ / _ \/ __| |/ / '__/ _ \| '_ \ | |/ _` | | | | | | | | | |/ /
| (_| | |_) | (_) \__ \ <| | | (_) | |_) | | | (_| | | | |_| | |_| | < ... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Phomiuna_Aqueducts/npcs/Wooden_Ladder.lua | 14 | 3293 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: Wooden Ladder
-- @pos 101.9 -1.5 -101.9
-- @pos 101.948 -1.5 -18.016
-- @pos -61.888 -1.5 -18.079
-- @pos -218.109 -1.499 18.081
-- @pos -61.903 -1.5 138.099
-- @pos 21.901 -1.5 138.096
-- @pos 101.902 -1.5 181.902
-- @pos -159.32 -2.5 60
-- @pos... | gpl-3.0 |
IPAMS/RS | RS_Particle.lua | 1 | 2865 | --[[
Monte Carlo Reaction Simulation (RS) extension to SIMION charged particle simulator
This program implements a monte carlo model for the simulation of chemical
reaction kinetics involving charged particles (typically molecular ions) in the
SIMION charged particle simulator.
Additionally this program allo... | gpl-3.0 |
PraveerSINGH/nn | Bilinear.lua | 10 | 5606 | local Bilinear, parent = torch.class('nn.Bilinear', 'nn.Module')
local function isint(x) return type(x) == 'number' and x == math.floor(x) end
function Bilinear:__assertInput(input)
assert(input and type(input) == 'table' and #input == 2,
'input should be a table containing two data Tensors')
assert(input[... | bsd-3-clause |
DekuJuice/DICK | dick/mixins/resizable.lua | 1 | 3119 | local PATH = (...):gsub(".mixins.resizable", "")
local core = require(PATH .. ".core")
local clamp = core.math.clamp
local resizable = {}
local GRAB_POS = {
NONE = 0,
MIN = 1,
MAX = 2
}
function resizable:_init_resizable()
self.resizeMargins = {
left = 20,
right = 20,
top = 2... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Norg/npcs/Colleraie.lua | 14 | 1041 | -----------------------------------
-- Area: Norg
-- NPC: Colleraie
-- Type: Event Scene Replayer
-- @zone 252
-- @pos -24.684 0.097 -39.409
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
deepak78/luci | applications/luci-firewall/luasrc/model/cbi/firewall/forward-details.lua | 7 | 3918 | --[[
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
$Id$
]]--
lo... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Western_Altepa_Desert/mobs/Desert_Dhalmel.lua | 2 | 1047 | -----------------------------------
-- Area: Western Altepa Desert
-- MOB: Desert Dhalmel
-- Note: Place holder for Celphie
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/Western_Altepa_Desert/MobIDs");
-----------------------------------
-- onMobDeath
----------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Nashmau/npcs/Porter_Moogle.lua | 14 | 1513 | -----------------------------------
-- Area: Nashmau
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 53
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("script... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.