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
RebootRevival/FFXI_Test
scripts/globals/spells/bluemagic/regeneration.lua
46
1483
----------------------------------------- -- Spell: Regeneration -- Gradually restores HP -- Spell cost: 36 MP -- Monster Type: Aquans -- Spell Type: Magical (Light) -- Blue Magic Points: 2 -- Stat Bonus: MND+2 -- Level: 78 -- Casting Time: 2 Seconds -- Recast Time: 60 Seconds -- Spell Duration: 30 ticks, 90 Seconds --...
gpl-3.0
bttscut/skynet
service/gate.lua
16
2079
local skynet = require "skynet" local gateserver = require "snax.gateserver" local watchdog local connection = {} -- fd -> connection : { fd , client, agent , ip, mode } local forwarding = {} -- agent -> connection skynet.register_protocol { name = "client", id = skynet.PTYPE_CLIENT, } local handler = {} function...
mit
RebootRevival/FFXI_Test
scripts/zones/Bastok_Markets/npcs/Reinberta.lua
3
2148
----------------------------------- -- Area: Bastok Markets -- NPC: Reinberta -- Type: Goldsmithing Guild Master -- !pos -190.605 -7.814 -59.432 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Market...
gpl-3.0
rafradek/wire
lua/wire/stools/button.lua
9
1719
WireToolSetup.setCategory( "Input, Output" ) WireToolSetup.open( "button", "Button", "gmod_wire_button", nil, "Buttons" ) if CLIENT then language.Add( "tool.wire_button.name", "Button Tool (Wire)" ) language.Add( "tool.wire_button.desc", "Spawns a button for use with the wire system." ) language.Add( "tool.wire_but...
apache-2.0
GUI/lua-resty-auto-ssl
spec/sockproc_file_descriptors_spec.lua
1
4713
local cjson = require "cjson.safe" local http = require "resty.http" local server = require "spec.support.server" local shell_blocking = require "shell-games" local function get_sockproc_file_descriptors(as_user, expect_no_results) local result, shell_err = shell_blocking.capture({ "sudo", "-u", as_user, "lsof", "-n...
mit
RebootRevival/FFXI_Test
scripts/zones/Port_San_dOria/npcs/Jaireto.lua
17
1400
----------------------------------- -- Area: Port San d'Oria -- NPC: Jaireto -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ---...
gpl-3.0
khoshhal/Fighterbot
plugins/info.lua
9
8956
do local Arian = 122662162 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value) return send_msg('chat#id'..msg.to.id, 'مقام کار...
gpl-2.0
jyggen/storytime
Libs/AceGUI-3.0/widgets/AceGUIContainer-Window.lua
52
9726
local AceGUI = LibStub("AceGUI-3.0") -- Lua APIs local pairs, assert, type = pairs, assert, type -- WoW APIs local PlaySound = PlaySound local CreateFrame, UIParent = CreateFrame, UIParent -- Global vars/functions that we don't upvalue since they might get hooked, or upgraded -- List them here for Mikk's FindGlobals...
mit
RebootRevival/FFXI_Test
scripts/zones/Eastern_Altepa_Desert/mobs/Giant_Spider.lua
3
1036
----------------------------------- -- Area: Eastern Altepa Desert -- MOB: Giant Spider ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/Eastern_Altepa_Desert/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Dynamis-Beaucedine/mobs/Serjeant_Tombstone.lua
22
1880
----------------------------------- -- Area: Dynamis Beaucedine -- MOB: Serjeant Tombstone -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; -----------...
gpl-3.0
mzguanglin/LuCI
libs/core/luasrc/model/firewall.lua
2
11108
--[[ LuCI - Firewall model Copyright 2009 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 Unless required by applica...
apache-2.0
luochen1990/smart-bot
src/st_13_refuel.lua
1
5180
-------------------------------- auto refuel ---------------------------------- if turtle then fuelGot = mkIO(turtle.getFuelLevel) --fuelEnough = markIOfn("fuelEnough(nStep)")(mkIOfn(function(nStep) -- return turtle.getFuelLevel() >= nStep --end)) refuelFromBackpack = markIOfn("refuelFromBackpack(nStep)")(mkI...
mit
zeus-ff/d
bot/utils.lua
646
23489
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
TheRikyHUN/fooniks
resources/admin/server/admin_ACL.lua
2
2983
--[[********************************** * * Multi Theft Auto - Admin Panel * * admin_ACL.lua * * Original File by lil_Toady * **************************************]] function aSetupACL () local temp_acl_nodes = {} local node = xmlLoadFile ( "conf\\ACL.xml" ) if ( node ) then --Get ACLs local acls...
gpl-3.0
hfjgjfg/jjjn
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/spells/kurayami_san.lua
1
1274
----------------------------------------- -- Spell: Kurayami: San ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targe...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/weaponskills/blade_metsu.lua
19
2111
----------------------------------- -- Blade Metsu -- Katana weapon skill -- Skill Level: N/A -- Additional effect: Paralysis -- Hidden effect: temporarily enhances Subtle Blow effect. -- One hit weapon skill, despite non single-hit animation. -- This weapon skill is only available with the stage 5 relic Katana Kikoku ...
gpl-3.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/auto/api/TransitionFadeTR.lua
10
1043
-------------------------------- -- @module TransitionFadeTR -- @extend TransitionScene,TransitionEaseScene -- @parent_module cc -------------------------------- -- -- @function [parent=#TransitionFadeTR] easeActionWithAction -- @param self -- @param #cc.ActionInterval action -- @return ActionInterval#ActionInterva...
gpl-3.0
tommo/mock
mock/tools/EntityAlignment.lua
1
3267
module 'mock' local min, max = math.min, math.max function alignEntitiesLeft( entities ) local bx0 = false for i, entity in ipairs( entities ) do local x0, y0, z0, x1, y1, z1 = entity:getWorldBounds() bx0 = bx0 and min( bx0, x0 ) or x0 end for i, entity in ipairs( entities ) do local x0, y0, z0, x1, y1, z1 =...
mit
RebootRevival/FFXI_Test
scripts/zones/The_Eldieme_Necropolis/npcs/_5fg.lua
3
1246
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Titan's Gate -- !pos 100 -34 -71 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); requir...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/sleep_dagger.lua
1
1096
----------------------------------------- -- ID: 16497 -- Item: Sleep Dagger -- Additional Effect: Sleep ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- -- onAdditionalEffect Action ------...
gpl-3.0
toshinagata/luaconsole
lua/samegame.lua
1
3405
-- SameGame for LuaCon -- 2016.7.16. Toshi Nagata -- UTF-8 encoding s = con -- 省略形を定義する width, height = s.screensize() xx = width // 32 -- 盤面の幅 yy = height // 32 - 1 -- 盤面の高さ n = 5 -- 駒の種類 num = 0 -- 残り駒の数 point = 0 -- ポイント cx = 0 -- 現在のカーソル位置 (x) cy = 0 -- 現在のカーソル位置 (y) board = {} -- 盤面: ...
gpl-3.0
openwrt-es/openwrt-luci
applications/luci-app-travelmate/luasrc/model/cbi/travelmate/cfg_firewall_tab.lua
7
1044
-- Copyright 2017-2018 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local fs = require("nixio.fs") local util = require("luci.util") local input = "/etc/config/firewall" if not fs.access(input) then m = SimpleForm("error", nil, translate("Input file not ...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/PsoXja/npcs/_i98.lua
17
1550
----------------------------------- -- Area: Pso'Xja -- NPC: Stone Gate ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/PsoXja/TextIDs"); require("scripts/globals/keyitems"); ----...
gpl-3.0
TeleDALAD/d
plugins/admin.lua
2
6338
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Maze_of_Shakhrami/npcs/_5i0.lua
3
1740
----------------------------------- -- Area: Maze of Shakhrami -- Quest: Corsair Af1 "Equiped for All Occasions" -- NPC: Iron Door (Spawn Lost Soul) -- !pos 247.735 18.499 -142.267 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------...
gpl-3.0
Goodzilam/Goodzila-bot_v1.5
plugins/dic.lua
31
1662
--[[ -- Translate text using Google Translate. -- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello --]] do function translate(source_lang, target_lang, text) local path = "http://translate.google.com/translate_a/single" -- URL query parameters local pa...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Monarch_Linn/npcs/Spatial_Displacement.lua
3
2619
----------------------------------- -- Area: Monarch_Linn -- NPC: Spatial Displacement -- !pos -35 -1 -539 31 ----------------------------------- package.loaded["scripts/zones/Monarch_LinnTextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("...
gpl-3.0
heroiclabs/nakama
internal/gopher-lua/_lua5.1-tests/big.lua
10
7804
print "testing string length overflow" local longs = string.rep("\0", 2^25) local function catter (i) return assert(loadstring( string.format("return function(a) return a%s end", string.rep("..a", i-1))))() end rep129 = catter(129) local a, b = pcall(rep129, longs) print(b) assert(not a and ...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Kazham/npcs/Nenepp.lua
27
4251
----------------------------------- -- Area: Kazham -- NPC: Nenepp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 29.014000, -11.00000, -183.884000, 31.023000, -...
gpl-3.0
jpmac26/PGE-Project
Content/configs/SMBX/script/npcs/dry_bones.lua
1
3739
class 'dryBones' local AI_NORMAL = 0 local AI_COLLAPSED = 1 local ANIM_WALKING = 0 local ANIM_COLLAPSING = 1 local ANIM_ASSEMBLING = 2 function dryBones:initProps() self:assemble() end function dryBones:__init(npc_obj) self.npc_obj = npc_obj self.animateWalkL = {0,1} self.animateW...
gpl-3.0
zhaojun2066/lightning
lightning-gateway/lualib/resty/kafka/producer.lua
1
10718
-- Copyright (C) Dejiang Zhu(doujiang24) local response = require "resty.kafka.response" local request = require "resty.kafka.request" local broker = require "resty.kafka.broker" local client = require "resty.kafka.client" local Errors = require "resty.kafka.errors" local sendbuffer = require "resty.kafka.sendbuffer"...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Valkurm_Dunes/npcs/qm3.lua
3
1951
----------------------------------- -- Area: Valkurm Dunes -- NPC: qm3 (???) -- Involved In Quest: Yomi Okuri -- !pos -767 -4 192 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scrip...
gpl-3.0
mzguanglin/LuCI
libs/lucid-rpc/luasrc/lucid/rpc.lua
52
1197
--[[ LuCI - Lua Development Framework Copyright 2009 Steven Barth <steven@midlink.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$ ]] local re...
apache-2.0
liwenzhong/Atlas
lib/proxy/balance.lua
41
2807
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, 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
TheRikyHUN/fooniks
resources/citizens/citizens_common.lua
2
1382
function positive ( num ) if ( num < 0 ) then num = 0 - num end return num end function iif ( cond, arg1, arg2 ) if ( cond ) then return arg1 end return arg2 end function getAreaFromPos ( x, y, z ) x = x + 3000 y = y + 3000 if ( ( 0 < x and x < 6000 ) and ( 0 < y and y < 6000 ) ) then ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Beaucedine_Glacier/mobs/Calcabrina.lua
3
2068
----------------------------------- -- Area: Beaucedine Glacier -- NM: Calcabrina ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- -- onMobInitialize ----------------------------------- funct...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/spells/dia_iii.lua
1
2930
----------------------------------------- -- Spell: Dia III -- Lowers an enemy's defense and gradually deals light elemental damage. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Dia III value per point is '30' This is a constant set in the table 'mer...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/RuLude_Gardens/npcs/Pherimociel.lua
3
3036
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Pherimociel -- Involved in mission: COP 1-2 -- !pos -31.627 1.002 67.956 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); r...
gpl-3.0
jthomasbarry/aafmt
archive/book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/control/ComponentOrder.lua
3
3000
-- Copyright 2012 by Till Tantau -- -- This file may be distributed an/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/items/bijou_glace.lua
12
1326
----------------------------------------- -- ID: 4269 -- Item: Bijou Glace -- Food Effect: 240Min, All Races ----------------------------------------- -- Magic % 13 -- Magic Cap 90 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); -----------------------------...
gpl-3.0
Cyco12/PotatoBot
deps/discordia/utils/Stopwatch.lua
3
1513
local hrtime = require('uv').hrtime local Stopwatch, property, method = class('Stopwatch') Stopwatch.__description = "Utility that measures elapsed time with nanosecond precision." function Stopwatch:__init() self._time = hrtime() end property('hours', function(self) return self.seconds / 3600 end, nil, 'number', ...
apache-2.0
ryandoyle/wireshark
test/lua/pcre_sets.lua
35
6911
-- See Copyright Notice in the file lrexlib.h local luatest = require "luatest" local N = luatest.NT local function norm(a) return a==nil and N or a end local function fill (n, m) local t = {} for i = n, m, -1 do table.insert (t, i) end return t end local function set_named_subpatterns (lib, flg) return { ...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/items/serving_of_bison_steak.lua
12
1781
----------------------------------------- -- ID: 5142 -- Item: serving_of_bison_steak -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 6 -- Agility 1 -- Intelligence -3 -- Attack % 18 -- Attack Cap 90 -- Ranged ATT % 18 -- Ranged ATT Cap 90 -- Lizard Killer 5 ---------------------...
gpl-3.0
petoju/awesome
tests/examples/wibox/container/defaults/template.lua
5
2436
local file_path, image_path = ... require("_common_template")(...) local beautiful = require( "beautiful" ) local wibox = require( "wibox" ) local shape = require( "gears.shape" ) -- Let the test request a size and file format local before, after = loadfile(file_path)() local container = wibox....
gpl-2.0
onpon4/naev
dat/missions/neutral/race1.lua
1
9901
--[[ <?xml version='1.0' encoding='utf8'?> <mission name="Racing Skills 1"> <flags> <unique /> </flags> <avail> <priority>50</priority> <cond>(player.pilot():ship():class() == "Yacht" or player.pilot():ship():class() == "Luxury Yacht") and planet.cur():class() ~= "1" and planet.cur():class() ~= "2" and planet...
gpl-3.0
rafradek/wire
lua/entities/gmod_wire_expression2/core/extloader.lua
8
4946
--[[ Loading extensions ]] wire_expression2_PreLoadExtensions() -- Save E2's metatable for wire_expression2_reload if ENT then local wire_expression2_ENT = ENT function wire_expression2_reload(ply, cmd, args) if IsValid( ply ) and not ply:IsSuperAdmin() and not game.SinglePlayer() then ply:PrintMessage( 2,...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Abyssea-Misareaux/npcs/qm18.lua
3
1716
----------------------------------- -- Zone: Abyssea-Misareaux -- NPC: qm18 (???) -- Spawns Amhuluk -- !pos ? ? ? 216 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- ...
gpl-3.0
bmichalo/MoonGen
examples/pcap/pcap-test.lua
2
2375
--! @file pcap-test.lua --! @brief This is a simple test for MoonGen's pcap import and export functionality local mg = require "dpdk" local memory = require "memory" local device = require "device" local log = require "log" local ts = require "timestamping" local pcap = require "pcap" function master(source, sin...
mit
RebootRevival/FFXI_Test
scripts/zones/West_Sarutabaruta/Zone.lua
12
4557
----------------------------------- -- -- Zone: West_Sarutabaruta (115) -- ----------------------------------- package.loaded[ "scripts/zones/West_Sarutabaruta/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require( "scripts/zones/West_Sarutabaruta/TextIDs...
gpl-3.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/auto/api/ActionManager.lua
10
3634
-------------------------------- -- @module ActionManager -- @extend Ref -- @parent_module cc -------------------------------- -- Gets an action given its tag an a target<br> -- return the Action the with the given tag -- @function [parent=#ActionManager] getActionByTag -- @param self -- @param #int tag -- @param #...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Northern_San_dOria/npcs/Emilia.lua
3
1034
----------------------------------- -- Area: Northern San d'Oria -- NPC: Emilia -- Type: Standard Dialogue NPC -- @zone 231 -- !pos -39.840 -2.000 -5.403 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); --...
gpl-3.0
petoju/awesome
spec/gears/matcher_spec.lua
3
1226
--------------------------------------------------------------------------- -- @author Yauheni Kirylau -- @copyright 2020 Yauheni Kirylau --------------------------------------------------------------------------- local matcher = require("gears.matcher") local matcher_instance = matcher() local test_obj = { foo='...
gpl-2.0
petoju/awesome
spec/beautiful/init_spec.lua
4
3552
--------------------------------------------------------------------------- -- @author -- @copyright 2019 --------------------------------------------------------------------------- local beautiful = require("beautiful") local gdebug = require("gears.debug") describe("beautiful init", function() local dir = (os.g...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Jidwahn.lua
3
1216
----------------------------------- -- Area: Silver sea route to Mhaura -- NPC: Jidwahn -- Guild Merchant NPC: Fishing Guild -- !pos 4.986 -2.101 -12.026 58 ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Throne_Room/mobs/Shadow_Lord.lua
23
5454
----------------------------------- -- Area: Throne Room -- MOB: Shadow Lord -- Mission 5-2 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMob...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Lower_Jeuno/npcs/HomePoint#1.lua
3
1263
----------------------------------- -- Area: Lower Jeuno -- NPC: HomePoint#1 -- !pos -98.588 0.001 -183.416 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Lower_Jeuno/TextIDs"); require("scripts/globals/ho...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/abilities/hunters_roll.lua
1
2746
----------------------------------- -- Ability: Hunter's Roll -- Enhances accuracy and ranged accuracy for party members within area of effect -- Optimal Job: Ranger -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 11 -- -- Die Roll |Without RNG |With RNG -- -------- ------------ ------- -- 1 |+10 ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Abyssea-La_Theine/npcs/qm6.lua
3
1347
----------------------------------- -- Zone: Abyssea-LaTheine -- NPC: qm6 (???) -- Spawns Grandgousier -- !pos ? ? ? 132 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/mobskills/chemical_bomb.lua
28
1133
--------------------------------------------- -- Chemical_Bomb -- -- Description: slow + elegy --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------- function onMob...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/spells/foe_requiem_vi.lua
1
1882
----------------------------------------- -- Spell: Foe Requiem VI ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
ashang/koreader
frontend/device/kindle/event_map_keyboard.lua
11
1343
--[[ event map for Kindle devices with an alphabetic and/or alphanumeric keyboard --]] return { [2] = "1", [3] = "2", [4] = "3", [5] = "4", [6] = "5", [7] = "6", [8] = "7", [9] = "8", [10] = "9", [11] = "0", [16] = "Q", [17] = "W", [18] = "E", [19] = "R", [20] = "T", [21] = "Y", [22] = "U", [23] = "I",...
agpl-3.0
ashang/koreader
frontend/apps/reader/modules/readerconfig.lua
4
2911
local ConfigDialog = require("ui/widget/configdialog") local InputContainer = require("ui/widget/container/inputcontainer") local Device = require("device") local GestureRange = require("ui/gesturerange") local Geom = require("ui/geometry") local Screen = require("device").screen local Event = require("ui/event") local...
agpl-3.0
onpon4/naev
dat/missions/neutral/commodity_run.lua
1
4974
--[[ <?xml version='1.0' encoding='utf8'?> <mission name="Commodity Run"> <avail> <priority>79</priority> <cond>var.peek("commodity_runs_active") == nil or var.peek("commodity_runs_active") &lt; 3</cond> <chance>90</chance> <location>Computer</location> <faction>Dvaered</faction> <faction>Empire</faction> ...
gpl-3.0
wskplho/sl4a
lua/luasocket/src/http.lua
121
12193
----------------------------------------------------------------------------- -- HTTP/1.1 client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: http.lua,v 1.71 2007/10/13 23:55:20 diego Exp $ ----------------------------------------------------------------------------- -----...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Northern_San_dOria/npcs/Abioleget.lua
3
2372
----------------------------------- -- Area: Northern San d'Oria -- NPC: Abioleget -- Type: Quest Giver (Her Memories: The Faux Pas and The Vicasque's Sermon) / Merchant -- @zone 231 -- !pos 128.771 0.000 118.538 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/smilodon_liver.lua
12
1347
----------------------------------------- -- ID: 5668 -- Item: Smilodon Liver -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 5 -- Intelligence -7 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
apwiede/nodemcu-firmware-2.0
lua_examples/irsend.lua
88
1803
------------------------------------------------------------------------------ -- IR send module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> -- -- Example: -- dofile("irsend.lua").nec(4, 0x00ff00ff) -----------------------------------------------------------------------...
mit
RebootRevival/FFXI_Test
scripts/globals/items/behemoth_steak_+1.lua
12
2003
----------------------------------------- -- ID: 6465 -- Item: behemoth_steak_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- HP +45 -- STR +8 -- DEX +8 -- INT -4 -- Attack +24% (cap 165) -- Ranged Attack +24% (cap 165) -- Triple Attack +2% -- Lizard Killer +5 -- hHP +5 ---------------...
gpl-3.0
TheRikyHUN/fooniks
resources/phoenix_Business/business-server.lua
2
20837
-- TODO: --[[ * Realval Calc. * simple trucker job. Hiljem: * Servicetüüp mis koosneb teistest servicetüübitest. kiirsöökla * pitsa * burks * sprite jne ]]-- local biznesses = { }; local services = { }; local warehouses = { }; local oPos = { }; local teletime = { }; function...
gpl-3.0
tommo/mock
mock/animator/EmbedAnimator.lua
1
1915
module 'mock' local _clipDataCache = {} local function loadEmbdedAnimatorData( strData ) local loadedData = _clipDataCache[ strData ] if loadedData then return loadedData end local animatorData = loadAnimatorDataFromString( strData ) _clipDataCache[ strData ] = animatorData return animatorData end --------------...
mit
RebootRevival/FFXI_Test
scripts/zones/Temple_of_Uggalepih/npcs/Old_Casket.lua
3
1539
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Old casket -- Obtaining 'Paintbrush of Souls' -- !pos 61 0 17 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); req...
gpl-3.0
majidhp888/Hack
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- 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 request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/The_Ashu_Talif/mobs/Gessho.lua
10
2710
----------------------------------- -- Area: The Ashu Talif (The Black Coffin) -- MOB: Gessho -- TOAU-15 Mission Battle ----------------------------------- local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs"); require("scripts/globals/allyassist"); require("scripts/globals/instance"); require("scripts/glo...
gpl-3.0
petoju/awesome
tests/test-selection-transfer.lua
2
7427
-- Test the selection ownership and transfer API local runner = require("_runner") local spawn = require("awful.spawn") -- Assemble data for the large transfer that will be done later local large_transfer_piece = "a" for _ = 1, 25 do large_transfer_piece = large_transfer_piece .. large_transfer_piece end large_tr...
gpl-2.0
tommo/mock
mock/common/init.lua
1
1873
-------------------------------------------------------------------- --ASSET --COMMON require 'mock.common.BasicAsset' require 'mock.common.DataAsset' require 'mock.common.DataSheetAsset' require 'mock.common.AssetMap' require 'mock.common.AssetList' --SCENE require 'mock.common.EntityGUID' require 'mock.common.SceneA...
mit
RebootRevival/FFXI_Test
scripts/globals/mobskills/polar_blast.lua
33
1412
--------------------------------------------- -- Polar Blast -- -- Description: Deals Ice damage to enemies within a fan-shaped area. Additional effect: Paralyze -- Type: Breath -- Ignores Shadows -- Range: Unknown Cone --------------------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
ys1045097987/Face-Experiments
stn/st.lua
1
2914
require 'nn' require 'cunn' require 'cudnn' require 'stn' local net = {} local utils = paths.dofile('utils.lua') function net.createModel(opt) local pretrained_model = torch.load(opt.pretrained) local spatial_resolution = nn.Sequential() spatial_resolution:add(pretrained_model:get(1)) spatial_resoluti...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/items/coffeecake_muffin_+1.lua
12
1372
----------------------------------------- -- ID: 5656 -- Item: coffeecake_muffin_+1 -- Food Effect: 1Hr, All Races ----------------------------------------- -- Mind 2 -- Strength -1 -- MP % 10 (cap 90) ----------------------------------------- require("scripts/globals/status"); ---------------------------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/spells/bluemagic/venom_shell.lua
1
1531
----------------------------------------- -- Spell: Venom Shell -- Poisons enemies within range and gradually reduces their HP -- Spell cost: 86 MP -- Monster Type: Aquans -- Spell Type: Magical (Water) -- Blue Magic Points: 3 -- Stat Bonus: MND+2 -- Level: 42 -- Casting Time: 3 seconds -- Recast Time: 45 seconds -- Ma...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Port_Jeuno/npcs/Sugandhi.lua
17
1570
----------------------------------- -- Area: Port Bastok -- NPC: Sugandhi -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
zzh442856860/skynet
lualib/snax/loginserver.lua
42
5057
local skynet = require "skynet" require "skynet.manager" local socket = require "socket" local crypt = require "crypt" local table = table local string = string local assert = assert --[[ Protocol: line (\n) based text protocol 1. Server->Client : base64(8bytes random challenge) 2. Client->Server : base64(8bytes...
mit
bungle/lua-resty-prettycjson
lib/resty/prettycjson.lua
2
1493
local ok, cjson = pcall(require, "cjson.safe") local enc = ok and cjson.encode or function() return nil, "Lua cJSON encoder not found" end local cat = table.concat local sub = string.sub local rep = string.rep return function(dt, lf, id, ac, ec) local s, e = (ec or enc)(dt) if not s then return s, e end lf,...
bsd-3-clause
RebootRevival/FFXI_Test
scripts/zones/RuAun_Gardens/npcs/qm2.lua
3
1472
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: ??? (Seiryu's Spawn) -- Allows players to spawn the HNM Seiryu with a Gem of the East and a Springstone. -- !pos 569 -70 -80 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; -------------------------...
gpl-3.0
openwrt-es/openwrt-luci
libs/luci-lib-nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
apache-2.0
soumith/turbo
turbo/3rdparty/JSON.lua
10
26141
-- -*- coding: utf-8 -*- -- -- Copyright 2010-2011 Jeffrey Friedl -- http://regex.info/blog/ -- local VERSION = 20111207.5 -- version history at end of file local OBJDEF = { VERSION = VERSION } -- -- Simple JSON encoding and decoding in pure Lua. -- http://www.json.org/ -- -- -- JSON = loadfile "JSON.lua" -- one-ti...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/mobskills/osmosis.lua
28
1120
--------------------------------------------- -- Osmosis -- -- Description: Steals an enemy's HP and one beneficial status effect. Ineffective against undead. -- Type: Magical --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globa...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Kamihr_Drifts/npcs/HomePoint#1.lua
3
1261
----------------------------------- -- Area: Kamihr Drifts -- NPC: HomePoint#1 -- !pos 210 20.299 315 267 ----------------------------------- package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Kamihr_Drifts/TextIDs"); require("scripts/globals/home...
gpl-3.0
binesiyu/hammerspoon
modes/viewM.lua
1
2938
require "modalbase" viewM = modalbase.create("alt", "V",'Enter View Mode',"viewM") function moveMouseBy(offsetx,offsety) local currentpos = hs.mouse.getRelativePosition() local newpos = hs.geometry.point(currentpos.x+offsetx,currentpos.y+offsety) hs.mouse.setRelativePosition(newpos) end function clickWi...
mit
RebootRevival/FFXI_Test
scripts/globals/items/plate_of_squid_sushi.lua
12
1786
----------------------------------------- -- ID: 5148 -- Item: plate_of_squid_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 30 -- Dexterity 6 -- Agility 5 -- Mind -1 -- Accuracy % 15 -- Ranged ACC % 15 -- Sleep Resist 1 ----------------------------------------- require("scr...
gpl-3.0
soumith/turbo
turbo/inotify.lua
12
5820
--- Turbo.lua inotify Module -- -- Copyright 2013 John Abrahamsen -- -- 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...
apache-2.0
mzguanglin/LuCI
libs/sys/luasrc/sys/iptparser.lua
2
9753
--[[ Iptables parser and query library (c) 2008-2009 Jo-Philipp Wich <xm@leipzig.freifunk.net> (c) 2008-2009 Steven Barth <steven@midlink.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 ...
apache-2.0
ciufciuf57/nodemcu-firmware
lua_examples/yet-another-ds18b20.lua
79
1924
------------------------------------------------------------------------------ -- DS18B20 query module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> -- -- Example: -- dofile("ds18b20.lua").read(4, function(r) for k, v in pairs(r) do print(k, v) end end) ------------------...
mit
RebootRevival/FFXI_Test
scripts/zones/RuAun_Gardens/npcs/Pincerstone.lua
17
4173
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: Pincerstone -- NPCs which activates the blue teleports in sky ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuAun_Gardens/TextIDs"); ------...
gpl-3.0
genuinelucifer/CppSharp
build/premake5.lua
1
1080
-- This is the starting point of the build scripts for the project. -- It defines the common build settings that all the projects share -- and calls the build scripts of all the sub-projects. config = {} dofile "Helpers.lua" dofile "LLVM.lua" solution "CppSharp" configurations { "Debug", "Release" } platforms {...
mit
RebootRevival/FFXI_Test
scripts/globals/spells/luminohelix.lua
3
1979
-------------------------------------- -- Spell: Luminohelix -- Deals light 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/...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/VeLugannon_Palace/Zone.lua
12
1654
----------------------------------- -- -- Zone: VeLugannon_Palace (177) -- ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/VeLugannon_Pal...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Toraimarai_Canal/Zone.lua
12
1644
----------------------------------- -- -- Zone: Toraimarai_Canal (169) -- ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings") require("scripts/globals/zone"); require("scripts/zones/Toraimarai_Canal/...
gpl-3.0
rudolfmleziva/AdministratorTeritorial
cocos2d/cocos/scripting/lua-bindings/auto/api/DisplayManager.lua
10
4423
-------------------------------- -- @module DisplayManager -- @extend Ref -- @parent_module ccs -------------------------------- -- -- @function [parent=#DisplayManager] getDisplayRenderNode -- @param self -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- -- @function [p...
gpl-3.0
openwrt-es/openwrt-luci
applications/luci-app-travelmate/luasrc/model/cbi/travelmate/configuration_tab.lua
7
1085
-- Copyright 2017-2018 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local fs = require("nixio.fs") local util = require("luci.util") local input = "/etc/config/travelmate" if not fs.access(input) then m = SimpleForm("error", nil, translate("Input file no...
apache-2.0