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
yangboz/petulant-octo-dubstep
HP_ID_Print_App/cocos2d/external/lua/luajit/src/src/jit/bcsave.lua
78
18123
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
mit
magnum357i/Magnum-s-Aegisub-Scripts
automation/autoload/mag.format_lines.lua
1
32704
function lang_switch_keys(lang) local in_lang = {} local langs = { [1] = {lang_key = "tr", lang_name = "Türkçe", script_name = "Satır Biçimlendir", sub_menu = "Satır/Biçimlendir"}, [2] = {lang_key = "en", lang_name = "English", script_name = "Format Lines", sub_menu = "Lines/Format"} } local lang_list ...
mit
sundream/gamesrv
script/card/neutral/card162006.lua
1
2561
--<<card 导表开始>> local super = require "script.card.init" ccard162006 = class("ccard162006",super,{ sid = 162006, race = 6, name = "鱼人杀人蟹", type = 202, magic_immune = 0, assault = 0, sneer = 0, atkcnt = 1, shield = 0, warcry = 1, dieeffect = 0, sneak = 0, magic_hurt_a...
gpl-2.0
ryangmor/bsoeted
plugins/anti_spam.lua
102
3744
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- 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
sundream/gamesrv
script/card/neutral/card164020.lua
1
2483
--<<card 导表开始>> local super = require "script.card.init" ccard164020 = class("ccard164020",super,{ sid = 164020, race = 6, name = "艾露恩的女祭司", type = 201, magic_immune = 0, assault = 0, sneer = 0, atkcnt = 1, shield = 0, warcry = 1, dieeffect = 0, sneak = 0, magic_hurt...
gpl-2.0
libremesh/lime-packages
packages/pirania/tests/test_cgi_handlers.lua
1
7310
local test_utils = require 'tests.utils' local config = require('voucher.config') local vouchera = require('voucher.vouchera') local handlers = require('voucher.cgi_handlers') local utils = require('voucher.utils') local rfa_handlers = require('read_for_access.cgi_handlers') local read_for_access = require('read_for_ac...
agpl-3.0
sundream/gamesrv
script/card/fire/card244005.lua
1
2297
--<<card 导表开始>> local super = require "script.card.fire.card144005" ccard244005 = class("ccard244005",super,{ sid = 244005, race = 4, name = "爆炸陷阱", type = 102, magic_immune = 0, assault = 0, sneer = 0, atkcnt = 0, shield = 0, warcry = 0, dieeffect = 0, sneak = 0, ma...
gpl-2.0
digitalloggers/nodemcu-firmware
lua_examples/http_server.lua
53
3696
-- -- Simple NodeMCU web server (done is a not so nodeie fashion :-) -- -- Highly modified by Bruce Meacham, based on work by Scott Beasley 2015 -- Open and free to change and use. Enjoy. [Beasley/Meacham 2015] -- -- Meacham Update: I streamlined/improved the parsing to focus on simple HTTP GET request and their simple...
mit
ealegol/kolla-newton
docker/heka/plugins/decoders/os_rabbitmq_log.lua
6
2340
-- Copyright 2015-2016 Mirantis, 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 -- -- Unless required by applicable law or agree...
apache-2.0
libremesh/lime-packages
packages/first-boot-wizard/files/usr/lib/lua/firstbootwizard/functools.lua
1
4610
local functools = {} -- Lua implementation of the curry function -- Developed by tinylittlelife.org -- released under the WTFPL (http://sam.zoy.org/wtfpl/) -- curry(func, num_args) : take a function requiring a tuple for num_args arguments -- and turn it into a series of 1-argument functions -- e.g.: you...
agpl-3.0
ElectricPrism/stargus
scripts/zerg/unit-zerg-zergling.lua
1
2861
-- -- unit-zerg-zergling -- DefineAnimations("animations-zerg-zergling-death", { Death = { "unbreakable begin", "frame 0", "wait 50", "frame 1", "wait 50", "frame 2", "wait 50", "frame 3", "wait 50", "frame 4", "wait 50", "unbreakable end", "wait 1", }, }) DefineUnitType("unit-zerg-zergling-deat...
gpl-2.0
sundream/gamesrv
script/card/neutral/card165024.lua
1
2659
--<<card 导表开始>> local super = require "script.card.init" ccard165024 = class("ccard165024",super,{ sid = 165024, race = 6, name = "鱼人猎潮者", type = 203, magic_immune = 0, assault = 0, sneer = 0, atkcnt = 1, shield = 0, warcry = 1, dieeffect = 0, sneak = 0, magic_hurt_a...
gpl-2.0
nphilipp/ardour
scripts/bounce_replace.lua
2
2227
ardour { ["type"] = "EditorAction", name = "Bounce+Replace Regions", license = "MIT", author = "Ardour Team", description = [[Bounce selected regions with processing and replace region]] } function factory (params) return function () -- there is currently no direct way to find the track -- corresponding ...
gpl-2.0
sdgdsffdsfff/CarrotFantasy
ThemeSelectScene.lua
2
4548
local function createThemeSelectLayer() local array = {} for i = 1, 3 do local theme = cc.Sprite:createWithSpriteFrameName(string.format("theme_pack0%d.png", i)) theme:setPosition(center) local themeCN = cc.Sprite:createWithSpriteFrameName(string.format("theme_pack0%d_CN.png", i)) ...
mit
dvr333/Zero-K
effects/nuke_600.lua
24
15878
-- nuke_600_landcloud_pillar -- nuke_600_landcloud_topcap -- nuke_600_seacloud_cap -- nuke_600_landcloud -- nuke_600_seacloud_topcap -- nuke_600_landcloud_ring -- nuke_600_seacloud -- nuke_600_landcloud_cap -- nuke_600 -- nuke_600_seacloud_ring -- nuke_600_seacloud_pillar return { ["nuke_600_landcloud_pillar"] = { ...
gpl-2.0
xicalango/ld34
lib/util.lua
1
1756
-- utils.lua 2013-2015 <weldale@gmail.com> utils = {} function utils.intersectRect( r1x1, r1y1, r1x2, r1y2, r2x1, r2y1, r2x2, r2y2 ) return not ( r1x2 < r2x1 or r2x2 < r1x1 or r2y1 > r1y2 or r1y1 > r2y2) end function utils.signum( x ) if x < 0 then return -1 elseif x > 0 then return ...
mit
RyUkApples/DarkRP
mysql-async/lib/MySQL.lua
1
1812
MySQL = setmetatable({}, MySQL) MySQL.__index = MySQL MySQL.Utils = setmetatable({}, MySQL) MySQL.Async = setmetatable({}, MySQL) MySQL.Sync = setmetatable({}, MySQL) MySQL.Config = setmetatable({}, MySQL) require "resources/mysql-async/lib/config" require "resources/mysql-async/lib/Logger" require "resources/mysql-as...
mit
dvr333/Zero-K
units/spiderriot.lua
4
3320
return { spiderriot = { unitname = [[spiderriot]], name = [[Redback]], description = [[Riot Spider]], acceleration = 0.66, brakeRate = 3.96, buildCostMetal = 240, buildPic = [[spiderriot.png]], canGuard ...
gpl-2.0
m241dan/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Cattah_Pamjah.lua
13
1065
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Cattah Pamjah -- Type: Title Changer -- @zone: 94 -- @pos -13.564 -2 10.673 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
hylthink/Sample_Lua
frameworks/cocos2d-x/tests/lua-tests/src/NodeTest/NodeTest.lua
10
21008
local kTagSprite1 = 1 local kTagSprite2 = 2 local kTagSprite3 = 3 local kTagSlider = 4 local s = cc.Director:getInstance():getWinSize() local scheduler = cc.Director:getInstance():getScheduler() local function getBaseLayer() local layer = cc.Layer:create() Helper.initWithLayer(layer) return layer end ------...
mit
rollcat/darkside
tests/test_interface.lua
1
1504
local class = require "class" local interface = require "interface" local testing = require "testing" local t = {} function t:test_any() local IAny = interface {} IAny:satisfy({}) local Movie = class {} IAny:satisfy(Movie) end function t:test_one_method() local ISayer = interface { "...
mit
dvr333/Zero-K
LuaUI/Widgets/dbg_dcicon.lua
8
4356
-- $Id: dbg_dcicon.lua 3171 2008-11-06 09:06:29Z det $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- Copyright (C) 2007. -- Licensed under the terms of the GNU GPL, v2 or later. -- ---------------...
gpl-2.0
m241dan/darkstar
scripts/zones/The_Boyahda_Tree/Zone.lua
13
1901
----------------------------------- -- -- Zone: The_Boyahda_Tree (153) -- ----------------------------------- package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/The_Boyahda_Tree...
gpl-3.0
santssoft/darkstar
scripts/globals/items/dhalmel_pie_+1.lua
11
1615
----------------------------------------- -- ID: 4322 -- Item: dhalmel_pie_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 25 -- Strength 4 -- Agility 2 -- Vitality 1 -- Intelligence -2 -- Mind 1 -- Attack % 25 -- Attack Cap 50 -- Ranged ATT % 25 -- Ranged ATT Cap 50 ------------...
gpl-3.0
dvr333/Zero-K
LuaUI/Widgets/unit_start_state.lua
1
46791
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Unit Start State", desc = "Configurable starting unit states for units", author = "Goog...
gpl-2.0
m241dan/darkstar
scripts/globals/items/serving_of_flint_caviar.lua
18
1422
----------------------------------------- -- ID: 4276 -- Item: serving_of_flint_caviar -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Magic 10 -- Dexterity 4 -- Mind -1 -- Charisma 4 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
sajjadsad/sm
data/config.lua
2
1382
do local _ = { about_text = "! Masters Bot 2.1v 🔰\n\nThe advanced administration bot based on Tg-Cli. 🌐\n\nIt was built on a platform TeleSeed after it has been modified.🔧🌐\n\nhttps://github.com/MastersDev\n\nProgrammer🔰\n@iDev1\n\nSpecial thanks to😋❤️\nTeleSeed Team\nMico \nMouamle\nOscar\n\nOur channels 😍👍�...
gpl-2.0
dvr333/Zero-K
LuaUI/Widgets/api_font_cache.lua
6
2147
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Font Cache", desc = "Cache for Chili fonts.", author = "GoogleFrog", date = "8 June 202...
gpl-2.0
plural/keys
Build/VSCOKeys.lrplugin/halfway_server/socket/ftp.lua
144
9120
----------------------------------------------------------------------------- -- FTP support for the Lua language -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: ftp.lua,v 1.45 2007/07/11 19:25:47 diego Exp $ ----------------------------------------------------------------------------- -------------------...
gpl-2.0
electromatter/cuberite
Server/Plugins/APIDump/Hooks/OnKilling.lua
36
1190
return { HOOK_KILLING = { CalledWhen = "A player or a mob is dying.", DefaultFnName = "OnKilling", -- also used as pagename Desc = [[ This hook is called whenever a {{cPawn|pawn}}'s (a player's or a mob's) health reaches zero. This means that the pawn is about to be killed, unless a plugin "revives" them...
apache-2.0
santssoft/darkstar
scripts/globals/abilities/aspir_samba_ii.lua
12
1340
----------------------------------- -- Ability: Aspir Samba II -- Inflicts the next target you strike with Aspir daze, allowing all those engaged in battle with it to drain its MP. -- Obtained: Dancer Level 60 -- Recast Time: 1:00 -- TP Cost: 25% -- Duration: 1:30 ----------------------------------- require("scripts/gl...
gpl-3.0
palmettos/test
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
37
5651
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 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...
apache-2.0
CapsAdmin/pac3
lua/pac3/libraries/webaudio/urlogg.lua
1
1443
-- made by Morten and CapsAdmin pac.webaudio = pac.webaudio or {} local webaudio = pac.webaudio webaudio.Debug = 0 webaudio.SampleRate = nil webaudio.SpeedOfSound = 340.29 -- metres per second function webaudio.DebugPrint(str, ...) if webaudio.Debug == 0 then return end if webaudio.Debug >= 1 then ...
gpl-3.0
electromatter/cuberite
lib/tolua++/src/bin/lua/compat.lua
23
4095
------------------------------------------------------------------- -- Real globals -- _ALERT -- _ERRORMESSAGE -- _VERSION -- _G -- assert -- error -- metatable -- next -- print -- require -- tonumber -- tostring -- type -- unpack ------------------------------------------------------------------- -- collectgarbage --...
apache-2.0
Telebot1/Telewild
plugins/translate.lua
6
1636
--[[ -- 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
m241dan/darkstar
scripts/zones/Periqia/IDs.lua
49
3842
Periqia = { text = { -- General Texts ITEM_CANNOT_BE_OBTAINED = 6378, -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6381, -- Obtained: <item> GIL_OBTAINED = 6384, -- Obtained <number> gil KEYITEM_OBTAINED = 6384, -- Obtaine...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lrexlib/test/emacs_sets.lua
8
1443
-- See Copyright Notice in the file LICENSE local luatest = require "luatest" local N = luatest.NT local function norm(a) return a==nil and N or a end local function set_f_gmatch (lib, flg) -- gmatch (s, p, [cf], [ef]) local function test_gmatch (subj, patt) local out, guard = {}, 10 for a, b in lib.gmat...
lgpl-3.0
santssoft/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/IDs.lua
8
3727
----------------------------------- -- Area: The_Sanctuary_of_ZiTah ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.THE_SANCTUARY_OF_ZITAH] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain t...
gpl-3.0
hughperkins/nn
CosineDistance.lua
26
2154
local CosineDistance, parent = torch.class('nn.CosineDistance', 'nn.Module') function CosineDistance:__init() parent.__init(self) self.gradInput = {torch.Tensor(), torch.Tensor()} end function CosineDistance:updateOutput(input) local input1, input2 = input[1], input[2] if input1:dim() == 1 then i...
bsd-3-clause
m241dan/darkstar
scripts/zones/Lower_Jeuno/npcs/Creepstix.lua
12
1561
----------------------------------- -- Area: Lower Jeuno -- NPC: Creepstix -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
m241dan/darkstar
scripts/globals/mobskills/Sand_Blast.lua
24
1154
--------------------------------------------------- -- Sand Blast -- Deals Earth damage to targets in a fan-shaped area of effect. Additional effect: Blind -- Range: 8' cone --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/glob...
gpl-3.0
santssoft/darkstar
scripts/zones/Caedarva_Mire/mobs/Experimental_Lamia.lua
9
1334
----------------------------------- -- Area: Caedarva Mire (79) -- ZNM: Experimental Lamia -- !pos -773.369 -11.824 322.298 79 ----------------------------------- local ID = require("scripts/zones/Caedarva_Mire/IDs") require("scripts/globals/status") ----------------------------------- local function spawnMinions(mob...
gpl-3.0
ducseb/domoticz
scripts/dzVents/runtime/tests/testDomoticz.lua
5
19812
local _ = require 'lodash' _G._ = _ local scriptPath = '' --package.path = package.path .. ";../?.lua;" .. scriptPath .. '/?.lua' package.path = package.path .. ";../?.lua;" .. scriptPath .. '/?.lua;../device-adapters/?.lua;' local testData = require('tstData') local function values(t) local values = _.values(t) t...
gpl-3.0
m241dan/darkstar
scripts/zones/Lower_Jeuno/npcs/_6tc.lua
25
4144
----------------------------------- -- Area: Lower Jeuno -- NPC: Door: "Neptune's Spire" -- Starts and Finishes Quest: Beat Around the Bushin -- @zone 245 -- @pos 35 0 -15 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
Mailaender/OpenRA
mods/ra/maps/soviet-04a/soviet04a-reinforcements_teams.lua
4
3143
--[[ Copyright 2007-2020 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you 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 vers...
gpl-3.0
renstrom/NeavUI
Interface/AddOns/nMinimap/difficulty.lua
1
2392
local _, nMinimap = ... local cfg = nMinimap.Config local isGuildGroup = nil local function HideDifficultyFrame() GuildInstanceDifficulty:EnableMouse(false) GuildInstanceDifficulty:SetAlpha(0) MiniMapInstanceDifficulty:EnableMouse(false) MiniMapInstanceDifficulty:SetAlpha(0) MiniMapChallengeMod...
mit
m241dan/darkstar
scripts/zones/Port_Windurst/npcs/Tokaka.lua
12
2993
----------------------------------- -- Area: Port Windurst -- NPC: Tokaka -- Starts & Finishes Repeatable Quest: Something Fishy ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/global...
gpl-3.0
LiquidFeedbackUA/webmcp
framework/env/param/get_list.lua
2
1180
--[[-- values = -- list of values casted to the chosen param_type param.get_list( key, -- name of the parameter without "[]" suffix param_type, -- desired type of the returned values ) Same as param.get(...), but used for parameters which contain a list of values. For external GET/POST paramet...
mit
10headless/hawkthorne-journey
src/nodes/cutscenes/throne.lua
1
1149
local dialog = require 'dialog' local Scene = {} Scene.__index = Scene function Scene.new(node, collider, layer) local scene = {} setmetatable(scene, Scene) scene.x = node.x scene.y = node.y scene.finished = false --change this --Make it all fancy here return scene end function Scene:st...
mit
ch3n2k/luci
applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-res.lua
80
3097
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
plageoj/jumper
boss/boss1.lua
1
2874
local args={},jumper local wy,jy,wx,jx local ey,ex local jump,hit local spd=255 local jspd=-80 local action={{p=-200,a=.4,d=1},{p=60,a=.2,d=1},{p=260,a=.5,d=2},{p=-60,a=.3,d=3}} local active,phz local elife = 4 local mt = 3 local pause=false local createItem=function(typ,iny) if typ == 1 or not hit then table.in...
apache-2.0
Telebot1/Telewild
plugins/inpm.lua
243
3007
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
m241dan/darkstar
scripts/zones/RuLude_Gardens/npcs/Dabih_Jajalioh.lua
1
1384
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Dabih Jajalioh -- Standard Merchant NPC -- Additional script for pereodical -- goods needed. -- Partitially implemented. ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; -------------------------------...
gpl-3.0
m241dan/darkstar
scripts/globals/spells/advancing_march.lua
27
1451
----------------------------------------- -- Spell: Advancing March -- Gives party members Haste ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,s...
gpl-3.0
CapsAdmin/pac3
lua/pac3/core/shared/hash.lua
1
1755
local string_hash = util.SHA256 local is_singleplayer = game.SinglePlayer() local is_bot = FindMetaTable("Player").IsBot local steamid64 = FindMetaTable("Player").SteamID64 function pac.Hash(obj) local t = type(obj) if t == "string" then return string_hash(obj) elseif t == "Player" then if is_singleplayer the...
gpl-3.0
moltafet35/spamersss
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
santssoft/darkstar
scripts/zones/Windurst_Woods/npcs/Ominous_Cloud.lua
9
3453
----------------------------------- -- Area: Windurst Woods -- NPC: Ominous Cloud -- Type: Ninjutsu Toolbag Maker -- !pos -20.632 -3.939 -40.554 241 ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") ----------------------------------- function onTrade(player,npc,trade) loc...
gpl-3.0
curtismitchell/EdgeNX
nginx/scripts/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...
mit
m241dan/darkstar
scripts/zones/Upper_Jeuno/npcs/Areebah.lua
13
1296
----------------------------------- -- Area: Upper Jeuno -- NPC: Areebah -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
m241dan/darkstar
scripts/zones/Upper_Delkfutts_Tower/npcs/HomePoint#1.lua
27
1293
----------------------------------- -- Area: Upper Delkfutt's Tower -- NPC: HomePoint#1 -- @pos -365 -176.5 -36 158 ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Delkfutts_Tower/TextIDs"); req...
gpl-3.0
santssoft/darkstar
scripts/zones/Port_Windurst/npcs/Hakkuru-Rinkuru.lua
9
9010
----------------------------------- -- Area: Port Windurst -- NPC: Hakkuru-Rinkuru -- Involved In Quest: Making Amends -- Starts and Ends Quest: Wonder Wands -- !pos -111 -4 101 240 ----------------------------------- local ID = require("scripts/zones/Port_Windurst/IDs"); require("scripts/globals/settings"); require("...
gpl-3.0
condor-the-bird/tarantool
test/app/console.test.lua
6
5298
#!/usr/bin/env tarantool local tap = require('tap') local console = require('console') local socket = require('socket') local yaml = require('yaml') local fiber = require('fiber') local ffi = require('ffi') local log = require('log') -- Supress console log messages log.level(4) local CONSOLE_SOCKET = '/tmp/tarantool...
bsd-2-clause
santssoft/darkstar
scripts/zones/Southern_San_dOria/npcs/Valderotaux.lua
9
1256
----------------------------------- -- Area: Southern San d'Oria -- NPC: Valderotaux -- General Info NPC -- !pos 97 0.1 113 230 ------------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/settings"); require("scripts/globals/quests"); --------------------...
gpl-3.0
dvr333/Zero-K
units/vehsupport.lua
1
4040
return { vehsupport = { unitname = [[vehsupport]], name = [[Fencer]], description = [[Deployable Missile Rover (must stop to fire)]], acceleration = 0.18, brakeRate = 0.36, buildCostMetal = 145, builder = false, bui...
gpl-2.0
yuanfengyun/mj_server
mjlib/hubei_huanghuang/auto_table_with_eye.lua
2
22462
return {[1114112]=true,[141314]=true,[31121411]=true,[31113221]=true,[14342]=true,[24111113]=true,[1413131]=true,[11141132]=true,[2142221]=true,[3332111]=true,[4112]=true,[1122323]=true,[141332]=true,[2312213]=true,[23]=true,[13111322]=true,[32221211]=true,[311324]=true,[141341]=true,[1114142]=true,[2222111]=true,[32]=...
mit
m241dan/darkstar
scripts/globals/mobskills/Gigaflare.lua
37
1686
--------------------------------------------- -- Gigaflare -- Family: Bahamut -- Description: Deals massive Fire damage to enemies within a fan-shaped area. -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: -- Notes: Used by Bahamut when at 10% of its HP, and can use anytime afterwards at will...
gpl-3.0
m241dan/darkstar
scripts/zones/Southern_San_dOria/npcs/Exoroche.lua
13
3065
----------------------------------- -- Area: Southern San d'Oria -- NPC: Exoroche -- Involved in Quests: Father and Son, A Boy's Dream -- @zone 230 -- @pos 72 -1 60 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
santssoft/darkstar
scripts/globals/mobskills/thunderbolt_breath.lua
11
1031
--------------------------------------------- -- Thunderbolt -- -- Description: Deals thunder damage to enemies within a fan-shaped area originating from the caster. -- Type: Magical (Thunder) -- -- --------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") re...
gpl-3.0
stuxnettel/my
plugins/anti_spam.lua
191
5291
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
agpl-3.0
Masterdev2v/MEero
plugins/admin.lua
95
10643
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(rec...
gpl-2.0
m241dan/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iya.lua
12
1611
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NPC: Gate of the Gods -- @pos -20 0.1 -283 34 ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs")...
gpl-3.0
amir1213/botmir
plugins/plugmanager.lua
22
3691
do local function run(msg, matches) if not is_sudo(msg) then return "you have not accsess to filemanager" end local receiver = get_receiver(msg) if matches[1] == 'بفرس' then local file = matches[3] if matches[2] == 'sticker' and not matches[4] then send_document(receiver, "./media/"...
gpl-2.0
m241dan/darkstar
scripts/zones/Kazham/npcs/Thali_Mhobrum.lua
13
1641
----------------------------------- -- Area: Kazham -- NPC: Thali Mhobrum -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); local path = { 55.816410, -11.000000, -43.992680, 54.761787, -11.000000, -44.046181, 51.8058...
gpl-3.0
santssoft/darkstar
scripts/mixins/families/colibri_mimic.lua
9
2775
--[[ Colibri that copy spells cast on it. localVar default description -------- ------- ----------- [colibri]reflect_blue_magic 0 set to 1 for this mob to also reflect blue magic cast on it https://ffxiclopedia.fandom.com/wiki/Colibri https://ffxiclo...
gpl-3.0
m241dan/darkstar
scripts/globals/mobskills/Pinning_Shot.lua
33
1044
--------------------------------------------- -- Pinning Shot -- -- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Bind -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown -- Notes: Used only by Medusa. ------------------------------------...
gpl-3.0
m241dan/darkstar
scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua
22
1841
----------------------------------- -- Area: Dynamis Beaucedine -- MOB: Goblin Statue -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; ----------------...
gpl-3.0
L00Cyph3r/OpenComputers-Collection
ATC/Client/atcclient.lua
1
6172
local component = require("component") local computer = require("computer") local modem = component.modem local event = require("event") local serial = require("serialization") local filesystem = require("filesystem") local internet = component.internet local shell = require("shell") local term = require("term") local ...
mit
palmettos/test
applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
78
1344
--[[ Luci configuration model for statistics - collectd dns plugin configuration (c) 2008 Freifunk Leipzig / 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 a...
apache-2.0
m241dan/darkstar
scripts/globals/items/dragon_steak.lua
18
1866
----------------------------------------- -- ID: 4350 -- Item: dragon_steak -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 25 -- Strength 7 -- Intelligence -3 -- Health Regen While Healing 2 -- Attack % 20 -- Attack Cap 150 -- Ranged ATT % 20 -- Ranged ATT Cap 150 -- Demon Killer ...
gpl-3.0
rekotc/game-engine-experimental-3
Source/GCC4/3rdParty/luaplus51-all/Test/testform.lua
3
3101
load_assembly("System.Windows.Forms") load_assembly("System.Drawing") Form=import_type("System.Windows.Forms.Form") TextBox=import_type("System.Windows.Forms.TextBox") Label=import_type("System.Windows.Forms.Label") ListBox=import_type("System.Windows.Forms.ListBox") Button=import_type("System.Windows.Forms.Button") P...
lgpl-3.0
m241dan/darkstar
scripts/globals/abilities/feral_howl.lua
58
3525
--------------------------------------------------- -- Ability: Feral Howl -- Terrorizes the target. -- Obtained: Beastmaster Level 75 -- Recast Time: 0:05:00 -- Duration: Apprx. 0:00:01 - 0:00:10 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status")...
gpl-3.0
m241dan/darkstar
scripts/zones/Windurst_Woods/npcs/Palyalya.lua
13
1055
----------------------------------- -- Area: Windurst Woods -- NPC: Palyalya -- Type: Adv. Assistant -- @zone: 241 -- @pos 62.298 -3.499 -128.093 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ---------...
gpl-3.0
CapsAdmin/pac3
lua/pac3/libraries/urlobj/urlobj.lua
1
19076
local urlobj = {} _G.pac_urlobj = urlobj local CreateCache = include("pac3/libraries/urlobj/cache.lua") local CreateQueueItem = include("pac3/libraries/urlobj/queueitem.lua") _G.pac_urlobj = nil urlobj.DataCache = CreateCache("objcache") concommand.Add("pac_urlobj_clear_disk", function() urlobj.DataCache:Clear()...
gpl-3.0
EarvinKayonga/WebGLingWithWebpack
public/ammo.js/bullet/Demos/OpenCLClothDemo/NVidia/premake4.lua
14
1192
hasCL = findOpenCL_NVIDIA() if (hasCL) then project "AppOpenCLClothDemo_NVIDIA" defines { "USE_NVIDIA_OPENCL","CL_PLATFORM_NVIDIA"} initOpenCL_NVIDIA() language "C++" kind "ConsoleApp" targetdir "../../.." libdirs {"../../../Glut"} links { "LinearMath", "Bulle...
mit
m241dan/darkstar
scripts/globals/items/m&p_doner_kabob.lua
18
1159
----------------------------------------- -- ID: 5717 -- Item: M&P Doner Kabob -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 5% -- MP 5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
m241dan/darkstar
scripts/globals/mobskills/Oblivion_Smash.lua
11
1255
--------------------------------------------- -- Oblivion Smash -- -- Description: Deals damage to players within area of effect and inflicts blind, silence, bind, and weight. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown radial -- Notes: --------------------------------------------- ...
gpl-3.0
m241dan/darkstar
scripts/zones/Southern_San_dOria/npcs/Rouva.lua
13
1734
----------------------------------- -- Area: Southern San d'Oria -- NPC: Rouva -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -17 2 10 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
m241dan/darkstar
scripts/globals/homepoint.lua
13
17850
require("scripts/globals/settings"); local homepoints = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25, 26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50, 51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75, 76,77,78,79,80,81...
gpl-3.0
santssoft/darkstar
scripts/zones/Temenos/mobs/Mystic_Avatar.lua
9
3334
----------------------------------- -- Area: Temenos E T -- Mob: Mystic Avatar ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- function onMobEngaged(mob,target) local mobID = mob:getID(); if (mobID==16929030) then --Carbuncle (Central Temenos 2nd Floo...
gpl-3.0
m241dan/darkstar
scripts/zones/Abyssea-Grauberg/npcs/qm15.lua
17
1535
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: ??? -- Spawns: Raja ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,...
gpl-3.0
Mailaender/OpenRA
mods/cnc/maps/gdi05b/gdi05b.lua
4
5131
--[[ Copyright 2007-2020 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you 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 vers...
gpl-3.0
Shayan123456/botttttt4
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
santssoft/darkstar
scripts/globals/weaponskills/armor_break.lua
10
1833
----------------------------------- -- Armor Break -- Great Axe weapon skill -- Skill level: 100 -- Lowers enemy's defense. Duration of effect varies with TP. -- Lowers defense by as much as 25% if unresisted. -- Strong against: Antica, Bats, Cockatrice, Dhalmel, Lizards, Mandragora, Worms. -- Immune: Ahriman. -- Will ...
gpl-3.0
santssoft/darkstar
scripts/zones/Stellar_Fulcrum/npcs/_4z3.lua
27
1030
----------------------------------- -- Area: Stellar Fulcrum -- NPC: Qe'Lov Gate ------------------------------------- require("scripts/globals/status"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) player:startEvent(32003); return 1; end; functi...
gpl-3.0
santssoft/darkstar
scripts/zones/Stellar_Fulcrum/npcs/_4z1.lua
27
1030
----------------------------------- -- Area: Stellar Fulcrum -- NPC: Qe'Lov Gate ------------------------------------- require("scripts/globals/status"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) player:startEvent(32003); return 1; end; functi...
gpl-3.0
hylthink/Sample_Lua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua
10
16743
-------------------------------- -- @module PhysicsBody -- @extend Ref -- @parent_module cc -------------------------------- -- whether this physics body is affected by the physics world’s gravitational force. -- @function [parent=#PhysicsBody] isGravityEnabled -- @param self -- @return bool#bool ret (return value...
mit
m241dan/darkstar
scripts/zones/Metalworks/npcs/Raibaht.lua
26
3265
----------------------------------- -- Area: Metalworks -- NPC: Raibaht -- Starts and Finishes Quest: Dark Legacy -- Involved in Quest: The Usual, Riding on the Clouds -- @pos -27 -10 -1 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------...
gpl-3.0
owlcoding/KendersLib
spriteHelper.lua
1
3435
local pathOfThisFile = ... local folderOfThisFile = (...):match("(.-)[^%.]+$") module( pathOfThisFile, package.seeall ) local sheetNames = {} local mapFrameNameToSheet = {} local imagesForSheets = {} local function newSprite ( a, b, c ) local sprite = display.newSprite ( a, b, c ) function sprite:stop...
apache-2.0
m241dan/darkstar
scripts/globals/items/chocolate_rarab_tail.lua
18
1193
----------------------------------------- -- ID: 5921 -- Item: Chocolate Rarab Tail -- Food Effect: 3 Min, All Races ----------------------------------------- -- Dexterity 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
dvr333/Zero-K
effects/freedom_fighter.lua
25
5564
-- ffejector -- ff_wingtips -- ffmuzzle -- ff_engine -- ff_puff return { ["ffejector"] = { usedefaultexplosions = false, shells = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = ...
gpl-2.0