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 |
|---|---|---|---|---|---|
RebootRevival/FFXI_Test | scripts/zones/Northern_San_dOria/npcs/Rodaillece.lua | 3 | 1042 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Rodaillece
-- Type: Standard Dialogue NPC
-- @zone 231
-- !pos -246.943 7.000 46.836
--
-----------------------------------
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/model/Arc.lua | 2 | 19772 | -- 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 |
shahabsaf1/fucker | plugins/admin.lua | 230 | 6382 | 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 |
rudolfmleziva/AdministratorTeritorial | cocos2d/cocos/scripting/lua-bindings/auto/api/ArmatureAnimation.lua | 10 | 4411 |
--------------------------------
-- @module ArmatureAnimation
-- @extend ProcessBase
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ArmatureAnimation] getSpeedScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Pause the... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/cup_of_chamomile_tea.lua | 12 | 1477 | -----------------------------------------
-- ID: 4603
-- Item: cup_of_chamomile_tea
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 8
-- Vitality -2
-- Charisma 2
-- Magic Regen While Healing 1
-- Sleep resistance -30
-----------------------------------------
require("scripts/globa... | gpl-3.0 |
zzh442856860/skynet | lualib/multicast.lua | 66 | 2283 | local skynet = require "skynet"
local mc = require "multicast.core"
local multicastd
local multicast = {}
local dispatch = setmetatable({} , {__mode = "kv" })
local chan = {}
local chan_meta = {
__index = chan,
__gc = function(self)
self:unsubscribe()
end,
__tostring = function (self)
return string.format("[M... | mit |
openwrt-es/openwrt-luci | applications/luci-app-pagekitec/luasrc/model/cbi/pagekitec.lua | 10 | 1106 | m = Map("pagekitec", translate("PageKite"),
translate([[
<p/>Note: you need a working PageKite account, or at least, your own running front end for this form to work.
Visit <a href="https://pagekite.net/home/">your account</a> to set up a name for your
router and get a secret key for the connection.
<p/><em>Note: t... | apache-2.0 |
mortal-city/zedspambotteleg | plugins/ingroup.lua | 24 | 53144 | do
-- Check Member
local function check_member_autorealm(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[tostr... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Northern_San_dOria/Zone.lua | 13 | 4726 | -----------------------------------
--
-- Zone: Northern_San_dOria (231)
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/g... | gpl-3.0 |
CCAAHH/telegram-bot-supergroups | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/West_Ronfaure/npcs/qm2.lua | 3 | 1487 | -----------------------------------
-- Area: West Ronfaure
-- NPC: qm2 (???)
-- Involved in Quest: The Dismayed Customer
-- !pos -550 -0 -542 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
SinisterRectus/Discordia | libs/utils/Clock.lua | 1 | 1268 | --[=[
@c Clock x Emitter
@t ui
@mt mem
@d Used to periodically execute code according to the ticking of the system clock instead of an arbitrary interval.
]=]
local timer = require('timer')
local Emitter = require('utils/Emitter')
local date = os.date
local setInterval, clearInterval = timer.setInterval, timer.clearI... | mit |
jpmac26/PGE-Project | Content/configs/SMBX/script/player/mario.lua | 1 | 1619 | class 'marioPlayer'
function marioPlayer:__init(plr_obj)
self.plr_obj = plr_obj
if(self.plr_obj.stateID==1)then
self.plr_obj.health = 1
elseif(self.plr_obj.stateID>=2)then
self.plr_obj.health = 2
end
end
function marioPlayer:onLoop(tickTime)
if(Settings.isDebugInfoShown... | gpl-3.0 |
openwrt-es/openwrt-luci | applications/luci-app-dnscrypt-proxy/luasrc/model/cbi/dnscrypt-proxy/cfg_resolvcrypt_tab.lua | 18 | 1030 | -- Copyright 2017 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local nxfs = require("nixio.fs")
local util = require("luci.util")
local res_input = "/etc/resolv-crypt.conf"
if not nxfs.access(res_input) then
m = SimpleForm("error", nil, translate("... | apache-2.0 |
petoju/awesome | tests/examples/wibox/container/defaults/margin.lua | 5 | 1382 | --DOC_HIDE_ALL
--DOC_GEN_IMAGE
local wibox = require("wibox")
local beautiful = require("beautiful")
return {
nil,
{
nil,
{
{
text = "Before",
align = "center",
valign = "center",
widget = wibox.widget.textbox,
... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/West_Sarutabaruta/mobs/Mandragora.lua | 3 | 1059 | -----------------------------------
-- Area: West Sarutabaruta
-- MOB: Mandragora
-- Note: PH for Tom Tit Tat
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/West_Sarutabaruta/MobIDs");
-----------------------------------
-- onMobDeath
----------------------------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Abyssea-Vunkerl/mobs/Sippoy.lua | 16 | 1198 | -----------------------------------
-- Area: Abyssea - Vunkerl
-- Mob: Sippoy
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
end;
------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Temenos/bcnms/temenos_northern_tower.lua | 35 | 1173 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Temenos_N_Tower]UniqueID",G... | gpl-3.0 |
llual/VIPTEAM | plugins/l2.lua | 2 | 4478 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ By : @shaD_o ▀▄ ▄▀
▀▄ ▄▀ BY dev (shaD_o) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY shaD_o ▀▄ ▄▀
▀▄ ▄▀ chhanale : @vip_team1 ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Windurst_Woods/npcs/Ronana.lua | 3 | 1810 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Ronana
-- Type: Bonecraft Image Support
-- !pos -1.540 -6.25 -144.517 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Beaucedine_Glacier_[S]/npcs/Moana_CA.lua | 3 | 1076 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Moana, C.A.
-- Type: Campaign Arbiter
-- @zone 136
-- !pos -27.237 -60.888 -48.111
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]/TextI... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/dish_of_spaghetti_peperoncino.lua | 12 | 1487 | -----------------------------------------
-- ID: 5188
-- Item: dish_of_spaghetti_peperoncino
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 30
-- Health Cap 70
-- Vitality 2
-- Store TP +6
-- Resist virus +5
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
CCAAHH/telegram-bot-supergroups | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
ashang/koreader | frontend/ui/widget/overlapgroup.lua | 6 | 1297 | local WidgetContainer = require("ui/widget/container/widgetcontainer")
--[[
A Layout widget that puts objects above each other
--]]
local OverlapGroup = WidgetContainer:new{
_size = nil,
}
function OverlapGroup:getSize()
if not self._size then
self._size = {w = 0, h = 0}
self._offsets = { x = ... | agpl-3.0 |
Afforess/Factorio-Stdlib | stdlib/utils/table.lua | 1 | 21350 | --- Extends Lua 5.2 table.
-- @module Utils.table
-- @see table
-- @usage local table = require('__stdlib__/stdlib/utils/table')
local Table = {}
Table.remove = table.remove
Table.sort = table.sort
Table.pack = table.pack
Table.unpack = table.unpack
Table.insert = table.insert
Table.concat = table.concat
-- Import ba... | isc |
apwiede/nodemcu-firmware-2.0 | lua_examples/adc_rgb.lua | 73 | 1163 | --
-- Light sensor on ADC(0), RGB LED connected to gpio12(6) Green, gpio13(7) Blue & gpio15(8) Red.
-- This works out of the box on the typical ESP8266 evaluation boards with Battery Holder
--
-- It uses the input from the sensor to drive a "rainbow" effect on the RGB LED
-- Includes a very "pseudoSin" function
--
f... | mit |
padrinoo1/telegeek | plugins/add_bot.lua | 189 | 1492 | --[[
Bot can join into a group by replying a message contain an invite link or by
typing !add [invite link].
URL.parse cannot parsing complicated message. So, this plugin only works for
single [invite link] in a post.
[invite link] may be preceeded but must not followed by another characters.
--]]
do
local function... | gpl-2.0 |
bttscut/skynet | lualib/snax/gateserver.lua | 16 | 3320 | local skynet = require "skynet"
local netpack = require "skynet.netpack"
local socketdriver = require "skynet.socketdriver"
local gateserver = {}
local socket -- listen socket
local queue -- message queue
local maxclient -- max client
local client_number = 0
local CMD = setmetatable({}, { __gc = function() netpack.c... | mit |
tgserver2018/Tarfand.farsi | plugins/mute-time.lua | 1 | 1339 | local function pre_process(msg)
local hash = 'mute_time:'..msg.chat_id_
if redis:get(hash) and gp_type(msg.chat_id_) == 'channel' and not is_mod(msg) then
tdcli.deleteMessages(msg.chat_id_, {[0] = tonumber(msg.id_)})
end
end
local function run(msg, matches)
if matches[1]:lower() == 'mt' and is_mod(msg) t... | gpl-3.0 |
openwrt-es/openwrt-luci | libs/luci-lib-nixio/axTLS/www/lua/download.lua | 180 | 1550 | #!/usr/local/bin/lua
require"luasocket"
function receive (connection)
connection:settimeout(0)
local s, status = connection:receive (2^10)
if status == "timeout" then
coroutine.yield (connection)
end
return s, status
end
function download (host, file, outfile)
--local f = assert (io.open (outfile, "w"))
loc... | apache-2.0 |
RebootRevival/FFXI_Test | scripts/globals/mobskills/necrobane.lua | 43 | 1075 | ---------------------------------------------
-- Necrobane
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMobSkillCheck(target,mob,skill)
if(mob:g... | gpl-3.0 |
olafhering/sysbench | src/lua/internal/sysbench.sql.lua | 1 | 14001 | -- Copyright (C) 2017 Alexey Kopytov <akopytov@gmail.com>
-- 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 option) any later version.
-- This ... | gpl-2.0 |
llual/VIPTEAM | plugins/README..lua | 3 | 15503 | -- made by { @Mouamle }
do
ws = {}
rs = {}
-- some examples of how to use this :3
ws[1] = "هلاو"
rs[1] = "هلاوو99وووات نورت/ي ❤️🙈"
ws[2] = "هلو" -- msg
rs[2] = "هلاوات 🙈❤️" -- reply
ws[3] = "شلونكم" -- msg
rs[3] = "الحمدلله وانته 🌚🍃" -- reply
ws[4] = "دووم" -- msg
rs[4] = "يدوم نبضك ❤️🍃" -- reply
ws[5] = "... | gpl-2.0 |
artzde/openwrt_tp-link_wr1043nd | Modified_LuCI_Files/vlan.lua | 1 | 9681 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2011 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
htt... | gpl-2.0 |
rudolfmleziva/AdministratorTeritorial | cocos2d/external/lua/luasocket/script/socket/headers.lua | 31 | 3706 | -----------------------------------------------------------------------------
-- Canonic header field capitalization
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
local socket = require("socket.socket")
socket.headers = {}
local _M = socket.he... | gpl-3.0 |
mzguanglin/LuCI | applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua | 7 | 5178 | require("luci.tools.webadmin")
m = Map("multiwan", translate("Multi-WAN"),
translate("Multi-WAN allows for the use of multiple uplinks for load balancing and failover."))
s = m:section(NamedSection, "config", "multiwan", "")
e = s:option(Flag, "enabled", translate("Enable"))
e.rmempty = false
function e.write(self,... | apache-2.0 |
RebootRevival/FFXI_Test | scripts/globals/mobskills/mijin_gakure.lua | 32 | 1342 | ---------------------------------------------------
-- Mijin Gakure
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(targe... | gpl-3.0 |
petoju/awesome | tests/examples/shims/root.lua | 3 | 4718 | local root = {_tags={}}
local gtable = require("gears.table")
function root:tags()
return root._tags
end
function root.size()
local geo = {x1 = math.huge, y1 = math.huge, x2 = 0, y2 = 0}
for s in screen do
geo.x1 = math.min( geo.x1, s.geometry.x )
geo.y1 = math.min( geo... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Apollyon/Zone.lua | 31 | 11702 | -----------------------------------
--
-- Zone: Apollyon
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/limbus");
-----------------------------------
-- onInitiali... | gpl-3.0 |
djianq/Game | Design/Tools/xls2lua/xlslua_reader/util/colrule.lua | 1 | 3334 | -------------------------------------------------------
-- 本模块用于检查列规则
-- 现在可用的列规则有:
-- * ukey 相当于数据库中的Unique KEY,表示该列值需两两不同
-- * default 该列的单元格允许为空,程序分析时将使用缺省值
--
-------------------------------------------------------
local HEADER_COUNT = 2
-- 相当于数据库中的Unique KEY,表示该列值需两两不同
local function ukey(ColTable, ValidRow... | mit |
RebootRevival/FFXI_Test | scripts/zones/Giddeus/npcs/qm1.lua | 3 | 1741 | -----------------------------------
-- Area: Giddeus
-- NPC: ???
-- Involved In Quest: Dark Legacy
-- @zone 145
-- !pos -58 0 -449
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
ChargeIn/CandyUI | UnitFrames/CandyUI_UnitFrames.lua | 2 | 71252 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for CandyUI_UnitFrames
-- Copyright (c) NCsoft. All rights reserved
-----------------------------------------------------------------------------------------------
-- DEVELOPER LICENSE
-- CandyUI - Copyr... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Temple_of_Uggalepih/npcs/_mf8.lua | 3 | 1407 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _mf8 (Granite Door)
-- Notes: Opens with Prelate Key
-- !pos -11 -8 -99 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Templ... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/bunch_of_wild_pamamas.lua | 12 | 1409 | -----------------------------------------
-- ID: 4596
-- Item: Bunch of Wild Pamamas
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength -3
-- Intelligence 1
-- Additional Effect with Opo-Opo Crown
-- HP 50
-- MP 50
-- CHR 14
-- Additional Effect with Kinkobo or
-- Primate Staff
-- D... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Bastok_Mines/Zone.lua | 12 | 2795 | -----------------------------------
--
-- Zone: Bastok_Mines (234)
--
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/zones/Bastok_... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Yhoator_Jungle/TextIDs.lua | 3 | 1432 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6386; -- Obtained: <item>.
GIL_OBTAINED = 6387; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6389; -- Obtained... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Selbina/npcs/Humilitie.lua | 3 | 1475 | -----------------------------------
-- Area: Selbina
-- NPC: Humilitie
-- Reports the time remaining before boat arrival.
-- !pos 17.979 -2.39 -58.800 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextI... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua | 3 | 3742 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Ojha Rhawash
-- Starts and Finishes Quest: Flower Child
-- @zone 239
-- !pos -209 0 -134
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windu... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/broiled_carp.lua | 12 | 1384 | -----------------------------------------
-- ID: 4586
-- Item: Broiled Carp
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -1
-- Ranged ATT % 14 (cap 45)
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Gusgen_Mines/npcs/Clay.lua | 3 | 1229 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Clay
-- Involved in Quest: A Potter's Preference
-- !pos 117 -21 432 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scr... | gpl-3.0 |
SoLoHiC/neural-style | loadcaffe_wrapper.lua | 58 | 2411 | local ffi = require 'ffi'
require 'loadcaffe'
local C = loadcaffe.C
--[[
Most of this function is copied from
https://github.com/szagoruyko/loadcaffe/blob/master/loadcaffe.lua
with some horrible horrible hacks added by Justin Johnson to
make it possible to load VGG-19 without any CUDA dependency.
--]]
local fu... | mit |
RebootRevival/FFXI_Test | scripts/zones/Abyssea-Tahrongi/npcs/qm20.lua | 3 | 1904 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns Glavoid
-- !pos ? ? ? 45
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
function... | gpl-3.0 |
blackzw/openwrt_sdk_dev1 | staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/webapi/bit.lua | 1 | 2393 | module("luci.webapi.bit", package.seeall)
--[[
Presentation:
In fact, it is not necessary to call this part of functions now only if you do not believe the library of Lua...
This file will be removed after all skills disconnect from simulated bitwise operations.
]]--
--[[
bit:_xor == bit32.bxor
bit:_an... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/La_Theine_Plateau/npcs/Dimensional_Portal.lua | 17 | 1389 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
ChargeIn/CandyUI | InterfaceMenu/CandyUI_InterfaceMenu.lua | 2 | 17411 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for CandyUI_InterfaceMenu
-- Copyright (c) NCsoft. All rights reserved
-----------------------------------------------------------------------------------------------
--DEVELOPER LICENSE
-- CandyUI - Cop... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/West_Sarutabaruta/npcs/Slow_Axe_IM.lua | 3 | 3344 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Slow Axe, I.M.
-- Type: Border Conquest Guards
-- !pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/plate_of_salmon_sushi_+1.lua | 12 | 1583 | -----------------------------------------
-- ID: 5664
-- Item: plate_of_salmon_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 2
-- Accuracy % 15 (cap 72)
-- Ranged ACC % 15 (cap 72)
-- Resist Sleep +2
-----------------------------------------
require("scripts/globals/st... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/plate_of_bream_sushi.lua | 12 | 1667 | -----------------------------------------
-- ID: 5176
-- Item: plate_of_bream_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 5
-- Accuracy % 16 (cap 76)
-- Ranged ACC % 16 (cap 76)
-- Sleep Resist 1
-----------------------------------------
require("scripts/... | gpl-3.0 |
onpon4/naev | dat/missions/rehab_common.lua | 1 | 4763 | --common
--[[
--
-- Rehabilitation Mission
--
-- This mission allows you to remain neutral with a faction until you've done services for them.
-- This file is used by the various faction missions, which must set the faction variable.
--
--]]
require "scripts/numstring"
misn_title = _("%s Rehabilitation")
misn_desc =... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Southern_San_dOria/npcs/Diary.lua | 3 | 2164 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Diary
-- Involved in Quest: To Cure a Cough
-- @zone 230
-- !pos -75 -12 65
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/spells/paralyga.lua | 1 | 1772 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpell... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Cloister_of_Flames/npcs/Fire_Protocrystal.lua | 3 | 1897 | -----------------------------------
-- Area: Cloister of Flames
-- NPC: Fire Protocrystal
-- Involved in Quests: Trial by Fire, Trial Size Trial by Fire
-- !pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Jugner_Forest_[S]/npcs/Glowing_Pebbles.lua | 3 | 1896 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Glowing Pebbles
-- Type: Involved in Quest
-- !pos
-- player:startEvent(0x006a); Left over Cutscene
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
openwrt-es/openwrt-luci | applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua | 7 | 9354 | -- Copyright 2015 Daniel Dickinson <openwrt@daniel.thecshore.com>
-- Licensed to the public under the Apache License 2.0.
local fs = require("nixio.fs")
local m = Map("uhttpd", translate("uHTTPd"),
translate("A lightweight single-threaded HTTP(S) server"))
local ucs = m:section(TypedSection, "uhttpd", "")
ucs... | apache-2.0 |
petoju/awesome | lib/naughty/notification.lua | 1 | 33479 | ---------------------------------------------------------------------------
--- A notification object.
--
-- This class creates individual notification objects that can be manipulated
-- to extend the default behavior.
--
-- This class doesn't define the actual widget, but is rather intended as a data
-- object to hold... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/globals/items/cobalt_jellyfish.lua | 12 | 1342 | -----------------------------------------
-- ID: 4443
-- Item: cobalt_jellyfish
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Port_San_dOria/npcs/Brifalien.lua | 3 | 1815 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Brifalien
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- !pos -20 -4 -74
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Sa... | gpl-3.0 |
sajadaltaie/sejobot | plugins/commands.lua | 31 | 2957 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/South_Gustaberg/mobs/Tococo.lua | 16 | 1203 | -----------------------------------
-- Area: South Gustaberg
-- NM: Tococo
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
mob:setM... | gpl-3.0 |
fabianmurariu/FrameworkBenchmarks | frameworks/Lua/lapis/web.lua | 72 | 5957 | local lapis = require("lapis")
local db = require("lapis.db")
local Model
do
local _obj_0 = require("lapis.db.model")
Model = _obj_0.Model
end
local config
do
local _obj_0 = require("lapis.config")
config = _obj_0.config
end
local insert
do
local _obj_0 = table
insert = _obj_0.insert
end
local sort
do
loc... | bsd-3-clause |
RebootRevival/FFXI_Test | scripts/zones/Temple_of_Uggalepih/mobs/Manipulator.lua | 17 | 2255 | ----------------------------------
-- Area: Temple of Uggalipeh
-- NM: Manipulator
-- Notes: Paths around the 2 staircases
-----------------------------------
local path =
{
-17.930, -8.500, -93.215,
-18.553, -7.713, -91.224,
-20.226, -6.250, -89.091,
-21.651, -5.005, -87.401,
-23.137, -3.917, ... | gpl-3.0 |
olafhering/sysbench | src/lua/oltp_update_index.lua | 2 | 1118 | #!/usr/bin/env sysbench
-- Copyright (C) 2006-2017 Alexey Kopytov <akopytov@gmail.com>
-- 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 option)... | gpl-2.0 |
ashang/koreader | spec/unit/readerui_spec.lua | 5 | 1389 | require("commonrequire")
local DocumentRegistry = require("document/documentregistry")
local ReaderUI = require("apps/reader/readerui")
local DocSettings = require("docsettings")
local UIManager = require("ui/uimanager")
describe("Readerui module", function()
local sample_epub = "spec/front/unit/data/leaves.epub"
... | agpl-3.0 |
mahdikord/mahdibary | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
koppa/wireshark | test/lua/luatest.lua | 35 | 4498 | -- See Copyright Notice in the file LICENSE
-- arrays: deep comparison
local function eq (t1, t2, lut)
if t1 == t2 then return true end
if type(t1) ~= "table" or type(t2) ~= "table" or #t1 ~= #t2 then
return false
end
lut = lut or {} -- look-up table: are these 2 arrays already compared?
lut[t1] = lut[t... | gpl-2.0 |
babymannen/theforgottenserver-7.4 | server/data/creaturescripts/scripts/login.lua | 1 | 1312 | -- Ordered as in creaturescripts.xml
local events = {
'PlayerDeath',
'DropLoot'
}
function onLogin(player)
local loginStr = ""
local timeZone = ""
if player:getLastLoginSaved() <= 0 then
loginStr = "Welcome to " .. configManager.getString(configKeys.SERVER_NAME) .. "!"
loginStr = loginStr .. " Please choose ... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Yhoator_Jungle/npcs/Ilieumort_RK.lua | 3 | 3332 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Ilieumort, R.K.
-- Outpost Conquest Guards
-- !pos 200.254 -1 -80.324 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
openwrt-es/openwrt-luci | protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua | 2 | 4048 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local username, password, ac, service
local ipv6, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand, mtu
username = section:taboption("gener... | apache-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Full_Moon_Fountain/npcs/Moon_Spiral.lua | 8 | 1442 | -----------------------------------
-- Area: Full Moon Fountain
-- NPC: Moon Spiral
-- Involved in Quests: The Moonlit Path
-- !pos -302 9 -260 170
-----------------------------------
package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm"... | gpl-3.0 |
dannybloe/domoticz | scripts/dzVents/examples/simple room heating with hysteresis control.lua | 19 | 3118 | -- assumptions:
-- the setpoint is set by a selector dummy device where the values are numeric temperatures
-- but you can easily change it to a setpoint device
local BOILER_DEVICE = 'Boiler' -- switch device
local SETPOINT_DEVICE = 'Setpoint' -- selector dummy device
local TEMPERATURE_SENSOR = 'Temperature'
local HYS... | gpl-3.0 |
AmirPGA/pgahide | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
hfjgjfg/jjjn | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Windurst_Waters_[S]/npcs/Rakih_Lyhall.lua | 3 | 1062 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Rakih Lyhall
-- Type: Standard NPC
-- @zone 94
-- !pos -48.111 -4.5 69.712
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Windurst_Waters_[S]/npcs/Gevarg.lua | 3 | 1065 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Gevarg
-- Type: Past Event Watcher
-- @zone 94
-- !pos -46.448 -6.312 212.384
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
openwrt-es/openwrt-luci | applications/luci-app-dynapoint/luasrc/model/cbi/dynapoint.lua | 17 | 3590 | local uci = require "luci.model.uci".cursor()
local a = require "luci.model.ipkg"
local DISP = require "luci.dispatcher"
local wlcursor = luci.model.uci.cursor_state()
local wireless = wlcursor:get_all("wireless")
local ifaces = {}
for k, v in pairs(wireless) do
if v[".type"] == "wifi-iface" then
table.insert(i... | apache-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Abyssea-Konschtat/npcs/qm11.lua | 3 | 1344 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm11 (???)
-- Spawns Arimaspi
-- !pos ? ? ? 15
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Eastern_Altepa_Desert/npcs/qm.lua | 3 | 1624 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: ???
-- Involved In Quest: A Craftsman's Work
-- !pos 113 -7.972 -72 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setti... | gpl-3.0 |
openwrt-es/openwrt-luci | applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua | 1 | 5035 | -- Copyright 2017-2019 Dirk Brenken (dev@brenken.org)
-- This is free software, licensed under the Apache License, Version 2.0
local fs = require("nixio.fs")
local uci = require("luci.model.uci").cursor()
local util = require("luci.util")
local nw = require("luci.model.network").init()
local fw ... | apache-2.0 |
djianq/Game | lualib/mqueue.lua | 115 | 1798 | -- This is a deprecated module, use skynet.queue instead.
local skynet = require "skynet"
local c = require "skynet.core"
local mqueue = {}
local init_once
local thread_id
local message_queue = {}
skynet.register_protocol {
name = "queue",
-- please read skynet.h for magic number 8
id = 8,
pack = skynet.pack,
u... | mit |
jthomasbarry/aafmt | archive/book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/control/FineTune.lua | 3 | 4290 | -- 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/zones/Norg/npcs/Keal.lua | 10 | 4278 | -----------------------------------
-- Area: Norg
-- NPC: Keal
-- Starts and Ends Quest: It's Not Your Vault
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
majidhp888/Hack | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
RebootRevival/FFXI_Test | scripts/globals/mobskills/equalizer.lua | 35 | 1146 | ---------------------------------------------------
-- Equalizer
-- AoE damage (~600-800),
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
funct... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/East_Ronfaure_[S]/npcs/Logging_Point.lua | 17 | 1097 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/East_Ronfaure_[S]/TextIDs");
---... | gpl-3.0 |
mzguanglin/LuCI | contrib/luadoc/lua/luadoc/taglet/standard/tags.lua | 93 | 5221 | -------------------------------------------------------------------------------
-- Handlers for several tags
-- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $
-------------------------------------------------------------------------------
local luadoc = require "luadoc"
local util = require "luadoc.util"... | apache-2.0 |
petoju/awesome | tests/examples/wibox/layout/manual/add_at.lua | 6 | 1140 | --DOC_GEN_IMAGE --DOC_HIDE
local generic_widget = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
local awful = {placement = require("awful.placement")} --DOC_HIDE
local l = wibox.layout {
layout = wibox.layout.manual
}
--
-- Option 1: Set the point directly in the widget
local w1 = generic_wi... | gpl-2.0 |
rafradek/wire | lua/entities/gmod_wire_lever.lua | 10 | 3441 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Analog Lever"
ENT.WireDebugName = "Lever"
if CLIENT then return end -- No more client
function ENT:Initialize()
self:SetModel("models/props_wasteland/tram_lever01.mdl")
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_V... | apache-2.0 |
RebootRevival/FFXI_Test | scripts/zones/Monarch_Linn/bcnms/ancient_vows.lua | 17 | 1926 | -----------------------------------
-- Area: Monarch Linn
-- Name: Ancient Vows
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/missions");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
end;
-- Physically entering the ... | gpl-3.0 |
onpon4/naev | dat/missions/flf/flf_pirates.lua | 1 | 8259 | --[[
<?xml version='1.0' encoding='utf8'?>
<mission name="FLF Pirate Disturbance">
<avail>
<priority>33</priority>
<chance>330</chance>
<done>Alliance of Inconvenience</done>
<location>Computer</location>
<faction>FLF</faction>
<faction>Frontier</faction>
<cond>not diff.isApplied( "flf_dead" )</cond>
</... | gpl-3.0 |
petoju/awesome | tests/examples/awful/popup/position3.lua | 6 | 1205 | --DOC_GEN_IMAGE --DOC_HIDE
local awful = { --DOC_HIDE --DOC_NO_USAGE
popup = require("awful.popup"), --DOC_HIDE
placement = require("awful.placement"), --DOC_HIDE
widget = {clienticon =require("awful.widget.clienticon"), --DOC_HIDE
tasklist = require("awful.widget.tasklist")} --DOC_HIDE
} --DO... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.