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/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/dragon_steak.lua | 3 | 1736 | -----------------------------------------
-- ID: 4350
-- Item: dragon_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 25
-- Strength 7
-- Intelligence -3
-- Health Regen While Healing 2
-- Attack % 20
-- Attack Cap 150
-- Ranged ATT % 20
-- Ranged ATT Cap 150
-- Demon Killer ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/dish_of_spag_nero_di_seppia_+1.lua | 35 | 1798 | -----------------------------------------
-- ID: 5202
-- Item: dish_of_spag_nero_di_seppia_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 17 (cap 140)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
---------------... | gpl-3.0 |
premake/premake-core | binmodules/luasocket/test/testmesg.lua | 45 | 2957 | -- load the smtp support and its friends
local smtp = require("socket.smtp")
local mime = require("mime")
local ltn12 = require("ltn12")
function filter(s)
if s then io.write(s) end
return s
end
source = smtp.message {
headers = { ['content-type'] = 'multipart/alternative' },
body = {
[1] = {
... | bsd-3-clause |
Sonicrich05/FFXI-Server | scripts/globals/mobskills/Heavy_Stomp.lua | 25 | 1078 | ---------------------------------------------
-- Heavy Stomp
--
-- Description: Deals heavy damage to targets within an area of effect. Additional effect: Paralysis
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Paralysis effect has a very long duration.
-------... | gpl-3.0 |
mmamal7/maxbot | bot/seedbot.lua | 1 | 9898 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/The_Garden_of_RuHmet/npcs/HomePoint#1.lua | 17 | 1203 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scripts/globals... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Dynamis-Tavnazia/bcnms/dynamis_Tavnazia.lua | 16 | 1139 | -----------------------------------
-- Area: dynamis_Tavnazia
-- Name: dynamis_Tavnazia
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaTavnazia]UniqueID",player:getDynamisUniqueID(1289));
SetServerVariable... | gpl-3.0 |
NDOrg/qghl2rp | schema/items/ammo/sh_rocketammo.lua | 1 | 1037 | --[[
NutScript 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 3 of the License, or
(at your option) any later version.
NutScript is distributed in the hope that it will be usef... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Xarcabard/npcs/Tememe_WW.lua | 30 | 3041 | -----------------------------------
-- Area: Xarcabard
-- NPC: Tememe, W.W.
-- Type: Border Conquest Guards
-- @pos -133.678 -22.517 112.224 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader/[TFA][AT] Shared Resources Pack/lua/effects/serv_passive_poison.lua | 2 | 1631 | EFFECT.Mat1 = Material( "particle/particle_ring_wave_8" )
function EFFECT:Init( data )
self.StartPos = data:GetOrigin()
self.Entity = data:GetEntity()
self.FollowPlayer = self.Entity:GetPos()
self.Duration = data:GetScale()*6
self.HPMax = math.max( math.Round( data:GetMagnitude() ),0)
self.HealingAm = 0
self.... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/bluemagic/feather_storm.lua | 18 | 2042 | -----------------------------------------
-- Spell: Feather Storm
-- Additional effect: Poison. Chance of effect varies with TP
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+2, HP+5
-- Level: 12
-- Casting Time: 0.5 seconds
-- Reca... | gpl-3.0 |
Dual-Boxing/Jamba | Libs/LibStub/LibStub.lua | 184 | 1367 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVI... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Abyssea-Grauberg/npcs/Cruor_Prospector.lua | 33 | 1112 | -----------------------------------
-- Area: Abyssea - Grauberg
-- NPC: Cruor Prospector
-- Type: Cruor NPC
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/abyssea")... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Al_Zahbi/npcs/Gaweesh.lua | 4 | 1030 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gaweesh
-- Type: Najelith's Attendant
-- @zone: 48
-- @pos: -64.537 -8 37.928
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua | 2 | 1371 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Ipupu
-- Involved in Quest: Glyph Hanger
-- @zone 115
-- @pos 251.745 -5.5 35.539
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
LPGhatguy/lemur | lib/types/UDim2_spec.lua | 1 | 3194 | local UDim = import("./UDim")
local UDim2 = import("./UDim2")
local function extractUDim2(udim)
return { udim.X.Scale, udim.X.Offset, udim.Y.Scale, udim.Y.Offset }
end
describe("types.UDim2", function()
it("should have an empty constructor", function()
local udim = UDim2.new()
assert.not_nil(udim)
assert.are... | mit |
JoshuaEstes/eso-lootomatic | Lootomatic.lua | 1 | 10741 | --[[
--
-- Lootomatic
--
-- Manages loot by allowing you to set filters on what you
-- want to keep and what you want to mark as junk to sell
-- at your friendly vendor.
--
--]]
local Lootomatic = {}
Lootomatic.name = 'Lootomatic'
Lootomatic.version = 2
-- Defaults
Lootomatic.defaults = {
config = {
... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Boneyard_Gully/npcs/_081.lua | 17 | 1429 | -----------------------------------
-- Area: Boneyard_Gully
-- NPC: _081 (Dark Miasma)
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/glo... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/West_Sarutabaruta/npcs/Stone_Monument.lua | 32 | 1299 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -205.593 -23.210 -119.670 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/npcs/ai/[patrol_dog]_stephen.lua | 2 | 1065 | registerNpc(1244, {
walk_speed = 0,
run_speed = 0,
scale = 110,
r_weapon = 0,
l_weapon = 0,
level = 10,
hp = 100,
attack = 100,
hit = 100,
def = 100,
res = 100,
avoid ... | apache-2.0 |
RavenX8/osIROSE-new | scripts/mobs/ai/pincer.lua | 2 | 1072 | registerNpc(511, {
walk_speed = 250,
run_speed = 550,
scale = 200,
r_weapon = 0,
l_weapon = 0,
level = 143,
hp = 33,
attack = 604,
hit = 411,
def = 524,
res = 393,
avoid ... | apache-2.0 |
JesterXL/Corona-SDK---Adobe-AIR-Workshop-and-Refactoring-Presentation | Gaming/code-gaming/Corona/Lesson-5/5-a/main.lua | 1 | 1664 | require "physics"
physics.start()
physics.setDrawMode( "hybrid" )
physics.setGravity( 0, 0 )
stage = display.getCurrentStage()
player = display.newImage("player.png")
player.x = 40
player.y = 40
physics.addBody( player, { density = 1.0, friction = 0.3, bounce = 0.2,
bodyType = "kinematic",
isBullet = t... | mit |
FelixPe/nodemcu-firmware | lua_modules/liquidcrystal/lc-gpio4bit.lua | 7 | 2474 | local gpio, bit = gpio, bit --luacheck: read globals gpio bit
return function(bus_args)
local rs = bus_args.rs or 0
local rw = bus_args.rw
local en = bus_args.en or 1
local bl = bus_args.backlight
local d4 = bus_args.d4 or 2
local d5 = bus_args.d5 or 3
local d6 = bus_args.d6 or 4
local d7 = bus... | mit |
Sonicrich05/FFXI-Server | scripts/globals/status.lua | 1 | 76315 | ------------------------------------
--
-- STATUSES AND MODS
--
-- Contains variable-ized definitions of things like core enums for use in lua scripts.
------------------------------------
------------------------------------
-- Job IDs
------------------------------------
JOB_NON = 0
JOB_WAR = 1
JOB_M... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria_[S]/npcs/Geltpix.lua | 36 | 1165 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Geltpix
-- @zone 80
-- @pos 154 -2 103
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-------------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Milazahn.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Milazahn
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
madninja/activelua | test/test-base.lua | 1 | 8698 | ---
--- See LICENSE file in top directory for copyright information
local Base = require "ActiveLua.Base"
require "lunit"
lunit.setprivfenv()
lunit.import "assertions"
lunit.import "checks"
local base = lunit.TestCase("Base Class Methods")
function base:setup()
self.Organization = Base:extend("Organizat... | mit |
Sonicrich05/FFXI-Server | scripts/globals/effects/agi_down.lua | 18 | 1092 | -----------------------------------
--
-- EFFECT_AGI_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_AGI) - effec... | gpl-3.0 |
nickguletskii/GLXOSD | src/glxosd/plugins/OSD/OSD.lua | 1 | 3591 | --[[
Copyright (C) 2016 Nick Guletskii
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, distribute... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Leonora.lua | 4 | 1433 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Leonora
-- Involved in Quest:
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/truelove_chocolate.lua | 35 | 1232 | -----------------------------------------
-- ID: 5231
-- Item: truelove_chocolate
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP 10
-- MP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
mranzinger/axon | thirdparty/rapidjson/build/premake4.lua | 5 | 3441 | function setTargetObjDir(outDir)
for _, cfg in ipairs(configurations()) do
for _, plat in ipairs(platforms()) do
local action = _ACTION or ""
local prj = project()
--"_debug_win32_vs2008"
local suffix = "_" .. cfg .. "_" .. plat .. "_" .. action
targetPath = outDir
suffi... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Chateau_dOraguille/npcs/Perfaumand.lua | 2 | 1622 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Perfaumand
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -39 -3 69 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/dish_of_hydra_kofte_+1.lua | 3 | 1740 | -----------------------------------------
-- ID: 5603
-- Item: dish_of_hydra_kofte_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 7
-- Intelligence -3
-- Attack % 21
-- Attack Cap 90
-- Defense % 21
-- Defense Cap 70
-- Ranged ATT % 20
-- Ranged ATT Cap 90
-- Poison Resist 5
... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters_[S]/npcs/Llewellyn.lua | 4 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Llewellyn
-- Type: Campaign Evaluator
-- @zone: 94
-- @pos: -6.907 -2 42.871
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
Ding8222/skynet | lualib/skynet/db/redis/crc16.lua | 30 | 2687 | --/*
-- This is the CRC16 algorithm used by Redis Cluster to hash keys.
-- Implementation according to CCITT standards.
--
-- This is actually the XMODEM CRC 16 algorithm, using the
-- following parameters:
--
-- Name : "XMODEM", also known as "ZMODEM", "CRC-16/ACORN"
-- Width ... | mit |
bright-things/ionic-luci | modules/luci-mod-rpc/luasrc/controller/rpc.lua | 37 | 4466 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local require = require
local pairs = pairs
local print = print
local pcall = pcall
local table = table
module "luci.controller.rpc"
function index()
local ... | apache-2.0 |
fruitwasp/DarkRP | gamemode/modules/hungermod/cl_f4foodtab.lua | 2 | 1357 | local PANEL = {}
local function canBuyFood(food)
local ply = LocalPlayer()
if (food.requiresCook == nil or food.requiresCook == true) and not ply:isCook() then return false, true end
if food.customCheck and not food.customCheck(LocalPlayer()) then return false, false end
if not ply:canAfford(food.pri... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Uleguerand_Range/npcs/HomePoint#2.lua | 19 | 1189 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#2
-- @pos
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Backups_Reworks/tfa_wsp_extended_assets/lua/weapons/tfa_wsp_2/shared.lua | 1 | 4870 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "DH-17R"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 76.381909547739
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.HoldType = "ar2"
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category = "TFA Star Wars"
SWEP.Spawna... | apache-2.0 |
daVoodooShuffle/OpenRA | mods/ra/maps/soviet-06a/soviet06a-reinforcements_teams.lua | 14 | 1668 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
daVoodooShuffle/OpenRA | mods/ra/maps/soviet-06b/soviet06b-reinforcements_teams.lua | 14 | 1668 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
FelixPe/nodemcu-firmware | tests/utils/NTestTapOut.lua | 5 | 1173 | -- This is a NTest output handler that formats its output in a way that
-- resembles the Test Anything Protocol (though prefixed with "TAP: " so we can
-- more readily find it in comingled output streams).
local nrun
return function(e, test, msg, err)
msg = msg or ""
err = err or ""
if e == "pass" then
p... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Misareaux_Coast/npcs/Logging_Point.lua | 29 | 1107 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Misareaux_Coast/TextIDs");
... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Sea_Serpent_Grotto/npcs/Grounds_Tome.lua | 34 | 1151 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTr... | gpl-3.0 |
premake/premake-core | modules/xcode/tests/test_xcode_project.lua | 3 | 122159 | --
-- tests/actions/xcode/test_xcode_project.lua
-- Automated test suite for Xcode project generation.
-- Copyright (c) 2009-2011 Jason Perkins and the Premake project
--
local suite = test.declare("xcode_project")
local p = premake
local xcode = p.modules.xcode
---------------------------------------------------... | bsd-3-clause |
Sonicrich05/FFXI-Server | scripts/zones/Port_Jeuno/npcs/Zona_Shodhun.lua | 34 | 3745 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Zona Shodhun
-- Starts and Finishes Quest: Pretty Little Things
-- @zone 246
-- @pos -175 -5 -4
-----------------------------------
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Kuftal_Tunnel/Zone.lua | 17 | 2256 | -----------------------------------
--
-- Zone: Kuftal_Tunnel (174)
--
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Kuftal_Tunne... | gpl-3.0 |
premake/premake-core | binmodules/luasocket/test/urltest.lua | 12 | 19140 | local socket = require("socket")
socket.url = require("socket.url")
dofile("testsupport.lua")
local check_build_url = function(parsed)
local built = socket.url.build(parsed)
if built ~= parsed.url then
print("built is different from expected")
print(built)
print(expected)
os.exi... | bsd-3-clause |
Servius/tfa-sw-weapons-repository | Backups_Reworks/tfa_f11/lua/weapons/tfa_f11_white/shared.lua | 1 | 7452 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "F-11"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 70.35175879397
SWEP.Slot = 2
SWEP.SlotPos = 3
--SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15A")
--killicon.Add( "weapon_752_dc15a", "HUD/... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Upper_Delkfutts_Tower/Zone.lua | 2 | 2166 | -----------------------------------
--
-- Zone: Upper_Delkfutts_Tower (158)
--
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
require("/scripts/globals/common");
require("/scripts/globals/settings");
require("scripts/globals/teleports");
require("scripts/zones/... | gpl-3.0 |
renatomaia/loski | test/network/stream.lua | 1 | 1389 | local time = require "time"
local network = require "network"
local tests = require "test.network.utils"
for _, kind in ipairs{"datagram", "connection"} do
local socket = tests.testcreatesocket(kind)
if tests.IsWindows then
tests.testerrmsg("address unavailable", socket:connect("0.0.0.0", 80))
elseif kind == "co... | mit |
Themroc/luasocket | samples/cddb.lua | 56 | 1415 | local socket = require("socket")
local http = require("socket.http")
if not arg or not arg[1] or not arg[2] then
print("luasocket cddb.lua <category> <disc-id> [<server>]")
os.exit(1)
end
local server = arg[3] or "http://freedb.freedb.org/~cddb/cddb.cgi"
function parse(body)
local lines = string.gfind(bo... | mit |
cartographer-project/cartographer_mir | cartographer_mir/configuration_files/assets_writer_mir.lua | 2 | 1568 | -- Copyright 2018 The Cartographer Authors
--
-- 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... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Lower_Jeuno/npcs/Domenic.lua | 34 | 1998 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Domenic
-- BCNM/KSNM Teleporter
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/settings")... | gpl-3.0 |
grimpy/awesome | luadoc/root.lua | 6 | 1788 | --- awesome root window API
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008-2009 Julien Danjou
module("root")
--- Get or set global mouse bindings.
-- This binding will be available when you'll click on root window.
-- @param button_table An array of mouse button bindings objects, or nothing.
--... | gpl-2.0 |
coldAmphibian/DotL-Compiled-Old | scripts/vscripts/howling_abyss_brush_locations.lua | 1 | 2411 | brush_locations = {
["brush_a"] = {Vector(-1760,-992,128),Vector(-1504,-672,128),Vector(-1568,-736,128),Vector(-1568,-800,128),Vector(-1632,-864,128),Vector(-1696,-928,128),Vector(-1760,-928,128),Vector(-1376,-736,128),Vector(-1440,-800,128),Vector(-1504,-928,128),Vector(-1568,-992,128),Vector(-1632,-992,128),Vector(-1... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Diraulate.lua | 6 | 1318 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Diraulate
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
... | gpl-3.0 |
kolyagora/packages | utils/luci-app-lxc/files/controller/lxc.lua | 77 | 2909 | --[[
LuCI LXC module
Copyright (C) 2014, Cisco Systems, Inc.
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
Author: Petar Koretic <petar.koretic@sart... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Garlaige_Citadel/npcs/_5kr.lua | 17 | 1534 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: _5kr (Crematory Hatch)
-- Type: Door
-- @pos 139 -6 127 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/two-leaf_mandragora_bud.lua | 3 | 1084 | -----------------------------------------
-- ID: 4368
-- Two-Leaf Mandragora Bud
-- 5 Minutes, food effect, All Races
-----------------------------------------
-- Agility +2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Lower_Jeuno/npcs/Ruslan.lua | 37 | 2004 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Ruslan
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 245
-- @pos = -19 -1 -58
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Hariga-Origa.lua | 4 | 3284 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Hariga-Origa
-- Starts & Finishes Quest: Glyph Hanger
-- Involved in Mission 2-1
-- @pos -62 -6 105 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
bright-things/ionic-luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua | 50 | 4887 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local nw = require "luci.model.network"
local fw = require "luci.model.firewall"
local uci = require "luci.model.uci".cursor()
local http = require "luci.http"
local iw = lu... | apache-2.0 |
bright-things/ionic-luci | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
require("luci.i18n")
re... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/crescent_fish.lua | 2 | 1150 | -----------------------------------------
-- ID: 4473
-- Item: crescent_fish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
rlowrance/re | parcels-imputed-CODE-mapper.lua | 1 | 4969 | -- main program to filter a slice of unknown codes into a slice
-- of imputed codes
--
-- COMMAND LINE OPTIONS
-- --slice [N|all] read specified slice of stdin or all
-- use all if input is actually a slice
-- --of M number of slices; use if --slice N is specified
--
-- -- code CODE name... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Qufim_Island/npcs/Jiwon.lua | 17 | 1862 | -----------------------------------
-- Area: Qufim Island
-- NPC: Jiwon
-- Type: Outpost Vendor
-- @pos -249 -19 300 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globa... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Walls/npcs/Seven_of_Diamonds.lua | 4 | 1116 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Seven of Diamonds
-- Type: Standard NPC
-- @zone: 239
-- @pos: 6.612 -3.5 278.553
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Leuveret.lua | 13 | 1539 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Leuveret
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Souther... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Phomiuna_Aqueducts/npcs/qm3.lua | 34 | 1033 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm3 (???)
-- Notes: Opens north door @ J-9
-- @pos 116.743 -24.636 27.518 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Palguevion.lua | 36 | 1806 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Palguevion
-- Only sells when San d'Oria controlls Valdeaunia Region
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Gusgen_Mines/npcs/_5g7.lua | 19 | 2608 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Strange Apparatus
-- @pos: 219 -39 255 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
require("scripts/zones/Gusgen_Mines/TextIDs");
require("scripts/globals/strangeapparatus");
--------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Upper_Jeuno/npcs/Koriso-Manriso.lua | 38 | 1024 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Koriso-Manriso
-- Type: Item Deliverer
-- @zone: 244
-- @pos -64.39 1 23.704
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
----------------------------... | gpl-3.0 |
mohammadrezatitan/parsol | libs/fakeredis.lua | 5 | 40418 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/hero/hero_juggernaut.lua | 1 | 35582 | --[[ Author: Yahnich
Date: 28.03.2017 ]]
CreateEmptyTalents('juggernaut')
-- JUGGERNAUT SPECIFIC UTILITY FUNCTIONS --
function IsTotem(unit) -- have to do it like this because server and client side classes are different thanks valve
return ( not unit:HasMovementCapability() )
end
-- BLADE FURY --
imba_juggernaut_... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/galkan_sausage_+2.lua | 3 | 1249 | -----------------------------------------
-- ID: 5860
-- Item: galkan_sausage_+2
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Intelligence -6
-- Attack 11
-- Ranged Attack 11
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Windurst/npcs/Goltata.lua | 4 | 1366 | -----------------------------------
-- Area: Port Windurst
-- NPC: Goltata
-- Involved in Quests: Wonder Wands
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
bright-things/ionic-luci | applications/luci-app-pbx/luasrc/model/cbi/pbx-advanced.lua | 18 | 14476 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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 3 of the License, or
... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/party_egg.lua | 35 | 1260 | -----------------------------------------
-- ID: 4595
-- Item: party_egg
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 25
-- Magic 25
-- Attack 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_Bastok/npcs/Sugandhi.lua | 30 | 1587 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sugandhi
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/shop");
-----------------------------------
-- onTra... | gpl-3.0 |
rayaman/multi | multi/integration/networkManager/serverSide.lua | 1 | 1787 | --[[
MIT License
Copyright (c) 2022 Ryan Ward
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, di... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Den_of_Rancor/npcs/_4g6.lua | 2 | 2613 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Lantern (SE)
-- @pos -59 45 24 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs")... | gpl-3.0 |
LPGhatguy/lemur | lib/types/Color3.lua | 1 | 2859 | local assign = import("../assign")
local typeKey = import("../typeKey")
local function lerpNumber(a, b, alpha)
return (1 - alpha) * a + b * alpha
end
local Color3 = {}
setmetatable(Color3, {
__tostring = function()
return "Color3"
end,
})
local prototype = {}
function prototype:lerp(goal, alpha)
return Color... | mit |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_shared_resources/lua/effects/rw_sw_dual_laser_red.lua | 2 | 4228 | TRACER_FLAG_USEATTACHMENT = 0x0002
SOUND_FROM_WORLD = 0
CHAN_STATIC = 6
EFFECT.Life = 1
EFFECT.Speed = 16384
EFFECT.Length = 175
--EFFECT.WhizSound = Sound( "nomad/whiz.wav" ); -- by Robinhood76 (http:--www.freesound.org/people/Robinhood76/sounds/96556/)
EFFECT.WhizDistance = 72
local MaterialMain = Material("effect... | apache-2.0 |
behradhg/TeleNfs | plugins/pin.lua | 1 | 2755 | do
local function run(msg, matches)
if msg.to.type == 'user' then return end
local chat_id, user_id = msg.to.id,msg.from.id
local phash = 'pin' .. chat_id
local pin_id = redis:get(phash)
if matches[2] then
if pin_id then --try to edit the old message
td.editMessageText(chat_id, ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Arrapago_Reef/Zone.lua | 20 | 1927 | -----------------------------------
--
-- Zone: Arrapago_Reef (54)
--
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Arrapago_Reef/TextIDs");
------------------------------... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/mobs/ai/candle_ghost.lua | 2 | 28242 | registerNpc(251, {
walk_speed = 150,
run_speed = 350,
scale = 90,
r_weapon = 1076,
l_weapon = 0,
level = 48,
hp = 22,
attack = 195,
hit = 126,
def = 97,
res = 168,
avoid ... | apache-2.0 |
correa/domoticz | dzVents/runtime/dzVents.lua | 3 | 2400 | local TESTMODE = false
globalvariables['testmode'] = false
--globalvariables['dzVents_log_level'] = 4 --debug
if (_G.TESTMODE) then
TESTMODE = false
globalvariables['testmode'] = false
end
local scriptPath = globalvariables['script_path'] -- should be ${szUserDataFolder}/scripts/dzVents/
local runtimePath = globalv... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_extended_live/lua/weapons/tfa_f11_dirty/shared.lua | 1 | 7503 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "F-11B"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 70.35175879397
SWEP.Slot = 2
SWEP.SlotPos = 3
--SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15A")
--killicon.Add( "weapon_752_dc15a", "HUD... | apache-2.0 |
premake/premake-core | src/base/_foundation.lua | 1 | 11078 | ---
-- Base definitions required by all the other scripts.
-- @copyright 2002-2015 Jason Perkins and the Premake project
---
premake = premake or {}
premake._VERSION = _PREMAKE_VERSION
package.loaded["premake"] = premake
premake.modules = {}
premake.extensions = premake.modules
local semver = dofile('semver.lu... | bsd-3-clause |
Sornii/pureviolence | data/spells/scripts/support/sharpshooter.lua | 26 | 1143 | local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, 0)
local condition = Condition(CONDITION_ATTRIBUTES)
condition:setParameter(CONDITION_PARAM_TICKS, 10000)
condition:setParameter(CONDITION_PARAM_SKILL_DISTANCEPERCENT, 150)
condition:setP... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria/npcs/Najjar.lua | 2 | 1374 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Najjar
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requir... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/weaponskills/burning_blade.lua | 30 | 1294 | -----------------------------------
-- Burning Blade
-- Sword weapon skill
-- Skill Level: 30
-- Desription: Deals Fire elemental damage to enemy. Damage varies with TP.
-- Aligned with the Flame Gorget.
-- Aligned with the Flame Belt.
-- Element: Fire
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/bluemagic/death_scissors.lua | 28 | 1831 | -----------------------------------------
-- Spell: Death Scissors
-- Damage varies with TP
-- Spell cost: 51 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 5
-- Stat Bonus: MND+2, CHR+2, HP+5
-- Level: 60
-- Casting Time: 0.5 seconds
-- Recast Time: 24.5 seconds
-- Skill... | gpl-3.0 |
ShmooDude/ovale | dist/DemonHunterDemonic.lua | 1 | 4593 | local __exports = LibStub:NewLibrary("ovale/DemonHunterDemonic", 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.OvaleDe... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Jack_of_Hearts.lua | 6 | 1192 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jack of Hearts
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst_Waters/TextIDs");
----... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Bhoy_Yhupplo.lua | 30 | 3598 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Bhoy Yhupplo
-- Type: Assault Mission Giver
-- @pos 127.474 0.161 -30.418 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Woods/npcs/Kopua-Mobua_AMAN.lua | 5 | 1054 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kopua-Mobua A.M.A.N.
-- Type: Mentor Recruiter
-- @zone: 241
-- @pos: -23.134 1.749 -67.284
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = ... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/mobs/fields/JG02.lua | 2 | 19828 |
--[[ MOB SPAWN LIST
mob(<mob_spawner_alias>, <mob_id>, <mob_count>, <spawner_limit>, <spawn_interval>, <spawner_range>, <map_id>, <x_pos>, <y_pos>, <z_pos>);
--]]
mob("", 31, 1, 4, 17, 35, 23, 5078.14, 5456.11, 29.89);
mob("", 31, 1, 4, 17, 35, 23, 5078.14, 5456.11, 29.89);
mob("", 91, 1, 4, 17, 35, 23, 5078.14, 5456... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.