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
bmichalo/MoonGen
test/tests/00-basics.lua
7
1097
-- Basic functionality: threads and message-passing local lunit = require "luaunit" local dpdk = require "dpdk" local memory = require "memory" local device = require "device" local timer = require "timer" local log = require "testlog" local testlib = require "testlib" local tconfig = require "tconfig" local ffi...
mit
RebootRevival/FFXI_Test
scripts/zones/Windurst_Waters_[S]/npcs/Aystise.lua
3
1057
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Aystise -- Type: Standard NPC -- @zone 94 -- !pos -69.805 -4.5 68.078 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -------...
gpl-3.0
llual/VIPTEAM
plugins/anti_spam.lua
191
5291
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
gpl-2.0
chen0031/sysdig
userspace/sysdig/chisels/v_page_faults.lua
7
2589
--[[ Copyright (C) 2013-2015 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Windurst_Woods/npcs/Peshi_Yohnts.lua
3
2170
----------------------------------- -- Area: Windurst Woods -- NPC: Peshi Yohnts -- Type: Bonecraft Guild Master -- !pos -6.175 -6.249 -144.667 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_Woods...
gpl-3.0
babymannen/theforgottenserver-7.4
server/data/spells/scripts/attack/soulfire.lua
2
1351
local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA) combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE) local condition = Condition(CONDITION_FIRE) condition:setParameter(CONDITION_PARAM_DELAYED, true) condition:addD...
gpl-2.0
RebootRevival/FFXI_Test
scripts/commands/getmobaction.lua
8
1116
--------------------------------------------------------------------------------------------------- -- func: getmobaction -- desc: Prints mob's current action to the command user. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, pa...
gpl-3.0
tommo/mock
mock/common/ComponentScript.lua
1
2852
module 'mock' -------------------------------------------------------------------- CLASS: ComponentScript () :MODEL{} function ComponentScript:__init() self.source = false self.loaderFunc = false self.dataClass = false end function ComponentScript:load( source, path ) self.source = source self.loaderFunc ...
mit
RebootRevival/FFXI_Test
scripts/zones/Eastern_Altepa_Desert/npcs/Sowande.lua
3
1874
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Sowande -- !pos -257 8 -249 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); r...
gpl-3.0
petoju/awesome
lib/gears/object/properties.lua
4
11544
--------------------------------------------------------------------------- --- An helper module to map userdata __index and __newindex entries to -- lua classes. -- -- @author Emmanuel Lepage-Vallee <elv1313@gmail.com> -- @copyright 2016 Emmanuel Lepage-Vallee -- @submodule gears.object -------------------------...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Southern_San_dOria/npcs/Deraquien.lua
3
2405
----------------------------------- -- Area: Southern San d'Oria -- NPC: Deraquien -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- !pos -98 -2 31 230 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Metalworks/npcs/Elayne.lua
33
1375
----------------------------------- -- Area: Metalworks -- NPC: Elayne -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Metalworks/TextIDs"); ---...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Abyssea-Attohwa/npcs/Cavernous_Maw.lua
3
1199
----------------------------------- -- Area: Abyssea - Attohwa -- NPC: Cavernous Maw -- !pos -133.197 20.242 -181.658 215 -- Notes: Teleports Players to Buburimu Peninsula ----------------------------------- package.loaded["scripts/zones/Abyssea-Attohwa/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
rafradek/wire
lua/wire/server/wirelib.lua
6
37077
-- Compatibility Global if not WireLib then return end WireAddon = 1 local ents = ents local timer = timer local string = string local table = table local hook = hook local concommand = concommand local Msg = Msg local MsgN = MsgN local pairs = pairs local ipairs = ipairs local IsValid = IsValid local tostring = tos...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/items/cherry_muffin.lua
12
1316
----------------------------------------- -- 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
RebootRevival/FFXI_Test
scripts/zones/North_Gustaberg/npcs/Kuleo.lua
3
1881
----------------------------------- -- Area: North Gustaberg -- NPC: Kuleo -- Type: Outpost Vendor -- !pos -586 39 61 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/con...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Sauromugue_Champaign/mobs/Tabar_Beak.lua
3
1037
----------------------------------- -- Area: Sauromugue Champaign -- MOB: Tabar Beak ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/Sauromugue_Champaign/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMo...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Knuckles.lua
17
1498
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Knuckles ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEn...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/spells/burn.lua
1
2022
----------------------------------------- -- Spell: Burn -- Deals fire damage that lowers an enemy's intelligence and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsBody.lua
10
16743
-------------------------------- -- @module PhysicsBody -- @extend Ref -- @parent_module cc -------------------------------- -- whether this physics body is affected by the physics world’s gravitational force. -- @function [parent=#PhysicsBody] isGravityEnabled -- @param self -- @return bool#bool ret (return value...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/West_Ronfaure/npcs/Doladepaiton_RK.lua
3
3332
----------------------------------- -- Area: West Ronfaure -- NPC: Doladepaiton, R.K. -- Type: Outpost Conquest Guards -- !pos -448 -19 -214 100 ------------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; -------------------------------------- require("scripts/globals/conquest")...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Port_Bastok/npcs/HomePoint#3.lua
3
1252
----------------------------------- -- Area: Port_Bastok -- NPC: HomePoint#3 -- !pos -126 -6 10 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Port_Bastok/TextIDs"); require("scripts/globals/homepoint"); ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Norg/npcs/Achika.lua
3
1299
----------------------------------- -- Area: Norg -- NPC: Achika -- Type: Tenshodo Merchant -- !pos 1.300 0.000 19.259 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop");...
gpl-3.0
patrikrm13/patriks
plugins/chatbot.lua
21
2121
local function run(msg) if msg.text == "یاقی" then return "کی اسم سازندمو صدا زد؟" end if msg.text == "Umbrella" then return "کیر نود32 هم نی" end if msg.text == "umbrella" then return "کیر نود32 هم نی" end if msg.text == "نود32" then return "hum?" end if msg.text == "اسپم" then return "کس ننت میذارم بخای اسپم کن...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/items/date.lua
12
1180
----------------------------------------- -- ID: 5566 -- Item: Date -- Food Effect: 5 Mins, All Races ----------------------------------------- -- Intelligence 1 -- Agility -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Hall_of_the_Gods/Zone.lua
30
1883
----------------------------------- -- -- Zone: Hall_of_the_Gods (251) -- ----------------------------------- package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Hall_of_the_Gods/TextIDs"); --------------------...
gpl-3.0
zzh442856860/skynet
lualib/mysql.lua
31
15725
-- Copyright (C) 2012 Yichun Zhang (agentzh) -- Copyright (C) 2014 Chang Feng -- This file is modified version from https://github.com/openresty/lua-resty-mysql -- The license is under the BSD license. -- Modified by Cloud Wu (remove bit32 for lua 5.3) local socketchannel = require "socketchannel" local mysqlaux = req...
mit
RebootRevival/FFXI_Test
scripts/zones/Abyssea-Konschtat/npcs/qm8.lua
3
1347
----------------------------------- -- Zone: Abyssea-Konschtat -- NPC: qm8 (???) -- Spawns Clingy Clare -- !pos ? ? ? 15 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
liwenzhong/Atlas
lib/admin-bak.lua
37
3379
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. 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 dis...
gpl-2.0
pspk/tableview
widget_theme_android_sheet.lua
3
12837
-- -- created with TexturePacker (http://www.codeandweb.com/texturepacker) -- -- $TexturePacker:SmartUpdate:a87e27afd13d421a3452dbd16833ca57$ -- -- local sheetInfo = require("mysheet") -- local myImageSheet = graphics.newImageSheet( "mysheet.png", sheetInfo:getSheet() ) -- local sprite = display.newSprite( myImageSheet...
mit
RebootRevival/FFXI_Test
scripts/globals/items/clump_of_shungiku.lua
12
1200
----------------------------------------- -- ID: 5236 -- Item: Clump of Shungiku -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility +1 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
ZakariaRasoli/VenusHelper
bot/utils.lua
1
6766
local clock = os.clock function sleep(time) -- seconds local t0 = clock() while clock() - t0 <= time do end end function scandir(directory) local i, t, popen = 0, {}, io.popen for filename in popen('ls -a "'..directory..'"'):lines() do i = i + 1 t[i] = filename end return t end function plugins_n...
gpl-3.0
djianq/Game
examples/login/client.lua
1
3961
package.cpath = "luaclib/?.so" local socket = require "clientsocket" local crypt = require "crypt" if _VERSION ~= "Lua 5.3" then error "Use lua 5.3" end local fd = assert(socket.connect("192.168.1.90", 1922)) local function writeline(fd, text) socket.send(fd, text .. "\n") end local function unpack_line(text) l...
mit
hanya/luno
src/uno.lua
1
6440
local luno = require("luno") local ctx = luno.getcontext(1) local _uno = {} for k, v in pairs(luno) do _uno[k] = v end ---------------------------------------- -- Generates types from __unotypes field local function _gettypes(obj) local _obj = obj local checked = {} local typenames = {} local unotype...
mit
RebootRevival/FFXI_Test
scripts/zones/Bastok_Markets/npcs/Degenhard.lua
3
2110
----------------------------------- -- Area: Bastok Markets -- NPC: Degenhard -- Starts & Ends Quest: The Bare Bones -- Involved in Quests: Beat Around the Bushin -- !pos -175 2 -135 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------...
gpl-3.0
openwrt-es/openwrt-luci
modules/luci-base/luasrc/controller/admin/uci.lua
2
2897
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.uci", package.seeall) function index() local redir = luci.http.formvalue("redir", true) or table.concat(luci.dispatcher....
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Port_Windurst/npcs/Taniko-Maniko.lua
17
1797
----------------------------------- -- Area: Port Windurst -- NPC: Taniko-Maniko -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs")...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Cloister_of_Gales/bcnms/sugar-coated_directive.lua
30
1808
---------------------------------------- -- Area: Cloister of Gales -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/qu...
gpl-3.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/script/extension/DeprecatedExtensionFunc.lua
39
1309
--tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of CCControl will be deprecated end local CCControlDeprecated = { } function CCControlDeprecated.addHandleOfControlEvent(self,func,controlEve...
gpl-3.0
ashang/koreader
plugins/kosync.koplugin/KOSyncClient.lua
3
4567
local UIManager = require("ui/uimanager") local DEBUG = require("dbg") local KOSyncClient = { service_spec = nil, } function KOSyncClient:new(o) local o = o or {} setmetatable(o, self) self.__index = self if o.init then o:init() end return o end function KOSyncClient:init() local Spore = ...
agpl-3.0
RebootRevival/FFXI_Test
scripts/globals/abilities/pets/attachments/tension_spring.lua
27
1089
----------------------------------- -- Attachment: Tension Spring ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onEquip(pet) pet:addMod(MOD_ATTP, 3) pet:addMod(MOD_RATTP, 3) end function...
gpl-3.0
heroiclabs/nakama
internal/gopher-lua/_lua5.1-tests/locals.lua
18
2728
print('testing local variables plus some extra stuff') do local i = 10 do local i = 100; assert(i==100) end do local i = 1000; assert(i==1000) end assert(i == 10) if i ~= 10 then local i = 20 else local i = 30 assert(i == 30) end end f = nil local f x = 1 a = nil loadstring('local a = {}...
apache-2.0
bmichalo/MoonGen
lua/include/kni.lua
2
1815
local ffi = require "ffi" local dpdkc = require "dpdkc" local dpdk = require "dpdk" require "utils" local mod = {} local mg_kni = {} mod.mg_kni = mg_kni mg_kni.__index = mg_kni ffi.cdef[[ struct rte_kni; struct rte_kni * mg_create_kni(uint8_t port_id, uint8_t core_id, void* mempool_ptr, const char name[]); unsigned ...
mit
RebootRevival/FFXI_Test
scripts/globals/effects/str_down.lua
34
1111
----------------------------------- -- -- EFFECT_STR_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_STR) - effect:ge...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/The_Eldieme_Necropolis/npcs/_5fp.lua
3
2645
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: West Plate -- !pos 128 -34 20 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- o...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/alabaligi.lua
12
1324
----------------------------------------- -- ID: 5461 -- Item: Alabaligi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------...
gpl-3.0
petoju/awesome
themes/xresources/theme.lua
3
4597
--------------------------------------------- -- Awesome theme which follows xrdb config -- -- by Yauhen Kirylau -- --------------------------------------------- local theme_assets = require("beautiful.theme_assets") local xresources = require("beautiful.xresources") local rnotification = require(...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Lightning.lua
3
2402
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Lightning -- Involved in Zilart Mission 7 -- !pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/tit...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Windurst_Waters/npcs/Churano-Shurano.lua
9
1471
----------------------------------- -- Area: Windurst Waters -- NPC: Churano-Shurano -- Working 100% ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrad...
gpl-3.0
mzguanglin/LuCI
contrib/luacurses/test/mouse.lua
8
1328
require("curses"); function show_message(m) local width = string.len(m) + 6; local win = curses.newwin(5, width, (lines - 5) / 2, (cols - width) / 2); win:keypad(true); win:attron(curses.COLOR_PAIR(curses.COLOR_RED)); win:box('|', '-', '+'); win:mvaddstr(2, 3, m); win:refresh(); win:getch(); win:del...
apache-2.0
Goodzilam/Goodzila-bot_v1.5
plugins/Member_Manager.lua
24
11556
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
tommo/mock
mock/ai/PathGraphNavMesh2D.lua
1
1100
module 'mock' local insert = table.insert CLASS: PathGraphNavMesh2D ( PathGraph ) :MODEL{} function PathGraphNavMesh2D:buildFromPolyPaths( polyPaths ) local navmesh = MOCKNavMesh.new() if polyPaths then navmesh:buildFromPolyPaths( polyPaths ) end self.pathGraph = navmesh self._dirty = false end function Pat...
mit
tassmjau/duktape
tests/perf/test-assign-const.lua
12
1883
local function test() local t for i=1,1e7 do t = 123.0 t = 123.1 t = 123.2 t = 123.3 t = 123.4 t = 123.5 t = 123.6 t = 123.7 t = 123.8 t = 123.9 t = 123.0 t = 123.1 t = 123.2 t = 123.3 t = 1...
mit
petoju/awesome
lib/menubar/icon_theme.lua
7
8711
--------------------------------------------------------------------------- --- (Deprecated) class module for icon lookup for menubar -- -- @author Kazunobu Kuriyama -- @copyright 2015 Kazunobu Kuriyama -- @classmod menubar.icon_theme --------------------------------------------------------------------------- -- This ...
gpl-2.0
ahm3d97/Th3_BOOS
libs/serpent.lua
656
7877
local n, v = "serpent", 0.28 -- (C) 2012-15 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} lo...
gpl-2.0
rafradek/wire
lua/wire/stools/expression2.lua
8
34126
WireToolSetup.setCategory( "Chips, Gates" ) WireToolSetup.open("expression2", "Expression 2", "gmod_wire_expression2", nil, "Expression2s") if CLIENT then language.Add("Tool.wire_expression2.name", "Expression 2 Tool (Wire)") language.Add("Tool.wire_expression2.desc", "Spawns an Expression 2 chip for use with the wi...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Bastok_Mines/npcs/Azette.lua
5
1979
----------------------------------- -- Area: Bastok Mines -- NPC: Azette -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/chocobo"); require("scripts/globals/status"); ----------------------------------- -- o...
gpl-3.0
iRonJ/Crepe
data/csv2t7b.lua
4
4967
--[[ Dataset converter from csv to t7b By Xiang Zhang @ New York University --]] require("io") require("os") require("math") require("paths") require("torch") ffi = require("ffi") -- Configuration table config = {} config.input = "train.csv" config.output = "train.t7b" -- Parse arguments cmd = torch.CmdLine() cmd:op...
bsd-3-clause
RebootRevival/FFXI_Test
scripts/zones/Western_Altepa_Desert/npcs/qm2.lua
3
1776
----------------------------------- -- Area: Western Altepa Desert -- NPC: qm2 (???) -- Involved in Mission: Bastok 6-1 -- !pos -325 0 -111 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Port_Jeuno/npcs/Digaga.lua
3
1039
---------------------------------- -- Area: Port Jeuno -- NPC: Digaga -- Type: Item Deliverer -- @zone 246 -- !pos -52.865 7.999 1.134 -- ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); -------------------------------...
gpl-3.0
petoju/awesome
tests/examples/wibox/awidget/taglist/indexed.lua
4
4034
--DOC_GEN_IMAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_HIDE local awful = { --DOC_HIDE tag = require("awful.tag"), --DOC_HIDE layout = require("awful.layout"), --DOC_HIDE placement = require("awful.placement"), --DOC_HIDE widget = {taglist = require("awful.widget.taglist")} --DOC_HIDE } --DO...
gpl-2.0
ahm3d97/Th3_BOOS
bot/seedbot.lua
22
14096
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") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
sperka/shogun
examples/undocumented/lua_modular/kernel_comm_ulong_string_modular.lua
21
1367
require 'modshogun' require 'load' traindat = load_dna('../data/fm_train_dna.dat') testdat = load_dna('../data/fm_test_dna.dat') parameter_list = {{traindat,testdat,3,0,false},{traindat,testdat,4,0,false}} function kernel_comm_ulong_string_modular (fm_train_dna,fm_test_dna, order, gap, reverse) --charfeat=modshogun...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/North_Gustaberg_[S]/npcs/Mining_Point.lua
17
1098
----------------------------------- -- Area: North Gustaberg [S] -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/North_Gustaberg_[S]/TextIDs"); ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Talacca_Cove/npcs/qm1.lua
30
1324
----------------------------------- -- Area: Talacca_Cove -- NPC: ??? (corsair job flag quest) -- ----------------------------------- package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Talacca_Cove/TextIDs"); require("scripts/globals/keyitems"); --...
gpl-3.0
LGCaerwyn/QSanguosha-V2-mod
lang/zh_CN/Audio/MountainPackageLines.lua
2
3830
-- lines for Mountain Package return { -- 张郃 ["cv:zhanghe"] = "爪子", ["$qiaobian1"] = "兵无常势,水无常形。", -- 判定阶段 ["$qiaobian2"] = "用兵之道,变化万千。", -- 摸牌阶段 ["$qiaobian3"] = "兵无常势,水无常形。", -- 出牌阶段 ["$qiaobian4"] = "用兵之道,变化万千。", -- 弃牌阶段 ["~zhanghe"] = "膝盖,中箭了……", -- 邓艾 ["$tuntian1"] = "休养生息,备战待敌。", ["$tuntian2"] = "锄禾日当...
lgpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Port_Windurst/npcs/Kucha_Malkobhi.lua
17
1493
----------------------------------- -- Area: Port Windurst -- NPC: Kucha Malkobhi -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/mobskills/wanion.lua
1
1389
--------------------------------------------------- -- Wanion -- AoE of all status ailments it has. --------------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/msg"); ---------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Aht_Urhgan_Whitegate/npcs/Porter_Moogle.lua
3
1538
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Porter Moogle -- Type: Storage Moogle -- !pos ? ? ? 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextI...
gpl-3.0
jeffchao/hedgewars-accessible
share/hedgewars/Data/Missions/Training/User_Mission_-_Dangerous_Ducklings.lua
2
4323
loadfile(GetDataPath() .. "Scripts/Locale.lua")() local player = nil -- This variable will point to the hog's gear local instructor = nil local enemy = nil --local givenSpeech = false local speechStage = 0 local gameLost = false local gameWon = false local notListening = false local endTimer = 0 function onGameI...
gpl-2.0
mahdikord/mahdibary
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/auto/api/TurnOffTiles.lua
10
1192
-------------------------------- -- @module TurnOffTiles -- @extend TiledGrid3DAction -- @parent_module cc -------------------------------- -- -- @function [parent=#TurnOffTiles] turnOnTile -- @param self -- @param #vec2_table pos -------------------------------- -- -- @function [parent=#TurnOffTiles] tur...
gpl-3.0
ciufciuf57/nodemcu-firmware
lua_examples/email/send_email_smtp.lua
82
4640
--- -- Working Example: https://www.youtube.com/watch?v=CcRbFIJ8aeU -- @description a basic SMTP email example. You must use an account which can provide unencrypted authenticated access. -- This example was tested with an AOL and Time Warner email accounts. GMail does not offer unecrypted authenticated access. -- To o...
mit
cg2121/obs-studio
UI/frontend-plugins/frontend-tools/data/scripts/instant-replay.lua
23
5385
obs = obslua source_name = "" hotkey_id = obs.OBS_INVALID_HOTKEY_ID attempts = 0 last_replay = "" ---------------------------------------------------------- function try_play() local replay_buffer = obs.obs_frontend_get_replay_buffer_output() if replay_buffer == nil then obs.remove_current_callback()...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Ifrits_Cauldron/TextIDs.lua
3
1737
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6384; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6386; -- Ob...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/FeiYin/npcs/qm1.lua
3
1517
----------------------------------- -- Area: FeiYin -- NPC: qm1 (???) -- Involved In Quest: Pieuje's Decision -- !pos -55 -16 69 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Aht_Urhgan_Whitegate/npcs/Qutiba.lua
3
2278
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Qutiba -- Type: Standard NPC -- !pos 92.341 -7.5 -129.980 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require(...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/RuAun_Gardens/npcs/HomePoint#2.lua
3
1259
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#2 -- !pos -499 -42 167 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
luodan0709/openwrt-extra
packages/luci-app-xunlei/files/usr/lib/lua/luci/model/cbi/xunlei.lua
11
9499
local fs = require "nixio.fs" local util = require "nixio.util" local running=(luci.sys.call("pidof EmbedThunderManager > /dev/null") == 0) local button="" local xunleiinfo="" local tblXLInfo={} local detailInfo = "<br />启动后会看到类似如下信息:<br /><br />[ 0, 1, 1, 0, “7DHS94”,1, “201_2.1.3.121”, “shdixang”, 1 ]<br /><br />其中有...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/FeiYin/npcs/HomePoint#1.lua
3
1238
----------------------------------- -- Area: FeiYin -- NPC: HomePoint#1 -- !pos 243 -24.5 62 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/homepoint"); -------------...
gpl-3.0
zeus-ff/d
plugins/welcome.lua
8
3632
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Arrapago_Reef/npcs/_jic.lua
1
3510
----------------------------------- -- Area: Arrapago Reef -- Door: Runic Seal -- !pos 36 -10 620 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("s...
gpl-3.0
ahm3d97/Th3_BOOS
libs/dateparser.lua
114
6213
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
gowadbd/DevDroid
libs/dateparser.lua
114
6213
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/items/dish_of_salsa.lua
12
1593
----------------------------------------- -- ID: 5299 -- Item: dish_of_salsa -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Sleep Resist 5 ----------------------------------------- require("scripts/g...
gpl-3.0
fervi/OpenYGO
bot-cardcreator/scripts/Cyberserker.lua
1
1041
function c1033.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(77372241,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetRange(LOCATION_MZONE) e1:S...
gpl-3.0
JunichiWatanuki/wireshark
test/lua/dir.lua
31
6467
-- test script for wslua Dir functions ------------- helper funcs ------------ local total_tests = 0 local function testing(name) print("---- Testing "..name.." ---- ") end local function test(name, ...) total_tests = total_tests + 1 io.stdout:write("test "..name.."-"..total_tests.."...") if (...) =...
gpl-2.0
Telesuperior/amir
libs/serpent.lua
31
8016
local n, v = "serpent", 0.28 -- (C) 2012-15 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} lo...
gpl-3.0
mujiansu/arangodb
3rdParty/V8-4.3.61/tools/gcmole/gccause.lua
157
2313
-- Copyright 2011 the V8 project authors. All rights reserved. -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are -- met: -- -- * Redistributions of source code must retain the above copyright -- notice, this list of ...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Port_Bastok/npcs/Oggbi.lua
3
3406
----------------------------------- -- Area: Port Bastok -- NPC: Oggbi -- Starts and Finishes: Ghosts of the Past, The First Meeting -- @zone 236 -- !pos -159 -7 5 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/weaponskills/savage_blade.lua
25
1590
----------------------------------- -- Savage Blade -- Sword weapon skill -- Skill Level: 240 -- Delivers an aerial attack comprised of two hits. Damage varies with TP. -- In order to obtain Savage Blade, the quest Old Wounds must be completed. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget, Thunder...
gpl-3.0
iovisor/bcc
src/lua/bcc/tracerpipe.lua
9
1540
--[[ Copyright 2016 GitHub, 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 in writing, software distr...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Konschtat_Highlands/npcs/Dimensional_Portal.lua
3
1434
----------------------------------- -- Area: Konschtat Highlands -- NPC: Dimensional_Portal -- !pos 220.000 19.104 140.000 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("script...
gpl-3.0
plsytj/skynet
lualib/http/httpd.lua
101
3708
local internal = require "http.internal" local table = table local string = string local type = type local httpd = {} local http_status_msg = { [100] = "Continue", [101] = "Switching Protocols", [200] = "OK", [201] = "Created", [202] = "Accepted", [203] = "Non-Authoritative Information", [204] = "No Content",...
mit
ryandoyle/wireshark
test/lua/tvb.lua
32
30608
---------------------------------------- -- script-name: tvb.lua -- This tests the Tvb/TvbRange and proto_add_XXX_item API. ---------------------------------------- ------------- general test helper funcs ------------ local FRAME = "frame" local OTHER = "other" local total_tests = 0 local function getTotal() retu...
gpl-2.0
pspk/tableview
tabBar.lua
2
7923
-- Copyright (C) 2013 Corona Inc. All Rights Reserved. -- File: newTabBar unit test. local widget = require( "widget" ) local storyboard = require( "storyboard" ) local scene = storyboard.newScene() local USE_ANDROID_THEME = false local USE_IOS7_THEME = true local isGraphicsV1 = ( 1 == display.getDefault( "graphicsCo...
mit
RebootRevival/FFXI_Test
scripts/globals/items/party_egg.lua
12
1333
----------------------------------------- -- ID: 4595 -- Item: party_egg -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 25 -- Magic 25 -- Attack 5 -- Ranged Attack 4 ----------------------------------------- require("scripts/globals/status"); -------------------------------------...
gpl-3.0
deveah/nush
lua/actor.lua
1
42328
-- -- actor.lua -- Actor object definition and methods -- -- An Actor object has the following members: -- * name (string) - a name describing the actor type -- * face (string) - a character describing how the actor looks in-game -- * color (curses constant) - the color of the actor in-game -- * map (Map objec...
bsd-2-clause
RebootRevival/FFXI_Test
scripts/zones/Aht_Urhgan_Whitegate/npcs/Mhasbaf.lua
3
1044
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Mhasbaf -- Type: Standard NPC -- !pos 54.701 -6.999 11.387 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_White...
gpl-3.0
SIDN/spin
src/lua/collect.lua
1
4632
local util = require 'util' local P = require 'posix' local arp = require 'arp' -- -- flow information -- local Aggregator = {} Aggregator.__index = Aggregator function Aggregator:create(timestamp) local data = {} data.timestamp = timestamp data.flows = {} self.data = data return self end function Aggregat...
gpl-2.0