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 |
|---|---|---|---|---|---|
kidaa/lua-lluv | examples/file.lua | 4 | 1050 | local uv = require "lluv"
local chunk_size = 10
local file_name = "test.txt"
local function on_close()
print("Close:", file_name)
os.remove(file_name)
print("Remove:", file_name)
end
local offset = 0
local function on_read_data(file, err, buf, size)
print("Read:", err or (size==0) and "EOF" or size)
-- e... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/npcs/Garnev.lua | 2 | 2096 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Garnev
-- Starts and Finishes Quest: Deal with Tenshodo
-- @zone 245
-- @pos 30 4 -36
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Waters/npcs/Baren-Moren.lua | 36 | 7540 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Baren-Moren
-- Starts and Finishes Quest: Hat in Hand
-- Working 100%
-- @zone = 238
-- @pos = -66 -3 -148
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/holy_ii.lua | 2 | 1084 | -----------------------------------------
-- Spell: Holy II
-- Deals light damage to an enemy.
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnM... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/ojo_rice_ball.lua | 51 | 1472 | -----------------------------------------
-- ID: 5929
-- Item: Ojo Rice Ball
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- HP +50
-- Dexterity +5
-- Vitality +5
-- Character +5
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Attack +60
-- Defense... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/abilities/gallants_roll.lua | 11 | 2168 | -----------------------------------
-- Ability: Gallant's Roll
-- Reduces physical damage taken by party members within area of effect
-- Optimal Job: Paladin
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 55
--
-- Die Roll |No PLD |With PLD
-- -------- ------- -----------
-- 1 |4% |... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm4.lua | 19 | 1724 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: ???
-- Finishes Quest: Lovers in the Dusk
-- @zone 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Lotte.lua | 36 | 1431 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Lotte
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests")... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/mobskills/PW_Haymaker.lua | 13 | 1160 | ---------------------------------------------
-- Haymaker
--
-- Description: Punches the daylights out of all targets in front. Additional effect: Amnesia
-- Type: Physical
-- Utsusemi/Blink absorb: Unknown
-- Range: Front cone
-- Notes: Only used by Gurfurlur the Menacing.
-------------------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/gear_sets.lua | 1 | 21730 | -----------------------------------
-- Gear sets
-- Allows the use of gear sets with modifiers
-----------------------------------
require("scripts/globals/status");
-----------------------------------
local matchtype = {
any = 0,
earring_weapon = 1,
weapon_weapon = 2
}
-- placehol... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/raptor_mazurka.lua | 31 | 1188 | -----------------------------------------
-- Spell: Raptor Mazurka
-- Gives party members enhanced movement
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastin... | gpl-3.0 |
adobe-apiplatform/api-gateway-request-validation | src/lua/api-gateway/validation/signing/hmacGenericSignatureValidator.lua | 1 | 5020 | -- Copyright (c) 2015 Adobe Systems Incorporated. All rights reserved.
--
-- 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 r... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria/npcs/Well.lua | 4 | 1345 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Well
-- Involved in Quest: Grave Concerns
-- @zone 230
-- @pos -129 -6 92
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/npcs/ai/[clan_house_soldier]_jason.lua | 2 | 1071 | registerNpc(1162, {
walk_speed = 0,
run_speed = 0,
scale = 120,
r_weapon = 162,
l_weapon = 0,
level = 10,
hp = 100,
attack = 100,
hit = 100,
def = 100,
res = 100,
avoid ... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Pellimie.lua | 38 | 1025 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pellimie
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 145.459 0.000 131.540
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/bowl_of_zoni_broth.lua | 3 | 1562 | -----------------------------------------
-- ID: 5618
-- Item: bowl_of_zoni_broth
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 10
-- MP 10
-- Strength 1
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- HP Recovered While Healing 1
-- MP Recovered While Healing 1
--------------------------... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/modules/chat/sh_interface.lua | 13 | 3078 | DarkRP.declareChatCommand = DarkRP.stub{
name = "declareChatCommand",
description = "Declare a chat command (describe it)",
parameters = {
{
name = "table",
description = "The description of the chat command. Has to contain a string: command, string: description, number: dela... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Pashhow_Marshlands/npcs/Cavernous_Maw.lua | 2 | 1383 | -----------------------------------
-- Cavernous Maw
-- Teleports Players to Pashhow Marshlands [S]
-- @pos 418 25 27 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
donmatheo/white-kingdom | module/white-kingdom.sdd/EngineOptions.lua | 1 | 3161 | -- Custom Options Definition Table format
-- NOTES:
-- - using an enumerated table lets you specify the options order
--
-- These keywords must be lowercase for LuaParser to read them.
--
-- key: the string used in the script.txt
-- name: the displayed name
-- desc: the description (could be used ... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Mines/npcs/Goraow.lua | 2 | 2039 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Goraow
-- Starts Quests: Vengeful Wrath
-- @zone 234
-- @pos 38 0 14
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria/npcs/Nenne.lua | 4 | 2033 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Nenne
-- Starts and Finishes Quest: To Cure a Cough
-- @zone 230
-- @pos -114 -6 102
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/keyitems.lua | 2 | 75036 | -----------------------------------
--
-- KEYITEMS IDS
--
-----------------------------------
-----------------------------------
-- Temporary Key Items
-----------------------------------
ZERUHN_REPORT = 1;
PALBOROUGH_MINES_LOGS = 2;
BLUE_ACIDITY_TESTER = 3;
RED_ACIDITY_TEST... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Balakaf.lua | 37 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Balakaf
-- Type: Standard NPC
-- @pos 25.505 -6.999 126.478 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whi... | gpl-3.0 |
kans/zirgo | lua_modules/bourbon/lib/run.lua | 2 | 4325 | --[[
Copyright 2012 Rackspace
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/PsoXja/npcs/_096.lua | 17 | 1614 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _096 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/mobskills/Floodlight.lua | 19 | 1224 | ---------------------------------------------------
-- Floodlight
--
-- Description: ~300 magic damage, Flash, Blind and Silence, ignores Utsusemi
-- Type: Magical
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/choco-katana.lua | 36 | 1156 | -----------------------------------------
-- ID: 5918
-- Item: Choco-katana
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Agility 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/RuAun_Gardens/npcs/HomePoint#2.lua | 17 | 1250 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#2
-- @pos -499 -42 167 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/glob... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/abilities/hunters_roll.lua | 4 | 1384 | -----------------------------------
-- Ability: Hunter's Roll
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
local effec... | gpl-3.0 |
dany-sj/permag.ir | libs/mimetype.lua | 32 | 3057 | -- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types
do
local mimetype = {}
-- TODO: Add more?
local types = {
["text/html"] = "html",
["text/css"] = "css",
["text/xml"] = "xml",
["image/gif"] = "gif",
["image/jpeg"] = "jpg",
["application/x-javascript"] = "js",
["application/atom... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/bataquiche_+1.lua | 35 | 1474 | -----------------------------------------
-- ID: 5169
-- Item: Bataquiche +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged ATT % 7
-- Ranged ATT Cap 20
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Beaucedine_Glacier/npcs/relic.lua | 4 | 1858 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: <this space intentionally left blank>
-- @pos -89 0 -374 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Beaucedine_Glacier/TextID... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Phomiuna_Aqueducts/npcs/qm4.lua | 34 | 1034 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm4 (???)
-- Notes: Opens west door @ J-9
-- @pos 92.542 -25.907 26.548 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/elshimo_frog.lua | 18 | 1478 | -----------------------------------------
-- ID: 4290
-- Item: elshimo_frog
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
------------------------... | gpl-3.0 |
adobe-apiplatform/api-gateway-request-validation | test/unit-tests/api-gateway/redis/redisHealthCheckTest.lua | 1 | 9760 | ---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by vdatcu.
--- DateTime: 05/07/2018 11:04
---
local CLASS_UNDER_TEST = 'api-gateway.redis.redisHealthCheck'
local ngxUpstreamMock, ngxSocketMock, shared
beforeEach(function()
ngxUpstreamMock = mock('ngx.upstream', { 'get_primary_peers', 'get_ba... | mit |
cryptic-io/rpmbuild | nginxbuild/EXTRA/lua-nginx-module-0.8.3/t/lib/Redis.lua | 49 | 35692 | --[[
Copyright (c) 2009-2011 Daniele Alessandri
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,
... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Sauromugue_Champaign/TextIDs.lua | 4 | 1425 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6397; -- Obtained: <item>.
GIL_OBTAINED = 6398; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6400; -- Obtained... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/bluemagic/exuviation.lua | 18 | 1854 | -----------------------------------------
-- Spell: Exuviation
-- Restores HP and removes one detrimental magic effect
-- Spell cost: 40 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 4
-- Stat Bonus: HP+5 MP+5 CHR+1
-- Level: 75
-- Casting Time: 3 seconds
-- Recast Time: 60 se... | gpl-3.0 |
mandrav/moai_pex_editor | src/hp/util/Triangulation.lua | 1 | 3737 | --------------------------------------------------------------------------------
-- Triangulation routine is based on code by <br>
-- JOHN W. RATCLIFF (jratcliff@verant.com), July 22, 2000 <br>
--------------------------------------------------------------------------------
local M = {}
local EPSILON = 0.0000000001
... | mit |
fruitwasp/DarkRP | entities/weapons/weapon_m42/shared.lua | 12 | 3487 | AddCSLuaFile()
if CLIENT then
SWEP.Author = "DarkRP Developers"
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.Instructions = ""
SWEP.PrintName = "M4"
SWEP.Instructions = "Hold use and right-click to change firemodes or left-click to attach silencer."
SWEP.Slot = 2
SWEP.SlotPos = 0
SWEP.I... | mit |
SnakeSVx/spacebuild | lua/caf/addons/client/lifesupport2.lua | 2 | 1513 | local RD = {}
local status = (LIFESUPPORT == 2)
--The Class
--[[*
The Constructor for this Custom Addon Class
]]
function RD.__Construct()
return true
end
--[[*
Is this Addon visible in the menu?
]]
function RD.IsVisible()
return status
end
--[[*
The Destructor for this Custom Addon Class
]]
function RD._... | apache-2.0 |
clamoriniere1A/redis | deps/lua/test/life.lua | 888 | 2635 | -- life.lua
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
-- modified to use ANSI terminal escape sequences
-- modified to use for instead of while
local write=io.write
ALIVE="¥" DEAD="þ"
ALIVE="O" DEAD="-"
function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
for i=1,10000 do... | bsd-3-clause |
ArnaudSiebens/AutoActionCam | Libs/AceLocale-3.0/AceLocale-3.0.lua | 67 | 5637 | --- **AceLocale-3.0** manages localization in addons, allowing for multiple locale to be registered with fallback to the base locale for untranslated strings.
-- @class file
-- @name AceLocale-3.0
-- @release $Id: AceLocale-3.0.lua 1035 2011-07-09 03:20:13Z kaelten $
local MAJOR,MINOR = "AceLocale-3.0", 6
local AceLoc... | gpl-3.0 |
fw867/ntopng | scripts/lua/admin/prefs.lua | 2 | 3304 | --
-- (C) 2013 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
if ( (dirs.scriptdir ~= nil) and (dirs.scriptdir ~= "")) then package.path = dirs.scriptdir .. "/lua/modules/?.lua;" .. package.path end
require "lua_utils"
sendHTTPHeader('text/html; cha... | gpl-3.0 |
dani-sj/nanebot | plugins/isX.lua | 38 | 2032 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local api_key = mashape.api_key
if ... | gpl-2.0 |
RavenX8/osIROSE-new | scripts/npcs/ai/[founder_of_junon_order]_raw.lua | 2 | 1065 | registerNpc(1088, {
walk_speed = 0,
run_speed = 0,
scale = 120,
r_weapon = 0,
l_weapon = 0,
level = 10,
hp = 100,
attack = 100,
hit = 100,
def = 100,
res = 100,
avoid ... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/West_Ronfaure/npcs/Adalefont.lua | 19 | 1065 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Adalefont
-- @pos -176.000 -61.999 377.460 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/West_Ronfa... | gpl-3.0 |
Dual-Boxing/Jamba | Libs/AceSerializer-3.0/AceSerializer-3.0.lua | 18 | 8875 | --- **AceSerializer-3.0** can serialize any variable (except functions or userdata) into a string format,
-- that can be send over the addon comm channel. AceSerializer was designed to keep all data intact, especially
-- very large numbers or floating point numbers, and table structures. The only caveat currently is, ... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Morunaude.lua | 36 | 1428 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morunaude
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/abilities/mug.lua | 18 | 1691 | -----------------------------------
-- Ability: Mug
-- Steal gil from enemy.
-- Obtained: Thief Level 35
-- Recast Time: 5:00
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAbilityCheck
----------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/FeiYin/npcs/Dry_Fountain.lua | 17 | 1456 | -----------------------------------
-- Area: FeiYin
-- NPC: Dry Fountain
-- Involved In Quest: Peace for the Spirit
-- @pos -17 -16 71 204
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requir... | gpl-3.0 |
nagyist/assembla-ltrplugins | trunk/Templates/Default.lrdevplugin/Info.lua | 1 | 1454 | --[[
Info.lua
--]]
return {
-- *** GEN_BEGIN main
appName = "Template Default",
author = "Rob Cole",
authorsWebsite = "www.robcole.com",
platforms = { 'Windows', 'Mac' },
-- pluginId = , - same as toolkit id
xmlRpcUrl = "http://localhost",
LrPluginName = "Template Defaul... | artistic-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/PsoXja/npcs/qm1.lua | 17 | 1465 | -----------------------------------
-- Area: Pso'xja
-- NPC: ??? (qm1)
-- Notes: Used to spawn Golden-Tongued Culberry
-- @pos -270.063 31.395 256.812 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs... | gpl-3.0 |
ShmooDude/ovale | dist/Spells.lua | 1 | 7326 | local __exports = LibStub:NewLibrary("ovale/Spells", 80000)
if not __exports then return end
local __class = LibStub:GetLibrary("tslib").newClass
local __Debug = LibStub:GetLibrary("ovale/Debug")
local OvaleDebug = __Debug.OvaleDebug
local __Profiler = LibStub:GetLibrary("ovale/Profiler")
local OvaleProfiler = __Profil... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Bastok/npcs/Rajesh.lua | 4 | 1315 | -----------------------------------
-- Area: Port Bastok
-- NPC: Rajesh
-- @zone 236
-- @pos -62 1 -8
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scr... | gpl-3.0 |
ShmooDude/ovale | dist/Score.lua | 1 | 5560 | local __exports = LibStub:NewLibrary("ovale/Score", 80000)
if not __exports then return end
local __class = LibStub:GetLibrary("tslib").newClass
local __Ovale = LibStub:GetLibrary("ovale/Ovale")
local Ovale = __Ovale.Ovale
local __Debug = LibStub:GetLibrary("ovale/Debug")
local OvaleDebug = __Debug.OvaleDebug
local __F... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/green_curry_bun.lua | 35 | 1378 | -----------------------------------------
-- ID: 5756
-- Item: green_curry_bun
-- Food Effect: 1hour, All Races
-----------------------------------------
-- Vitality 1
-- Agility 2
-- Defense % 12
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/modules/base/cl_util.lua | 7 | 3208 | local plyMeta = FindMetaTable("Player")
--[[---------------------------------------------------------------------------
Show a black screen
---------------------------------------------------------------------------]]
local function blackScreen(um)
local toggle = um:ReadBool()
if toggle then
local blac... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Woods/npcs/Spare_Four.lua | 4 | 1449 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Spare Four
-- Working 100%
-- Involved in quest: A Greeting Cardian
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/globals/quests"] = nil;
require("scripts/globals/quests");
package.loaded["scripts/z... | gpl-3.0 |
LPGhatguy/lemur | lib/functions/settings/RenderSettings_spec.lua | 1 | 1182 | local RenderSettings = import("./RenderSettings")
local typeof = import("../typeof")
describe("functions.settings.RenderSettings", function()
it("should be an object", function()
local instance = RenderSettings.new()
assert.not_nil(instance)
assert.equals(typeof(instance), "RenderSettings")
end)
it("should b... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Carpenters_Landing/npcs/relic.lua | 2 | 1856 | -----------------------------------
-- Area: Carpenter's Landing
-- NPC: <this space intentionally left blank>
-- @pos -99 -0 -514 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Carpenters_Landing/TextID... | gpl-3.0 |
fw867/ntopng | scripts/lua/sprobe_flow_data.lua | 1 | 3842 | --
-- (C) 2014 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
require "flow_utils"
require "voip_utils"
require "sqlite_utils"
sendHTTPHeader('text/json')
flow_key = _GET["flow_key"]
if(flow_key == nil) then
flow = nil
else... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Jeuno/npcs/Shami.lua | 2 | 16987 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Shami
-- Orb Seller (BCNM)
-- @zone 246
-- @pos -14 8 44
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
kyroskoh/kong | kong/dao/error.lua | 22 | 2007 | -- DAOs need more specific error objects, specifying if the error is due
-- to the schema, the database connection, a constraint violation etc, so the
-- caller can take actions based on the error type.
--
-- We will test this object and might create a KongError class too
-- if successful and needed.
--
-- Ideally, tho... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Residential_Area/npcs/Moogle.lua | 29 | 1128 | -----------------------------------
-- Area: Residential Area
-- NPC: Moogle
-- Defunct Script - Should not be called by anything anymore
-- Moogle scripts are in each zone, calling a function from moghouse.lua
-----------------------------------
require("scripts/globals/moghouse")
---------------------------... | gpl-3.0 |
Saldor010/12-hours | lua/scripts/console.lua | 1 | 1219 | --[[
Copyright 2016 Saldor010
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/abilities/chi_blast.lua | 18 | 1101 | -----------------------------------
-- Ability: Chi Blast
-- Releases Chi to attack an enemy.
-- Obtained: Monk Level 41
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
--... | gpl-3.0 |
ArnaudSiebens/AutoActionCam | Libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua | 45 | 9218 | --[[-----------------------------------------------------------------------------
Frame Container
-------------------------------------------------------------------------------]]
local Type, Version = "Frame", 24
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Castle_Oztroja/npcs/_47x.lua | 17 | 1247 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47x (Handle)
-- Notes: Opens door _477
-- @pos -99 -71 -41 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextI... | gpl-3.0 |
correa/domoticz | dzVents/runtime/constants.lua | 1 | 3230 | return {
['ALERTLEVEL_GREEN'] = 1,
['ALERTLEVEL_GREY'] = 0,
['ALERTLEVEL_ORANGE'] = 3,
['ALERTLEVEL_RED'] = 4,
['ALERTLEVEL_YELLOW'] = 2,
['BARO_CLOUDY'] = 'cloudy', -- true mapping to numbers is done in the device adapters for baro and temphumbaro devices
['BARO_NOINFO'] = 'noinfo',
['BARO_PARTLYCLOUDY'] = ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Sacrarium/npcs/qm2.lua | 17 | 1739 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm2 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 102.669 -3.111 127.279 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacr... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Andecia.lua | 17 | 3002 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Andecia
-- Starts and Finishes Quest: Grave Concerns
-- @zone 230
-- @pos 167 0 45
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Ship_bound_for_Mhaura/npcs/Lokhong.lua | 2 | 1033 | -----------------------------------
-- Area: Ship bound for Mhaura
-- NPC: Lokhong
-- Guild Merchant NPC: Fishing Guild
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Mhaura/TextIDs"] = nil;
require("scripts/zones/Ship_bound_for_Mhaura/TextIDs");
-----------------------------------... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/modifier/modifier_charge_replenisher.lua | 1 | 2754 | LinkLuaModifier( "modifier_charge_replenishing", "modifiers/modifier_charge_replenisher.lua", LUA_MODIFIER_MOTION_NONE )
LinkLuaModifier("modifier_generic_bonus", "modifiers/modifier_generic_bonus.lua", LUA_MODIFIER_MOTION_NONE)
modifier_charge_replenisher = class(ModifierBaseClass)
function modifier_charge_replenish... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Heavens_Tower/npcs/Vahn_Paineesha.lua | 4 | 1045 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Vahn Paineesha
-- Type: Standard NPC
-- @zone: 242
-- @pos: -2.502 -47.999 -15.083
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
----... | gpl-3.0 |
fw867/ntopng | scripts/lua/inc/users.lua | 1 | 1030 |
print [[
<hr>
<div id="table-users"></div>
<script>
$("#table-users").datatable({
url: "/lua/admin/get_users.lua",
showPagination: true,
title: "Users",
buttons: [
"<a href='#add_user_dialog' role='button' class='add-on btn' data-toggle='modal' ><i class='glyphicon glyphicon-plus'></i><... | gpl-3.0 |
OuTopos/hate | main.lua | 1 | 2997 | require("strict")
local hate = require("lib.hate")
hate.debug.setLevel(2)
local game = {}
function love.load()
hate.load()
game.world = hate.newWorld()
game.world.enablePhysics()
game.viewport = hate.newViewport()
game.camera = game.viewport.newCamera()
--game.camera.x = -50
--game.camera.y = ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Ephauge.lua | 36 | 1468 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ephauge
-- General Info NPC
-- @zone 230
-- @pos -2 -2 45
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Sacrarium/npcs/qm7.lua | 17 | 1739 | -----------------------------------
-- 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/Sacr... | gpl-3.0 |
smbolton/libwhy | examples/modulation_matrix_demo.lua | 1 | 8557 | #!/usr/bin/env ylua
-- modulation_matrix_demo.lua -- a libwhy demonstration program.
-- This program, written by Sean Bolton, is in the public domain:
--
-- To the extent possible under law, the author has waived all copyright
-- and related or neighboring rights to the contents of this file, as
-- described in the C... | lgpl-2.1 |
fruitwasp/DarkRP | gamemode/libraries/tablecheck.lua | 2 | 12929 | --[[
tablecheck
WIP
Author: FPtje Falco
Purpose:
Allow validating tables by creating schemas of tables. Inspired by Joi (https://github.com/hapijs/joi)
Requires fn library (https://github.com/FPtje/GModFunctional),
Example:
```lua
local schema = tc.checkTable{
name = tc.addHint(isstring, "The name must be a ... | mit |
Sonicrich05/FFXI-Server | scripts/zones/La_Theine_Plateau/TextIDs.lua | 4 | 2213 | -- 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 = 6383; -- Obtained: <item>.
GIL_OBTAINED = 6384; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6386; -- Obtained... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/modifier/modifier_aa_speed_limit_break.lua | 1 | 1265 | ---------------------------------------------------------------------------
-- Angel Arena Limit Speed Break
---------------------------------------------------------------------------
modifier_aa_speed_limit_break = class({})
function modifier_aa_speed_limit_break:GetModifierMoveSpeed_Max() return 1000 end
function mo... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Eastern_Adoulin/Zone.lua | 34 | 1248 | -----------------------------------
--
-- Zone: Eastern Adoulin
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/zones/Eastern_Adoulin/TextIDs");
-----------------------------------
-- onInitialize... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Bastok_Markets/npcs/Olwyn.lua | 30 | 1461 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Olwyn
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/shop");
package.loaded["scr... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Caedarva_Mire/npcs/qm1.lua | 16 | 1168 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ??? (Spawn Verdelet(ZNM T2))
-- @pos 417 -19 -69 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Caedarva_Mire/TextIDs");
-----------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Morjean.lua | 21 | 1691 | -----------------------------------
-- 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 |
d909b/GADEL-Snake | Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/Set.lua | 12 | 3759 | --- A Set class.
--
-- > Set = require 'pl.Set'
-- > = Set{'one','two'} == Set{'two','one'}
-- true
-- > fruit = Set{'apple','banana','orange'}
-- > = fruit['banana']
-- true
-- > = fruit['hazelnut']
-- nil
-- > colours = Set{'red','orange','green','blue'}
-- > = fruit,colours
--... | bsd-3-clause |
Servius/tfa-sw-weapons-repository | In Development/servius_development/tfa_training_weapons/expanded_pack/lua/weapons/tfa_kotor_hvybp_1_training/shared.lua | 1 | 3776 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Heavy Blaster Pistol T1"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_swsft_base_servius_training"
SWEP.Category = "TFA Star Wars: Training"
SW... | apache-2.0 |
antispambot2/sersBot-cli | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
dani-sj/iman01 | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
ahmedbrake/telegram-bot | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/weaponskills/spinning_scythe.lua | 29 | 1388 | -----------------------------------
-- Spinning Scythe
-- Scythe weapon skill
-- Skill Level: 125
-- Delivers an area of effect attack. Attack radius varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: None
-- Mo... | gpl-3.0 |
ShmooDude/ovale | dist/DataBroker.lua | 1 | 6696 | local __exports = LibStub:NewLibrary("ovale/DataBroker", 80000)
if not __exports then return end
local __class = LibStub:GetLibrary("tslib").newClass
local __Localization = LibStub:GetLibrary("ovale/Localization")
local L = __Localization.L
local LibDataBroker = LibStub:GetLibrary("LibDataBroker-1.1", true)
local LibDB... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/weaponskills/asuran_fists.lua | 30 | 1676 | -----------------------------------
-- Asuran Fists
-- Hand-to-Hand weapon skill
-- Skill Level: 250
-- Delivers an eightfold attack. params.accuracy varies with TP.
-- In order to obtain Asuran Fists, the quest The Walls of Your Mind must be completed.
-- Due to the 95% params.accuracy cap there is only a 66% ch... | gpl-3.0 |
LPGhatguy/lemur | lib/instances/Humanoid.lua | 1 | 1363 | local BaseInstance = import("./BaseInstance")
local InstanceProperty = import("../InstanceProperty")
local Signal = import("../Signal")
local validateType = import("../validateType")
local Humanoid = BaseInstance:extend("Humanoid", {
creatable = true,
})
function Humanoid:init(instance)
getmetatable(insta... | mit |
Servius/tfa-sw-weapons-repository | In Development/servius_development/tfa_training_weapons/expanded_pack/lua/weapons/tfa_umbaran_blue_training/shared.lua | 1 | 4384 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Umbaran Rifle"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 62.51256281407
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_swsft_base_servius_training"
SWEP.Category = "TFA Star Wars: Training"
... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Outer_Horutoto_Ruins/npcs/_5e9.lua | 4 | 1669 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Gate: Magical Gizmo
-- Involved In Mission: The Heart of the Matter
-- @pos 584 0 -660 194
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
Dual-Boxing/Jamba | Modules/Jamba-AdvancedLoot/Locales/JambaAdvancedLoot-Locale-enUS.lua | 1 | 1830 | --[[
Jamba Advanced Loot
*******************
Author: Max Schilling
Create Date: 10/16/2012
Version: 5.1.1
Description: Jamba extension that allows choosing which group member is able to loot a certain item. Specifically intended for Motes of Harmony.
Credits: Built on top of the awesome JAMBA addon, most code is copied... | mit |
Sonicrich05/FFXI-Server | scripts/zones/La_Theine_Plateau/npcs/Chocobo_Tracks.lua | 17 | 1354 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Chocobo Tracks
-- Involved in quest: Chocobo on the Loose!
-- @pos -556 0 523 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.