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 |
|---|---|---|---|---|---|
FFXIOrgins/FFXIOrgins | scripts/zones/Sauromugue_Champaign/npcs/Cavernous_Maw.lua | 5 | 2222 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- Teleports Players to Sauromugue_Champaign_S
-- @pos 369 8 -227 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
FarzadNari/rocketrobot | plugins/english_lang.lua | 1 | 17079 |
local LANG = 'en'
local function run(msg, matches)
if permissions(msg.from.id, msg.to.id, "lang_install") then
-------------------------
-- Translation version --
-------------------------
set_text(LANG, 'version', '0.2')
set_text(LANG, 'versionExtended', 'Translation version 0.2')
-------------
-- P... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/abilities/chakra.lua | 3 | 1482 | -----------------------------------
-- Ability: Chakra
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
return 0,0;
end;
function OnUseAbility(... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua | 38 | 1038 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Cannau
-- Type: Escort NPC
-- @pos 419.838 -56.999 -114.870 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldie... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Port_Windurst/npcs/Taniko-Maniko.lua | 36 | 1836 | -----------------------------------
-- Area: Port Windurst
-- NPC: Taniko-Maniko
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/... | gpl-3.0 |
Capster/Metro | lua/metro/ui/listview_column.lua | 1 | 5431 |
local PANEL = {}
Derma_Hook( PANEL, "Paint", "Paint", "ListViewHeaderLabel" )
Derma_Hook( PANEL, "ApplySchemeSettings", "Scheme", "ListViewHeaderLabel" )
Derma_Hook( PANEL, "PerformLayout", "Layout", "ListViewHeaderLabel" )
--[[---------------------------------------------------------
Name: Init
-------------... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/abilities/pets/zantetsuken.lua | 4 | 1391 | ---------------------------------------------------
-- Zantetsuken
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
-------------------------------------... | gpl-3.0 |
togolwb/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 |
teahouse/FWServer | skynet/lualib/snax/gateserver.lua | 4 | 3306 | local skynet = require "skynet"
local netpack = require "netpack"
local socketdriver = require "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.clear(queue) en... | mit |
wectoreya/alahvaz.bot | plugins/boyt.lua | 3 | 1184 | do
local function get_bot(extra, success, result)
vardump(result)
local name = extra.name
local receiver = extra.receiver
local text = "البوتات 🤖المضافه لمجموعة☑️ : "..name.."\n"
local i = 1
for k,user in ipairs(result) do
local id = user.peer_id
local botname = user.print_name
... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/PsoXja/npcs/_i98.lua | 9 | 1528 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Stone Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyitems... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Norg/npcs/Oruga.lua | 34 | 3022 | -----------------------------------
-- Area: Norg
-- NPC: Oruga
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
local path = {
-0.016294, -1.251156, -30.703135,
1.135162, -1.295192, -30.737705,
2.267773, -1.620833, -30.756174,
3.344393, -1.879029, -30.778761,
... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Mount_Kamihr/Zone.lua | 34 | 1279 | -----------------------------------
--
-- Zone: Mount Kamihr
--
-----------------------------------
package.loaded["scripts/zones/Mount_Kamihr/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mount_Kamihr/TextIDs");
---------------------------... | gpl-3.0 |
loic-fejoz/loic-fejoz-fabmoments | ball-contraption-simple/union-or-merge.lua | 1 | 1594 | -- Public Domain
-- This example is about a ball trajectory. Think of it as base part for a ball contraption...
function union_based(step)
ball = sphere(2.5)
ball_trajectory = ball
for angle = 0, 360, step do
ball_trajectory = union{
ball_trajectory,
translate(
15 * cos(angle),
15 * sin(a... | mit |
moj69/m | plugins/isup.lua | 2 | 3094 | do
local socket = require("socket")
local cronned = load_from_file('data/isup.lua')
local function save_cron(msg, url, delete)
local origin = get_receiver(msg)
if not cronned[origin] then
cronned[origin] = {}
end
if not delete then
table.insert(cronned[origin], url)
else
for k,v in pairs(cronned[... | agpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Cloister_of_Gales/bcnms/trial_by_wind.lua | 6 | 1765 | -----------------------------------
-- Area: Cloister of Gales
-- BCNM: Trial by Wind
-- @zone -361 1 -381 201
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests"... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Lower_Jeuno/npcs/Rhimonne.lua | 37 | 1153 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Rhimonne
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------... | gpl-3.0 |
msburgess3200/PERP | gamemodes/perp/entities/entities/ent_fuelcan/init.lua | 1 | 1814 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
function ENT:Initialize()
self.Entity:SetModel("models/props_junk/metalgascan.mdl")
self.Entity:PhysicsInit( SOLID_VPHYSICS )
self.Entity:SetMoveType( MOVETYPE_VPHYSICS )
self.Entity:SetSolid( SOLID_VPHYSICS )
self.Entity:SetUseTy... | mit |
thiagok00/server | data/scripts/otstd/intrinsic/table.lua | 3 | 1372 |
function table.find(t, val, comparator)
for k, v in pairs(t) do
if comparator then
if comparator(val, v) then
return k
end
else
if v == val then
return k
end
end
end
return nil
end
function table.findf(t, comparator)
for k, v in pairs(t) do
if comparator(v) then
return k
end
end... | gpl-2.0 |
msburgess3200/PERP | gamemodes/perp/gamemode/sv_modules/system_register.lua | 1 | 5451 | --[[
local SetRank = 6;
function GM.PlayerRegistration ( Player, Cmd, Args )
if Player.SMFID && Player.SMFID != -1 then
Player:Notify("You're already a registered user of Pulsar Effect.");
umsg.Start('pe_close_reg', Player); umsg.End();
return
end
local UN, PW = Args[1], Args[2];
if !UN or UN == "" ... | mit |
sjznxd/lc-20130127 | protocols/6x4/luasrc/model/cbi/admin_network/proto_6in4.lua | 8 | 2709 | --[[
LuCI - Lua Configuration Interface
Copyright 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
http://www.apache.org/licenses/LICENSE-2.0
]]--
local ma... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/chunk_of_goblin_chocolate.lua | 35 | 1343 | -----------------------------------------
-- ID: 4495
-- Item: chunk_of_goblin_chocolate
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Charisma -5
-- Health Regen While Healing 5
-- Lizard Killer 5
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Yuhtunga_Jungle/mobs/Overgrown_Rose.lua | 4 | 1379 | -----------------------------------
-- Area: Yuhtunga Jungle
-- MOB: Overgrown Rose
-----------------------------------
function OnMobRoam(mob)
local Rose_Garden = 17281357;
local Rose_Garden_PH = 0;
local Rose_Garden_PH_Table =
{
17281356
};
local Rose_Garden_ToD = GetMobByID(Rose_Garden):g... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Celennia_Memorial_Library/Zone.lua | 15 | 1349 | -----------------------------------
--
-- Zone: Celennia Memorial Library (284)
--
-----------------------------------
package.loaded["scripts/zones/Celennia_Memorial_Library/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Celennia_Memorial_Libr... | gpl-3.0 |
sjznxd/lc-20130127 | libs/lucid-rpc/luasrc/lucid/rpc/server.lua | 52 | 8197 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]
local ip... | apache-2.0 |
daofeng2015/luci | applications/luci-app-shairplay/luasrc/model/cbi/shairplay.lua | 78 | 1789 | -- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
-- Licensed to the public under the Apache License 2.0.
m = Map("shairplay", "Shairplay", translate("Shairplay is a simple AirPlay server implementation, here you can configure the settings."))
s = m:section(TypedSection, "shairplay", "")
s.addremove = true... | apache-2.0 |
msburgess3200/PERP | gamemodes/perp/gamemode/items/furniture_metal_detector.lua | 1 | 1300 |
local ITEM = {};
ITEM.ID = 81;
ITEM.Reference = "furniture_metal_detector";
ITEM.Name = "Metal Detector";
ITEM.Description = "Detects when people pass through with weapons.\n\nLeft click to spawn as prop.";
ITEM.Weight = 100;
ITEM.Cost = 1500;
ITEM.MaxStack = 100;
ITEM.Inventory... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Windurst_Woods/npcs/Harara_WW.lua | 6 | 4820 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Harara, W.W.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Mission... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/North_Gustaberg/MobIDs.lua | 36 | 1422 | -----------------------------------
-- Area: North Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Stinging Sophie
Stinging_Sophie=17211561;
Stinging_Sophie_PH={
[17211532] = '1', -- 352.974, -40.359, 472.914
[17211534] = '1', -- ... | gpl-3.0 |
msburgess3200/PERP | gamemodes/perp/gamemode/vehicles/Old Cars/mini.lua | 1 | 3181 | ///////////////////////////////
// © 2009-2010 Pulsar Effect //
// All rights reserved //
///////////////////////////////
// This material may not be //
// reproduced, displayed, //
// modified or distributed //
// without the express prior //
// written permission of the //
// the copyright holder. //
... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/The_Garden_of_RuHmet/npcs/_iz2.lua | 19 | 1961 | -----------------------------------
-- Area: The Garden of RuHmet
-- NPC: _iz2 (Ebon_Panel)
-- @pos 422.351 -5.180 -100.000 35 | Hume Tower
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_o... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Temenos/mobs/Enhanced_Ahriman.lua | 17 | 1287 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Enhanced_Ahriman
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------... | gpl-3.0 |
Gael-de-Sailly/minetest-minetestforfun-server | minetestforfun_game/mods/farming/cocoa.lua | 8 | 3987 |
local S = farming.intllib
-- place cocoa
function place_cocoa(itemstack, placer, pointed_thing, plantname)
local pt = pointed_thing
-- check if pointing at a node
if not pt or pt.type ~= "node" then
return
end
local under = minetest.get_node(pt.under)
-- return if any of the nodes are not registered
if n... | unlicense |
HJArchGroup/WE-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 |
sjznxd/luci-0.11-aa | applications/luci-radvd/luasrc/model/cbi/radvd.lua | 12 | 8219 | --[[
LuCI - Lua Configuration Interface
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/LICENSE-2.0
$Id: radvd.lu... | apache-2.0 |
sjznxd/luci-0.11-aa | applications/luci-asterisk/luasrc/model/cbi/asterisk/phones.lua | 11 | 2989 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id: phones.l... | apache-2.0 |
xToken/CompMod | lua/CompMod/Classes/Alien/Alien/client.lua | 1 | 3869 | -- Natural Selection 2 Competitive Mod
-- Source located at - https://github.com/xToken/CompMod
-- lua\CompMod\Classes\Alien\Alien\client.lua
-- - Dragon
AddClientUIScriptForClass("Alien", "CompMod/GUI/GUIAlienSensorBlips/GUIAlienSensorBlips")
AddClientUIScriptForClass("AlienCommander", "CompMod/GUI/GUIAlienSensorBlip... | mit |
sjznxd/lc-20130127 | 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 |
TW1STaL1CKY/pac3 | lua/pac3/libraries/webaudio/urlogg.lua | 1 | 1546 | -- made by Morten and CapsAdmin
pac.webaudio = pac.webaudio or {}
local webaudio = pac.webaudio
webaudio.Debug = 0
webaudio.SampleRate = nil
webaudio.SpeedOfSound = 340.29 -- metres per second
function webaudio.DebugPrint(str, ...)
if webaudio.Debug == 0 then return end
if webaudio.Debug >= 1 then
... | gpl-3.0 |
TW1STaL1CKY/pac3 | lua/pac3/core/shared/movement.lua | 1 | 7337 | CreateConVar("pac_free_movement", -1, CLIENT and {FCVAR_REPLICATED} or {FCVAR_ARCHIVE, FCVAR_REPLICATED}, "allow players to modify movement. -1 apply only allow when noclip is allowed, 1 allow for all gamemodes, 0 to disable")
local default = {}
default.JumpHeight = 200
default.StickToGround = true
default.GroundFrict... | gpl-3.0 |
fartoverflow/naev | dat/events/neutral/derelict.lua | 11 | 12202 | --[[
-- Derelict Event
--
-- Creates a derelict ship that spawns random events.
--]]
lang = naev.lang()
if lang == "es" then
-- not translated atm
else -- default english
-- Text goes here. Please keep the section as organized as possible.
--=== NEUTRAL EVENTS ===--
ntitle = "Empty derelict"
ntex... | gpl-3.0 |
sjznxd/luci-0.11-aa | libs/core/luasrc/model/network.lua | 10 | 33420 | --[[
LuCI - Network model
Copyright 2009-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/LICENSE-2.0
Unless required by app... | apache-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/kalamar.lua | 18 | 1255 | -----------------------------------------
-- ID: 5448
-- Item: Kalamar
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
satreix/awesome | vicious/contrib/pulse.lua | 10 | 3033 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, MrMagne <mr.magne@yahoo.fr>
-- * (c) 2010, Mic92 <jthalheim@gmail.com>
---------------------------------------------------
-- {{{ Grab environment
local type = type
local tonumber = tonumber
local i... | mit |
sjznxd/lc-20130127 | applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua | 76 | 3146 | --[[
Luci diag - Diagnostics controller module
(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
]]--
module("luci.cont... | apache-2.0 |
subzrk/BadRotations | System/engines/EnemiesEngine.lua | 1 | 20607 | -- Function to create and populate table of enemies within a distance from player.
br.enemy = {}
local findEnemiesThread = nil
-- Adds Enemies to the enemy table
local function AddEnemy(thisUnit)
local startTime = debugprofilestop()
-- if br.enemy[thisUnit] == nil then
br.enemy[thisUnit] = {}
local enemy = br.e... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/RuLude_Gardens/npcs/Laityn.lua | 17 | 1187 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Laityn
-- Involved In Quest: Recollections
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trad... | gpl-3.0 |
dargosch/home_center_2_addons | Scenes/old_structure/acON.lua | 1 | 3343 | --[[
%% autostart
%% properties
%% events
%% globals
--]]
function timestringToTable (time)
local dateTable = os.date("*t");
-- Get an iterator that extracts date fields
local g = string.gmatch(time, "%d+");
local hour = g() ;
local minute = g() or 0;
local second = g() or 0;
-- Insert s... | gpl-3.0 |
Ali-2h/lwl | 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 |
sbadia/dotfiles | awesome/rc.lua | 1 | 33119 | -- baloo.sebian.fr (T440s)
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
awful.rules = require("awful.rules")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
-- Theme handling library
local beautiful = require("beautiful")
-- Notificatio... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/kaplumbaga.lua | 18 | 1258 | -----------------------------------------
-- ID: 5464
-- Item: Kaplumbaga
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------... | gpl-3.0 |
TRIEXTEAM/TaylortTG | plugins/lock_sticker.lua | 17 | 19859 | -- data saved to data/moderation.json
do
local administrators_only = 'For administrator only!'
local moderators_only = 'For moderators only!'
local function create_group(msg)
if not is_admin(msg) then return administrators_only end
local group_creator = msg.from.print_name
create_group_chat (group_creator, grou... | gpl-2.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/nopales_salad_+1.lua | 36 | 1143 | -----------------------------------------
-- ID: 5702
-- Item: Nopales Salad +1
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Strength 2
-- Agility 7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Valkurm_Dunes/npcs/Stone_Monument.lua | 32 | 1285 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -311.299 -4.420 -138.878 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Phomiuna_Aqueducts/npcs/_0ro.lua | 17 | 1604 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Selbina/npcs/Boris.lua | 38 | 1030 | ----------------------------------
-- Area: Selbina
-- NPC: Boris
-- Type: Item Deliverer
-- @pos 61.074 -14.655 -7.1 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------... | gpl-3.0 |
mahdikord/mahdibaryaji | 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 |
ho3einkj/boti | 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 |
Arashbrsh/copyuz | 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 |
subzrk/BadRotations | System/UI/ui.lua | 1 | 4730 | local DiesalGUI = LibStub("DiesalGUI-1.0")
-- Global setup
br.ui = {}
br.spacing = 15
--[[ FROM PE ]]--
DiesalGUI:RegisterObjectConstructor("FontString", function()
local self = DiesalGUI:CreateObjectBase(Type)
local frame = CreateFrame('Frame',nil,UIParent)
local fontString = frame:CreateFontSt... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Metalworks/npcs/Taulluque.lua | 38 | 1048 | -----------------------------------
-- Area: Metalworks
-- NPC: Taulluque
-- Type: Past Event Watcher
-- @zone: 237
-- @pos 39.907 -14.999 -21.083
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("s... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Port_San_dOria/npcs/HomePoint#3.lua | 3 | 1711 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#3
-- @pos -6 -13 -150 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_San_dO... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Throne_Room/mobs/Shadow_Lord.lua | 4 | 4568 | -----------------------------------
-- Area: Throne Room
-- NPC: Shadow Lord
-- Mission 5-2 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
f... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/items/plate_of_flapanos_paella.lua | 36 | 1435 | -----------------------------------------
-- ID: 5975
-- Item: Plate of Flapano's Paella
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 45
-- Vitality 6
-- Defense % 26 Cap 155
-- Undead Killer 6
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
m2mselect/owrt | feeds/packages/net/prosody/files/prosody.cfg.lua | 147 | 7257 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you know... | gpl-2.0 |
psycho-nico/openwrt-packages | net/prosody/files/prosody.cfg.lua | 147 | 7257 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you know... | gpl-2.0 |
unknownssassss/sudo_meti | plugins/lock_bots.lua | 4 | 1037 | local function pre_process(msg)
if is_momod(msg) or is_owner(msg) then return end
function del_bots(arg, data)
if data.username_ then
if string.sub(data.username_:lower(), -3) == 'bot' then
kick_user(arg.chat_id,data.id_)
end
end
end
-- local is_bot_msg = msg.text:match("!!!tdservice:")
-- if is_bot... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/globals/weaponskills/entropy.lua | 6 | 1453 | -----------------------------------
-- Entropy
-- Scythe weapon skill
-- Skill level: 357
-- Description: Delivers a fourfold attack that converts damage dealt into own MP. Damage varies with TP.
-- In order to obtain Entropy, the quest Martial Mastery must be completed.
-- MP recovery is about 15~25% of damage... | gpl-3.0 |
TW1STaL1CKY/pac3 | lua/pac3/editor/client/translations/chinese.lua | 1 | 10763 | return {
["sprite path"] = "精灵路径",
["right upperarm"] = "右上臂",
["neck"] = "脖子",
["size y"] = "Y轴坐标",
["draw shadow"] = "绘画阴影",
["copy"] = "复制",
["start size"] = "初始大小",
["clip"] = "裁剪工具",
["size"] = "大小",
["reset view"] = "重置视角",
["right calf"] = "右腿",
["effect"] = "特效",
["max"] = "最大",
["angles"] = "角度",... | gpl-3.0 |
naturomics/hacketc | awesomewm/widgets/battery_widget.lua | 1 | 6390 | -- Battery widget
local awful = require("awful")
local gears = require("gears")
local wibox = require("wibox")
local timer = gears.timer or timer
local watch = awful.spawn and awful.spawn.with_line_callback
------------------------------------------
-- Private utility functions
--------------------------------------... | mit |
FFXIOrgins/FFXIOrgins | scripts/zones/Southern_San_dOria/npcs/Diary.lua | 17 | 2118 | -----------------------------------
-- 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/glob... | gpl-3.0 |
wilbefast/you-ordered-a-pizza | src/gamestates/game.lua | 1 | 16681 | --[[
(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 |
marcovr/T-Bot | modules/disabled/schoolhelper.lua | 1 | 3890 | -- Timeleft Modul (Titel ist wichtig)
--Zeiten direkt in Min umegerechnet
local Stundenplan = { {485,530},{535,575},{580,625},{640,685},{690,735},{745,790},{795,840},
{845,890},{895,940},{945,1020}}
local Faecher = { {"Baguette", "Deutsch", "Deutsch", "Philosophie", "Philosophie"},
{"KLL", "Math... | gpl-2.0 |
subzrk/BadRotations | System/Libs/DiesalGUI-1.0/Objects/ComboBoxItem.lua | 6 | 4482 | -- $Id: ComboBoxItem.lua 52 2014-04-08 11:52:40Z diesal@reece-tech.com $
local DiesalGUI = LibStub('DiesalGUI-1.0')
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
local DiesalTools = LibStub('DiesalTools-1.... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/Waughroon_Shrine/bcnms/rank_2_mission.lua | 6 | 1874 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Mission Rank 2
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Waughroon_Shrine/TextIDs");
-------------------... | gpl-3.0 |
sjznxd/luci-0.11-aa | applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua | 11 | 1146 | --[[
LuCI hd-idle
(c) 2008 Yanira <forum-2008@email.de>
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: hd_idle.lua 6063 2010-04-14 08:58:0... | apache-2.0 |
Gael-de-Sailly/minetest-minetestforfun-server | mods/WorldEdit/worldedit/visualization.lua | 22 | 4066 | --- Functions for visibly hiding nodes
-- @module worldedit.visualization
minetest.register_node("worldedit:placeholder", {
drawtype = "airlike",
paramtype = "light",
sunlight_propagates = true,
diggable = false,
walkable = false,
groups = {not_in_creative_inventory=1},
})
--- Hides all nodes in a r... | unlicense |
mkacik/bcc | src/lua/bcc/tracerpipe.lua | 9 | 1540 | --[[
Copyright 2016 GitHub, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | apache-2.0 |
m2mselect/owrt | feeds/luci/modules/luci-mod-failsafe/luasrc/controller/failsafe/failsafe.lua | 34 | 4984 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2012 Daniel Golle <dgolle@allnet.de>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.failsafe.failsafe", package.seeall)
function index()
local root = node()
if n... | gpl-2.0 |
togolwb/skynet | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
zhouxiaoxiaoxujian/skynet | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
soroushwilson/wilson1 | 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 |
mahdikord/mahdikord9 | 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 |
FFXIOrgins/FFXIOrgins | scripts/zones/Lufaise_Meadows/mobs/Splinterspine_Grukjuk.lua | 37 | 1181 | -----------------------------------
-- Area: Lufaise Meadows (24)
-- Mob: Splinterspine_Grukjuk
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
Gael-de-Sailly/minetest-minetestforfun-server | mods/news/init.lua | 8 | 3891 | local modpath = minetest.get_modpath("news")
local md5 = dofile(modpath .. "/md5.lua")
local news = {}
local checksum
local caracteres_max = 5000
local pages_players = {}
local seen_checksum
function load_news()
local newsfile = io.open(minetest.get_worldpath().."/news.txt","r")
local content
if newsfile ~= nil t... | unlicense |
FFXIOrgins/FFXIOrgins | scripts/zones/Northern_San_dOria/npcs/Chasalvige.lua | 19 | 1701 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Chasalvige
-- Type: Standard Info NPC
-- Involved in Mission: The Road Forks
-- Involved in Mission: Promathia Mission 5 - Three Paths
-- @zone: 231
-- @pos 96.432 -0.520 134.046
--
-----------------------------------
require("scripts/globa... | gpl-3.0 |
Gael-de-Sailly/minetest-minetestforfun-server | minetestforfun_game/mods/farming/tomato.lua | 12 | 2097 |
--[[
Textures edited from:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1288375-food-plus-mod-more-food-than-you-can-imagine-v2-9)
]]
local S = farming.intllib
-- tomato
minetest.register_craftitem("farming:tomato", {
description = S("Tomato"),
inventory_image = "farming_tomato.png",
... | unlicense |
FFXIOrgins/FFXIOrgins | scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua | 38 | 1037 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Miiri-Wohri
-- Type: Standard NPC
-- @zone: 241
-- @pos 106.766 -6 -30.492
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
FFXIOrgins/FFXIOrgins | scripts/zones/RaKaznar_Inner_Court/Zone.lua | 32 | 1345 | -----------------------------------
--
-- Zone: Ra’Kanzar Inner Court (276)
--
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Inner_Court/TextIDs");... | gpl-3.0 |
arman022/spamer- | bot/seedbot.lua | 1 | 10265 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
gitfancode/skynet | lualib/redis.lua | 8 | 6174 | local skynet = require "skynet"
local socket = require "socket"
local socketchannel = require "socketchannel"
local table = table
local string = string
local assert = assert
local redis = {}
local command = {}
local meta = {
__index = command,
-- DO NOT close channel in __gc
}
---------- redis response
local redcm... | mit |
msburgess3200/PERP | gamemodes/perp/entities/entities/prop_case_beer/init.lua | 1 | 1114 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
MixRange = 150;
function ENT:Initialize()
self:SetModel("models/props/cs_militia/caseofbeer01.mdl")
self.Entity:PhysicsInit( SOLID_VPHYSICS )
self.Entity:SetMoveType( MOVETYPE_VPHYSICS )
self.Entity:SetSolid( SOLID_VPHYSICS )
self.... | mit |
FFXIOrgins/FFXIOrgins | scripts/globals/items/blind_bolt.lua | 18 | 1033 | -----------------------------------------
-- ID: 18150
-- Item: Blind Bolt
-- Additional Effect: Blindness
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
... | gpl-3.0 |
msburgess3200/PERP | gamemodes/perp/entities/weapons/weapon_perp_paramedic_health/shared.lua | 1 | 4244 |
if SERVER then
AddCSLuaFile("shared.lua")
end
if CLIENT then
SWEP.PrintName = "Health Kit"
SWEP.Slot = 2
SWEP.SlotPos = 1
SWEP.DrawAmmo = false
SWEP.DrawCrosshair = false
end
SWEP.Author = "RedMist"
SWEP.Instructions = "Left Click: Give health to a citizen ( 10 second cooldown )"
SWEP.Contact = ""
SWEP.Purpose... | mit |
Laendasill/waifu2x | lib/image_loader.lua | 32 | 2887 | local gm = require 'graphicsmagick'
local ffi = require 'ffi'
require 'pl'
local image_loader = {}
function image_loader.decode_float(blob)
local im, alpha = image_loader.decode_byte(blob)
if im then
im = im:float():div(255)
end
return im, alpha
end
function image_loader.encode_png(rgb, alpha)
if... | mit |
Gael-de-Sailly/minetest-minetestforfun-server | mods/lavatemple/dagger.lua | 10 | 2087 | -- Based on compass mod by Echo
local function tick()
minetest.after(1, tick)
local players = minetest.get_connected_players()
for i,player in ipairs(players) do
local target = lavatemple.mapgen_data.pos;
if not target then return end
local pos = player:getpos()
local dir = player:get_look_yaw()
local an... | unlicense |
FFXIOrgins/FFXIOrgins | scripts/globals/items/balik_sis.lua | 35 | 1661 | -----------------------------------------
-- ID: 5600
-- Item: Balik Sis
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -2
-- Attack % 13
-- Attack Cap 40
-- Ranged ACC 1
-- Ranged ATT % 13
-- Ranged ATT Cap 40
-----------------------------------------
r... | gpl-3.0 |
Gael-de-Sailly/minetest-minetestforfun-server | mods/mobs/dirtmonster.lua | 7 | 1847 |
-- Dirt Monster by PilzAdam
mobs:register_mob("mobs:dirt_monster", {
-- animal, monster, npc, barbarian
type = "monster",
-- aggressive, deals 6 damage to player when hit
passive = false,
attack_type = "dogfight",
pathfinding = false,
reach = 2,
damage = 5,
-- health & armor
hp_min = 25,
hp_max = 30,
armo... | unlicense |
FFXIOrgins/FFXIOrgins | scripts/globals/items/san_dorian_carrot.lua | 35 | 1200 | -----------------------------------------
-- ID: 4389
-- Item: san_dorian_carrot
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
thiagok00/server | data/scripts/otstd/actions/instrument.lua | 3 | 2820 | otstd.instrument = {}
function otstd.instrument.piano_handler(event)
local item = event.item
if math.random(0, 1) == 1 then
sendMagicEffect(item:getPosition(), MAGIC_EFFECT_RED_NOTE)
else
sendMagicEffect(item:getPosition(), MAGIC_EFFECT_BLUE_NOTE)
end
return true
end
local piano_handler = otstd.instrument.pi... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.