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
bmscoordinators/FFXI-Server
scripts/zones/Xarcabard_[S]/mobs/Fusty_Gnole.lua
17
1823
----------------------------------- -- Area: Xarcabard (S) -- NPC: Fusty Gnole ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:setLocalVar("transformTime", os.time()) end; -------------------------------...
gpl-3.0
pakozm/april-ann
packages/bayesian/package.lua
3
1285
package{ name = "bayesian", version = "1.0", depends = { "util", "matrix", "dataset", "trainable", "random", "stats" }, keywords = { "Bayesian optimization algorithms" }, description = "", -- targets como en ant target{ name = "init", mkdir{ dir = "build" }, mkdir{ dir = "include" }, ...
gpl-3.0
pakozm/april-ann
packages/basics/stats/package.lua
3
1386
package{ name = "stats", version = "1.0", depends = { "util", "matrix", "random", "aprilio" }, keywords = { "stats" }, description = "no description available", -- targets como en ant target{ name = "init", mkdir{ dir = "build" }, mkdir{ dir = "include" }, }, target{ name = "clea...
gpl-3.0
jheusala/freeciv-extended
dependencies/tolua-5.1/src/bin/lua/class.lua
5
2787
-- tolua: class 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
bmscoordinators/FFXI-Server
scripts/zones/Northern_San_dOria/npcs/Bertenont.lua
14
1763
----------------------------------- -- Area: Northern San d'Oria -- NPC: Bertenont -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- @pos -165 0.1 226 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/z...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Periqia/instances/seagull_grounded.lua
29
4665
----------------------------------- -- -- Assault: Seagull Grounded -- ----------------------------------- require("scripts/zones/Periqia/IDs"); ----------------------------------- -- afterInstanceRegister ----------------------------------- function afterInstanceRegister(player) local instance = player:getIns...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Woods/npcs/Cayu_Pensharhumi.lua
14
1472
----------------------------------- -- Area: Windurst Woods -- NPC: Cayu Pensharhumi -- Type: Standard NPC -- @pos 39.437 -0.91 -40.808 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requir...
gpl-3.0
zyhkz/waifu2x
lib/ClippedWeightedHuberCriterion.lua
3
1717
-- ref: https://en.wikipedia.org/wiki/Huber_loss local ClippedWeightedHuberCriterion, parent = torch.class('w2nn.ClippedWeightedHuberCriterion','nn.Criterion') function ClippedWeightedHuberCriterion:__init(w, gamma, clip) parent.__init(self) self.clip = clip self.gamma = gamma or 1.0 self.weight = w:clone(...
mit
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/tail_slap.lua
21
2101
----------------------------------------- -- 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
bmscoordinators/FFXI-Server
scripts/globals/magic.lua
2
45731
require("scripts/globals/magicburst"); require("scripts/globals/status"); require("scripts/globals/weather"); require("scripts/globals/utils"); require("scripts/globals/settings"); MMSG_BUFF_FAIL = 75; DIVINE_MAGIC_SKILL = 32; HEALING_MAGIC_SKILL = 33; ENHANCING_MAGIC_SKILL = 34; ENFEEBLIN...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/commands/exec.lua
54
1121
--------------------------------------------------------------------------------------------------- -- func: exec -- desc: Allows you to execute a Lua string directly from chat. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 4, para...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Bastok/npcs/Raifa.lua
14
1039
----------------------------------- -- Area: Port Bastok -- NPC: Raifa -- Type: Quest Giver -- @zone 236 -- @pos -166.416 -8.48 7.153 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; -------------------------...
gpl-3.0
blackops97/KING_TELE
plugins/me.lua
2
1580
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJADHUSSIEN (@TH3_Evil) ▀▄ ▄▀ ▀▄ ▄ JUST WRITED BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ ME : موقعي ▀▄ ▄▀ ▀▄▀...
gpl-2.0
nsimplex/wicker
plugins/addworldgenparameterspostconstruct.lua
6
1101
local Lambda = wickerrequire "paradigms.functional" local FunctionQueue = wickerrequire "gadgets.functionqueue" local postconstructs = FunctionQueue() local function AddParamsPostConstruct(fn) table.insert(postconstructs, fn) end local function PatchJsonEncode(encode) local type = type local depth = 0 local fu...
gpl-2.0
midnightviking/simple-rotation
Libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua
50
10384
--[[----------------------------------------------------------------------------- TabGroup Container Container that uses tabs on top to switch between groups. -------------------------------------------------------------------------------]] local Type, Version = "TabGroup", 35 local AceGUI = LibStub and LibStub("AceGUI...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Port_Jeuno/npcs/Kochahy-Muwachahy.lua
13
3641
----------------------------------- -- Area: Port Jeuno -- NPC: Kochahy-Muwachahy -- @pos 40 0 6 246 ------------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scri...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Waters_[S]/npcs/Kopol-Rapol.lua
14
1064
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Kopol-Rapol -- Type: Standard NPC -- @zone 94 -- @pos 131.179 -6.75 172.758 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ...
gpl-3.0
Shayan123456/botttttt10
plugins/danbooru.lua
31
1751
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Al_Zahbi/npcs/Macici.lua
53
2304
----------------------------------- -- Area: Al Zahbi -- NPC: Macici -- Type: Smithing Normal/Adv. Image Support -- @pos -35.163 -1 -31.351 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scr...
gpl-3.0
midnightviking/simple-rotation
Libs/AceAddon-3.0/AceAddon-3.0.lua
66
25788
--- **AceAddon-3.0** provides a template for creating addon objects. -- It'll provide you with a set of callback functions that allow you to simplify the loading -- process of your addon.\\ -- Callbacks provided are:\\ -- * **OnInitialize**, which is called directly after the addon is fully loaded. -- * **OnEnable** wh...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Jugner_Forest/npcs/Stone_Monument.lua
14
1294
----------------------------------- -- Area: Jugner Forest -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos -65.976 -23.829 -661.362 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
suxinde2009/wesnoth
data/multiplayer/scenarios/2p_Dark_Forecast.lua
3
17418
local helper = wesnoth.require("lua/helper.lua") local _ = wesnoth.textdomain 'wesnoth-multiplayer' local T = helper.set_wml_tag_metatable {} local event_handlers = {} local old_on_event = wesnoth.game_events.on_event or function(eventname) end wesnoth.game_events.on_event = function(eventname) for k,v in pairs(even...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/items/viking_herring.lua
12
1556
----------------------------------------- -- ID: 5183 -- Item: viking_herring -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -3 -- Attack % 12 (cap 75) -- Ranged ATT % 12 (cap 75) ----------------------------------------- require("scripts/globals/status"); ----------...
gpl-3.0
wingo/snabb
src/lib/protocol/ipv6.lua
5
5164
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local ffi = require("ffi") local C = ffi.C local lib = require("core.lib") local header = require("lib.protocol.header") local htons, ntohs = lib.htons, lib.ntohs local AF_INET6 = 10 local INET6_ADDRSTRLEN = 48 ...
apache-2.0
trigrass2/gopher-lua
_lua5.1-tests/checktable.lua
22
1910
assert(rawget(_G, "stat") == nil) -- module not loaded before if T == nil then stat = function () print"`querytab' nao ativo" end return end function checktable (t) local asize, hsize, ff = T.querytab(t) local l = {} for i=0,hsize-1 do local key,val,next = T.querytab(t, i + asize) if key == nil t...
mit
emoon/wrui
bin/macosx/tundra/scripts/tundra/syntax/install.lua
28
1133
-- install.lua - Express file copying in unit form. module(..., package.seeall) local nodegen = require "tundra.nodegen" local files = require "tundra.syntax.files" local path = require "tundra.path" local util = require "tundra.util" local depgraph = require "tundra.depgraph" local _mt = nodegen.create_...
mit
bmscoordinators/FFXI-Server
scripts/globals/items/brass_loach.lua
12
1402
----------------------------------------- -- ID: 5469 -- Item: Brass Loach -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity +2 -- Mind +4 -- Evasion +5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
deepak78/luci
protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua
7
3622
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- local ma...
apache-2.0
RockySeven3161/NewBot
plugins/media.lua
297
1590
do local function run(msg, matches) local receiver = get_receiver(msg) local url = matches[1] local ext = matches[2] local file = download_to_file(url) local cb_extra = {file_path=file} local mime_type = mimetype.get_content_type_no_sub(ext) if ext == 'gif' then print('send_file') send_docum...
gpl-2.0
Rainrider/AdiButtonAuras
core/RuleDSL.lua
1
20914
--[[ 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
aliwvw/Smart_guy
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
DekuJuice/DICK
dick/widgets/Slider.lua
1
3915
local PATH = (...):gsub(".widgets.Slider","") local core = require(PATH .. ".core") local Widget = require(PATH .. ".widgets.Widget") local round = core.math.round local clamp = core.math.clamp local Slider = Widget:subclass("DickSlider") function Slider:initialize(args) args = args or core._nothing Widget.i...
mit
bmscoordinators/FFXI-Server
scripts/zones/Bastok_Markets/npcs/Belizieg.lua
14
1140
----------------------------------- -- Area: Bastok Markets -- NPC: Belizieg -- Type: Item Deliverer -- @zone 235 -- @pos -323.673 -16.001 -49.930 -- -- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011 ----------------------------------- package.loaded["scripts/zones/Bastok_Marke...
gpl-3.0
deepak78/luci
applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua
78
2765
--[[ Luci configuration model for statistics - collectd netlink plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Licen...
apache-2.0
colesbury/nn
JoinTable.lua
11
2075
local JoinTable, parent = torch.class('nn.JoinTable', 'nn.Module') function JoinTable:__init(dimension, nInputDims) parent.__init(self) self.size = torch.LongStorage() self.dimension = dimension self.gradInput = {} self.nInputDims = nInputDims end function JoinTable:_getPositiveDimension(input) loca...
bsd-3-clause
diamondo25/Vana
scripts/npcs/s4holycharge.lua
2
1247
--[[ 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
alijoooon/wshgh
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
bmscoordinators/FFXI-Server
scripts/zones/Mhaura/npcs/HomePoint#1.lua
27
1254
----------------------------------- -- Area: Mhaura -- NPC: HomePoint#1 -- @pos -12.750 -15.791 87.286 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/homepoint"); ---...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Rabao/npcs/Porter_Moogle.lua
14
1508
----------------------------------- -- Area: Rabao -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 247 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Rabao/TextIDs"); require("scripts/glo...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/North_Gustaberg/Zone.lua
12
3962
----------------------------------- -- -- Zone: North_Gustaberg (106) -- ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/North_Gustaberg/TextIDs"); requ...
gpl-3.0
wingo/snabb
src/program/packetblaster/synth/synth.lua
14
1360
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local config = require("core.config") local main = require("core.main") local Synth = require("apps.test.synth").Synth local lib = require("core.lib") local packetblaster = require("program.pa...
apache-2.0
bmscoordinators/FFXI-Server
scripts/globals/spells/noctohelix.lua
26
1689
-------------------------------------- -- Spell: Noctohelix -- Deals dark damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/ma...
gpl-3.0
rbazaud/vlc
share/lua/sd/icecast.lua
82
2757
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot org> 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 ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/globals/spells/esuna.lua
33
4143
----------------------------------------- -- Spell: Esuna -- ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spel...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Dho_Gates/Zone.lua
17
1213
----------------------------------- -- -- Zone: Foret de Hennetiel -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dho_Gates/TextIDs"] = nil; require("scripts/zones/Dho_Gates/TextIDs"); ----------------------------------- -- onInitialize -------------------...
gpl-3.0
XtBot/xt
plugins/Cpu.lua
9
1894
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' yo...
gpl-2.0
LuaDist2/cassandra
src/cassandra/constants.lua
8
2550
local error_codes = { SERVER = 0x0000, PROTOCOL = 0x000A, BAD_CREDENTIALS = 0x0100, UNAVAILABLE_EXCEPTION = 0x1000, OVERLOADED = 0x1001, IS_BOOTSTRAPPING = 0x1002, TRUNCATE_ERROR = 0x1003, WRITE_TIMEOUT = 0x1100, READ_TIMEOUT = 0x1200, SYNTAX_ERROR = 0x2000, UNAUTHORIZED = 0x2100, INVALID = 0x22...
mit
bmscoordinators/FFXI-Server
scripts/zones/Northern_San_dOria/npcs/Gilipese.lua
14
1039
----------------------------------- -- Area: Northern San d'Oria -- NPC: Gilipese -- Type: Standard Dialogue NPC -- @zone 231 -- @pos -155.088 0.000 120.300 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Bastok_Markets/npcs/Yafafa.lua
17
1584
----------------------------------- -- Area: Bastok Markets -- NPC: Yafafa -- Only sells when Bastok controls Kolshushu -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts...
gpl-3.0
cypherkey/AvorionMission
lib/randomext.lua
1
2266
-- This library serves as an extension to the existing random functions. -- The math.random() function uses the c rand() and srand() functions, which are global for all lua states. -- This means that whenever a lua state sets a new seed or requests a new value, the seed is changed for all other lua states as well. -- I...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Konschtat_Highlands/npcs/Cavernous_Maw.lua
29
1900
----------------------------------- -- Area: Konschtat Highlands -- NPC: Cavernous Maw -- @pos 96.344, -69.080, -580.008 108 -- Teleports Players to Abyssea - Konschtat ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Toraimarai_Canal/npcs/Transporter.lua
14
1296
----------------------------------- -- Area: Toraimarai Canal -- NPC: Transporter -- Involved In Windurst Mission 7-1 -- @zone 169 -- @pos 182 11 -60 169 ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; require("scripts/zones/Toraimarai_Canal/TextIDs"); --------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Kazham/npcs/Majjih_Bakrhamab.lua
30
1383
----------------------------------- -- Area: Kazham -- NPC: Majjih Bakrhamab -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------...
gpl-3.0
cheney247689848/Cloud-edge
Assets/ToLua/Lua/jit/dis_arm.lua
59
19344
---------------------------------------------------------------------------- -- LuaJIT ARM disassembler module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
mit
tehran98/Team-Spammer
bot/utils.lua
356
14963
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/South_Gustaberg/npcs/Field_Manual.lua
29
1063
----------------------------------- -- Field Manual -- Area: South Gustaberg ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ------------------------------...
gpl-3.0
Penguinum/keyboard-war
lib/CScreen.lua
1
2778
--[[ CScreen v1.3 by CodeNMore A simple way to make resolution-independent Love2D games Tested for LOVE 0.10.1 See: https://github.com/CodeNMore/CScreen Zlib License: Copyright (c) 2016 CodeNMore This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable fo...
mit
bmscoordinators/FFXI-Server
scripts/zones/Garlaige_Citadel/mobs/Fallen_Mage.lua
2
1083
----------------------------------- -- Area: Garlaige Citadel -- MOB: Fallen Mage -- Note: Place holder Hovering Hotpot ----------------------------------- require("scripts/zones/Garlaige_Citadel/MobIDs"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onMobDeath -------------------...
gpl-3.0
deepak78/luci
libs/web/luasrc/http/protocol/date.lua
88
2760
--[[ HTTP protocol implementation for LuCI - date handling (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www....
apache-2.0
gganssle/scimirrorbot
rnn/util/model_utils.lua
11
5151
-- adapted from https://github.com/wojciechz/learning_to_execute -- utilities for combining/flattening parameters in a model -- the code in this script is more general than it needs to be, which is -- why it is kind of a large require 'torch' local model_utils = {} function model_utils.combine_all_parameters(...) ...
mit
hsgrishe/recycle-bin
notfpsfix.lua
1
2205
if SERVER then // Initialize serverside stuff function GM:Initialize() local FogController = nil for k, v in pairs( ents.FindByClass( "env_fog_controller" ) ) do v:SetKeyValue( "fogend", 2000 ) v:SetKeyValue( "fogstart", 500 ) v:SetKeyValue( "farz", 2000 ) FogController = v...
mit
fps-vogel/maccer
luapower/csrc/luajit/src/src/host/genlibbc.lua
51
4965
---------------------------------------------------------------------------- -- Lua script to dump the bytecode of the library functions written in Lua. -- The resulting 'buildvm_libbc.h' is used for the build process of LuaJIT. ---------------------------------------------------------------------------- -- Copyright (...
gpl-3.0
deepak78/luci
libs/core/luasrc/ccache.lua
17
1865
--[[ 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 ht...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/Spire_of_Holla/bcnms/ancient_flames_beckon.lua
29
4222
----------------------------------- -- Area: Spire_of_Holla -- Name: ancient_flames_backon -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scrip...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/items/calico_comet.lua
12
1340
----------------------------------------- -- ID: 5715 -- Item: Calico Comet -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
vitiwari/test_top_process_memory_vi
index.lua
1
1749
-- Copyright 2015 Boundary, Inc. -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applicable law or agreed to i...
apache-2.0
rbazaud/vlc
share/lua/playlist/france2.lua
113
2115
--[[ $Id$ Copyright © 2008 the VideoLAN team Authors: Antoine Cellerier <dionoea at videolan dot org> 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 ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua
7
1317
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6554; -- Obtained: <item>. GIL_OBTAINED = 6555; -- Obtained <number> gil. KEYITEM_OBTAINED = 6557; -- Obtained...
gpl-3.0
deepak78/luci
modules/admin-mini/luasrc/controller/mini/system.lua
10
6669
--[[ 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
wingo/snabb
src/lib/protocol/icmp/header.lua
6
2149
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local ffi = require("ffi") local C = ffi.C local header = require("lib.protocol.header") local lib = require("core.lib") local ipsum = require("lib.checksum").ipsum -- XXX IPv4 and IPv6 use the same ICMP header ...
apache-2.0
tehran98/Team-Spammer
plugins/lyrics.lua
695
2113
do local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs' local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5' local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect' local function getInfo(query) print('Getting info of ' .. query) local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY ...
gpl-2.0
ashkanpj/fire-creed
plugins/Lyrics.lua
695
2113
do local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs' local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5' local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect' local function getInfo(query) print('Getting info of ' .. query) local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Sealions_Den/mobs/Ultima.lua
20
1726
----------------------------------- -- Area: Sealions Den -- MOB: Ultima ----------------------------------- require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) mob:setMobMod(MOBMOD_ADD_EFFECT,mob:getS...
gpl-3.0
raedwulf/awesome
luadoc/tag.lua
3
1111
--- awesome tag API -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008-2009 Julien Danjou module("tag") --- Tag object. -- @field name Tag name. -- @field screen Screen number of the tag. -- @field selected True if the client is selected to be viewed. -- @class table -- @name tag --- Get or set th...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Aht_Urhgan_Whitegate/npcs/Tsih_Kolgimih.lua
14
1059
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Tsih Kolgimih -- Type: Event Scene Replayer -- @pos -143.000 0.999 11.000 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/A...
gpl-3.0
5620g/38196040
plugins/leders.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/weaponskills/sunburst.lua
23
1316
----------------------------------- -- Sunburst -- Staff weapon skill -- Skill Level: 150 -- Deals light or darkness elemental damage. Damage varies with TP. -- Aligned with the Shadow Gorget & Aqua Gorget. -- Aligned with the Shadow Belt & Aqua Belt. -- Element: Light/Dark -- Modifiers: : STR:40% MND:40% -- 100%TP ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Lower_Jeuno/npcs/Gurdern.lua
17
1379
----------------------------------- -- Area: Lower Jeuno -- NPC: Gurdern -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/quests"); ------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Southern_San_dOria/npcs/Cahaurme.lua
14
1988
----------------------------------- -- Area: Southern San d'Oria -- NPC: Cahaurme -- Involved in Quest: A Knight's Test, Lost Chick -- @zone 230 -- @pos 55.749 -8.601 -29.354 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Yhoator_Jungle/Zone.lua
11
4018
----------------------------------- -- -- Zone: Yhoator_Jungle (124) -- ----------------------------------- package.loaded[ "scripts/zones/Yhoator_Jungle/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Yhoator_Jungle/TextIDs"); requir...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/effects/sentinel.lua
33
1256
----------------------------------- -- -- EFFECT_SENTINEL -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:addMod(MOD_UDMGPHYS,-effect:getPower()); ...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/bluemagic/claw_cyclone.lua
35
1772
----------------------------------------- -- Spell: Claw Cyclone -- Damages enemies within area of effect with a twofold attack. Damage varies with TP -- Spell cost: 24 MP -- Monster Type: Beasts -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 20 -- Casting Time: 1 seconds -- R...
gpl-3.0
jochem-brouwer/VO2_Model
Run_RandomBond_Smart2.lua
1
5854
local Lattice = require 'Lattice' local MyLattice = Lattice:New(); math.randomseed(12345) local Model = require 'Model'; Model = Model:New(); Model.Lattice = MyLattice; MyLattice:Init(100,100,1); MyLattice:InitRandomBond(0.5,1,true); MyLattice:InitRandomField(0,0); --MyLattice.J = 1; -- If you want to calculate resi...
mit
XasWorks/LZRTag
ESP/MQTTConnect.lua
1
2458
clientID = "Lasertag_"..playerID homeQTT = mqtt.Client(clientID, 10); homeQTT:lwt(playerTopic .. "/Connection", "", 1, 1); -------------- --- SUB HANDLER FUNCTIONS -------------- mqttSubTimer = tmr.create(); mqttSubQueue = {}; mqttSubList = {}; function mqttSoftSubscribe(topic) table.insert(mqttSubQueue, topic); ...
gpl-3.0
aliwvw/Smart_guy
plugin/fuck_edit.lua
3
1627
--[[ _ _ _ _ ___ ___ _ __ _| |__ ___ ___| | ___ __ ___ _ __ (_) __ _ / |/ _ \ / _ \| | __ / _` | '_ \ / _ \/ __| |/ / '__/ _ \| '_ \ | |/ _` | | | | | | | | | |/ / | (_| | |_) | (_) \__ \ <| | | (_) | |_) | | | (_| | | | |_| | |_| | < ...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Arrapago_Reef/npcs/qm10.lua
14
3108
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? -- Starts: Corsair Af1 ,AF2 ,AF3 -- @pos 457.128 -8.249 60.795 54 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/titles"); require("scripts/zones/Arrapago_Reef/Tex...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Norg/npcs/Porter_Moogle.lua
14
1505
----------------------------------- -- Area: Norg -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 252 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Norg/TextIDs"); require("scripts/global...
gpl-3.0
Whit3Tig3R/spammn1
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
cypherkey/AvorionMission
systems/smugglerblocker.lua
1
1736
package.path = package.path .. ";data/scripts/systems/?.lua" package.path = package.path .. ";data/scripts/lib/?.lua" require ("basesystem") require ("utility") function onInstalled() if onClient() then Player():registerCallback("onStartDialog", "onStartDialog") end end function onStartDialog(entityIn...
gpl-3.0
deepak78/luci
libs/nixio/docsrc/nixio.TLSSocket.lua
173
2926
--- TLS Socket Object. -- TLS Sockets contain the underlying socket and context in the fields -- "socket" and "context". -- @cstyle instance module "nixio.TLSSocket" --- Initiate the TLS handshake as client with the server. -- @class function -- @name TLSSocket.connect -- @usage This function calls SSL_connect(). -- @...
apache-2.0
andrenho/tinyvm
tools/libs/argparse.lua
5
29166
-- The MIT License (MIT) -- Copyright (c) 2013 - 2015 Peter Melnichenko -- 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 --...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/lightning_carol.lua
27
1547
----------------------------------------- -- Spell: Lightning Carol -- Increases lightning resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/RuLude_Gardens/npcs/Harith.lua
14
3610
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Harith -- Type: Standard NPC -- @pos -4.349 1 134.014 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globa...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Wajaom_Woodlands/npcs/Watisa.lua
2
1712
----------------------------------- -- Area: Wajaom Woodlands -- NPC: Watisa -- Type: Chocobo Renter -- @pos -201 -11 93 51 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/chocobo"); require("scripts/globals/status"); ----------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Windurst_Woods/npcs/Shih_Tayuun.lua
27
1188
----------------------------------- -- Area: Windurst Woods -- NPC: Shih Tayuun -- Guild Merchant NPC: Bonecrafting Guild -- @pos -3.064 -6.25 -131.374 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
diamondo25/Vana
scripts/npcs/taxi4.lua
2
2313
--[[ 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
suxinde2009/wesnoth
data/ai/lua/ai_helper.lua
28
56354
local H = wesnoth.require "lua/helper.lua" local W = H.set_wml_action_metatable {} local LS = wesnoth.require "lua/location_set.lua" -- This is a collection of Lua functions used for custom AI development. -- Note that this is still work in progress with significant changes occurring -- frequently. Backward compatibil...
gpl-2.0
bmscoordinators/FFXI-Server
scripts/zones/Upper_Jeuno/npcs/HomePoint#3.lua
27
1256
----------------------------------- -- Area: Upper Jeuno -- NPC: HomePoint#3 -- @pos -52 1 16 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/homepoint"); --...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/RuLude_Gardens/Zone.lua
5
6251
----------------------------------- -- -- Zone: RuLude_Gardens (243) -- ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/missions"); require("scripts/globals/que...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/spells/foe_requiem_ii.lua
26
1630
----------------------------------------- -- Spell: Foe Requiem II ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0