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
TeoTwawki/darkstar
scripts/zones/Tahrongi_Canyon/IDs.lua
3
3349
----------------------------------- -- Area: Tahrongi_Canyon ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.TAHRONGI_CANYON] = { text = { CONQUEST_BASE = 0, -- Tallying conquest results... ...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/items/serving_of_salmon_roe.lua
11
1033
----------------------------------------- -- ID: 5218 -- Item: serving_of_salmon_roe -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 8 -- Magic 8 -- Dexterity 2 -- Mind -1 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Windurst_Waters/npcs/Naiko-Paneiko.lua
2
3307
----------------------------------- -- Area: Windurst Waters -- NPC: Naiko-Paneiko -- Involved In Quest: Making Headlines, Riding on the Clouds -- !pos -246 -5 -308 238 ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/mobskills/hex_palm.lua
11
1024
--------------------------------------------- -- Hex Palm -- Family: Qutrub -- Description: Steals HP from targets in front. -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Front cone -- Notes: Used only when wielding no weapon. --------------------------------------------- require("scripts/globals/m...
gpl-3.0
dxmgame/dxm-cocos
src/apps/lua-empty-test/Resources/src/cocos/cocos2d/OpenglConstants.lua
100
27127
if not gl then return end gl.GCCSO_SHADER_BINARY_FJ = 0x9260 gl._3DC_XY_AMD = 0x87fa gl._3DC_X_AMD = 0x87f9 gl.ACTIVE_ATTRIBUTES = 0x8b89 gl.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a gl.ACTIVE_PROGRAM_EXT = 0x8259 gl.ACTIVE_TEXTURE = 0x84e0 gl.ACTIVE_UNIFORMS = 0x8b86 gl.ACTIVE_UNIFORM_MAX_LENGTH = 0x8b87...
mit
oeuftete/wx-xword
scripts/download/gui/puzzle_grid.lua
1
14027
-- A Grid of puzzles -- ---------------------------------------------------------------------------- -- TextGrid -- The base for PuzzleGrid -- ---------------------------------------------------------------------------- --- A grid of text items. local function TextGrid(parent, x_gap, y_gap) local self = w...
gpl-3.0
cuit-zhaxin/quick-ng
quick/framework/cc/ui/UIStretch.lua
19
3491
--[[ Copyright (c) 2011-2014 chukong-inc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
mit
TeoTwawki/darkstar
scripts/zones/Tavnazian_Safehold/npcs/_0qa.lua
2
1499
----------------------------------- -- Area: Tavnazian Safehold -- NPC: walnut door -- Involved in mission 2-4 -- !pos 111 -41 41 26 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ----------------------------------- function onTrade(player,npc,trade) end;...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/spells/noctohelix.lua
12
2048
-------------------------------------- -- Spell: Noctohelix -- Deals dark damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") -------...
gpl-3.0
riidt/neox
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua
1
1220
-------------------------------- -- @module ParticleSystemQuad -- @extend ParticleSystem -- @parent_module cc -------------------------------- -- @function [parent=#ParticleSystemQuad] setDisplayFrame -- @param self -- @param #cc.SpriteFrame spriteframe -------------------------------- -- @function [parent=...
mit
TeoTwawki/darkstar
scripts/globals/items/jar_of_ground_wasabi.lua
11
1306
----------------------------------------- -- ID: 5164 -- Item: jar_of_ground_wasabi -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Charisma -1 ----------------------------------------- require("script...
gpl-3.0
AOSPA-L/android_external_skia
tools/lua/scrape.lua
145
2246
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
cuit-zhaxin/quick-ng
tools/cocos2d-console/plugins/plugin_luacompile/bin/jit/dis_x86.lua
61
29376
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h --------------------------------------------------------------------------...
mit
riidt/neox
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ActionTimelineCache.lua
7
1268
-------------------------------- -- @module ActionTimelineCache -- @parent_module ccs -------------------------------- -- @function [parent=#ActionTimelineCache] createAction -- @param self -- @param #string str -- @return ActionTimeline#ActionTimeline ret (return value: ccs.ActionTimeline) ----------------...
mit
TeoTwawki/darkstar
scripts/globals/items/chunk_of_sweet_lizard.lua
11
1113
----------------------------------------- -- ID: 5738 -- Item: chunk_of_sweet_lizard -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 5 -- MP 5 -- Dexterity 1 -- hHP +2 -- hMP +2 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --...
gpl-3.0
riidt/neox
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/GUIReader.lua
7
1210
-------------------------------- -- @module GUIReader -- @extend Ref -- @parent_module ccs -------------------------------- -- @function [parent=#GUIReader] setFilePath -- @param self -- @param #string str -------------------------------- -- @function [parent=#GUIReader] widgetFromJsonFile -- @param self -...
mit
riidt/neox
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua
1
3645
-------------------------------- -- @module DisplayManager -- @extend Ref -- @parent_module ccs -------------------------------- -- @function [parent=#DisplayManager] getDisplayRenderNode -- @param self -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- @function [parent=#D...
mit
ReWrite94/iLife
client/Classes/Hud/Handy/Apps/cHandyApp_Chat.lua
2
3181
-- ####################################### -- ## Project: HUD iLife ## -- ## For MTA: San Andreas ## -- ## Name: HandyApp_Chat.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc =...
mit
TeoTwawki/darkstar
scripts/globals/spells/suiton_san.lua
12
1401
----------------------------------------- -- Spell: Suiton: San -- Deals water damage to an enemy and lowers its resistance against lightning. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") ----------------------------------------- function onMagicCastingCh...
gpl-3.0
IoveSunny/DreamBox
feeds/luci/luci/luci/modules/niu/luasrc/model/cbi/niu/network/lan1.lua
11
5033
--[[ LuCI - Lua Configuration Interface Copyright 2009 Steven Barth <steven@midlink.org> Copyright 2009 Jo-Philipp Wich <xm@subsignal.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 http://w...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/weaponskills/guillotine.lua
10
2013
----------------------------------- -- Guillotine -- Scythe weapon skill -- Skill level: 200 -- Delivers a four-hit attack. Duration varies with TP. -- Modifiers: STR:25% MND:25% -- 100%TP 200%TP 300%TP -- 0.875 0.875 0.875 ----------------------------------- require("scripts/globals/status") require("sc...
gpl-3.0
WeakAuras/WeakAuras2
WeakAuras/RegionTypes/AuraBar.lua
1
41677
if not WeakAuras.IsLibsOK() then return end --- @type string, Private local AddonName, Private = ... local SharedMedia = LibStub("LibSharedMedia-3.0"); local L = WeakAuras.L; -- Default settings local default = { icon = false, desaturate = false, iconSource = -1, texture = "Blizzard", width = 200, height ...
gpl-2.0
hardikk/newfies-dialer
lua/callcenter_conf.lua
4
4806
-- -- Newfies-Dialer License -- http://www.newfies-dialer.org -- -- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this file, -- You can obtain one at http://mozilla.org/MPL/2.0/. -- -- Copyright (C) 2011-2013 Star2Billing S.L. -- --...
mpl-2.0
oeuftete/wx-xword
lua/luacurl/src/curldefs.lua
2
4220
-- Generate the following files for use with lua-curl.c: -- curlopt.h -- curl_netrcopt.h -- curl_authopt.h -- curl_ftpauthopt.h -- curl_ftpmethods.h -- curl_form.h -- curl_error.h if not curlinclude then curlinclude = 'curl/include' end local ident = '%s*([%a%d_][%a%d_]*)%s*' local num = '%s*(%d+)%s*' -- pattern is...
gpl-3.0
Elv13/awesome-1
tests/examples/beforeafter/container/place/fillvertical.lua
1
1277
--DOC_HIDE_ALL --DOC_GEN_IMAGE local first, second, lbl1, lbl2 = ... assert(first and second and lbl1 and lbl2) local wibox = require("wibox") local beautiful = require("beautiful") first.widget = wibox.widget { { { { text = "foo", widget = wibox.widget.te...
gpl-2.0
weizh/Monkey16
nn/myMixtureTable.lua
1
5785
---Found a bug in nn.MixtureTable. Got it fixed. local MixtureTable, parent = torch.class('nn.myMixtureTable', 'nn.Module') function MixtureTable:__init(dim) parent.__init(self) self.dim = dim self.size = torch.LongStorage() self.batchSize = 0 self.size2 = torch.LongStorage() self.backwardSetup = false ...
apache-2.0
wiremod/wire
lua/wire/stools/explosive.lua
8
4634
WireToolSetup.setCategory( "Physics" ) WireToolSetup.open( "explosive", "Explosive", "gmod_wire_explosive", nil, "Explosives" ) TOOL.ClientConVar = { model = "models/props_c17/oildrum001_explosive.mdl", effect = "Explosion", trigger = 1, -- Wire input value to cause the explosion damage = 200, -- Damage to infli...
apache-2.0
ReWrite94/iLife
client/Classes/Vehicle/cCarStart.lua
2
2655
-- ####################################### -- ## Project: HUD iLife ## -- ## For MTA: San Andreas ## -- ## Name: CarStart.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {};...
mit
981213/luci-1
applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/overview_tab.lua
6
9443
-- Copyright 2017-2018 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local fs = require("nixio.fs") local uci = require("luci.model.uci").cursor() local util = require("luci.util") local res_input = "/usr/share/dnscrypt-proxy/dnscrypt-resolver...
apache-2.0
TeoTwawki/darkstar
scripts/globals/spells/battlefield_elegy.lua
12
1788
----------------------------------------- -- Spell: Battlefield Elegy ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster, target, spell) return 0 en...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/The_Celestial_Nexus/mobs/Orbital.lua
3
1719
----------------------------------- -- Area: The Celestial Nexus -- NPC: Orbital -- Zilart Mission 16 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- function onMobInitialize(mob)...
gpl-3.0
dxmgame/dxm-cocos
src/apps/lua-tests/Resources/src/cocos/framework/extends/UIPageView.lua
57
1384
--[[ Copyright (c) 2011-2014 chukong-inc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
mit
rgburke/wed
wedruntime/lua/lexers/ps.lua
5
1630
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Postscript LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'ps'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local comm...
gpl-2.0
cohadar/love-graphics-experiments
hsv.lua
1
4220
--- @module HSV local hsv = {} local rgb = require "rgb" require "color" ------------------------------------------------------------------------------- local matrix = {} ------------------------------------------------------------------------------- local function sortByH( a, b ) return a.h < b.h end ------------...
mit
X-Coder/SBEP-Weapons
lua/autorun/sbep_hangar_lists.lua
1
10055
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /// HANGARS ...
apache-2.0
wiremod/wire
lua/wire/client/wire_filebrowser.lua
3
18893
-- A file browser panel, used by the sound browser. -- Can be used for any file type, recommend for huge file numbers. -- Made by Grocel. local PANEL = {} AccessorFunc( PANEL, "m_strRootName", "RootName" ) -- name of the root Root AccessorFunc( PANEL, "m_strRootPath", "RootPath" ) -- path of the root Root Acces...
apache-2.0
kooiot/GoIoT
shared/util/uuid.lua
6
7876
--------------------------------------------------------------------------------------- -- Copyright 2012 Rackspace (original), 2013 Thijs Schreijer (modifications) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtai...
gpl-2.0
letoram/gridle
gridle/customview/list.lua
1
5673
-- -- simple, flat, list + icons view -- -- expected members: -- hide(self) -- hide the navigation graphics (pre- internal launch) -- -- show(self) -- show the navigation graphics (post- internal launch) -- -- create (self, constraints) -- called once on load -- -- update_list(self, table) -- called whenever th...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Western_Adoulin/npcs/Pagnelle.lua
2
4121
----------------------------------- -- Area: Western Adoulin -- NPC: Pagnelle -- Type: Standard NPC and Quest NPC -- Starts, Involved with, and Finishes Quest: 'Raptor Rapture' -- !pos -8 0 -100 256 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/keyitems"); local ID = r...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/The_Boyahda_Tree/IDs.lua
2
3420
----------------------------------- -- Area: The_Boyahda_Tree ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.THE_BOYAHDA_TREE] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come ...
gpl-3.0
rowellx68/nodemcu-firmware-custom
lua_modules/http/http.lua
89
6624
------------------------------------------------------------------------------ -- HTTP server module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> ------------------------------------------------------------------------------ local collectgarbage, tonumber, tostring = col...
mit
TeoTwawki/darkstar
scripts/zones/Vunkerl_Inlet_[S]/Zone.lua
12
1428
----------------------------------- -- -- Zone: Vunkerl_Inlet_[S] (83) -- ----------------------------------- local ID = require("scripts/zones/Vunkerl_Inlet_[S]/IDs"); require("scripts/globals/weather"); require("scripts/globals/status"); ----------------------------------- function onInitialize(zone) end; function ...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/items/angler_stewpot.lua
11
1608
----------------------------------------- -- ID: 5611 -- Item: Angler's Stewpot -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% (cap 200) -- MP +10 -- HP Recoverd while healing 5 -- MP Recovered while healing 1 -- Accuracy +15% Cap 15 -- Ranged Accuracy 15% Ca...
gpl-3.0
ThisIsRedonkulous/HoneyBee
Angel-3.2/Code/Tools/BuildScripts/angel_build.lua
4
11821
------------------------------------------------------------------------------ -- Copyright (C) 2008-2013, Shane Liesegang -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redist...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/items/porcupine_pie.lua
11
1808
----------------------------------------- -- ID: 5156 -- Item: porcupine_pie -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 55 -- Strength 6 -- Vitality 2 -- Intelligence -3 -- Mind 3 -- HP recovered while healing 2 -- MP recovered while healing 2 -- Accuracy 5 -- Attack % 18 (cap 95) ...
gpl-3.0
hfjgjfg/dark5
plugins/seedflood.lua
7
3750
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 4 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
Alwnikrotikz/xsd-tools
src/TemplateEngine/stringbuffer.lua
3
1768
--[[ Copyright: (c)2012 Ardavon Falls This file is part of xsd-tools. xsd-tools 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
WeakAuras/WeakAuras2
WeakAurasOptions/RegionOptions/Group.lua
1
23260
if not WeakAuras.IsLibsOK() then return end local AddonName, OptionsPrivate = ... local L = WeakAuras.L; -- Calculate bounding box local function getRect(data) -- Temp variables local blx, bly, trx, try; blx, bly = data.xOffset or 0, data.yOffset or 0; if (data.width == nil or data.height == nil or data.regi...
gpl-2.0
dxmgame/dxm-cocos
src/apps/lua-tests/Resources/src/NewAudioEngineTest/NewAudioEngineTest.lua
11
20448
local SliderEx = class("SliderEx", function() local slider = cc.Sprite:create("cocosui/sliderTrack.png") return slider end) SliderEx.TouchEventDown = 0 SliderEx.TouchEventMove = 1 SliderEx.TouchEventUp = 2 SliderEx.TouchEventCancel = 3 function SliderEx:create() local slider = SliderEx:new() slider:re...
mit
detect00r/zed-spam
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
mentor81/k2hV2
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
Death15/SuperSwatch
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
wiremod/wire
lua/wire/client/e2_viewrequest_menu.lua
3
5491
local function AnswerRequest(accepted, initiator, chip) net.Start("WireExpression2_AnswerRequest") net.WriteUInt(accepted, 8) net.WriteEntity(initiator) net.WriteEntity(chip) net.SendToServer() end local viewRequests = {} -- Validates a single request using the initiator and chip (very similar to the server s...
apache-2.0
cuit-zhaxin/quick-ng
quick/framework/filter.lua
20
3489
--- create some filters to build a FilteredSprite -- @author zrong(zengrong.net) -- Creation 2014-03-31 -------------------------------- -- @module filter --[[-- 滤镜功能 ]] local filter = {} local FILTERS = { -- colors GRAY = {cc.GrayFilter}, -- {r 0.299, g 0.587, b 0.114, a 0.0} or no parameters RGB = {cc...
mit
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/Button.lua
3
9858
-------------------------------- -- @module Button -- @extend Widget -- @parent_module ccui -------------------------------- -- -- @function [parent=#Button] getNormalTextureSize -- @param self -- @return size_table#size_table ret (return value: size_table) -------------------------------- -- Query the but...
mit
jozeff3/devill
plugins/t7.lua
1
1771
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ #devil_bot @jozef3 please join to Channel Oscar Team @fr300t ▀▄ ▄▀ ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀ --]] do local function o...
gpl-2.0
Maxsteam/dddlll
plugins/id.lua
13
2706
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Chateau_dOraguille/npcs/_6h1.lua
2
1859
----------------------------------- -- Area: Chateau d'Oraguille -- Door: Prince Regent's Rm -- Starts and Finishes Quest: Prelude of Black and White (Start), Pieuje's Decision (Start) -- !pos -37 -3 31 233 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); requi...
gpl-3.0
981213/luci-1
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua
18
2897
-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.nut",package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) local voltages = { title = "%H: Voltages on UPS \"%pi\"", vlabel = "V", number_format = "%5.1lfV", data = { instances = { ...
apache-2.0
dani-sj/dadanod
plugins/info.lua
6
9167
--[[ # # Show users information in groups # # author: Arian < @Dragon_Born > # our channel: @GPMod # Version: 2016-04-02 # # Features added: # -- setrank on reply # -- get users info with their IDs and @username # ]] do local Arian = 99530862 --put your id here(BOT OWNER ID) local function setrank(msg, name, value)...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/mobskills/glacier_splitter.lua
11
1138
--------------------------------------------- -- Glacier Splitter -- -- Description: Cleaves into targets in a fan-shaped area. Additional effect: Paralyze -- Type: Physical -- Utsusemi/Blink absorb: 1-3 shadows -- Range: Unknown cone -- Notes: Only used the Aern wielding a sword (RDM, DRK, and PLD). ------------...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Grauberg_[S]/IDs.lua
3
1636
----------------------------------- -- Area: Grauberg_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.GRAUBERG_S] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back a...
gpl-3.0
ReWrite94/iLife
client/Classes/Firework/Rocket/Types/cRomanCandleRocket.lua
2
3035
-- -- Created by IntelliJ IDEA. -- User: Noneatme -- Date: 26.12.2014 -- Time: 20:27 -- Project: MTA iLife -- cRomanCandleRocket = {}; --[[ ]] -- /////////////////////////////// -- ///// New ////// -- ///// Returns: Object ////// -- /////////////////////////////// function cRomanCandleRocket:new(...) local ob...
mit
dxmgame/dxm-cocos
src/apps/lua-tests/Resources/src/XMLHttpRequestTest/XMLHttpRequestTest.lua
9
6845
require("json") local function XMLHttpRequestLayer() local layer = cc.Layer:create() local winSize = cc.Director:getInstance():getWinSize() local margin = 40 local space = 35 local function init() local label = cc.Label:createWithTTF("XML Http Request Test", s_arialPath, 28) label...
mit
TeoTwawki/darkstar
scripts/globals/weaponskills/rudras_storm.lua
10
1927
----------------------------------- -- Rudra's Storm -- Dagger weapon skill -- Skill level: N/A -- Deals triple damage and weighs target down (duration: 60s). Damage varies with TP. -- Aligned with the Aqua Gorget, Snow Gorget & Shadow Gorget. -- Aligned with the Aqua Belt, Snow Belt & Shadow Belt. -- Element: None -- ...
gpl-3.0
T4Larson/OpenTomb
scripts/gameflow/TR4.lua
1
8046
-- Gameflow Script for OpenTomb -- Game: Tomb Raider: IV -- Version: 1.0 -- By: Gh0stBlade --------------------------------------------------------------------------------------------------------------------------------------------------------- gameflow_paths[Game.IV].numlevels = 38; -----------------------...
lgpl-3.0
celophi/melia
system/scripts/npc/dungeon/d_thorn_20.lua
1
4850
----- Corrupted Altar ----- ----- Enter ----- addnpc(153019, "ETC_20150323_009886", "d_thorn_20", 2529, 489, -1250, 31, "npc_ETC_20150323_009886") function npc_ETC_20150323_009886() msg("THORN_MQ06MAGIC_UNHIDE") end ----- Corrupted Altar ----- ----- Enter ----- addnpc(153019, "ETC_20150323_009886", "d_thorn_20", 252...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Port_Jeuno/npcs/Joachim.lua
2
3666
----------------------------------- -- Area: Port Jeuno -- NPC: Joachim -- !pos -52.844 0.000 -9.978 246 -- CS/Event ID's: -- 324 = on zoning in -- 325 = 1st chat, get 1st stone, -- completes "A Journey Begins" -- 326 = Limited Menu -- 327 = CS after "The Truth Beckons" completed. -- 328 = Full Menu -- 331 = CS after ...
gpl-3.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/linux/logging-receiver_cassandra_custom/dbfb3c09deb4713d0e476c4c6ad403fb.lua
1
1175
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
ethic-rush/landgrab
chatcommands.lua
1
8845
minetest.log('action','Loading Land Grab chat commands') if (worldedit ~= nil) then function chatcommand_we_claim(name, pos) -- -450 was landgrab.dig_limit if pos.y >= -450 then local res, err = landgrab.api.add_claim(pos, name, "claimcmd") if err ~= nil or res == nil then minetest.log("verbose", "[landg...
gpl-3.0
Kurios/mudlet-dev
src/lua/mudlet-lua/lua/geyser/GeyserSetConstraints.lua
1
5617
-------------------------------------- -- -- -- The Geyser Layout Manager by guy -- -- -- -------------------------------------- --- This function sets the constraints of a window. -- It doesn't mess with anything other than positioning data. It...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/items/magma_steak.lua
11
1298
----------------------------------------- -- ID: 6071 -- Item: Magma Steak -- Food Effect: 180 Min, All Races ----------------------------------------- -- Strength +8 -- Attack +23% Cap 180 -- Ranged Attack +23% Cap 180 -- Vermin Killer +5 ----------------------------------------- require("scripts/globals/status") requ...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/treasure.lua
2
64896
------------------------------------ -- Treasure Chests and Coffers -- http://ffxiclopedia.wikia.com/wiki/Picking_your_Coffers_and_Chests -- http://ffxiclopedia.wikia.com/wiki/Treasure_Chest_and_Coffer_Guide ------------------------------------ require("scripts/globals/keyitems") require("scripts/globals/npc_util") req...
gpl-3.0
cuit-zhaxin/quick-ng
external/lua/luajit/luajit-2.1/src/jit/bc.lua
78
5620
---------------------------------------------------------------------------- -- LuaJIT bytecode listing module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
mit
Lymia/MultiverseModManager
src/patch/ui/hooks/frontend/modsmenu/modsmenu_enablempmenu.lua
3
3309
-- Copyright (c) 2015-2017 Lymia Alusyia <lymia@lymiahugs.com> -- -- 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, co...
mit
ReWrite94/iLife
server/Classes/Faction/Mechanic/cMechanicFaction.lua
2
9017
-- ####################################### -- ## Project: MTA iLife ## -- ## Name: MechanicFaction.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local c...
mit
jhegg/wow-tome-of-illusions-check
TomeOfIllusionsCheck/TomeOfIllusionsCheck.lua
1
5382
local addonName, _ = ... TomeOfIllusionsCheck = { name = addonName, version = GetAddOnMetadata(addonName, "Version"), author = GetAddOnMetadata(addonName, "Author"), missingItemData = {}, tomesToQuests = { [138795] = 42879, -- Tome of Illusions: Draenor [138793] = 42877, -- Tome of Illusions: Panda...
mit
amir1213/shield
plugins/linkpv.lua
107
31031
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Windurst_Waters/npcs/Mokyokyo.lua
2
2824
----------------------------------- -- Area: Windurst Waters -- NPC: Mokyoko -- Starts Windurst Missions -- !pos -55 -8 227 238 ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/k...
gpl-3.0
notcake/gcad
lua/gcad/ui/events/imouseeventsink.lua
1
2395
local self = {} GCAD.UI.IMouseEventSink = GCAD.MakeConstructor (self, GCAD.UI.IMouseEventHandler) function self:ctor () self.MouseEventSource = nil end function self:dtor () self:SetMouseEventSource (nil) end function self:SetMouseEventSource (mouseEventSource) if self.MouseEventSource == mouseEventSource then re...
gpl-3.0
daranable/Orikum
gamemode/camera/fixed.lua
1
1180
-- --------- BEGIN LICENSE NOTICE --------- -- Orikum - a tower defense gamemode for Garry's Mod -- Copyright (C) 2011 Maltera Dev Team -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Affero General Public License as -- published by the Free Software Foundati...
agpl-3.0
phoneguy/ardupilot
Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua
96
29666
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
celophi/melia
system/scripts/npc/dungeon/d_cmine_66_1.lua
1
1421
----- Miner Box ----- ----- npcselectdialog.ies | ClassName: ----- ----- Dialog ----- addnpc(147323, "ETC_20151224_019589", "d_cmine_66_1", -532, 490, -1458, 223, "npc_ETC_20151224_019589") function npc_ETC_20151224_019589() msg("CMINE66_1_DAILY_BOX") end ----- Miner Box ----- ----- npcselectdialog.ies | ClassName:...
gpl-3.0
zxteloiv/docomo-qa
lua/geo/searcher/mongo.lua
1
1376
local M_ = {} local json = require("rapidjson") local search_baidu_by_name = function (name) local res = ngx.location.capture('/api/external/poi_mongo', { method = ngx.HTTP_POST, args = { dbname = "poi_db", colname = "bd_search", limit = 3, }, b...
apache-2.0
TeoTwawki/darkstar
scripts/zones/Southern_San_dOria/npcs/Andecia.lua
2
2730
----------------------------------- -- Area: Northern San d'Oria -- NPC: Andecia -- Starts and Finishes Quest: Grave Concerns -- !pos 167 0 45 230 ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/settings"); require("scripts/globals/quests"); requ...
gpl-3.0
LuaDist2/lua-log
lua/log/writer/async/server/lane.lua
4
1732
local on_lane_create = function() local loadstring = loadstring or load local lua_init = os.getenv("lua_init") if lua_init and #lua_init > 0 then if lua_init:sub(1,1) == '@' then dofile(lua_init:sub(2)) else assert(loadstring(lua_init))() end end end local LOG = require "log" local lanes = ...
mit
rgburke/wed
wedruntime/lua/lexers/java.lua
5
2426
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Java LPeg lexer. -- Modified by Brian Schott. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'java'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1)...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/spells/bluemagic/sound_blast.lua
12
1314
----------------------------------------- -- Spell: Sound Blast -- Lowers Intelligence of enemies within range. -- Spell cost: 25 MP -- Monster Type: Birds -- Spell Type: Magical (Fire) -- Blue Magic Points: 1 -- Stat Bonus: None -- Level: 32 -- Casting Time: 4 seconds -- Recast Time: 30 seconds -- Magic Bursts on: Liq...
gpl-3.0
AlexWan/OsEngine
project/OsEngine/bin/Debug/lua/QuikSharp.lua
4
4507
--~ Copyright (c) 2014-2020 QUIKSharp Authors https://github.com/finsight/QUIKSharp/blob/master/AUTHORS.md. All rights reserved. --~ Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. -- is running from Quik function is_quik() if getScriptPath then return t...
apache-2.0
TeoTwawki/darkstar
scripts/zones/Ranguemont_Pass/npcs/Waters_of_Oblivion.lua
2
1444
----------------------------------- -- Area: Ranguemont Pass -- NPC: Waters of Oblivion -- Finish Quest: Painful Memory (BARD AF1) -- !pos -284 -45 210 166 ----------------------------------- local ID = require("scripts/zones/Ranguemont_Pass/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/npc_util...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/weaponskills/sniper_shot.lua
10
1513
----------------------------------- -- Sniper Shot -- Marksmanship weapon skill -- Skill Level: 80 -- Lowers enemy's INT. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: AGI:70% -- 100%TP 200%TP ...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Northern_San_dOria/npcs/Charlaimagnat.lua
2
2505
----------------------------------- -- Area: Northern San d'Oria -- NPC: Charlaimagnat -- Standard Info NPC ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/keyitems"); local ID = require("scripts/zones/Northern_San_dOria/IDs"); ------...
gpl-3.0
wiremod/wire
lua/entities/gmod_wire_trigger.lua
8
3192
-- Wire Trigger created by mitterdoo AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Trigger" ENT.RenderGroup = RENDERGROUP_BOTH ENT.WireDebugName = "Trigger" function ENT:SetupDataTables() self:NetworkVar( "Vector", 0, "TriggerSize" ) self:NetworkVar( "Vector", 1, "TriggerOffset" ...
apache-2.0
mhei/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua
79
1251
local function scrape() -- documetation about nf_conntrack: -- https://www.frozentux.net/iptables-tutorial/chunkyhtml/x1309.html nat_metric = metric("node_nat_traffic", "gauge" ) for e in io.lines("/proc/net/nf_conntrack") do -- output(string.format("%s\n",e )) local fields = space_split(e) local ...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/weaponskillids.lua
2
9509
------------------------------------ -- WEAPONSKILL IDs -- -- Contains readable values for Weaponskill IDs ------------------------------------ dsp = dsp or {} ------------------------------------ -- Weaponskill IDs ------------------------------------ dsp.weaponskill = { ------------------------------------ ...
gpl-3.0
ChrisNolan/InspectorGadgetzan
libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua
68
2216
--[[----------------------------------------------------------------------------- Heading Widget -------------------------------------------------------------------------------]] local Type, Version = "Heading", 20 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(Type) or...
mit
WeakAuras/WeakAuras2
WeakAuras/Init.lua
1
14597
--- @type string, Private local AddonName, Private = ... WeakAuras = {} WeakAuras.L = {} Private.frames = {} --- @alias uid string --- @alias auraId string --- @class state --- @field id auraId --- @field cloneId string? --- @alias non_transmissable_field table<string, non_transmissable_field|boolean> --- @class mu...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Meriphataud_Mountains_[S]/npcs/Indescript_Markings.lua
2
1029
---------------------------------- -- Area: Meriphataud_Mountains_[S] -- NPC: Indescript Markings -- Type: Quest -- !pos -389 -9 92 97 ----------------------------------- local ID = require("scripts/zones/Meriphataud_Mountains_[S]/IDs") require("scripts/globals/keyitems") ----------------------------------- function ...
gpl-3.0
GoogleCloudPlatform/ops-agent
confgenerator/testdata/valid/linux/logging-receiver_tomcat_custom/d90b0c3c5b70df505efaea59205ba41f.lua
1
1174
function process(tag, timestamp, record) local __field_0 = (function() return record["agent.googleapis.com/log_file_path"] end)(); local __field_1 = (function() if record["logging.googleapis.com/labels"] == nil then return nil end return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"] e...
apache-2.0
yangxuan0261/Testmmo-server
3rd/lua-cjson/tests/test.lua
32
17977
#!/usr/bin/env lua -- Lua CJSON tests -- -- Mark Pulford <mark@kyne.com.au> -- -- Note: The output of this script is easier to read with "less -S" local json = require "cjson" local json_safe = require "cjson.safe" local util = require "cjson.util" local function gen_raw_octets() local chars = {} for i = 0, ...
mit