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 |
|---|---|---|---|---|---|
n0xus/darkstar | scripts/globals/spells/foe_requiem_ii.lua | 18 | 1624 | -----------------------------------------
-- Spell: Foe Requiem II
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
n0xus/darkstar | scripts/globals/mobskills/Polar_Blast.lua | 7 | 1066 | ---------------------------------------------
-- Polar Blast
--
-- Description: Deals Ice damage to enemies within a fan-shaped area. Additional effect: Paralyze
-- Type: Breath
-- Ignores Shadows
-- Range: Unknown Cone
---------------------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
nobme/obs-studio | UI/frontend-plugins/frontend-tools/data/scripts/clock-source.lua | 25 | 3180 | obs = obslua
bit = require("bit")
source_def = {}
source_def.id = "lua_clock_source"
source_def.output_flags = bit.bor(obs.OBS_SOURCE_VIDEO, obs.OBS_SOURCE_CUSTOM_DRAW)
function image_source_load(image, file)
obs.obs_enter_graphics();
obs.gs_image_file_free(image);
obs.obs_leave_graphics();
obs.gs_image_file_ini... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Port_Windurst/npcs/Pherchabalet.lua | 38 | 1039 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pherchabalet
-- Type: Standard NPC
-- @zone: 240
-- @pos 34.683 -5.999 137.447
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua | 17 | 1358 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: ??? (Spawn when mega is defeated)
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems... | gpl-3.0 |
gvx/invader | settings.lua | 1 | 2182 | Settings = Game:addState('Settings')
Settings.selected = 1
Settings.items = {'fullscreen', 'music', 'tutorial', 'back'}
local lang = {fullscreen = 'Full screen', music = 'Stop music', tutorial = 'Tutorial', back = 'Back to menu'}
function Settings:enterState()
love.graphics.setFont(MainMenu.font)
end
function Settings... | mit |
n0xus/darkstar | scripts/zones/Bastok_Markets/npcs/Visala.lua | 19 | 1168 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Visala
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -202.000 -7.814 -56.823 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/salmon_rice_ball.lua | 21 | 1567 | -----------------------------------------
-- ID: 4590
-- Item: Salmon Rice Ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +25
-- Dex +2
-- Vit +2
-- Mnd -1
-- hHP +1
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Atk +40
-- Def ... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/bluemagic/frypan.lua | 28 | 1783 | -----------------------------------------
-- Spell: Frypan
-- Delivers an area attack. Additional effect: "Stun." Accuracy varies with TP
-- Spell cost: 65 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+2
-- Level: 63
-- Casting Time: 1 seconds
-- Recas... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/victory_march.lua | 18 | 1419 | -----------------------------------------
-- Spell: Victory March
-- Gives party members Haste
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spe... | gpl-3.0 |
MyAOSP/external_chromium_org_third_party_skia | tools/lua/paths.lua | 92 | 3129 | --
-- Copyright 2014 Google Inc.
--
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
--
-- Path scraping script.
-- This script is designed to count the number of times we fall back to software
-- rendering for a path in a given SKP. However, this script does not ... | bsd-3-clause |
janlou2/TeleA | plugins/welcome.lua | 1 | 3658 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
metadeus/luv | cache/backend.lua | 1 | 8930 | local table = require"luv.table"
local string = require"luv.string"
local tostring, io, pairs, ipairs, os, tonumber = tostring, io, pairs, ipairs, os, tonumber
local type, math, unpack = type, math, unpack
local Object = require"luv.oop".Object
local socket = require"socket"
local select = select
local json = require"l... | bsd-3-clause |
n0xus/darkstar | scripts/zones/Eastern_Altepa_Desert/TextIDs.lua | 9 | 1060 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
n0xus/darkstar | scripts/globals/abilities/drachen_roll.lua | 9 | 2786 | -----------------------------------
-- Ability: Drachen Roll
-- Enhances pet accuracy for party members within area of effect
-- Optimal Job: Dragoon
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 23
--
-- Die Roll |No DRG |With DRG
-- -------- ------- -----------
-- 1 |+10 |+25
-- 2... | gpl-3.0 |
Azmaedus/GarrisonJukeBox | libs/AceTab-3.0/AceTab-3.0.lua | 9 | 19106 | --- AceTab-3.0 provides support for tab-completion.
-- Note: This library is not yet finalized.
-- @class file
-- @name AceTab-3.0
-- @release $Id: AceTab-3.0.lua 1148 2016-07-18 09:13:02Z nevcairiel $
local ACETAB_MAJOR, ACETAB_MINOR = 'AceTab-3.0', 9
local AceTab, oldminor = LibStub:NewLibrary(ACETAB_MAJOR, ACETAB_M... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-WorldEvents/Holidays/ApothecaryTrio.lua | 1 | 1761 | local mod = DBM:NewMod("d288", "DBM-WorldEvents", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 12810 $"):sub(12, -3))
mod:SetCreatureID(36272, 36296, 36565)
mod:SetModelID(16176)
mod:SetZone()
mod:SetReCombatTime(10)
mod:RegisterCombat("combat")
mod:RegisterEvents(
"CHAT_MSG_MONSTER_SAY"
)
... | gpl-2.0 |
n0xus/darkstar | 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 |
n0xus/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/qm2.lua | 34 | 1032 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm2 (???)
-- Notes: Open south door @ F-7
-- @pos -75.329 -24.636 92.512 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trad... | gpl-3.0 |
n0xus/darkstar | scripts/globals/weaponskills/geirskogul.lua | 18 | 2004 | -----------------------------------
-- Geirskogul
-- Polearm weapon skill
-- Skill Level: N/A
-- Gae Assail/Gungnir: Shock Spikes.
-- This weapon skill is only available with the stage 5 relic Polearm Gungnir, within Dynamis with the stage 4 Gae Assail, or by activating the latent effect on the Skogul Lance.
-- A... | gpl-3.0 |
chengyi818/openwrt | customer/packages/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-format.lua | 80 | 3636 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Port_Bastok/npcs/Juroro.lua | 17 | 5440 | -----------------------------------
-- Area: Port Bastok
-- NPC: Juroro
-- Starts and Finishes Quest: Trial by Earth
-- @pos 32 7 -41 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Temenos/mobs/Iruci.lua | 16 | 1283 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Iruci
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/bowl_of_sprightly_soup.lua | 36 | 1326 | -----------------------------------------
-- ID: 5930
-- Item: Bowl of Sprightly Soup
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP 30
-- Mind 4
-- HP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Test/testform.lua | 3 | 3101 | load_assembly("System.Windows.Forms")
load_assembly("System.Drawing")
Form=import_type("System.Windows.Forms.Form")
TextBox=import_type("System.Windows.Forms.TextBox")
Label=import_type("System.Windows.Forms.Label")
ListBox=import_type("System.Windows.Forms.ListBox")
Button=import_type("System.Windows.Forms.Button")
P... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Port_Windurst/npcs/Kumama.lua | 36 | 1748 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kumama
-- 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/TextIDs... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/foe_requiem_iii.lua | 18 | 1625 | -----------------------------------------
-- Spell: Foe Requiem III
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
erfan01311/supergroups | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
privatesource/Vira_max | plugins/invite.lua | 12 | 1458 | do
local function callbackres(extra, success, result)
--vardump(result)
local user = 'user#id'..result.peer_id
local chat = 'chat#id'..extra.chatid
local channel = 'channel#id'..extra.chatid
if is_banned(result.id, extra.chatid) then
send_large_msg(chat, 'یوزر بن شده است')
send_large_msg(c... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Throne_Room/npcs/_4l3.lua | 51 | 1172 | -----------------------------------
-- Area: Throne Room
-- NPC: Ore Door
-------------------------------------
require("scripts/globals/bcnm");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if (TradeBCNM(player,player:ge... | gpl-3.0 |
privatesource/Vira_max | bot/utils.lua | 1 | 31236 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = (loadfile "./libs/serpent.lua")()
feedparser = (loadfile "./libs/feedparser.lua")()
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.l... | gpl-2.0 |
filipeaneto/magicia-prototype | zoetrope/core/mouse.lua | 6 | 4996 | -- Class: Mouse
-- This tracks the state of the mouse, i.e. its coordinates onscreen
-- and if a button was just pressed or released this frame.
--
-- See http://love2d.org/wiki/MouseConstant for a list of mouse button names.
--
-- Extends:
-- <Sprite>
Mouse = Sprite:extend{
visible = false,
-- private property: _... | gpl-3.0 |
gpedro/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 |
omidtarh/wezardbot | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
RockySeven3161/Unknown.. | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Party-Cataclysm/ZulAman/Nalorakk5.lua | 1 | 1930 | local mod = DBM:NewMod(187, "DBM-Party-Cataclysm", 10, 77)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 121 $"):sub(12, -3))
mod:SetCreatureID(23576)
mod:SetZone()
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED",
"CHAT_MSG_MONSTER_YELL"
)
mod.onlyHeroic = true
l... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Port_San_dOria/npcs/Diraulate.lua | 36 | 1375 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Diraulate
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Tex... | gpl-3.0 |
n0xus/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/Grounds_Tome.lua | 34 | 1144 | -----------------------------------
-- Area: Shrine of Ru'Avitau
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onT... | gpl-3.0 |
n0xus/darkstar | scripts/globals/weaponskills/vorpal_scythe.lua | 25 | 1561 | -----------------------------------
-- Vorpal Scythe
-- Scythe weapon skill
-- Skill level: 150
-- Delivers a single-hit attack. params.crit varies with TP.
-- Modifiers: STR:100%
-- 100%TP 200%TP 300%TP
-- 1.0 1.0 1.0
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-BlackrockFoundry/BlackrockFoundryTrash.lua | 1 | 2432 | local mod = DBM:NewMod("BlackrockFoundryTrash", "DBM-BlackrockFoundry")
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 11326 $"):sub(12, -3))
--mod:SetModelID(47785)
mod:SetZone()
mod.isTrashMod = true
mod:RegisterEvents(
"SPELL_CAST_START 156446",
"SPELL_AURA_APPLIED 175583 175594 175765",
"SP... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Northern_San_dOria/npcs/Mulaujeant.lua | 19 | 2331 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Mulaujeant
-- Involved in Quests: Missionary Man
-- @zone 231
-- @pos -175 0 181
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Spire_of_Vahzl/npcs/_0n0.lua | 17 | 1491 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/gl... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Lower_Jeuno/npcs/Yatniel.lua | 19 | 1797 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yatniel
-- Type: Standard NPC
-- @zone: 245
-- @pos -66.817 -7 -126.594
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
--------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Norg/npcs/Heiji.lua | 17 | 3132 | -----------------------------------
-- Area: Norg
-- NPC: Heiji
-- Starts and Ends Quest: Like a Shining Subligar
-- @pos -1 -5 25 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Spire_of_Vahzl/Zone.lua | 17 | 1582 | -----------------------------------
--
-- Zone: Spire_of_Vahzl (23)
--
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Spire_of_Vahzl/TextIDs");
require("scripts/g... | gpl-3.0 |
mway08/Atlas | lib/admin-bak.lua | 37 | 3379 | --[[ $%BEGINLICENSE%$
Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Sih_Gates/Zone.lua | 34 | 1231 | -----------------------------------
--
-- Zone: Sih Gates
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Sih_Gates/TextIDs"] = nil;
require("scripts/zones/Sih_Gates/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Crawlers_Nest/mobs/Aqrabuamelu.lua | 14 | 1550 | -----------------------------------
-- Area: Maze of Shakhrami
-- NM: Aqrabuamelu
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/bluemagic/dimensional_death.lua | 28 | 1767 | -----------------------------------------
-- Spell: Dimensional Death
-- Damage varies with TP
-- Spell cost: 48 MP
-- Monster Type: Undead
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 5
-- Stat Bonus: DEX+1, CHR+1, HP+5
-- Level: 60
-- Casting Time: 0.5 seconds
-- Recast Time: 23.75 seconds
-- Skil... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/bowl_of_sutlac.lua | 36 | 1315 | -----------------------------------------
-- ID: 5577
-- Item: Bowl of Sutlac
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- INT +1
-- MP Recovered while healing +2
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Metalworks/npcs/Karst.lua | 19 | 1867 | -----------------------------------
-- Area: Metalworks
-- NPC: Karst
-- Type: President
-- Involved in Bastok Missions 5-2
-- @pos 106 -21 0 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requi... | gpl-3.0 |
Dismounted/packages | net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/ruleconfig.lua | 82 | 4185 | -- ------ extra functions ------ --
function ruleCheck() -- determine if rule needs a protocol specified
local sourcePort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".src_port"))
local destPort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. arg[1] .. ".dest_port"))
if sourcePort ~= "" or d... | gpl-2.0 |
adamlerer/nn | HingeEmbeddingCriterion.lua | 50 | 1290 | local HingeEmbeddingCriterion, parent = torch.class('nn.HingeEmbeddingCriterion', 'nn.Criterion')
function HingeEmbeddingCriterion:__init(margin)
parent.__init(self)
self.margin = margin or 1
self.sizeAverage = true
end
function HingeEmbeddingCriterion:updateOutput(input,y)
self.buffer = self.buffer or ... | bsd-3-clause |
misterdustinface/gamelib-common-polyglot | src/networked/modules/networker.lua | 1 | 2763 | local sms = (...).sms
local subscribe = (...).subscribe
local unsubscribe = (...).unsubscribe
local socket = (...).socket
local udp = socket.udp()
local myIp = "192.168.0.6"
local girlIp = "192.168.0.9"
local port = 51234
local mycookie = "!self!"
udp:setsockname(myIp, port)
assert(udp:setoption('broadcast', true))
--... | gpl-2.0 |
ppriest/mame | scripts/src/osd/windows.lua | 3 | 6971 | -- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- windows.lua
--
-- Rules for the building for Windows
--
---------------------------------------------------------------------------
dofile("modules.lua")
function maintarge... | gpl-2.0 |
metadeus/luv | tests/checktypes.lua | 1 | 1987 | local ct = require "luv.checktypes"
local TestCase = require "luv.dev.unittest".TestCase
local checkTypes, expect, type, tostring, tonumber, io = ct.checkTypes, ct.expect, type, tostring, tonumber, io
module(...)
return TestCase:extend{
__tag = ...,
testSimple = function (self)
local a = checkTypes("number", func... | bsd-3-clause |
n0xus/darkstar | scripts/globals/items/bowl_of_navarin.lua | 35 | 1877 | -----------------------------------------
-- ID: 4439
-- Item: Bowl of Navarin
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 3
-- Strength 3
-- Agility 1
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Evasion 5
-- Ranged ATT % 27
-- Ranged ATT... | gpl-3.0 |
n0xus/darkstar | scripts/globals/weaponskills/victory_smite.lua | 30 | 1634 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget,... | gpl-3.0 |
abhiatgithub/shogun-toolbox | tests/integration/lua_modular/generator.lua | 21 | 1204 | package.path = package.path .. ";../../../src/interfaces/lua_modular/?.lua;"
package.cpath = package.cpath .. ";../../../src/interfaces/lua_modular/?.so;/usr/local/lib/?.so"
require("lfs")
example_dir = '../../examples/undocumented/lua_modular'
test_dir = '../../../testsuite/tests'
blacklist = {"load.lua", "MatrixTes... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luacom/demo/odl/idltest.lua | 3 | 1083 | require "luacom"
lib = luacomE.NewLibrary {
name = "SmallFurryCreatures",
uuid = "22582D65-4EE0-11d1-8791-0060B07BFA18",
version = "1.0"
}
lib:AddImport("stdole32.tlb")
int = lib:AddInterface{
name = "ISFC",
uuid = "22582D66-4EE0-11d1-8791-0060B07BFA18",
}
int:AddMethod{
type = "boolean",
name = "Requ... | lgpl-3.0 |
n0xus/darkstar | scripts/globals/abilities/pets/healing_breath_i.lua | 18 | 1466 | ---------------------------------------------------
-- Healing Breath I
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbili... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Moana_CA.lua | 38 | 1064 | -----------------------------------
-- 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]/Te... | gpl-3.0 |
arianne/stendhal | data/script/region/atlantis/music.lua | 3 | 1410 | --[[
***************************************************************************
* Copyright © 2020 - Arianne *
***************************************************************************
***************************************************************************
* ... | gpl-2.0 |
ppriest/mame | 3rdparty/nanosvg/premake4.lua | 20 | 1423 |
local action = _ACTION or ""
solution "nanosvg"
location ( "build" )
configurations { "Debug", "Release" }
platforms {"native", "x64", "x32"}
project "example1"
kind "ConsoleApp"
language "C++"
files { "example/example1.c", "example/*.h", "src/*.h" }
includedirs { "example", "src" }
targetdir("build"... | gpl-2.0 |
Ne02ptzero/Grog-Like | Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/tablex.lua | 12 | 24514 | --- Extended operations on Lua tables.
--
-- See @{02-arrays.md.Useful_Operations_on_Tables|the Guide}
--
-- Dependencies: `pl.utils`
-- @module pl.tablex
local utils = require ('pl.utils')
local getmetatable,setmetatable,require = getmetatable,setmetatable,require
local append,remove = table.insert,table.remove
local ... | apache-2.0 |
ppriest/mame | 3rdparty/genie/tests/actions/vstudio/sln2005/dependencies.lua | 47 | 1320 | --
-- tests/actions/vstudio/sln2005/dependencies.lua
-- Validate generation of Visual Studio 2005+ solution project dependencies.
-- Copyright (c) 2009-2011 Jason Perkins and the Premake project
--
T.vstudio_sln2005_dependencies = { }
local suite = T.vstudio_sln2005_dependencies
local sln2005 = premake.vstudio.sln2... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Jugner_Forest/npcs/Cavernous_Maw.lua | 29 | 1495 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Cavernous Maw
-- @pos -118 -8 -518 104
-- Teleports Players to Jugner Forest [S]
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
n0xus/darkstar | scripts/commands/addcurrency.lua | 26 | 1362 | ---------------------------------------------------------------------------------------------------
-- func: @addcurrency <currency type> <amount> <target player>
-- desc: Adds the specified currency to the player
---------------------------------------------------------------------------------------------------
... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Konschtat_Highlands/npcs/Signpost3.lua | 34 | 1034 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Signpost
-- @pos -221 17 139 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Konschtat_Highlands/TextIDs");
--------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Gusgen_Mines/npcs/_5g1.lua | 34 | 1104 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g1 (Door B)
-- @pos 20.002 -42.398 -25.499 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
-------------... | gpl-3.0 |
seclorum/load81 | examples/gridify.lua | 1 | 4823 | --
-- draw some grids
--
screen_width = WIDTH
screen_height = HEIGHT
screen_w_center = screen_width / 2
screen_h_center = screen_height / 2
colors = {}
colors = { {r=255, g=0, b=255, a=1},
{r=0, g=0, b=255, a=1},
{r=255, g=0, b=0, a=1},
{r=0, g=255, b=0, a... | bsd-2-clause |
n0xus/darkstar | scripts/zones/Port_Bastok/npcs/Silver_Owl.lua | 34 | 1328 | -----------------------------------
-- Area: Port Bastok
-- NPC: Silver Owl
-- Type: Tenshodo Merchant
-- @pos -99.155 4.649 23.292 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Newton_Movalpolos/Zone.lua | 30 | 1704 | -----------------------------------
--
-- Zone: Newton_Movalpolos (12)
--
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Newton_Movalpolos/TextIDs");
-------... | gpl-3.0 |
xxlxx20/DEVKEEPER | plugins/spam.lua | 3 | 6166 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
... | gpl-2.0 |
DEVOmarReal/Omar-Real | plugins/tag.lua | 1 | 3518 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ Update BY : ▀▄ ▄▀
▀▄ ▄▀ BY OmarReal (Omar_Real) ▀▄ ▄▀
▀▄ ▄▀ BY ALI ALNWAB (LAUESDEVD) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀▀... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Port_Windurst/npcs/Papo-Hopo.lua | 36 | 2900 | -----------------------------------
-- Area: Port Windurst
-- NPC: Papo-Hopo
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_... | gpl-3.0 |
Azmaedus/GarrisonJukeBox | libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua | 68 | 2216 | --[[-----------------------------------------------------------------------------
Heading Widget
-------------------------------------------------------------------------------]]
local Type, Version = "Heading", 20
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Shield.lua | 16 | 1482 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Shield
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functi... | gpl-3.0 |
DDRBoxman/obs-studio | UI/frontend-plugins/frontend-tools/data/scripts/instant-replay.lua | 23 | 5385 | obs = obslua
source_name = ""
hotkey_id = obs.OBS_INVALID_HOTKEY_ID
attempts = 0
last_replay = ""
----------------------------------------------------------
function try_play()
local replay_buffer = obs.obs_frontend_get_replay_buffer_output()
if replay_buffer == nil then
obs.remove_current_callback()... | gpl-2.0 |
QVaucher/Gwynt-Lua | lib/sti/utils.lua | 2 | 4699 | -- Some utility functions that shouldn't be exposed.
local utils = {}
-- https://github.com/stevedonovan/Penlight/blob/master/lua/pl/path.lua#L286
function utils.format_path(path)
local np_gen1,np_gen2 = '[^SEP]+SEP%.%.SEP?','SEP+%.?SEP'
local np_pat1, np_pat2 = np_gen1:gsub('SEP','/'), np_gen2:gsub('SEP','/')
loc... | mit |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lqt/old_bindings/generate_function.lua | 2 | 4899 | #!/usr/bin/lua
--[[
Copyright (c) 2007-2008 Mauro Iazzi
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, ... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua | 30 | 3592 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Yahsra
-- Type: Assault Mission Giver
-- @pos 120.967 0.161 -44.002 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyi... | gpl-3.0 |
chengyi818/openwrt | feeds/routing/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/interfaces.lua | 20 | 2085 | --[[
Copyright (C) 2011 Pau Escrich <pau@dabax.net>
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.
Th... | gpl-2.0 |
n0xus/darkstar | scripts/globals/weaponskills/glory_slash.lua | 18 | 1563 | -----------------------------------
-- Glory Slash
-- Sword weapon skill
-- Skill Level: NA
-- Only avaliable during Campaign Battle while weilding Lex Talionis.
-- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun.
-- Will stack with Sneak Attack.
-- Aligned with t... | gpl-3.0 |
n0xus/darkstar | scripts/zones/AlTaieu/npcs/_0x0.lua | 17 | 2261 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Crystalline Field
-- @pos .1 -10 -464 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/missions"... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-GUI/localization.de.lua | 1 | 16933 | if GetLocale() ~= "deDE" then return end
if not DBM_GUI_Translations then DBM_GUI_Translations = {} end
local L = DBM_GUI_Translations
L.MainFrame = "Deadly Boss Mods"
L.TranslationByPrefix = "Übersetzt von "
L.TranslationBy = "Ebmor@EU-Malorne"
L.Website = "Besuche die Diskussions- und Support-Foren: |cFF73C... | gpl-2.0 |
sina1903/TG | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/orbit/doc/br/blog_config.lua | 4 | 3890 |
-- Puts all the definitions below in blog's namespace
module("blog", package.seeall)
blog_title = "Blog"
cache_path = "page_cache"
copyright_notice = "Copyright 2007 Foobar"
about_blurb = [[This is an example of a blog built using Orbit. You
can browse posts and add comments, but to add new posts you have
to go di... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Crawlers_Nest/Zone.lua | 30 | 1853 | -----------------------------------
--
-- Zone: Crawlers_Nest (197)
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Crawlers_Nes... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Northern_San_dOria/npcs/Prerivon.lua | 38 | 1025 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Prerivon
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 142.324 0.000 132.515
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
aqasaeed/satan | 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 |
umbrellaTG/self | 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 |
n0xus/darkstar | scripts/globals/effects/innin.lua | 17 | 1454 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect) --power=30 initially, subpower=20 for enmity
target:addM... | gpl-3.0 |
gpedro/server | data/scripts/spells/support/levitate.lua | 3 | 1462 | local levitate = Spell:new("Levitate")
levitate.words = "exani hur"
levitate.vocation = "any"
levitate.level = 9
levitate.mana = 20
levitate.effect = MAGIC_EFFECT_BLUE_BUBBLE
function levitate:onBeginCast(event)
local caster = event.caster
local pos = caster:getPosition()
if caster:getD... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Al_Zahbi/npcs/Shayadar.lua | 38 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Shayadar
-- Type: Gadalar's Attendant
-- @zone: 48
-- @pos -107.177 -6.999 33.463
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Port_Bastok/npcs/Steel_Bones.lua | 36 | 1727 | -----------------------------------
-- Area: Port Bastok
-- NPC: Steel Bones
-- Standard Info NPC
-- Involved in Quest: Guest of Hauteur
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requir... | gpl-3.0 |
ibrahimlovers/babeleon-bot | bot/permissions.lua | 43 | 1333 | local sudos = {
"plugins",
"rank_admin",
"bot",
"lang_install",
"set_lang",
"tosupergroup",
"gban_installer"
}
local admins = {
"rank_mod",
"gban",
"ungban",
"setrules",
"setphoto",
"creategroup",
"setname",
"addbots",
"setlink",
"rank_guest",
"description",
"export_... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/plate_of_ic_pilav.lua | 35 | 1942 | -----------------------------------------
-- ID: 5584
-- Item: plate_of_ic_pilav
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 65
-- Strength 4
-- Vitality -1
-- Intelligence -1
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 65
-- Ran... | gpl-3.0 |
jonas-koeritz/hfa-dissector | hfa.lua | 1 | 40749 | p_hfa = Proto("hfa", "HFA")
p_hfa.prefs["tcp_port"] = Pref.uint("TCP Port", 4060, "HFA TCP Port")
local f_length = ProtoField.uint16("hfa.length", "Message Length", base.DEC)
local f_msgtype = ProtoField.uint8("hfa.msgtype", "Message Type", base.HEX)
p_hfa.fields = { f_length, f_msgtype }
local msg_types = {
[0x04... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-WorldEvents/Quests/Invasions.lua | 1 | 3160 | local mod = DBM:NewMod("GarrisonInvasions", "DBM-WorldEvents", 2)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 12421 $"):sub(12, -3))
mod:SetZone(DBM_DISABLE_ZONE_DETECTION)
mod:RegisterEvents(
"CHAT_MSG_RAID_BOSS_EMOTE",
"CHAT_MSG_MONSTER_YELL"
)
mod.noStatistics = true
mod.isTrashMod = true--... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.