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
kanaka/raft.js
research_class/pgfplots/tex/generic/pgfplots/lua/pgfplots/pgfplotsutil.lua
4
3160
local math=math local string=string local type=type local tostring = tostring local tonumber = tonumber local setmetatable = setmetatable local getmetatable = getmetatable local print=print local pairs = pairs local table=table local texio=texio do local _ENV = pgfplots --------------------------------------- -- log=...
mpl-2.0
AdamGagorik/darkstar
scripts/globals/mobskills/Bai_Wing.lua
18
1087
--------------------------------------------- -- Bai Wing -- -- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Ouryu and Cuelebre while flying. -...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Throne_Room/mobs/Zeid.lua
8
1681
----------------------------------- -- Area: Throne Room -- MOB: Zeid -- Mission 9-2 BASTOK BCNM Fight ----------------------------------- ----------------------------------- -- onMobFight ----------------------------------- function onMobFight(mob, target) printf("mobtp %u",mob:getTP()); end; -----------------...
gpl-3.0
mohammadrassoul/roborsevenn
plugins/Invite.lua
1
2215
-----my_name_is_MoHaMaMmAdRaSsOuL*#@RsEvEn -----@RsEvEn FOR UPDATE -----لطفا پیام بالا رو پاک نکنید function resolve_username(username,cb) tdcli_function ({ ID = "SearchPublicChat", username_ = username }, cb, nil) end --------------------------------------------------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/grape_daifuku.lua
35
1862
----------------------------------------- -- ID: 6343 -- Item: grape_daifuku -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP + 20 (Pet & Master) -- Vitality + 3 (Pet & Master) -- Master MAB + 3 , Pet MAB + 14 -- Accuracy + 10% Cap: 66 (Pet & Master) Pet Cap: 75 ------------------------...
gpl-3.0
paritoshmmmec/kong
kong/plugins/cors/access.lua
20
1834
local responses = require "kong.tools.responses" local _M = {} local function configure_origin(ngx, conf) if conf.origin == nil then ngx.header["Access-Control-Allow-Origin"] = "*" else ngx.header["Access-Control-Allow-Origin"] = conf.origin ngx.header["Vary"] = "Origin" end end local function conf...
mit
AdamGagorik/darkstar
scripts/globals/abilities/evokers_roll.lua
4
2703
----------------------------------- -- Ability: Evoker's Roll -- Gradually restores MP for party members within area of effect -- Optimal Job: Summoner -- Lucky Number: 5 -- Unlucky Number: 9 -- Level: 40 -- -- Die Roll |No SMN |With SMN -- -------- ------- ----------- -- 1 |+1 |+2 -- 2 ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/serving_of_batagreen_sautee.lua
18
1404
----------------------------------------- -- ID: 4553 -- Item: serving_of_batagreen_sautee -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -2 -- Ranged ACC % 7 -- Ranged ACC Cap 15 ----------------------------------------- require("scripts/globals/status"); -------...
gpl-3.0
adib1380/anti2
plugins/xkcd.lua
628
1374
do function get_last_id() local res,code = https.request("http://xkcd.com/info.0.json") if code ~= 200 then return "HTTP ERROR" end local data = json:decode(res) return data.num end function get_xkcd(id) local res,code = http.request("http://xkcd.com/"..id.."/info.0.json") if code ~= 200 then return "HT...
gpl-2.0
hadirahimi1380/-AhRiMaN-
plugins/xkcd.lua
628
1374
do function get_last_id() local res,code = https.request("http://xkcd.com/info.0.json") if code ~= 200 then return "HTTP ERROR" end local data = json:decode(res) return data.num end function get_xkcd(id) local res,code = http.request("http://xkcd.com/"..id.."/info.0.json") if code ~= 200 then return "HT...
gpl-2.0
paritoshmmmec/kong
spec/integration/proxy/dns_resolver_spec.lua
7
1219
local spec_helper = require "spec.spec_helpers" local http_client = require "kong.tools.http_client" local TCP_PORT = 7771 describe("DNS", function() setup(function() spec_helper.prepare_db() spec_helper.insert_fixtures { api = { { name = "tests dns 1", public_dns = "dns1.com", target_url = "...
mit
AdamGagorik/darkstar
scripts/globals/mobskills/Vitriolic_spray.lua
33
1046
--------------------------------------------- -- Vitriolic Spray -- Family: Wamouracampa -- Description: Expels a caustic stream at targets in a fan-shaped area of effect. Additional effect: Burn -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadow -- Range: Cone -- Notes: Burn is 10-30/tic ------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Jugner_Forest/Zone.lua
15
4110
----------------------------------- -- -- Zone: Jugner_Forest (104) -- ----------------------------------- package.loaded[ "scripts/zones/Jugner_Forest/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Jugner_Forest/TextIDs"); require("...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Boneyard_Gully/mobs/Race_Runner.lua
7
1473
----------------------------------- -- Area: Boneyard_Gully -- Name: Race Runner ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); local path = { -539, 0, -481, -556, 0, -478, -581, 0, -475, -579, -3, -460, -572, 2, -433, -545, 1, -440, ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Travonce.lua
13
1062
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Travonce -- Type: Standard NPC -- @zone: 26 -- @pos -89.068 -14.367 -0.030 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; --...
gpl-3.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_http_muc_log/mod_http_muc_log.lua
1
8873
local mt = require"util.multitable"; local datetime = require"util.datetime"; local jid_split = require"util.jid".split; local nodeprep = require"util.encodings".stringprep.nodeprep; local uuid = require"util.uuid".generate; local it = require"util.iterators"; local gettime = require"socket".gettime; local url = requir...
mit
AdamGagorik/darkstar
scripts/globals/spells/hyoton_san.lua
5
1587
----------------------------------------- -- Spell: Hyoton: San -- Deals ice damage to an enemy and lowers its resistance against fire. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/rolanberry.lua
18
1176
----------------------------------------- -- ID: 4365 -- Item: rolanberry -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -4 -- Intelligence 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0
LuaDist2/luasocket-unix
etc/lp.lua
59
11566
----------------------------------------------------------------------------- -- LPD support for the Lua language -- LuaSocket toolkit. -- Author: David Burgess -- Modified by Diego Nehab, but David is in charge -- RCS ID: $Id: lp.lua,v 1.14 2005/11/21 07:04:44 diego Exp $ ----------------------------------------------...
mit
Hostle/luci
protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua
64
3139
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local ipaddr, peeraddr, ip6addr, tunnelid, username, password local defaultroute, metric, ttl, mtu ipaddr = s:taboption("general", Value, "ipaddr", translate("Local IPv4 address...
apache-2.0
Nathan22Miles/sile
core/papersizes.lua
5
1931
SILE.paperSizes = { a4 = { 595.275597, 841.8897728999999 }, letter = { 612, 792 }, note = { 612, 792 }, legal = { 612, 1008 }, executive = { 522, 756 }, halfletter = { 396, 612 }, halfexecutive = { 378, 522 }, statement = { 396, 612 }, folio = { 612, 936 }, quarto = { 610, 780 }, ledger = { 1224, 79...
mit
AdamGagorik/darkstar
scripts/globals/mobskills/Shakeshroom.lua
50
1139
--------------------------------------------------- -- Shakeshroom -- Additional effect: Fires a mushroom cap, dealing damage to a single target. Additional effect: disease -- Range is 14.7 yalms. -- Piercing damage Ranged Attack. -- Secondary modifiers: INT: 20%. --------------------------------------------------- re...
gpl-3.0
Anarchid/Zero-K-Infrastructure
Benchmarker/Benchmarks/games/fps_terraform.sdd/units/terraunit.lua
12
1714
unitDef = { unitname = [[terraunit]], name = [[Terraform]], description = [[Spent: 0]], acceleration = 0, brakeRate = 0, buildCostEnergy = 0, buildCostMetal = 0, builder = false, buildPic ...
gpl-3.0
sbuettner/kong
kong/kong.lua
7
7524
-- Kong, the biggest ape in town -- -- /\ ____ -- <> ( oo ) -- <>_| ^^ |_ -- <> @ \ -- /~~\ . . _ | -- /~~~~\ | | -- /~~~~~~\/ _| | -- |[][][]/ / [m] -- |[][][[m] -- |[][][]| -- |[][][]| -- |[][][]| -- |[][][]| -- |[][][]| -- |[][][]| -- |[][][]| -- |[][][]| -- |[|--|]| -- |[|...
mit
samuelwbaird/brogue
source/rascal/util/timeout_group.lua
1
1336
-- a collection to store items against a number of ticks after which they signal -- has reverse look up table so frequent and arbitrary adds and removes should be handled well enough -- copyright 2016 Samuel Baird MIT Licence local class = require('core.class') return class(function (timeout_group) function timeou...
mit
AdamGagorik/darkstar
scripts/zones/Selbina/npcs/Nomad_Moogle.lua
13
1064
----------------------------------- -- -- Nomad Moogle -- ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); ----------------------------------- -- onTrade Act...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/qm5.lua
13
1034
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? (Crimson-toothed Pawberry NM) -- @pos -39 -24 27 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/TextID...
gpl-3.0
Hostle/luci
applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua
25
7188
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("tinyproxy", translate("Tinyproxy"), translate("Tinyproxy is a small and fast non-caching HTTP(S)-Proxy")) s = m:section(TypedSection, "tinyprox...
apache-2.0
Hostle/luci
applications/luci-app-splash/luasrc/controller/splash/splash.lua
22
4649
module("luci.controller.splash.splash", package.seeall) local uci = luci.model.uci.cursor() local util = require "luci.util" function index() entry({"admin", "services", "splash"}, cbi("splash/splash"), _("Client-Splash"), 90) entry({"admin", "services", "splash", "splashtext" }, form("splash/splashtext"), _("Splas...
apache-2.0
aquileia/wesnoth
data/ai/micro_ais/cas/ca_messenger_escort_move.lua
4
3508
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local LS = wesnoth.require "lua/location_set.lua" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" local messenger_next_waypoint = wesnoth.require "ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua" lo...
gpl-2.0
luveti/Urho3D
bin/Data/LuaScripts/24_Urho2DSprite.lua
24
8431
-- Urho2D sprite example. -- This sample demonstrates: -- - Creating a 2D scene with sprite -- - Displaying the scene using the Renderer subsystem -- - Handling keyboard to move and zoom 2D camera -- - Usage of Lua Closure to update scene require "LuaScripts/Utilities/Sample" function Start()...
mit
AdamGagorik/darkstar
scripts/globals/items/prominence_axe.lua
42
1450
----------------------------------------- -- ID: 18220 -- Item: Prominence Axe -- Additional Effect: Fire Damage -- Enchantment: Enfire ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_Bastok/npcs/Patient_Wheel.lua
13
1440
----------------------------------- -- Area: Port Bastok -- NPC: Patient Wheel -- Type: Quest NPC -- @pos -107.988 3.898 52.557 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts...
gpl-3.0
sjznxd/lc-20130204
libs/lucid-http/luasrc/lucid/http/handler/catchall.lua
52
2325
--[[ LuCId HTTP-Slave (c) 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- local srv = require "...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Northern_San_dOria/npcs/HomePoint#3.lua
27
1277
----------------------------------- -- Area: Northern San dOria -- NPC: HomePoint#3 -- @pos 70 -0.2 10 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/g...
gpl-3.0
luveti/Urho3D
bin/Data/LuaScripts/07_Billboards.lua
24
11790
-- Billboard example. -- This sample demonstrates: -- - Populating a 3D scene with billboard sets and several shadow casting spotlights -- - Parenting scene nodes to allow more intuitive creation of groups of objects -- - Examining rendering performance with a somewhat large object and light count re...
mit
Nathan22Miles/sile
packages/tableofcontents.lua
2
2471
-- Table of contents class -- Exports: The \tableofcontents command -- The \tocentry command (call this in your sectioning commands) -- writeToc (call this in finish) -- moveTocNodes (call this in endPage) SILE.scratch.tableofcontents = { } local moveNodes = function(self) local n = SILE...
mit
AdamGagorik/darkstar
scripts/zones/Stellar_Fulcrum/Zone.lua
13
2300
----------------------------------- -- -- Zone: Stellar_Fulcrum -- ----------------------------------- package.loaded["scripts/zones/Stellar_Fulcrum/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Stellar_Fulcrum/TextIDs"); ---------------------------...
gpl-3.0
D-m-L/evonara
modules/txt/test.lua
1
1708
m[1] = _navi:new('Alright!|,|, Here is our |c{mblue}message system|c{white}|,, working |c{mblue}CORRECTLY|c{white}|,. |nPress |c{mgreen}'..arc.btn.ent..'|c{white} to continue.', {x=sw/2, y=sh/2, alx='m', alxb='m', alyb='m'}) m[2] = _navi:new("Let's see the features. Consult |c{mred}main.lua|c{white} to understand som...
mit
mosy210/PERSION-BOT
plugins/exchange.lua
352
2076
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local function comma_value(n) -- credit http://richard.warburton.it local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$') return left..(num:reverse():gsub('...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/missions.lua
10
56967
----------------------------------- -- Areas ID mission step var ----------------------------------- SANDORIA = 0; -- MissionStatus BASTOK = 1; -- MissionStatus WINDURST = 2; -- MissionStatus ZILART = 3; -- ZilartStatus TOAU = 4; -- AhtUrganStatus WOTG = 5; -- AltanaStatus COP = 6; -- Prom...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/self-destruct.lua
32
1265
----------------------------------------- -- Spell: Self-Destruct -- Sacrifices HP to damage enemies within range. Affects caster with Weakness -- Spell cost: 100 MP -- Monster Type: Arcana -- Spell Type: Magical (Fire) -- Blue Magic Points: 3 -- Stat Bonus: STR+2 -- Level: 50 -- Casting Time: 3.25 seconds -- Recast Ti...
gpl-3.0
tahashakiba/xx
plugins/anti-bot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Leonoyne1.lua
19
1032
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Leonyone -- @zone 80 -- @pos -192 -1 42 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- o...
gpl-3.0
kidaa/torch7
test/test_qr.lua
46
9128
-- This file contains tests for the QR decomposition functions in torch: -- torch.qr(), torch.geqrf() and torch.orgqr(). local torch = require 'torch' local tester = torch.Tester() local tests = {} -- torch.qr() with result tensors given. local function qrInPlace(tensorFunc) return function(x) local q, r = tenso...
bsd-3-clause
chfg007/skynet
lualib/snax/msgserver.lua
58
7383
local skynet = require "skynet" local gateserver = require "snax.gateserver" local netpack = require "netpack" local crypt = require "crypt" local socketdriver = require "socketdriver" local assert = assert local b64encode = crypt.base64encode local b64decode = crypt.base64decode --[[ Protocol: All the number type ...
mit
aquileia/wesnoth
data/ai/micro_ais/cas/ca_hunter.lua
4
8270
local H = wesnoth.require "lua/helper.lua" local W = H.set_wml_action_metatable {} local AH = wesnoth.require "ai/lua/ai_helper.lua" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" local function hunter_attack_weakest_adj_enemy(ai, hunter) -- Attack the enemy with the fewest hitpoints adja...
gpl-2.0
rinstrum/LUA-LIB
K400Examples/myApp.lua
2
7498
#!/usr/bin/env lua ------------------------------------------------------------------------------- -- myApp -- -- Application template -- -- Copy this file to your project directory and insert the specific code of -- your application ------------------------------------------------------------------------------- local ...
gpl-3.0
Asher9/Asher9-s-Programms
openDHD/stargate/sprache/russian.lua
1
8623
-- pastebin run -f -- openDHD from Asher9 -- https://github.com/Asher9/Asher9-s-Programms/tree/master/openDHD return { dezimalkomma = true, pruefeKomponenten = "Проверка компонентов\n", redstoneOK = "- Редстоун карта есть - опционально", redstoneFehlt = ...
mit
AdamGagorik/darkstar
scripts/globals/effects/bust.lua
35
1737
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if (effect:getSubType() == MOD_DMG) then target:addMod(MO...
gpl-3.0
samuelwbaird/brogue
examples/sqlite_example.lua
1
3043
-- demonstrate basic DB access with dweeb -- copyright 2014 Samuel Baird MIT Licence -- reference the brogue libraries package.path = '../source/?.lua;' .. package.path -- load the modules we need local sqlite = require('dweeb.sqlite') local random_key = require('rascal.util.random_key') -- open up a database for so...
mit
robertfoss/nodemcu-firmware
examples/telnet.lua
61
1070
print("====Wicon, a LUA console over wifi.==========") print("Author: openthings@163.com. copyright&GPL V2.") print("Last modified 2014-11-19. V0.2") print("Wicon Server starting ......") function startServer() print("Wifi AP connected. Wicon IP:") print(wifi.sta.getip()) sv=net.createServer(net.TCP, 180) ...
mit
iotcafe/nodemcu-firmware
examples/telnet.lua
61
1070
print("====Wicon, a LUA console over wifi.==========") print("Author: openthings@163.com. copyright&GPL V2.") print("Last modified 2014-11-19. V0.2") print("Wicon Server starting ......") function startServer() print("Wifi AP connected. Wicon IP:") print(wifi.sta.getip()) sv=net.createServer(net.TCP, 180) ...
mit
AdamGagorik/darkstar
scripts/zones/PsoXja/npcs/_09a.lua
13
2831
----------------------------------- -- Area: Pso'Xja -- NPC: _09a (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos 261.600 -1.925 -50.000 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs...
gpl-3.0
SonyaSa/CppSharp
build/Helpers.lua
8
2717
-- This module checks for the all the project dependencies. action = _ACTION or "" depsdir = path.getabsolute("../deps"); srcdir = path.getabsolute("../src"); incdir = path.getabsolute("../include"); bindir = path.getabsolute("../bin"); examplesdir = path.getabsolute("../examples"); testsdir = path.getabsolute("../te...
mit
AdamGagorik/darkstar
scripts/zones/Dragons_Aery/npcs/relic.lua
13
1840
----------------------------------- -- Area: Dragon's Aery -- NPC: <this space intentionally left blank> -- @pos -20 -2 61 154 ----------------------------------- package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Dragons_Aery/TextIDs"); -----------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Tavnazian_Safehold/Zone.lua
12
3411
----------------------------------- -- -- Zone: Tavnazian_Safehold (26) -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/zones/Tavnazian...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Muzeze.lua
13
1050
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Muzeze -- Type: Armor Storer -- @pos -6.782 -18.428 208.185 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Meriphataud...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Castle_Oztroja_[S]/Zone.lua
32
1281
----------------------------------- -- -- Zone: Castle_Oztroja_[S] (99) -- ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Castle_Oztroja_[S]/TextIDs"); ---------------...
gpl-3.0
mahmedhany128/Mr_BOT
plugins/translate.lua
3
2462
--[[ _____ ____ ____ ___ _____ |_ _| _ \ | __ ) / _ \_ _| | | | |_) | | _ \| | | || | | | | __/ | |_) | |_| || | |_| |_| |____/ \___/ |_| KASPER TP (BY @kasper_dev) _ __ _ ____ ____ _____ ____ _____ ____ | |/ / / \ / ___|| _ \| ...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Cloister_of_Tremors/bcnms/puppet_master.lua
27
1588
----------------------------------- -- Area: Cloister of Tremors -- BCNM: The Puppet Master -- @pos -539 1 -493 209 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ------------------------------------- require("scripts/globals/quests"); require("scripts/zones/Cloi...
gpl-3.0
Hostle/luci
modules/luci-base/luasrc/http/protocol.lua
2
15535
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- This class contains several functions useful for http message- and content -- decoding and to retrive form data from raw http messages. module("luci.http.protocol", package.seeall) local l...
apache-2.0
AdamGagorik/darkstar
scripts/globals/items/plate_of_urchin_sushi.lua
17
1538
----------------------------------------- -- ID: 5151 -- Item: plate_of_urchin_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 40 -- Strength 1 -- Vitality 5 -- Accuracy % 15 -- Ranged ACC % 15 -- Sleep Resist 5 ----------------------------------------- require("scripts/globa...
gpl-3.0
Nathan22Miles/sile
languages/cy.lua
4
63370
SILE.hyphenator.languages["cy"] = {}; SILE.hyphenator.languages["cy"].patterns = { ".ac4t", ".ad3ae", ".add5as", ".add3o", ".ad4eg", ".ad4eny", ".ad4fer", ".adl4", ".ad3r", ".ae3a", ".af3a", ".af4an", ".aff3", ".afl4u", ".af5lw", ".ag3w", ".am4le", ".am3s", ".an5ad", ".an4g3", ".anghen5a", ".anghen4r", ".an2o", ".anrhy...
mit
AdamGagorik/darkstar
scripts/zones/Northern_San_dOria/npcs/Ramua.lua
53
1884
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ramua -- Type: Woodworking Synthesis Image Support -- @pos -183.750 10.999 255.770 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/butter_crepe.lua
17
1278
----------------------------------------- -- ID: 5766 -- Item: Butter Crepe -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +10 -- Magic Accuracy +2 -- Magic Defense +1 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
iotcafe/nodemcu-firmware
lua_examples/yet-another-bmp085.lua
65
2608
------------------------------------------------------------------------------ -- BMP085 query module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> -- Heavily based on work of Christee <Christee@nodemcu.com> -- -- Example: -- dofile("bmp085.lua").read(sda, scl) ----------...
mit
AdamGagorik/darkstar
scripts/globals/items/kohlrouladen.lua
18
1269
----------------------------------------- -- ID: 5760 -- Item: kohlrouladen -- Food Effect: 1hour?, All Races ----------------------------------------- -- Strength 3 -- Agility 3 -- Intelligence -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/sleepshroom.lua
18
1170
----------------------------------------- -- ID: 4374 -- Item: sleepshroom -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -3 -- Mind 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
hlieberman/sysdig
userspace/sysdig/chisels/tracers_2_statsd.lua
4
2002
--[[ Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. 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 ...
gpl-2.0
sjznxd/lc-20130204
applications/luci-minidlna/luasrc/model/cbi/minidlna.lua
87
5720
--[[ LuCI - Lua Configuration Interface - miniDLNA support Copyright 2012 Gabor Juhos <juhosg@openwrt.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://www.apache.org/licenses/LICENSE-2...
apache-2.0
kevindehecker/paparazzi
sw/extras/chdk/pictuav.lua
87
5350
--[[ @title PictUAV @param d Display off frame 0=never @default d 0 --]] -- Developed on IXUS 230 HS. Other cameras should work as well, but some errors or crashes are possible -- also considering that some firmwares still have CHDK bugs. -- -- Other settings in the camera that you should try to manipulate to reduce t...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Korroloka_Tunnel/npcs/qm2.lua
15
3376
----------------------------------- -- Area: Korroloka Tunnel -- NPC: ??? (qm2) -- Involved In Quest: Ayame and Kaede -- @pos -208 -9 176 173 ----------------------------------- package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Emhi_Tchaoryo.lua
13
1076
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Emhi Tchaoryo -- Type: Campaign Ops Overseer -- @zone: 94 -- @pos 10.577 -2.478 32.680 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextI...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/HomePoint#2.lua
27
1275
----------------------------------- -- Area: Southern San dOria -- NPC: HomePoint#2 -- @pos 45 2 -35 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/glo...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Pashhow_Marshlands_[S]/Zone.lua
12
2045
----------------------------------- -- -- Zone: Pashhow_Marshlands_[S] (90) -- ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs"); require("scripts/globals/settings"); requ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Lutete.lua
13
1125
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Lutete -- Type: Standard NPC -- @zone: 94 -- @pos 169.205 -0.879 -9.107 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Komalata.lua
13
1554
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Komalata -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Dynamis-Bastok/Zone.lua
21
2379
----------------------------------- -- -- Zone: Dynamis-Bastok -- ----------------------------------- package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Bastok/TextIDs"); ----------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Mhaura/npcs/Rycharde.lua
29
17139
----------------------------------- -- Area: Mhaura -- NPC: Rycharde -- Standard Info NPC -- Starts & Finishes non Repeatable Quest: Rycharde the Chef, -- WAY_OF_THE_COOK, UNENDING_CHASE -- his name is Valgeir (not completed correctly, ferry not implemented) -- the clue (100%) -- the basics (not comp...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_Bastok/npcs/Steel_Bones.lua
13
1673
----------------------------------- -- Area: Port Bastok -- NPC: Steel Bones -- Standard Info NPC -- Involved in Quest: Guest of Hauteur ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts...
gpl-3.0
archiloque/nginx_services_logging
example/example.lua
2
1791
#! /usr/bin/env wsapi.cgi local orbit = require("orbit") local cjson = require("cjson") module("example", package.seeall, orbit.new) function log(web) local env_info = {} for k, v in pairs(web.vars) do if type(v) == "string" then env_info[k] = v end end print(web.path_...
mit
D-m-L/evonara
modules/libs/stateswitcher.lua
1
1182
--[[ State switcher class: stateswitcher.lua Author: Daniel Duris, (CC-BY) 2014 dusoft[at]staznosti.sk http://www.ambience.sk License: CC-BY 4.0 This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or s...
mit
flybird119/Atlas
lib/admin.lua
28
9387
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is dis...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Wajaom_Woodlands/npcs/leypoint.lua
13
2584
----------------------------------- -- Area: Wajaom Woodlands -- NPC: Leypoint -- Teleport point, Quest -- NAVIGATING THE UNFRIENDLY SEAS RELATED -- -- @pos -200.027 -8.500 80.058 51 ----------------------------------- require("scripts/zones/Wajaom_Woodlands/TextIDs"); require("scripts/globals/settings"); require("sc...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/AlTaieu/npcs/_0x2.lua
15
1939
----------------------------------- -- Area: Al'Taieu -- NPC: Rubious Crystal (West Tower) -- @pos -683.709 -6.250 -222.142 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts/z...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Lower_Jeuno/npcs/Sniggnix.lua
13
2349
----------------------------------- -- Area: Lower Jeuno -- NPC: Sniggnix -- Type: Standard NPC -- @zone: 245 -- @pos -45.832 4.498 -135.029 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; -----------------...
gpl-3.0
yaoqi/Atlas
lib/proxy/log.lua
41
2706
module("proxy.log", package.seeall) local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance) local config = require(config_file) level = { DEBUG = 1, INFO = 2, WARN = 3, ERROR = 4, FATAL = 5, OFF = 6 } local tag = {"DEBUG", "INFO", "WARN", "ERROR", "FATAL"} --ĬÈÏÖµ local lo...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/spells/raptor_mazurka.lua
27
1161
----------------------------------------- -- Spell: Raptor Mazurka -- Gives party members enhanced movement ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cast...
gpl-3.0
mosy210/PERSION-BOT
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images loca...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Windurst_Woods/npcs/Roberta.lua
13
2317
----------------------------------- -- Area: Windurst Woods -- NPC: Roberta -- Working 100% -- @zone 241 -- @pos 21 -4 -157 ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrad...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Riverne-Site_B01/npcs/_0t1.lua
13
1347
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_B01/TextIDs"); ...
gpl-3.0
Czesti/BolScripts-1
KarthusMechanics.lua
1
16746
--[[ _____ _____ __ .__ / \_______ / _ \________/ |_|__| ____ __ __ ____ ____ / \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \ / Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> ) \____|__ /__| \___...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/tail_slap.lua
4
1738
----------------------------------------- -- Spell: Tail Slap -- Delivers an area attack. Additional effect: "Stun." Damage varies with TP -- Spell cost: 77 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 4 -- Stat Bonus: MND+2 -- Level: 69 -- Casting Time: 1 seconds -- Recast Time: 2...
gpl-3.0
LinuxPhreak/textadept
core/file_io.lua
1
11811
-- Copyright 2007-2008 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE. --- -- Provides file input/output routines for Textadept. -- Opens and saves files and sessions and reads API files. -- -- Events: -- file_opened(filename) -- file_saved_as(filename) module('textadept.io', package.seeall) local events ...
mit
AdamGagorik/darkstar
scripts/zones/Port_Jeuno/npcs/Illauvolahaut.lua
13
1611
----------------------------------- -- Area: Port Jeuno -- NPC: Illauvolahaut -- @zone 246 -- @pos -12 8 54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requir...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Bhaflau_Thickets/npcs/Runic_Portal.lua
25
1774
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Runic Portal -- Mamook Ja Teleporter Back to Aht Urgan Whitegate -- @pos -211 -11 -818 52 ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; ----------------------------------- require("scripts/zones/...
gpl-3.0
talldan/lua-reactor
src/reactor/utils/tableUtils.lua
1
1946
local function map(func, collection) local results = {} for index, value in pairs(collection) do local newValue, newIndex = func(value, index) results[newIndex or index] = newValue end return results end local function optionalMap(func, collection) local results = {} for index, value in pairs(co...
mit
AdamGagorik/darkstar
scripts/globals/mobskills/Binary_Tap.lua
32
1703
--------------------------------------------------- -- Binary Tap -- Attempts to absorb two buffs from a single target, or otherwise steals HP. -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf...
gpl-3.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_muc_ban_ip/mod_muc_ban_ip.lua
32
1765
module:set_global(); local jid_bare = require "util.jid".bare; local st = require "util.stanza"; local xmlns_muc_user = "http://jabber.org/protocol/muc#user"; local ip_bans = module:shared("bans"); local full_sessions = prosody.full_sessions; local function ban_ip(session, from) local ip = session.ip; if not ip th...
mit