repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
bright-things/ionic-luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua | 75 | 1236 | -- 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.
f = SimpleForm("processes", translate("Processes"), translate("This list gives an overview over currently running system processes and their status."))
f.reset... | apache-2.0 |
AndriiDSD/GND_Control | src/dissector/mavlink_dissector.lua | 1 | 537694 | -- Wireshark dissector for the MAVLink protocol (please see http://qgroundcontrol.org/mavlink/start for details)
mavlink_proto = Proto("mavlink_proto", "MAVLink protocol")
f = mavlink_proto.fields
payload_fns = {}
messageName = {
[0] = 'HEARTBEAT',
[1] = 'SYS_STATUS',
[2] = 'SYSTEM_TIME',
[4] = 'PIN... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/mobs/ai/frozen_statue.lua | 2 | 1072 | registerNpc(650, {
walk_speed = 300,
run_speed = 800,
scale = 250,
r_weapon = 0,
l_weapon = 0,
level = 147,
hp = 43,
attack = 746,
hit = 306,
def = 451,
res = 382,
avoid ... | apache-2.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_krennic_pistols/lua/weapons/tfa_krennic_darkish/shared.lua | 1 | 6939 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "DT-29"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 70
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category = "TFA Star Wars"
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.HoldType = "... | apache-2.0 |
DrMelon/OpenRA | mods/ra/maps/soviet-05/AI.lua | 26 | 4192 | IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end
IdlingUnits = function()
local lazyUnits = Map.ActorsInBox(NWIdlePoint.CenterPosition, Map.BottomRight, function(actor)
return actor.HasProperty("Hunt") and (actor.Owner == GoodGuy or actor.Owner == Greece) end)
Utils.Do(laz... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/bluemagic/heat_breath.lua | 18 | 1792 | -----------------------------------------
-- Spell: Heat Breath
-- Deals fire damage to enemies within a fan-shaped area originating from the caster
-- Spell cost: 169 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 4
-- Stat Bonus: STR+3
-- Level: 71
-- Casting Time: 7.5 seconds... | gpl-3.0 |
grimpy/awesome | luadoc/key.lua | 8 | 1120 | --- awesome key API
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008-2009 Julien Danjou
module("key")
--- Key object.
-- @field key The key to press to triggers an event.
-- @field keysym Same as key, but return the name of the key symbol. It can
-- be identical to key, but for characters like '.... | gpl-2.0 |
ShmooDude/ovale | dist/scripts/ovale_demonhunter.lua | 1 | 39680 | local __Scripts = LibStub:GetLibrary("ovale/Scripts")
local OvaleScripts = __Scripts.OvaleScripts
do
local name = "sc_pr_demon_hunter_havoc"
local desc = "[8.0] Simulationcraft: PR_Demon_Hunter_Havoc"
local code = [[
# Based on SimulationCraft profile "PR_Demon_Hunter_Havoc".
# class=demonhunter
# spec=havo... | gpl-2.0 |
szd1007/thft-learn | lib/lua/TServer.lua | 30 | 3992 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
Ding8222/skynet | lualib/skynet/inject.lua | 21 | 1445 | local function getupvaluetable(u, func, unique)
local i = 1
while true do
local name, value = debug.getupvalue(func, i)
if name == nil then
return
end
local t = type(value)
if t == "table" then
u[name] = value
elseif t == "function" then
if not unique[value] then
unique[value] = true
getu... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/timbre_timbers_taco.lua | 3 | 1446 | -----------------------------------------
-- ID: 5173
-- Item: timbre_timbers_taco
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP 20
-- Vitality -1
-- Agility 5
-- MP Recovered While Healing 3
-- Ranged Accuracy % 8 (cap 15)
-----------------------------------------
require("scripts/g... | gpl-3.0 |
rlowrance/re | lua/crossValidation-test.lua | 1 | 3303 | -- crossValidation-test.lua
-- unit test
require 'all'
tester = Tester()
test = {}
function test.one()
-- actual model y = 2 x + 1 + epsilon
-- epsilon ~ N(0,.1)
-- models tested are of the form y = ax + b
local v = makeVerbose(false, 'test.alphaModelFit')
local seed = 27
torch.manualSeed(seed)
... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Waters/npcs/Dienger.lua | 38 | 1042 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dienger
-- Type: Melody Minstrel
-- @zone: 238
-- @pos -46.448 -6.312 212.384
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/East_Ronfaure/npcs/Cheval_River.lua | 2 | 1593 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Cheval_River
-- @zone: 101
-- @pos: 223 -58 426
--
-- Involved in Quest: Waters of Cheval
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Sealions_Den/npcs/Airship_Door.lua | 21 | 1823 | -----------------------------------
-- Area:
-- NPC: Airship_Door
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");
require("scripts/zones/Sealions_Den/TextIDs");
... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Tavnazian_Safehold/npcs/_0qa.lua | 2 | 1746 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: walnut door
-- Involved in mission 2-4
-- @pos 111 -41 41 26
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("s... | gpl-3.0 |
bioh4x/NeatFreq | lib/genometools-1.4.1/gtdata/modules/external/cgilua/session.lua | 4 | 7333 | ----------------------------------------------------------------------------
-- Session library.
--
-- @release $Id: session.lua,v 1.29 2007/11/21 16:33:20 carregal Exp $
----------------------------------------------------------------------------
local lfs = require"lfs"
local serialize = require"cgilua.serialize"
l... | gpl-2.0 |
fruitwasp/DarkRP | gamemode/modules/money/sv_interface.lua | 13 | 1964 | DarkRP.PLAYER.addMoney = DarkRP.stub{
name = "addMoney",
description = "Give money to a player.",
parameters = {
{
name = "amount",
description = "The amount of money to give to the player. A negative amount means you're substracting money.",
type = "number",
... | mit |
werpat/luaplot | legend.lua | 1 | 2134 | --[[
-- Copyright (c) 2015 Patrick Werneck
--
-- See the file LICENSE for copying permission.
--]]
local hpdf = require "hpdf"
local legend = {}
legend.__index = legend
function legend.create(graph, args)
local self = setmetatable({}, legend)
self.graph = graph
graph:addLegend(self)
for k, v in pairs(args) d... | mit |
rlowrance/re | pp_test.lua | 1 | 1283 | -- pp_test.lua
-- unit test
require 'makeVp'
require 'pp'
local vp, verboseLevel = makeVp(0, 'tester')
-- unit test pp.table
local actuallyPrint = verboseLevel > 0
if actuallyPrint then
t1 = {one = 1, abc = 'abc'}
pp.table('t1', t1)
pp.table(t1)
t2 = {def = 'def', nested = t1}
pp.table('t2', t2)
... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Sacrarium/Zone.lua | 28 | 3727 | -----------------------------------
--
-- Zone: Sacrarium (28)
--
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/zones/Sacrarium/TextIDs")... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Femitte.lua | 17 | 3110 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Femitte
-- Involved in Quest: Lure of the Wildcat (San d'Oria), Distant Loyalties
-- @pos -17 2 10 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
behradhg/TeleNfs | libs/tg.lua | 1 | 87052 |
local M = {}
function dl_cb(arg, data)
end
function getChatId(chat_id)
chat = {}
chat_id = tostring(chat_id)
if chat_id:match('^-100') then
channel_id = chat_id:gsub('-100', '')
chat = {ID = channel_id, type = 'channel'}
else
group_id = chat_id:gsub('-', '')
chat = {ID = group_id, type = 'g... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_Windurst/npcs/_6o7.lua | 37 | 1091 | -----------------------------------
-- Area: Port Windurst
-- NPC: Door: Arrivals Entrance
-- @zone 240
-- @pos 212 -6 96
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("script... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/heroes/hero_invoker/invoker_retro_shock.lua | 1 | 2763 | --[[ ============================================================================================================
Author: Rook
Date: March 9, 2015
Called when Shock is cast.
Additional parameters: keys.DelayBeforeDamage
================================================================================================... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Norg/npcs/Edal-Tahdal.lua | 17 | 4294 | -----------------------------------
-- 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("s... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/mechanics/courier/courier.lua | 1 | 1413 | -- Courier Spawner and maybe future handler
-- Taken from bb template
if Courier == nil then
Debug.EnabledModules['courier:*'] = true
DebugPrint ( 'creating new Courier object' )
Courier = class({})
end
function Courier:Init ()
Courier.hasCourier = {}
Courier.hasCourier[DOTA_TEAM_BADGUYS] = false
Courier... | mit |
Dual-Boxing/Jamba | Libs/AceComm-3.0/ChatThrottleLib.lua | 22 | 15434 | --
-- ChatThrottleLib by Mikk
--
-- Manages AddOn chat output to keep player from getting kicked off.
--
-- ChatThrottleLib:SendChatMessage/:SendAddonMessage functions that accept
-- a Priority ("BULK", "NORMAL", "ALERT") as well as prefix for SendChatMessage.
--
-- Priorities get an equal share of available bandwidth... | mit |
RavenX8/osIROSE-new | scripts/mobs/ai/ghost_rackie.lua | 2 | 3680 | registerNpc(751, {
walk_speed = 160,
run_speed = 250,
scale = 200,
r_weapon = 0,
l_weapon = 0,
level = 90,
hp = 80,
attack = 328,
hit = 262,
def = 340,
res = 300,
avoid ... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/bluemagic/death_ray.lua | 4 | 1060 | -----------------------------------------
--
-- Death Ray
--
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
functi... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Al_Zahbi/npcs/Suldiran.lua | 17 | 1818 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Suldiran
-- Type: NPC Quest
-- @zone: 48
-- @pos 41.658 -6.999 -42.528
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/globals/... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Woods/npcs/Spare_Five.lua | 17 | 1507 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Spare Five
-- Working 100%
-- Involved in quest: A Greeting Cardian
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/globals/quests"] = nil;
require("scripts/globals/quests");
package.loaded[... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/choke.lua | 18 | 1588 | -----------------------------------------
-- Spell: Choke
-- Deals wind damage that lowers an enemy's vitality and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
--------------------... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_extended_live/lua/weapons/tfa_scoutblaster_extended/shared.lua | 1 | 4710 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Scoutblaster"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
--SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15A")
--killicon.Add( "weapon_752_dc15a", "HU... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua | 6 | 3083 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Ojha Rhawash
-- Starts and Finishes Quest: Flower Child
-- @zone 239
-- @pos -209 0 -134
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Windurst_Walls/TextIDs");
---... | gpl-3.0 |
Fatmice/Uranium-Power-Cont | prototypes/item/item.lua | 1 | 3983 | data:extend(
{
{
type = "item",
name = "uraninite",
icon = "__UraniumPower__/graphics/icons/uraninite.png",
flags = {"goes-to-main-inventory"},
subgroup = "uranium-raw-resource",
order = "g[uranium]",
stack_size = 50
},
{
type = "item",
name = "fluorite",
icon = "__UraniumPower__/graphics/icons/f... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Castle_Zvahl_Keep_[S]/npcs/HomePoint#1.lua | 17 | 1205 | -----------------------------------
-- Area: Castle Zvahl Keep [S]
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs");
require("scripts/global... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Selbina/npcs/Oswald.lua | 17 | 4701 | -----------------------------------
-- Area: Selbina
-- NPC: Oswald
-- Starts and Finishes Quest: Under the sea (finish), The gift, The real gift
-- @pos 48 -15 9 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/bowl_of_riverfin_soup.lua | 36 | 1822 | -----------------------------------------
-- ID: 6069
-- Item: Bowl of Riverfin Soup
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Accuracy % 14 Cap 90
-- Ranged Accuracy % 14 Cap 90
-- Attack % 18 Cap 80
-- Ranged Attack % 18 Cap 80
-- Amorph Killer 5
-----------------------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Mines/TextIDs.lua | 2 | 5718 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6692; -- You cannot obtain the item <item> come back again after sorting your inventory
FULL_INVENTORY_AFTER_TRADE = 6377; -- You cannot obtain the <item>. Try trading again after sorting your inventory
ITEM_OBTAINED = 6... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_Jeuno/npcs/Gaura.lua | 17 | 1310 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Guara
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
---------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/PsoXja/npcs/_i9y.lua | 17 | 1310 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _i9y (Crystal Receptor)
-- @pos -389.980 -3.198 -203.595 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs");
--------------------... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Backups_Reworks/tfa_extended_pack_old/lua/autorun/tfa_l4d2_fusionblaster.lua | 2 | 2536 | game.AddParticles("particles/tfa_fubar_muzzle.pcf")
game.AddParticles("particles/tfa_fubar_particles.pcf")
game.AddParticles("particles/tfa_fubar_particles_aq.pcf")
game.AddParticles("particles/tfa_fubar_particles_blu.pcf")
PrecacheParticleSystem("tfa_muzzle_fubar")
PrecacheParticleSystem("weapon_fubar_trail")
Preca... | apache-2.0 |
dzindra/CoolDisplay | dist/web.lua | 1 | 2203 | local moduleName = ... or "web"
local M = {}
_G[moduleName] = M
M.extmap = {
txt = "text/plain",
htm = "text/html",
html = "text/html",
gif = "image/gif",
jpg = "imge/jpeg",
png = "image/png",
lua = "text/html",
ico = "image/x-icon",
}
M.reqTypes = {
GET = true,
POST = true
}
M... | apache-2.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader/[TFA][AT] Expanded Pack/lua/weapons/tfa_swch_dc17m_at/shared.lua | 1 | 1635 |
if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "DC-17m Anti-Armor"
SWEP.Author = "Syntax_Error752"
SWEP.ViewModelFOV = 50
SWEP.Slot = 4
SWEP.SlotPos = 1
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC17M_AT")
killicon.Add( "weapo... | apache-2.0 |
pgrabas/luabackup | output.lua | 1 | 2880 | -- part of lua-backup project
-- output interface
local Output = {}
local Output_mt = { __index = Output }
local function Output_create()
local new_inst = {}
setmetatable( new_inst, Output_mt )
new_inst.outputs = { }
return new_inst
end
function Output:add(outp)
self.outputs[#self.outp... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Gantineux.lua | 4 | 2371 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Gantineux
-- Starts Quest: Acting in Good Faith
-- @zone 238
-- @pos -83 -9 3
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Newton_Movalpolos/TextIDs.lua | 4 | 1343 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6375; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6378; -- Obtained: <item>
GIL_OBTAINED = 6379; -- Obtained <number> gil
KEYITEM_OBTAINED = 6381; -- Obtain... | gpl-3.0 |
Sornii/pureviolence | data/npc/lib/npc.lua | 15 | 3407 | -- Including the Advanced NPC System
dofile('data/npc/lib/npcsystem/npcsystem.lua')
isPlayerPremiumCallback = isPremium
function msgcontains(message, keyword)
local message, keyword = message:lower(), keyword:lower()
if message == keyword then
return true
end
return message:find(keyword) and not message:find('... | gpl-2.0 |
bright-things/ionic-luci | libs/luci-lib-nixio/axTLS/www/lua/download.lua | 180 | 1550 | #!/usr/local/bin/lua
require"luasocket"
function receive (connection)
connection:settimeout(0)
local s, status = connection:receive (2^10)
if status == "timeout" then
coroutine.yield (connection)
end
return s, status
end
function download (host, file, outfile)
--local f = assert (io.open (outfile, "w"))
loc... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Boneyard_Gully/Zone.lua | 28 | 1631 | -----------------------------------
--
-- Zone: Boneyard_Gully (8)
--
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Boneyard_Gully/TextIDs");
-----------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#3.lua | 19 | 1218 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#3
-- @pos -108 -6 -108 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("s... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/bunch_of_royal_grapes.lua | 3 | 1099 | -----------------------------------------
-- ID: 5541
-- Item: Bunch of Royal Grapes
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
emadni/launcherlordbot | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
fw867/ntopng | scripts/lua/network_load.lua | 1 | 2741 | --
-- (C) 2013-14 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
interface.find(ifname)
ifstats = interface.getStats()
is_historical = interface.isHistoricalInterface(interface.name2id(ifname))
sendHTTPHeader('text/html; charse... | gpl-3.0 |
everslick/awesome | spec/wibox/widget/textbox_spec.lua | 3 | 3968 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2015 Uli Schlachter
---------------------------------------------------------------------------
-- Grml...
_G.awesome = {
xrdb_get_value = function(a, b)
if a ~= "" then error() end
i... | gpl-2.0 |
mohammadrezatitan/parsol | tg/tdcli.lua | 102 | 88571 | --[[
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be use... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/yellow_curry_bun.lua | 3 | 2033 | -----------------------------------------
-- ID: 5757
-- Item: yellow_curry_bun
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Health Points 25
-- Strength 5
-- Agility 2
-- Intelligence -4
-- Attack 20% (caps @ 75)
-- Ranged Attack 20% (caps @ 75)
-- Resist Sleep
-- Resist Stun
--... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/RuLude_Gardens/npcs/Albiona.lua | 2 | 1219 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Albiona
-- Standard Info NPC
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
Carforrent/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/wizard_cookie.lua | 3 | 1233 | -----------------------------------------
-- ID: 4576
-- Item: wizard_cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- MP Recovered While Healing 7
-- Plantoid Killer 7
-- Slow Resist 7
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Pulloie.lua | 36 | 1055 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pulloie
-- Quest NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
----... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Boneyard_Gully/mobs/Race_Runner.lua | 16 | 1498 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: Race Runner
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
local path = {
-539, 0, -481,
-556, 0, -478,
-581, 0, -475,
-579, -3, -460,
-572, 2, -433,
-545, 1, -440,
-53... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/plate_of_homemade_salad.lua | 3 | 1025 | -----------------------------------------
-- ID: 5227
-- Item: plate_of_homemade_salad
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/libraries/disjointset.lua | 2 | 1974 | /*---------------------------------------------------------------------------
Disjoint-set forest implementation
Inspired by the book Introduction To Algorithms (third edition)
by FPtje Atheos
Running time per operation (Union/FindSet): O(a(n)) where a is the inverse of the Ackermann function.
-----------------------... | mit |
Sonicrich05/FFXI-Server | scripts/globals/items/serving_of_emperor_roe.lua | 35 | 1354 | -----------------------------------------
-- ID: 4275
-- Item: serving_of_emperor_roe
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 8
-- Magic 8
-- Dexterity 4
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/tfa_sw_dual_kyd21/shared.lua | 1 | 3761 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Dual KYD-21"
SWEP.Author = "Servius"
SWEP.ViewModelFOV = 70
SWEP.Slot = 1
SWEP.SlotPos = 5
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/KYD21")
killicon.Add( "weapon_752_kyd21", "HUD/killicons... | apache-2.0 |
arabi373/nod32bot | plugins/bot_manager.lua | 89 | 6427 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/prominence_axe.lua | 16 | 1409 | -----------------------------------------
-- ID: 18220
-- Item: Prominence Axe
-- Additional Effect: Fire Damage
-- Enchantment: Enfire
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------... | gpl-3.0 |
mandrav/moai_pex_editor | src/hp/display/NinePatch.lua | 1 | 5834 | --------------------------------------------------------------------------------
-- NinePatch class is the scale is partially configured. <br>
-- When you set the size, scale will be reconfigured dynamically. <br>
-- Will help you build a widget. <br>
-- Base Classes => DisplayObject, TextureDrawable, Resizable <br>
--... | mit |
Sonicrich05/FFXI-Server | scripts/globals/weaponskills/raging_rush.lua | 30 | 1384 | -----------------------------------
-- Raging Rush
-- Great Axe weapon skill
-- Skill level: 200 (Warriors only.)
-- Delivers a three-hit attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Snow Gorget & Aqua Gorget.
-- Aligned with the Snow Belt & Aqua Belt... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/La_Theine_Plateau/npcs/Telepoint.lua | 2 | 1564 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/La_Theine_Plateau/TextIDs");
----------... | gpl-3.0 |
thgab/xupnpd-rc | xupnpd_soap.lua | 1 | 8512 | -- Copyright (C) 2011-2013 Anton Burdinuk
-- clark15b@gmail.com
-- https://tsdemuxer.googlecode.com/svn/trunk/xupnpd
services={}
services.cds={}
services.cms={}
services.msr={}
function playlist_item_type(pls)
local mtype=mime[pls.type]
local extras=nil
if cfg.dlna_extras==false then
extras='*'
... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Eastern_Altepa_Desert/npcs/qm2.lua | 2 | 1695 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: ???
-- Involved In Quest: 20 in Pirate Years
-- @zone 114
-- @pos
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Bastok/npcs/Numa.lua | 2 | 1544 | -----------------------------------
-- Area: Port Bastok
-- NPC: Numa
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
-----------------------------------
-- onTrade Ac... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/slice_of_salted_hare.lua | 3 | 1089 | -----------------------------------------
-- ID: 5737
-- Item: slice_of_salted_hare
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/mobs/cities/JDT01.lua | 2 | 8492 |
--[[ 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("", 101, 1, 2, 10, 9, 1, 5408.55, 5467.28, 12.58);
mob("", 102, 1, 2, 10, 9, 1, 5408.55, 5467.28, 12.58);
mob("", 102, 1, 2, 10, 9, 1, 5408.55, 5467.28... | apache-2.0 |
RavenX8/osIROSE-new | scripts/mobs/ai/grunter.lua | 2 | 1948 | registerNpc(134, {
walk_speed = 190,
run_speed = 700,
scale = 110,
r_weapon = 133,
l_weapon = 0,
level = 42,
hp = 33,
attack = 170,
hit = 126,
def = 159,
res = 89,
avoid ... | apache-2.0 |
nagyist/assembla-ltrplugins | trunk/Framework/Data/LuaText.lua | 1 | 5386 | --[[
LuaText.lua
Object with methods to serialize / deserialize lua objects or data tables for storage / retrieval.
Originally motivated by the neeed to store develop settings of virtual copies as pseudo-xmp, without having to write special handling
for tabular ad... | artistic-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Yuhtunga_Jungle/npcs/Zorchorevi_RK.lua | 30 | 3059 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Zorchorevi, R.K.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/effects/vit_down.lua | 4 | 1049 | -----------------------------------
--
-- EFFECT_VIT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if((target:getStat(MOD_VIT) - effect:getPower()) ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Misareaux_Coast/npcs/_0p2.lua | 28 | 1874 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Dilapidated Gate
-- Entrance to Riverne Site #B01
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/z... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/hellsteak_+1.lua | 3 | 1601 | -----------------------------------------
-- ID: 5610
-- Item: hellsteak_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- Attack % 19
-- Ranged ATT % 19
-- Dragon Killer 5
-- Demon Killer 5
-------------------... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/tfa_b2_blaster/shared.lua | 1 | 3906 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "B2 Blaster Pistol"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 60
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_swsft_base_servius"
SWEP.Category = "TFA Star Wars"
SWEP.Spawnable = true
SW... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Pourette.lua | 30 | 2210 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Pourette
-- Only sells when San d'Oria controlls Derfland Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/se14_blaster_pistol/shared.lua | 1 | 4649 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "SE-14 Blaster Pistol"
SWEP.Author = "TFA, Servius, ahnok"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category = "TFA Star Wars: CIS"
SWEP.Spawnable = true
SWEP.AdminSpawnab... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Giddeus/Zone.lua | 28 | 1653 | -----------------------------------
--
-- Zone: Giddeus (145)
--
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Giddeus/TextIDs");
-----------------------------------
... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Mines/npcs/Gregory.lua | 5 | 1033 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gregory
-- Type: ENM
-- @zone: 234
-- @pos: 51.530 -1 -83.940
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Bast... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Walls/Zone.lua | 3 | 2008 | -----------------------------------
--
-- Zone: Windurst_Walls (239)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/zones/Windurst_W... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Brifalien.lua | 4 | 1711 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Brifalien
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- @pos -20 -4 -74
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyi... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/pot_of_royal_tea.lua | 35 | 1204 | -----------------------------------------
-- ID: 4524
-- Item: pot_of_royal_tea
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Vitality -1
-- Charisma 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
--... | gpl-3.0 |
SnakeSVx/spacebuild | lua/caf/stools/ls3_other_lights.lua | 2 | 2413 | TOOL.Category = "Life Support"
TOOL.Name = "#Special Devices - Lights"
TOOL.DeviceName = "Special Device"
TOOL.DeviceNamePlural = "Special Devices"
TOOL.ClassName = "ls3_other_lights"
TOOL.DevSelect = true
TOOL.CCVar_type = "other_lamp"
TOOL.CCVar_sub_type = "small"
TOOL.CCVar_model = "models/props_c17/FurnitureBoile... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Nebiros.lua | 16 | 1262 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Decarabia
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
fun... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Spire_of_Dem/npcs/_0j2.lua | 51 | 1321 | -----------------------------------
-- Area: Spire_of_Dem
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Dem/TextIDs");
---------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Sacrarium/npcs/qm4.lua | 17 | 1738 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm4 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 22.669 -3.111 127.279 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacra... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Jeuno/npcs/Imasuke.lua | 2 | 2825 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Imasuke
-- Starts and Finishes Quest: The Antique Collector
-- @zone 246
-- @pos -165 11 94
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Kazham/npcs/Rauteinot.lua | 4 | 2930 | -----------------------------------
-- Area: Kazham
-- NPC: Rauteinot
-- Starts and Finishes Quest: Missionary Man
-- @zone 250
-- @pos -42 -10 -89
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Spire_of_Vahzl/npcs/Radiant_Aureole.lua | 17 | 1160 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Radiant Aureole
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Spire_of_Vahzl/TextIDs");
-----------------------------------
-- o... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | In Development/servius_development/tfa_training_weapons/expanded_pack/lua/weapons/weapon_tfa_dc15actp_training/shared.lua | 1 | 2819 |
if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "DC-15A CTP Edition"
SWEP.Author = "Servius & StrickenNZ"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15A")
killicon.Add( "weapo... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/mobskills/Leaf_Dagger.lua | 25 | 1197 | ---------------------------------------------
-- Leaf Dagger
--
-- Description: Deals piercing damage to a single target. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 2 shadows
-- Range: Melee?
-- Notes: On higher level Madragoras (Korrigans for example) the poision is 5hp/tick for... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.