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 |
|---|---|---|---|---|---|
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Code/NplMicroRobot/NplMicroRobotDef/NplMicroRobotDef_Data.lua | 1 | 1084 | --[[
Title: NplMicroRobotDef_Data
Author(s): leio
Date: 2019/12/2
Desc:
use the lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Code/NplMicroRobot/NplMicroRobotDef/NplMicroRobotDef_Data.lua");
-------------------------------------------------------
]]
local Com... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/rest/v1/get/timeseries/ts.lua | 2 | 7645 | --
-- (C) 2013-21 - ntop.org
--
--
-- Example of REST call
--
-- curl -u admin:admin -X POST -d '{"ts_schema":"host:traffic", "ts_query": "ifid:3,host:192.168.1.98", "epoch_begin": "1532180495", "epoch_end": "1548839346"}' -H "Content-Type: application/json" "http://127.0.0.1:3000/lua/rest/get/timeseries/ts.lua"
--
... | gpl-3.0 |
RyMarq/Zero-K | LuaRules/Gadgets/cmd_retreat.lua | 1 | 20919 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Retreat Command",
desc = "Handle retreats",
author = "CarRepairer",
date = "20... | gpl-2.0 |
RyMarq/Zero-K | effects/london.lua | 7 | 12441 | -- london_flames
-- london_gflash
-- london
-- london_sphere
-- london_glow
-- london_flat
local effects = {
["london_flames"] = {
rocks = {
air = true,
class = [[CSimpleParticleSystem]],
count = 30,
ground = true,
water ... | gpl-2.0 |
RyMarq/Zero-K | scripts/nanoaim.h.lua | 8 | 2918 | -------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
--
-- Author: jK @ 2010
--
-- How to use:
--
-- 1. Add to the start of your script: include "nanoaim.h.lua"
-- 2. After you define your piec... | gpl-2.0 |
purebn/ShadowBot | plugins/Time.1.lua | 120 | 2804 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
madpilot78/ntopng | scripts/plugins/endpoints/shell_alert_endpoint/alert_endpoints/shell.lua | 1 | 4626 | --
-- (C) 2021 - ntop.org
--
require "lua_utils"
local sys_utils = require "sys_utils"
local json = require "dkjson"
local alerts_api = require "alerts_api"
local alert_consts = require "alert_consts"
local endpoint_key = "shell_alert_endpoint"
local shell = {
name = "Shell Script",
endpoint_params = {
... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Network/LobbyService/LobbyServerViaTunnel.lua | 1 | 11557 | --[[
Title: LobbyServer
Author(s): LanZhihong, LiXizhi
Date: 2018/12/19
Desc: LobbyServerViaTunnel communicates with each other in peer to peer mode.
use the lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Network/LobbyService/LobbyServerViaTunnel.lua");
local ... | gpl-2.0 |
RyMarq/Zero-K | scripts/aimPosTerraform.lua | 2 | 1313 | if GG.SetupAimPosTerraform then
return
end
function GG.SetupAimPosTerraform(unitID, unitDefID, defaultMid, defaultAim, minAimOffset, maxAimOffset, cliffPeek, searchRange)
local baseX,_,baseZ = Spring.GetUnitPosition(unitID)
local baseHeight = Spring.GetGroundHeight(baseX, baseZ)
if baseHeight < 0 and UnitDefs[unit... | gpl-2.0 |
BinChengfei/openwrt-3.10.14 | package/ramips/ui/luci-mtk/src/modules/base/luasrc/ltn12.lua | 83 | 11303 | --[[
LuaSocket 2.0.2 license
Copyright � 2004-2007 Diego Nehab
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, me... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/GUI/Transform3DController.lua | 1 | 7203 | --[[
Title: world cooridnate 3d marker
Author(s): LiXizhi
Date: 2014/3/11
Desc: rendering the 3d coordinate in the 3d world in a mini-scenegraph.
code is from TransformationBox.lua in year 2008.
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/GUI/T... | gpl-2.0 |
Lleafll/sws-lleaf | libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua | 52 | 9726 | local AceGUI = LibStub("AceGUI-3.0")
-- Lua APIs
local pairs, assert, type = pairs, assert, type
-- WoW APIs
local PlaySound = PlaySound
local CreateFrame, UIParent = CreateFrame, UIParent
-- Global vars/functions that we don't upvalue since they might get hooked, or upgraded
-- List them here for Mikk's FindGlobals... | mit |
Lleafll/sws-lleaf | libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua | 30 | 7163 | --[[-----------------------------------------------------------------------------
EditBox Widget
-------------------------------------------------------------------------------]]
local Type, Version = "EditBox", 25
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or... | mit |
nimaghorbani/creed | 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 |
TerminalShell/zombiesurvival | entities/weapons/weapon_zs_basemelee/shared.lua | 1 | 8718 | if SERVER then
AddCSLuaFile("shared.lua")
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("animations.lua")
end
SWEP.ViewModel = "models/weapons/v_axe/v_axe.mdl"
SWEP.WorldModel = "models/weapons/w_axe.mdl"
SWEP.Primary.ClipSize = -1
SWEP.Primary.DefaultClip = -1
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "none"
S... | gpl-3.0 |
purebn/ShadowBot | 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 |
wjingzhe/ActiveStar | cocos2d/external/lua/luajit/src/src/host/genminilua.lua | 73 | 11943 | ----------------------------------------------------------------------------
-- Lua script to generate a customized, minified version of Lua.
-- The resulting 'minilua' is used for the build process of LuaJIT.
----------------------------------------------------------------------------
-- Copyright (C) 2005-2013 Mike P... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/rest/v1/get/interface/alert/list.lua | 2 | 1583 | --
-- (C) 2021-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
package.path = dirs.installdir .. "/scripts/lua/modules/alert_store/?.lua;" .. package.path
local auth = require "auth"
local rest_utils = require("rest_utils")
local interface_a... | gpl-3.0 |
sagarwaghmare69/dpnn | TotalDropout.lua | 4 | 1217 | ------------------------------------------------------------------------
--[[ TotalDropout ]]--
-- Like vanilla Dropout, but on the entire inputs.
-- So either the input is entirely forwarded or entirely zeroed.
------------------------------------------------------------------------
local TotalDropout, parent = torch.... | bsd-3-clause |
RyMarq/Zero-K | LuaRules/Gadgets/cmd_hide_autorepairlevel.lua | 8 | 1140 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/cup_of_chamomile_tea.lua | 1 | 1319 | -----------------------------------------
-- ID: 4603
-- Item: cup_of_chamomile_tea
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 8
-- Vitality -2
-- Charisma 2
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
eriche2016/nn | ClassSimplexCriterion.lua | 11 | 3823 | local ClassSimplexCriterion, parent
= torch.class('nn.ClassSimplexCriterion', 'nn.MSECriterion')
--[[
This file implements a criterion for multi-class classification.
It learns an embedding per class, where each class' embedding
is a point on an (N-1)-dimensional simplex, where N is
the number of c... | bsd-3-clause |
andr3wmac/Torque6 | build/scripts/Plugins.lua | 3 | 2660 | function fileExists(name)
local f=io.open(name,"r")
if f~=nil then io.close(f) return true else return false end
end
function torque6Plugin(_name)
CUR_PLUGIN_DIR = path.join(PLUGIN_DIR, _name)
if fileExists(path.join(CUR_PLUGIN_DIR, "genie.lua")) then
dofile (path.join(CUR_PLUGIN_DIR, "genie.l... | mit |
pakoito/ToME---t-engine4 | game/modules/tome/data/gfx/particles/starfield.lua | 3 | 1907 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/User/VipPage.lua | 1 | 15332 | --[[
Title: VipPage
Author(s): leio
Date: 2021/7/9
Desc:
Use Lib:
-------------------------------------------------------
local VipPage = NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/User/VipPage.lua");
VipPage.ShowPage();
--]]
local KeepWorkItemManager = NPL.load("(gl)script/apps/Aries/Creator/HttpAPI/KeepWork... | gpl-2.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/flower_cyan_3.meta.lua | 18 | 1947 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 80,
light_colors = {
"0 190 171 255",
"6 190 39 255",
"153 229 80 255"
},
radius = {
x = 80,
y = 80
},
standard_deviation = 6
},
... | agpl-3.0 |
triasg/CrownCustomizer | Libs/LibAddonMenu-2.0/controls/texture.lua | 7 | 1661 | --[[textureData = {
type = "texture",
image = "file/path.dds",
imageWidth = 64, --max of 250 for half width, 510 for full
imageHeight = 32, --max of 100
tooltip = "Image's tooltip text.", -- or string id or function returning a string (optional)
width = "full", --or "half" (optional)
referen... | mit |
matin-igdery/og | plugins/dic.lua | 31 | 1662 | --[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local pa... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/bunch_of_wild_pamamas.lua | 1 | 1145 | -----------------------------------------
-- ID: 4596
-- Item: Bunch of Wild Pamamas
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-------------------------------------... | gpl-3.0 |
RyMarq/Zero-K | effects/av_tess.lua | 8 | 7476 | -- tess
return {
["av_tess"] = {
air = true,
count = 10,
ground = true,
water = true,
debris1 = {
air = true,
class = [[CSimpleParticleSystem]],
count = 20,
ground = t... | gpl-2.0 |
TerminalShell/zombiesurvival | entities/weapons/weapon_zs_arsenal/shared.lua | 1 | 1168 | SWEP.ViewModel = "models/weapons/v_pistol.mdl"
SWEP.WorldModel = Model("models/Items/item_item_crate.mdl")
SWEP.AmmoIfHas = true
SWEP.Primary.ClipSize = 1
SWEP.Primary.DefaultClip = 1
SWEP.Primary.Ammo = "airboatgun"
SWEP.Primary.Delay = 1
SWEP.Primary.Automatic = true
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.Def... | gpl-3.0 |
NPLPackages/paracraft | script/kids/3DMapSystemApp/Assets/AssetManager.lua | 1 | 33853 | --[[
Title: Advanced asset manager window
It allows user to edit, upload asset owned by the user. It uses a folder hierachy like VSS and allow users to set the working directory to synchronize from local directory to asset file (and remote server).
AssetData contains data structure for asset, folder and package. Asset... | gpl-2.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/road_front_dirt.meta.lua | 2 | 2720 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.25999999046325684,
amplification = 200,
light_colors = {
"255 198 19 255"
},
radius = {
x = 130,
y = 130
},
standard_deviation = 8
},
generate_desaturation = fa... | agpl-3.0 |
RyMarq/Zero-K | scripts/energywind.lua | 2 | 3619 | local base, fan, cradle, flaot = piece('base', 'fan', 'cradle', 'flaot')
include "constants.lua"
local baseDirection
local smokePiece = {base}
local hpi = math.pi*0.5
local UPDATE_PERIOD = 1000
local BUILD_PERIOD = 500
local turnSpeed = math.rad(20)
local isWind, baseWind, rangeWind
function BobTidal()
baseDire... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/World2In1/LessonBoxCompare.lua | 1 | 22172 | NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/SelectBlocksTask.lua");
NPL.load("(gl)script/apps/Aries/Creator/Game/Entity/EntityMovieClip.lua");
NPL.load("(gl)script/apps/Aries/Creator/Game/Movie/MovieClipController.lua");
local block_types = commonlib.gettable("MyCompany.Aries.Game.block_types")
local EntityMovie... | gpl-2.0 |
RyMarq/Zero-K | effects/gundam_prettypop.lua | 26 | 1976 | -- prettypop
return {
["prettypop"] = {
groundflash = {
air = true,
alwaysvisible = true,
circlealpha = 0.0,
circlegrowth = 8,
flashalpha = 0.9,
flashsize = 20,
ground = true,
ttl = 17,
... | gpl-2.0 |
osamaalbsraoy/osama_albsraoy1989 | plugins/ar-h3.lua | 1 | 2136 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY osama ▀▄ ▄▀
▀▄ ▄▀ BY osama (@OS_AA23) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY osama ▀▄ ▄▀
▀▄ ▄▀ broadcast : م 3 ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
NPLPackages/paracraft | script/kids/3DMapSystemApp/Assets/AssetManifestPage_cmdline.lua | 1 | 17002 | --[[
Title: code behind page for AssetManifestPage.html
Author(s): LiXizhi, Spring Yan
Date: 2009/10/11 Modified Date: 2010/02/09
Desc:
<verbatim>
; Èç¹ûÐèÒª±à¼Í¨Åä·û, ¸ñʽΪ:
; [search] aaa/*.x
; ±íʾ Ŀ¼ aaa ϵÄËùÓÐ *.x Îļþ£¬°üÀ¨Æä×ÓĿ¼Ï嵀 *.x Îļþ¡£
; [search1] aaa/*.x
; ±íʾ Ŀ¼ aaa ϱ¾¼¶Ä¿Â¼ËùÓÐ *.x ÎÄ... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Movie/ActorNPC.lua | 1 | 59117 | --[[
Title: mob entity actor
Author(s): LiXizhi
Date: 2014/3/30
Desc: for recording and playing back of mob and NPC
use the lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Movie/ActorNPC.lua");
local ActorNPC = commonlib.gettable("MyCompany.Aries.Game.Movie.Acto... | gpl-2.0 |
TeamHypersomnia/Hypersomnia | hypersomnia/content/gfx/metropolis_torso_heavy_gtm_2.meta.lua | 2 | 2817 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 0.43000000715255737,
amplification = 140,
light_colors = {
"89 31 168 255",
"48 42 88 255",
"61 16 123 0"
},
radius = {
x = 80,
y = 80
},
standard_deviati... | agpl-3.0 |
madpilot78/ntopng | scripts/lua/rest/v1/get/pool/config.lua | 1 | 1271 | --
-- (C) 2019-21 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local info = ntop.getInfo()
local json = require ("dkjson")
local page_utils = require("page_utils")
local format_utils = require("format_utils")
local os_utils =... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/town-shatur/zone.lua | 2 | 1868 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/maps/vaults/hostel.lua | 3 | 2066 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
madpilot78/ntopng | attic/scripts/lua/get_host_contacts.lua | 2 | 6194 | --
-- (C) 2013-21 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local discover = require("discover_utils")
sendHTTPHeader('application/json')
currentPage = _GET["currentPage"]
sortColumn = _GET["sortColumn"]
sortOrder = _GET... | gpl-3.0 |
RyMarq/Zero-K | units/chicken_dragon.lua | 1 | 7675 | return { chicken_dragon = {
unitname = [[chicken_dragon]],
name = [[White Dragon]],
description = [[Prime Assault Chicken]],
acceleration = 5.0,
activateWhenBuilt = true,
autoHeal = 0,
brakeRate = 30.0,
buildCostEnergy ... | gpl-2.0 |
lyzardiar/seal2d | libs/lua-cjson/tests/bench.lua | 145 | 3247 | #!/usr/bin/env lua
-- This benchmark script measures wall clock time and should be
-- run on an unloaded system.
--
-- Your Mileage May Vary.
--
-- Mark Pulford <mark@kyne.com.au>
local json_module = os.getenv("JSON_MODULE") or "cjson"
require "socket"
local json = require(json_module)
local util = require "cjson.ut... | mit |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/cup_of_chocomilk.lua | 1 | 1098 | -----------------------------------------
-- ID: 4498
-- Item: cup_of_chocomilk
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic Regen While Healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
kellabyte/snabbswitch | src/lib/protocol/header.lua | 7 | 6931 | -- Protocol header base class
--
-- This is an abstract class (should not be instantiated)
--
-- Derived classes must implement the following class variables
--
-- _name a string that describes the header type in a
-- human readable form
--
-- _header_type a constructor for the C type object t... | apache-2.0 |
NPLPackages/paracraft | script/kids/3DMapSystemItem/Item_CombatCard.lua | 1 | 1432 | --[[
Title: combat card items
Author(s): WangTian
Date: 2009/6/10
Desc: Item_CombatCard type
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/kids/3DMapSystemItem/Item_CombatCard.lua");
------------------------------------------------------------
]]
local Item_CombatCard ... | gpl-2.0 |
madpilot78/ntopng | attic/scripts/callbacks/interface/host.lua | 2 | 6128 | --
-- (C) 2019-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local alert_utils = require "alert_utils"
local alerts_api = require("alerts_api")
local user_scripts = require("user_scripts")
local alert_consts = require("... | gpl-3.0 |
mysql/mysql-proxy | examples/tutorial-keepalive.lua | 6 | 7134 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Northern_San_dOria/npcs/Palguevion.lua | 1 | 1817 | -----------------------------------
-- 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 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Neuron/NeuronBlock.lua | 1 | 22676 | --[[
Title: Base class for a single neuron block
Author(s): LiXizhi
Date: 2013/3/17
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Neuron/NeuronBlock.lua");
local NeuronBlock = commonlib.gettable("MyCompany.Aries.Game.Neuron.NeuronBlock");
-... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Selbina/npcs/Nomad_Moogle.lua | 1 | 1067 | -----------------------------------
--
-- Nomad Moogle
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------... | gpl-3.0 |
knixeur/notion | contrib/statusd/statusd_cpuspeed.lua | 3 | 1441 | -- Authors: Relu Patrascu
-- License: LGPL, version 2.1 or later
-- Last Changed: 2004-11-05
--
-- statusd_cpuspeed.lua
--
-- Copyright (c) Relu Patrascu 2004.
--
-- Ion is free software; you can redistribute it and/or modify it under
-- the terms of the GNU Lesser General Public License as published by
-- the Free Sof... | lgpl-2.1 |
derkling/dotfiles | awesome/lain/widgets/contrib/tpbat/smapi.lua | 4 | 3211 |
--[[
smapi.lua
Interface with thinkpad battery information
Licensed under GNU General Public License v2
* (c) 2013, Conor Heine
... | mit |
Laterus/Darkstar-Linux-Fork | scripts/zones/Mhaura/npcs/Home_Point.lua | 3 | 1171 | -----------------------------------
-- Area: Mhaura
-- NPC: Home Point
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
require("scripts/zones/Mhaura/TextIDs");
-----------------------------------
-- onTrade Action
--------------... | gpl-3.0 |
madpilot78/ntopng | scripts/lua/modules/alert_definitions/flow/alert_ndpi_url_possible_rce_injection.lua | 1 | 1335 | --
-- (C) 2019-21 - ntop.org
--
-- ##############################################
local flow_alert_keys = require "flow_alert_keys"
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
-- Import the classes library.
local classes = require "classes"
-- Make sure to import the Superclass!
lo... | gpl-3.0 |
TerminalShell/zombiesurvival | entities/entities/status_ghost_forcebarrier.lua | 1 | 2467 | AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "status_ghost_base"
ENT.GhostModel = Model("models/props_lab/lab_flourescentlight002b.mdl")
ENT.GhostRotation = Angle(0, 0, 0)
ENT.GhostEntity = "prop_forcebarrier"
ENT.GhostWeapon = "weapon_zs_forcebarrier"
ENT.GhostDistance = 80
ENT.GhostHitNormalOffset = 2.9
ENT.GhostRot... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/engines/default/engine/generator/trap/Random.lua | 3 | 1961 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Windurst_Waters/npcs/Dagoza-Beruza.lua | 5 | 1041 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dagoza-Beruza
-- Type: Mission NPC
-- @zone: 238
-- @pos: -54.523 -6 229.271
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/lore/scintillating-caves.lua | 3 | 7738 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
TerminalShell/zombiesurvival | entities/entities/prop_gunturret/cl_init.lua | 1 | 5566 | include("shared.lua")
function ENT:Initialize()
self.BeamColor = Color(0, 255, 0, 255)
self.ScanningSound = CreateSound(self, "npc/turret_wall/turret_loop1.wav")
self.ShootingSound = CreateSound(self, "npc/combine_gunship/gunship_weapon_fire_loop6.wav")
local size = self.SearchDistance + 32
local nsize = -size
... | gpl-3.0 |
jsj2008/ValyriaTear | img/sprites/map/scening/chicken_idle.lua | 4 | 1980 | -- Sprite animation file descriptor
-- This file will describe the frames used to load the sprite animations
-- This files is following a special format compared to other animation scripts.
local ANIM_SOUTH = vt_map.MapMode.ANIM_SOUTH;
local ANIM_NORTH = vt_map.MapMode.ANIM_NORTH;
local ANIM_WEST = vt_map.MapMode.ANI... | gpl-2.0 |
groupforspeed/API-WaderTG | plugins/welcome.lua | 11 | 3476 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
ch... | gpl-2.0 |
pyxenium/EasyAutoLoot | Libs/AceEvent-3.0/AceEvent-3.0.lua | 50 | 4772 | --- AceEvent-3.0 provides event registration and secure dispatching.
-- All dispatching is done using **CallbackHandler-1.0**. AceEvent is a simple wrapper around
-- CallbackHandler, and dispatches all game events or addon message to the registrees.
--
-- **AceEvent-3.0** can be embeded into your addon, either explicit... | mit |
RyMarq/Zero-K | LuaRules/Gadgets/unit_carrier_drones.lua | 1 | 31990 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/rest/v2/set/pool/config.lua | 2 | 1650 | --
-- (C) 2019-21 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local info = ntop.getInfo()
local json = require ("dkjson")
local page_utils = require("page_utils")
local format_utils = require("format_utils")
local os_utils =... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Northern_San_dOria/npcs/Eperdur.lua | 1 | 5279 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Eperdur
-- Starts and Finishes Quest: Altana's Sorrow (finish), Acting in Good Faith (finish), Healing the Land,
-- @zone 231
-- @pos 129 -6 96
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]... | gpl-3.0 |
TerminalShell/zombiesurvival | entities/entities/prop_spotlamp/cl_init.lua | 1 | 1184 | include("shared.lua")
function ENT:Initialize()
self:SetRenderBounds(Vector(-72, -72, -72), Vector(72, 72, 128))
self.PixVis = util.GetPixelVisibleHandle()
end
function ENT:SetObjectHealth(health)
self:SetDTFloat(0, health)
end
local matLight = Material("sprites/light_ignorez")
function ENT:DrawTranslucent()
se... | gpl-3.0 |
NPLPackages/paracraft | script/kids/3DMapSystemItem/Item_FollowPet_Skills.lua | 1 | 3470 | --[[
Title:
Author(s): Leio
Date: 2010/04/19
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/kids/3DMapSystemItem/Item_FollowPet_Skills.lua");
Map3DSystem.Item.Item_FollowPet_Skills.CrystalBunny();
------------------------------------------------------------
]]
lo... | gpl-2.0 |
jamesofarrell/TheFatController | prototypes/fatcontroller.lua | 1 | 1365 | require ("prototypes.fatcontroller_annimation")
data:extend({
{
type = "player",
name = "fatcontroller",
icon = "__base__/graphics/icons/player.png",
flags = {"pushable", "placeable-player", "placeable-off-grid", "not-repairable", "not-on-map"},
max_health = 100,
healing_per_tick = 100,
co... | mit |
Laterus/Darkstar-Linux-Fork | scripts/zones/Eastern_Altepa_Desert/npcs/Eaulevisat_RK.lua | 1 | 2165 | -----------------------------------
-- Area: Eastern Altepa desert
-- NPC: Eaulevisat, R.K.
-- Outpost Conquest Guards
-- X Grant Signet
-- Recharge Emperor Band, Empress Band, or Chariot Band
-- X Sets the player's Home Point to their location for free
-- X Accepts supplies for the region in which the gu... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Beaucedine_Glacier/npcs/Gueriette.lua | 1 | 1884 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Gueriette
-- @zone 111
-- @pos -24 -59 -120
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
ahemid/openvswitch | net/mwan3-luci/files/usr/lib/lua/luci/controller/mwan3.lua | 29 | 10831 | module("luci.controller.mwan3", package.seeall)
sys = require "luci.sys"
ut = require "luci.util"
function index()
if not nixio.fs.access("/etc/config/mwan3") then
return
end
entry({"admin", "network", "mwan"},
alias("admin", "network", "mwan", "overview"),
_("Load Balancing"), 600)
entry({"admin", "netwo... | gpl-2.0 |
mysql/mysql-proxy | lib/rw-splitting.lua | 4 | 11341 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/modules/alert_definitions/flow/alert_udp_unidirectional.lua | 1 | 1037 | --
-- (C) 2019-21 - ntop.org
--
-- ##############################################
local flow_alert_keys = require "flow_alert_keys"
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
-- Import the classes library.
local classes = require "classes"
-- Make sure to import the Superclass!
l... | gpl-3.0 |
RyMarq/Zero-K | units/chicken_sporeshooter.lua | 1 | 3576 | return { chicken_sporeshooter = {
unitname = [[chicken_sporeshooter]],
name = [[Sporeshooter]],
description = [[All-Terrain Spores (Anti-Air/Skirm)]],
acceleration = 1.08,
activateWhenBuilt = true,
brakeRate = 1.23,
buildCostEnergy = 0,
buildCostM... | gpl-2.0 |
RyMarq/Zero-K | LuaUI/Widgets/unit_icons.lua | 2 | 9597 | -------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Unit Icons",
desc = "v0.033 Shows icons above units",
author = "CarRepairer a... | gpl-2.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/base/luasrc/sys/iptparser.lua | 60 | 10704 | --[[
Iptables parser and query library
(c) 2008-2009 Jo-Philipp Wich <xm@leipzig.freifunk.net>
(c) 2008-2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
... | gpl-2.0 |
ahemid/openvswitch | 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 |
8devices/carambola2-new-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 |
RyMarq/Zero-K | scripts/striderfunnelweb.lua | 2 | 4722 | include "constants.lua"
include "spider_walking.lua"
local ALLY_ACCESS = {allied = true}
local notum = piece 'notum'
local gaster = piece 'gaster'
local gunL, gunR, flareL, flareR, aimpoint = piece('gunl', 'gunr', 'flarel', 'flarer', 'aimpoint')
local shieldArm, shield, eye, eyeflare = piece('shield_arm', 'shield', '... | gpl-2.0 |
RyMarq/Zero-K | LuaRules/Gadgets/game_over.lua | 2 | 23382 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/base/luasrc/ccache.lua | 82 | 1863 | --[[
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
ht... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Ordelles_Caves/npcs/qm2.lua | 1 | 1478 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: ???
-- Involved in Quest: A Squire's Test II
-- @zone 193
-- @pos -94 1 273
-------------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/... | gpl-3.0 |
BinChengfei/openwrt-3.10.14 | package/ramips/ui/luci-mtk/src/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua | 56 | 2755 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-2012 Manuel Munz <freifunk at somakoma dot de>
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
httc://www.apache.org/licenses/LICENSE-2.0
]]... | gpl-2.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/applications/luci-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... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/VipToolTip/VipToolNew.lua | 1 | 6995 | --[[
Title: VersionNotice
Author(s): big
Date: 2020.01.14
place: Foshan
Desc:
use the lib:
------------------------------------------------------------
local VipToolNew = NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/VipToolTip/VipToolNew.lua")
VipToolNew.Show()
--------------------------------------------------... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/orc-breeding-pit/objects.lua | 3 | 1439 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
LiJingBiao/wax | lib/stdlib/helpers/cache.lua | 19 | 1993 | wax.cache = {}
setmetatable(wax.cache, wax.cache)
-- Returns contents of cache keys
-- key: string # value for cache
-- maxAge: number (optional) # max age of file in seconds
function wax.cache.get(key, maxAge)
local path = wax.cache.pathFor(key)
if not wax.filesystem.isFile(path) then return nil end
if ... | mit |
RyMarq/Zero-K | effects/gundam_electric_explosion2.lua | 25 | 4467 | -- electric_explosion2
return {
["electric_explosion2"] = {
dirt = {
count = 4,
ground = true,
properties = {
alphafalloff = 2,
alwaysvisible = true,
color = [[0.2, 0.1, 0.05]],
pos = [[r-10 r10, 0, ... | gpl-2.0 |
RyMarq/Zero-K | gamedata/modularcomms/weapons/heavy_disruptor.lua | 1 | 1231 | local name = "commweapon_heavy_disruptor"
local weaponDef = {
name = [[Heavy Disruptor Pulse Beam]],
beamdecay = 0.9,
beamTime = 1/30,
beamttl = 75,
coreThickness = 0.5,
craterBoost = 0,
craterMult = 0,
customPar... | gpl-2.0 |
RyMarq/Zero-K | units/dynsupport1.lua | 1 | 2709 | return { dynsupport1 = {
unitname = [[dynsupport1]],
name = [[Engineer Commander]],
description = [[Econ/Support Commander]],
acceleration = 0.75,
activateWhenBuilt = true,
brakeRate = 2.7,
buildCostMetal = 1200,
buildDistance = 232,
buil... | gpl-2.0 |
gleachkr/luakit | build-utils/find_files.lua | 4 | 3372 | local filter_array = require("lib.lousy.util").table.filter_array
local lua_escape = require("lib.lousy.util").lua_escape
local luakit_files
local function get_luakit_files ()
if not luakit_files then
luakit_files = {}
local f = io.popen("find . -type f | grep -v '\\./\\.' | sed 's#^\\./##'")
... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Port_Windurst/npcs/Kunchichi.lua | 5 | 1038 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kunchichi
-- Type: Standard NPC
-- @zone: 240
-- @pos: -115.933 -4.25 109.533
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------... | gpl-3.0 |
SlNPacifist/ProDBG | bin/macosx/tundra/scripts/tundra/ide/msvc-common.lua | 18 | 29280 | module(..., package.seeall)
local native = require "tundra.native"
local nodegen = require "tundra.nodegen"
local path = require "tundra.path"
local util = require "tundra.util"
LF = '\r\n'
local UTF_HEADER = '\239\187\191' -- byte mark EF BB BF
local VERSION_NUMBER = "12.00"
local VERSION_YEAR = "2012"
lo... | mit |
pakoito/ToME---t-engine4 | game/modules/tome/data/gfx/particles/master_summoner.lua | 3 | 1491 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/thirdparty/moonscript/errors.lua | 5 | 1755 | module("moonscript.errors", package.seeall)
local moon = require("moonscript")
local util = require("moonscript.util")
require("lpeg")
local concat, insert = table.concat, table.insert
local split, pos_to_line = util.split, util.pos_to_line
local lookup_line
lookup_line = function(fname, pos, cache)
if not cache[fnam... | gpl-3.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Port_Jeuno/npcs/_6ue.lua | 20 | 1386 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Door: Departures Exit (for Windurst)
-- @zone 246
-- @pos 3 7 -54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.