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 |
|---|---|---|---|---|---|
bmscoordinators/FFXI-Server | scripts/zones/RuLude_Gardens/npcs/Pakh_Jatalfih.lua | 14 | 2931 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Pakh Jatalfih
-- @pos 34 8 -35 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/keyitems... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_Bastok/npcs/Juroro.lua | 26 | 5882 | -----------------------------------
-- Area: Port Bastok
-- NPC: Juroro
-- Starts and Finishes Quest: Trial by Earth
-- @pos 32 7 -41 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Attohwa_Chasm/npcs/Excavation_Point.lua | 17 | 1092 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Excavation Point
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/excavation");
require("scripts/zones/Attohwa_Chasm/TextIDs");
---------... | gpl-3.0 |
Snider-tech-club/Tank-game | game.love/HC/shapes.lua | 19 | 12362 | --[[
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, distribu... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/PsoXja/npcs/_i97.lua | 17 | 1185 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Stone Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyitems");
----... | gpl-3.0 |
yarrrthegame/publicconfig | ships/bike.lua | 1 | 2183 | t = {}
local yarrrconfig = require( "yarrrconfig" )
function t.create( ship )
yarrrconfig.create_ship(
ship,
{
-- left tire
Tile.new( TileCoordinate.new( 0, 0 ), TileCoordinate.new( 0, -1 ) ),
Tile.new( TileCoordinate.new( 1, 1 ), TileCoordinate.new( 2, 1 ) ),
Tile.new( TileCoordinate... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Collione.lua | 14 | 1703 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Collione
-- General Info NPC
-- @zone 230
-- @pos 10 2 -66
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/Tex... | gpl-3.0 |
stensonb/kubernetes | test/images/echoserver/template.lua | 195 | 17200 | -- vendored from https://raw.githubusercontent.com/bungle/lua-resty-template/1f9a5c24fc7572dbf5be0b9f8168cc3984b03d24/lib/resty/template.lua
-- only modification: remove / from HTML_ENTITIES to not escape it, and fix the appropriate regex.
--[[
Copyright (c) 2014 - 2017 Aapo Talvensaari
All rights reserved.
Redistribu... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Dynamis-Xarcabard/mobs/Count_Raum.lua | 23 | 1599 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Count Raum
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
------------------------... | gpl-3.0 |
lxbgit/luarocks | src/luarocks/make.lua | 18 | 3687 |
--- Module implementing the LuaRocks "make" command.
-- Builds sources in the current directory, but unlike "build",
-- it does not fetch sources, etc., assuming everything is
-- available in the current directory.
--module("luarocks.make", package.seeall)
local make = {}
package.loaded["luarocks.make"] = make
local... | mit |
bmscoordinators/FFXI-Server | scripts/globals/items/hellfire_axe.lua | 41 | 1071 | -----------------------------------------
-- ID: 16713
-- Item: Hellfire Axe
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | gpl-3.0 |
wingo/snabb | lib/ljsyscall/syscall/netbsd/constants.lua | 24 | 31397 | -- tables of constants for NetBSD
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local abi = require "syscal... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Eastern_Adoulin/npcs/HomePoint#1.lua | 27 | 1254 | -----------------------------------
-- Area: Eastern_Adoulin
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Eastern_Adoulin/TextIDs");
require("scripts/globals/homepoint");
---... | gpl-3.0 |
virgo-agent-toolkit/luvit-stream-fs | lib/read_stream.lua | 1 | 2386 | local core = require('core')
local pathlib = require('path')
local fs = require('fs')
local Readable = require('stream').Readable
local ReadOptions = core.Object:extend()
function ReadOptions:initialize()
self.flags = 'r'
self.mode = '0644'
self.offset = 0
self.fd = nil
self.length = nil
end
local ReadStr... | apache-2.0 |
Penguinum/keyboard-war | moonyscript.lua | 1 | 159410 | do
local _ENV = _ENV
package.preload[ "moonscript.base" ] = function( ... ) local arg = _G.arg;
local compile = require("moonscript.compile")
local parse = require("moonscript.parse")
local concat, insert, remove
do
local _obj_0 = table
concat, insert, remove = _obj_0.concat, _obj_0.insert, _obj_0.remove
end
local ... | mit |
bmscoordinators/FFXI-Server | scripts/globals/abilities/shikikoyo.lua | 15 | 1092 | -----------------------------------
-- Ability: Shikikoyo
-- Share TP above 1000 with a party member.
-- Obtained: Samurai Level 75
-- Recast Time: 5:00
-- Duration: Instant
-- Target: Party member, cannot target self.
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/st... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Apollyon/bcnms/central_apollyon.lua | 35 | 1239 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Central_Apollyon]Un... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zasshal.lua | 14 | 1037 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zasshal
-- Type: Salvage
-- @pos 101.468 -1 -20.088 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/Te... | gpl-3.0 |
pakozm/april-ann | tools/nbest/compute_deterministic_lm_score.lua | 3 | 3574 | if #arg < 3 or #arg > 6 then
print("Syntax:")
printf ("\t%s nbestfile lm vocab [use_bcc=yes use_ecc=yes cache_extra_set=nil]\n",
string.basename(arg[0]))
os.exit(128)
end
local nbestfile = arg[1]
local lm_file = arg[2]
local voc_filename = arg[3]
--local trie_size = t... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/butter_crepe.lua | 12 | 1495 | -----------------------------------------
-- ID: 5766
-- Item: Butter Crepe
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- HP +10% (cap 10)
-- Magic Accuracy +20% (cap 25)
-- Magic Defense +1
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
deepak78/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-res-feature.lua | 80 | 4201 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
DarkWanderer/DW.Lua | DW.Lua.UnitTests/Code/Fixtures/verybig.lua | 13 | 3711 | -- $Id: verybig.lua,v 1.25 2016/11/07 13:11:28 roberto Exp $
-- See Copyright Notice in file all.lua
print "testing RK"
-- testing opcodes with RK arguments larger than K limit
local function foo ()
local dummy = {
-- fill first 256 entries in table of constants
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, ... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Norg/npcs/Edal-Tahdal.lua | 26 | 4605 | -----------------------------------
-- Area: Norg
-- NPC: Edal-Tahdal
-- Starts and Finishes Quest: Trial by Water
-- @pos -13 1 -20 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glob... | gpl-3.0 |
ChannelIQ/qless-java | src/main/resources/complete.lua | 1 | 8515 | -- Complete(0, jid, worker, queue, now, data, [next, q, [(delay, d) | (depends, '["jid1","jid2",...]')])
-- -----------------------------------------------------------------------------------------------------
-- Complete a job and optionally put it in another queue, either scheduled or to
-- be considered waiting imme... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Dynamis-Bastok/mobs/Ze_Vho_Fallsplitter.lua | 17 | 1124 | -----------------------------------
-- Area: Dynamis Bastok
-- NPC: Ze'Vho Fallsplitter
-- Boss Trigger for Gu'Dha Effigy
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------... | gpl-3.0 |
matthewbauer/gametime-db | dat_converter.lua | 1 | 5609 | JSON = (loadfile "JSON.lua")()
local dat_obj = {}
local match_key = nil
local function dat_lexer(f, fname)
local line, err = f:read("*l")
local location = {line_no = 1, column = 1, fname = fname}
return function()
local tok = nil
while not tok do
if not line then
... | mit |
deepak78/luci | libs/sgi-wsapi/luasrc/sgi/wsapi.lua | 41 | 1800 | --[[
LuCI - SGI-Module for WSAPI
Description:
Server Gateway Interface for WSAPI
FileId:
$Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the Licens... | apache-2.0 |
deepak78/luci | modules/admin-full/luasrc/model/cbi/admin_system/backupfiles.lua | 85 | 2658 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
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://w... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Empyreal_Paradox/mobs/Selh_teus.lua | 23 | 1869 | -----------------------------------
-- Area: Empyreal Paradox
-- MOB: Selh'teus
-- Chains of Promathia 8-4 BCNM Fight
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------
-- onMo... | gpl-3.0 |
cypherkey/AvorionMission | lib/factionsmap.lua | 1 | 2998 | package.path = package.path .. ";data/scripts/lib/?.lua"
package.path = package.path .. ";data/scripts/?.lua"
local assert = assert
local FactionsMap = {}
FactionsMap.__index = FactionsMap
local function new(seed)
local obj = setmetatable({
factionRange = 17,
}, Fa... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Lower_Jeuno/npcs/_l07.lua | 7 | 2719 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @pos -51 0 -59 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
ClaymorePT/packages | lang/luaexpat/files/compat-5.1r5/compat-5.1.lua | 251 | 6391 | --
-- Compat-5.1
-- Copyright Kepler Project 2004-2006 (http://www.keplerproject.org/compat)
-- According to Lua 5.1
-- $Id: compat-5.1.lua,v 1.22 2006/02/20 21:12:47 carregal Exp $
--
_COMPAT51 = "Compat-5.1 R5"
local LUA_DIRSEP = '/'
local LUA_OFSEP = '_'
local OLD_LUA_OFSEP = ''
local POF = 'luaopen_'
local LUA_PA... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/blind_ii.lua | 6 | 1715 | -----------------------------------------
-- Spell: Blind II
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Blind II value per point is '1' This is a constant set in the table 'merits'
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
Mogli12/GearboxAddon | src/tempomatMogli.lua | 2 | 21458 | --***************************************************************
--
-- tempomatMogli
--
-- version 2.200 by mogli (biedens)
--
--***************************************************************
local tempomatMogliVersion=2.200
-- allow modders to include this source file together with mogliBase.lua in their mods
if ... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/bluemagic/blood_drain.lua | 2 | 1645 | -----------------------------------------
-- Spell: Blood Drain
-- Steals an enemy's HP. Ineffective against undead
-- Spell cost: 10 MP
-- Monster Type: Giant Bats
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 20
-- Casting Time: 4 seconds
-- Recast Time: 90 seconds
-- Magic... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Bastok_Markets/npcs/Somn-Paemn.lua | 17 | 1608 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Somn-Paemn
-- Only sells when Bastok has control of Sarutabaruta
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.lo... | gpl-3.0 |
colesbury/nn | VolumetricFullConvolution.lua | 2 | 7314 | local VolumetricFullConvolution, parent = torch.class('nn.VolumetricFullConvolution','nn.Module')
function VolumetricFullConvolution:__init(nInputPlane, nOutputPlane,
kT, kW, kH, -- kernel size
dT, dW, dH, -- stride
... | bsd-3-clause |
bmscoordinators/FFXI-Server | scripts/zones/Beadeaux_[S]/mobs/Da_Dha_Hundredmask.lua | 2 | 1494 | -----------------------------------
-- Area: Beadeaux [S] (92)
-- NM: Da'Dha Hundredmask
-- @spawnmob 17154195
-- @pos -89.901 .225 -159.694 92
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("HpTr... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/items/bowl_of_loach_gruel.lua | 12 | 1827 | -----------------------------------------
-- ID: 5670
-- Item: Bowl of Loach Gruel
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Dexterity 2
-- Agility 2
-- Accuracy 7% Cap 30
-- Ranged Accuracy 7% Cap 30
-- HP 7% Cap 30
-- Evasion 4
---------------------------... | gpl-3.0 |
pastukhov/fishy-wifi | lux/tsl2561lib.lua | 1 | 2747 | -- Library for working with TSL2561 I2C Luminosity sensor
-- As used on breakout board by Adafruit
-- Special hat-tip to lady ada - hacker hero - amongst many others
-- This code is AGPL v3 by gareth@l0l.org.uk and Hamish Cunningham
-- blah blah blah standard licence conditions apply blah blah blah
i2cutils = require(... | agpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Chaupire.lua | 14 | 1238 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Chaupire
-- Guild Merchant NPC: Woodworking Guild
-- @pos -174.476 3.999 281.854 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
diamondo25/Vana | scripts/instances/pirate3rd.lua | 2 | 1243 | --[[
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 |
pakozm/april-ann | packages/knn/kdtree/lua_src/kdtree.lua | 3 | 1961 | knn = knn or {}
knn.kdtree = knn.kdtree or {}
function knn.kdtree.classifyKNN(result, get_class_function)
local best_class,max,counts = nil,0,{}
for i=1,#result do
local c = get_class_function(result[i][1])
counts[c] = (counts[c] or 0) + 1
if counts[c] > max then best_class,max = c,counts[c] end
end
... | gpl-3.0 |
TannerRogalsky/GGJ2017 | player/character.lua | 1 | 1200 | local Character = class('Character', Base)
function Character:initialize(owner, x, y, radius, rotation, speed)
Base.initialize(self)
assert(owner:isInstanceOf(Player))
assert(is_num(x))
assert(is_num(y))
assert(is_num(radius))
assert(is_num(rotation))
assert(is_num(speed))
self.owner = owner
self.x... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Bastok_Markets/npcs/Sinon.lua | 16 | 4310 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Sinon
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage");
require("scrip... | gpl-3.0 |
pakozm/april-ann | packages/ann/optimizer/lua_src/optimizer_simplex.lua | 3 | 9207 | local assert = assert
local ipairs = ipairs
local math = math
local pairs = pairs
local string = string
local table = table
local type = type
--
local april_assert = april_assert
local get_table_fields = get_table_fields
local iterator = iterator
local mop = matrix.op
local md = matrix.dict
local MAX_UPDATES_WITHOUT_P... | gpl-3.0 |
colesbury/nn | CAdd.lua | 9 | 3479 | local CAdd, parent = torch.class("nn.CAdd", "nn.Module")
function CAdd:__init(...)
parent.__init(self)
local arg = {...}
self.size = torch.LongStorage()
local n = #arg
if n == 1 and torch.type(arg[1]) == 'torch.LongStorage' then
self.size:resize(#arg[1]):copy(arg[1])
else
self.size:resiz... | bsd-3-clause |
cheney247689848/Cloud-edge | Assets/ToLua/Lua/UnityEngine/Profiler.lua | 4 | 7571 | --------------------------------------------------------------------------------
-- Copyright (c) 2015 - 2018 , 蒙占志(topameng) topameng@gmail.com
-- All rights reserved.
-- Use, modification and distribution are subject to the "MIT License"
-----------------------------------------------------------------... | mit |
bmscoordinators/FFXI-Server | scripts/globals/spells/knights_minne_ii.lua | 27 | 1501 | -----------------------------------------
-- Spell: Knight's Minne II
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cas... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/absorb-agi.lua | 9 | 1367 | --------------------------------------
-- Spell: Absorb-AGI
-- Steals an enemy's agility.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------------... | gpl-3.0 |
pakozm/april-ann | packages/hmm_trainer/lua_src/read_arpa.lua | 3 | 8576 | -- modelo = {name="nombre",
-- transitions={
-- {from="...", to="....", prob=... , id="....", emission="...",output="..."}
-- ...
-- }
-- initial="...",
-- final="..."
-- }
HMMTrainer = HMMTrainer or {} -- namespace
-- Recibe una tabla con estos argumentos:
-- file
-- filename, solo se usa si no hay file
--... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/spells/bluemagic/battery_charge.lua | 28 | 1450 | -----------------------------------------
-- Spell: Battery Charge
-- Gradually restores MP
-- Spell cost: 50 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: MP+10, MND+1
-- Level: 79
-- Casting Time: 5 seconds
-- Recast Time: 75 seconds
-- Spell Duration: 100 ticks, 300... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Morjean.lua | 14 | 1794 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morjean
-- Involved in Quest: A Squire's Test II (Optional), The Holy Crest
-- @pos 99 0 116 231
-------------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
Mogli12/GearboxAddon | FS17_GearboxAddon/mogliScreen.lua | 2 | 14171 | --
-- mogliBasics
-- This is the specialization for mogliBasics
--
-- change log
-- 1.00 initial version
-- Usage: source(Utils.getFilename("mogliScreen.lua", g_currentModDirectory));
-- _G[g_currentModDirectory.."mogliScreen"].newClass( "AutoCombine", "acParameters" )
local mogliScreenVersion = 1.06
local... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Tahrongi_Canyon/npcs/Telepoint.lua | 14 | 1714 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Telepoint
-- @pos 100.000 35.150 340.000 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Tahrongi_... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Kazham-Jeuno_Airship/npcs/Oslam.lua | 30 | 2299 | -----------------------------------
-- Area: Kazham-Jeuno Airship
-- NPC: Oslam
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Kazham-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
--... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/North_Gustaberg/npcs/Shigezane_IM.lua | 14 | 3340 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Shigezane, I.M.
-- Type: Outpost Conquest Guards
-- @pos -584.687 39.107 54.281 106
-------------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/c... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/weaponskills/shoulder_tackle.lua | 18 | 1591 | -----------------------------------
-- Shoulder Tackle
-- Hand-to-Hand weapon skill
-- Skill Level: 40
-- Stuns target. Chance of stunning varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Thunder Gorget.
-- Aligned with the Aqua Belt & Thunder Belt.
-- Element: None
-- Modifiers: VIT:1... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/weaponskills/shield_break.lua | 18 | 1903 | -----------------------------------
-- Shield Break
-- Great Axe weapon skill
-- Skill level: 5
-- Lowers enemy's Evasion. Duration of effect varies with TP.
-- Lowers Evasion by as much as 40 if unresisted.
-- Strong against: Bees, Beetles, Birds, Crabs, Crawlers, Flies, Lizards, Mandragora, Opo-opo, Pugils, Sabotende... | gpl-3.0 |
venkatramanareddy/myo-lua-scripts | MorseCodeKeyboard/morseCodeScript.lua | 1 | 3247 | scriptId = 'com.challenged.keyboard'
curDash = 6
curChar = 1
curCase = "lower"
lMorse = {"space","e","i","s","h","5","4","v","space","3","u","f","space","space","space","space","2","a","r","l","space","space","space","space","space","w","p","space","space","j","space","1","t","n","d","b","6","space","x","space","space... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Balgas_Dais/Zone.lua | 30 | 1783 | -----------------------------------
--
-- Zone: Balgas_Dais (146)
--
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Balgas_Dais/TextIDs");
-----------------------------------... | gpl-3.0 |
bigboyq/proxmark3 | client/scripts/14araw.lua | 20 | 4521 | local cmds = require('commands')
local getopt = require('getopt')
local lib14a = require('read14a')
example = "script run 14araw -x 6000F57b"
author = "Martin Holst Swende"
desc =
[[
This is a script to allow raw 1444a commands to be sent and received.
Arguments:
-o do not connect - use this only if you previ... | gpl-2.0 |
RockySeven3161/NewBot | plugins/banhammer.lua | 17 | 5744 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
cheney247689848/Cloud-edge | Assets/Script_Lua/core/scene/L_SceneTemplate.lua | 1 | 1257 | require "core/state/L_Scene"
require "core/state/L_StateMachine"
require "core/scene/L_SceneState"
L_SceneTemplate = {}
L_SceneTemplate = L_Scene:New({})
local _this = L_SceneTemplate
_this.stateNone = nil
_this.stateLayout = nil
_this.stateProcess = nil
_this.stateGlobal = nil
function _this:Init()
print("--- I... | mit |
hacker44-h44/h44botv2 | plugins/stats.lua | 3 | 3973 | 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 |
bmscoordinators/FFXI-Server | scripts/zones/East_Sarutabaruta/npcs/Pore-Ohre.lua | 14 | 1675 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Pore-Ohre
-- Involved In Mission: The Heart of the Matter
-- @pos 261 -17 -458 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ke... | gpl-3.0 |
WebAssembly/wabt | scripts/help2man.lua | 2 | 3580 | #!/usr/bin/env lua
local format_br = '\n.br\n'
local tools = {
"wasm-decompile", "wasm-interp", "wasm-objdump", "wasm-opcodecnt",
"wasm-strip", "wasm-validate", "wasm2c", "wasm2wat",
"wast2json", "wat-desugar", "wat2wasm", "spectest-interp"
}
local name, mainarg, argvs
local usage
local short = ""
local full = {}
... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Port_San_dOria/npcs/Auvare.lua | 17 | 1656 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Auvare
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
----... | gpl-3.0 |
suxinde2009/wesnoth | data/ai/micro_ais/cas/ca_bottleneck_attack.lua | 4 | 3171 | local AH = wesnoth.require "ai/lua/ai_helper.lua"
local H = wesnoth.require "lua/helper.lua"
local ca_bottleneck_attack = {}
function ca_bottleneck_attack:evaluation(cfg, data)
local attackers = AH.get_units_with_attacks {
side = wesnoth.current.side,
{ "filter_adjacent", {
{ "filter_s... | gpl-2.0 |
Shayan123456/botttttt10 | plugins/vote.lua | 83 | 2129 | do
local _file_votes = './data/votes.lua'
function read_file_votes ()
local f = io.open(_file_votes, "r+")
if f == nil then
print ('Created voting file '.._file_votes)
serialize_to_file({}, _file_votes)
else
print ('Values loaded: '.._file_votes)
f:close()
end
return loadfile (_file_votes)()... | gpl-2.0 |
ashkanpj/fire-creed | plugins/vote.lua | 83 | 2129 | do
local _file_votes = './data/votes.lua'
function read_file_votes ()
local f = io.open(_file_votes, "r+")
if f == nil then
print ('Created voting file '.._file_votes)
serialize_to_file({}, _file_votes)
else
print ('Values loaded: '.._file_votes)
f:close()
end
return loadfile (_file_votes)()... | gpl-2.0 |
XtBot/xt | plugins/Banhammer.lua | 105 | 12576 |
local function pre_process(msg)
local data = load_data(_config.moderation.data)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Che... | gpl-2.0 |
diamondo25/Vana | scripts/npcs/rithTeleport.lua | 2 | 10551 | --[[
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 |
emoon/wrui | bin/macosx/tundra/scripts/tundra/syntax/pkgconfig.lua | 19 | 1228 | module(..., package.seeall)
function ConfigureRaw(cmdline, name, constructor)
local fh = assert(io.popen(cmdline))
local data = fh:read("*all")
fh:close()
local cpppath = {}
local libpath = {}
local libs = {}
local defines = {}
local frameworks = {}
for kind, value in data:gmatch("-([ILlD])([^ \n\r... | mit |
tehran98/Team-Spammer | plugins/pokedex.lua | 626 | 1668 | do
local images_enabled = true;
local function get_sprite(path)
local url = "http://pokeapi.co/"..path
print(url)
local b,c = http.request(url)
local data = json:decode(b)
local image = data.image
return image
end
local function callback(extra)
send_msg(extra.receiver, extra.text, ok_cb, false)
end
lo... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/West_Sarutabaruta/npcs/Twinkle_Tree.lua | 14 | 2451 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Twinkle Tree
-- Involved in Quest: To Catch a Falling Star
-- Note: EventID for Twinkle Tree is unknown. Quest funtions but the full event is not played.
-- @pos 156.003 -40.753 333.742 115
-----------------------------------
package.loaded["scrip... | gpl-3.0 |
nsimplex/wicker | kernel_extensions/dst_abstraction/rpc/customrpcs.lua | 1 | 3205 | if IsWorldgen() then
return
end
local Lambda = wickerrequire "paradigms.functional"
local Pred = wickerrequire "lib.predicates"
local Common = pkgrequire "common"
local AddModRPCHandler
local GetModRPCHandler
local SendModRPCToServer
if IsDST() then
local code_key = {}
local function GetModRPCCode(inst)
local ... | gpl-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/blade_metsu.lua | 33 | 1029 | ---------------------------------------------
-- Blade Metsu
--
-- Description: Additional effect: Paralysis Kikoku/Yoshimitsu: Temporarily enhances Subtle Blow effect.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/sta... | gpl-3.0 |
sajadaltaie/arabicbot | plugins/id.lua | 5 | 5010 | --[[
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 se... | gpl-2.0 |
ThomasWitte/dynasmgb | dynasm/dasm_mips.lua | 62 | 28080 | ------------------------------------------------------------------------------
-- DynASM MIPS module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _i... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Nashmau/npcs/Leleroon.lua | 6 | 3492 | -----------------------------------
-- Area: Nashmau
-- NPC: Leleroon
-- Corsair AF2 and AF3 quests
-- @pos -14.687 0.000 25.114 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/g... | gpl-3.0 |
deepak78/luci | libs/core/luasrc/model/firewall.lua | 13 | 11139 | --[[
LuCI - Firewall model
Copyright 2009 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
Unless required by applica... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/zones/Abyssea-Grauberg/npcs/Cruor_Prospector.lua | 29 | 1305 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Cruor Prospector
-- Type: Cruor NPC
-- @pos ? ? ? 254 (missing from DSP database)
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Abysse... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Caedarva_Mire/TextIDs.lua | 7 | 1340 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6385; -- Obtained: <item>.
GIL_OBTAINED = 6386; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6388; -- Obtained... | gpl-3.0 |
tynaut/GardenBot | monsters/unique/gardenbot/harveststate.lua | 1 | 7074 | --------------------------------------------------------------------------------
harvestState = {}
--------------------------------------------------------------------------------
function harvestState.enter()
local position = entity.position()
local target = nil
local type = nil
if string.find(self.searchType,... | apache-2.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/final_sting.lua | 36 | 1218 | ---------------------------------------------
-- Final Sting
--
-- Description: Deals damage proportional to HP. Reduces HP to 1 after use. Damage varies with TP.
-- Type: Physical (Slashing)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
r... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/globals/mobskills/toxic_spit.lua | 36 | 1025 | ---------------------------------------------
-- Toxic Spit
--
-- Description: Spews a toxic glob at a single target. Additional effect: Poison
-- Type: Magical Water
-- Utsusemi/Blink absorb: Ignores shadows
-- Notes: Additional effect can be removed with Poisona.
---------------------------------------------
req... | gpl-3.0 |
yardnsm/dotfiles | nvim/lua/user/plugin/cmp.lua | 1 | 3570 | local cmp_status_ok, cmp = pcall(require, "cmp")
if not cmp_status_ok then
return
end
local snip_status_ok, luasnip = pcall(require, "luasnip")
if not snip_status_ok then
return
end
local check_backspace = function()
local col = vim.fn.col(".") - 1
return col == 0 or vim.fn.getline("."):sub(col, col):match("%... | mit |
bmscoordinators/FFXI-Server | scripts/zones/Maze_of_Shakhrami/npcs/_5i0.lua | 14 | 1748 | -----------------------------------
-- Area: Maze of Shakhrami
-- Quest: Corsair Af1 "Equiped for All Occasions"
-- NPC: Iron Door (Spawn Lost Soul)
-- @pos 247.735 18.499 -142.267 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Abyssea-Attohwa/npcs/qm11.lua | 5 | 1346 | -----------------------------------
-- Zone: Abyssea-Attohwa
-- NPC: qm11 (???)
-- Spawns Nightshade
-- @pos ? ? ? 215
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Kazham/npcs/Lalapp.lua | 15 | 3767 | -----------------------------------
-- Area: Kazham
-- NPC: Lalapp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
-63.243702, -11.000023, -97.916130,
-63.970551,... | gpl-3.0 |
bmscoordinators/FFXI-Server | scripts/zones/Ordelles_Caves/npcs/Ruillont.lua | 14 | 2325 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: Ruillont
-- Involved in Mission: The Rescue Drill
-- @pos -70 1 607 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require... | gpl-3.0 |
liflg/etqw_1.5-multilingual_x86 | scripts/config.lua | 1 | 4114 | local _ = MojoSetup.translate
Setup.Package
{
vendor = "liflg.org",
id = "etqw",
description = "Enemy Territory: Quake Wars GNU/Linux x86 client",
version = "1.5",
splash = "splash.png",
superuser = false,
write_manifest = true,
support_uninstall = true,
recommended_destinations =
{
"/usr/local/g... | bsd-3-clause |
nsimplex/wicker | init/requirer.lua | 1 | 11898 | --------------------------------------------------------------------------------
-- |
-- Module : wicker.init.requirer
-- Note :
--
-- This module provides require-like functionality under a specified environment.
--
--------------------------------------------------------------------------------
local... | gpl-2.0 |
cloudflare/lua-capnproto | capnp.lua | 1 | 19853 | -----------------------------------------------------------
-- lua-capnproto runtime module.
-- @copyright 2013-2014 Jiale Zhi (vipcalio@gmail.com)
-----------------------------------------------------------
local ffi = require "ffi"
local bit = require "bit"
local arshift = bit.arshift
local lshift, rshift... | bsd-2-clause |
firedtoad/skynet | lualib/skynet/db/redis/cluster.lua | 18 | 12535 | -- a simple redis-cluster client
-- rewrite from https://github.com/antirez/redis-rb-cluster
local skynet = require "skynet"
local redis = require "skynet.db.redis"
local crc16 = require "skynet.db.redis.crc16"
local RedisClusterHashSlots = 16384
local RedisClusterRequestTTL = 16
local sync = {
once = {
tasks = {... | mit |
cypherkey/AvorionMission | systems/teleporterkey1.lua | 1 | 1099 | package.path = package.path .. ";data/scripts/systems/?.lua"
package.path = package.path .. ";data/scripts/lib/?.lua"
require ("basesystem")
require ("utility")
-- this teleporter key is given by the Haatii
function getNumTurrets(seed, rarity)
return math.max(1, rarity.value)
end
function onInstalled(seed, rarit... | gpl-3.0 |
kaeza/lua-chatterbot | marshal.lua | 1 | 1101 |
local type, tostring, error, pairs, table_insert, table_concat, pcall, setfenv,
loadstring =
type, tostring, error, pairs, table.insert, table.concat, pcall, setfenv,
loadstring
module "marshal"
local function repr(x)
local t = type(x)
if x == nil then
return "nil"
elseif t == "string" then
... | bsd-2-clause |
bmscoordinators/FFXI-Server | scripts/globals/status.lua | 1 | 85952 | ------------------------------------
--
-- STATUSES AND MODS
--
-- Contains variable-ized definitions of things like core enums for use in lua scripts.
------------------------------------
------------------------------------
-- Job IDs
------------------------------------
JOBS =
{
["NONE"] = 0,
["WAR"] = 1... | gpl-3.0 |
NetEase/openlua | src/stack.lua | 2 | 2803 | require("common.lua")
Stack = {}
local _data = {}
function Stack.New(t)
local obj = { [_data] = {} }
setmetatable(obj, Stack)
for _,e in ipairs(t) do
table.insert(obj[_data],1,e)
end
return obj
end
function Stack:Count()
assert(IsType(self,Stack),
"Stack.Count requires a stack value!")
... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.