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 |
|---|---|---|---|---|---|
n0xus/darkstar | scripts/zones/Labyrinth_of_Onzozo/Zone.lua | 27 | 1914 | -----------------------------------
--
-- Zone: Labyrinth_of_Onzozo (213)
--
-----------------------------------
package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/... | gpl-3.0 |
n0xus/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm1_5.lua | 19 | 2362 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: Shimmering Circle (BCNM Entrances)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/glob... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Al_Zahbi/npcs/Nudahaal.lua | 53 | 2311 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Nudahaal
-- Type: Bonecraft Normal/Adv. Image Support
-- @pos -57.056 -7 -88.377 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("... | gpl-3.0 |
sini370/telelife | plugins/inrealm.lua | 92 | 25223 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
n0xus/darkstar | scripts/globals/weaponskills/blade_ten.lua | 30 | 1404 | -----------------------------------
-- Blade Ten
-- Katana weapon skill
-- Skill Level: 225
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers: STR:3... | gpl-3.0 |
Ne02ptzero/Grog-Like | Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/permute.lua | 51 | 1574 | --- Permutation operations.
--
-- Dependencies: `pl.utils`, `pl.tablex`
-- @module pl.permute
local tablex = require 'pl.tablex'
local utils = require 'pl.utils'
local copy = tablex.deepcopy
local append = table.insert
local coroutine = coroutine
local resume = coroutine.resume
local assert_arg = utils.assert_arg
loc... | apache-2.0 |
LuaDist2/lua-llthreads2-compat | test/test_join_detach.lua | 8 | 1049 | local llthreads = require"llthreads"
local utils = require "utils"
do
local thread = llthreads.new(utils.thread_init .. [[
local sleep = require"utils".sleep
while true do sleep(1) end
]])
-- detached + joindable
thread:start(true, true)
local ok, err = thread:join(0)
print("thread:join(0): ", ok, err)
asse... | mit |
n0xus/darkstar | scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua | 17 | 2901 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Radeivepart
-- Starts and Finishes Quest: Northward
-- Involved in Quests: Save the Clock Tower
-- @zone 243
-- @pos 5 9 -39
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
package.loaded["sc... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/cheval_salmon.lua | 18 | 1332 | -----------------------------------------
-- ID: 4379
-- Item: cheval_salmon
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
Asmodai/verbuild | src/lua/testes/utf8.lua | 1 | 6795 | -- $Id: testes/utf8.lua $
-- See Copyright Notice in file all.lua
print "testing UTF-8 library"
local utf8 = require'utf8'
local function checkerror (msg, f, ...)
local s, err = pcall(f, ...)
assert(not s and string.find(err, msg))
end
local function len (s)
return #string.gsub(s, "[\x80-\xBF]", "")
end
l... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fochacha.lua | 19 | 2525 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fochacha
-- Type: Standard NPC
-- @pos 2.897 -1 -10.781 50
-- Quest: Delivering the Goods
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
sini370/telelife | plugins/ingroup.lua | 1 | 48933 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Windurst_Woods/npcs/HomePoint#1.lua | 17 | 1263 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#1
-- @pos -98.588 0.001 -183.416 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require(... | gpl-3.0 |
adamlerer/nn | SpatialConvolutionMM.lua | 27 | 3101 | local SpatialConvolutionMM, parent = torch.class('nn.SpatialConvolutionMM', 'nn.Module')
function SpatialConvolutionMM:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.nInputPlane = nInputPlane
self.nOutputPlane = nOutputPlane
self.... | bsd-3-clause |
marziehf/DataAugmentationNMT | src/mon_LanguageModel.lua | 1 | 7184 | require 'torch'
require 'nn'
--require 'trim'
require 'LSTM'
local utils = require 'util.utils'
local LM, parent = torch.class('nn.LanguageModel', 'nn.Module')
function LM:__init(kwargs)
self.idx_to_token = utils.get_kwarg(kwargs, 'idx_to_token')
self.freqs = utils.get_kwarg(kwargs, 'vocabfreq')
print('LM init... | mit |
adamlerer/nn | Linear.lua | 19 | 2755 | local Linear, parent = torch.class('nn.Linear', 'nn.Module')
function Linear:__init(inputSize, outputSize)
parent.__init(self)
self.weight = torch.Tensor(outputSize, inputSize)
self.bias = torch.Tensor(outputSize)
self.gradWeight = torch.Tensor(outputSize, inputSize)
self.gradBias = torch.Tensor(output... | bsd-3-clause |
ppriest/mame | 3rdparty/lsqlite3/examples/order.lua | 7 | 2860 |
require("lsqlite3")
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(40) NOT NULL,
... | gpl-2.0 |
ld-test/lanes | tests/basic.lua | 5 | 13184 | --
-- BASIC.LUA Copyright (c) 2007-08, Asko Kauppi <akauppi@gmail.com>
--
-- Selftests for Lua Lanes
--
-- To do:
-- - ...
--
local lanes = require "lanes".configure{ with_timers = false}
require "assert" -- assert.fails()
local lanes_gen= assert( lanes.gen )
local lanes_linda= assert( lanes.lin... | mit |
n0xus/darkstar | scripts/zones/Windurst_Woods/npcs/Bozack.lua | 38 | 1036 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bozack
-- Type: Event Replayer
-- @zone: 241
-- @pos 92.591 -5.58 -31.529
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Windurst_Woods/npcs/Mocchi_Katsartbih.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mocchi Katsartbih
-- Type: Standard NPC
-- @zone: 241
-- @pos -13.225 -4.888 -164.108
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Ifrits_Cauldron/TextIDs.lua | 6 | 1658 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Ob... | gpl-3.0 |
n0xus/darkstar | scripts/zones/North_Gustaberg/npcs/Waterfall_Base.lua | 34 | 1403 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Waterfall Base
-- Involved In Quest: Drachenfall
-- @pos -217.594 98.644 464.722 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Cavernous_Maw.lua | 29 | 1473 | -----------------------------------
-- Area: Jugner Forest [S]
-- NPC: Cavernous Maw
-- @pos -118 -8 -520 82
-- Teleports Players to Jugner Forest
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Sacrarium/npcs/Small_Keyhole.lua | 24 | 1247 | -----------------------------------
-- NPC: Small Keyhole
-- Area: Sacrarium
-- @pos 99.772 -1.614 51.545 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/TextIDs");
-------------------------... | gpl-3.0 |
niello/deusexmachina | Deps/CEGUI/cegui/src/ScriptModules/Lua/support/tolua++bin/lua/clean.lua | 64 | 1336 | -- mark up comments and strings
STR1 = "\001"
STR2 = "\002"
STR3 = "\003"
STR4 = "\004"
REM = "\005"
ANY = "([\001-\005])"
ESC1 = "\006"
ESC2 = "\007"
MASK = { -- the substitution order is important
{ESC1, "\\'"},
{ESC2, '\\"'},
{STR1, "'"},
{STR2, '"'},
{STR3, "%[%["},
{STR4, "%]%]"},
{REM , "%-%-"},
}
func... | mit |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/mk/samples/hello.lua | 2 | 1427 | #!/usr/bin/env wsapi.cgi
local mk = require "mk"
local request = require "wsapi.request"
local response = require "wsapi.response"
local hello = mk.new()
function hello.index(wsapi_env)
local req, res = request.new(wsapi_env, { mk_app = hello }), response.new()
res:write(hello.render_index(req, res))
return re... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Spear.lua | 16 | 1477 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Spear
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
m4xc4v413r4/m4x-ArtifactBroker | m4x-ArtifactBroker.lua | 1 | 5106 | local dropData = {}
m4xArtifactBrokerDB = m4xArtifactBrokerDB or {}
local ldb = LibStub:GetLibrary("LibDataBroker-1.1")
local dataobj = ldb:NewDataObject("m4xArtifactBroker", {
type = "data source",
icon = "Interface\\Icons\\archaeology_5_0_mogucoin",
label = "AP"
})
local frame = CreateFrame("Frame")
local dropdo... | gpl-3.0 |
adamlerer/nn | StochasticGradient.lua | 65 | 1921 | local StochasticGradient = torch.class('nn.StochasticGradient')
function StochasticGradient:__init(module, criterion)
self.learningRate = 0.01
self.learningRateDecay = 0
self.maxIteration = 25
self.shuffleIndices = true
self.module = module
self.criterion = criterion
self.verbose = true
end
funct... | bsd-3-clause |
n0xus/darkstar | scripts/zones/Stellar_Fulcrum/bcnms/return_to_delkfutts_tower.lua | 17 | 1848 | -----------------------------------
-- Area: Stellar Fulcrum
-- Name: Mission 5-2
-- @pos -520 -4 17 179
-----------------------------------
package.loaded["scripts/zones/Stellar_Fulcrum/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
req... | gpl-3.0 |
sixin-zh/mpiT | BiCNN/optim-msgd.lua | 1 | 1168 | -- MSGD
-- Nesterov's momentum, see e.g. Sutskever et al., ICML 2013
-- Author: Sixin Zhang (zsx@cims.nyu.edu)
require 'optim'
function optim.msgd(opfunc, w, config, state)
local config = config or {}
local state = state or config
local lr = config.lr or 0
local lrd = config.lrd or 0
local lrp = config.lrp ... | apache-2.0 |
coderpunch/evolvemod | lua/evolve/plugins/sh_explode.lua | 1 | 1568 | --[[-----------------------------------------------------------------------------------------------------------------------
Explode a player
-----------------------------------------------------------------------------------------------------------------------]]--
local PLUGIN = {}
PLUGIN.Title = "Explode"
PLUGIN.Des... | apache-2.0 |
pakinjapan/trans-asia | sites/all/modules/cache_warmer/lua/cache_warmer_requests.lua | 6 | 2578 | -- cache_warmer_requests.lua --- Performs the location multi capture
-- to issue the requests in parallel.
-- Copyright (C) 2012 António P. P. Almeida <appa@perusio.net>
-- Author: António P. P. Almeida <appa@perusio.net>
-- Permission is hereby granted, free of charge, to any person ob... | gpl-2.0 |
mrdunk/home_automation_2 | openwrt/tests/test_FlowObjectMqttSubscribe.lua | 1 | 12730 | #!/usr/bin/lua
--DEBUG = true
package.path = package.path .. ';../fs_root/usr/share/homeautomation/?.lua'
require 'os'
require 'file_utils'
json = require 'json'
require 'helper_functions'
mock_mqtt_class = require 'mock_mqtt_class'
mqtt_instance = mock_mqtt_class.new()
mock_control_class = require 'mock_control_cl... | mit |
n0xus/darkstar | scripts/globals/items/bowl_of_medicinal_gruel.lua | 35 | 1505 | -----------------------------------------
-- ID: 4534
-- Item: bowl_of_medicinal_gruel
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 2
-- Ranged Accuracy % 15 (cap 15)
-- HP Recovered While Healing 4
-----------------------------------------
require("scr... | gpl-3.0 |
n0xus/darkstar | scripts/globals/mobskills/Tail_thrust.lua | 18 | 1035 | ---------------------------------------------
-- Tail Thrust
-- Family: Hpemde
-- Description: Strikes a single target with its tail.
-- Type: Physical
-- Utsusemi/Blink absorb: One shadow
-- Range: Unknown
-- Notes: Additional effect - paralyze
---------------------------------------------
require("scr... | gpl-3.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/dns.lua | 85 | 2332 | --[[
Luci statistics - dns plugin diagram definition
Copyright 2011 Manuel Munz <freifunk at somakoma dot 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/license... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Xarcabard/npcs/Kaya_IM.lua | 30 | 3036 | -----------------------------------
-- Area: Xarcabard
-- NPC: Kaya, I.M.
-- Type: Outpost Conquest Guards
-- @pos 207.548 -24.795 -203.694 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require(... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/four-leaf_mandragora_bud.lua | 35 | 1221 | -----------------------------------------
-- ID: 4369
-- Item: four-leaf_mandragora_bud
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -5
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
Python1320/wire | lua/wire/fx_emitter_default.lua | 18 | 2980 | AddCSLuaFile()
local function FX( pos, angle )
local effectdata = EffectData()
effectdata:SetOrigin( pos )
effectdata:SetNormal( angle:Forward() * 2 )
effectdata:SetMagnitude( 1 )
effectdata:SetScale( 1 )
effectdata:SetRadius( 2 )
util.Effect( "Sparks", effectdata )
end
AddFXEmitterEffect( "small_sparks", ... | apache-2.0 |
n0xus/darkstar | scripts/zones/Batallia_Downs/npcs/qm4.lua | 12 | 1621 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm4 (???)
--
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextIDs");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/examples/testxml.lua | 15 | 2125 | -- an example showing 'pl.lexer' doing some serious work.
-- The resulting Lua table is in the same LOM format used by luaexpat.
-- This is (clearly) not a professional XML parser, so don't use it
-- on your homework!
require 'pl'
local append = table.insert
local skipws,expecting = lexer.skipws,lexer.expecting
func... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Norg/npcs/Porter_Moogle.lua | 41 | 1506 | -----------------------------------
-- Area: Norg
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 252
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Norg/TextIDs");
require("scripts/globa... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Port_Bastok/npcs/Argus.lua | 19 | 3427 | -----------------------------------
-- Area: Port Bastok
-- NPC: Argus
-- Type: Mission Giver
-- @pos 132.157 7.496 -2.187 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Lower_Jeuno/npcs/_l01.lua | 36 | 1563 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -101.010 0 -144.080
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Python1320/wire | lua/wire/client/hlzasm/hc_codetree.lua | 18 | 25508 | --------------------------------------------------------------------------------
-- Creates new code tree leaf
function HCOMP:NewLeaf(parentLeaf)
local leaf = {
Opcode = "INVALID", -- Opcode number in this leaf
Operands = {},
ParentLabel = self.CurrentParentLabel,
}
if parentLeaf then
leaf.C... | apache-2.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/lua/pl/init.lua | 3 | 1726 | -- entry point for loading all PL libraries only on demand!
local modules = {
utils = true,path=true,dir=true,tablex=true,stringio=true,sip=true,
input=true,seq=true,lexer=true,stringx=true,
config=true,pretty=true,data=true,func=true,text=true,
operator=true,lapp=true,array2d=true,
comprehension=t... | lgpl-3.0 |
coderpunch/evolvemod | lua/evolve/plugins/sh_freeze.lua | 1 | 2472 | --[[-----------------------------------------------------------------------------------------------------------------------
Freeze a player
-----------------------------------------------------------------------------------------------------------------------]]--
local PLUGIN = {}
PLUGIN.Title = "Freeze"
PLUGIN.Descr... | apache-2.0 |
ppriest/mame | 3rdparty/genie/src/actions/codelite/_codelite.lua | 25 | 1024 | --
-- _codelite.lua
-- Define the CodeLite action(s).
-- Copyright (c) 2008-2009 Jason Perkins and the Premake project
--
premake.codelite = { }
newaction {
trigger = "codelite",
shortname = "CodeLite",
description = "Generate CodeLite project files",
valid_kinds = { "ConsoleApp", "W... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Party-BC/MagistersTerrace/Kael'thas.lua | 1 | 1680 | local mod = DBM:NewMod(533, "DBM-Party-BC", 16, 249)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 526 $"):sub(12, -3))
mod:SetCreatureID(24664)
mod:SetModelID(22906)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_CAST_SUCCESS",
"CHAT_MSG_MONSTER_YELL",
"SP... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e7.lua | 17 | 1389 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Left) - Mea
-- @pos 269 -81 -39 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
requir... | gpl-3.0 |
Python1320/wire | lua/wire/client/e2helper.lua | 10 | 14185 | --[[
Expression 2 Helper for Expression 2
-HP- (and tomylobo, though he breaks a lot ^^) Divran made CPU support
]] --
E2Helper = {}
local E2Helper = E2Helper -- faster access
E2Helper.Descriptions = {}
include("e2descriptions.lua")
-------------------------------
---- CPU support
E2Helper.CPUDescriptions = {}
E... | apache-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-AQ40/Viscidus.lua | 1 | 1926 | local mod = DBM:NewMod("Viscidus", "DBM-AQ40", 1)
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 538 $"):sub(12, -3))
mod:SetCreatureID(15299)
mod:SetModelID(15686)
mod:SetMinSyncRevision(428)
mod:RegisterCombat("combat")
mod:RegisterEvents(
"CHAT_MSG_MONSTER_EMOTE"
)
local warnFreeze = mod:New... | gpl-2.0 |
n0xus/darkstar | scripts/globals/weaponskills/final_heaven.lua | 18 | 2339 | -------------------------------
-- Auth : Thief
-- Skill: Final Heaven
-- Class: H2H Weapon Skill
-- Level: MNK Relic Only
-- Mods : VIT:60%
-- 100%TP 200%TP 300%TP
-- 3.0x 3.0x 3.0x
-- Caestus/Spharai: Temporarily enhances Subtle Blow effect. * +10 Subtle Blow for a short duration after using the weapon ski... | gpl-3.0 |
imashiam/new | plugins/admin.lua | 381 | 7085 | 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/Bastok_Markets/npcs/Carmelide.lua | 36 | 1551 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Carmelide
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
requir... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Cloister_of_Flames/bcnms/trial_by_fire.lua | 19 | 1773 | -----------------------------------
-- Area: Cloister of Flames
-- BCNM: Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/handful_of_bloody_chocolate.lua | 35 | 1173 | -----------------------------------------
-- ID: 5646
-- Item: handful_of_bloody_chocolate
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Oldton_Movalpolos/TextIDs.lua | 9 | 1146 | -- 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/zones/Windurst_Waters/npcs/Aramu-Paramu.lua | 36 | 1648 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Aramu-Paramu
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -63 -4 27
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/bluemagic/blood_drain.lua | 18 | 1704 | -----------------------------------------
-- Spell: Blood Drain
-- Steals an enemy's HP. Ineffective against undead
-- Spell cost: 10 MP
-- Monster Type: Giant Bats
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 20
-- Casting Time: 4 seconds
-- Recast Time: 90 second... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Chateau_dOraguille/npcs/Chalvatot.lua | 19 | 4404 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Chalvatot
-- Finish Mission "The Crystal Spring"
-- Start & Finishes Quests: Her Majesty's Garden
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -105 0.1 72 233
-----------------------------------
package.loaded["scripts/zones/Cha... | gpl-3.0 |
jwngr/rusticcitrus | corona_rc/scoreboard.lua | 1 | 13027 | -----------------------------------------------------------------------------------------
--
-- scoreboard.lua
--
-----------------------------------------------------------------------------------------
-- Include the necessary modules
local storyboard = require("storyboard")
local widget = require("widget")
local fa... | mit |
xennygrimmato/nmt | src/OpenNMT/onmt/modules/Decoder.lua | 6 | 20308 | --[[ Unit to decode a sequence of output tokens.
. . . .
| | | |
h_1 => h_2 => h_3 => ... => h_n
| | | |
. . . .
| | | |
h_1 => h_2 => h_3 => ... => h_n
| | | ... | lgpl-3.0 |
n0xus/darkstar | scripts/globals/weaponskills/empyreal_arrow.lua | 30 | 1517 | -----------------------------------
-- Empyreal Arrow
-- Archery weapon skill
-- Skill level: 250
-- In order to obtain Empyreal Arrow, the quest From Saplings Grow must be completed.
-- Delivers a single-hit attack. Damage varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flam... | gpl-3.0 |
Python1320/wire | lua/wire/client/hlzasm/hc_expression.lua | 3 | 34870 | --------------------------------------------------------------------------------
-- HCOMP / HL-ZASM compiler
--
-- Dynamic and constant expression generator
--------------------------------------------------------------------------------
------------------------------------------------------------------------------... | apache-2.0 |
ld-test/lanes | tests/cyclic.lua | 7 | 1382 | --
-- CYCLIC.LUA
--
-- Test program for Lua Lanes
--
local lanes = require "lanes"
lanes.configure()
local table_concat= assert(table.concat)
local function WR(str,...)
for i=1,select('#',...) do
str= str.."\t"..tostring( select(i,...) )
end
io.stderr:write( str..'\n' )
end
local function same(k... | mit |
davymai/CN-QulightUI | Interface/AddOns/FriendListColors/libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.lua | 42 | 23498 | --- AceConfigCmd-3.0 handles access to an options table through the "command line" interface via the ChatFrames.
-- @class file
-- @name AceConfigCmd-3.0
-- @release $Id: AceConfigCmd-3.0.lua 1045 2011-12-09 17:58:40Z nevcairiel $
--[[
AceConfigCmd-3.0
Handles commandline optionstable access
REQUIRES: AceConsole-3.0... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/Broker_Garrison/Libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.lua | 42 | 23498 | --- AceConfigCmd-3.0 handles access to an options table through the "command line" interface via the ChatFrames.
-- @class file
-- @name AceConfigCmd-3.0
-- @release $Id: AceConfigCmd-3.0.lua 1045 2011-12-09 17:58:40Z nevcairiel $
--[[
AceConfigCmd-3.0
Handles commandline optionstable access
REQUIRES: AceConsole-3.0... | gpl-2.0 |
Python1320/wire | lua/wire/stools/cd_ray.lua | 9 | 2568 | WireToolSetup.setCategory( "Memory" )
WireToolSetup.open( "cd_ray", "CD Ray", "gmod_wire_cd_ray", nil, "CD Rays" )
if ( CLIENT ) then
language.Add( "Tool.wire_cd_ray.name", "CD Ray Tool (Wire)" )
language.Add( "Tool.wire_cd_ray.desc", "Spawns a CD Ray." )
language.Add( "Tool.wire_cd_ray.0", "Primary: Creat... | apache-2.0 |
n0xus/darkstar | scripts/globals/weaponskills/spirit_taker.lua | 30 | 1443 | -----------------------------------
-- Spirit Taker
-- Staff weapon skill
-- Skill Level: 215
-- Converts damage dealt to own MP. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties.
-- It is a physi... | gpl-3.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/contrib/luasrcdiet/lua/lparser.lua | 122 | 41820 | --[[--------------------------------------------------------------------
lparser.lua: Lua 5.1 parser in Lua
This file is part of LuaSrcDiet, based on Yueliang material.
Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net>
The COPYRIGHT file describes the conditions
under which this software may be distribu... | gpl-2.0 |
ppriest/mame | 3rdparty/genie/tests/actions/vstudio/test_vs200x_vcproj.lua | 45 | 14736 | --
-- tests/test_vs200x_vcproj.lua
-- Automated test suite for Visual Studio 2002-2008 C/C++ project generation.
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
T.vs200x_vcproj = { }
local suite = T.vs200x_vcproj
local vc200x = premake.vstudio.vc200x
--
-- Configure a solution for testing
--
... | gpl-2.0 |
bungle/lua-resty-coolprop | lib/resty/coolprop.lua | 1 | 4886 | local ffi = require "ffi"
local ffi_new = ffi.new
local ffi_str = ffi.string
local ffi_load = ffi.load
local ffi_cdef = ffi.cdef
local ffi_typeof = ffi.typeof
local huge = math.huge
ffi_cdef[[
double Props1SI(const char *FluidName, const char* Output);
double PropsSI(const char *Output, const ch... | bsd-2-clause |
n0xus/darkstar | scripts/globals/mobskills/Tail_Slap.lua | 13 | 1110 | ---------------------------------------------
-- Tail Slap
--
-- Description: Delivers an area attack. Additional effect: "Stun." Damage varies with TP.
-- Type: Physical (Blunt)
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("s... | gpl-3.0 |
Azmaedus/GarrisonJukeBox | libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 25 | 6806 | --[[-----------------------------------------------------------------------------
Keybinding Widget
Set Keybindings in the Config UI.
-------------------------------------------------------------------------------]]
local Type, Version = "Keybinding", 25
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not Ace... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua | 80 | 10048 | --[[
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
ht... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Serpentshrine/localization.cn.lua | 1 | 5297 | if GetLocale() ~= "zhCN" then return end
local L
---------------------------
-- Hydross the Unstable --
---------------------------
L = DBM:GetModLocalization("Hydross")
L:SetGeneralLocalization{
name = "不稳定的海度斯"
}
L:SetWarningLocalization{
WarnMark = "%s : %s",
WarnPhase = "%s Phase",--Translate
SpecWarnMar... | gpl-2.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/wxLua/samples/luamodule.wx.lua | 4 | 1754 | -----------------------------------------------------------------------------
-- Name: luamodule.wx.lua
-- Purpose: Minimal wxLua sample for use as a lua module using require
-- Author: John Labenski
-- Modified by:
-- Created: 05/13/2006
-- RCS-ID:
-- Copyright: (c) 2001 John Labenski. All rights... | lgpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/QulightUI/Root/TimeTracker.lua | 1 | 1086 | local function SkinIt(bar)
local _, originalPoint, _, _, _ = bar:GetPoint()
bar:ClearAllPoints()
bar:SetPoint("TOPLEFT", originalPoint, "TOPLEFT", 2, -2)
bar:SetPoint("BOTTOMRIGHT", originalPoint, "BOTTOMRIGHT", -2, 2)
for i=1, bar:GetNumRegions() do
local region = select(i, bar:GetRegions())
if region:G... | gpl-2.0 |
adamjedlicka/ForgeUI | ForgeUI_ActionBars/ForgeUI_ActionBars.lua | 1 | 21679 | require "Window"
require "AbilityBook"
require "GameLib"
require "PlayerPathLib"
require "Tooltip"
require "Unit"
-----------------------------------------------------------------------------------------------
-- ForgeUI_ActionBars Module Definition
--------------------------------------------------------------------... | mit |
n0xus/darkstar | scripts/zones/Selbina/npcs/Bretta.lua | 34 | 1105 | -----------------------------------
-- Area: Selbina
-- NPC: Bretta
-- @zone
-- @pos
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Actio... | gpl-3.0 |
coderpunch/evolvemod | lua/evolve/plugins/sh_frags.lua | 1 | 1430 | --[[-----------------------------------------------------------------------------------------------------------------------
Set the frags of a player
-----------------------------------------------------------------------------------------------------------------------]]--
local PLUGIN = {}
PLUGIN.Title = "Frags"
PLU... | apache-2.0 |
n0xus/darkstar | scripts/globals/items/melon_snowcone.lua | 39 | 1207 | -----------------------------------------
-- ID: 5712
-- Item: Melon Snowcone
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- MP % 10 Cap 200
-- HP Healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Southern_San_dOria/npcs/Sobane.lua | 17 | 3925 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Sobane
-- Starts and Finishes Quest: Signed in Blood
-- Involved in quest: Sharpening the Sword, Riding on the Clouds
-- @zone 230
-- @pos -190 -3 97
-- csid: 0x0034 0x02dc 0x02dd 0x02de 0x02df 0x02e0 0x02e1 0x02e2 0x02e3 0x02e4 ... | gpl-3.0 |
n0xus/darkstar | scripts/zones/South_Gustaberg/MobIDs.lua | 36 | 1267 | -----------------------------------
-- Area: South Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Leaping Lizzy
Leaping_Lizzy=17215888;
Leaping_Lizzy_PH={
[17215864] = '1', -- -228.159, 18.045, -411.726
[17215863] = '1', -- -260... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Metalworks/npcs/HomePoint#1.lua | 17 | 1240 | -----------------------------------
-- Area: Metalworks
-- NPC: HomePoint#1
-- @pos: 46 -14 -19 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Metalworks/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
rekotc/game-engine-demo | Assets/Scripts/PreInit.lua | 4 | 11203 | --========================================================================
-- PreInit.lua : Script that's run when the scripting system is initialized
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - 4th E... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Crawlers_Nest/npcs/qm11.lua | 57 | 2120 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm11 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- @pos 98.081 -38.75 -181.198 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/Broker_Garrison/Libs/LibStub/LibStub.lua | 92 | 2200 | -- $Id: LibStub.lua 103 2014-10-16 03:02:50Z mikk $
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/addons/libstub/ for more info
-- LibStub is hereby placed in the Public Domain
-- Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LI... | gpl-2.0 |
m4xc4v413r4/m4x-ArtifactBroker | Libs/LibStub/LibStub.lua | 92 | 2200 | -- $Id: LibStub.lua 103 2014-10-16 03:02:50Z mikk $
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/addons/libstub/ for more info
-- LibStub is hereby placed in the Public Domain
-- Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LI... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Castle_Zvahl_Keep/Zone.lua | 28 | 4006 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep (162)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep/TextIDs");
------... | gpl-3.0 |
n0xus/darkstar | scripts/globals/mobskills/Venom.lua | 21 | 1040 | ---------------------------------------------
-- Venom
--
-- Description: Deals damage in a fan shaped area. Additional effect: poison
-- Type: Magical Water
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' cone
-- Notes: Additional effect can be removed with Poisona.
------------------------------... | gpl-3.0 |
niello/deusexmachina | Deps/CEGUI/cegui/src/ScriptModules/Lua/support/tolua++bin/lua/declaration.lua | 15 | 14464 | -- tolua: declaration 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,
-- enhancemen... | mit |
ppriest/mame | 3rdparty/genie/src/actions/xcode/xcode_common.lua | 1 | 28675 | --
-- xcode_common.lua
-- Functions to generate the different sections of an Xcode project.
-- Copyright (c) 2009-2011 Jason Perkins and the Premake project
--
premake.xcode.parameters = { }
local xcode = premake.xcode
local tree = premake.tree
--
-- Return the Xcode build category for a given file, based on the fi... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua | 36 | 15568 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
htt... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua | 78 | 1245 | --[[
Luci configuration model for statistics - collectd irq 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 License a... | gpl-2.0 |
n0xus/darkstar | scripts/globals/items/bunch_of_gysahl_greens.lua | 18 | 1508 | -----------------------------------------
-- ID: 4545
-- Item: Bunch of Gysahl Greens
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility +3
-- Vitality -5
-- Additional Effect with Chocobo Shirt
-- Agility +10
-----------------------------------------
require("scripts/globals/status")... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Port_Windurst/npcs/Yaman-Hachuman.lua | 19 | 1715 | -----------------------------------
-- Area: Port Windurst
-- NPC: Yaman-Hachuman
-- Type: Standard NPC
-- Involved in Quests: Wonder Wands
-- @pos -101.209 -4.25 110.886 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
n0xus/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua | 17 | 1895 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: _0z0
-----------------------------------
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.