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
jxlczjp77/pskynet
test/testmongodb.lua
62
2661
local skynet = require "skynet" local mongo = require "mongo" local bson = require "bson" local host, db_name = ... function test_insert_without_index() local db = mongo.client({host = host}) db[db_name].testdb:dropIndex("*") db[db_name].testdb:drop() local ret = db[db_name].testdb:safe_insert({test_key = 1}); ...
apache-2.0
olapaola/olapaola-android-scripting
lua/luasocket/etc/forward.lua
61
2077
-- load our favourite library local dispatch = require("dispatch") local handler = dispatch.newhandler() -- make sure the user knows how to invoke us if table.getn(arg) < 1 then print("Usage") print(" lua forward.lua <iport:ohost:oport> ...") os.exit(1) end -- function to move data from one socket to t...
apache-2.0
Onahail/iQueue
game/dota_addons/iQueue/scripts/vscripts/iQueue_Harvesting.lua
1
1089
if Harvesting == nil then print ('[HARVESTING] creating Harvesting') _G.Harvesting = class({}) end function Harvesting:FindTreeUnderMouse( event ) local player = PlayerResource:GetPlayer(event.playerID) local mainSelected = EntIndexToHScript(event.mainSelected) local mouseVector = Vector(event.mouseLocation["0"...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Western_Adoulin/npcs/Defliaa.lua
14
2221
----------------------------------- -- Area: Western Adoulin -- NPC: Defliaa -- Type: Quest NPC and Shop NPC -- Involved with Quest: 'All the Way to the Bank' -- @zone 256 -- @pos 43 2 -113 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ---------------------...
gpl-3.0
Samanj5/creed-SPAM
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
Element-Research/rnn
GRU.lua
3
8691
------------------------------------------------------------------------ --[[ GRU ]]-- -- Author: Jin-Hwa Kim -- License: LICENSE.2nd.txt -- Gated Recurrent Units architecture. -- http://www.wildml.com/2015/10/recurrent-neural-network-tutorial-part-4-implementing-a-grulstm-rnn-with-python-and-theano/ -- Expects 1D or ...
bsd-3-clause
mr-kelly/slua
build/luajit-2.1.0/dynasm/dasm_arm64.lua
33
34807
------------------------------------------------------------------------------ -- DynASM ARM64 module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _...
mit
sajadaltaiee/telebot
libs/redis.lua
566
1214
local Redis = require 'redis' local FakeRedis = require 'fakeredis' local params = { host = os.getenv('REDIS_HOST') or '127.0.0.1', port = tonumber(os.getenv('REDIS_PORT') or 6379) } local database = os.getenv('REDIS_DB') local password = os.getenv('REDIS_PASSWORD') -- Overwrite HGETALL Redis.commands.hgetall = ...
gpl-2.0
pakozm/april-ann
tools/trainable/compute-generalization-statistics.lua
3
4838
if #arg < 5 then print("Syntax error!") printf("\t%s FILENAME VAL_MEAN_COL VAL_VAR_COL TEST_MEAN_COL TEST_VAR_COL [W_REPS [EXP_REPS [EXP1_SIZE [EXP2_SIZE ...] ] ] ]\n", arg[0]) printf("\nThis script computes the generalization ability given a set of experiments\n") printf("using different hyperparameters.\n\n")...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/commands/addallspells.lua
23
4989
--------------------------------------------------------------------------------------------------- -- func: addallspells -- desc: Adds all valid spells to the given target. If no target; then to the current player. --------------------------------------------------------------------------------------------------- cmd...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/abilities/addendum_black.lua
20
1596
----------------------------------- -- Ability: Addendum: Black -- Allows access to additional Black Magic spells while using Dark Arts. -- Obtained: Scholar Level 30 -- Recast Time: Stratagem Charge -- Duration: 2 hours -- -- Level |Charges |Recharge Time per Charge -- ----- -------- --------------- -- 10 |1 ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/kurayami_ni.lua
27
1143
----------------------------------------- -- Spell: Kurayami:Ni ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/titles.lua
35
45755
----------------------------------- -- -- TITLES IDs -- ----------------------------------- FODDERCHIEF_FLAYER = 1; WARCHIEF_WRECKER = 2; DREAD_DRAGON_SLAYER = 3; OVERLORD_EXECUTIONER = 4; DARK_DRAGON_SLAYER ...
gpl-3.0
pakozm/april-ann
tools/nbest/compute_a_posterioris.lua
3
2818
opt = cmdOpt{ program_name = string.basename(arg[0]), argument_description = "", main_description = "A posterioris computation in April toolkit", { index_name="t", description="NBest target file", short="t", argument="yes", }, { index_name="l", description="L0 value (default 1, in HT...
gpl-3.0
groupforspeed/TeleSpeed-Tg
bot/nod32bot.lua
1
11986
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 = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/weaponskills/ground_strike.lua
25
1639
----------------------------------- -- Ground Strike -- Great Sword weapon skill -- Skill level: 250 QUESTED -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:50% INT:50% -- 100%TP 200%TP 300%TP -- 1.5 1.75 3.0 ----------------------------------- require("scripts/globals/statu...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Northern_San_dOria/npcs/Taurette.lua
14
1874
----------------------------------- -- Area: Northern San d'Oria -- NPC: Taurette -- Involved in Quests: Riding on the Clouds -- @zone 231 -- @pos -159 0 91 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/No...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Dynamis-Tavnazia/Zone.lua
10
2522
----------------------------------- -- -- Zone: Dynamis-Tavnazia -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil; require("scripts/zones/Dynamis-Tavnazia/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/poison_breath.lua
25
2022
----------------------------------------- -- Spell: Poison Breath -- Deals water damage to enemies within a fan-shaped area originating from the caster. Additional effect: Poison -- Spell cost: 22 MP -- Monster Type: Hound -- Spell Type: Magical (Water) -- Blue Magic Points: 1 -- Stat Bonus: MND+1 -- Level: 22 -- Casti...
gpl-3.0
victorholt/Urho3D
bin/Data/LuaScripts/31_MaterialAnimation.lua
15
7449
-- Material animation example. -- This sample is base on StaticScene, and it demonstrates: -- - Usage of material shader animation for mush room material require "LuaScripts/Utilities/Sample" function Start() -- Execute the common startup for samples SampleStart() -- Create the scene content Crea...
mit
aliwvw/Smart_guy
plugin/run.lua
1
2518
--[[ _ _ _ _ ___ ___ _ __ _| |__ ___ ___| | ___ __ ___ _ __ (_) __ _ / |/ _ \ / _ \| | __ / _` | '_ \ / _ \/ __| |/ / '__/ _ \| '_ \ | |/ _` | | | | | | | | | |/ / | (_| | |_) | (_) \__ \ <| | | (_) | |_) | | | (_| | | | |_| | |_| | < ...
gpl-2.0
NoahNMorton/MinecraftLuaPrograms
OpenComputers/SimpleGPUBinder.lua
2
2024
--Auto gpu binder by Gangsir --Run to easily bind multiple gpus in a computer to different screens. --run or use with rc on boot. term = require("term") component = require("component") io = require("io") print("Init gpu binder...") print("Current primary gpu is "..component.gpu.address..", and is bound to screen ".....
mit
deepak78/luci
libs/px5g/lua/px5g/util.lua
170
1148
--[[ * px5g - Embedded x509 key and certificate generator based on PolarSSL * * Copyright (C) 2009 Steven Barth <steven@midlink.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License, version 2.1 as published by the Free ...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Pashhow_Marshlands/npcs/Mokto-Lankto_WW.lua
14
3350
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Mokto-Lankto, W.W. -- Type: Outpost Conquest Guards -- @pos 470.843 23.465 415.520 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
wingo/snabb
src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.lua
5
1720
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local lib = require("core.lib") local syscall = require("syscall") local usage = require("program.snabbnfv.neutron_sync_agent.README_inc") local script = require("program.snabbnfv.neutron_sync_agent.neutron_syn...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/sandspin.lua
25
1814
----------------------------------------- -- Spell: Sandspin -- Deals earth damage to enemies within range. Additional Effect: Accuracy Down -- Spell cost: 10 MP -- Monster Type: Amorphs -- Spell Type: Magical (Earth) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 1 -- Casting Time: 1.5 seconds -- Recast Time: ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Windurst/npcs/Pygmalion.lua
14
1046
----------------------------------- -- Area: Port Windurst -- NPC: Pygmalion -- Type: Standard NPC -- @zone 240 -- @pos 228.710 -7 93.314 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/emerald_quiche.lua
12
1392
----------------------------------------- -- ID: 5171 -- Item: emerald_quiche -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 15 -- Agility 1 -- Ranged ACC % 7 -- Ranged ACC Cap 20 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/mobskills/warm-up.lua
1
1547
--------------------------------------------- -- Warm-Up -- -- Description: Enhances accuracy and evasion. -- Type: Magical (Earth) --------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------------...
gpl-3.0
bedmonds/awesome-widgets
laptop/batmon.lua
1
1277
-- -- batmon - Battery monitor widget for Awesome WM -- [github.com/bedmonds/awesome-widget-batmon.git] -- local io = io local vicious = require("vicious") local wibox = require("wibox") local beautiful = beautiful batmon = {} batmon.config = { device = "BAT0", glyphs = { charging = "[+]", draining =...
mit
Guilty3096/guiltyyy
plugins/stats.lua
81
4126
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/spells/absorb-str.lua
9
1369
-------------------------------------- -- Spell: Absorb-STR -- Steals an enemy's strength. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Bastok_Mines/npcs/Abd-al-Raziq.lua
9
2668
----------------------------------- -- Area: Bastok Mines -- NPC: Abd-al-Raziq -- Type: Alchemy Guild Master -- @pos 126.768 1.017 -0.234 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Mines/TextIDs")...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Buburimu_Peninsula/npcs/Stone_Monument.lua
14
1303
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 320.755 -4.000 368.722 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/mobskills/enervation.lua
27
1240
--------------------------------------------- -- Enervation -- -- Description: Lowers the defense and magical defense of enemies within range. -- Type: Magical (Dark) --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monste...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Rabao/npcs/Agado-Pugado.lua
14
5701
----------------------------------- -- Area: Rabao -- NPC: Agado-Pugado -- Starts and Finishes Quest: Trial by Wind -- @pos -17 7 -10 247 ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/g...
gpl-3.0
Psiku/TheProposition
Proposition/entities/weapons/phone.lua
1
2461
if SERVER then AddCSLuaFile ("phone.lua") SWEP.Weight = 5 SWEP.ViewModel = "" SWEP.WorldModel = "" SWEP.AutoSwitchTo = true SWEP.AutoSwitchFrom = false elseif CLIENT then SWEP.PrintName = "Phone" SWEP.Slot = 6 SWEP.SlotPos = 1 SWEP.DrawCrosshair = false SWEP.DrawAmmo = false function SWEP.Draw...
mit
archiveds/telegram-bot
plugins/vote.lua
615
2128
do local _file_votes = './data/votes.lua' function read_file_votes () local f = io.open(_file_votes, "r+") if f == nil then print ('Created voting file '.._file_votes) serialize_to_file({}, _file_votes) else print ('Values loaded: '.._file_votes) f:close() end return loadfile (_file_votes)()...
gpl-2.0
midnightviking/simple-rotation
Libs/LibAdvancedIconSelector-1.0/Locales/enUS.lua
1
2793
--[[======================================================================================== LibAdvancedIconSelector provides a searchable icon selection GUI to World of Warcraft addons. Copyright (c) 2011 David Forrester (Darthyl of Bronzebeard-US) Email: darthyl@hotmail.com ...
gpl-2.0
tuxun/smw-funwiki
extensions/Scribunto/engines/LuaCommon/lualib/mw.title.lua
2
8567
local title = {} local php local NS_MEDIA = -2 local util = require 'libraryUtil' local checkType = util.checkType local checkTypeForIndex = util.checkTypeForIndex local function checkNamespace( name, argIdx, arg ) if type( arg ) == 'string' and tostring( tonumber( arg ) ) == arg then arg = tonumber( arg ) end i...
gpl-2.0
gganssle/scimirrorbot
rnn/sample.lua
3
6035
--[[ This file samples characters from a trained model Code is based on implementation in https://github.com/oxford-cs-ml-2015/practical6 ]]-- require 'torch' require 'nn' require 'nngraph' require 'optim' require 'lfs' require 'util.OneHot' require 'util.misc' cmd = torch.CmdLine() cmd:text() cmd:text('Sample ...
mit
bmscoordinators/FFXI-Server
scripts/globals/items/smoked_salmon.lua
12
1269
----------------------------------------- -- ID: 4380 -- Item: smoked_salmon -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -3 -- Ranged Accuracy +1 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Maze_of_Shakhrami/npcs/Excavation_Point.lua
14
1695
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Excavation Point -- Used in Quest: The Holy Crest -- @pos 234 0.1 -110 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/excavation...
gpl-3.0
wingo/snabb
src/lib/watchdog/watchdog.lua
15
1119
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(...,package.seeall) ffi = require("ffi") C = ffi.C -- Watchdog timeout in unit defined by `precision' (just below). timeout = nil -- Watchdog precision. precision = nil -- Set watchdog timeout to mseconds (milliseconds). Does N...
apache-2.0
nsimplex/wicker
api/prefab_compiler.lua
6
1396
--[[ Copyright (C) 2013 simplex 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; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that ...
gpl-2.0
groupforspeed/TeleSpeed-Tg
plugins/inpm.lua
19
3147
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
bmscoordinators/FFXI-Server
scripts/globals/items/serving_of_karni_yarik.lua
12
1645
----------------------------------------- -- ID: 5588 -- Item: serving_of_karni_yarik -- Food Effect: 30Min, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- Attack % 20 (cap 65) -- Ranged Attack % 20 (cap 65) -- Evasion +6 ----------------------------------------- require("scripts/gl...
gpl-3.0
cheney247689848/Cloud-edge
Luajit/jit/dis_mips.lua
59
13773
---------------------------------------------------------------------------- -- LuaJIT MIPS disassembler module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------...
mit
bmscoordinators/FFXI-Server
scripts/zones/Port_Jeuno/npcs/Sanosuke.lua
14
1563
----------------------------------- -- Area: Port Jeuno -- NPC: Sanosuke -- Involved in Quest: A Thief in Norg!? -- @pos -63 7 0 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zon...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters/npcs/Bondada.lua
14
1971
----------------------------------- -- Area: Windurst Waters -- NPC: Bondada -- Involved in Quests: Hat in Hand -- Working 100% -- @zone = 238 -- @pos = -66 -3 -148 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
Rainrider/AdiButtonAuras
core/Items.lua
1
4249
--[[ AdiButtonAuras - Display auras on action buttons. Copyright 2013-2016 Adirelle (adirelle@gmail.com) All rights reserved. This file is part of AdiButtonAuras. AdiButtonAuras 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 Softwa...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_HM.lua
23
1634
----------------------------------- -- Area: LaLoff Amphitheater -- MOB: Ark Angel HM ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/status"); ----...
gpl-3.0
XtBot/xt
plugins/Fantasy_Writer.lua
5
7794
local function run(msg, matches) if not is_momod(msg) then return "فقط برای مدیران" end if #matches < 2 then return "بعد از این دستور، با قید یک فاصله کلمه یا جمله ی مورد نظر را جهت زیبا نویسی وارد کنید" end if string.len(matches[2]) > 20 then return "حداکثر حروف مجاز 20 کاراکتر انگلیسی و عدد است" end loc...
gpl-2.0
alivilteram/mustafa1p
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Cloister_of_Flames/mobs/Ifrit_Prime.lua
23
1783
----------------------------------------------------- -- Area: Cloister of Flames -- MOB: Ifrit Prime -- Involved in Quest: Trial by Fire -- Involved in Mission: ASA-4 Sugar Coated Directive ----------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems");...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/seafood_pitaru.lua
12
1347
----------------------------------------- -- ID: 5891 -- Item: seafood_pitaru -- Food Effect: 30 Min, All Races ----------------------------------------- -- MP +8% (cap 120) -- Increases rate of magic skill gains by 60% ----------------------------------------- require("scripts/globals/status"); ---------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/West_Ronfaure/npcs/Laillera.lua
14
1086
----------------------------------- -- Area: West Ronfaure -- NPC: Laillera -- @pos -127.297 -62.000 266.800 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/West_Ronfaur...
gpl-3.0
5620g/38196040
plugins/leaders.lua
51
12502
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
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/magnetite_cloud.lua
26
1913
----------------------------------------- -- Spell: Magnetite Cloud -- Deals earth damage to enemies within a fan-shaped area originating from the caster. Additional effect: Weight -- Spell cost: 86 MP -- Monster Type: Beastmen -- Spell Type: Magical (Earth) -- Blue Magic Points: 3 -- Stat Bonus: VIT+2 -- Level: 46 -- ...
gpl-3.0
jheusala/freeciv-extended
dependencies/tolua-5.1/src/bin/lua/package.lua
5
8946
-- tolua: package class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements...
gpl-2.0
OLR-xray/XRay-NEW
XRay/xrLua/dynasm/dynasm.lua
1
27522
------------------------------------------------------------------------------ -- DynASM. A dynamic assembler for code generation engines. -- Originally designed and implemented for LuaJIT. -- -- Copyright (C) 2005 Mike Pall. All rights reserved. -- See below for full copyright notice. ---------------------------------...
apache-2.0
deepak78/luci
applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua
11
3168
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/LaLoff_Amphitheater/npcs/qm1_5.lua
17
2450
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Entrances) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/glob...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/divine_sword.lua
42
1076
----------------------------------------- -- ID: 16549 -- Item: Divine Sword -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
XasWorks/LZRTag
ESP/Redundant/MQTTTools.lua
1
1281
subTimer = tmr.create(); function compareTopics(receivedTopic, topicPattern) if(#topicPattern > #receivedTopic) then return false; end i = 1; while(i <= #receivedTopic and i <= #topicPattern) do if(topicPattern[i] == "#") then return true; elseif(topicPattern[i] == "+") then elseif(topicPattern[i] ~= ...
gpl-3.0
yarrrthegame/publicconfig
missions/tutorial.lua
1
2532
t = {} local yc = require( "yarrrconfig" ) function add_random_checkpoint( mission ) local destination = yc.random_location_around( { x=0, y=0 }, 1000 ) local till = universe_time() + 300; yc.add_objective_to( mission, { description = "Your last objective is to navigate the ship to position ".. destinatio...
mit
bmscoordinators/FFXI-Server
scripts/globals/items/flame_sword.lua
41
1070
----------------------------------------- -- ID: 16621 -- Item: Flame Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
gregdel/overthebox-feeds
otb-luci-swconfig/files/usr/lib/lua/luci/controller/otb_swconfig.lua
3
1664
-- vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 : module("luci.controller.otb_swconfig", package.seeall) function index() local has_switch = false local uci = require("luci.model.uci").cursor() uci:foreach("network", "switch", function(s) if s.name == 'otbv2sw' then has_switch = true ...
gpl-3.0
diamondo25/Vana
scripts/npcs/desc_tree.lua
2
2005
--[[ Copyright (C) 2008-2016 Vana Development Team 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 distributed in the hope that it will be useful, but WITHO...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters/npcs/Ranpi-Monpi.lua
14
5858
----------------------------------- -- Area: Windurst Waters -- NPC: Ranpi-Monpi -- Starts and Finishes Quest: A Crisis in the Making -- Involved in quest: In a Stew, For Want of a Pot, The Dawn of Delectability -- @zone = 238 -- @pos = -116 -3 52 (outside the shop he is in) ----------------------------------- packa...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/bowl_of_miso_soup.lua
12
2116
----------------------------------------- -- ID: 6466 -- Item: bowl_of_miso_soup -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +7% (cap 50) -- DEX +4 -- AGI +4 -- Accuracy +10% (cap 40) -- Attack +10% (cap 40) -- Ranged Accuracy +10% (cap 40) -- Ranged Attack +10% (cap 40) -----------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Norg/npcs/Mamaulabion.lua
9
8828
----------------------------------- -- Area: Norg -- NPC: Mamaulabion -- Starts and finishes Quest: Mama Mia -- @zone 252 -- @pos -57 -9 68 (88) --CSIDs for Mamaulabion --0x005D / 93 = Standard --0x00BF / 191 = start quest --0x00C0 / 192 = quest accepted --0x00C1 / 193 = given an item --0x00C2 / 194 = given an item yo...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/plate_of_boiled_barnacles.lua
12
1320
----------------------------------------- -- ID: 5980 -- Item: Plate of Boiled Barnacles -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Charisma -3 -- Defense % 25 Cap 130 ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/coral_butterfly.lua
12
1330
----------------------------------------- -- ID: 4580 -- Item: Coral Butterfly -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/wild_carrot.lua
27
1735
----------------------------------------- -- Spell: Wild Carrot -- Restores HP for the target party member -- Spell cost: 37 MP -- Monster Type: Beasts -- Spell Type: Magical (Light) -- Blue Magic Points: 3 -- Stat Bonus: HP+5 -- Level: 30 -- Casting Time: 2.5 seconds -- Recast Time: 6 seconds -- -- Combos: Resist Sle...
gpl-3.0
telenymous/botoftelenymous
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/items/humpty_dumpty_effigy.lua
12
1397
----------------------------------------- -- ID: 5683 -- Item: humpty_dumpty_effigy -- Food Effect: 3 hours, All Races ----------------------------------------- -- Max HP % 6 (cap 160) -- Max MP % 6 (cap 160) ----------------------------------------- require("scripts/globals/status"); --------------------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Lower_Jeuno/npcs/Alrauverat.lua
13
3644
----------------------------------- -- Area: Lower Jeuno -- NPC:Alrauverat -- @pos -101 0 -182 245 ------------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scrip...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Southern_San_dOria_[S]/npcs/HomePoint#1.lua
27
1300
----------------------------------- -- Area: Southern_San_dOria_[S] -- NPC: HomePoint#1 -- @pos -85.468 1.000 -66.454 80 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Southern_San_dOria_[S]/TextIDs...
gpl-3.0
cypherkey/AvorionMission
systems/cargoextension.lua
1
2519
package.path = package.path .. ";data/scripts/systems/?.lua" package.path = package.path .. ";data/scripts/lib/?.lua" require ("basesystem") require ("utility") require ("randomext") function getBonuses(seed, rarity) math.randomseed(seed) local perc = 10 -- base value, in percent -- add flat percentage ba...
gpl-3.0
mehrpouya81/masterbot
plugins/zac.lua
1
343604
do function run(msg, matches) return " ZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZAC™\nZA...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Ranguemont_Pass/Zone.lua
10
1728
----------------------------------- -- -- Zone: Ranguemont_Pass (166) -- ----------------------------------- package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Ranguemont_Pass/TextIDs"); require("scripts/globals...
gpl-3.0
kerb9729/ESOPublicAddons
Luminary_FishMe/core/SI.lua
1
1354
local SI = {} -- Bait Type SI.GUTS = "SI_GUTSz" SI.INSECTS = "SI_INSECTSz" SI.WORMS = "SI_WORMSz" SI.MINNOW = "SI_MINNOWz" SI.FISHROE = "SI_FISHROEz" SI.CHUB = "SI_CHUBz" SI.CRAWLERS = "SI_CRAWLERSz" SI.SHAD = "SI_SHADz" SI.AREUSEDIN = "SI_AREUSEDINz" -- Where SI.RIVERS = "SI_RIVERSz" SI.LAKES = "SI_LAKESz" SI.SEA ...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/zones/Dynamis-San_dOria/mobs/Wyrmgnasher_Bjakdek.lua
17
1208
----------------------------------- -- Area: Dynamis San d'Oria -- NPC: Wyrmgnasher Bjakdek -- Boss Trigger for Overlord's Tombstone ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ------------------------...
gpl-3.0
blackops97/KING_TELE
plugins/banhammer.lua
2
14153
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJADHUSSIEN (@TH3_Evil) ▀▄ ▄▀ ▀▄ ▄ JUST WRITED BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ ban hammer : الطرد والحظر ▀▄ ▄▀ ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/abilities/pets/geocrush.lua
28
1448
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Cirdas_Caverns_U/Zone.lua
17
1103
----------------------------------- -- -- Zone: Cirdas Caverns U -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Cirdas_Caverns_U/TextIDs"] = nil; require("scripts/zones/Cirdas_Caverns_U/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Attohwa_Chasm/Zone.lua
3
4670
----------------------------------- -- -- Zone: Attohwa_Chasm (7) -- ----------------------------------- package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Attohwa_Chasm/TextIDs");...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Aht_Urhgan_Whitegate/npcs/_1e1.lua
9
1190
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Salaheem's Sentinels (Door) -- @pos 23 -6 -63 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zo...
gpl-3.0
wingo/snabb
lib/pflua/src/pf/optimize.lua
25
33625
module(...,package.seeall) local bit = require('bit') local utils = require('pf.utils') local verbose = os.getenv("PF_VERBOSE"); local expand_arith, expand_relop, expand_bool local set, concat, dup, pp = utils.set, utils.concat, utils.dup, utils.pp -- Pflang's numbers are unsigned 32-bit integers, but sometimes we...
apache-2.0
bedros/lsyncd
tests/schedule.lua
13
1962
#!/usr/bin/lua require("posix") dofile("tests/testlib.lua") cwriteln("****************************************************************") cwriteln(" Testing Lsyncd scheduler ") cwriteln("****************************************************************") local tdir, srcdir, trgdir ...
gpl-2.0
spxtr/contrib
ingress/controllers/nginx/lua/vendor/lua-resty-http/lib/resty/http.lua
45
21496
local http_headers = require "resty.http_headers" local ngx_socket_tcp = ngx.socket.tcp local ngx_req = ngx.req local ngx_req_socket = ngx_req.socket local ngx_req_get_headers = ngx_req.get_headers local ngx_req_get_method = ngx_req.get_method local str_gmatch = string.gmatch local str_lower = string.lower local str_u...
apache-2.0
colesbury/nn
Padding.lua
17
2404
local Padding, parent = torch.class('nn.Padding', 'nn.Module') -- pad puts in [pad] amount of [value] over dimension [dim], starting at index [index] in that dimension. If pad<0, index counts from the left. If pad>0 index counts from the right -- index = 1 pads before index 1. index = 2 pads starting before index 2 ...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/zones/Norg/npcs/Marilleune.lua
5
1727
----------------------------------- -- Area: Norg -- NPC: Marilleune -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/chocobo"); require("scripts/globals/status"); ----------------------------------- -- onTra...
gpl-3.0
diamondo25/Vana
scripts/npcs/oldBook1.lua
2
3348
--[[ Copyright (C) 2008-2016 Vana Development Team 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 distributed in the hope that it will be useful, but WITHO...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/North_Gustaberg/mobs/Maneating_Hornet.lua
2
1090
----------------------------------- -- Area: North Gustaberg -- MOB: Maneating Hornet -- Note: Place Holder For Stinging Sophie ----------------------------------- require("scripts/zones/North_Gustaberg/MobIDs"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobDeath ------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/East_Ronfaure_[S]/npcs/qm3.lua
29
1569
----------------------------------- -- Area: East Ronfaure [S] -- NPC: qm3 "???" -- Involved in Quests: Steamed Rams -- @pos 312.821 -30.495 -67.15 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Valkurm_Dunes/npcs/qm1.lua
14
1246
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm1 (???) -- Involved In Quest: An Empty Vessel -- @pos 238.524 2.661 -148.784 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Valkurm_Dune...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Lower_Jeuno/npcs/Fephita.lua
5
1732
----------------------------------- -- Area: Lower Jeuno -- NPC: Fephita -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/chocobo"); require("scripts/globals/status"); ----------------------------------- -- o...
gpl-3.0
lukiano/finagle
finagle-mux/src/main/lua/mux_dissector.lua
2
12992
---------------------------------------- -- -- A wireshark dissector for Mux. -- -- See README.md for instructions. -- -- Disclaimers: -- This is based on Wireshark's example Lua dissector for DNS. -- There are almost certainly horrible things afoot here -- as I cobbled it together without knowing either Lua or Wiresha...
apache-2.0