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/items/red_hot_cracker.lua
12
1337
----------------------------------------- -- ID: 4281 -- Item: red_hot_cracker -- Food Effect: 3Min, All Races ----------------------------------------- -- HP Recovered While Healing 9 -- Beast Killer 12 -- Resist Sleep 12 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
luodan0709/openwrt-extra
luci/applications/luci-app-webshell/luasrc/controller/webshell.lua
7
1453
module("luci.controller.webshell", package.seeall) function index() luci.i18n.loadc("webshell") local i18n = luci.i18n.translate page = entry({"admin", "system", "cmd_run"}, call("cmd_run"), nil) page.leaf = true page = node("admin", "system", "WebShell") page.target = template("webshell") page.title = i18n("We...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/spells/advancing_march.lua
27
1451
----------------------------------------- -- Spell: Advancing March -- Gives party members Haste ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,s...
gpl-3.0
jthomasbarry/aafmt
archive/book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/deprecated/Graph.lua
3
9772
-- Copyright 2010 by Renée Ahrens, Olof Frahm, Jens Kluttig, Matthias Schulz, Stephan Schuster -- Copyright 2011 by Jannis Pohlmann -- 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 f...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/The_Eldieme_Necropolis/npcs/_5f1.lua
3
1245
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- !pos 215 -34 20 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); require...
gpl-3.0
mzguanglin/LuCI
applications/luci-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua
80
2000
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Buburimu_Peninsula/npcs/Logging_Point.lua
17
1100
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Buburimu_Peninsula/TextIDs"); ...
gpl-3.0
openwrt-es/openwrt-luci
applications/luci-app-unbound/luasrc/model/cbi/unbound/zone-details.lua
7
3148
-- Copyright 2018 Eric Luehrsen <ericluehrsen@gmail.com> -- Licensed to the public under the Apache License 2.0. local sy = require "luci.sys" local ds = require "luci.dispatcher" local hp = require "luci.http" local m7, s7 local ena, flb, zty, znm, srv, rlv, tlu local prt, tlp, tli, url arg[1] = arg[1] or "" m7 = Ma...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Northern_San_dOria/npcs/Pellimie.lua
3
1038
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pellimie -- Type: Standard Dialogue NPC -- @zone 231 -- !pos 145.459 0.000 131.540 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"); ...
gpl-3.0
jthomasbarry/aafmt
archive/book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/jedi/base/Preprocessing.lua
2
3633
-- Copyright 2014 by Ida Bruhns -- -- 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 --- This file holds functions to create lists of vertex pairs. All -- fu...
gpl-2.0
jpmac26/PGE-Project
Content/configs/SMBX/script/npcs/horizontal_piranha.lua
1
5088
class 'horizontal_piranha' local AI_SHOWING_UP = 0 local AI_SHOWING_IDLE = 1 local AI_HIDING_DOWN = 2 local AI_HIDING_IDLE = 3 function horizontal_piranha:hideSprite() if (self.npc_obj.direction == 1) then self.npc_obj:setSpriteWarp(1.0, 2, true) elseif (self.npc_obj.direction == -1) then ...
gpl-3.0
openwrt-es/openwrt-luci
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua
5
2676
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.interface", package.seeall) function item() return luci.i18n.translate("Interfaces") end function rrdargs( graph, plugin, plugin_instance ) -- ...
apache-2.0
RebootRevival/FFXI_Test
scripts/globals/items/broiled_trout.lua
12
1385
----------------------------------------- -- ID: 4587 -- Item: Broiled Trout -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -1 -- Ranged ATT % 14 (cap 55) ----------------------------------------- require("scripts/globals/status"); -----------------------------------...
gpl-3.0
felixdae/skynet
examples/client.lua
67
2101
package.cpath = "luaclib/?.so" package.path = "lualib/?.lua;examples/?.lua" if _VERSION ~= "Lua 5.3" then error "Use lua 5.3" end local socket = require "clientsocket" local proto = require "proto" local sproto = require "sproto" local host = sproto.new(proto.s2c):host "package" local request = host:attach(sproto.n...
mit
RebootRevival/FFXI_Test
scripts/globals/items/slice_of_roast_mutton.lua
12
1390
----------------------------------------- -- ID: 4437 -- Item: slice_of_roast_mutton -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Southern_San_dOria_[S]/npcs/Louxiard.lua
3
2506
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Louxiard -- !pos -93 -4 49 80 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("script...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Windurst_Woods/npcs/HomePoint#5.lua
3
1263
----------------------------------- -- Area: Windurst Woods -- NPC: HomePoint#5 -- !pos -43.5 0 -145 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Woods/TextIDs"); require("scripts/globals/hom...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ch.lua
3
1055
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5ch (Gate of Thunder) -- !pos -331 0 139 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs"); --...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Stellar_Fulcrum/npcs/_4z0.lua
8
1605
----------------------------------- -- Area: Stellar Fulcrum -- Door: Qe'Lov Gate -- !pos -520 -4 17 179 ------------------------------------- package.loaded["scripts/zones/Stellar_Fulcrum/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/globals/bcnm...
gpl-3.0
rafradek/wire
lua/wire/stools/dual_input.lua
9
2203
WireToolSetup.setCategory( "Input, Output/Keyboard Interaction" ) WireToolSetup.open( "dual_input", "Dual Input", "gmod_wire_dual_input", nil, "Dual Inputs" ) if CLIENT then language.Add( "tool.wire_dual_input.name", "Dual Input Tool (Wire)" ) language.Add( "tool.wire_dual_input.desc", "Spawns a daul input for use w...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Gusgen_Mines/npcs/_5g0.lua
3
1087
----------------------------------- -- Area: Gusgen Mines -- NPC: _5g0 (Door C) -- !pos 44 -42.4 -25.5 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -------------------------------...
gpl-3.0
darkonie/dcos
packages/adminrouter/extra/src/resty/jwt.lua
10
27221
local cjson = require "cjson.safe" local aes = require "resty.aes" local evp = require "resty.evp" local hmac = require "resty.hmac" local resty_random = require "resty.random" local _M = {_VERSION="0.1.9"} local mt = {__index=_M} local string_match= string.match local string_rep = string.rep local string_format = s...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Xarcabard/npcs/Cavernous_Maw.lua
3
1897
----------------------------------- -- Area: Xarcabard -- NPC: Cavernous Maw -- !pos 270 -9 -70 -- Teleports Players to Abyssea - Uleguerand ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Buburimu_Peninsula/npcs/Stone_Monument.lua
3
1303
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- !pos 320.755 -4.000 368.722 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
majidhp888/Hack
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
zzh442856860/skynet
service/cmaster.lua
78
3256
local skynet = require "skynet" local socket = require "socket" --[[ master manage data : 1. all the slaves address : id -> ipaddr:port 2. all the global names : name -> address master hold connections from slaves . protocol slave->master : package size 1 byte type 1 byte : 'H' : HANDSHAKE, report slav...
mit
N3MDR-CoderTeam/Antispam
libs/redis.lua
32
1129
local Redis = (loadfile "./libs/lua-redis.lua")() local FakeRedis = (loadfile "./libs/fakeredis.lua")() local params = { host = '127.0.0.1', port = 6379, } -- Overwrite HGETALL Redis.commands.hgetall = Redis.command('hgetall', { response = function(reply, command, ...) local new_reply = { } for i = 1, #...
gpl-3.0
daogangtang/redis_luajit2.6
deps/luajit-2.0/dynasm/dasm_ppc.lua
15
37064
------------------------------------------------------------------------------ -- DynASM PPC module. -- -- Copyright (C) 2005-2012 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
bsd-3-clause
RebootRevival/FFXI_Test
scripts/globals/items/salmon_rice_ball.lua
12
1508
----------------------------------------- -- ID: 4590 -- Item: Salmon Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +10 -- Dex +2 -- Vit +2 -- Mnd -1 -- hHP +1 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +40 -- Def +40 --------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/mobskills/turbofan.lua
33
1281
--------------------------------------------------- -- Turbofan -- Description: -- Type: Magical -- additional effect : Silence. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/commands/setmentor.lua
3
1161
--------------------------------------------------------------------------------------------------- -- func: setmentor <MentorMode> <target> -- desc: 0 = Not a mentor, 1 = Unlocked but inactive, 2 = Unlocked & flag on. --------------------------------------------------------------------------------------------------- ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/mobskills/sickle_slash.lua
34
1178
--------------------------------------------------- -- Sickle Slash -- Deals critical damage. Chance of critical hit varies with TP. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ------------------...
gpl-3.0
tommo/mock
mock/gfx/PatchTexturePlane.lua
1
1254
module 'mock' CLASS: PatchTexturePlane ( TexturePlane ) mock.registerComponent( 'PatchTexturePlane', PatchTexturePlane ) function PatchTexturePlane:__init() self.deck = StretchPatch() self.prop:setDeck( self.deck:getMoaiDeck() ) self.w = 100 self.h = 100 end function PatchTexturePlane:setTexture( t ) PatchText...
mit
RebootRevival/FFXI_Test
scripts/zones/Silver_Sea_route_to_Nashmau/Zone.lua
17
1405
----------------------------------- -- -- Zone: Silver_Sea_route_to_Nashmau -- ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"); require("scripts/globals/sett...
gpl-3.0
onpon4/naev
dat/factions/spawn/miner.lua
1
1228
local scom = require "factions.spawn.lib.common" -- @brief Spawns a small group of miners function spawn_patrol () local pilots = {} local r = rnd.rnd() if r < 0.5 then scom.addPilot( pilots, "Llama", 20, {name=N_("Miner Llama"), ai="miner"} ) elseif r < 0.8 then scom.addPilot( pilots, "Koala...
gpl-3.0
soumith/turbo
examples/chunked.lua
12
1209
--- Turbo.lua Streaming write example -- -- 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 re...
apache-2.0
genuinelucifer/CppSharp
build/scripts/Build.lua
5
1685
require "Utils" function get_msbuild_path() local msbuild = '%SystemRoot%\\system32\\reg.exe query "HKLM\\SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\4.0" /v MSBuildToolsPath' local val = execute(msbuild) for i in string.gmatch(val, "%S+") do if os.isdir(i) then return i end end error("MSBuild path coul...
mit
onpon4/naev
dat/missions/dvaered/assault_on_unicorn.lua
1
4043
--[[ <?xml version='1.0' encoding='utf8'?> <mission name="Assault on Unicorn"> <avail> <priority>30</priority> <cond>player.numOutfit("Mercenary License") &gt; 0 and faction.playerStanding("Dvaered") &gt; 5 and system.cur() == system.get("Amaroq") and not var.peek("assault_on_unicorn_check")</cond> <chance>36</c...
gpl-3.0
coinzen/dvctipbot
interactive.lua
1
6939
-- Warning! This file reloads everytime a message is received local seawolf = require 'seawolf'.__build('variable', 'text') local uuid = require 'uuid' local empty = seawolf.variable.empty local explode = seawolf.text.explode local is_numeric = seawolf.variable.is_numeric local print_r = seawolf.variable.print_r -- De...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cg.lua
3
1051
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cg (Gate of Fire) -- !pos -332 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs"); ------...
gpl-3.0
tommo/mock
mock/gfx/asset/Spine.lua
1
4481
module 'mock' -------------------------------------------------------------------- --Atlas conversion -------------------------------------------------------------------- local gsplit, trim = string.gsplit, string.trim local function parseTuple( s ) local t = {} for part in gsplit( s, ',' ) do part = trim( part ) ...
mit
RebootRevival/FFXI_Test
scripts/zones/Temenos/bcnms/temenos_eastern_tower.lua
35
1553
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) if (GetMobAction(16928844) > 0) then DespawnMob(16928844);end if (GetMobAction(16928853) > 0) then DespawnMob(16928853);en...
gpl-3.0
mzguanglin/LuCI
modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
86
2540
--[[ LuCI - Lua Configuration Interface Copyright 2008 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$ ]]-- req...
apache-2.0
sidsen/redis
deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
bsd-2-clause
RebootRevival/FFXI_Test
scripts/zones/Windurst_Walls/npcs/Jack_of_Diamonds.lua
17
1238
----------------------------------- -- Area: Windurst Walls -- NPC: Jack of Diamonds -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; require("scripts/zones/Windurst_Walls/TextIDs"); -----...
gpl-3.0
mzguanglin/LuCI
applications/luci-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua
80
3431
--[[ Luci configuration model for statistics - collectd rrdtool plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Licen...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Bastok_Mines/npcs/Phara.lua
3
2673
----------------------------------- -- Area: Bastok Mines -- NPC: Phara -- Starts and Finishes Quest: The doorman (start) -- Involved in Quest: The Talekeeper's Truth -- !zone 234 -- !pos 75 0 -80 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; --------------------------...
gpl-3.0
pabloriutort/Shadows
Shadow.lua
1
2563
require "Square" -- import base class -------------------------------------------------- -- STATIC VARIABLES -- -------------------------------------------------- local CLASS_NAME = "Shadow" local COUNT = 0 -- instances generated, used for ID local SIZE = 50 -- default size local X = love.graphics.getWidth...
mit
RebootRevival/FFXI_Test
scripts/globals/items/blindfish.lua
12
1324
----------------------------------------- -- ID: 4313 -- Item: Blindfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/handful_of_bloody_chocolate.lua
12
1157
----------------------------------------- -- ID: 5646 -- Item: handful_of_bloody_chocolate -- Food Effect: 1hour, All Races ----------------------------------------- -- MP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/PsoXja/npcs/_09d.lua
3
2848
----------------------------------- -- Area: Pso'Xja -- NPC: _09d (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- !pos 301.600 -1.925 -10.000 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
onpon4/naev
dat/missions/neutral/sightseeing.lua
1
9380
--[[ <?xml version='1.0' encoding='utf8'?> <mission name="Sightseeing"> <avail> <priority>59</priority> <cond>planet.cur():class() ~= "1" and planet.cur():class() ~= "2" and planet.cur():class() ~= "3" and system.cur():presences()["Civilian"] ~= nil and system.cur():presences()["Civilian"] &gt; 0</cond> <chance>...
gpl-3.0
luochen1990/smart-bot
src/st_01_debug_tools.lua
1
3938
--------------------------------- debug tools ---------------------------------- DEBUG = true __assert = assert if DEBUG then assert = __assert else assert = function() end end --assert = function(...) if DEBUG then __assert(...) end end _callStack = {} -- | markCallSite : CallSiteName -> (() -> a) -> a markCallSite...
mit
RebootRevival/FFXI_Test
scripts/zones/Metalworks/npcs/Franziska.lua
17
1138
----------------------------------- -- Area: Metalworks -- NPC: Franziska -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); ----------------------------------- -- on...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Kazham/npcs/Cobbi_Malgharam.lua
17
1073
----------------------------------- -- Area: Kazham -- NPC: Cobbi Malgharam -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua
3
1856
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Gate: Magical Gizmo -- Involved In Mission: Full Moon Fountain -- !pos -291 0 -659 194 ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
plsytj/skynet
test/testsocket.lua
80
1078
local skynet = require "skynet" local socket = require "socket" local mode , id = ... local function echo(id) socket.start(id) while true do local str = socket.read(id) if str then socket.write(id, str) else socket.close(id) return end end end if mode == "agent" then id = tonumber(id) skynet....
mit
zzh442856860/skynet
test/testsocket.lua
80
1078
local skynet = require "skynet" local socket = require "socket" local mode , id = ... local function echo(id) socket.start(id) while true do local str = socket.read(id) if str then socket.write(id, str) else socket.close(id) return end end end if mode == "agent" then id = tonumber(id) skynet....
mit
onpon4/naev
dat/missions/flf/flf_pre01.lua
1
16107
--[[ <?xml version='1.0' encoding='utf8'?> <mission name="Deal with the FLF agent"> <flags> <unique /> </flags> <avail> <priority>19</priority> <chance>100</chance> <location>None</location> </avail> <notes> <done_evt name="FLF/DV Derelicts">If you choose to help Gregar</done_evt> <campaign>Join the FL...
gpl-3.0
openwrt-es/openwrt-luci
libs/luci-lib-nixio/docsrc/README.lua
10
4757
--- General Information. module "nixio.README" --- General error handling information. -- <ul> -- <li> Most of the functions available in this library may fail. If any error -- occurs the function returns <strong>nil or false</strong>, an error code -- (usually errno) and an additional error message text (if avaialabl...
apache-2.0
khoshhal/Fighterbot
plugins/linkpv.lua
107
31031
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
RebootRevival/FFXI_Test
scripts/globals/items/bowl_of_vegetable_gruel.lua
12
1502
----------------------------------------- -- ID: 4489 -- Item: bowl_of_vegetable_gruel -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Vitality -1 -- Agility 2 -- Ranged Accuracy % 15 (cap 10) -- HP Recovered While Healing 4 ----------------------------------------- require("scripts/global...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/cone_calamary.lua
12
1328
----------------------------------------- -- ID: 5128 -- Item: Cone Calamary -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/maple_cake.lua
12
1250
----------------------------------------- -- ID: 5625 -- Item: Maple Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recoverd while healing 1 -- MP Recovered while healing 4 ----------------------------------------- require("scripts/globals/status"); -------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/spells/absorb-int.lua
1
1530
-------------------------------------- -- Spell: Absorb-INT -- Steals an enemy's intelligence. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -------------...
gpl-3.0
giacrio/C-S-iteam
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-3.0
Luciferzn/luciferself
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-3.0
onpon4/naev
dat/factions/spawn/independent.lua
1
2766
local scom = require "factions.spawn.lib.common" -- @brief Spawns a small patrol fleet. function spawn_patrol () local pilots = {} local r = rnd.rnd() if r < 0.5 then scom.addPilot(pilots, "Schroedinger", 12, {name=N_("Independent Schroedinger")}) elseif r < 0.8 then scom.addPilot...
gpl-3.0
tommo/mock
mock/sqscript/SQScript.lua
1
32182
module 'mock' local ccreate, cresume, cyield, cstatus = coroutine.create, coroutine.resume, coroutine.yield, coroutine.status local insert, remove = table.insert, table.remove -------------------------------------------------------------------- --FastForward ---------------------------------------------------------...
mit
mzguanglin/LuCI
applications/luci-statistics/luasrc/model/cbi/luci_statistics/iptables.lua
1
3636
--[[ Luci configuration model for statistics - collectd iptables plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Lice...
apache-2.0
petoju/awesome
lib/beautiful/theme_assets.lua
3
9157
---------------------------------------------------------------------------- --- Generate vector assets using current colors. -- -- @author Yauhen Kirylau &lt;yawghen@gmail.com&gt; -- @copyright 2015 Yauhen Kirylau -- @module beautiful ---------------------------------------------------------------------------- local ...
gpl-2.0
sjmGithub/csi280LearningExperience
share/lua/playlist/liveleak.lua
91
1883
--[[ $Id$ Copyright © 2012 VideoLAN and AUTHORS Authors: Ludovic Fauvet <etix@videolan.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your optio...
gpl-2.0
tommo/mock
mock/tools/RemoteInput.lua
2
3850
--[[ * MOCK framework for Moai * Copyright (C) 2012 Tommo Zhou(tommo.zhou@gmail.com). All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including *...
mit
onpon4/naev
dat/factions/spawn/sirius.lua
1
2676
local scom = require "factions.spawn.lib.common" -- @brief Spawns a small patrol fleet. function spawn_patrol () local pilots = {} local r = rnd.rnd() if r < 0.5 then scom.addPilot( pilots, "Sirius Fidelity", 20 ) elseif r < 0.8 then scom.addPilot( pilots, "Sirius Fidelity", 20 ) scom.ad...
gpl-3.0
geoffleyland/lua-geometry2d
src-lua/geometry2d/polylines.lua
1
5232
--- @module nz.co.incremental.geometry2d.polylines -- (c) Copyright 2013-2016 Geoff Leyland. -- See LICENSE for license information local P = require"geometry2d.primitives" local math_huge, math_min, math_max, math_sqrt = math.huge, math.min, math.max, math.sqrt local polylines = {} -------------------------...
mit
apwiede/nodemcu-firmware-2.0
lua_modules/lm92/lm92.lua
19
5241
-- ****************************************************** -- LM92 module for ESP8266 with nodeMCU -- -- Written by Levente Tamas <levente.tamas@navicron.com> -- -- modify by Garberoglio Leonardo <leogarberoglio@gmail.com> -- -- GNU LGPL, see https://www.gnu.org/copyleft/lesser.html -- *********************************...
mit
RebootRevival/FFXI_Test
scripts/zones/Morimar_Basalt_Fields/npcs/HomePoint#1.lua
3
1285
----------------------------------- -- Area: Morimar Basalt Fields -- NPC: HomePoint#1 -- !pos -415 -63.2 409 265 ----------------------------------- package.loaded["scripts/zones/Morimar_Basalt_Fields/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Morimar_Basalt_Fields/TextIDs"); requi...
gpl-3.0
vyacht/carambola2
package/vyacht-web/files/lib/lib/config.lua
3
1312
module(..., package.seeall) function readFile(filename) conf = {} fp = io.open( filename, "r" ) if not fp then return nil end for line in fp:lines() do line = line:match( "%s*(.+)" ) if line and line:sub( 1, 1 ) ~= "#" and line:sub( 1, 1 ) ~= ";" then option = line:match( "%S...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Windurst_Woods/npcs/Wani_Casdohry.lua
17
1310
----------------------------------- -- Area: Windurst Woods -- NPC: Wani Casdohry ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Windurst_Woods/TextIDs"); ------------------...
gpl-3.0
AmirPGA/pgahide
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
RebootRevival/FFXI_Test
scripts/zones/Windurst_Waters_[S]/npcs/Ransnana.lua
3
1062
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ransnana -- Type: Standard NPC -- @zone 94 -- !pos -22.008 -13.339 122.819 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; --...
gpl-3.0
rafradek/wire
lua/entities/gmod_wire_gpu/cl_gpuvm.lua
3
83731
-------------------------------------------------------------------------------- -- Override virtual machine functions and features -------------------------------------------------------------------------------- local VM = {} surface.CreateFont( "WireGPU_ErrorFont",{ font="Coolvetica", size = 26, weight = 200, an...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Northern_San_dOria/npcs/Alphollon_C_Meriard.lua
3
3760
----------------------------------- -- Area: Northern San d'Oria -- NPC: Alphollon C Meriard -- Type: Purifies cursed items with their corresponding abjurations. -- @zone 231 -- !pos 98.108 -1 137.999 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------...
gpl-3.0
zeus-ff/d
plugins/filter.lua
15
4162
local function save_filter(msg, name, value) local hash = nil if msg.to.type == 'chat' then hash = 'chat:'..msg.to.id..':filters' end if msg.to.type == 'user' then return 'فقط در گروه ممکن است' end if hash then redis:hset(hash, name, value) return "انجام شد" end end local function get_fil...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Buburimu_Peninsula/npcs/Ganemu-Punnemu_WW.lua
3
3349
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Ganemu-Punnemu, W.W. -- Outpost Conquest Guards -- !pos -481.164 -32.858 49.188 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
mzguanglin/LuCI
build/setup.lua
1
1103
local SYSROOT = os.getenv("LUCI_SYSROOT") -- override uci access local uci_core = require "uci" local uci_model = require "luci.model.uci" uci_model.cursor = function(config, save) return uci_core.cursor(config or SYSROOT .. "/etc/config", save or SYSROOT .. "/tmp/.uci") end uci_model.cursor_state = function() re...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iyq.lua
3
1523
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NPC: cermet portal -- !pos 440 0 401 34 ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"); requi...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Bastok_Markets/npcs/Visala.lua
3
1189
----------------------------------- -- Area: Bastok Markets -- NPC: Visala -- Guild Merchant NPC: Goldsmithing Guild -- !pos -202.000 -7.814 -56.823 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/sett...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Apollyon/mobs/Dark_Elemental.lua
17
2742
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- ...
gpl-3.0
openwrt-es/openwrt-luci
applications/luci-app-ahcp/luasrc/model/cbi/admin_network/proto_ahcp.lua
84
2006
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local device, apn, service, pincode, username, password local ipv6, maxwait, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand mca = s:tabop...
apache-2.0
RebootRevival/FFXI_Test
scripts/zones/The_Shrouded_Maw/mobs/Diabolos.lua
23
9084
----------------------------------- -- Area: The Shrouded Maw -- MOB: Diabolos ----------------------------------- -- TODO: CoP Diabolos -- 1) Make the diremites in the pit all aggro said player that falls into region. Should have a respawn time of 10 seconds. -- 2) Diremites also shouldnt follow you back to the figh...
gpl-3.0
wvdd007/robomongo
src/third-party/mongodb/src/third_party/v8/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 ...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Caedarva_Mire/npcs/Nareema.lua
3
2741
----------------------------------- -- Area: Caedarva Mire -- NPC: Nareema -- Type: Assault -- !pos 518.387 -24.707 -467.297 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glob...
gpl-3.0
telewolf653/telewolf
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-2.0
RebootRevival/FFXI_Test
scripts/zones/Upper_Jeuno/npcs/Zekobi-Morokobi.lua
3
1051
----------------------------------- -- Area: Upper Jeuno -- NPC: Zekobi-Morokobi -- Type: Standard NPC -- @zone 244 -- !pos 41.258 -5.999 -74.105 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; -------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/globals/items/coeurl_sub_+1.lua
12
2020
----------------------------------------- -- ID: 5167 -- Item: coeurl_sub_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 15 -- Strength 5 -- Agility 1 -- Intelligence -2 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 80 -- Ranged ATT % 22 -- Ranged ATT Cap 80 -- Sle...
gpl-3.0
squeek502/Trick-or-Treat
modmain.lua
1
7878
-- Trick-or-treat in Don't Starve PrefabFiles = { } Assets = { Asset( "ANIM", "anim/holidays.zip" ), } local Action = GLOBAL.Action local ActionHandler = GLOBAL.ActionHandler local print = GLOBAL.print local require = GLOBAL.require local STRINGS = GLOBAL.STRINGS local TUNING = GLOBAL.TUNING local GetWorld = GLOBA...
unlicense
RebootRevival/FFXI_Test
scripts/commands/additem.lua
8
1451
--------------------------------------------------------------------------------------------------- -- func: additem <itemId> <quantity> <aug1> <v1> <aug2> <v2> <aug3> <v3> <aug4> <v4> <trial> -- desc: Adds an item to the GMs inventory. -----------------------------------------------------------------------------------...
gpl-3.0
RebootRevival/FFXI_Test
scripts/zones/Norg/npcs/Colleraie.lua
3
1040
----------------------------------- -- Area: Norg -- NPC: Colleraie -- Type: Event Scene Replayer -- @zone 252 -- !pos -24.684 0.097 -39.409 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ------------------------...
gpl-3.0
shahabsaf1/fucker
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
gpl-2.0