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
tahashakiba/xx
plugins/plugins.lua
257
4732
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
ModMountain/hash.js
plugins/lua/user_modules/gmod_defines.lua
1
6122
local pattern_escape_replacements = { ["("] = "%(", [")"] = "%)", ["."] = "%.", ["%"] = "%%", ["+"] = "%+", ["-"] = "%-", ["*"] = "%*", ["?"] = "%?", ["["] = "%[", ["]"] = "%]", ["^"] = "%^", ["$"] = "%$", ["\0"] = "%z" } function string.PatternSafe( str ) return ( str:gsub( ".", pattern_escape_replaceme...
cc0-1.0
AdamGagorik/darkstar
scripts/globals/mobskills/Hurricane_Wing.lua
66
1332
--------------------------------------------- -- Hurricane Wing -- -- Description: Deals hurricane-force wind damage to enemies within a very wide area of effect. Additional effect: Blind -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Dragua, Fafnir, Nidhogg,...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gd.lua
13
1343
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gd (Lever F) -- @pos 44 -20.56 143.802 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); ---------------------------...
gpl-3.0
chfg007/skynet
lualib/dns.lua
42
7473
--[[ lua dns resolver library See https://github.com/xjdrew/levent/blob/master/levent/dns.lua for more detail -- resource record type: -- TYPE value and meaning -- A 1 a host address -- NS 2 an authoritative name server -- MD 3 a mail destination (Obsolete - use MX...
mit
sbuettner/kong
spec/plugins/keyauth/api_spec.lua
3
3719
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" describe("Key Auth Credentials API", function() local BASE_URL, credential, consumer setup(function() spec_helper.prepare_db() spec_helper.start_kong() end) teardown(funct...
mit
githubtelebot/Bot-telebot
plugins/plugins.lua
7
6405
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists(...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/items/death_scythe_+1.lua
41
1069
----------------------------------------- -- ID: 16791 -- Item: Death Scythe +1 -- Additional Effect: Drains HP ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -------------------------------...
gpl-3.0
ioiasff/awqp
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
khoshhalbot/khoshhal
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/weaponskills/jishnus_radiance.lua
11
1404
----------------------------------- -- Jishnu's Radiance -- Archery weapon skill -- Skill level: 357 -- Empyrean Weapon Skill -- RNG Main Job Required -- Aligned with the Thunder & Breeze Gorget. -- Aligned with the Thunder Belt & Breeze Belt. -- Element: -- Modifiers: DEX:60% -- 100%TP 200%TP 300%TP -- 1.75 ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua
8
2578
----------------------------------- -- Area: Empyreal Paradox -- MOB: Promathia (phase 2) ----------------------------------- package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Empyreal_Paradox/TextIDs"); require("scripts/globals/status"); require...
gpl-3.0
LinuxPhreak/textadept
modules/lua/commands.lua
1
2690
-- Copyright 2007-2008 Mitchell Foral mitchell<att>caladbolg.net. See LICENSE. --- -- Commands for the lua module. module('_m.lua.commands', package.seeall) --- -- Patterns for auto 'end' completion for control structures. -- @class table -- @name control_structure_patterns -- @see try_to_autocomplete_end local contr...
mit
AdamGagorik/darkstar
scripts/globals/items/truelove_chocolate.lua
18
1211
----------------------------------------- -- ID: 5231 -- Item: truelove_chocolate -- Food Effect: 4Hrs, All Races ----------------------------------------- -- MP 10 -- MP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/Tek_Lengyon.lua
53
1848
----------------------------------- -- Area: Southern San d'Oria -- NPC: Tek Lengyon -- Type: Leathercraft Synthesis Image Support -- @pos -190.120 -2.999 2.770 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
Wiladams/cream
core/std/container.lua
1
8255
--[[-- Container prototype. A container is a @{std.object} with no methods. It's functionality is instead defined by its *meta*methods. Where an Object uses the `__index` metatable entry to hold object methods, a Container stores its contents using `__index`, preventing it from having methods in there too. A...
mit
sjznxd/lc-20130204
modules/niu/luasrc/controller/niu/wireless.lua
49
1057
--[[ LuCI - Lua Development Framework Copyright 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$ ]]-- modul...
apache-2.0
Hostle/luci
protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua
15
2664
-- Copyright 2014 Nikos Mavrogiannopoulos <nmav@gnutls.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local server, username, password, cert, ca local oc_cert_file, oc_key_file, oc_ca_file local ifc = net:get_interface():name() oc_cert_file = "/etc/openconnect/user-cert-"...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Maturiri.lua
13
1066
---------------------------------- -- Area: Tavnazian Safehold -- NPC: Maturiri -- Type: Item Deliverer -- @zone: 26 -- @pos -77.366 -20 -71.128 -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Beaucedine_Glacier_[S]/Zone.lua
32
1286
----------------------------------- -- -- Zone: Beaucedine_Glacier_[S] (136) -- ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Beaucedine_Glacier_[S]/TextIDs"); --...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/timbre_timbers_salad.lua
18
1459
----------------------------------------- -- ID: 4321 -- Item: timbre_timbers_salad -- Food Effect: 240Min, All Races ----------------------------------------- -- Magic 20 -- Agility 5 -- Vitality -1 -- Ranged ACC % 8 -- Ranged ACC Cap 15 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
aryangh/XYZ
plugins/anti_spam.lua
417
3978
--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 =...
agpl-3.0
paritoshmmmec/kong
spec/integration/admin_api/apis_routes_spec.lua
11
14121
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" local send_content_types = require "spec.integration.admin_api.helpers" describe("Admin API", function() setup(function() spec_helper.prepare_db() spec_helper.start_kong() end)...
mit
AdamGagorik/darkstar
scripts/zones/Den_of_Rancor/npcs/_4g6.lua
27
2366
----------------------------------- -- Area: Den of Rancor -- NPC: Lantern (SE) -- @pos -59 45 24 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/TextIDs")...
gpl-3.0
master00041/gpsuper
plugins/persian_lang.lua
1
26846
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
almeidaxan/MegaNEAT
scripts/MarioNEAT.lua
1
28181
-- MarI/O by SethBling -- Feel free to use this code, but please do not redistribute it. -- Intended for use with the BizHawk emulator and Super Mario World or Super Mario Bros. ROM. -- For SMW, make sure you have a save state named "DP1.state" at the beginning of a level, -- and put a copy in both the Lua folder and t...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/abilities/reward.lua
26
6290
----------------------------------- -- Ability: Reward -- Feeds pet to restore its HP. -- Obtained: Beastmaster Level 12 -- Recast Time: 1:30 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/pets"); --------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/AshmeaBGreinner1.lua
19
1083
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Ashmea B Greinner -- @zone 80 -- @pos 2 2 -81 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------...
gpl-3.0
KalinduDN/kalindudn.github.io
resources/prosody-plugins/mod_muc_poltergeist.lua
1
16504
local bare = require "util.jid".bare; local generate_uuid = require "util.uuid".generate; local jid = require "util.jid"; local neturl = require "net.url"; local parse = neturl.parseQuery; local st = require "util.stanza"; local get_room_from_jid = module:require "util".get_room_from_jid; local wrap_async_run = module:...
apache-2.0
jsbackus/lre-find
unit_tests/00_suite_testlib.lua
1
3110
#!/usr/bin/env lua -- Copyright (C) 2015 Jeff Backus(jeff@jsbackus.com) -- -- Permission is hereby granted, free of charge, to any person -- obtaining a copy of this software and associated documentation -- files (the "Software"), to deal in the Software without -- restriction, including without limitation the rights ...
mit
mamadtnt/new4
plugins/inrealm.lua
92
25223
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
D-m-L/evonara
modules/libs/hsv.lua
1
2820
--local Color = require('color') ---- randomly picked probably ugly colours --local red = {200, 20, 20} --local green = {30, 200, 10} --local hpBarColor = Color.gradientColor(red, green, curHP / totalHP) local function smallColorRange(largeColor) return largeColor / 255 end local function largeColorRange(smallCol...
mit
AdamGagorik/darkstar
scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua
26
2944
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Radeivepart -- Starts and Finishes Quest: Northward -- Involved in Quests: Save the Clock Tower -- @zone 243 -- @pos 5 9 -39 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ---------------------------...
gpl-3.0
rinstrum/LUA-LIB
src/rinLibrary/K400Axle.lua
2
1416
------------------------------------------------------------------------------- --- Axle scle functions. -- Functions to support the K422 Axle Weigher -- @module rinLibrary.Device.Axle -- @author Pauli -- @copyright 2014 Rinstrum Pty Ltd ------------------------------------------------------------------------------- lo...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/refresh_ii.lua
44
1080
----------------------------------------- -- Spell: Refresh II -- Gradually restores target party member's MP -- Composure increases duration 3x ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ---------------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_Bastok/npcs/Hilda.lua
26
5026
----------------------------------- -- Area: Port Bastok -- NPC: Hilda -- Involved in Quest: Cid's Secret, Riding on the Clouds -- Starts & Finishes: The Usual -- @pos -163 -8 13 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Al_Zahbi/npcs/Gadalar.lua
13
1043
----------------------------------- -- Area: Al Zahbi -- NPC: Gadalar -- Type: Fireserpent General -- @zone: 48 -- @pos -105.979 -7 39.692 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ---------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Apollyon/bcnms/CS_Apollyon.lua
35
1323
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[CS_Apollyon]UniqueID",Gene...
gpl-3.0
mahmedhany128/Mr_BOT
plugins/writer.lua
1
16137
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ...
gpl-2.0
sbuettner/kong
kong/cli/utils/dnsmasq.lua
15
1412
local IO = require "kong.tools.io" local cutils = require "kong.cli.utils" local constants = require "kong.constants" local stringy = require "stringy" local _M = {} function _M.stop(kong_config) local pid_file = kong_config.nginx_working_dir.."/"..constants.CLI.DNSMASQ_PID local _, code = IO.kill_process_by_pid_...
mit
chfg007/skynet
lualib/snax/gateserver.lua
29
3258
local skynet = require "skynet" local netpack = require "netpack" local socketdriver = require "socketdriver" local gateserver = {} local socket -- listen socket local queue -- message queue local maxclient -- max client local client_number = 0 local CMD = setmetatable({}, { __gc = function() netpack.clear(queue) en...
mit
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_presence_dedup/mod_presence_dedup.lua
1
1512
local st = require "util.stanza"; local cache = require "util.cache"; local add_filter = require "util.filters".add_filter; local cache_size = module:get_option_number("presence_dedup_cache_size", 100); -- stanza equality tests local function attr_eq(a, b) if a == b then return true; end -- unlikely but not impossib...
mit
iskolbin/lrla
collide.lua
1
2010
local function insidePointRect( xp, yp, xr, yr, wr, hr ) return xp >= xr and yp <= xr + wr and yp >= yr and yp <= yr + hr end local function insidePointCircle( xp, yp, xc, yc, rc ) local dx = xp - xc local dy = yp - yc return dx*dx + dy*dy <= rc*rc end local function intersectLineCircle( x1, y1, x2, y2, xc, yc, r...
mit
AdamGagorik/darkstar
scripts/zones/Sealions_Den/npcs/Jovial_Rat.lua
13
1049
----------------------------------- -- Area: Northern San d'Oria -- NPC: Jovial Rat -- Type: Past Event Watcher -- @zone: 32 -- @pos -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ---------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/mammut.lua
41
1059
----------------------------------------- -- ID: 18503 -- Item: Mammut -- Additional Effect: Ice Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- f...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_Bastok/npcs/Sugandhi.lua
13
1599
----------------------------------- -- Area: Port Bastok -- NPC: Sugandhi -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); require("scripts/globals/shop"); ----------------------------------- -- onTra...
gpl-3.0
D-m-L/evonara
modules/libs/Peep/LoveFrames/objects/internal/modalbackground.lua
9
2458
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- modalbackground class local newobject = loveframes.NewObject("modalbackground", "loveframes_object_modalbackground", true...
mit
AdamGagorik/darkstar
scripts/zones/Bhaflau_Remnants/mobs/Colibri.lua
16
1620
----------------------------------- -- Area: Mamook -- MOB: Colibri ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobFight Action ----------------------------------- function onMobFight(mob, target) local delay =...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Apollyon/mobs/Troglodyte_Dhalmel.lua
7
1257
----------------------------------- -- Area: Apollyon NE -- NPC: Troglodyte Dhalmel ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------...
gpl-3.0
cresd/CressD
plugins/anti_spam.lua
90
4016
--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
AdamGagorik/darkstar
scripts/zones/Aydeewa_Subterrane/npcs/qm3.lua
29
1271
----------------------------------- -- Area: Aydeewa Subterrane -- NPC: ??? (Spawn Chigre(ZNM T1)) -- @pos -217 35 12 68 ----------------------------------- package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aydeewa_Subterrane/TextIDs"); require...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/bowl_of_mushroom_stew.lua
18
1452
----------------------------------------- -- ID: 4544 -- Item: mushroom_stew -- Food Effect: 3hours, All Races ----------------------------------------- -- Magic Points 40 -- Strength -1 -- Mind 4 -- MP Recovered While Healing 4 -- Enmity -4 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Dynamis-Beaucedine/Zone.lua
21
2557
----------------------------------- -- -- Zone: Dynamis-Beaucedine -- ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Dynamis-Beaucedine/TextIDs"); --------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_Bastok/npcs/Dehlner.lua
13
1196
----------------------------------- -- Area: Port Bastok -- NPC: Dehlner -- Standard Info NPC -- Invlolved in Quest: A Foreman's Best Friend ----------------------------------- require("scripts/globals/quests"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua
27
1263
----------------------------------- -- Area: Den_of_Rancor -- NPC: HomePoint#2 -- @pos 182 34 -62 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/TextIDs"); require("scripts/globals/homepoin...
gpl-3.0
Hostle/luci
protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua
60
1569
-- Copyright 2013 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local o = section:taboption("general", ListValue, "reqaddress", translate("Request IPv6-address")) o:value("try") o:value("force") o:value("none", "disabled") o.default = "try" ...
apache-2.0
AdamGagorik/darkstar
scripts/globals/effects/vit_down.lua
34
1112
----------------------------------- -- -- EFFECT_VIT_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_VIT) - effect:ge...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Riverne-Site_A01/Zone.lua
13
1943
----------------------------------- -- -- Zone: Riverne-Site_A01 -- ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Riverne-Site_A01/TextIDs"); require("scripts/globals/status"); require("scripts/globals/se...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Upper_Jeuno/npcs/Finnela.lua
13
1042
----------------------------------- -- Area: Upper Jeuno -- NPC: Finnela -- Type: Standard NPC -- @zone: 244 -- @pos -51.880 -1 106.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/dish_of_spaghetti_ortolana_+1.lua
18
1448
----------------------------------------- -- ID: 5659 -- Item: Dish of Spafhetti Ortolana -- Food Effect: 1 Hr, All Races ----------------------------------------- -- Agility 2 -- Vitality 2 -- HP +30% Cap 75 -- StoreTP +6 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/Ephauge.lua
13
1456
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ephauge -- General Info NPC -- @zone 230 -- @pos -2 -2 45 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
rinstrum/LUA-LIB
src/rinLibrary/rinCSV.lua
2
42374
------------------------------------------------------------------------------- --- Functions for working with .CSV files and creating multi-table databases -- @module rinLibrary.rinCSV -- @author Darren Pearson -- @copyright 2013 Rinstrum Pty Ltd ------------------------------------------------------------------------...
gpl-3.0
nopsky/waifu2x
lib/settings.lua
33
2488
require 'xlua' require 'pl' -- global settings if package.preload.settings then return package.preload.settings end -- default tensor type torch.setdefaulttensortype('torch.FloatTensor') local settings = {} local cmd = torch.CmdLine() cmd:text() cmd:text("waifu2x") cmd:text("Options:") cmd:option("-seed", 11, '...
mit
AdamGagorik/darkstar
scripts/globals/weaponskills/exenterator.lua
10
2053
----------------------------------- -- Exenterator -- Skill level: 357 -- Terpsichore: Aftermath effect varies with TP. -- In order to obtain Exenterator, the quest Martial Mastery must be completed. -- Description: Delivers a fourfold attack that lowers enemy's params.accuracy. Effect duration varies with TP. -- Align...
gpl-3.0
Hostle/luci
applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua
60
5493
-- Copyright 2012 Gabor Juhos <juhosg@openwrt.org> -- Licensed to the public under the Apache License 2.0. local m, s, o m = Map("minidlna", translate("miniDLNA"), translate("MiniDLNA is server software with the aim of being fully compliant with DLNA/UPnP-AV clients.")) m:section(SimpleSection).template = "minidln...
apache-2.0
AdamGagorik/darkstar
scripts/globals/items/shiranui.lua
27
1221
----------------------------------------- -- ID: 17774 -- Item: Shiranui -- Additional Effect: Light Damage (night time only) ----------------------------------------- require("scripts/globals/status"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- function onAddi...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/RuLude_Gardens/npcs/Yavoraile.lua
13
1377
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Yavoraile -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/qu...
gpl-3.0
ModMountain/hash.js
plugins/lua/user_modules/algo/sha256.lua
1
5131
local function bt(x) return x & 0xFF; end local function dw(x) return x & 0xFFFFFFFF; end local function ROTLEFT(a,b) return dw((a<<b) | (a >> (32-b))); end local function ROTRIGHT(a,b) return dw((a>>b) | (a<<(32-b))) end local function CH(x,y,z) return (x & y) ~ (~x & z); end local function MAJ(x,y,z) return ((x&y) ~...
cc0-1.0
AdamGagorik/darkstar
scripts/zones/Selbina/npcs/Jimaida.lua
13
1280
----------------------------------- -- Area: Selbina -- NPC: Jimaida -- Involved in Quests: Under the sea -- @pos -15 -2 -16 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/glob...
gpl-3.0
Snazz2001/fbcunn
test/test_HSM_speed.lua
9
6021
-- Copyright 2004-present Facebook. All Rights Reserved. -- Author: Michael Mathieu <myrhev@fb.com> require 'fbcunn' require 'fbnn' require 'math' require 'nn' require 'os' require 'sys' torch.setdefaulttensortype('torch.DoubleTensor') torch.manualSeed(111) local debugger = require 'fb.debugger' local numIters = 100...
bsd-3-clause
AdamGagorik/darkstar
scripts/zones/Konschtat_Highlands/npcs/Dimensional_Portal.lua
13
1416
----------------------------------- -- Area: Konschtat Highlands -- NPC: Dimensional_Portal -- @pos 220.000 19.104 140.000 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("script...
gpl-3.0
samuelwbaird/brogue
examples/slash/classes/slash_http_handler.lua
1
5651
-- handles http requests related to the slash service -- push injest of logs, long poll read of APIs and cached static content local class = require('core.class') local array = require('core.array') local cache = require('core.cache') local rascal = require('rascal.core') local template = require('rascal.util.templat...
mit
m27frogy/rbxobfusc
LAT_src/Lua51/Verifier.lua
1
11040
local OpcodeChecks = { MOVE = function(f, i) assert(i.C == 0, "MOVE.C must equal 0") assert(i.A < f.MaxStackSize, "MOVE.A out of bounds") assert(i.B < f.MaxStackSize, "MOVE.B out of bounds") end, LOADK = function(f, i) assert(i.A < f.MaxStackSize, "LOADK.A out of bounds") assert(i.Bx < f.Constants....
mit
sbuettner/kong
kong/api/routes/kong.lua
13
1053
local constants = require "kong.constants" local route_helpers = require "kong.api.route_helpers" return { ["/"] = { GET = function(self, dao, helpers) local db_plugins, err = dao.plugins_configurations:find_distinct() if err then return helpers.responses.send_HTTP_INTERNAL_SERVER_ERROR(err) ...
mit
AdamGagorik/darkstar
scripts/zones/West_Ronfaure/npcs/Phairet.lua
13
2629
----------------------------------- -- Area: West Ronfaure -- NPC: Phairet -- Involved in Quest: The Trader in the Forest -- @pos -57 -1 -501 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/QuBia_Arena/bcnms/rank_5_mission.lua
26
1985
----------------------------------- -- Area: Qu'Bia Arena -- NPC: Mission Rank 5 -- @pos -221 -24 19 206 ----------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/QuBia_Arena/TextIDs");...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Shahau.lua
29
1735
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Shahau -- Type: Alchemy Image Support -- @pos -10.470 -6.25 -141.700 241 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Cloister_of_Gales/bcnms/carbuncle_debacle.lua
30
1596
----------------------------------- -- Area: Cloister of Gales -- BCNM: Carbuncle Debacle ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Cloister_of_Gales/TextIDs"); require("scripts/globals/settings"); r...
gpl-3.0
D-m-L/evonara
modules/libs/Peep/LoveFrames/objects/frame.lua
3
28420
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- frame object local newobject = loveframes.NewObject("frame", "loveframes_object_frame", true) --[[----------------------...
mit
AdamGagorik/darkstar
scripts/globals/items/mushroom_salad.lua
18
1438
----------------------------------------- -- ID: 5678 -- Item: Mushroom Salad -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- MP 14% Cap 85 -- Agility 6 -- Mind 6 -- Strength -5 -- Vitality -5 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
martin-ueding/vicious
widgets/cpufreq.lua
15
1868
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local tonumber = tonumber local setmetatable = setmetatable local string = { match = string....
gpl-2.0
rinstrum/LUA-LIB
src/rinLibrary/display/D320.lua
2
3151
------------------------------------------------------------------------------- -- D320 LCD Services -- Functions to add the D320 LCD to the display fields -- @module rinLibrary.display.D320 -- @author Merrick Heley -- @copyright 2015 Rinstrum Pty Ltd --------------------------------------------------------------------...
gpl-3.0
yaoqi/Atlas
lib/proxy/split.lua
41
14816
module("proxy.split", package.seeall) --local table = require("proxy.table") local crc = require("proxy.crc32") local log = require("proxy.log") local filter = require("proxy.filter") local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance) local config = require(config_file) l...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/magic.lua
2
44798
require("scripts/globals/magicburst") require("scripts/globals/status") require("scripts/globals/weather") require("scripts/globals/utils") MMSG_BUFF_FAIL = 75; DIVINE_MAGIC_SKILL = 32; HEALING_MAGIC_SKILL = 33; ENHANCING_MAGIC_SKILL = 34; ENFEEBLING_MAGIC_SKILL = 35; ELEMENTAL_MAGIC_S...
gpl-3.0
rinstrum/LUA-LIB
tests/unit/stream.lua
2
6110
------------------------------------------------------------------------------- -- Streaming unit test. -- @author Pauli -- @copyright 2014 Rinstrum Pty Ltd ------------------------------------------------------------------------------- describe("Streaming #stream", function () local start, stop = 1, 0 local m...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Vunkerl_Inlet_[S]/npcs/Leadavox.lua
31
1758
----------------------------------- -- Area: Vunkerl Inlet (S) (I-6) -- NPC: Leadavox -- Involved in Quests -- @pos 206 -32 316 ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- requir...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/strip_of_smoked_mackerel.lua
18
1181
----------------------------------------- -- ID: 5943 -- Item: Strip of Smoked Mackerel -- Food Effect: 30Min, All Races ----------------------------------------- -- Agility 4 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Norg/npcs/Gimb.lua
13
1161
----------------------------------- -- Area: Norg -- NPC: Gimb -- Type: Begins the "Sahagin Key Quest" but it doesn't appear in the log. See http://wiki.ffxiclopedia.org/wiki/Sahagin_Key_Quest -- @zone: 252 -- @pos -4.975 -1.975 -44.039 -- ----------------------------------- package.loaded["scripts/zones/Norg/Tex...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Qulun_Dome/npcs/_441.lua
13
1639
----------------------------------- -- Area: Qulun Dome -- NPC: Door -- Involved in Mission: Limit Break 3 -- @pos 299.999 37.864 47.067 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("s...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Rasdinice.lua
19
1072
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Rasdinice -- @zone 80 -- @pos -8 1 35 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
pczarn/kollos
components/test/dev/json.lua
1
18208
--[[ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies o...
mit
kahluamods/kore
Libs/LibSerialize.lua
2
52281
--[[ Copyright (c) 2020 Ross Nichols Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, ...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Kazham/npcs/Tielleque.lua
27
1732
----------------------------------- -- Area: Kazham -- NPC: Tielleque -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onT...
gpl-3.0
sjznxd/lc-20130204
libs/lucid/luasrc/lucid.lua
48
8771
--[[ LuCI - Lua Development Framework Copyright 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 ni...
apache-2.0
luveti/Urho3D
Source/ThirdParty/LuaJIT/dynasm/dasm_mips.lua
33
28080
------------------------------------------------------------------------------ -- DynASM MIPS module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _i...
mit
AdamGagorik/darkstar
scripts/zones/Cloister_of_Storms/bcnms/carbuncle_debacle.lua
30
1516
----------------------------------- -- Area: Cloister of Storms -- BCNM: Carbuncle Debacle ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Cloister_of_Storms/TextIDs"); require("scripts/globals/settings")...
gpl-3.0
sbuettner/kong
kong/plugins/basicauth/access.lua
4
3539
local cache = require "kong.tools.database_cache" local stringy = require "stringy" local responses = require "kong.tools.responses" local constants = require "kong.constants" local _M = {} local function skip_authentication(headers) -- Skip upload request that expect a 100 Continue response return headers["expec...
mit
sjznxd/lc-20130204
libs/sys/luasrc/sys/zoneinfo/tzdata.lua
72
16813
--[[ LuCI - Autogenerated Zoneinfo Module 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 ]]-- module "luci.sys.zoneinfo.tzdata" TZ = { { 'Africa/Abi...
apache-2.0
AdamGagorik/darkstar
scripts/globals/items/cherry_muffin_+1.lua
18
1296
----------------------------------------- -- ID: 5654 -- Item: Cherry Muffin -- Food Effect: 1Hr, All Races ----------------------------------------- -- Intelligence 2 -- MP % 10 (cap 85) -- Agility -1 ----------------------------------------- require("scripts/globals/status"); ---------------------------------------...
gpl-3.0
paritoshmmmec/kong
kong/vendor/ssl.lua
22
7805
-- Copyright (C) 2014 Yichun Zhang local ffi = require "ffi" local base = require "resty.core.base" local C = ffi.C local ffi_str = ffi.string local getfenv = getfenv local errmsg = base.get_errmsg_ptr() local get_string_buf = base.get_string_buf local get_string_buf_size = base.get_string_buf_size local get_size_p...
mit