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
rgieseke/scintillua
lexers/applescript.lua
1
2416
-- Copyright 2006-2018 Mitchell mitchell.att.foicica.com. See LICENSE. -- Applescript LPeg lexer. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local lex = lexer.new('applescript') -- Whitespace. lex:add_rule('whitespace', token(lexer.WH...
mit
otservme/global1053
data/movements/scripts/pits of inferno quest/pitsOfInfernoQuestTileTeleports.lua
2
1238
local config = { [28810] = Position(32838, 32304, 9), [28811] = Position(32839, 32320, 9), [28812] = Position(32844, 32310, 9), [28813] = Position(32847, 32307, 9), [28814] = Position(32856, 32306, 9), [28815] = Position(32827, 32308, 9), [28816] = Position(32840, 32317, 9), [28817] = Position(32855, 32296, 9),...
gpl-2.0
The-HalcyonDays/darkstar
scripts/globals/abilities/pets/burning_strike.lua
25
1274
--------------------------------------------------- -- Burning Strike M = 6? --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/summon"); require("scripts/globals/magic"); require("scripts/globals/monstertpmoves")...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/items/steamed_crayfish.lua
35
1239
----------------------------------------- -- ID: 4338 -- Item: steamed_crayfish -- Food Effect: 60Min, All Races ----------------------------------------- -- Defense % 30 -- Defense Cap 30 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
otservme/global1053
data/actions/scripts/other/clock.lua
1
1046
function onUse(cid, item, fromPosition, itemEx, toPosition) local player = Player(cid) if(getPlayerStorageValue(cid, 54885) < 999999999) then doPlayerAddItem(cid, 2160, 100) doPlayerAddItem(cid, 2471, 1) doPlayerAddItem(cid, 2494, 1) doPlayerAddItem(cid, 22424, 1) doPlayerAddItem(cid, 22421, 1) do...
gpl-2.0
The-HalcyonDays/darkstar
scripts/globals/items/shogun_rice_ball.lua
21
1509
----------------------------------------- -- ID: 4278 -- Item: Shogun Rice Ball -- Food Effect: 60Min, All Races ----------------------------------------- -- HP +20 -- Dex +4 -- Vit +4 -- Chr +4 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +50 -- Def +30 -- Do...
gpl-3.0
CNA2/cna3
plugins/inpm.lua
7
3011
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
mamaddeveloper/ghs
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
The-HalcyonDays/darkstar
scripts/globals/mobskills/Wild_Rage.lua
7
1136
--------------------------------------------- -- Wild Rage -- -- Description: Deals physical damage to enemies within area of effect. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: 15' radial -- Notes: Has additional effect of Poison when used by King Vinegarroon. ----------------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Northern_San_dOria/npcs/Pinok-Morok.lua
53
1880
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pinok-Morok -- Type: Smithing Synthesis Image Support -- @pos -186.650 10.25 148.380 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Giddeus/npcs/Ghoo_Pakya.lua
19
1983
----------------------------------- -- Area: Giddeus -- NPC: Ghoo Pakya -- Involved in Mission 1-3 -- @pos -139 0 147 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Selbina/npcs/Explorer_Moogle.lua
12
1767
----------------------------------- -- Area: Selbina -- NPC: Explorer Moogle ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/t...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/spells/bluemagic/battery_charge.lua
10
1155
----------------------------------------- -- Spell: Battery Charge -- Gradually restores MP -- Spell cost: 50 MP -- Monster Type: Arcana -- Spell Type: Magical (Light) -- Blue Magic Points: 3 -- Stat Bonus: MP+10, MND+1 -- Level: 79 -- Casting Time: 5 seconds -- Recast Time: 75 seconds -- Spell Duration: 100...
gpl-3.0
Feudalciv/Feudalciv
dependencies/tolua-5.2/src/bin/lua/clean.lua
7
1416
-- mark up comments and strings STR1 = "\001" STR2 = "\002" STR3 = "\003" STR4 = "\004" REM = "\005" ANY = "([\001-\005])" ESC1 = "\006" ESC2 = "\007" MASK = { -- the substitution order is important {ESC1, "\\'", "\\'"}, {ESC2, '\\"', '\\"'}, {STR1, "'", "'"}, {STR2, '"', '"'}, {STR3, "%[%[", "[[...
gpl-2.0
drix/jagg
src/CBE/cbe_core/vent_core/iterate.lua
7
5361
-------------------------------------------------------------------------------- --[[ CBE Component: Iterate Update particles each frame. --]] -------------------------------------------------------------------------------- local lib_iterator = {} ---------------------------------------------------------------------...
mit
The-HalcyonDays/darkstar
scripts/zones/Windurst_Waters/npcs/Tonana.lua
34
1137
----------------------------------- -- Area: Windurst Waters -- NPC: Tonana -- Warps players to Windurst Woods ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_Waters/TextIDs"); ------------...
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.0.6/prototypes/technology/technology.lua
2
1047
data:extend({ { type = "technology", name = "useful-combinators", icon = "__UsefulCombinators__/graphics/technology/clock.png", effects = { { type = "unlock-recipe", recipe = "timer-combinator" }, { type = "unlock-recipe", recipe = "co...
mit
ThatOdieGuy/vlc
share/lua/modules/simplexml.lua
103
3732
--[==========================================================================[ simplexml.lua: Lua simple xml parser wrapper --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> This progra...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Xarcabard/npcs/Tememe_WW.lua
30
3041
----------------------------------- -- Area: Xarcabard -- NPC: Tememe, W.W. -- Type: Border Conquest Guards -- @pos -133.678 -22.517 112.224 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require...
gpl-3.0
zero-rp/ZNet
tool/zero/lualib/cluster.lua
5
1436
local skynet = require "skynet" local clusterd local cluster = {} function cluster.call(node, address, ...) -- skynet.pack(...) will free by cluster.core.packrequest return skynet.call(clusterd, "lua", "req", node, address, skynet.pack(...)) end function cluster.send(node, address, ...) -- push is the same with r...
mit
rrpgfirecast/firecast
Plugins/Sheets/Ficha Starfinder/output/rdkObjs/FichaNave/WeaponPart.lfm.lua
1
16909
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmWeaponPart() local obj = GUI.fromHandle(_obj_newObject...
apache-2.0
The-HalcyonDays/darkstar
scripts/globals/mobskills/Pleiades_Ray.lua
5
1467
--------------------------------------------- -- Pleiades Ray -- -- Description: Fires a magical ray at nearby targets. Additional effects: Paralysis + Blind + Poison + Plague + Bind + Silence + Slow -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Only used by Gurfurlur...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/items/tiny_goldfish.lua
17
1322
----------------------------------------- -- ID: 4310 -- Item: tiny_goldfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Lower_Jeuno/npcs/_l08.lua
36
1561
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -32.897 0 -28.521 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Port_San_dOria/npcs/Answald.lua
19
1451
----------------------------------- -- Area: Port San d'Oria -- NPC: Answald -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scripts/zones/Port_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action --------...
gpl-3.0
apwiede/nodemcu-firmware
tools/utils.lua
48
11997
-- Generic utility functions module( ..., package.seeall ) local lfs = require "lfs" local sf = string.format -- Taken from Lake dir_sep = package.config:sub( 1, 1 ) is_os_windows = dir_sep == '\\' -- Converts a string with items separated by 'sep' into a table string_to_table = function( s, sep ) if type( s ) ~= ...
mit
rrpgfirecast/firecast
Plugins/Sheets/Ficha Pathfinder 2e/output/rdkObjs/FichaPathfinder2e/03.Pericias.lfm.lua
1
42515
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFichaRPGmeister3_svg() local obj = GUI.fromHandle(_obj...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/World of Darkness 20th/output/rdkObjs/VampireMasquerade20th/V20.1.lfm.lua
1
291866
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmVM20_1() local obj = GUI.fromHandle(_obj_newObject("fo...
apache-2.0
KlonD90/tarantool
test/box/fio.test.lua
8
2664
fio = require 'fio' errno = require 'errno' -- umask type(fio.umask(0)) fio.umask() -- pathjoin fio.basename(nil, nil) fio.pathjoin('abc', 'cde') fio.pathjoin('/', 'abc') fio.pathjoin('abc/', '/cde') fio.pathjoin('/', '/cde') -- basename fio.basename(nil) fio.basename('/') fio.basename('abc') fio.basename('abc.cde'...
bsd-2-clause
The-HalcyonDays/darkstar
scripts/zones/Bhaflau_Remnants/Zone.lua
36
1125
----------------------------------- -- -- Zone: Bhaflau_Remnants -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil; require("scripts/zones/Bhaflau_Remnants/TextIDs"); ----------------------------------- -- onInitial...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Misareaux_Coast/npcs/Logging_Point.lua
29
1107
----------------------------------- -- Area: Misareaux Coast -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Misareaux_Coast/TextIDs"); ...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Anima RPG/output/rdkObjs/FichaAnima/02.Ataques.Arma.lfm.lua
3
65678
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFichaRPGmeister2Aar_svg() local obj = GUI.fromHandle(_...
apache-2.0
The-HalcyonDays/darkstar
scripts/globals/items/alabaligi.lua
18
1257
----------------------------------------- -- ID: 5461 -- Item: Alabaligi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------...
gpl-3.0
Hammerspoon/hammerspoon
extensions/appfinder/appfinder.lua
4
2764
--- === hs.appfinder === --- --- Easily find `hs.application` and `hs.window` objects --- --- This module is *deprecated*; you can use `hs.window.find()`, `hs.window.get()`, `hs.application.find()`, --- `hs.application.get()`, `hs.application:findWindow()` and `hs.application:getWindow()` instead. local appfinder = {}...
mit
TheAnswer/FirstTest
bin/scripts/object/draft_schematic/space/weapon/missile/objects.lua
1
46230
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/dathomir/creatures/purboleRelentless.lua
1
4773
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/endor/npcs/jinda/jindaElder.lua
1
4723
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
ftpvanmaanen/esp8266
tools/LuaLoader/examples/Find Hot Spots/autoconnect.lua
2
1497
-- choose the strongest open AP available and connect to it -- tested with NodeMcu 0.9.2 build 20150123 Tstart = tmr.now() ConnStatus = nil function ConnStatus(n) status = wifi.sta.status() uart.write(0,' '..status) local x = n+1 if (x < 50) and ( status < 5 ) then tmr.alarm(0,100,0,function() Conn...
gpl-2.0
yunfan/packages
utils/luci-app-lxc/files/controller/lxc.lua
26
4082
--[[ LuCI LXC module Copyright (C) 2014, Cisco Systems, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Author: Petar Koretic <petar.koretic@sart...
gpl-2.0
kbara/luahypothesis
old/searchstrategy/strategies.lua
1
4807
-- Changes from upstream, on David's advice: -- draw/produce merged as draw -- random/context merged as random --[[ A SearchStrategy is an object that knows how to explore data of a given type. Except where noted otherwise, methods on this class are not part of the public API and their behaviour may c...
mpl-2.0
Modified-MW-DF/modified-MDF
MWDF Project/Dwarf Fortress/hack/scripts/masterwork/safe-guild-transform.lua
2
1676
-- Safe Script written to do guild transformations. Written by Amostubal. local usage = [====[ safe-guild-transform ==================== Wrapper for transform, used by Masterwork for the purpose of providing safe unit transformations for guild mod purposes. Removes the need to check the gender of the unit ...
mit
TheAnswer/FirstTest
bin/scripts/slashcommands/admin/resendLoginMessageToAll.lua
1
2489
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
muhkuh-sys/org.muhkuh.tools-flasher
lua/read_bootimage_intflash0.lua
1
3373
require("muhkuh_cli_init") require("flasher") local function get_dword(strData, ulOffset) return string.byte(strData,ulOffset) + string.byte(strData,ulOffset+1)*0x00000100 + string.byte(strData,ulOffset+2)*0x00010000 + string.byte(strData,ulOffset+3)*0x01000000 end if #arg~=1 then error("Missing parameter: image ...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/slashcommands/skills/creatureAreaBleeding.lua
1
2600
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
amir1213/am
plugins/Boobs.lua
150
1613
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
badboyam/redstorm
plugins/Boobs.lua
150
1613
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/object/tangible/wearables/robe/objects.lua
1
35738
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/yavin4/creatures/geonosianKliknik.lua
1
4994
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/slashcommands/skills/bodyShot.lua
1
2560
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/FileUtils.lua
1
16424
-------------------------------- -- @module FileUtils -- @parent_module cc -------------------------------- -- -- @function [parent=#FileUtils] writeFileData -- @param self -- @param #string file -- @param #void data -- @param #unsigned int size -- @return int#int ret (return value: int) ----...
apache-2.0
B1GAPTEAM/B1GAPBOT
plugins/antiporn.lua
1
1225
local function nuditycheck(msg, success, result) if success then local file = 'data/nudity/'..string.sub(result, 38) os.rename(result, file) local curl = 'curl -X POST "https://api.sightengine.com/1.0/nudity.json" -F "api_user=nil" -F "api_secret=nil" -F "photo=@'..file..'"' local jcmd = io.popen(curl) local...
gpl-2.0
moltafet35/seeck
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
TheAnswer/FirstTest
bin/scripts/skills/creatureSkills/dantooine/creatures/voritorAttacks.lua
1
7129
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
mrgloom/TripletNet
TripletNetBatch.lua
4
2439
require 'nn' local TripletNetBatch, parent = torch.class('nn.TripletNetBatch', 'nn.Module') local function SizeSquashed(x) local sz = x:size():totable() local first = table.remove(sz,1) sz[1] = sz[1]*first return torch.LongStorage(sz) end function TripletNetBatch:__init(net, dist) self.dist = dist...
mit
TheAnswer/FirstTest
bin/scripts/slashcommands/generic/getFriendList.lua
1
2449
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
ArashFaceBook/Virus
bot/utils.lua
239
13499
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() http.TIMEOUT = 10 funct...
gpl-2.0
aminbotmaker/1283
bot/utils.lua
239
13499
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() http.TIMEOUT = 10 funct...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/npcs/mauler/maulerApprentice.lua
1
4535
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
zhityer/zhityer1
bot/bot.lua
1
6847
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '0.14.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then r...
gpl-2.0
focusworld/max_bot
plugins/inpm.lua
1114
3008
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
mramir8274/goldnbot
plugins/inpm.lua
1114
3008
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
shahabsaf1/qqqq
plugins/inpm.lua
1114
3008
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
infernall/nevermind
plugins/inpm.lua
1114
3008
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
TheAnswer/FirstTest
bin/scripts/creatures/objects/npcs/missionNpcs/missionMayor.lua
1
4726
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
muhkuh-sys/org.muhkuh.tools-flasher
lua/wfp_verify.lua
1
22014
module("wfp_verify", package.seeall) local pl = require 'pl.import_into'() function verifyWFP(tTarget, tWfpControl, iChiptype, atWfpConditions, tPlugin, tFlasher, aAttr, tLog) -- loop over each target flash ---- get all files (write or erase commands) for current target flash ---- create a buffer containing the ...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/items/bluefrog/oneHandWeaponSet.lua
1
2248
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versi...
lgpl-3.0
Andrettin/Wyrmsun
scripts/civilizations/frankish/dialogues_sigiberts_struggle.lua
1
21689
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/rori/npcs/gundark/gundarkRaider.lua
1
4516
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/artisan/noviceArtisan/travelBiscuits.lua
1
3974
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/object/mobile/vendor/objects.lua
1
40317
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/rori/creatures/mutantBarkMiteSoldier.lua
1
4775
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/corellia/creatures/grondaPatriarch.lua
1
4709
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/object/tangible/crafting/base/objects.lua
1
7094
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
fischerling/lumail2
t/test.config.lua
4
1880
-- -- Configure a sane load-path -- package.path = package.path .. ";t/?.lua;../lib/?.lua;lib/?.lua" -- -- Require our unit-testing framework. -- luaunit = require 'luaunit' -- -- Config-helper -- TestConfig = {} function TestConfig:test_get_set () -- Get/Set - Unset by default luaunit.assertEquals(Config:get ...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/object/tangible/transport/base/objects.lua
1
3296
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
aminbotmaker/1283
plugins/google.lua
722
1037
local function googlethat(query) local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&" local parameters = "q=".. (URL.escape(query) or "") -- Do the request local res, code = https.request(api..parameters) if code ~=200 then return nil end local data = json:decode(res) local r...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/object/tangible/instrument/objects.lua
1
19485
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/naboo/creatures/hermitSpiderQueen.lua
1
4774
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/items/bluefrog/wookieeArmorSet.lua
1
2294
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
thkhxm/TGame
Assets/LuaFramework/Lua/3rd/luabitop/bitbench.lua
17
1661
-- Microbenchmark for bit operations library. Public domain. local bit = require"bit" if not bit.rol then -- Replacement function if rotates are missing. local bor, shl, shr = bit.bor, bit.lshift, bit.rshift function bit.rol(a, b) return bor(shl(a, b), shr(a, 32-b)) end end if not bit.bswap then -- Replacement f...
apache-2.0
aminbotmaker/1283
plugins/btc.lua
289
1375
-- See https://bitcoinaverage.com/api local function getBTCX(amount,currency) local base_url = 'https://api.bitcoinaverage.com/ticker/global/' -- Do request on bitcoinaverage, the final / is critical! local res,code = https.request(base_url..currency.."/") if code ~= 200 then return nil end local data = j...
gpl-2.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/endor/npcs/donkuwah/spookyDonkuwahSpiritmaster.lua
1
4649
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
jpeach/zfsd
ext/luajit/src/jit/dis_x86.lua
89
29330
---------------------------------------------------------------------------- -- 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 --------------------------------------------------------------------------...
apache-2.0
TheAnswer/FirstTest
bin/scripts/crafting/objects/draftschematics/tailor/fieldWearIBasicGear/uniformBoots.lua
1
3935
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any lat...
lgpl-3.0
technomancy/ss-calandria
mods/digilines/digilines_lightsensor/init.lua
3
1505
local GET_COMMAND = "GET" local lsensor_nodebox = { type = "fixed", fixed = { { -8/16, -8/16, -8/16, 8/16, -7/16, 8/16 }, -- bottom slab { -7/16, -7/16, -7/16, -4/16, -5/16, 7/16 }, -- bonds { 4/16, -7/16, -7/16, 7/16, -5/16, 7/16 }, { -7/16, -7/16, -7/16, 7/16, -5/16, -4/16 }, { -7/16, -7/16, 4/16,...
gpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/objects/corellia/npcs/smashBall/smashballThug.lua
1
4539
--Copyright (C) 2008 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versio...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/object/SharedResourceContainerObjectTemplate.lua
1
2124
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versi...
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/auto/api/Sprite3DCache.lua
1
1031
-------------------------------- -- @module Sprite3DCache -- @parent_module cc -------------------------------- -- remove the SpriteData from Sprite3D by given the specified key -- @function [parent=#Sprite3DCache] removeSprite3DData -- @param self -- @param #string key -- @return Sprite3DCache#Sprite3DCac...
apache-2.0
TheAnswer/FirstTest
bin/scripts/object/tangible/ship/customization/objects.lua
1
9773
--Copyright (C) 2009 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later ve...
lgpl-3.0
weiDDD/WSSParticleSystem
cocos2d/cocos/scripting/lua-bindings/script/cocos2d/DeprecatedCocos2dFunc.lua
1
40179
--tip local function deprecatedTip(old_name,new_name) -- --print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of CCDirector will be deprecated,begin local CCDirectorDeprecated = { } function CCDirectorDeprecated.sharedDirector() dep...
apache-2.0
Wargus/stargus
scripts/terran/unit-terran-bunker.lua
1
1306
-- -- unit-terran-bunker -- DefineAnimations("animations-terran-bunker", { Still = { "frame 0", "wait 125", }, }) DefineConstruction("construction-terran-bunker", { Files = image_327_terran_tbldmed_var, ShadowFiles = image_327_terran_tbldmed_var, Constructions = { {Percent = 0, File = "constructi...
gpl-2.0
fischerling/lumail2
t/test.directory.lua
4
1722
-- -- Configure a sane load-path -- package.path = package.path .. ";t/?.lua;../lib/?.lua;lib/?.lua" -- -- Require our unit-testing framework. -- luaunit = require 'luaunit' -- -- Config-helper -- TestDirectory = {} function TestDirectory:test_exists () -- Create a temporary file, and unlink it local tmp = os....
gpl-2.0
chrisdugne/ludum-dare-36
src/screens/Home.lua
1
4411
-------------------------------------------------------------------------------- local scene = composer.newScene() -------------------------------------------------------------------------------- local initActionX = display.contentWidth*0.95 local initActionY = display.contentHeight*0.9 --------------------------...
bsd-3-clause
ludi1991/skynet
lualib/sharedata/corelib.lua
64
2453
local core = require "sharedata.core" local type = type local next = next local rawget = rawget local conf = {} conf.host = { new = core.new, delete = core.delete, getref = core.getref, markdirty = core.markdirty, incref = core.incref, decref = core.decref, } local meta = {} local isdirty = core.isdirty local...
mit
mkwia/jc2atc
scripts/modulecrash/client/modulecrash.lua
1
1212
class 'ModuleChecker' function ModuleChecker:__init() oldnumModules = 0 numModules = 0 veryoldnumModules = 0 missingmods = 0 warnamt = 0 maxWarnamt = 120 --how many warnings they should get before they are kicked warnTextamt = 30 Events:Subscribe("ModuleChecker_Return", self, self.CountReturn) Event...
mit
gunchleoc/ICU2po
convert.lua
1
8778
--[[ ************************** * HOW TO USE THIS SCRIPT * ************************** This script is for converting CLDR data from the ICU package into .po files, so translators can load it into their translation memories. Note that I wrote this script for myself and I am publishing it for your convenience. No warra...
unlicense
TheAnswer/FirstTest
bin/scripts/slashcommands/generic/synchronizedUiStopListening.lua
1
2505
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later version. ...
lgpl-3.0
TheAnswer/FirstTest
bin/scripts/creatures/spawns/corellia/staticSpawns.lua
1
14363
--Copyright (C) 2007 <SWGEmu> --This File is part of Core3. --This program is free software; you can redistribute --it and/or modify it under the terms of the GNU Lesser --General Public License as published by the Free Software --Foundation; either version 2 of the License, --or (at your option) any later versi...
lgpl-3.0
ajauhri/evol-ant-placement
luas/tc4_hc.lua
1
2754
load_platform("input/S1 - 4ft square plate fixed.nec") add_antenna("input/A1 - 75mono fixed.nec") add_point( -0.609600, -0.406400, 0.000000) add_point( -0.609600, -0.508000, 0.000000) add_point( -0.609600, -0.609600, 0.000000) add_point( -0.508000, -0.609600, 0.000000) add_point( -0.508000, -0.508000...
bsd-3-clause
Andrettin/Wyrmsun
scripts/languages/italic/medieval_latin.lua
1
2633
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0