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 |
|---|---|---|---|---|---|
mtroyka/Zero-K | LuaUI/Widgets/gfx_projectile_lights.lua | 4 | 16443 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Projectile Lights",
version = 3,
desc = "Collects projectiles and sends them to the deferred re... | gpl-2.0 |
Abollfazl2/Robocop | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
thedraked/darkstar | scripts/zones/East_Ronfaure/npcs/Andelain.lua | 14 | 2191 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Andelain
-- Type: Standard NPC
-- @pos 664.231 -12.849 -539.413 101
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
------------------------... | gpl-3.0 |
thedraked/darkstar | scripts/globals/items/bowl_of_shimmy_soup.lua | 18 | 1362 | -----------------------------------------
-- ID: 5931
-- Item: Bowl of Shimmy Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- MP 32
-- Mind 5
-- HP Recovered While Healing 5
-- Enmity -5
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
kaustavha/luvit | tests/test-tls-connect-simple.lua | 11 | 1050 |
require('tap')(function (test)
local fixture = require('./fixture-tls')
local tls = require('tls')
local options = {
cert = fixture.certPem,
key = fixture.keyPem
}
local serverConnected = 0
local clientConnected = 0
local server
local client1
test("tls connect simple test", function()
... | apache-2.0 |
thedraked/darkstar | scripts/globals/items/plate_of_sole_sushi.lua | 16 | 1699 | -----------------------------------------
-- ID: 5149
-- Item: plate_of_sole_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 20
-- Strength 5
-- Dexterity 6
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scripts/globals/st... | gpl-3.0 |
rjeli/luvit | deps/querystring.lua | 2 | 1801 | --[[
Copyright 2015 The Luvit Authors. All Rights Reserved.
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 agr... | apache-2.0 |
thedraked/darkstar | scripts/zones/Abyssea-Vunkerl/Zone.lua | 33 | 1491 | -----------------------------------
--
-- Zone: Abyssea - Vunkerl
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Vunkerl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Vunkerl/Te... | gpl-3.0 |
kaustavha/luvit | deps/querystring.lua | 7 | 2886 | --[[
Copyright 2015 The Luvit Authors. All Rights Reserved.
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 agr... | apache-2.0 |
Devul/DarkRP | gamemode/modules/money/sv_money.lua | 2 | 12381 | --[[---------------------------------------------------------------------------
functions
---------------------------------------------------------------------------]]
local meta = FindMetaTable("Player")
function meta:addMoney(amount)
if not amount then return false end
local total = self:getDarkRPVar("money")... | mit |
thedraked/darkstar | scripts/globals/mobskills/Tebbad_Wing_Air.lua | 33 | 1083 | ---------------------------------------------
-- Tebbad Wing
--
-- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Tiamat, Smok and Ildebrann
----... | gpl-3.0 |
NPLPackages/main | script/ide/AudioEngine/AudioEngine.lua | 1 | 13191 | --[[
Title: Audio Engine Extension
Author(s): LiXizhi
Date: 2010/6/28
Desc: it wraps the low level Audio Engine API and provide an easy to use Audio architecture and XML based data persistency layer
The audio engine uses a simple garbage collection routine to unload out of range and stopped audio sources.
---++ Sound ... | gpl-2.0 |
thedraked/darkstar | scripts/globals/abilities/jump.lua | 14 | 2211 | -----------------------------------
-- Ability: Jump
-- Delivers a short jumping attack on a targeted enemy.
-- Obtained: Dragoon Level 10
-- Recast Time: 1:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/weapo... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Riverne-Site_A01/mobs/Heliodromos.lua | 13 | 2198 | -----------------------------------
-- Area: Riverne Site A01
-- MOB: Heliodromos
-----------------------------------
-----------------------------------
-- onMobRoam
-----------------------------------
function onMobRoam(mob)
local Heliodromos_Table =
{
16900110,
16900111,
16900112... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Windurst_Woods/npcs/Terude-Harude.lua | 53 | 1899 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Terude-Harude
-- Type: Clothcraft Adv. Image Support
-- @pos -32.350 -2.679 -116.450 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/st... | gpl-3.0 |
thedraked/darkstar | scripts/globals/spells/bluemagic/grand_slam.lua | 33 | 1713 | -----------------------------------------
-- Spell: Grand Slam
-- Delivers an area attack. Damage varies with TP
-- Spell cost: 24 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 30
-- Casting Time: 1 seconds
-- Recast Time: 14.25 seconds
-- Skillchain... | gpl-3.0 |
thedraked/darkstar | scripts/globals/items/coeurl_sub_+1.lua | 18 | 1925 | -----------------------------------------
-- ID: 5167
-- Item: coeurl_sub_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 15
-- Strength 6
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 80
-- Ranged ATT % 22
-- Ranged ATT Cap 80
-- Sle... | gpl-3.0 |
NPLPackages/main | script/test/TestMiniScenegraph.lua | 1 | 4489 | --[[
Author: Li,Xizhi
Date: 2007-9-26
Desc: testing ParaEngine miniscenegraph functions.
-----------------------------------------------
NPL.load("(gl)script/test/TestMiniSceneGraph.lua");
TestMiniSceneGraph();
-----------------------------------------------
]]
NPL.load("(gl)script/ide/event_mapping.lua");
-- passed 2... | gpl-2.0 |
latenitefilms/hammerspoon | extensions/application/application.lua | 2 | 24332 | --- === hs.application ===
---
--- Manipulate running applications
local application = require("hs.libapplication")
application.watcher = require("hs.libapplicationwatcher")
local timer = require "hs.timer"
local settings = require "hs.settings"
local USERDATA_TAG = "hs.application"
local objectMT = hs.getObjectM... | mit |
SnabbCo/snabbswitch | src/apps/intel_avf/intel_avf.lua | 4 | 39346 | -- intel_avf: Device driver that conforms to the Intel Adaptive Virtual
-- Function specification
-- https://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/ethernet-adaptive-virtual-function-hardware-spec.pdf
-- pgXXX in the comments refers to that page in v1.0 of the specification, release... | apache-2.0 |
thedraked/darkstar | scripts/zones/Lower_Jeuno/npcs/Parike-Poranke.lua | 14 | 1121 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Parike-Poranke
-- Type: Adventurer's Assistant
-- @zone 245
-- @pos -33.161 -1 -61.303
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-------... | gpl-3.0 |
thedraked/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/Zone.lua | 4 | 1385 | -----------------------------------
--
-- Zone: The_Eldieme_Necropolis_[S] (175)
--
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Eldieme_Necropolis_[S]/Te... | gpl-3.0 |
thedraked/darkstar | scripts/globals/items/boiled_crab.lua | 18 | 1299 | -----------------------------------------
-- ID: 4456
-- Item: Boiled Crab
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Vitality 2
-- defense % 27
-- defense % 50
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- ... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Port_Bastok/npcs/Tilian.lua | 8 | 1433 | -----------------------------------
-- Area: Port Bastok
-- NPC: Tilian
-- Type: Quest NPC
-- @pos -118.460 4.999 -68.090 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/... | gpl-3.0 |
grawity/htop | test_spec.lua | 4 | 17898 | #!/usr/bin/env lua
local VISUALDELAY = os.getenv("VISUALDELAY")
local visual = VISUALDELAY or false
local visual_delay = VISUALDELAY and (tonumber(VISUALDELAY)) or 0.1
local short_delay = 0.3
local long_delay = 1
local unistd = require("posix.unistd")
local time = require("posix.time")
local curses = require("posix... | gpl-2.0 |
NPLPackages/main | script/ide/System/localserver/UrlHelper.lua | 1 | 7001 | --[[
Title: some utility functions for making URLs
Author(s): LiXizhi
Date: 2008/2/22
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/ide/System/localserver/UrlHelper.lua");
System.localserver.UrlHelper.WS_to_REST("www.paraengine.com/getPos.asmx", {uid=123, pos = {x... | gpl-2.0 |
Devul/DarkRP | gamemode/modules/afk/cl_afk.lua | 13 | 1234 | local TextColor = Color(GetConVar("Healthforeground1"):GetFloat(), GetConVar("Healthforeground2"):GetFloat(), GetConVar("Healthforeground3"):GetFloat(), GetConVar("Healthforeground4"):GetFloat())
local function AFKHUDPaint()
if not LocalPlayer():getDarkRPVar("AFK") then return end
draw.DrawNonParsedSimpleText(... | mit |
jhasse/wxFormBuilder | build/premake/4.3/tests/base/test_tree.lua | 63 | 2786 | --
-- tests/base/test_tree.lua
-- Automated test suite source code tree handling.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.tree = { }
local suite = T.tree
local tree = premake.tree
--
-- Setup/teardown
--
local tr, nodes
function suite.setup()
tr = tree.new()
nodes = { }
end
... | gpl-2.0 |
X-Coder/wire | lua/wire/flir.lua | 15 | 2700 | --[[
Simulation of FLIR (forward-looking infrared) vision.
Possible future ideas:
* Different materials have different emissivities:
aluminium is about 20%, wherease asphalt is 95%.
maybe we could use the physical properties to simulate this?
* the luminance of a texture contributes *negatively* to its emissivi... | gpl-3.0 |
MonkeyFirst/Urho3D | bin/Data/LuaScripts/40_Localization.lua | 5 | 6283 | -- Localization example.
-- This sample demonstrates:
-- - Loading a collection of strings from JSON-files
-- - Creating text elements that automatically translates itself by changing the language
-- - The manually reaction to change language
require "LuaScripts/Utilities/Sample"
function Start()
-- E... | mit |
thedraked/darkstar | scripts/globals/weaponskills/bora_axe.lua | 18 | 1772 | -----------------------------------
-- Bora Axe
-- Axe weapon skill
-- Skill level: 290
-- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Chance of binding varies with TP
-- Bind doesn't always break from hitting mob.
-- This Weapon Skill's first hit params.ftp is duplicated for all additional hits... | gpl-3.0 |
jhasse/wxFormBuilder | build/premake/4.3/tests/actions/vstudio/test_vs2010_links.lua | 3 | 4792 | T.vs2010_links = { }
local vs10_links = T.vs2010_links
local sln, prj
function vs10_links.setup()
_ACTION = "vs2010"
sln = solution "MySolution"
configurations { "Debug" }
platforms {}
prj = project "MyProject"
language "C++"
kind "ConsoleApp"
uuid "AE61726D-187C-E440-BD07-2556188A6565"
end
... | gpl-2.0 |
thedraked/darkstar | scripts/globals/items/remedy.lua | 17 | 1283 | -----------------------------------------
-- ID: 4155
-- Item: Remedy
-- Item Effect: This potion remedies status ailments.
-- Works on paralysis, silence, blindness, poison, and disease.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Port_Windurst/npcs/Posso_Ruhbini.lua | 17 | 1550 | -----------------------------------
-- Area: Port Windurst
-- NPC: Posso Ruhbini
-- Regional Marchant NPC
-- Only sells when Windurst controlls Norvallen
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scrip... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Apollyon/mobs/Ice_Elemental.lua | 119 | 2740 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Apollyon/mobs/Air_Elemental.lua | 119 | 2740 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
X-Coder/wire | lua/wire/stools/cpu.lua | 9 | 15487 | WireToolSetup.setCategory( "Chips, Gates", "Advanced" )
WireToolSetup.open( "cpu", "CPU", "gmod_wire_cpu", nil, "CPUs" )
if CLIENT then
language.Add("Tool.wire_cpu.name", "CPU Tool (Wire)")
language.Add("Tool.wire_cpu.desc", "Spawns a central processing unit")
language.Add("Tool.wire_cpu.0", "Primary: upload pro... | gpl-3.0 |
dani-sj/danyal_robot | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
mtroyka/Zero-K | units/commstrike1.lua | 2 | 6188 | unitDef = {
unitname = [[commstrike1]],
name = [[Strike Commander]],
description = [[Mobile Assault Commander]],
acceleration = 0.18,
activateWhenBuilt = true,
brakeRate = 0.375,
buildCostEnergy = 1200,
buildCostMetal ... | gpl-2.0 |
SnabbCo/snabbswitch | src/core/config.lua | 14 | 2514 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- 'config' is a data structure that describes an app network.
module(..., package.seeall)
local lib = require("core.lib")
-- API: Create a new configuration.
-- Initially there are no apps or links.
function new ()
return {
app... | apache-2.0 |
X-Coder/wire | lua/wire/wiremonitors.lua | 12 | 7681 | WireGPU_Monitors = {}
function WireGPU_AddMonitor(name,model,tof,tou,tor,trs,x1,x2,y1,y2,rot)
if not rot then
rot = Angle(0,90,90)
elseif !isangle(rot) then
rot = Angle(0,90,0)
end
local RatioX = (y2-y1)/(x2-x1)
local monitor = {
Name = name,
offset = Vector(tof, -tor, tou),
RS = trs,
RatioX = RatioX... | gpl-3.0 |
Ali-2h/losebot | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
thedraked/darkstar | scripts/zones/Horlais_Peak/bcnms/hostile_herbivores.lua | 30 | 1739 | -----------------------------------
-- Area: Horlias peak
-- Name: Hostile Herbivores
-- BCNM50
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXAM... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Ilrusi_Atoll/Zone.lua | 17 | 1420 | -----------------------------------
--
-- Zone: Ilrusi_Atoll
-- zone 55
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
require("scripts/zones/Ilrusi_Atoll/TextIDs");
require("scripts/globals/settings");
----------------------------... | gpl-3.0 |
yunGit/skynet | examples/watchdog.lua | 53 | 1286 | local skynet = require "skynet"
local netpack = require "netpack"
local CMD = {}
local SOCKET = {}
local gate
local agent = {}
function SOCKET.open(fd, addr)
skynet.error("New client from : " .. addr)
agent[fd] = skynet.newservice("agent")
skynet.call(agent[fd], "lua", "start", { gate = gate, client = fd, watchdog... | mit |
birdbrainswagtrain/GmodPillPack-Episodic | lua/entities/pill_proj_magnade.lua | 2 | 2790 | AddCSLuaFile()
ENT.Type = "anim"
ENT.PrintName = "Magnade"
ENT.Category = "Pill Pack Entities"
//ENT.Spawnable = true
//ENT.AdminSpawnable = true
//ENT.AutomaticFrameAdvance = true
//loop npc/scanner/combat_scan_loop2.wav
//stick weapons/strider_buster/strider_buster_stick1.wav
//det weapons/strider_buster/stride... | mit |
thedraked/darkstar | scripts/zones/Grauberg_[S]/npcs/qm1.lua | 30 | 1695 | -----------------------------------
-- Area: Grauberg [S]
-- NPC: ???
-- Quest - DNC AF1
-----------------------------------
package.loaded["scripts/zones/Grauberg_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Grauberg_[S]/TextIDs");
-----... | gpl-3.0 |
thedraked/darkstar | scripts/zones/North_Gustaberg/npcs/Cavernous_Maw.lua | 29 | 1442 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Cavernous Maw
-- @pos 466 0 479 106
-- Teleports Players to North Gustaberg [S]
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
thedraked/darkstar | scripts/globals/items/hellsteak.lua | 18 | 1722 | -----------------------------------------
-- ID: 5609
-- Item: hellsteak
-- Food Effect: 180Min, 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 |
mtroyka/Zero-K | LuaRules/Utilities/unitTypeChecker.lua | 2 | 1053 | -------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
local isNewEngine = not ((Game.version:find('91.0') == 1) and (Game.version:find('91.0.1') == nil))
function Spring.Utilities.getMovetype(ud)
if ... | gpl-2.0 |
thedraked/darkstar | scripts/globals/weaponskills/nightmare_scythe.lua | 18 | 1635 | -----------------------------------
-- Nightmare Scythe
-- Scythe weapon skill
-- Skill Level: 100
-- Blinds enemy. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers: STR:60% ; M... | gpl-3.0 |
stuta/Luajit-Tcp-Server | ffi_def_unix.lua | 1 | 31604 | -- ffi_def_unix.lua
module(..., package.seeall)
local ffi = require "ffi"
local isMac = (ffi.os == "OSX")
local isLinux = (ffi.os == "Linux")
INVALID_SOCKET = -1
-- Lua state - creating a new Lua state to a new thread
ffi.cdef[[
static const int LUA_GCSTOP = 0;
static const int LUA_GCRESTART = 1;
static const i... | bsd-3-clause |
thedraked/darkstar | scripts/zones/Giddeus/npcs/Harvesting_Point.lua | 17 | 1079 | -----------------------------------
-- Area: Giddeus
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Giddeus/TextIDs");
---------------------------... | gpl-3.0 |
garlick/flux-core | t/fluxometer.lua | 4 | 4919 | -------------------------------------------------------------
-- Copyright 2014 Lawrence Livermore National Security, LLC
-- (c.f. AUTHORS, NOTICE.LLNS, COPYING)
--
-- This file is part of the Flux resource manager framework.
-- For details, see https://github.com/flux-framework.
--
-- SPDX-License-Identifier: LGPL-3.0... | lgpl-3.0 |
mtroyka/Zero-K | gamedata/modularcomms/weapons/sonicgun.lua | 8 | 1434 | local name = "commweapon_sonicgun"
local weaponDef = {
name = [[Sonic Blaster]],
areaOfEffect = 70,
avoidFeature = true,
avoidFriendly = true,
burnblow = true,
craterBoost = 0,
craterMult = 0,
customParams = {... | gpl-2.0 |
thedraked/darkstar | scripts/zones/West_Ronfaure/npcs/Aaveleon.lua | 14 | 1533 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Aaveleon
-- Involved in Quest: A Sentry's Peril
-- @pos -431 -45 343 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Kazham/npcs/Beyzen.lua | 14 | 1044 | -----------------------------------
-- Area: Kazham
-- NPC: Beyzen
-- Type: Event Scene Replayer
-- @zone 250
-- @pos -53.976 -10.769 -74.771
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
--------------------... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Mount_Zhayolm/mobs/Brass_Borer.lua | 29 | 1544 | -----------------------------------
-- Area: Mount Zhayolm
-- MOB: Brass Borer
-----------------------------------
require("scripts/globals/status");
-- TODO: Damage resistances in streched and curled stances. Halting movement during stance change.
-----------------------------------
-- OnMobSpawn Action
-----------... | gpl-3.0 |
thedraked/darkstar | scripts/zones/GM_Home/npcs/Trader.lua | 32 | 1090 | -----------------------------------
-- Area: GM Home
-- NPC: Trader
-- Type: Debug NPC for testing trades.
-----------------------------------
package.loaded["scripts/zones/GM_Home/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/GM_Home/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
128technology/protobuf_dissector | modules/front_end/parser.lua | 1 | 7841 | ----------------------------------------
--
-- Copyright (c) 2015, 128 Technology, Inc.
--
-- author: Hadriel Kaplan <hadriel@128technology.com>
--
-- This code is licensed under the MIT license.
--
-- Version: 1.0
--
------------------------------------------
--[[
This script is a Lua module (not stand-alone) for... | mit |
SnabbCo/snabbswitch | lib/luajit/testsuite/test/lib/string/format/num.lua | 6 | 7720 | local format, type, tonumber = string.format, type, tonumber
local function check(input, fstr, output, inputN)
local actual = format(fstr, inputN or tonumber(input))
if actual == output then return end
local t = type(output)
if t == "string" then
if output:find"[[%]]" then
local s, e = actual:find((o... | apache-2.0 |
mtroyka/Zero-K | units/corned.lua | 3 | 3130 | unitDef = {
unitname = [[corned]],
name = [[Mason]],
description = [[Construction Vehicle, Builds at 5 m/s]],
acceleration = 0.066,
brakeRate = 1.5,
buildCostEnergy = 140,
buildCostMetal = 140,
buildDistance = 180,... | gpl-2.0 |
NPLPackages/main | script/ide/TabControl.lua | 1 | 14743 | --[[
Title: TabControl
Author(s): WangTian
Date: 2008/8/27
Desc: TabControl manages a related set of tab pages.
Notes:
A TabControl contains tab pages, which are represented by TabPage objects that you add through the TabPages property.
The order of tab pages in this collection reflects the order the tabs appear in t... | gpl-2.0 |
thedraked/darkstar | scripts/zones/Qulun_Dome/npcs/The_Mute.lua | 14 | 1124 | -----------------------------------
-- Area: Qulun Dome
-- NPC: The Mute
-- @zone 148
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Beadeaux/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
gowadbd/gowad | plugins/welcome.lua | 3 | 2926 | --[[
_____ ____ ____ ___ _____
|_ _| _ \ | __ ) / _ \_ _|
| | | |_) | | _ \| | | || |
| | | __/ | |_) | |_| || |
|_| |_| |____/ \___/ |_|
KASPER TP (BY @kasper_dev)
_ __ _ ____ ____ _____ ____ _____ ____
| |/ / / \ / ___|| _ \| ... | gpl-2.0 |
thedraked/darkstar | scripts/globals/weaponskills/kings_justice.lua | 19 | 1810 | -----------------------------------
-- Kings Justice
-- Great Axe weapon skill
-- Skill Level: N/A
-- Delivers a threefold attack. Damage varies with TP. Conqueror: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Warrior) quest.
-- Aligned with the Breeze Gorget, Thunder Gorget... | gpl-3.0 |
Privateblackl/ultra | plugins/configure.lua | 2 | 1402 | local function do_keyboard_config(chat_id)
local keyboard = {
inline_keyboard = {
{{text = '🛠 Menu', callback_data = 'config:menu:'..chat_id}},
{{text = '⚡️ Antiflood', callback_data = 'config:antiflood:'..chat_id}},
{{text = '🌈 Media', callback_data = 'config:media:'..... | gpl-2.0 |
SnabbCo/snabbswitch | lib/luajit/testsuite/test/lib/ffi/jit_array.lua | 6 | 3274 | local ffi = require("ffi")
do --- smoke
local types = {
"int8_t", "uint8_t",
"int16_t", "uint16_t",
"int32_t", "uint32_t",
"int64_t", "uint64_t",
"float", "double",
}
for j,tp in ipairs(types) do
local t = ffi.new(tp.."[?]", 301)
for i=1,300 do t[i] = 1 end
for i=1,300 do assert(t... | apache-2.0 |
thedraked/darkstar | scripts/zones/Windurst_Woods/npcs/Mourices.lua | 14 | 3655 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mourices
-- Involved In Mission: Journey Abroad
-- @zone 241
-- @pos -50.646 -0.501 -27.642
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Port_Windurst/npcs/Melek.lua | 14 | 4122 | -----------------------------------
-- Area: Port Windurst
-- NPC: Melek
-- Involved in Mission 2-3
-- @zone 240
-- @pos -80 -5 158
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Jugner_Forest/npcs/Signpost.lua | 17 | 2835 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Signpost
-- Involved in Quest: Grimy Signposts
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------... | gpl-3.0 |
SnabbCo/snabbswitch | lib/luajit/testsuite/test/unportable/ffi_arith_int64.lua | 6 | 2888 | local ffi = require("ffi")
local int = ffi.typeof("int")
local inp = {
0, 0.5, -0.5, 1.5, -1.5, 1, -1, 2, -2, 37, -37, false,
int(0), int(1), int(-1), int(2), int(-2), int(37), int(-37), false,
0ll, 1ll, -1ll, 2ll, -2ll, 37ll, -37ll, false,
0ull, 1ull, -1ull, 2ull, -2ull, 37ull, -37ull,
}
local function cksu... | apache-2.0 |
thedraked/darkstar | scripts/zones/Riverne-Site_A01/npcs/HomePoint#1.lua | 27 | 1258 | -----------------------------------
-- Area: Riverne-Site A01
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
thedraked/darkstar | scripts/globals/mobskills/Spirits_Within.lua | 17 | 1747 | ---------------------------------------------
-- Spirits Within
--
-- Description: Delivers an unavoidable attack. Damage varies with HP and TP.
-- Type: Magical/Breath
-- Ignores shadows and most damage reduction.
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
ukoloff/rufus-lua-win | vendor/lua/lib/lua/luarocks/tools/zip.lua | 2 | 8340 |
--- A Lua implementation of .zip file archiving (used for creating .rock files),
-- using only lua-zlib.
module("luarocks.tools.zip", package.seeall)
local zlib = require("zlib")
local fs = require("luarocks.fs")
local dir = require("luarocks.dir")
local function number_to_bytestring(number, nbytes)
local out = {... | mit |
gmorishere/lolsh | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
thedraked/darkstar | scripts/zones/Windurst_Woods/Zone.lua | 3 | 2411 | -----------------------------------
--
-- Zone: Windurst_Woods (241)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/zone");
require("scripts/globals/se... | gpl-3.0 |
master041/tele-master-asli | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
mtroyka/Zero-K | scripts/corroach.lua | 3 | 4955 |
--by Chris Mackey
--include "lua/test.lua"
--pieces
local body = piece "body"
local digger = piece "digger"
local jet = piece "jet"
local lf_leg = piece "legflup"
local lf_knee = piece "legflmid"
local lf_foot = piece "legflshin"
local rf_leg = piece "legfrup"
local rf_knee = piece "legfrmid"
local rf_foot = piece... | gpl-2.0 |
SnabbCo/snabbswitch | lib/ljsyscall/examples/epoll.lua | 23 | 3206 | -- simple epoll-based socket example. Serves up http responses, but is of course not a proper server
-- you can test performance with ab -n 100000 -c 100 http://localhost:8000/ although ab may be the limiting factor
local S
if arg[1] == "rump" then
S = require "syscall.rump.init".init{"net", "net.net", "net.local", ... | apache-2.0 |
jefferai/vlcfix | share/lua/modules/simplexml.lua | 103 | 3732 | --[==========================================================================[
simplexml.lua: Lua simple xml parser wrapper
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This progra... | gpl-2.0 |
thedraked/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm2.lua | 14 | 1568 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Kirin)
-- @pos -81 32 2 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
--... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Lower_Jeuno/npcs/Pawkrix.lua | 17 | 1272 | -----------------------------------
-- Area: Lower Jeuno
-- NPC:
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action... | gpl-3.0 |
pexcn/openwrt | 2015-master (2)/luci-app-autoap/luci-app-autoap-ramips-1.0.0/files/usr/lib/lua/luci/model/cbi/autoAP/autoAP.lua | 2 | 11243 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
jefferai/vlcfix | share/lua/intf/dumpmeta.lua | 98 | 2125 | --[==========================================================================[
dumpmeta.lua: dump a file's meta data on stdout/stderr
--[==========================================================================[
Copyright (C) 2010 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Th... | gpl-2.0 |
thedraked/darkstar | scripts/zones/PsoXja/npcs/_097.lua | 14 | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _097 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 290.000 -1.925 -81.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Windurst_Woods/npcs/HomePoint#1.lua | 27 | 1278 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#1
-- @pos -98.588 0.001 -183.416 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require("scripts/g... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Kamihr_Drifts/Zone.lua | 17 | 1219 | -----------------------------------
--
-- Zone: Kamihr Drifts
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil;
require("scripts/zones/Kamihr_Drifts/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
thedraked/darkstar | scripts/globals/items/loaf_of_goblin_bread.lua | 18 | 1269 | -----------------------------------------
-- ID: 4458
-- Item: loaf_of_goblin_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 7
-- Vitality 1
-- Charisma -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
X-Coder/wire | lua/entities/gmod_wire_relay.lua | 10 | 4490 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Relay"
ENT.WireDebugName = "Relay"
ENT.Author = "tad2020"
if CLIENT then return end -- No more client
function ENT:Initialize()
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSI... | gpl-3.0 |
thedraked/darkstar | scripts/zones/Aht_Urhgan_Whitegate/TextIDs.lua | 7 | 4946 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 218; -- You cannot obtain the item. Come back after sorting your inventory.?Prompt?
ITEM_CANNOT_BE_OBTAINEDX = 220; -- You cannot obtain the ?Possible Special Code: 01??Possible Special Code: 05?#?BAD CHAR: 8280??BAD CHAR: 80??BAD CHAR: 8... | gpl-3.0 |
cjp39/naev | ai/trader.lua | 1 | 1762 | include("ai/tpl/generic.lua")
include("ai/personality/trader.lua")
-- Sends a distress signal which causes faction loss
function sos ()
msg = {
"Mayday! We are under attack!",
"Requesting assistance. We are under attack!",
"Merchant vessel under attack! Requesting help!",
"Help! Ship under ... | gpl-3.0 |
wljcom/vlc-2.2 | share/lua/playlist/pluzz.lua | 105 | 3740 | --[[
$Id$
Copyright © 2011 VideoLAN
Authors: Ludovic Fauvet <etix at l0cal dot com>
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 l... | gpl-2.0 |
GitoriousLispBackup/praxis | prods/Cognitive/recording07.lua | 2 | 17507 | --setBufferName("recording07.lua")
--print2(inspect(recorder.notes))
recorder.notes = { {
frame = 46,
midi = { 176, 64, 127 }
}, {
frame = 46,
midi = { 177, 64, 127 }
}, {
frame = 61,
midi = { 144, 62, 43 }
}, {
frame = 78,
midi = { 144, 63, 36 }
}, {
frame = 96,
midi = ... | mit |
thedraked/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm13.lua | 14 | 1548 | -----------------------------------
-- Zone: Abyssea-Misareaux
-- NPC: qm13 (???)
-- Spawns Cirein-Croin
-- @pos ? ? ? 216
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-------------------------------... | gpl-3.0 |
NPLPackages/main | script/ide/System/localserver/factory.lua | 1 | 4264 | --[[
Title: creating instances of local servers
Author(s): LiXizhi
Date: 2008/2/27
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/ide/System/localserver/factory.lua");
local store = System.localserver.CreateStore("WebserviceStore_sample", 2)
local store = System.lo... | gpl-2.0 |
Privateblackl/ultra | plugins/setlang.lua | 5 | 1050 | local function doKeyboard_lang()
local keyboard = {
inline_keyboard = {}
}
for lang, flag in pairs(config.available_languages) do
local line = {{text = flag, callback_data = 'langselected:'..lang}}
table.insert(keyboard.inline_keyboard, line)
end
return keyboard
end
local action = function(msg, blocks)
if ... | gpl-2.0 |
thedraked/darkstar | scripts/zones/Dynamis-San_dOria/npcs/qm1.lua | 17 | 1347 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: qm1 (???)
-- Notes: Spawns when Megaboss is defeated
-----------------------------------
package.loaded["scripts/zones/Dynamis-San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
stuta/Luajit-Tcp-Server | dkjson.lua | 17 | 25626 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.3*
In the default configuration this module writes no global valu... | bsd-3-clause |
thedraked/darkstar | scripts/globals/items/roll_of_sylvan_excursion.lua | 18 | 1574 | -----------------------------------------
-- ID: 5551
-- Item: Roll of Sylvan Excursion
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +3% Cap 15
-- Intelligence +3
-- HP Recovered while healing +2
-- MP Recovered while healing +5
-----------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.