repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
PhearNet/scanner
bin/nmap-openshift/nselib/ipp.lua
6
12844
local bin = require "bin" local http = require "http" local nmap = require "nmap" local os = require "os" local stdnse = require "stdnse" local tab = require "tab" local table = require "table" _ENV = stdnse.module("ipp", stdnse.seeall) --- -- -- A small CUPS ipp (Internet Printing Protocol) library implementation -- ...
mit
geanux/darkstar
scripts/zones/Al_Zahbi/npcs/Banjanu.lua
38
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Banjanu -- Type: Standard NPC -- @zone: 48 -- @pos -75.954 0.999 105.367 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
h0tw1r3/mame
3rdparty/genie/tests/actions/vstudio/sln2005/header.lua
51
1327
-- -- tests/actions/vstudio/sln2005/header.lua -- Validate generation of Visual Studio 2005+ solution header. -- Copyright (c) 2009-2011 Jason Perkins and the Premake project -- T.vstudio_sln2005_header = { } local suite = T.vstudio_sln2005_header local sln2005 = premake.vstudio.sln2005 -- -- Setup -- local sln...
gpl-2.0
bungle/lua-resty-nettle
lib/resty/nettle/umac.lua
1
2933
local types = require "resty.nettle.types.common" local context = require "resty.nettle.types.umac" local lib = require "resty.nettle.library" local ffi = require "ffi" local ffi_new = ffi.new local ffi_str = ffi.string local setmetatable = setmetatable local umacs = { umac32 = { length = 4, context = contex...
bsd-2-clause
GuiltyNeko/GuiltyNeko-s-Factorio-Tweaks
prototypes/GNFT-electric-furnace.lua
1
1686
if settings.startup["GNFT-electric-furnace-tech"].value then table.insert(data.raw.technology["logistics"].effects,{type = "unlock-recipe", recipe = "electric-furnace"}) --Move electric furnace to logistics tech for i, effect in pairs(data.raw.technology["advanced-material-processing-2"].effects) do --Remove el...
mit
kaen/Zero-K
scripts/chickenflyerqueen.lua
11
7563
include "constants.lua" local spGetUnitHealth = Spring.GetUnitHealth --pieces local body, head, tail, leftWing1, rightWing1, leftWing2, rightWing2 = piece("body","head","tail","lwing1","rwing1","lwing2","rwing2") local leftThigh, leftKnee, leftShin, leftFoot, rightThigh, rightKnee, rightShin, rightFoot = piece("lthig...
gpl-2.0
bungle/lua-resty-nettle
lib/resty/nettle/types/siv-cmac.lua
1
1978
require "resty.nettle.types.aes" require "resty.nettle.types.cmac" local ffi = require "ffi" local ffi_cdef = ffi.cdef local ffi_typeof = ffi.typeof ffi_cdef [[ void nettle_siv_cmac_aes128_set_key(struct siv_cmac_aes128_ctx *ctx, const uint8_t *key); void nettle_siv_cmac_aes128_encrypt_message(const struct siv_cmac_...
bsd-2-clause
forward619/luci
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_ppp.lua
47
3692
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local device, username, password local ipv6, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand, mtu device = section:taboption("general", Value...
apache-2.0
geanux/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm0_1.lua
35
1154
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: qm0 (warp player outside after they win fight) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ------------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); ...
gpl-3.0
SirFrancisBillard/lua-projects
workshop/meth_cooking/meth_cooking/lua/entities/billard_meth_pot/init.lua
2
1526
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") function ENT:Initialize() self:SetModel("models/props_c17/metalPot001a.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) local phys = self:GetPhysicsObject() if phys:IsV...
gpl-3.0
kaen/Zero-K
units/corhlt.lua
4
6799
unitDef = { unitname = [[corhlt]], name = [[Stinger]], description = [[High-Energy Laser Tower]], acceleration = 0, brakeRate = 0, buildAngle = 4096, buildCostEnergy = 420,...
gpl-2.0
kaen/Zero-K
units/armamd.lua
2
6140
unitDef = { unitname = [[armamd]], name = [[Protector]], description = [[Anti-Nuke System]], acceleration = 0, activateWhenBuilt = true, antiweapons = [[1]], bmcode = [[0]]...
gpl-2.0
mrxhacker/BDReborn
plugins/msg-checks.lua
26
13860
--Begin msg_checks.lua By @SoLiD local function pre_process(msg) local data = load_data(_config.moderation.data) local chat = msg.to.id local user = msg.from.id local is_channel = msg.to.type == "channel" local is_chat = msg.to.type == "chat" local auto_leave = 'auto_leave_bot' local hash = "gp_lang:"..chat local lang ...
gpl-3.0
forward619/luci
libs/luci-lib-nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
apache-2.0
geanux/darkstar
scripts/zones/Tahrongi_Canyon/npcs/Excavation_Point.lua
29
1114
----------------------------------- -- Area: Tahrongi Canyon -- NPC: Excavation Point ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ------------------------------------- require("scripts/globals/excavation"); require("scripts/zones/Tahrongi_Canyon/TextIDs...
gpl-3.0
mrxhacker/BDReborn
bot/bot.lua
1
11342
-- #Beyond Reborn Robot -- # tdcli = dofile('./tg/tdcli.lua') serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() require('./bot/utils') require('./libs/lua-redis') URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" json...
gpl-3.0
ld-test/lua-cassandra
doc/examples/ssl.lua
1
1472
-------- -- Example of SSL enabled connection using luasocket local cassandra = require "cassandra" local PasswordAuthenticator = require "cassandra.authenticators.PasswordAuthenticator" local session = cassandra:new() local auth = PasswordAuthenticator("cassandra", "cassandra") local ok, err = session:connect({"x.x...
mit
tonylauCN/tutorials
openresty/debugger/lualibs/luainspect/init.lua
3
50289
-- luainspect.init - core LuaInspect source analysis. -- -- This module is a bit more high level than luainspect.ast. It deals more with -- interpretation/inference of semantics of an AST. It also uses luainspect.globals, -- which does the basic semantic interpretation of globals/locals. -- -- (c) 2010 David Manura, ...
apache-2.0
geanux/darkstar
scripts/zones/Port_Bastok/npcs/Kurando.lua
38
2161
----------------------------------- -- Area: Port Bastok -- NPC: Kurando -- Type: Quest Giver -- @zone: 236 -- @pos -23.887 3.898 0.870 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ---------------------...
gpl-3.0
geanux/darkstar
scripts/globals/items/bowl_of_tender_navarin.lua
35
1884
----------------------------------------- -- ID: 4284 -- Item: Bowl of Tender Navarin -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 3 -- Strength 3 -- Agility 1 -- Vitality 1 -- Intelligence -1 -- Attack % 27 -- Attack Cap 35 -- Evasion 6 -- Ranged ATT % 27 -- Ran...
gpl-3.0
geanux/darkstar
scripts/zones/Port_Jeuno/npcs/Chudigrimane.lua
29
1189
----------------------------------- -- Area: Port Jeuno -- NPC: Chudigrimane -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action --------------...
gpl-3.0
geanux/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/Zone.lua
19
4371
----------------------------------- -- -- Zone: Grand_Palace_of_HuXzoi (34) -- ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Grand_Palace_of_HuXzoi/TextID...
gpl-3.0
geanux/darkstar
scripts/zones/Northern_San_dOria/npcs/Chasalvige.lua
19
1712
----------------------------------- -- Area: Northern San d'Oria -- NPC: Chasalvige -- Type: Standard Info NPC -- Involved in Mission: The Road Forks -- Involved in Mission: Promathia Mission 5 - Three Paths -- @zone: 231 -- @pos 96.432 -0.520 134.046 -- ----------------------------------- require("scripts/globa...
gpl-3.0
geanux/darkstar
scripts/zones/North_Gustaberg/npcs/Shigezane_IM.lua
28
3150
----------------------------------- -- Area: North Gustaberg -- NPC: Shigezane, I.M. -- Type: Outpost Conquest Guards -- @pos -584.687 39.107 54.281 106 ------------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ------------------------------------- require("scripts/...
gpl-3.0
Greentwip/CodyCobain
src/app/objects/characters/enemies/sheriff/jetbird.lua
1
1734
-- Copyright 2014-2015 Greentwip. All Rights Reserved. local enemy = import("app.objects.characters.enemies.base.enemy") local mob = class("jetbird", enemy) function mob:onCreate() self.super:onCreate() self.movement_is_non_blockable_ = true self.default_health_ = 2 self.shooting_ = false self....
gpl-3.0
371816210/vlc_vlc
share/lua/playlist/anevia_streams.lua
112
3664
--[[ $Id$ Parse list of available streams on Anevia Toucan servers. The URI http://ipaddress:554/list_streams.idp describes a list of available streams on the server. Copyright © 2009 M2X BV Authors: Jean-Paul Saman <jpsaman@videolan.org> This program is free software; you can redistribute it and/or modify ...
gpl-2.0
geanux/darkstar
scripts/globals/abilities/pets/frost_breath.lua
25
1248
--------------------------------------------------- -- Frost Breath --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbilityCh...
gpl-3.0
mohammadclashclash/elll2014
plugins/bugzilla.lua
611
3983
do local BASE_URL = "https://bugzilla.mozilla.org/rest/" local function bugzilla_login() local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password print("accessing " .. url) local res,code = https.request( url ) local data = json:decode(res) return data ...
gpl-2.0
xeranas/happy_weather
light_rain.lua
1
3214
------------------------------ -- Happy Weather: Light Rain -- License: MIT -- Credits: xeranas ------------------------------ local light_rain = {} -- Weather identification code light_rain.code = "light_rain" -- Keeps sound handler references local sound_handlers = {} -- Manual triggers flags local manual_tri...
mit
geanux/darkstar
scripts/zones/Gusgen_Mines/Zone.lua
30
1811
----------------------------------- -- -- Zone: Gusgen_Mines (196) -- ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ---------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Gusgen_Mines/Te...
gpl-3.0
tonylauCN/tutorials
openresty/debugger/lualibs/ssl.lua
3
5220
------------------------------------------------------------------------------ -- LuaSec 0.6 -- Copyright (C) 2006-2016 Bruno Silvestre -- ------------------------------------------------------------------------------ if package.config:sub(1,1) == "\\" then -- Windows only -- this hack is needed because OpenSSL libr...
apache-2.0
geanux/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hagakoff.lua
34
1998
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Hagakoff -- Standard Merchant NPC -- Partitionally Implemented -- Difficult Shop Script needed ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
mirkix/ardupilot
libraries/AP_Scripting/examples/plane_guided_follow.lua
8
3624
-- support follow in GUIDED mode in plane local PARAM_TABLE_KEY = 11 local PARAM_TABLE_PREFIX = "GFOLL_" local MODE_MANUAL = 0 local MODE_GUIDED = 15 local ALT_FRAME_ABSOLUTE = 0 -- bind a parameter to a variable function bind_param(name) local p = Parameter() assert(p:init(name), string.format('could not fin...
gpl-3.0
sodzawic/tk
epan/wslua/template-init.lua
4
4791
-- init.lua -- -- initialize wireshark's lua -- -- This file is going to be executed before any other lua script. -- It can be used to load libraries, disable functions and more. -- -- Wireshark - Network traffic analyzer -- By Gerald Combs <gerald@wireshark.org> -- Copyright 1998 Gerald Combs -- -- This program is f...
gpl-2.0
forward619/luci
applications/luci-app-ddns/luasrc/controller/ddns.lua
29
7451
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2013 Manuel Munz <freifunk at somakoma dot de> -- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. module("luci.c...
apache-2.0
geanux/darkstar
scripts/globals/weaponskills/flaming_arrow.lua
30
1398
----------------------------------- -- Flaming Arrow -- Archery weapon skill -- Skill level: 5 -- Deals fire elemental damage. Damage varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: Fire -- Modifiers: STR:16% ; AGI:25% -- 100%TP 200%T...
gpl-3.0
kaen/Zero-K
LuaUI/Widgets/gui_chili_docking.lua
4
12127
local version = "v1.001" function widget:GetInfo() return { name = "Chili Docking", desc = version .." Provides docking and position saving for chili windows", author = "Licho", date = "@2010", license = "GNU GPL, v2 or later", layer = 50, experimental = false, ...
gpl-2.0
lewes6369/LAVG-GAME-ENGINE
src/LAVG/Lua/WinSetting.lua
2
1214
-- WinSetting -- author by Liu Hao -- 2017/06/18 local Lplus = require "Lplus" local UserData = require "UserData" local RenderManager = require "RenderManager" local WinSetting = Lplus.Class("WinSetting") local def = WinSetting.define def.field("number").m_width = 0 def.field("number").m_height = 0 def...
mit
evilexecutable/ResourceKeeper
install/Lua/lib/lua/oil/arch/corba/client.lua
6
1097
local pairs = pairs local port = require "oil.port" local component = require "oil.component" local arch = require "oil.arch" --[[VERBOSE]] local verbose = require "oil.verbose" module "oil.arch.corba.client" OperationRequester = component.Template{ requests = p...
gpl-2.0
sami2448/a
plugins/admin.lua
9
6057
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
geanux/darkstar
scripts/zones/Windurst_Walls/npcs/Raamimi.lua
17
3005
----------------------------------- -- Area: Windurst Walls -- Location: X:-81 Y:-9 Z:103 -- NPC: Raamimi -- Working 100% -- Involved in Quest: To Bee or Not to Bee? ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); ----------------------------...
gpl-3.0
geanux/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Donmo-Boronmo_WW.lua
30
3082
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Donmo-Boronmo, W.W. -- Type: Outpost Conquest Guards -- @pos -294.470 15.806 420.117 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
kaen/Zero-K
effects/gundam_heavybulletimpact.lua
25
4293
-- heavybulletimpact return { ["heavybulletimpact"] = { dirtg = { class = [[CSimpleParticleSystem]], count = 1, ground = true, properties = { airdrag = 0.7, alwaysvisible = true, colormap = [[0.1 0.1 0...
gpl-2.0
geanux/darkstar
scripts/zones/Qufim_Island/npcs/Trodden_Snow.lua
19
4780
----------------------------------- -- Area: Qufim Island -- NPC: Trodden Snow -- Mission: ASA - THAT_WHICH_CURDLES_BLOOD -- Mission: ASA - SUGAR_COATED_DIRECTIVE -- @zone 126 -- @pos -19 -17 104 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------...
gpl-3.0
girishramnani/Algorithm-Implementations
Caesar_Cipher/Lua/Yonaba/caesar_cipher_test.lua
26
1202
-- Tests for caesar_cipher.lua local caesar = require 'caesar_cipher' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 ...
mit
geanux/darkstar
scripts/zones/Port_Windurst/npcs/Mojo-Pojo.lua
38
1037
----------------------------------- -- Area: Port Windurst -- NPC: Mojo-Pojo -- Type: Standard NPC -- @zone: 240 -- @pos -108.041 -4.25 109.545 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ------------...
gpl-3.0
geanux/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Yassi-Possi.lua
38
1147
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Yassi-Possi -- Type: Item Deliverer -- @zone: 94 -- @pos 153.992 -0.001 -18.687 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ...
gpl-3.0
CandyKat/external_skia
tools/lua/bitmap_statistics.lua
207
1862
function string.startsWith(String,Start) return string.sub(String,1,string.len(Start))==Start end function string.endsWith(String,End) return End=='' or string.sub(String,-string.len(End))==End end local canvas = nil local num_perspective_bitmaps = 0 local num_affine_bitmaps = 0 local num_scaled_bitmaps = 0 loc...
bsd-3-clause
evilexecutable/ResourceKeeper
install/Lua/lib/lua/oil/corba/idl.lua
6
19865
-------------------------------------------------------------------------------- ------------------------------ ##### ## ------------------------------ ------------------------------ ## ## # ## ------------------------------ ------------------------------ ## ## ## ## ---------------------------...
gpl-2.0
ethantang95/DIGITS
examples/text-classification/text-classification-model.lua
13
2920
assert(pcall(function() require('dpnn') end), 'dpnn module required: luarocks install dpnn') -- return function that returns network definition return function(params) -- get number of classes from external parameters (default to 14) local nclasses = params.nclasses or 14 if pcall(function() require('cudn...
bsd-3-clause
kaen/Zero-K
LuaRules/Gadgets/unit_overkill_prevention.lua
3
11786
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
geanux/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p8.lua
17
1782
----------------------------------- -- Area: Misareaux Coast -- NPC: Iron Gate -- Entrance to Sacrarium ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Misarea...
gpl-3.0
legend18/dragonbone_cocos2dx-3.x
demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsWorld.lua
6
2737
-------------------------------- -- @module PhysicsWorld -- @parent_module cc -------------------------------- -- @function [parent=#PhysicsWorld] getGravity -- @param self -- @return vec2_table#vec2_table ret (return value: vec2_table) -------------------------------- -- @function [parent=#PhysicsWorld] ge...
mit
geanux/darkstar
scripts/zones/King_Ranperres_Tomb/npcs/Strange_Apparatus.lua
31
1146
----------------------------------- -- Area: King_Ranperre's Tomb -- NPC: Strange Apparatus -- @pos -260 7 -142 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; require("scripts/zones/King_Ranperres_Tomb/TextIDs"); require("scripts/globals/strangeapparatus");...
gpl-3.0
Schwertspize/cuberite
Server/Plugins/APIDump/Hooks/OnChunkUnloading.lua
28
1082
return { HOOK_CHUNK_UNLOADING = { CalledWhen = " A chunk is about to be unloaded from the memory. Plugins may refuse the unload.", DefaultFnName = "OnChunkUnloading", -- also used as pagename Desc = [[ Cuberite calls this function when a chunk is about to be unloaded from the memory. A plugin may force ...
apache-2.0
aqasaeed/botw
plugins/inrealm.lua
850
25085
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
tonylauCN/tutorials
lua/debugger/lualibs/lua_parser_loose.lua
4
12914
--[[ lua_parser_loose.lua. Loose parsing of Lua code. See README. (c) 2013 David Manura. MIT License. --]] local PARSE = {} local unpack = table.unpack or unpack local LEX = require 'lua_lexer_loose' --[[ Loose parser. lx - lexer stream of Lua tokens. f(event...) - callback function to send events to. Even...
apache-2.0
geanux/darkstar
scripts/zones/Port_Windurst/npcs/Newlyn.lua
38
1034
----------------------------------- -- Area: Port Windurst -- NPC: Newlyn -- Type: Standard NPC -- @zone: 240 -- @pos 200.673 -6.601 108.665 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ---------------...
gpl-3.0
geanux/darkstar
scripts/zones/Dynamis-Tavnazia/mobs/Nightmare_Makara.lua
13
1506
----------------------------------- -- Area: Dynamis Tavnazia -- NPC: Nightmare_Makara ----------------------------------- package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Tavnazia/TextIDs");...
gpl-3.0
LiangMa/skynet
service/launcher.lua
51
3199
local skynet = require "skynet" local core = require "skynet.core" require "skynet.manager" -- import manager apis local string = string local services = {} local command = {} local instance = {} -- for confirm (function command.LAUNCH / command.ERROR / command.LAUNCHOK) local function handle_to_address(handle) retu...
mit
forward619/luci
applications/luci-app-multiwan/luasrc/controller/multiwan.lua
62
1929
module("luci.controller.multiwan", package.seeall) function index() local fs = require "nixio.fs" if not fs.access("/etc/config/multiwan") then return end local page page = entry({"admin", "network", "multiwan"}, cbi("multiwan/multiwan"), _("Multi-WAN")) page.dependent = true entry({"admin", "network", "m...
apache-2.0
geanux/darkstar
scripts/globals/items/rarab_meatball.lua
35
1731
----------------------------------------- -- ID: 4507 -- Item: rarab_meatball -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 10 -- Strength 2 -- Vitality 2 -- Intelligence -1 -- Attack % 30 -- Attack Cap 20 -- Ranged ATT % 30 -- Ranged ATT Cap 20 ---------------------...
gpl-3.0
geanux/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Fortitude.lua
17
2477
----------------------------------- -- Area: The Garden of Ru'Hmet -- NPC: Jailer_of_Fortitude ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob...
gpl-3.0
ModusCreateOrg/libOpenMPT-ios
libopenmpt-0.2.6401/build/premake/premake.lua
1
13979
-- premake gets a tiny bit confused if the same project appears in multiple -- solutions in a single run. premake adds a bogus $projectname path to the -- intermediate objects directory in that case. work-around using multiple -- invocations of premake and a custom option to distinguish them. MPT_PREMAKE_VERSION = ""...
bsd-3-clause
geanux/darkstar
scripts/zones/Selbina/npcs/Porter_Moogle.lua
41
1520
----------------------------------- -- Area: Selbina -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 248 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scri...
gpl-3.0
geanux/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cg.lua
34
1075
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cg (Gate of Fire) -- @pos -332 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs")...
gpl-3.0
geanux/darkstar
scripts/globals/mobskills/Sickle_Slash.lua
12
1266
--------------------------------------------------- -- Sickle Slash -- Deals critical damage. Chance of critical hit varies with TP. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ---------...
gpl-3.0
geanux/darkstar
scripts/globals/spells/lightning_carol.lua
18
1517
----------------------------------------- -- Spell: Lightning Carol -- Increases lightning resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---...
gpl-3.0
geanux/darkstar
scripts/zones/Chateau_dOraguille/npcs/Halver.lua
18
8554
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Halver -- Involved in Mission 2-3, 3-3, 5-1, 5-2, 8-1 -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos 2 0.1 0.1 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; -------------...
gpl-3.0
semyon422/lua-mania
src/lmfw/loveio/input/navigation.lua
1
2657
local init = function(input, loveio) -------------------------------- local navigation = {} navigation.buttons = { ["up"] = "up", ["down"] = "down", ["left"] = "left", ["right"] = "right", ["activate"] = "return" } navigation.currentPosition = {1, 1} navigation.oldPosition = {0, 0} navigation.map = {{}} navigatio...
gpl-3.0
geanux/darkstar
scripts/globals/abilities/gallants_roll.lua
8
2243
----------------------------------- -- Ability: Gallant's Roll -- Reduces physical damage taken by party members within area of effect -- Optimal Job: Paladin -- Lucky Number: 3 -- Unlucky Number: 7 -- Level: 55 -- -- Die Roll |No PLD |With PLD -- -------- ------- ----------- -- 1 |4% |...
gpl-3.0
vvtam/vlc
share/lua/modules/common.lua
54
4986
--[[ This code is public domain (since it really isn't very interesting) ]]-- module("common",package.seeall) -- Iterate over a table in the keys' alphabetical order function pairs_sorted(t) local s = {} for k,_ in pairs(t) do table.insert(s,k) end table.sort(s) local i = 0 return function () i = ...
gpl-2.0
ArchiveTeam/wget-lua
lua-example/table_show.lua
1
3227
--[[ Author: Julio Manuel Fernandez-Diaz Date: January 12, 2007 (For Lua 5.1) Modified slightly by RiciLake to avoid the unnecessary table traversal in tablecount() Formats tables with cycles recursively to any depth. The output is returned as a string. References to other tables are shown as values....
gpl-3.0
Schwertspize/cuberite
Server/Plugins/HookNotify/HookNotify.lua
22
2130
-- HookNotify.lua --[[ Implements the entire plugin NOTE: This plugin is not meant for production servers. It is used mainly by developers to verify that things are working properly when implementing Cuberite features. Do not enable this plugin on production servers! This plugin logs a notification for each hook th...
apache-2.0
geanux/darkstar
scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua
36
1693
----------------------------------- -- Area: Port Bastok -- NPC: Zoby Quhyo -- Only sells when Bastok controlls Elshimo Lowlands -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bas...
gpl-3.0
geanux/darkstar
scripts/zones/Bastok_Mines/npcs/Conrad.lua
17
1874
----------------------------------- -- Area: Bastok Mines -- NPC: Conrad -- Outpost Teleporter NPC -- @pos 94.457 -0.375 -66.161 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requir...
gpl-3.0
yurenyong123/nodemcu-firmware
lua_modules/ds3231/ds3231-web.lua
84
1338
require('ds3231') port = 80 -- ESP-01 GPIO Mapping gpio0, gpio2 = 3, 4 days = { [1] = "Sunday", [2] = "Monday", [3] = "Tuesday", [4] = "Wednesday", [5] = "Thursday", [6] = "Friday", [7] = "Saturday" } months = { [1] = "January", [2] = "Febuary", [3] = "March", [4] = "Apri...
mit
famellad/oldschool-scroller
main-deps.lua
1
4791
-- TODO WHAT THE FUCK IS THIS FILE?????? -- Load libs require("libs.AnAL") -- Library for animations (is there another one?) -- Base classes require("game") -- Basic game handling require("static") -- Static functions and variables require("console") -- Game console TODO require("debug-print") -- Debu...
gpl-2.0
geanux/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Churacoco.lua
38
1049
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Churacoco -- Type: Standard NPC -- @zone: 94 -- @pos -76.139 -4.499 20.986 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ...
gpl-3.0
evilexecutable/ResourceKeeper
install/Lua/share/zerobranestudio/src/editor/keymap.lua
1
3165
local ide = ide --[[ Accelerator general syntax is any combination of "CTRL", "ALT" and "SHIFT" strings (case doesn't matter) separated by either '-' or '+' characters and followed by the accelerator itself. The accelerator may be any alphanumeric character, any function key (from F1 to F12) or one of the special char...
gpl-2.0
kling-igor/particle-designer
loveframes/objects/form.lua
14
7892
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".objects.form")) local lovefra...
mit
forward619/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res-feature.lua
46
3988
-- 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. cbimap = Map("asterisk", "asterisk", "") featuremap = cbimap:section(TypedSection, "featuremap", "Feature Key maps", "") featuremap.anonymous = true featurema...
apache-2.0
sroccaserra/object-lua
lib/objectlua/Traits/Trait.lua
2
2333
-- -- The Trait Extension -- local TraitComponent = require 'objectlua.Traits.TraitComponent' local TraitComposition = require 'objectlua.Traits.TraitComposition' local Class = require 'objectlua.Class' module(..., package.seeall) -- -- If traits must resolve conflicts, it's easier if they are not modif...
mit
PhearNet/scanner
bin/nmap-openshift/nselib/stdnse.lua
3
45011
--- -- Standard Nmap Scripting Engine functions. This module contains various handy -- functions that are too small to justify modules of their own. -- -- @copyright Same as Nmap--See https://nmap.org/book/man-legal.html -- @class module -- @name stdnse local _G = require "_G" local coroutine = require "coroutine" loc...
mit
girishramnani/Algorithm-Implementations
Lempel_Ziv_Welch/Lua/Yonaba/lzw.lua
24
1387
-- Lempel-Ziv Welch compression data algorithm implementation -- See : http://en.wikipedia.org/wiki/LZW local function lzw_encode(str) local w = '' local result = {} local dict_size = 256 -- Builds the dictionnary local dict = {} for i = 0, dict_size-1 do dict[string.char(i)] = i end local i = di...
mit
geanux/darkstar
scripts/globals/items/shining_trout.lua
18
1323
----------------------------------------- -- ID: 5791 -- Item: shining_trout -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
geanux/darkstar
scripts/zones/Yughott_Grotto/Zone.lua
28
1638
----------------------------------- -- -- Zone: Yughott_Grotto (142) -- ----------------------------------- package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Yughott_Grotto/TextIDs"); ----------------------------------- -- onInitialize...
gpl-3.0
girishramnani/Algorithm-Implementations
Binary_Search/Lua/Yonaba/binary_search_test.lua
53
1896
-- Tests for binary_search.lua local binary_search = require 'binary_search' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1...
mit
geanux/darkstar
scripts/globals/spells/yurin_ichi.lua
18
1597
----------------------------------------- -- Spell: Yurin: Ichi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
geanux/darkstar
scripts/zones/Windurst_Woods/npcs/Mushuhi-Metahi.lua
59
1052
----------------------------------- -- Area: Windurst Woods -- NPC: Mushuhi-Metahi -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Windurst_Woods/T...
gpl-3.0
geanux/darkstar
scripts/zones/Southern_San_dOria/npcs/Legata.lua
17
1999
----------------------------------- -- Area: Southern San d'Oria -- NPC: Legata -- Starts and Finishes Quest: Starting a Flame (R) -- @zone 230 -- @pos 82 0 116 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
famellad/oldschool-scroller
libs/shine/colorgradesimple.lua
8
1750
--[[ The MIT License (MIT) Copyright (c) 2015 Matthias Richter 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, m...
gpl-2.0
kaen/Zero-K
units/armbanth.lua
2
10085
unitDef = { unitname = [[armbanth]], name = [[Bantha]], description = [[Ranged Support Strider]], acceleration = 0.1047, brakeRate = 0.2212, buildCostEnergy = 10500, buildCostMetal = 10500, builder = false, ...
gpl-2.0
ModusCreateOrg/libOpenMPT-ios
libopenmpt-0.2.6401/build/premake/mpt-OpenMPT.lua
1
2879
project "OpenMPT" uuid "37FC32A4-8DDC-4A9C-A30C-62989DD8ACE9" language "C++" location ( "../../build/" .. _ACTION ) objdir "../../build/obj/OpenMPT" dofile "../../build/premake/premake-defaults-EXEGUI.lua" dofile "../../build/premake/premake-defaults.lua" filter { "configurations:*Shared" } targetnam...
bsd-3-clause
geanux/darkstar
scripts/globals/mobskills/Necropurge.lua
43
1080
--------------------------------------------- -- Necropurge -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------- function onMobSkillCheck(target,mob,skill) if(m...
gpl-3.0
geanux/darkstar
scripts/zones/Sauromugue_Champaign/npcs/Cavernous_Maw.lua
16
2985
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Cavernous Maw -- Teleports Players to Sauromugue_Champaign_S -- @pos 369 8 -227 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
evilexecutable/ResourceKeeper
install/Lua/share/lua/5.1/socket/http.lua
45
12330
----------------------------------------------------------------------------- -- HTTP/1.1 client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- ---------------------------------------------------------------------...
gpl-2.0
knyghtmare/The_Legend_Begins
lua/gui.lua
1
1818
--#textdomain wesnoth-The_Legend_Begins _ = wesnoth.textdomain "wesnoth-The_Legend_Begins" wlib = wesnoth.textdomain "wesnoth-lib" helper = wesnoth.require "lua/helper.lua" T = helper.set_wml_tag_metatable {} function wesnoth.wml_actions.character_descriptions_prompt(cfg) local main_window = { maximum_height = 400...
gpl-2.0
geanux/darkstar
scripts/globals/spells/jubaku_ichi.lua
18
1730
----------------------------------------- -- Spell: Jubaku: Ichi -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT. -- taken from paralyze ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); -------------------------...
gpl-3.0
mohammad43/MOHAMMAD
plugins/all.lua
264
4202
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0