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
dromozoa/dromozoa-unix
test/lua/test_fcntl.lua
1
1960
-- Copyright (C) 2016-2019 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-unix. -- -- dromozoa-unix 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 3 of the License,...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Southern_San_dOria/npcs/Luthiaque.lua
6
1378
----------------------------------- -- Area: Southern San d'Oria -- NPC: Luthiaque -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); req...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/spells/horde_lullaby.lua
2
1243
----------------------------------------- -- Spell: Horde Lullaby ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(caster,target,...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Al_Zahbi/npcs/Chayaya.lua
3
1564
----------------------------------- -- Area: Al Zahbi -- NPC: Chayaya -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
sapohl/data-pipeline
hindsight/io_modules/derived_stream/tsv.lua
5
1274
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. local M = {} local ipairs = ipairs local tostring = tostring local type = type local read_message = re...
mpl-2.0
kidaa/FFXIOrgins
scripts/globals/items/carpenters_belt.lua
2
1166
----------------------------------------- -- ID: 15444 -- Item: Carpenter's belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Woodworking Skill +1 ----------------------------------------- require("scri...
gpl-3.0
miotatsu/milton
tundra/scripts/tundra/tools/msvc.lua
22
2788
-- msvc.lua - common definitions for all flavors of MSVC module(..., package.seeall) function apply(env, options) -- load the generic C toolset first tundra.unitgen.load_toolset("generic-cpp", env) -- load support for win32 resource compilation tundra.unitgen.load_toolset("win32-rc", env) env:set_many { ...
mit
flyzjhz/openwrt-bb
feeds/luci/applications/luci-radvd/luasrc/model/cbi/radvd/prefix.lua
74
3766
--[[ LuCI - Lua Configuration Interface Copyright 2010 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 $Id$ ]]-- lo...
gpl-2.0
SlySven/Mudlet
src/mudlet-lua/tests/DB_spec.lua
3
33045
describe("Tests DB.lua functions", function() describe("Tests that DB creation and deletion works", function() describe("Test the functionality of db:create", function() it("Should create a db", function() mydb = db:create("peoplet_testingonly", { friends={"name", "city", "notes"}, ...
gpl-2.0
kidaa/FFXIOrgins
scripts/globals/abilities/steal.lua
2
2925
----------------------------------- -- Ability: Steal ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); -- these are the quadavs that the thf af1 item can be stolen from -- bronze quadav groupid = 7949 -- garnet quadav groupid = 7960 -- silver quadav groupi...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/weaponskills/blade_chi.lua
4
1205
----------------------------------- -- Blade Chi -- Katana weapon skill -- Skill Level: 150 -- Delivers a two-hit earth elemental attack. Damage varies with TP. -- Aligned with the Thunder Gorget & Light Gorget. -- Aligned with the Thunder Belt & Light Belt. -- Element: Earth -- Modifiers: STR:30% ; INT:30% --...
gpl-3.0
njligames/Engine
src/njli/platform/cmake.in/ldoc.in/PhysicsConstraintConeTwist.lua
4
7578
---- -- @file PhysicsConstraintConeTwist ---- Brief description. -- <#Description#> -- @return <#return value description#> function PhysicsConstraintConeTwist:calculateSerializeBufferSize() end ---- Brief description. -- @author James Folk, 16-02-11 15:02:15 -- <#Description#> -- @param dataBuffer <#dataBuffer des...
mit
Samanstar/Assasin
plugins/inpm.lua
59
3138
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
kidaa/FFXIOrgins
scripts/zones/Southern_San_dOria_[S]/npcs/Rholont.lua
4
2217
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Rholont -- @zone 80 -- @pos -168 -2 56 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); -------...
gpl-3.0
shahryar1989/ShahryarAntiSpam
bot/utils.lua
473
24167
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
sodism/discoverbot
bot/utils.lua
473
24167
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
e1d1s1/OpenRA
mods/d2k/maps/atreides-01a/atreides01a.lua
6
4914
HarkonnenReinforcements = { } HarkonnenReinforcements["easy"] = { { "light_inf", "light_inf" } } HarkonnenReinforcements["normal"] = { { "light_inf", "light_inf" }, { "light_inf", "light_inf", "light_inf" }, { "light_inf", "trike" }, } HarkonnenReinforcements["hard"] = { { "light_inf", "light_inf" }, { "trike"...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/slice_of_juicy_mutton.lua
1
1343
----------------------------------------- -- 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
rfabbri/pet
lua/enum.lua
1
1045
-- utilities to work with Java enums -- -- some of these are general, some is specific to some pet classes such as -- petAttributes which contain some enum-attribute maps for a subset of all -- declared enums a=pet:a() -- this function loads pet attribute enums into the appropriate keys array. -- the keys array hold...
gpl-3.0
meshr-net/meshr_win32
usr/lib/lua/luci/model/cbi/asterisk/dialzones.lua
91
3529
--[[ LuCI - Lua Configuration Interface Copyright 2008 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 $Id: trunks.l...
apache-2.0
yezifeng/openwrt
package/luci-app-shadowsocks/files/luci/model/cbi/shadowsocks/general.lua
1
3696
-- Copyright (C) 2016 Jian Chang <aa65535@live.com> -- Licensed to the public under the GNU General Public License v3. local m, s, o local shadowsocks = "shadowsocks" local uci = luci.model.uci.cursor() local server_table = {} local function has_bin(name) return luci.sys.call("command -v %s >/dev/null" %{name}) == 0...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Windurst_Waters/npcs/Tosuka-Porika.lua
1
5321
----------------------------------- -- Area: Windurst Waters -- NPC: Tosuka-Porika -- Starts Quests: Early Bird Catches the Bookworm, Chasing Tales -- Involved in Quests: Hat in Hand, Past Reflections, Blessed Radiance -- Involved in Missions: Windurst 2-1, Windurst 7-1, Windurst 8-2, CoP 3-3 -- @pos -26 -6 103 238...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Norg/npcs/Keal.lua
2
4082
----------------------------------- -- Area: Norg -- NPC: Keal -- Starts and Ends Quest: It's Not Your Vault ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scr...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Carpenters_Landing/mobs/Cryptonberry_Assassin.lua
2
1350
----------------------------------- -- Area: Carpenters' Landing -- NPC: Cryptonberry_Assassin ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function OnMobSpawn(mob) end; ----------------------------------- -- onMobFight...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Yhoator_Jungle/npcs/Harvesting_Point.lua
6
1114
----------------------------------- -- Area: Yhoator Jungle -- NPC: Harvesting Point ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ------------------------------------- require("scripts/globals/harvesting"); require("scripts/zones/Yhoator_Jungle/TextIDs");...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/denizanasi.lua
3
1197
----------------------------------------- -- ID: 5447 -- Item: Denizanasi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/bowl_of_shark_fin_soup.lua
1
1774
----------------------------------------- -- ID: 4452 -- Item: bowl_of_shark_fin_soup -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP % 5 -- MP 5 -- Dexterity 4 -- Mind -4 -- HP Recovered While Healing 9 -- Attack % 14 (cap 60) -- Ranged Attack % 14 (cap 60) -----------------------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Port_San_dOria/npcs/Brifalien.lua
4
1711
----------------------------------- -- Area: Port San d'Oria -- NPC: Brifalien -- Involved in Quests: Riding on the Clouds -- @zone 232 -- @pos -20 -4 -74 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyi...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Alzadaal_Undersea_Ruins/Zone.lua
2
4449
----------------------------------- -- -- Zone: Alzadaal_Undersea_Ruins (72) -- ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"); ----------------------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Jugner_Forest/npcs/Stone_Monument.lua
3
1238
----------------------------------- -- 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("script...
gpl-3.0
capr/fbclient-alien
lua/fbclient/service_wrapper.lua
2
37626
--[=[ Service Manager API wrapper Based on the latest jrd/ibase.h and jrd/svc.cpp located at: http://firebird.cvs.sourceforge.net/viewvc/*checkout*/firebird/firebird2/src/jrd/ibase.h http://firebird.cvs.sourceforge.net/viewvc/*checkout*/firebird/firebird2/src/jrd/svc.cpp and with the help of the Interbase 6 API ...
mit
kidaa/FFXIOrgins
scripts/zones/Pashhow_Marshlands/npcs/Tahmasp.lua
2
1797
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Tahmasp -- Type: Outpost Vendor -- @pos 464 24 416 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/glo...
gpl-3.0
shahryar1989/ShahryarAntiSpam
bot/seedbot.lua
1
10264
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
Fatalerror66/ffxi-a
scripts/globals/items/piscators_skewer.lua
3
1278
----------------------------------------- -- ID: 5983 -- Item: Piscator's Skewer -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 3 -- Vitality 4 -- Defense % 26 Cap 155 ----------------------------------------- require("scripts/globals/status"); ------------------------------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/The_Celestial_Nexus/npcs/_515.lua
2
1451
----------------------------------- -- Area: 181 -- NPC: Celestial gate ----------------------------------- package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/globals/missi...
gpl-3.0
StoneDot/lrexlib
test/pat2pcre.lua
20
1815
-- See Copyright Notice in the file LICENSE -- Convert Lua regex pattern to its PCRE equivalent. local t_esc = { a = "[:alpha:]", A = "[:^alpha:]", c = "[:cntrl:]", C = "[:^cntrl:]", l = "[:lower:]", L = "[:^lower:]", p = "[:punct:]", P = "[:^punct:]", u = "[:upper:]", U = "[:^upper:]", w = "[:a...
mit
pavouk/lgi
samples/gtk-demo/demo-comboboxes.lua
6
5185
return function(parent, dir) local lgi = require 'lgi' local GObject = lgi.GObject local Gtk = lgi.Gtk local Gdk = lgi.Gdk local GdkPixbuf = lgi.GdkPixbuf local ComboColumn = { PIXBUF = 1, TEXT = 2, } local function create_stock_icon_store() local cellview = Gtk.CellView {} local store = Gtk.ListStore.ne...
mit
kidaa/FFXIOrgins
scripts/zones/Spire_of_Mea/npcs/Radiant_Aureole.lua
2
1036
----------------------------------- -- Area: Spire of Mea -- NPC: Radiant Aureole ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Spire_of_Mea/TextIDs"); ----------------------------------- -- onTrade Action --...
gpl-3.0
FilthyPeasantDEV/PokeBot
BizHawk-1.11.6/Lua/socket/tp.lua
146
3608
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $ ----------------------------------------------------------------------------- --------------------------...
mit
kidaa/FFXIOrgins
scripts/globals/items/black_eel.lua
1
1345
----------------------------------------- -- ID: 4429 -- Item: Black Eel -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
pquentin/wesnoth
data/ai/micro_ais/cas/ca_healer_move.lua
26
5637
local H = wesnoth.require "lua/helper.lua" local LS = wesnoth.require "lua/location_set.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local BC = wesnoth.require "ai/lua/battle_calcs.lua" local ca_healer_move = {} function ca_healer_move:evaluation(ai, cfg, self) -- Should happen with higher priority than...
gpl-2.0
infernal1200/infernal
plugins/domaintools.lua
359
1494
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0
mythzeal/tos_addon
RegeneNotice/RegeneNotice.lua
1
7270
--v1.0.0 local acutil = require("acutil"); local log = acutil.log; -- util local path = "../addons/regenenotice/settings.json"; local function Save(table) return acutil.saveJSON(path, table); end local function Load() return acutil.loadJSON(path); end -- constants local BUFF_REST = 58; local BUFF_FIRE = 4017; -...
agpl-3.0
DevSaipa/Oscar
plugin/replay.lua
1
16797
 -- saipa bot do ws = {} rs = {} -- some examples of how to use this :3 ws[1] = "هلاو" rs[1] = "منوؤؤ9ؤؤور/ة 🎃🌹" ws[2] = "سلام عليكم" rs[2] = "عليكم سلام ورحمه الله وبركاته منوؤؤ9ؤؤور/ة 🎃🌹" ws[3] = "اسلام عليكم" rs[3] = "عليكم سلام ورحمه الله وبركاته منوؤؤ9ؤؤور/ة 🎃🌹" ws[4] = "السلام...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Dragons_Aery/mobs/Fafnir.lua
1
1614
----------------------------------- -- Area: Dragons Aery -- HNM: Fafnir ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- fu...
gpl-3.0
RockySeven3161/Unknown.
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
emadni/emadoso
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
lordporya/lord-dark
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
WACcCKER/Anti_Wacccker
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ci.lua
2
1412
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5ci (Gate of Light) -- Involved In Mission: 3-2 -- @pos -331 0 139 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyit...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/abilities/pets/water_ii.lua
2
1159
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/globals/magic"); ------------------------------------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Southern_San_dOria/npcs/Paunelie.lua
6
1146
----------------------------------- -- Area: Port Bastok -- NPC: Ilita -- Linkshell merchant -- @pos -142 -1 -25 236 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Sout...
gpl-3.0
cgoxopx/YRSSF
build/ajax.lua
1
2613
---- yrssf的重要入口点之一 ---- 在http://0.0.0.0/ajax 被访问时此程序会被调用 ---- 系统变量: ------ (const table)GET //get方式接受的数据 ------ (const table)POST //post方式接受的数据 ------ (const table)COOKIE //cookies不解释 ------ (string) RESULT //将返回結果賦值給此變量 dofile("./lib/base64.lua") dofile("./lib/serialize.lua") dofile("./lib/urlencode.l...
gpl-3.0
pavouk/lgi
samples/udpsrv.lua
1
1162
#! /usr/bin/env lua -- -- Sample UDP server. Listens on 3333 port -- Use netcat to send strings to server (ncat -u 127.0.0.1 3333) -- local lgi = require 'lgi' local core = require 'lgi.core' local GLib = lgi.GLib local Gio = lgi.Gio local assert = lgi.assert local app = Gio.Application{application_id = 'org.lgi.sam...
mit
kidaa/FFXIOrgins
scripts/zones/Wajaom_Woodlands/npcs/qm2.lua
15
1184
----------------------------------- -- Area: Wajaom Woodlands -- NPC: ??? (Spawn Iriz Ima(ZNM T2)) -- @pos 253 -23 116 51 ----------------------------------- package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Wajaom_Woodlands/TextIDs"); --------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Al_Zahbi/npcs/Bjibar.lua
38
1024
----------------------------------- -- Area: Al Zahbi -- NPC: Bjibar -- Type: Standard NPC -- @zone: 48 -- @pos -105.178 0.999 60.115 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Zeruhn_Mines/npcs/Drake_Fang.lua
2
2004
----------------------------------- -- Area: Zeruhn Mines -- NPC: Drake Fang -- Involved in Mission: Bastok 6-1 -- @pos -74 0 58 172 ----------------------------------- package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); requir...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Rabao/npcs/Generoit.lua
6
1305
----------------------------------- -- Area: Rabao -- NPC: Generoit -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ---------...
gpl-3.0
Eric-Dang/CocosLua
src/cocos/cocostudio/DeprecatedCocoStudioFunc.lua
61
3456
if nil == ccs then return end --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of GUIReader will be deprecated begin local GUIReaderDeprecated = { } function GUIReaderDeprecated.shareRe...
mit
Fatalerror66/ffxi-a
scripts/zones/Cloister_of_Tides/npcs/Water_Protocrystal.lua
2
1350
----------------------------------- -- Area: Cloister of Tides -- NPC: Water Protocrystal -- Involved in Quests: Trial by Water, Trial Size Trial by Water -- @zone 560 36 560 211 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/bcnm"); require("scripts/zones/C...
gpl-3.0
evil-morfar/RCLootCouncil2
.specs/Classes/Core.spec.lua
1
1198
require "busted.runner"() describe("#Core", function() local addon = {} before_each(function() loadfile(".specs/AddonLoader.lua")(nil, "addon", addon).LoadArray{ "Classes/Core.lua" } end) describe("Init", function() it("should fail without proper path", function() asser...
lgpl-3.0
actionless/awesome
lib/awful/button.lua
3
9102
--------------------------------------------------------------------------- --- Create easily new buttons objects ignoring certain modifiers. -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @author Emmanuel Lepage Vallee &lt;elv1313@gmail.com&gt; -- @copyright 2018 Emmanuel Lepage Vallee -- @copyright 2009 Ju...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/FeiYin/npcs/Dry_Fountain.lua
2
1396
----------------------------------- -- Area: FeiYin -- NPC: Dry Fountain -- Involved In Quest: Peace for the Spirit -- @pos -17 -16 71 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts...
gpl-3.0
actionless/awesome
tests/examples/wibox/container/defaults/arcchart.lua
5
1117
--DOC_HIDE_ALL --DOC_GEN_IMAGE local wibox = require("wibox") local beautiful = require("beautiful") return { text = "Before", align = "center", valign = "center", widget = wibox.widget.textbox, }, { { { text = "After", align = "center", valign ...
gpl-2.0
aqasaeed/hesamshar
plugins/stats.lua
866
4001
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
3RaGaming/3Ra-Enhanced-Vanilla
locale/blueprintstring/serpent0272.lua
2
8493
local n, v = "serpent", 0.272 -- (C) 2012-13 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} l...
gpl-3.0
flyzjhz/openwrt-bb
feeds/luci/libs/nixio/docsrc/nixio.lua
151
15824
--- General POSIX IO library. module "nixio" --- Look up a hostname and service via DNS. -- @class function -- @name nixio.getaddrinfo -- @param host hostname to lookup (optional) -- @param family address family [<strong>"any"</strong>, "inet", "inet6"] -- @param service service name or port (optional) -- @return ...
gpl-2.0
rigeirani/1kh
bot/seedbot.lua
3
9941
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 = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Windurst_Woods/npcs/Mono_Nchaa.lua
17
1371
----------------------------------- -- Area: Windurst Woods -- NPC: Mono Nchaa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"...
gpl-3.0
WACcCKER/Anti_Wacccker
plugins/id.lua
355
2795
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, resu...
gpl-2.0
Segs/Segs
Data/scripts/Hazard_01_01/Spawndefs/Rikti_Perez.spawndef.lua
3
1621
--This is a rank table --There could be multiple tables to generate spawns from local Rikti_Ranks_01 = { ["Underlings"] = { --NA }, ["Minions"] = { "Lost_01", "Lost_02", "Lost_03", "Lost_04", "Lost_05", "Lost_06", "Lost_07", "Lost_08", "Lost_09", ...
bsd-3-clause
kidaa/FFXIOrgins
scripts/zones/Lufaise_Meadows/npcs/Yoram_IM.lua
8
2940
----------------------------------- -- Area: Lufaise Meadows -- NPC: Yoram, I.M. -- Outpost Conquest Guards -- @pos -542.418 -7.124 -53.521 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
ForgedAddons/StayFocused_AutoShot
tekKonfig/tekKonfigSlider.lua
4
2174
local lib, oldminor = LibStub:NewLibrary("tekKonfig-Slider", 2) if not lib then return end local GameTooltip = GameTooltip local function HideTooltip() GameTooltip:Hide() end local function ShowTooltip(self) if self.tiptext then GameTooltip:SetOwner(self, "ANCHOR_RIGHT") GameTooltip:SetText(self.tiptext, nil, n...
apache-2.0
actionless/awesome
lib/wibox/container/mirror.lua
1
3808
--------------------------------------------------------------------------- -- Reflect a widget along one or both axis. -- --@DOC_wibox_container_defaults_mirror_EXAMPLE@ -- @author dodo -- @copyright 2012 dodo -- @containermod wibox.container.mirror -- @supermodule wibox.widget.base -----------------------------------...
gpl-2.0
DeNA/dworker
lib/lua/getLeastLoadedBroker.lua
1
2639
-- Input parameters -- KEYS[1] global hash key. (gh) -- KEYS[2] worker list hash. (wh) -- KEYS[3] broker list hash. (bh) -- KEYS[4] per cluster broker ID & load(as score) sorted sets (cz) -- KEYS[5] per cluster broker ID & hash key (as score) sorted sets (bz) -- ARGV[1] max retries -- Output parameters -- ...
mit
Fatalerror66/ffxi-a
scripts/zones/Qufim_Island/npcs/Nightflowers.lua
2
1576
----------------------------------- -- Area: Qufim Island -- NPC: Night Flowers -- Involved in Quest: Save My Son (Beastmaster Flag #1) ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require...
gpl-3.0
upegelow/darktable
tools/lua_doc/core.lua
14
22677
local table = require "table" local dt = require "darktable" local debug = require "debug" local dump = require("darktable.debug").dump local M={} local meta_node = {__index = {}} ---------------------------------------- -- INTERNAL : PARSING OF SOURCE TREE -- ---------------------------------------- local create_nod...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/spells/bluemagic/head_butt.lua
6
1183
require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/bluemagic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(caster,target,spell) return 0; end; function onSpellCast(caster,target,sp...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Northern_San_dOria/npcs/Daveille.lua
6
1369
----------------------------------- -- Area: Northern San d'Oria -- NPC: Daveille -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); requi...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/bowl_of_sprightly_soup.lua
3
1265
----------------------------------------- -- 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
frutjus/OpenRA
mods/ra/maps/intervention/intervention.lua
22
11100
BeachheadTrigger = { CPos.New(120, 90), CPos.New(120, 89), CPos.New(120, 88), CPos.New(121, 88), CPos.New(122, 88), CPos.New(123, 88), CPos.New(124, 88), CPos.New(125, 88), CPos.New(126, 88), CPos.New(126, 89), CPos.New(127, 89), CPos.New(128, 89), CPos.New(128, 90), CPos.New(129, 90), CPos.New(130, 90), CPos.New(13...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Mamook/npcs/Logging_Point.lua
4
1036
----------------------------------- -- Area: Mamook -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Mamook/TextIDs"); ----------------------------------- ...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/chunk_of_hydra_meat.lua
18
1515
----------------------------------------- -- ID: 5564 -- Item: Chunk of Hydra Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- HP 10 -- MP -10 -- Strength +6 -- Intelligence -8 -- Demon Killer 10 ----------------------------------------- require("scripts/globals/status");...
gpl-3.0
teddemunnik/tundra
examples/fancyvs/tundra.lua
7
2490
Build { Units = function () local lib = StaticLibrary { Name = "blahlib", Sources = { "blah.hpp", -- including headers here makes them appear in generated solutions "blah.cpp", }, -- Place in MSVC solution folder. IdeGenerationHints = { Msvc = { ...
gpl-3.0
tobspr/LUATowerDefense
field.lua
1
6250
function get_field_at(pos) if pos.x >= field_start.x and pos.y >= field_start.y then if pos.x < field_start.x + field_width * field_size.x then if pos.y < field_start.y + field_height * field_size.y then local tile_x = math.floor( (pos.x - field_start.x) / field_size.x ) + 1 ...
mit
flyzjhz/openwrt-bb
feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-voice.lua
80
1493
--[[ 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...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Al_Zahbi/npcs/Numaaf.lua
12
2250
----------------------------------- -- Area: Al Zahbi -- NPC: Numaaf -- Type: Cooking Normal/Adv. Image Support -- @pos 54.966 -7 8.328 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Al_Zahbi/TextIDs"); requ...
gpl-3.0
WACcCKER/Anti_Wacccker
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Spire_of_Holla/npcs/_0h2.lua
14
1317
----------------------------------- -- Area: Spire_of_Holla -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Holla/TextIDs"); ---------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Castle_Zvahl_Keep/npcs/_4i5.lua
23
1492
----------------------------------- -- Area: Castle Zvahl Keep -- NPC: Ore door -- Involved In Quest: Recollections -- @pos -14 0 69 162 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/bowl_of_shimmy_soup.lua
36
1323
----------------------------------------- -- ID: 5931 -- Item: Bowl of Shimmy Soup -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- MP 32 -- Mind 5 -- HP Recovered While Healing 5 -- Enmity -5 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Abyssea-Grauberg/npcs/Dominion_Tactician.lua
61
4431
----------------------------------- -- Area: Abyssea - Grauberg -- NPC: Dominion Tactician -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/abyssea"); require("script...
gpl-3.0
wounds1/zaza.bot
plugins/h4.lua
1
1484
--[[ _____ _ _____ _ |__ / / \ |__ / / \ / / / _ \ / / / _ \ / /_ / ___ \ / /_ / ___ \ /____| /_/ \_\ /____| /_/ \_\ DEV_ @wounds1 DEV_ @moddee123 DEV_ @lll_5 ]] do local function run(msg, matches) if is_momod(msg)...
gpl-2.0
Fatalerror66/ffxi-a
scripts/globals/items/cherry_muffin.lua
37
1344
----------------------------------------- -- ID: 5653 -- Item: Cherry Muffin -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 1 -- Magic % 10 -- Magic Cap 80 -- Agility -1 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
Inorizushi/DDR-EXTREME-JP-SM5
BGAnimations/ScreenEvaluation decorations/GradeDisplay.lua
1
2200
-- Rolling Grade Display implementation -- By Jose_Varela local pn = ... local Gradepos = { [PLAYER_1] = SCREEN_CENTER_X-224, [PLAYER_2] = SCREEN_CENTER_X+224 } local MultPos = pn == PLAYER_1 and -SCREEN_WIDTH/2 or SCREEN_WIDTH/2 local t = Def.ActorFrame{ OnCommand=function(s) s:xy( Gradepos[pn] , SCREEN_TOP+112 ...
mit
evil-morfar/RCLootCouncil2
.specs/Integration/WoWApi/FramesEmulation.spec.lua
1
3376
-- Tests for my frame emulation setup. -- This will load the wow api dofile(".specs/AddonLoader.lua").LoadFiles {} describe("#WoWApi #Frames", function() describe("basic", function() it("can create frames", function() local frame1 = CreateFrame("Frame", "Frame1") assert.equals("Frame1", frame1:GetName()) a...
lgpl-3.0
Wedge009/wesnoth
data/lua/wml-tags.lua
3
29490
local utils = wesnoth.require "wml-utils" local wml_actions = wesnoth.wml_actions local T = wml.tag wesnoth.require "wml-conditionals" wesnoth.require "wml-flow" wesnoth.require "wml" --[[ Note: When adding new WML tags, unless they're very simple, it's preferred to add a new file in the "data/lua/wml" directory rat...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Horlais_Peak/bcnms/hostile_herbivores.lua
6
1701
----------------------------------- -- Area: Horlias peak -- Name: Hostile Herbivores -- BCNM50 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Horlais_Peak/TextIDs"); ----------------------------------- -- EXAM...
gpl-3.0
evil-morfar/RCLootCouncil2
Libs/AceGUI-3.0/widgets/AceGUIwidget-EditBox.lua
22
7162
--[[----------------------------------------------------------------------------- EditBox Widget -------------------------------------------------------------------------------]] local Type, Version = "EditBox", 28 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(Type) or...
lgpl-3.0
Wedge009/wesnoth
data/ai/micro_ais/mai-defs/fast.lua
4
4306
function wesnoth.micro_ais.fast_ai(cfg) local optional_keys = { attack_hidden_enemies = 'boolean', avoid = 'tag', dungeon_mode = 'boolean', filter = 'tag', filter_second = 'tag', include_occupied_attack_hexes = 'boolean', leader_additional_threat = 'float', leader_attack_max_units = 'integer', leader_weight = 'flo...
gpl-2.0