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 |
|---|---|---|---|---|---|
davymai/CN-QulightUI | Interface/AddOns/DBM-Coliseum/localization.tw.lua | 1 | 5485 | if GetLocale() ~= "zhTW" then return end
local L
------------------------
-- Northrend Beasts --
------------------------
L = DBM:GetModLocalization("NorthrendBeasts")
L:SetGeneralLocalization{
name = "北裂境巨獸"
}
L:SetMiscLocalization{
Charge = "%%s怒視著(%S+),並發出震耳的咆哮!",
CombatStart = "來自風暴群山最深邃,最黑暗的洞穴。歡迎『穿刺者』戈莫克... | gpl-2.0 |
n0xus/darkstar | scripts/zones/AlTaieu/mobs/Absolute_Virtue.lua | 23 | 2388 | -----------------------------------
-- Area: Al'Taieu
-- HNM: Absolute Virtue
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobSpawn Action
-------------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Moh_Gates/Zone.lua | 34 | 1230 | -----------------------------------
--
-- Zone: Moh Gates
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Moh_Gates/TextIDs"] = nil;
require("scripts/zones/Moh_Gates/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/LuaMacro/tests/test-macro.lua | 2 | 2256 | require 'pl'
local macro = require 'macro'
tmp = [[
for i = 1,10 do
fred("hello",i)
f(10,'hello')
print(str(233))
bonzo a,b,c;
fun2(\x(x+1),\(a:get()),\x(\y(x+y)))
frederick block
for i = 1,10 do
alpha block
print(i)
end
end
end
try
banzai(dog)
... | lgpl-3.0 |
adamlerer/nn | MultiCriterion.lua | 26 | 1170 | local MultiCriterion, parent = torch.class('nn.MultiCriterion', 'nn.Criterion')
function MultiCriterion:__init()
parent.__init(self)
self.criterions = {}
self.weights = torch.DoubleStorage()
end
function MultiCriterion:add(criterion, weight)
weight = weight or 1
table.insert(self.criterions, criterion)... | bsd-3-clause |
goblinor/BomBus1 | plugins/filter.lua | 2 | 3100 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# Developer : reza < @Yagop >
# our channel: @Ntflight
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
local func... | gpl-2.0 |
Ne02ptzero/Grog-Like | Angel/Scripting/EngineScripts/start.lua | 7 | 3019 | ------------------------------------------------------------------------------
-- Copyright (C) 2008-2014, Shane Liesegang
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redist... | apache-2.0 |
n0xus/darkstar | scripts/globals/spells/uncanny_etude.lua | 18 | 1616 | -----------------------------------------
-- Spell: Uncanny Etude
-- Static DEX Boost, BRD 72
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
f... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Dynamis-Buburimu/Zone.lua | 17 | 2365 | -----------------------------------
--
-- Zone: Dynamis-Buburimu
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
require("scripts/zones/Dynamis-Buburimu/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Fire.lua | 17 | 2263 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Fire
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals... | gpl-3.0 |
n0xus/darkstar | scripts/zones/The_Garden_of_RuHmet/Zone.lua | 9 | 11686 | -----------------------------------
--
-- Zone: The_Garden_of_RuHmet (35)
--
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Amfafa.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Amfafa
-- Type: Standard NPC
-- @zone: 94
-- @pos -24.938 -2 -185.729
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----... | gpl-3.0 |
niello/deusexmachina | Deps/CEGUI/cegui/src/ScriptModules/Lua/support/tolua++bin/lua/class.lua | 14 | 6494 | -- tolua: class class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id$
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enhancements, or... | mit |
n0xus/darkstar | scripts/globals/weaponskills/penta_thrust.lua | 30 | 1280 | -----------------------------------
-- 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
-- Modifi... | gpl-3.0 |
Laserzwei/complex | data/scripts/lib/tradingutility.lua | 1 | 9045 | package.path = package.path .. ";data/scripts/lib/?.lua"
package.path = package.path .. ";data/scripts/?.lua"
package.path = package.path .. ";?"
require ("utility")
require ("randomext")
require ("goods")
local AsyncShipGenerator = require("asyncshipgenerator")
local TradingUtility = {}
local scripts =
{
"/cons... | unlicense |
Arashbrsh/lifeiran | plugins/twitter.lua | 632 | 2555 | local OAuth = require "OAuth"
-- EDIT data/twitter.lua with the API keys
local twitter_config = load_from_file('data/twitter.lua', {
-- DON'T EDIT HERE.
consumer_key = "", consumer_secret = "",
access_token = "", access_token_secret = ""
})
local client = OAuth.new(twitter_config.consumer_key, twitter_c... | gpl-2.0 |
mpeterv/busted | busted/languages/es.lua | 10 | 1623 | local s = require('say')
s:set_namespace('es')
-- 'Pending: test.lua @ 12 \n description
s:set('output.pending', 'Pendiente')
s:set('output.failure', 'Fallo')
s:set('output.error', 'Error')
s:set('output.success', 'Éxito')
s:set('output.pending_plural', 'pendientes')
s:set('output.failure_plural', 'fallos')
s:set('o... | mit |
davymai/CN-QulightUI | Interface/AddOns/DBM-BlackTemple/Bloodboil.lua | 1 | 2490 | local mod = DBM:NewMod("Bloodboil", "DBM-BlackTemple")
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 527 $"):sub(12, -3))
mod:SetCreatureID(22948)
mod:SetModelID(21443)
mod:SetZone()
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_AURA_APPLIED",
"SPELL_AURA_APPLIED_DOSE"
)
loca... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Bastok_Mines/npcs/Roh_Latteh.lua | 34 | 2602 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Roh Latteh
-- Involved in Quest: Mom, The Adventurer?
-- Finishes Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Maudaal.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Maudaal
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
mwgoldsmith/vlc | share/lua/sd/fmc.lua | 122 | 2554 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Fabio Ritrovato <sephiroth87 at videolan dot org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_ir5.lua | 17 | 1305 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _ir5 (Oil Lamp)
-- Notes: Opens north door at J-9 from inside.
-- @pos 103.703 -26.180 37.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/lanes/tests/perftest.lua | 4 | 5152 | --
-- PERFTEST.LUA Copyright (c) 2007-08, Asko Kauppi <akauppi@gmail.com>
--
-- Performance comparison of multithreaded Lua (= how much ballast does using
-- Lua Lanes introduce)
--
-- Usage:
-- [time] lua -lstrict perftest.lua [threads] [-plain|-single[=2..n]] [-time] [-prio[=-2..+2[,-2..+2]]]
--
-- ... | lgpl-3.0 |
CameronHynes/OpenRA | mods/ra/maps/soviet-06b/soviet06b-AI.lua | 19 | 3127 | IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end
IdlingUnits = function()
local lazyUnits = enemy.GetGroundAttackers()
Utils.Do(lazyUnits, function(unit)
Trigger.OnDamaged(unit, function()
Trigger.ClearAll(unit)
Trigger.AfterDelay(0, function() IdleHunt(unit) end)
... | gpl-3.0 |
erfan01311/supergroups | plugins/trivia.lua | 647 | 6784 | do
-- Trivia plugin developed by Guy Spronck
-- Returns the chat hash for storing information
local function get_hash(msg)
local hash = nil
if msg.to.type == 'chat' then
hash = 'chat:'..msg.to.id..':trivia'
end
if msg.to.type == 'user' then
hash = 'user:'..msg.from.id..':trivia'
end
return hash
en... | gpl-2.0 |
n0xus/darkstar | scripts/globals/spells/knights_minne_v.lua | 18 | 1520 | -----------------------------------------
-- Spell: Knight's Minne V
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastin... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Serpentshrine/localization.ru.lua | 1 | 5783 | if GetLocale() ~= "ruRU" then return end
local L
---------------------------
-- Hydross the Unstable --
---------------------------
L = DBM:GetModLocalization("Hydross")
L:SetGeneralLocalization{
name = "Гидросс Нестабильный"
}
L:SetWarningLocalization{
WarnMark = "%s : %s",
WarnPhase = "%s Phase",--Translate... | gpl-2.0 |
LuffyPan/skynet | examples/share.lua | 16 | 1440 | local skynet = require "skynet"
local sharedata = require "sharedata"
local mode = ...
if mode == "host" then
skynet.start(function()
skynet.error("new foobar")
sharedata.new("foobar", { a=1, b= { "hello", "world" } })
skynet.fork(function()
skynet.sleep(200) -- sleep 2s
skynet.error("update foobar a = 2")
... | mit |
MHPG/MHP | plugins/Feedback.lua | 43 | 1081 | do
function run(msg, matches)
local fuse = '#DearAdmin😜 we have recived a new feedback just now : #newfeedback \n\nID▶️ : ' .. msg.from.id .. '\n\nName▶ : ' .. msg.from.print_name ..'\n\nusername▶️ :@ ' .. msg.from.username ..'\n\n🅿️♏️ :\n\n\n' .. matches[1]
local fuses = '!printf user#id' .. msg.from.id
lo... | gpl-2.0 |
n0xus/darkstar | scripts/globals/spells/bluemagic/claw_cyclone.lua | 27 | 1801 | -----------------------------------------
-- Spell: Claw Cyclone
-- Damages enemies within area of effect with a twofold attack. Damage varies with TP
-- Spell cost: 24 MP
-- Monster Type: Beasts
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: VIT+1
-- Level: 20
-- Casting Time: 1 sec... | gpl-3.0 |
xxlxx20/DEVKEEPER | plugins/lock_bot.lua | 1 | 2579 | --[[
منع البوتات
@llX8Xll
--]]
local function isAntiBotEnabled (chatId)
local hash = 'bot:lock:'..chatId
local lock = redis:get(hash)
return lock
end
local function enableAntiBot (chatId)
local hash = 'bot:lock:'..chatId
redis:set(hash, true)
end
local function disableAntiBot (chatId)
local hash = 'bot:lock:'.... | gpl-2.0 |
n0xus/darkstar | scripts/globals/spells/bluemagic/healing_breeze.lua | 15 | 1808 | -----------------------------------------
-- Spell: Healing Breeze
-- Restores HP for party members within area of effect
-- Spell cost: 55 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 4
-- Stat Bonus: CHR+2, HP+10
-- Level: 16
-- Casting Time: 4.5 seconds
-- Recast Time: 15 ... | gpl-3.0 |
padrinoo1/telehack | plugins/anti_spam.lua | 40 | 3888 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
xennygrimmato/nmt | src/OpenNMT/test/onmt/BatchTest.lua | 8 | 12061 | require('onmt.init')
local tester = ...
local batchTest = torch.TestSuite()
function batchTest.inconsistentSourceAndTarget()
local src = {
torch.IntTensor({5, 6, 7, 8}),
torch.IntTensor({5, 6}),
torch.IntTensor({5, 6, 7}),
torch.IntTensor({5, 6, 7, 8}),
}
local tgt = {
torch.IntTensor({onmt... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/East_Ronfaure/npcs/Andelain.lua | 19 | 2000 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Andelain
-- Type: Standard NPC
-- @pos 664.231 -12.849 -539.413 101
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Dynamis-Qufim/mobs/Antaeus.lua | 16 | 2120 | -----------------------------------
-- Area: Dynamis Qufim
-- NPC: Antaeus
-----------------------------------
package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Qufim/TextIDs");
require("script... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Giddeus/TextIDs.lua | 9 | 1529 | -- 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 |
ddysher/turbo | spec/util_spec.lua | 7 | 2883 | --- Turbo.lua Unit test
--
-- Copyright 2013 John Abrahamsen
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by appl... | apache-2.0 |
Azmaedus/GarrisonJukeBox | libs/AceConfig-3.0/AceConfig-3.0.lua | 13 | 2188 | --- AceConfig-3.0 wrapper library.
-- Provides an API to register an options table with the config registry,
-- as well as associate it with a slash command.
-- @class file
-- @name AceConfig-3.0
-- @release $Id: AceConfig-3.0.lua 1161 2017-08-12 14:30:16Z funkydude $
--[[
AceConfig-3.0
Very light wrapper library tha... | gpl-2.0 |
adamlerer/nn | Add.lua | 61 | 1699 | local Add, parent = torch.class('nn.Add', 'nn.Module')
function Add:__init(inputSize,scalar)
parent.__init(self)
local size = inputSize
if scalar then size=1 end
self.scalar = scalar
self.bias = torch.Tensor(size)
self.gradBias = torch.Tensor(size)
self._ones = torch.Tensor{1}
self:rese... | bsd-3-clause |
Asmodai/verbuild | src/lua/testes/nextvar.lua | 1 | 17516 | -- $Id: testes/nextvar.lua $
-- See Copyright Notice in file all.lua
print('testing tables, next, and for')
local function checkerror (msg, f, ...)
local s, err = pcall(f, ...)
assert(not s and string.find(err, msg))
end
local a = {}
-- make sure table has lots of space in hash part
for i=1,100 do a[i.."+"] = ... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Port_San_dOria/npcs/Bricorsant.lua | 36 | 1376 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Bricorsant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Te... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Arrapago_Reef/npcs/qm3.lua | 16 | 1190 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (Spawn Zareehkl the Jubilant(ZNM T2))
-- @pos 176 -4 182 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
-----... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-VoA/localization.de.lua | 1 | 2152 | if GetLocale() ~= "deDE" then return end
local L
----------------------------------
-- Archavon the Stone Watcher --
----------------------------------
L = DBM:GetModLocalization("Archavon")
L:SetGeneralLocalization({
name = "Archavon der Steinwächter"
})
L:SetWarningLocalization({
WarningGrab = "Archavon durch... | gpl-2.0 |
n0xus/darkstar | scripts/globals/abilities/call_wyvern.lua | 18 | 1039 | -----------------------------------
-- Ability: Call Wyvern
-- Summons a Wyvern to fight by your side.
-- Obtained: Dragoon Level 1
-- Recast Time: 20:00
-- Duration: Instant
-- Special: Only available if Dragoon is your main class.
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/Cavernous_Maw.lua | 17 | 1236 | -----------------------------------
-- Area: Abyssea - Tahrongi
-- NPC: Cavernous Maw
-- @pos -31.000, 47.000, -681.000 45
-- Teleports Players to Tahrongi Canyon
-----------------------------------
package.loaded["scripts/zones/Abyssea-Tahrongi/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
privatesource/Vira_max | plugins/antiflood.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Windurst_Waters/npcs/Ten_of_Hearts.lua | 38 | 1045 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ten of Hearts
-- Type: Standard NPC
-- @zone: 238
-- @pos -49.441 -5.909 226.524
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----... | gpl-3.0 |
n0xus/darkstar | scripts/zones/RuAun_Gardens/mobs/Suzaku.lua | 12 | 1981 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Suzaku
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobIniti... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/trail_cookie.lua | 36 | 1258 | -----------------------------------------
-- ID: 5940
-- Item: Trail Cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- MP Healing 5
-- Aquan Killer 12
-- Sleep Resist 10
-----------------------------------------
require("scripts/globals/status");
-------------------------------------... | gpl-3.0 |
xjdrew/levent | ext/mongo/init.lua | 1 | 6853 | local bson = require "bson"
local socket = require "levent.socket"
local socketUtil = require "levent.socket_util"
local driver = require "mongo.driver"
local rawget = rawget
local assert = assert
local bson_encode = bson.encode
local bson_encode_order = bson.encode_order
local bson_decode = bson.decode
local empty_bs... | mit |
E-Neo/graphx | spec/classes/graph_spec.lua | 1 | 13016 | local gx = require "graphx"
describe("Graph", function ()
it("Graph()", function ()
local G = gx.Graph({author="E-Neo"})
assert.are.equal("E-Neo", G.graph.author)
assert.are.equal("", G.graph.name)
end)
it("name", function ()
... | mit |
n0xus/darkstar | scripts/zones/Den_of_Rancor/npcs/_4g5.lua | 17 | 2124 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Lantern (NE)
-- @pos -59 45 24 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/plate_of_fin_sushi_+1.lua | 35 | 1486 | -----------------------------------------
-- ID: 5666
-- Item: plate_of_fin_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Intelligence 5
-- Accuracy % 17
-- Ranged Accuracy % 17
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Highmaul/Brackenspore.lua | 1 | 9495 | local mod = DBM:NewMod(1196, "DBM-Highmaul", nil, 477)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 12676 $"):sub(12, -3))
mod:SetCreatureID(78491)
mod:SetEncounterID(1720)
mod:SetZone()
--Has no audio files
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START 159996 16001... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Dynamis-Jeuno/mobs/Goblin_Statue.lua | 12 | 5171 | -----------------------------------
-- Area: Dynamis Jeuno
-- NPC: Goblin Statue
-- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg
-- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg
-- Vanguard Position: http://faranim.li... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Highmaul/TwinOgron.lua | 1 | 14902 | local mod = DBM:NewMod(1148, "DBM-Highmaul", nil, 477)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 12676 $"):sub(12, -3))
mod:SetCreatureID(78238, 78237)--Pol 78238, Phemos 78237
mod:SetEncounterID(1719)
mod:SetZone()
--Could not find south path for this one
mod:SetHotfixNoticeRev(11939)
mod:Reg... | gpl-2.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/sqlite3/examples/order.lua | 4 | 2750 |
require "path"
require "sqlite3"
local db = assert( sqlite3:open_memory() )
assert( db:exec[[
CREATE TABLE customer (
id INTEGER PRIMARY KEY,
name VARCHAR(40)
);
CREATE TABLE invoice (
id INTEGER PRIMARY KEY,
customer INTEGER NOT NULL,
title VARCHAR(80) NOT NULL,
article1 VARCHAR... | lgpl-3.0 |
Azmaedus/GarrisonJukeBox | minimap/mm.lua | 1 | 1335 | local GJB = LibStub("AceAddon-3.0"):GetAddon("GarrisonJukeBox")
local L = GJB.L -- local L = LibStub("AceLocale-3.0"):GetLocale("GarrisonJukeBox")
-- ---------------------------------------------
-- create minimap icon
-- ---------------------------------------------
function GJB:CreateMinimapIcon()
local ldb = LibSt... | gpl-2.0 |
moonhappy/lunalovescene | llscn.lua | 1 | 8806 | local class = require "lib.middleclass.middleclass"
--[[--
Actor of a Scene.
An actor is an entity that resembles presence and characterisation. Use the
actor construct as the foundation to perform the role of an entity in the game.
]]
local LnaActor = class('LnaActor')
function LnaActor:initialize(drawLayer)
se... | mit |
chengyi818/openwrt | customer/packages/luci/modules/admin-mini/luasrc/model/cbi/mini/passwd.lua | 83 | 1134 | --[[
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/Qulun_Dome/mobs/Za_Dha_Adamantking.lua | 27 | 1182 | -----------------------------------
-- Area: Qulun Dome
-- NM: Za Dha Adamantking
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onM... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Dynamis-San_dOria/mobs/Wyrmgnasher_Bjakdek.lua | 16 | 1062 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: Wyrmgnasher Bjakdek
-- Boss Trigger for Overlord's Tombstone
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------... | gpl-3.0 |
dmccuskey/dmc-netstream | examples/dmc-netstream-basic/dmc_corona/lib/dmc_lua/lua_bytearray/exceptions.lua | 43 | 2472 | --====================================================================--
-- dmc_lua/lua_bytearray/exceptions.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (c) 2014-2015 David McCuskey
Permission i... | mit |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Muyadah.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Muyadah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
metadeus/luv | utf8.lua | 1 | 8248 | -- $Id: utf8.lua 147 2007-01-04 00:57:00Z pasta $
--
-- Provides UTF-8 aware string functions implemented in pure lua:
-- * string.utf8len(s)
-- * string.utf8sub(s, i, j)
-- * string.utf8reverse(s)
--
-- If utf8data.lua (containing the lower<->upper case mappings) is loaded, these
-- additional functions are available:... | bsd-3-clause |
n0xus/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Rasdinice.lua | 36 | 1113 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rasdinice
-- @zone 80
-- @pos -8 1 35
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
--------------------------------... | gpl-3.0 |
karai17/Peep | LoveFrames/objects/textinput.lua | 3 | 50630 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2012-2014 Kenny Shields --
--]]------------------------------------------------
-- textinput object
local newobject = loveframes.NewObject("textinput", "loveframes_object_textinput", true)
--[[----------... | mit |
DEVOmarReal/Omar-Real | plugins/newgroup.lua | 2 | 36422 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY OmarReal ▀▄ ▄▀
▀▄ ▄▀ BY OmarReal (Omar_Real7) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY OmarReal ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀▀... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Jumaaf.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Jumaaf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
oneyanshi/transcend-exe | test/LanguageModel_test.lua | 17 | 2279 | require 'torch'
require 'nn'
require 'LanguageModel'
local tests = {}
local tester = torch.Tester()
local function check_dims(x, dims)
tester:assert(x:dim() == #dims)
for i, d in ipairs(dims) do
tester:assert(x:size(i) == d)
end
end
-- Just a smoke test to make sure model can run forward / backward
fun... | mit |
n0xus/darkstar | scripts/globals/mobskills/Drop_Hammer.lua | 25 | 1043 | ---------------------------------------------
-- Drop Hammer
--
-- Description: Drops the hammer. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows?
-- Range: Melee
-- Notes: Only used by "destroyers" (carrying massive warhammers).
--------------------------------------------... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/loop/lua/loop/table.lua | 13 | 2781 | --------------------------------------------------------------------------------
---------------------- ## ##### ##### ###### -----------------------
---------------------- ## ## ## ## ## ## ## -----------------------
---------------------- ## ## ## ## ## ###### --------------------... | lgpl-3.0 |
misterdustinface/gamelib-common-polyglot | src/try-to-make-a-language/symbiosis.lua | 1 | 7737 | print("[COMPILING]")
local args = {...}
local file_to_compile = args[1] or "testfile_A.s"
local file = io.open(file_to_compile)
local code = file:read('*a')
file:close()
local code, number_of_lines = string.gsub(code, '\n', '\n');
local code, count_a = string.gsub(code, "@(.)", " @ %1")
local code, count_b = string.gsu... | gpl-2.0 |
sina1903/TG | bot/bot.lua | 1 | 13486 | -- #TGteam Robot
-- #@TG_plus
tdcli = dofile('./libs/tdcli.lua')
serpent = (loadfile "./libs/serpent.lua")()
feedparser = (loadfile "./libs/feedparser.lua")()
require('./bot/utils')
URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
json = (loadfile "./libs/JSON... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Dynamis-Valkurm/Zone.lua | 17 | 2275 | -----------------------------------
--
-- Zone: Dynamis-Valkurm
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
----------------... | gpl-3.0 |
RezaShomare1/xy | plugins/admin.lua | 24 | 6851 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Kuftal_Tunnel/npcs/qm6.lua | 19 | 1693 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ???
-- Involved in Mission: Bastok 8-2
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/ice_carol.lua | 18 | 1499 | -----------------------------------------
-- Spell: Ice Carol
-- Increases ice resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------------... | gpl-3.0 |
DEVOmarReal/Omar-Real | plugins/isup.lua | 4 | 3736 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY OmarReal ▀▄ ▄▀
▀▄ ▄▀ BY OmarReal (Omar_Real) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY OmarReal ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀▀... | gpl-2.0 |
n0xus/darkstar | scripts/globals/spells/poison_iii.lua | 18 | 1094 | -----------------------------------------
-- Spell: Poison
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Mount_Zhayolm/npcs/Waudeen.lua | 17 | 2070 | -----------------------------------
-- Area: Mount_Zhayolm
-- NPC: Waudeen
-- Type: Assault
-- @pos 673.882 -23.995 367.604 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Norg/npcs/Aeka.lua | 17 | 3063 | -----------------------------------
-- Area: Norg
-- NPC: Aeka
-- Involved in Quest: Forge Your Destiny
-- @zone 252
-- @pos 4 0 -4
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("script... | gpl-3.0 |
Ne02ptzero/Grog-Like | Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-comprehension.lua | 7 | 2497 | -- test-comprehension.lua
-- test of comprehension.lua
local comp = require 'pl.comprehension' . new()
local asserteq = require 'pl.test' . asserteq
-- test of list building
asserteq(comp 'x for x' {}, {})
asserteq(comp 'x for x' {2,3}, {2,3})
asserteq(comp 'x^2 for x' {2,3}, {2^2,3^2})
asserteq(comp 'x for x... | apache-2.0 |
privatesource/Vira_max | plugins/me.lua | 6 | 1299 | do function run(msg, matches)
if matches[1]:lower() == 'wai' and is_sudo(msg) then
return "You are SUDO"
end
if matches[1]:lower() == 'wai' and is_admin(msg) then
return "You are Admin"
end
if matches[1]:lower() == 'wai' and is_owner(msg) then
return "You are Group Leader"
... | gpl-2.0 |
Python1320/wire | lua/entities/gmod_wire_explosive.lua | 9 | 7380 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Explosive"
ENT.WireDebugName = "Explosive"
if CLIENT then return end -- No more client
function ENT:Initialize()
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSICS )
local phys = sel... | apache-2.0 |
n0xus/darkstar | scripts/globals/mobskills/PW_Calcifying_Deluge.lua | 25 | 1190 | ---------------------------------------------
-- Calcifying Deluge
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
--------------------... | gpl-3.0 |
xubigshu/skynet | service/snaxd.lua | 6 | 2064 | local skynet = require "skynet"
local c = require "skynet.core"
local snax_interface = require "snax.interface"
local profile = require "profile"
local snax = require "snax"
local snax_name = tostring(...)
local func, pattern = snax_interface(snax_name, _ENV)
local snax_path = pattern:sub(1,pattern:find("?", 1, true)-... | mit |
n0xus/darkstar | scripts/zones/Windurst_Woods/npcs/Istvan.lua | 38 | 1035 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Istvan
-- Type: ENM Quest Timer
-- @zone: 241
-- @pos 116.294 -6 -98.164
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
--------------... | gpl-3.0 |
Arashbrsh/persian | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Test/testluaform.lua | 3 | 3005 | require "dotnet"
load_assembly("Mscorlib")
load_assembly("System.Windows.Forms")
load_assembly("System.Drawing")
--load_assembly("LuaInterface")
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... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Cloister_of_Flames/mobs/Ifrit_Prime.lua | 18 | 1857 | -----------------------------------------------------
-- Area: Cloister of Flames
-- NPC: Ifrit Prime
-- Involved in Quest: Trial by Fire
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");... | gpl-3.0 |
chengyi818/openwrt | customer/packages/luci/modules/admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua | 96 | 2209 | --[[
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... | gpl-2.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/cgilua/tests/test_main.lua | 3 | 1270 | -- $Id: test_main.lua,v 1.11 2006/01/06 16:33:57 tomas Exp $
cgilua.htmlheader()
cgilua.put[[
<html>
<head><title>Script Lua Test</title></head>
<body>
cgi = {
]]
for i,v in pairs (cgi) do
if type(v) == "table" then
local vv = "{"
for a,b in pairs(v) do
vv = string.format ("%s%s = %s<br>\n", vv, a, tostring(b... | lgpl-3.0 |
p00ria/Iranbot | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Lufaise_Meadows/Zone.lua | 19 | 2868 | -----------------------------------
--
-- Zone: Lufaise_Meadows (24)
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/titles");
require("scripts/globals/conques... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Monastic_Cavern/npcs/qm1.lua | 19 | 1370 | -----------------------------------
-- Area: Monastic Cavern
-- NPC: ???
-- Used In Quest: Whence Blows the Wind
-- @pos 168 -1 -22 150
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
privatesource/Vira_max | plugins/member.lua | 1 | 2875 | 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_name(user)..' ['..user_id..']'
return user... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Northern_San_dOria/npcs/Pala_Korin.lua | 36 | 1428 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pala_Korin
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/ques... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Xarcabard/npcs/qm1.lua | 16 | 1408 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm1 (???)
-- Involved in Quests: The Three Magi (for Boreal Hound)
-- @pos -331 -29 -49 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.