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
N0U/Zero-K
scripts/pw_wormhole.lua
5
1839
include "constants.lua" local base = piece('base') local panel1, panel2 = piece('pannel1', 'pannel2') local slider1, slider2, focal1, focal2 = piece('slider1', 'slider2', 'focal1', 'focal2') local wheel1, wheel2 = piece('wheel1', 'wheel2') local turret, cylinder, cannon, cannonbase = piece('turret', 'cylinder', 'canon...
gpl-2.0
Arcscion/Shadowlyre
scripts/globals/equipment.lua
23
3247
require("scripts/globals/status"); BaseNyzulWeapons = { 18492, -- (WAR) Sturdy Axe 18753, -- (MNK) Burning Fists 18851, -- (WHM) Werebuster 18589, -- (BLM) Mage's Staff 17742, -- (RDM) Vorpal Sword ...
gpl-3.0
N0U/Zero-K
LuaRules/Gadgets/unit_self_destruct.lua
4
2838
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Vunkerl_Inlet_[S]/npcs/Indescript_Markings.lua
3
1564
---------------------------------- -- Area: Meriphataud_Mountains_[S] -- NPC: Indescript Markings -- Type: Quest -- !pos -629.179 -49.002 -429.104 1 83 ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Vunk...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Port_Jeuno/Zone.lua
26
3735
----------------------------------- -- -- Zone: Port_Jeuno (246) -- ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- --...
gpl-3.0
ra-kalai/lem
test/htestpasssocket.lua
1
4407
#!bin/lem -- -- This file is part of LEM, a Lua Event Machine. -- Copyright 2011-2012 Emil Renner Berthing -- Copyright 2013 Asbjørn Sloth Tønnesen -- -- LEM is free software: you can redistribute it and/or modify it -- under the terms of the GNU Lesser General Public License as -- published by the Free Software Founda...
lgpl-3.0
arcemu-ng/arcemu
src/scripts/lua/Lua/0Misc/0LCF_Includes/LCF_Gameobject.lua
18
2928
--[[ * ArcEmu MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2008-2010 <http://www.ArcEmu.org/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Softwa...
agpl-3.0
Arcscion/Shadowlyre
scripts/globals/spells/bio_ii.lua
3
2479
----------------------------------------- -- Spell: Bio II -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/weaponskills/tachi_shoha.lua
22
1782
----------------------------------- -- Tachi: Shoha -- Great Katana weapon skill -- Skill Level: 357 -- Delivers a two-hit attack. Damage varies with TP. -- To obtain Tachi: Shoha, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu. -- Suspected to have an Attack Bonus simil...
gpl-3.0
jono659/enko
scripts/zones/Temenos/mobs/Ice_Elemental.lua
17
1719
----------------------------------- -- Area: Temenos E T -- NPC: Ice_Elemental ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------------...
gpl-3.0
srvz/telegram-bot
plugins/qr.lua
637
1730
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
verath/GuildSkadaHighScore
src/options.lua
1
8239
-- -- options.lua -- -- Contains options setup and management -- local addonName, addonTable = ... -- Cached globals local format = format; local wipe = wipe; -- Non-cached globals (for mikk's FindGlobals script) -- GLOBALS: LibStub, InterfaceOptionsFrame_OpenToCategory -- Set up module local addon = addonTable[...
mit
CQUI-Org/cqui
Assets/UI/citysupport.lua
5
20486
-- =========================================================================== -- -- City Support -- Civilization VI, Firaxis Games -- =========================================================================== include("Civ6Common"); -- =========================================================================== -- C...
mit
jono659/enko
scripts/zones/PsoXja/npcs/HomePoint#1.lua
12
1170
----------------------------------- -- Area: PsoXja -- NPC: HomePoint#1 -- @pos -58 40 14 10 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/homepoint"); -----------------...
gpl-3.0
jono659/enko
scripts/zones/Bhaflau_Thickets/mobs/Sea_Puk.lua
12
1223
----------------------------------- -- Area: Bhaflau Thickets -- MOB: Sea Puk -- Note: Place holder Nis Puk ----------------------------------- require("/scripts/zones/Bhaflau_Thickets/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,kil...
gpl-3.0
Moodstocks/torch7
torchcwrap.lua
7
17895
local wrap = require 'cwrap' local types = wrap.types types.Tensor = { helpname = function(arg) if arg.dim then return string.format("Tensor~%dD", arg.dim) else return "Tensor" end end, declare = function(arg...
bsd-3-clause
jono659/enko
scripts/zones/Northern_San_dOria/npcs/Danngogg.lua
36
1427
----------------------------------- -- Area: Northern San d'Oria -- NPC: Danngogg -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
jono659/enko
scripts/globals/weaponskills/sniper_shot.lua
30
1451
----------------------------------- -- Sniper Shot -- Marksmanship weapon skill -- Skill Level: 80 -- Lowers enemy's INT. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: AGI:70% -- 100%TP 2...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Hall_of_Transference/npcs/_0e3.lua
3
1358
----------------------------------- -- Area: Hall of Transference -- NPC: Large Apparatus (Left) - Holla -- !pos -239 -1 290 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scri...
gpl-3.0
jono659/enko
scripts/globals/spells/bluemagic/mp_drainkiss.lua
10
1944
----------------------------------------- -- Spell: MP Drainkiss -- Steals an enemy's MP. Ineffective against undead -- Spell cost: 20 MP -- Monster Type: Amorphs -- Spell Type: Magical (Dark) -- Blue Magic Points: 4 -- Stat Bonus: MP+5 -- Level: 42 -- Casting Time: 4 seconds -- Recast Time: 90 seconds -- Ma...
gpl-3.0
jono659/enko
scripts/zones/Xarcabard/npcs/Heavy_Bear_IM.lua
30
3041
----------------------------------- -- Area: Xarcabard -- NPC: Heavy Bear, I.M. -- Type: Border Conquest Guards -- @pos -133.678 -22.517 112.224 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
jono659/enko
scripts/globals/abilities/dark_maneuver.lua
54
1332
----------------------------------- -- Ability: Dark Maneuver -- Enhances the effect of dark attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Port_Jeuno/npcs/Leyla.lua
17
1514
----------------------------------- -- Area: Port Jeuno -- NPC: Leyla -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Acti...
gpl-3.0
kmx/mirror-im
html/wb/wb_usr.lua
1
18572
wb_usr = { contact = "im@tecgraf.puc-rio.br", title_bgcolor = "#3366CC", copyright_link = "http://www.tecgraf.puc-rio.br", search_link = "http://www.tecgraf.puc-rio.br/im", start_size = "180", langs = {"en"}, copyright_name = "Tecgraf/PUC-Rio", file_title = "im", start_open = "1", google_i...
mit
jono659/enko
scripts/zones/Beaucedine_Glacier_[S]/npcs/Gray_Colossus_LC.lua
38
1071
----------------------------------- -- Area: Beaucedine Glacier (S) -- NPC: Gray Colossus, L.C. -- Type: Campaign Arbiter -- @zone: 136 -- @pos 76.178 -60.763 -48.775 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Yuhtunga_Jungle/npcs/Luck_Rune.lua
3
1060
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- !pos -95.486 11.188 418.153 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Yuht...
gpl-3.0
jono659/enko
scripts/zones/Northern_San_dOria/npcs/Matildie.lua
34
1696
----------------------------------- -- Area: Northern San d'Oria -- NPC: Matildie -- Adventurer's Assistant ------------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
imanmafi/Algorithm-Implementations
Caesar_Cipher/Lua/Yonaba/caesar_cipher_test.lua
26
1202
-- Tests for caesar_cipher.lua local caesar = require 'caesar_cipher' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 ...
mit
Arcscion/Shadowlyre
scripts/globals/effects/weakness.lua
34
1361
----------------------------------- -- -- Weakness -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) --reduce HP and MP by the power amount. Add 100% slow ...
gpl-3.0
N0U/Zero-K
LuaRules/Gadgets/unit_bomber_command.lua
4
27714
------------------------------------------------------------------------------ -- HOW IT WORKS: -- After firing, set ammo to 0 and look for a pad -- Find first combat order and queue rearm order before it -- If bomber idle and out of ammo (UnitIdle), give it rearm order -- When bomber is in range of airpad (GameFrame...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Metalworks/npcs/Baldric.lua
3
1742
----------------------------------- -- Area: Metalworks -- NPC: Baldric -- Type: Quest Giver -- @zone 237 -- !pos -50.858 1.777 -31.141 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings") require("scri...
gpl-3.0
OptiPop/external_chromium_org_third_party_skia
tools/lua/bitmap_statistics.lua
207
1862
function string.startsWith(String,Start) return string.sub(String,1,string.len(Start))==Start end function string.endsWith(String,End) return End=='' or string.sub(String,-string.len(End))==End end local canvas = nil local num_perspective_bitmaps = 0 local num_affine_bitmaps = 0 local num_scaled_bitmaps = 0 loc...
bsd-3-clause
rtsisyk/tarantool
src/lua/strict.lua
12
1376
-- strict.lua -- checks uses of undeclared global variables -- All global variables must be 'declared' through a regular assignment -- (even assigning nil will do) in a main chunk before being used -- anywhere or assigned to inside a function. -- local getinfo, error, rawset, rawget = debug.getinfo, error, rawset, raw...
bsd-2-clause
Arcscion/Shadowlyre
scripts/globals/items/puk_egg.lua
12
1166
----------------------------------------- -- ID: 5569 -- Item: puk_egg -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 6 -- Magic 6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------...
gpl-3.0
jono659/enko
scripts/globals/items/slice_of_juicy_mutton.lua
35
1397
----------------------------------------- -- ID: 4335 -- Item: slice_of_juicy_mutton -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 35 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
jono659/enko
scripts/zones/Lower_Jeuno/npcs/_l04.lua
36
1559
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -73.039 6 -95.633 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
spawnazzo/luci
applications/luci-statistics/luasrc/statistics/i18n.lua
69
2405
--[[ Luci statistics - diagram i18n helper (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.org/licen...
apache-2.0
jono659/enko
scripts/zones/Port_San_dOria/npcs/Coullave.lua
36
1889
----------------------------------- -- Area: Port San d'Oria -- NPC: Coullave -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/quests"); requ...
gpl-3.0
N0U/Zero-K
units/tankriot.lua
2
3659
unitDef = { unitname = [[tankriot]], name = [[Ogre]], description = [[Heavy Riot Support Tank]], acceleration = 0.02181, brakeRate = 0.04282, buildCostMetal = 520, builder = false, buildPic = [[tankriot.png]], canGuard ...
gpl-2.0
maysam0111/nn
plugins/plugins.lua
88
6304
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
Arcscion/Shadowlyre
scripts/zones/Port_Windurst/npcs/Melek.lua
3
4102
----------------------------------- -- Area: Port Windurst -- NPC: Melek -- Involved in Mission 2-3 -- @zone 240 -- !pos -80 -5 158 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts...
gpl-3.0
N0U/Zero-K
LuaUI/Widgets/gui_attrition_counter.lua
5
18337
local version = 2.131 function widget:GetInfo() return { name = "Attrition Counter", desc = "Shows a counter that keeps track of player/team kills/losses", author = "Anarchid, Klon", date = "Dec 2012, Aug 2015", license = "GPL", layer = -10, enabled = false -- l...
gpl-2.0
Arcscion/Shadowlyre
scripts/zones/Abyssea-Uleguerand/npcs/qm2.lua
3
1423
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm2 (???) -- Spawns Dhorme Khimaira -- !pos ? ? ? 253 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tr...
gpl-3.0
francisleunggie/openface
util/profile-network.lua
10
1086
#!/usr/bin/env th -- -- Outputs the number of parameters in a network for a single image -- in evaluation mode. require 'torch' require 'nn' require 'dpnn' torch.setdefaulttensortype('torch.FloatTensor') local cmd = torch.CmdLine() cmd:text() cmd:text('Network Size.') cmd:text() cmd:text('Options:') cmd:option('-mo...
apache-2.0
jono659/enko
scripts/zones/Lower_Jeuno/TextIDs.lua
1
5200
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6382; -- Obtained: <item>. GIL_OBTAINED = 6383; -- Obtained <number> gil. KEYITEM_OBTAINED = 6385; -- Obtained...
gpl-3.0
jono659/enko
scripts/zones/North_Gustaberg/npcs/Kuuwari-Aori_WW.lua
30
3063
----------------------------------- -- Area: North Gustaberg -- NPC: Kuuwari-Aori, W.W. -- Type: Outpost Conquest Guards -- @pos -584.687 39.107 54.281 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/co...
gpl-3.0
jono659/enko
scripts/globals/mobskills/Dragon_Breath.lua
6
1424
--------------------------------------------- -- Dragon Breath -- -- Description: Deals Fire damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Fafnir, Nidhogg, Cynoprosopi, and Wyrm. Because of the high damage...
gpl-3.0
jono659/enko
scripts/zones/Beaucedine_Glacier/mobs/Tundra_Tiger.lua
10
1427
----------------------------------- -- Area: Beaucedine Glacier -- MOB: Tundra Tiger -- Note: PH for Nue, Kirata ----------------------------------- require("/scripts/globals/fieldsofvalor"); require("/scripts/zones/Beaucedine_Glacier/MobIDs"); ----------------------------------- -- onMobDeath --...
gpl-3.0
jono659/enko
scripts/globals/weaponskills/nightmare_scythe.lua
11
1605
----------------------------------- -- Nightmare Scythe -- Scythe weapon skill -- Skill Level: 100 -- Blinds enemy. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: ST...
gpl-3.0
jono659/enko
scripts/zones/Batallia_Downs/npcs/qm3.lua
1
1857
----------------------------------- -- Area: Batallia Downs -- NPC: qm3 (???) -- Involved in Mission 9-1 (San dOria) ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require(...
gpl-3.0
jono659/enko
scripts/globals/items/galkan_sausage_+3.lua
35
1364
----------------------------------------- -- ID: 5861 -- Item: galkan_sausage_+3 -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 6 -- Intelligence -7 -- Attack 12 -- Ranged Attack 12 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Qulun_Dome/npcs/_440.lua
3
1578
----------------------------------- -- Area: Qulun Dome -- NPC: Door -- Involved in Mission: Magicite -- !pos 60 24 -2 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Qulun...
gpl-3.0
jono659/enko
scripts/zones/Dangruf_Wadi/npcs/_5b1.lua
12
2607
----------------------------------- -- Area: Dangruf Wadi -- NPC: Strange Apparatus -- @pos: -494 -4 -100 191 ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil; require("scripts/zones/Dangruf_Wadi/TextIDs"); require("scripts/globals/strangeapparatus"); -------------------...
gpl-3.0
jono659/enko
scripts/zones/Inner_Horutoto_Ruins/npcs/_5c0_.lua
36
1765
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Mahogany Door -- Involved In Quest: Making Headlines -- Working 100% -- Unable to find EventID for Making Headlines quest. Used dialog ID instead. ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/Te...
gpl-3.0
RedFIR/meta-openembedded
meta-gnome/recipes-gnome/devilspie/files/default.lua
40
1194
-- Copyright (c) 2012 Andreas Müller <schnitzeltony@googlemail.com> -- -- this is an example -- * undecorating all windows opened maximized -- * maximizing and undecorating all appplication's windows in apps_list -- for further information see -- http://www.gusnan.se/devilspie2/manual.php wnd_type = get_window_type()...
mit
Arcscion/Shadowlyre
scripts/zones/Mhaura/npcs/Emyr.lua
3
1086
----------------------------------- -- Area: Mhaura -- NPC: Emyr -- Type: Standard NPC -- !pos 45.021 -9 37.095 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); ----------------------------------...
gpl-3.0
jono659/enko
scripts/globals/mobskills/Final_Sting.lua
6
1188
--------------------------------------------- -- Final Sting -- -- Description: Deals damage proportional to HP. Reduces HP to 1 after use. Damage varies with TP. -- Type: Physical (Slashing) -- -- --------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/...
gpl-3.0
jono659/enko
scripts/globals/abilities/pets/fire_ii.lua
5
1159
--------------------------------------------------- -- Fire 2 --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/globals/magic"); ------------------------------------------...
gpl-3.0
Tikiwinkie/overthebox-feeds
luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua
4
8779
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("network", translate("Switch"), translate("The network ports on this device can be combined to several <abbr title=\"Virtual Local Area Network\">...
gpl-3.0
Neopallium/nixio
docsrc/nixio.File.lua
173
4457
--- Large File Object. -- Large file operations are supported up to 52 bits if the Lua number type is -- double (default). -- @cstyle instance module "nixio.File" --- Write to the file descriptor. -- @class function -- @name File.write -- @usage <strong>Warning:</strong> It is not guaranteed that all data -- in the bu...
apache-2.0
jono659/enko
scripts/zones/Southern_San_dOria/npcs/Hanaa_Punaa.lua
19
6196
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hanaa Punaa -- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test -- @zone 230 -- @pos ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; -----------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/roast_mushroom.lua
12
1463
----------------------------------------- -- ID: 4410 -- Item: roast_mushroom -- Food Effect: 30minutes, All Races ----------------------------------------- -- Magic Points 10 -- Strength -1 -- Mind 3 -- Enmity -1 -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status...
gpl-3.0
jono659/enko
scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Qudamahf.lua
38
1136
----------------------------------- -- Area: Silver_Sea_route_to_Nashmau -- NPC: Qudamahf -- Notes: Tells ship ETA time -- @pos 0.340 -12.232 -4.120 58 ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/items/head_of_isleracea.lua
12
1189
----------------------------------------- -- ID: 5965 -- Item: Head of Isleracea -- Food Effect: 5 Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
Arcscion/Shadowlyre
scripts/globals/spells/thunderstorm.lua
32
1193
-------------------------------------- -- Spell: Thunderstorm -- Changes the weather around target party member to "thundery." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -------------------------------------...
gpl-3.0
jono659/enko
scripts/globals/items/caedarva_frog.lua
18
1399
----------------------------------------- -- ID: 5465 -- Item: Caedarva Frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
Arcscion/Shadowlyre
scripts/zones/Windurst_Waters/npcs/Serukoko.lua
3
1053
----------------------------------- -- Area: Windurst Waters -- NPC: Serukoko -- Type: Standard NPC -- @zone 238 -- !pos -54.916 -7.499 114.855 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -----------...
gpl-3.0
N0U/Zero-K
LuaRules/Configs/cai/accessory/targetReachableTester.lua
17
1084
local spGetUnitPosition = Spring.GetUnitPosition local spRequestPath = Spring.RequestPath local spGetUnitDefID = Spring.GetUnitDefID VFS.Include("LuaRules/Utilities/isTargetReachable.lua") function IsTargetReallyReachable(unitID, x,y,z,ux, uy, uz) local udid = spGetUnitDefID(unitID) local moveID = UnitDefs[udid].mov...
gpl-2.0
N0U/Zero-K
units/spidercon.lua
5
2203
unitDef = { unitname = [[spidercon]], name = [[Weaver]], description = [[Construction Spider, Builds at 7.5 m/s]], acceleration = 0.2, activateWhenBuilt = true, brakeRate = 0.6, buildCostMetal = 200, buildDistance = ...
gpl-2.0
jono659/enko
scripts/zones/Mhaura/npcs/Vera.lua
17
2846
----------------------------------- -- Area: Mhaura -- NPC: Vera -- Finishes Quest: The Old Lady -- @pos -49 -5 20 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/qu...
gpl-3.0
joewalker/prosody-modules
mod_statistics_statsd/mod_statistics_statsd.lua
32
1307
local statsmanager = require "core.statsmanager"; local udp = require "socket".udp(); local server = module:get_option_string("statsd_server_ip", "127.0.0.1"); local server_port = module:get_option_number("statsd_server_port", 8124); local max_datagram_size = module:get_option_number("statds_packet_size", 512); funct...
mit
mohammad8/12345
plugins/id.lua
10
4275
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
gpl-2.0
n1ghtmare/Algorithm-Implementations
Bresenham_Based_Supercover_Line/Lua/Yonaba/bresenham_based_supercover.lua
2
2200
-- Bresenham-based Supercover line marching algorithm -- See: http://lifc.univ-fcomte.fr/home/~ededu/projects/bresenham/ -- Note: This algorithm is based on Bresenham's line marching, but -- instead of considering one step per axis, it covers all the points -- the ideal line covers. It may be useful for example when...
mit
Arcscion/Shadowlyre
scripts/globals/items/loaf_of_pumpernickel.lua
12
1189
----------------------------------------- -- ID: 4591 -- Item: loaf_of_pumpernickel -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
SinaMSRE/ABTestingGateway
lib/lua-resty-core/lib/resty/core/shdict.lua
4
9231
-- Copyright (C) Yichun Zhang (agentzh) local ffi = require 'ffi' local base = require "resty.core.base" local ffi_new = ffi.new local ffi_str = ffi.string local C = ffi.C local get_string_buf = base.get_string_buf local get_string_buf_size = base.get_string_buf_size local get_size_ptr = base.get_size_ptr local tonu...
mit
mohammad8/12345
plugins/MemberManager.lua
44
9652
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
jono659/enko
scripts/zones/Windurst_Waters_[S]/npcs/Churacoco.lua
38
1049
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Churacoco -- Type: Standard NPC -- @zone: 94 -- @pos -76.139 -4.499 20.986 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ...
gpl-3.0
jono659/enko
scripts/zones/Upper_Jeuno/npcs/_6s2.lua
17
3818
----------------------------------- -- Area: Upper Jeuno -- NPC: Galmut's door -- Starts and Finishes Quest: A Clock Most Delicate, Save the Clock Tower, The Clockmaster -- @zone 244 -- @pos -80 0 104 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; package.loaded["...
gpl-3.0
JayWood/computercraft_scripts
turtle/branch_miner.lua
1
5657
-- This Version -- 2.13 10/11/2014 -- ChangeLogs -- 2.04 - Adding Left or Right Support -- 2.05 - Changing Lot Code For Some Stable And Cleaner Code -- 2.06 - Ops Forget Fuel Chcking Code after rewrtitting -- 2.07 - Woops My Bad i wrote back() not Back() -- 2.08 - Fixing Imputs -- 2.09 - Forget That i change remove lin...
gpl-2.0
jono659/enko
scripts/zones/Mhaura/npcs/Keshab-Menjab.lua
38
1033
----------------------------------- -- Area: Mhaura -- NPC: Keshab-Menjab -- Type: Standard NPC -- @pos -15.727 -9.032 54.049 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/...
gpl-3.0
N0U/Zero-K
units/dynassault1.lua
5
2658
unitDef = { unitname = [[dynassault1]], name = [[Guardian Commander]], description = [[Heavy Combat Commander]], acceleration = 0.18, activateWhenBuilt = true, brakeRate = 0.375, buildCostMetal = 1200, buildDistance = 144, builder ...
gpl-2.0
n1ghtmare/Algorithm-Implementations
Lempel_Ziv_Welch/Lua/Yonaba/lzw.lua
24
1387
-- Lempel-Ziv Welch compression data algorithm implementation -- See : http://en.wikipedia.org/wiki/LZW local function lzw_encode(str) local w = '' local result = {} local dict_size = 256 -- Builds the dictionnary local dict = {} for i = 0, dict_size-1 do dict[string.char(i)] = i end local i = di...
mit
N0U/Zero-K
scripts/cloakraid.lua
15
3943
include "constants.lua" -- pieces local head = piece "head" local hips = piece "hips" local chest = piece "chest" -- left arm local lshoulder = piece "lshoulder" local lforearm = piece "lforearm" local gun = piece "gun" local magazine = piece "magazine" local flare = piece "flare" local ejector = piece "ejector" --...
gpl-2.0
rigeirani/sbbb
plugins/stats.lua
43
4082
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
Arcscion/Shadowlyre
scripts/globals/spells/bluemagic/battery_charge.lua
5
1336
----------------------------------------- -- Spell: Battery Charge -- Gradually restores MP -- Spell cost: 50 MP -- Monster Type: Arcana -- Spell Type: Magical (Light) -- Blue Magic Points: 3 -- Stat Bonus: MP+10, MND+1 -- Level: 79 -- Casting Time: 5 seconds -- Recast Time: 75 seconds -- Spell Duration: 100 ticks, 300...
gpl-3.0
jono659/enko
scripts/zones/Fort_Ghelsba/npcs/Treasure_Chest.lua
12
2560
----------------------------------- -- Area: Fort Ghelsba -- NPC: Treasure Chest -- @zone 141 ----------------------------------- package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/z...
gpl-3.0
davidedmonds/darkstar
scripts/globals/items/bowl_of_oceanfin_soup.lua
36
1822
----------------------------------------- -- ID: 6070 -- Item: Bowl of Oceanfin Soup -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- Accuracy % 15 Cap 95 -- Ranged Accuracy % 15 Cap 95 -- Attack % 19 Cap 85 -- Ranged Attack % 19 Cap 85 -- Amorph Killer 6 -----------------------------------...
gpl-3.0
will4wachter/Project1
scripts/globals/items/prime_angler_stewpot.lua
36
1919
----------------------------------------- -- ID: 5612 -- Item: Prime Angler Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% -- MP +15 -- Dexterity 2 -- Agility 1 -- Mind 1 -- HP Recovered while healing 7 -- MP Recovered while healing 2 -- Accuracy 15% ...
gpl-3.0
will4wachter/Project1
scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua
5
2439
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Worn Book -- Getting "Old Rusty Key (keyitem)" -- @pos 59 0 19 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyit...
gpl-3.0
tbmatuka/hennin
menu.lua
1
6700
--[[ The MIT License (MIT) Copyright (c) 2014 Tin Benjamin Matuka 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...
mit
MonokuroInzanaito/ygopro-777DIY
expansions/script/c8209733.lua
1
3456
--升阶魔法-元素师的祈愿 function c8209733.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8209733,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c8209733.target) e1:...
gpl-3.0
waterlgndx/darkstar
scripts/globals/items/bowl_of_sprightly_soup.lua
2
1159
----------------------------------------- -- ID: 5930 -- Item: Bowl of Sprightly Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- MP 30 -- Mind 4 -- HP Recovered While Healing 4 -- Enmity -4 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
kidaa/darkstar
scripts/zones/Uleguerand_Range/npcs/HomePoint#3.lua
12
1188
----------------------------------- -- Area: Uleguerand_Range -- NPC: HomePoint#3 -- @pos ----------------------------------- package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Uleguerand_Range/TextIDs"); require("scripts/globals/homepoint"); ...
gpl-3.0
davidedmonds/darkstar
scripts/zones/Eastern_Altepa_Desert/mobs/Cactrot_Rapido.lua
16
12212
----------------------------------- -- Area: Eastern Altepa Desert -- NM: Cactrot Rapido ----------------------------------- require("scripts/globals/titles"); local path = { -45.214237, 0.059482, -204.244873, -46.114422, 0.104212, -203.765884, -47.013275, 0.149004, -203.285812, -47.911877, 0.193759, -2...
gpl-3.0
waterlgndx/darkstar
scripts/globals/items/annihilator.lua
2
2922
----------------------------------------- -- ID: 18336, 18337, 18649, 18663, 18677, 19758, 19851, 21260, 21261, 21267 -- Item: Annihilator ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); require("scripts/globals/weaponskills"); require("scripts/globals/weapon...
gpl-3.0
kidaa/darkstar
scripts/zones/Southern_San_dOria/npcs/Valderotaux.lua
17
1750
----------------------------------- -- Area: Southern San d'Oria -- NPC: Valderotaux -- General Info NPC -- @pos 97 0.1 113 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c1000609.lua
1
3260
--轮回的溯回者 晓美焰 function c1000609.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(1000609,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetCountLimit(1,1000609) ...
gpl-3.0
davidedmonds/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Tsih_Kolgimih.lua
38
1045
----------------------------------- -- 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/...
gpl-3.0
davidedmonds/darkstar
scripts/globals/spells/cryohelix.lua
22
1674
-------------------------------------- -- Spell: Cryohelix -- Deals ice 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
kidaa/darkstar
scripts/globals/spells/cryohelix.lua
22
1674
-------------------------------------- -- Spell: Cryohelix -- Deals ice 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