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 |
|---|---|---|---|---|---|
Mogara/QSanguosha | lua/ai/formation-ai.lua | 5 | 23424 | --[[********************************************************************
Copyright (c) 2013-2014 - QSanguosha-Rara
This file is part of QSanguosha-Hegemony.
This game 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... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Northern_San_dOria/npcs/Daveille.lua | 36 | 1427 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Daveille
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Windurst_Waters_[S]/npcs/Mikhe_Aryohcha.lua | 38 | 1124 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mikhe Aryohcha
-- Type: Standard NPC
-- @zone: 94
-- @pos -56.645 -4.5 13.014
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
sjznxd/luci-0.11-aa | libs/sgi-uhttpd/luasrc/sgi/uhttpd.lua | 43 | 2769 | --[[
LuCI - Server Gateway Interface for the uHTTPd server
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENS... | apache-2.0 |
satreix/awesome | vicious/widgets/mboxc.lua | 4 | 1840 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
---------------------------------------------------
-- {{{ Grab environment
local io = { open = io.open }
local setmetatable = setmetatable
local string = { find = stri... | mit |
daofeng2015/luci | modules/luci-base/luasrc/model/ipkg.lua | 26 | 5210 | -- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local os = require "os"
local io = require "io"
local fs = require "nixio.fs"
local util = require "luci.util"
local type = type
local pairs = pai... | apache-2.0 |
JulianVolodia/awesome | lib/wibox/drawable.lua | 2 | 13507 | ---------------------------------------------------------------------------
--- Handling of drawables. A drawable is something that can be drawn to.
--
-- @author Uli Schlachter
-- @copyright 2012 Uli Schlachter
-- @release @AWESOME_VERSION@
-- @classmod wibox.drawable
--------------------------------------------------... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Crawlers_Nest/npcs/Grounds_Tome.lua | 34 | 1136 | -----------------------------------
-- Area: Crawlers Nest
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(p... | gpl-3.0 |
kikito/md5.lua | md5.lua | 1 | 11715 | local md5 = {
_VERSION = "md5.lua 1.1.0",
_DESCRIPTION = "MD5 computation in Lua (5.1-3, LuaJIT)",
_URL = "https://github.com/kikito/md5.lua",
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota + Adam Baldwin + hanzao + Equi 4 Software
Permission is hereby granted, fr... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Sea_Serpent_Grotto/TextIDs.lua | 3 | 2280 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6378; -- You cannot obtain the item <item> come back again after sorting your inventory
FULL_INVENTORY_AFTER_TRADE = 6380; -- You cannot obtain the <item>. Try trading again after sorting your inventory
ITEM_OBTAINED = 638... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Abyssea-Konschtat/npcs/Conflux_Surveyor.lua | 32 | 3671 | -----------------------------------
-- Zone: Abyssea - Konschtat
-- NPC: Conflux Surveyor
-- Type:
-- @pos 133.000 -72.738 -824.000 15
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cq.lua | 17 | 2436 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cq (Magical Gizmo) #2
-- Involved In Mission: The Horutoto Ruins Experiment
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
marcovr/T-Bot | tbot.lua | 1 | 3176 | -- Define important global variables
mainGroup = "T-Bot_Dev_Chat"
botName = "T-Bot"
-- Path definitions
installPath = "/home/pi/tg/lua"
defaultFilePath = installPath.."/tbot.lua"
libPath = installPath.."/libs/"
modulePath = installPath.."/modules/"
------ Core helper function ------
-- Function to execute "cmd" in... | gpl-2.0 |
zhouxiaoxiaoxujian/skynet | service/cslave.lua | 21 | 6688 | local skynet = require "skynet"
local socket = require "skynet.socket"
local socketdriver = require "skynet.socketdriver"
require "skynet.manager" -- import skynet.launch, ...
local table = table
local slaves = {}
local connect_queue = {}
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_servic... | mit |
sadegh1996/sword_antispam | plugins/onservice.lua | 9 | 3034 | do
--— Will leave the group if be added
local function run(msg, matches)
local bot_id = 173296711--— your bot id
--— like local bot_id = 1234567
if matches[1] == 'leave' and is_sudo(msg) then
chat_del_user("chat#id"..msg.to.id, 'user#id'..bot_id, ok_cb, false)
elseif msg.action.type == "chat_ad... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Ghelsba_Outpost/bcnms/wings_of_fury.lua | 10 | 1477 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: Wings of Fury BCNM20
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems"... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Lennart.lua | 34 | 1133 | ----------------------------------
-- Area: The Eldieme Necropolis [S]
-- NPC: Lennart
-- Type: Item Deliverer
-- @pos 378.783 -36 61.805 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Bastok_Mines/npcs/Tall_Mountain.lua | 17 | 1884 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Tall Mountain
-- Involved in Quest: Stamp Hunt
-- Finish Mission: Bastok 6-1
-- @pos 71 7 -7 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
m2mselect/owrt | feeds/packages/utils/yunbridge/files/usr/lib/lua/luci/controller/arduino/index.lua | 103 | 12089 | --[[
This file is part of YunWebUI.
YunWebUI 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 program is distributed in the hope that i... | gpl-2.0 |
zaeem998/vtbot | libs/dateparser.lua | 502 | 6212 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-3.0 |
fartoverflow/naev | dat/ai/thurion.lua | 6 | 1566 | include("dat/ai/tpl/generic.lua")
include("dat/ai/personality/civilian.lua")
mem.shield_run = 20
mem.armour_run = 20
mem.defensive = true
mem.enemyclose = 500
mem.distressmsgfunc = sos
-- Sends a distress signal which causes faction loss
function sos ()
msg = {
"Local security: requesting assistance!",
... | gpl-3.0 |
fartoverflow/naev | dat/missions/neutral/patrol.lua | 5 | 8416 | --[[
Patrol
Copyright 2014, 2015 Julian Marchant
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 3 of the License, or
(at your option) any later version.
This pr... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/spells/paralyze_ii.lua | 5 | 2404 | -----------------------------------------
-- Spell: Paralyze II
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Paralyze II value per point is '1' This is a co... | gpl-3.0 |
cwojtak/LoveUtils | utils/button_helper.lua | 1 | 3331 | --button_helper.lua
--v1.12.0
--Author: Connor Wojtak
--Purpose: A utility to allow for the creation of buttons.
--Imports
local UTILS = require("utils/utils")
--Classes
Button = {beginx=nil, beginy=nil, endx=nil, endy=nil, clickfunc=nil, hoverfunc=nil}
--Global Variables
GLOBAL_BUTTON_LIST = {}
--Creates a new bu... | mit |
codemage/factorio_fluid_tester | my-gui.lua | 1 | 7249 | require("mod-gui")
require("my-defines")
local evs = defines.events
my_gui = {}
-- gui_info is a table indexed by player index that stores GUI entities and related
-- state
-- each player has a table we'll call GuiInfo henceforth:
-- * button (GuiEntity) - button for toggling the GUI on and off
-- ... | mit |
houst0nn/external_skia | tools/lua/glyph-usage.lua | 207 | 4034 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
soroushwilson/wilson1 | plugins/lock_fwd.lua | 8 | 1351 | do
local function pre_process(msg)
local hash = 'mate:'..msg.to.id
if redis:get(hash) and msg.fwd_from and not is_momod(msg) then
chat_del_user('chat#id'..msg.to.id,'user#id'..msg.from.id, ok_cb, false)
return "فروارد کردن ممنوعه😐✋"
end
return msg
end
local ... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Southern_San_dOria_[S]/npcs/Leonoyne1.lua | 36 | 1073 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Leonyone
-- @zone 80
-- @pos -192 -1 42
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
------------------------------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/weaponskills/penta_thrust.lua | 6 | 1268 | -----------------------------------
-- Penta Thrust
-- Polearm weapon skill
-- Skill Level: 150
-- Delivers a five-hit attack. params.accuracy varies with TP.
-- 0.875 Attack penalty
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget.
-- Aligned with the Shadow Belt.
-- Element: None
... | gpl-3.0 |
sjznxd/lc-20130127 | libs/nixio/docsrc/nixio.UnifiedIO.lua | 157 | 5891 | --- Unified high-level I/O utility API for Files, Sockets and TLS-Sockets.
-- These functions are added to the object function tables by doing <strong>
-- require "nixio.util"</strong>, can be used on all nixio IO Descriptors and
-- are based on the shared low-level read() and write() functions.
-- @cstyle instance
mo... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Crawlers_Nest/npcs/Treasure_Chest.lua | 3 | 3188 | -----------------------------------
-- Area: Crawler Nest
-- NPC: Treasure Chest
-- Involved In Quest: Enveloped in Darkness
-- @pos 41 0.1 -314 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
m2mselect/owrt | feeds/luci/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua | 39 | 2614 | -- 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 rrdargs( graph, plugin, plugin_instance )
--
-- traffic diagram
--
local traffic = {
-- draw this diag... | gpl-2.0 |
sadegh1996/sword_antispam | plugins/leave_ban.lua | 11 | 2873 | local function run(msg, matches)
local data = load_data(_config.moderation.data)
if msg.action and msg.action.type then
local action = msg.action.type
if data[tostring(msg.to.id)] then
if data[tostring(msg.to.id)]['settings'] then
if data[tostring(msg.to.id)]['settings']['leave_ban'] then
... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/plate_of_friture_de_la_misareaux.lua | 35 | 1636 | -----------------------------------------
-- ID: 5159
-- Item: plate_of_friture_de_la_misareaux
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 3
-- Dexterity 3
-- Vitality 3
-- Mind -3
-- Defense 5
-- Ranged ATT % 7
-- Ranged ATT Cap 15
--------------------------------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Bandit.lua | 10 | 1058 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Goblin Bandit
-- Note: Place holder Soulstealer Skullnix
-----------------------------------
require("/scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/roast_trout.lua | 35 | 1278 | -----------------------------------------
-- ID: 4404
-- Item: roast_trout
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Mind -1
-- Ranged ATT % 14
-----------------------------------------
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Sacrificial_Chamber/bcnms/temple_of_uggalepih.lua | 6 | 1731 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: Zilart Mission 4
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("script... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/spells/curaga_iv.lua | 4 | 1218 | -----------------------------------------
-- Spell: Curaga IV
-- Restores HP of all party members within area of effect.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------------------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Den_of_Rancor/npcs/HomePoint#1.lua | 3 | 1707 | -----------------------------------
-- Area: Den_of_Rancor
-- NPC: HomePoint#1
-- @pos -80 46 62 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/T... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Lower_Jeuno/npcs/Parike-Poranke.lua | 38 | 1108 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Parike-Poranke
-- Type: Adventurer's Assistant
-- @zone: 245
-- @pos -33.161 -1 -61.303
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tazhaal.lua | 19 | 1133 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tazhaal
-- Admits players to the dock in Aht Urhgan
-- @pos -5.195 -1 -98.966 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Pashhow_Marshlands/npcs/Sharp_Tooth_IM.lua | 8 | 2955 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Sharp Tooth, I.M.
-- Type: Border Conquest Guards
-- @pos 536.291 23.517 694.063 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
sjznxd/lc-20130127 | libs/web/luasrc/dispatcher.lua | 72 | 23586 | --[[
LuCI - Dispatcher
Description:
The request dispatcher and module dispatcher generators
FileId:
$Id$
License:
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... | apache-2.0 |
dcelasun/thrift | lib/lua/THttpTransport.lua | 16 | 4749 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
devilrap978/devil_rap65 | plugins/ar-insta.lua | 7 | 4901 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ INSTA : انستا ▀▄ ▄▀
▀▄... | gpl-2.0 |
jxchen01/NEW | temporal_v1.lua | 1 | 8087 | require 'nn'
require 'rnn'
require 'ConvLSTM'
require 'optim'
require 'cutorch'
require 'cunn'
require 'dp'
cmd = torch.CmdLine()
cmd:text()
cmd:text('Options:')
cmd:option('--dataDir', '/home/jchen16/NEW/data/fungus/encoder', 'the directory to load')
cmd:option('--ext','.t7','only load a specific type of files')
cmd:... | mit |
subzrk/BadRotations | System/engines/EnemiesEngineCollections.lua | 2 | 11147 | -- macro used to gather caster/spell/buff on our actual target
SLASH_dumpInfo1 = "/dumpinfo"
function SlashCmdList.dumpInfo(msg, editbox)
-- find unit in our engines
for k, v in pairs(br.enemy) do
if br.enemy[k].guid == UnitGUID("target") then
targetInfo = { }
targetInfo.name = UnitName("target")
local thi... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/weaponskills/shield_break.lua | 6 | 1759 | -----------------------------------
-- Shield Break
-- Great Axe weapon skill
-- Skill level: 5
-- Lowers enemy's Evasion. Duration of effect varies with TP.
-- Lowers Evasion by as much as 40 if unresisted.
-- Strong against: Bees, Beetles, Birds, Crabs, Crawlers, Flies, Lizards, Mandragora, Opo-opo, Pugil... | gpl-3.0 |
Gael-de-Sailly/minetest-minetestforfun-server | mods/maze/init.lua | 8 | 18783 | local function spawn_maze(name, param)
local t1 = os.clock()
math.randomseed(os.time())
local found, _, maze_size_x_st, maze_size_y_st, maze_size_l_st, material_floor, material_wall, material_ceiling = param:find("(%d+)%s+(%d+)%s+(%d+)%s+([^%s]+)%s+([^%s]+)%s+([^%s]+)")
local min_size = 11
local maze_size_x =... | unlicense |
FFXIOrgins/FFXIOrgins | scripts/globals/mobskills/Dragon_Breath.lua | 4 | 1424 | ---------------------------------------------
-- Dragon Breath
--
-- Description: Deals Fire damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Fafnir, Nidhogg, Cynoprosopi, and Wyrm. Because of the high damage... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/coral_butterfly.lua | 18 | 1263 | -----------------------------------------
-- ID: 4580
-- Item: Coral Butterfly
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Residential_Area/Zone.lua | 7 | 1313 | -----------------------------------
--
-- Zone: Residential_Area
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Residential_Area/TextIDs"] = nil;
require("scripts/zones/Residential_Area/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Balgas_Dais/bcnms/charming_trio.lua | 6 | 1813 | -----------------------------------
-- Area: Balgas_Dais
-- Name: Charming Trio
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/Balg... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Wajaom_Woodlands/npcs/qm4.lua | 15 | 1176 | -----------------------------------
-- Area: Wajaom Woodlands
-- NPC: ??? (Spawn Tinnin(ZNM T4))
-- @pos 278 0 -703 51
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/TextIDs");
-----------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Gusgen_Mines/npcs/_5gb.lua | 34 | 1345 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gb (Lever B)
-- @pos 19.999 -40.561 -54.198 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
------------... | gpl-3.0 |
m2mselect/owrt | feeds/luci/applications/luci-app-udpxy/luasrc/model/cbi/udpxy.lua | 77 | 2104 | -- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
-- Licensed to the public under the Apache License 2.0.
m = Map("udpxy", "udpxy", translate("udpxy is a UDP-to-HTTP multicast traffic relay daemon, here you can configure the settings."))
s = m:section(TypedSection, "udpxy", "")
s.addremove = true
s.anonymo... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/RuLude_Gardens/npcs/Harith.lua | 23 | 3179 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Harith
-- Type: Standard NPC
-- @pos -4.349 1 134.014 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
TW1STaL1CKY/pac3 | lua/pac3/editor/server/bans.lua | 2 | 2260 | local function get_bans()
local str = file.Read("pac_bans.txt", "DATA")
local bans = {}
if str and str ~= "" then
bans = util.KeyValuesToTable(str)
end
do -- check if this needs to be rebuilt
local k,v = next(bans)
if type(v) == "string" then
local temp = {}
for k,v in pairs(bans) do
temp[util.... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/bowl_of_dragon_soup.lua | 35 | 2018 | -----------------------------------------
-- ID: 4549
-- Item: Bowl of Dragon Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Strength 7
-- Agility 2
-- Vitality 2
-- Intelligence -3
-- Health Regen While Healing 8
-- Attack % 22
-- Attack Cap 150
-- Ranged ... | gpl-3.0 |
wilbefast/you-ordered-a-pizza | src/main.lua | 1 | 8616 | --[[
(C) Copyright 2014 William Dyce
All rights reserved. This program and the accompanying materials
are made available under the terms of the GNU Lesser General Public License
(LGPL) version 2.1 which accompanies this distribution, and is available at
http://www.gnu.org/licenses/lgpl-2.1.html
This library is distri... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Maze_of_Shakhrami/npcs/Ahko_Mhalijikhari.lua | 19 | 1922 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Ahko Mhalijikhari
-- Type: Quest NPC
-- @pos -344.617 -12.226 -166.233 198
-- 0x003d 0x003e 0x003f 0x0040 0x0041
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
satreix/awesome | scratch/drop.lua | 4 | 4927 | -------------------------------------------------------------------
-- Drop-down applications manager for the awesome window manager
-------------------------------------------------------------------
-- Coded by: * Lucas de Vries <lucas@glacicle.com>
-- Hacked by: * Adrian C. (anrxc) <anrxc@sysphere.org>
-- Licensed ... | mit |
POPHUP/maroonhost | plugins/me.lua | 12 | 2913 | do
local function run(msg, matches)
if matches[1]:lower() == 'me' or "wai" then
if is_sudo(msg) then
send_document(get_receiver(msg), "./data/me/sudo.webp", ok_cb, false)
return "Your Rank is : SuDo"
elseif is_admin(msg) then
send_document(get_receiver(msg), "./data/me/admin.webp", ok_cb, false... | gpl-2.0 |
joshimoo/Algorithm-Implementations | Floyd_Warshall/Lua/Yonaba/floyd_warshall.lua | 26 | 1802 | -- Floyd-Warshall "all pairs-shortest" algorithm implementation
-- See : http://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm
-- Note : this implementation (and tests) were roughly translated to
-- Lua from Diego Allen's implementation of the same problem.
-- See : https://github.com/kennyledet/Algorithm-Im... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Metalworks/npcs/_6ld.lua | 17 | 1316 | -----------------------------------
-- Area: Metalworks
-- Door: _6ld (President's Office)
-- @pos 92 -19 0.1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Metalw... | gpl-3.0 |
hb9cwp/snabbswitch | lib/pflua/src/pf.lua | 19 | 3321 | module("pf",package.seeall)
local savefile = require("pf.savefile")
local types = require("pf.types")
local libpcap = require("pf.libpcap")
local bpf = require("pf.bpf")
local parse = require('pf.parse')
local expand = require('pf.expand')
local optimize = require('pf.optimize')
local anf = require('pf.anf')
local ssa... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Lufaise_Meadows/npcs/Ghost_Talker_IM.lua | 8 | 2944 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Ghost Talker, I.M.
-- Border Conquest Guards
-- @pos 414.659 0.905 -52.417 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
thiagok00/server | data/scripts/otstd/classes/condition.lua | 3 | 7884 | otstd.conditions = {}
function Condition:type()
return self.__name
end
function Creature:addCondition(cond)
-- Create the actual condition
local obj = createCondition()
-- Use coroutine to guarantee no leaks due to script errors
local co = coroutine.create(otstd.conditions.makeConditionObject)
state, obj = coro... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/spells/stoneskin.lua | 6 | 1642 | -----------------------------------------
-- Spell: Stoneskin
-----------------------------------------
-- http://wiki.ffxiclopedia.org/wiki/Stoneskin
-- Max 350 damage absorbed
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---... | gpl-3.0 |
hb9cwp/snabbswitch | src/apps/ipv6/nd_light.lua | 7 | 13194 | -- This app implements a small subset of IPv6 neighbor discovery
-- (RFC4861). It has two ports, north and south. The south port
-- attaches to a port on which ND must be performed. The north port
-- attaches to an app that processes IPv6 packets. Packets
-- transmitted to and received from the north port contain f... | apache-2.0 |
soroushwilson/wilson1 | plugins/ingroup.lua | 1 | 93011 | 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
... | gpl-2.0 |
TW1STaL1CKY/pac3 | lua/pac3/core/client/parts/projectile.lua | 1 | 8866 | language.Add("pac_projectile", "Projectile")
local PART = {}
PART.ClassName = "projectile"
PART.Group = 'advanced'
PART.Icon = 'icon16/bomb.png'
pac.StartStorableVars()
pac.GetSet(PART, "Speed", 1)
pac.GetSet(PART, "AddOwnerSpeed", false)
pac.GetSet(PART, "Damping", 0)
pac.GetSet(PART, "Gravity", true)
pac.GetS... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Davoi/npcs/Disused_Well.lua | 38 | 1303 | -----------------------------------
-- Area: Davoi
-- NPC: Disused Well
-- Involved in Quest: A Knight's Test
-- @pos -221 2 -293 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones... | gpl-3.0 |
sjznxd/luci-0.11-aa | applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua | 78 | 1192 | --[[
Luci statistics - ping plugin diagram definition
(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 License at
http://www.apach... | apache-2.0 |
zzsoszz/springside4old | modules/redis/src/main/resources/redis/dispatch.lua | 71 | 1534 | -- KEYS: [1]job:scheduled, [2]job:ready, [3]job:dispatch.counter, [4]job:lock, [5]job:retry.counter
-- ARGV: [1]currentTime, [2]reliable, [3]timeoutSeconds
local batchsize = 64
local function batchAddReadyJob(jobs, count)
local i = 1
while i<=count do
local j = 1
local batchJobs={}
while i<=count and j<=batch... | apache-2.0 |
PioneerMakeTeam/Cretaceous | wicker/protocomponents/conditionaltasker.lua | 6 | 7612 | --[[
Copyright (C) 2013 simplex
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 program is distributed in the hope that ... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Aht_Urhgan_Whitegate/npcs/Shahbizu.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Shahbizu
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Bastok_Mines/npcs/Emaliveulaux.lua | 6 | 1941 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Emaliveulaux
-- Only sells when Bastok controls the Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
require("scripts/globals/harvest_festivals");
require("scrip... | gpl-3.0 |
m2mselect/owrt | feeds/luci/modules/luci-base/luasrc/i18n.lua | 74 | 1344 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.i18n", package.seeall)
require("luci.util")
local tparser = require "luci.template.parser"
table = {}
i18ndir = luci.util.libpath() .. "/i18n/"
loaded = {}
context = luci.util.threadlocal()
def... | gpl-2.0 |
suchipi/pac3 | lua/pac3/core/client/parts/material.lua | 1 | 11836 | setfenv(1, _G)
local PART = {}
PART.ClassName = "material"
PART.NonPhysical = true
PART.ShaderParams =
{
BaseTexture = "ITexture",
CloakPassEnabled = "boolean",
CloakFactor = "number",
CloakColorTint = "Vector",
RefractAmount = "number",
BumpMap = "ITexture",
LightWarpTexture = "ITexture",... | gpl-3.0 |
Capster/Metro | lua/metro/ui/dmenuoption.lua | 2 | 4276 | --[[ _
( )
_| | __ _ __ ___ ___ _ _
/'_` | /'__`\( '__)/' _ ` _ `\ /'_` )
( (_| |( ___/| | | ( ) ( ) |( (_| |
`\__,_)`\____)(_) (_) (_) (_)`\__,_)
DMenuOption
--]]
PANEL = {}
AccessorFunc( PANEL, "m_pMenu", "Menu" )
Accesso... | apache-2.0 |
sjznxd/luci-0.11-aa | applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua | 12 | 1115 | --[[
netdiscover_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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: netdiscover_devinfo_mi... | apache-2.0 |
nehz/busted | spec/async_spec.lua | 14 | 2575 | pending('testing the done callback with tokens', function()
it('Tests done call back ordered', function()
async()
stub(done, 'done_cb') -- create a stub to prevent actually calling 'done'
done:wait_ordered('1', '2', '3')
assert.has_no_error(function() done('1') end)
assert.has_error(function() d... | mit |
suchipi/pac3 | lua/pac3/editor/client/translations/turkish.lua | 4 | 5781 | return {
["trail"] = "iz",
["texture filter"] = "doku filtresi",
["show only with active weapon"] = "sadece aktif silah çıkmışken göster",
["parent velocity length"] = "ebeveyn hız büyükluğü",
["equal"] = "eşit",
["owner velocity right"] = "sahip sağ hızı",
["owner velocity length"] = "sahip hız büyüklüğü",
["timerx"] ... | gpl-3.0 |
m2mselect/owrt | feeds/routing/bird-openwrt/bird6-openwrt/src/controller/bird6.lua | 7 | 1228 | --[[
Copyright (C) 2014 - Eloi Carbó Solé (GSoC2014)
BGP/Bird integration with OpenWRT and QMP
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 3 of the License, or
(at your option) a... | gpl-2.0 |
psycho-nico/openwrt-packages | net/smartsnmpd/files/mibs/system.lua | 158 | 6428 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- 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 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/block_of_rock_cheese.lua | 36 | 1279 | -----------------------------------------
-- ID: 4593
-- Item: Block of Rock Cheese
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 5.5
-- Health Cap 45
-- HP Recovered while healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Selbina/npcs/Valgeir.lua | 17 | 4972 | -----------------------------------
-- Area: Selbina
-- NPC: Valgeir
-- involved in his name is his name is Valgeir quest
-- involved in expertise quest
-- involved in the basics quest
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Lufaise_Meadows/npcs/Jemmoquel_RK.lua | 8 | 2946 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Jemmoquel, R.K.
-- Outpost Conquest Guards
-- @pos -542.418 -7.124 -53.521 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Upper_Jeuno/npcs/Khe_Chalahko.lua | 37 | 1265 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Khe Chalahko
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-------------------------------... | gpl-3.0 |
m2mselect/owrt | feeds/luci/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua | 18 | 3897 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local encaps, atmdev, vci, vpi, username, password
local ipv6, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand, mtu
encaps = section:tabop... | gpl-2.0 |
shahabsaf1/DaLTon-bot-test2 | plugins/exchange.lua | 352 | 2076 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local function comma_value(n) -- credit http://richard.warburton.it
local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$')
return left..(num:reverse():gsub('... | gpl-2.0 |
brianbennett/fpga_nes | sw/scripts/cpu_ora.lua | 3 | 6961 | ----------------------------------------------------------------------------------------------------
-- Script: cpu_ora.lua
-- Description: CPU test. Directed test for OR instruction. Covers all address modes.
----------------------------------------------------------------------------------------------------
do... | bsd-2-clause |
FFXIOrgins/FFXIOrgins | scripts/globals/weaponskills/scourge.lua | 4 | 2232 | -----------------------------------
-- Scourge
-- Great Sword weapon skill
-- Skill level: N/A
-- Additional effect: temporarily improves params.critical hit rate.
-- params.critical hit rate boost duration is based on TP when the weapon skill is used. 100% TP will give 20 seconds of params.critical hit rate ... | gpl-3.0 |
MOSAVI17/Gbot | plugins/yoda.lua | 642 | 1199 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(text)
local api = "https://yoda.p.mashape.com/yoda?"
text = ... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Southern_San_dOria/npcs/Parvipon.lua | 19 | 2384 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Parvipon
-- Starts and Finishes Quest: The Merchant's Bidding (R)
-- @zone 230
-- @pos -169 -1 13
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
maximilianofaccone/puppy-siberian | root/.conky/clock_rings01.lua | 1 | 6091 | -- 2011 changed by LaGaDesk
settings_table = {
{
-- Edit this table to customise your rings.
-- You can create more rings simply by adding more elements to settings_table.
-- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
name='time',
-- "a... | gpl-3.0 |
sjznxd/luci-0.11-aa | applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua | 12 | 1326 | --[[
LuCI - Lua Configuration Interface
(c) 2009 Daniel Dickinson
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: smap_devinfo_config_mini.lua 544... | apache-2.0 |
devilrap978/devil_rap65 | plugins/spam.lua | 1 | 45414 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀
▀▄ ▄▀ spam : فلش ... | gpl-2.0 |
daofeng2015/luci | libs/luci-lib-rpcc/luasrc/rpcc.lua | 78 | 1593 | -- Copyright 2009 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local util = require "luci.util"
local json = require "luci.json"
local ltn12 = require "luci.ltn12"
local nixio = require "nixio", require "nixio.util"
local tostring, assert, setmetatable = tostring, assert, ... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.