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/Selbina/npcs/Humilitie.lua
39
1459
----------------------------------- -- Area: Selbina -- NPC: Humilitie -- Reports the time remaining before boat arrival. -- @pos 17.979 -2.39 -58.800 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextI...
gpl-3.0
xubigshu/skynet
lualib/socketchannel.lua
11
8178
local skynet = require "skynet" local socket = require "socket" local socketdriver = require "socketdriver" -- channel support auto reconnect , and capture socket error in request/response transaction -- { host = "", port = , auth = function(so) , response = function(so) session, data } local socket_channel = {} loca...
mit
n0xus/darkstar
scripts/zones/Southern_San_dOria/npcs/Aubejart.lua
36
1466
----------------------------------- -- Area: Southern San d'Oria -- NPC: Aubejart -- General Info NPC -- @zone 230 -- @pos 3 -2 46 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
n0xus/darkstar
scripts/zones/The_Shrine_of_RuAvitau/mobs/Defender.lua
29
2626
----------------------------------- -- Area: The Shrine of Ru'Avitau -- MOB: Defender ----------------------------------- ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ----------------------------------- -- onMobSpawn -----------...
gpl-3.0
n0xus/darkstar
scripts/zones/Giddeus/npcs/Uu_Zhoumo.lua
17
1973
----------------------------------- -- Area: Giddeus -- NPC: Uu Zhoumo -- Involved in Mission 2-3 -- @pos -179 16 155 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globa...
gpl-3.0
alirezanile/Ldcxvx
plugins/isup.lua
741
3095
do local socket = require("socket") local cronned = load_from_file('data/isup.lua') local function save_cron(msg, url, delete) local origin = get_receiver(msg) if not cronned[origin] then cronned[origin] = {} end if not delete then table.insert(cronned[origin], url) else for k,v in pairs(cronned[...
gpl-2.0
feiying1460/witi-openwrt
package/ramips/ui/luci-mtk/src/modules/failsafe/luasrc/controller/failsafe/failsafe.lua
35
5206
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-2011 Jo-Philipp Wich <xm@subsignal.org> Copyright 2012 Daniel Golle <dgolle@allnet.de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
gpl-2.0
chengyi818/openwrt
customer/packages/luci/modules/admin-mini/luasrc/controller/mini/system.lua
71
6669
--[[ 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/Inner_Horutoto_Ruins/npcs/_5cb.lua
17
1302
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cb (Gate of Darkness) -- @pos -228 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextI...
gpl-3.0
n0xus/darkstar
scripts/zones/Gusgen_Mines/npcs/Clay.lua
34
1250
----------------------------------- -- Area: Gusgen Mines -- NPC: Clay -- Involved in Quest: A Potter's Preference -- @pos 117 -21 432 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); re...
gpl-3.0
feiying1460/witi-openwrt
package/ramips/ui/luci-mtk/src/protocols/ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua
53
1276
--[[ 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
xxlxx20/DEVKEEPER
plugins/tack.lua
2
1377
--[[ ---admin @llX8Xll --]] local function tagall(cb_extra, success, result) local receiver = cb_extra.receiver local text = '' local msgss = 0 for k,v in pairs(result.members) do if v.username then msgss = msgss + 1 text = text..msgss.."- @"..v.username.."\n" end end te...
gpl-2.0
adamlerer/nn
Normalize.lua
12
2365
local Normalize, parent = torch.class('nn.Normalize', 'nn.Module') function Normalize:__init(p,eps) parent.__init(self) assert(p,'p-norm not provided') assert(p > 0, p..'-norm not supported') self.p = p self.eps = eps or 1e-10 end function Normalize:updateOutput(input) assert(input:dim() <= 2, 'only 1d la...
bsd-3-clause
n0xus/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Shimmering_Circle.lua
17
1745
----------------------------------- -- Area: Chamber of Oracles -- NPC: Shimmering Circle -- @pos -220 0 12 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globa...
gpl-3.0
hamed9898/maxbott
plugins/channels.lua
356
1732
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
n0xus/darkstar
scripts/globals/items/pumpkin_pie.lua
35
1347
----------------------------------------- -- ID: 4446 -- Item: pumpkin_pie -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic 40 -- Agility -1 -- Intelligence 3 -- Charisma -2 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
ozhanf/ozhanf--bot
plugins/service_entergroup.lua
355
3585
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
omidtarh/wezardbot
plugins/service_entergroup.lua
355
3585
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
exceptions.lua
1
1596
local debug, type, error, pcall, require = debug, type, error, pcall, require local Object = require"luv.oop".Object module(...) local property = Object.property local Exception = Object:extend{ __tag = .....".Exception"; msg = property; trace = property; init = function (self, msg, nothrow, depth) self:msg(ms...
bsd-3-clause
n0xus/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Ganemu-Punnemu_WW.lua
30
3069
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Ganemu-Punnemu, W.W. -- Outpost Conquest Guards -- @pos -481.164 -32.858 49.188 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
Primordus/lua-quickcheck
spec/generators/float_spec.lua
2
1592
local random = require 'lqc.random' local float = require 'lqc.generators.float' local r = require 'lqc.report' local property = require 'lqc.property' local lqc = require 'lqc.quickcheck' local function is_float(value) return type(value) == 'number' and value % 1 ~= 0 end -- checks if x is in -1..0 if negative...
mit
n0xus/darkstar
scripts/zones/Dynamis-Qufim/mobs/Goblin_Replica.lua
12
2457
----------------------------------- -- Area: Dynamis qufim -- NPC: Goblin Replica ----------------------------------- package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Qufim/TextIDs"); ------...
gpl-3.0
n0xus/darkstar
scripts/zones/Windurst_Waters/npcs/Dabido-Sorobido.lua
38
1046
----------------------------------- -- Area: Windurst Waters -- NPC: Dabido-Sorobido -- Type: Standard NPC -- @zone: 238 -- @pos -93.586 -4.499 19.321 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ---...
gpl-3.0
n0xus/darkstar
scripts/zones/Bastok_Markets/npcs/Harmodios.lua
34
2101
----------------------------------- -- Area: Bastok Markets -- NPC: Harmodios -- Standard Merchant NPC -- @pos -79.928 -4.824 -135.114 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); req...
gpl-3.0
n0xus/darkstar
scripts/zones/Northern_San_dOria/npcs/Alphollon_C_Meriard.lua
19
3158
----------------------------------- -- Area: Northern San d'Oria -- NPC: Alphollon C Meriard -- Type: Purifies cursed items with their corresponding abjurations. -- @zone: 231 -- @pos 98.108 -1 137.999 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ---------------...
gpl-3.0
n0xus/darkstar
scripts/globals/items/saruta_orange.lua
35
1200
----------------------------------------- -- ID: 4392 -- Item: saruta_orange -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- O...
gpl-3.0
n0xus/darkstar
scripts/zones/Norg/npcs/Gimb.lua
38
1143
----------------------------------- -- Area: Norg -- NPC: Gimb -- Type: Begins the "Sahagin Key Quest" but it doesn't appear in the log. See http://wiki.ffxiclopedia.org/wiki/Sahagin_Key_Quest -- @zone: 252 -- @pos -4.975 -1.975 -44.039 -- ----------------------------------- package.loaded["scripts/zones/Norg/Tex...
gpl-3.0
n0xus/darkstar
scripts/zones/Dynamis-Jeuno/npcs/qm1.lua
17
1233
----------------------------------- -- Area: Dynamis Jeuno -- NPC: ??? (Spawn when mega is defeated) ----------------------------------- package.loaded["scripts/zones/Dynamis-Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Dynamis-Jeuno/Te...
gpl-3.0
rekotc/game-engine-demo
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luasql/tests/performance.lua
6
4952
#!/usr/local/bin/lua -- See Copyright Notice in license.html TOTAL_ROWS = 200 --------------------------------------------------------------------- -- checks for a value and throw an error if it is invalid. --------------------------------------------------------------------- function assert2 (expected, value, msg) ...
lgpl-3.0
n0xus/darkstar
scripts/zones/Dynamis-San_dOria/mobs/Serjeant_Tombstone.lua
12
4932
----------------------------------- -- Area: Dynamis San d'Oria -- NPC: Serjeant Tombstone -- Map1 Position: http://www.dynamislounge.com/html/zone/frame_san1.htm -- Map2 Position: http://www.dynamislounge.com/html/zone/frame_san2.htm ----------------------------------- package.loaded["scripts/zones/Dynamis-San_...
gpl-3.0
n0xus/darkstar
scripts/zones/Windurst_Woods/npcs/Mourices.lua
19
3300
----------------------------------- -- Area: Windurst Woods -- NPC: Mourices -- Involved In Mission: Journey Abroad -- @zone 241 -- @pos -50.646 -0.501 -27.642 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
n0xus/darkstar
scripts/globals/items/serving_of_bass_meuniere_+1.lua
35
1562
----------------------------------------- -- ID: 4346 -- Item: serving_of_bass_meuniere_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 3 -- Dexterity 3 -- Agility 3 -- Mind -3 -- Ranged ACC % 6 -- Ranged ACC Cap 20 ----------------------------------------- requi...
gpl-3.0
xaque208/dotfiles
vim/nvim/lua/user/toggleterm.lua
4
1682
local status_ok, toggleterm = pcall(require, "toggleterm") if not status_ok then return end toggleterm.setup({ size = 20, open_mapping = [[<c-\>]], hide_numbers = true, shade_filetypes = {}, shade_terminals = true, shading_factor = 2, start_in_insert = true, insert_mappings = true, persist_size = true, dire...
mit
ozhanf/ozhanf--bot
plugins/torrent_search.lua
411
1622
--[[ NOT USED DUE TO SSL ERROR -- See https://getstrike.net/api/ local function strike_search(query) local strike_base = 'http://getstrike.net/api/v2/torrents/' local url = strike_base..'search/?phrase='..URL.escape(query) print(url) local b,c = http.request(url) print(b,c) local search = json:decode(b) v...
gpl-2.0
n0xus/darkstar
scripts/zones/Jugner_Forest/npcs/Signpost.lua
24
2848
----------------------------------- -- Area: Jugner Forest -- NPC: Signpost -- Involved in Quest: Grimy Signposts ------------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); ----------------------------------- -- onTrade Action ------------------------...
gpl-3.0
gcheron/optim
test/rosenbrock.lua
14
1390
require 'torch' -- rosenbrock.m This function returns the function value, partial derivatives -- and Hessian of the (general dimension) rosenbrock function, given by: -- -- f(x) = sum_{i=1:D-1} 100*(x(i+1) - x(i)^2)^2 + (1-x(i))^2 -- -- where D is the dimension of x. The true minimum is 0 at x = (1 1 ... 1). -- ...
bsd-3-clause
n0xus/darkstar
scripts/zones/Norg/npcs/Vuliaie.lua
19
1257
----------------------------------- -- Area: Norg -- NPC: Vuliaie -- Type: Tenshodo Merchant -- @pos -24.259 0.891 -19.556 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/sh...
gpl-3.0
dmccuskey/dmc-netstream
dmc_corona/dmc_patch.lua
14
3746
--====================================================================-- -- dmc_corona/dmc_patch.lua -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright (c) 2015 David McCuskey Permission is hereby granted,...
mit
davymai/CN-QulightUI
Interface/AddOns/QulightUI/Addons/Infotext/默认文件/haste.lua
1
1146
if Qulight["general"].centerpanel then if Qulight["datatext"].haste and Qulight["datatext"].haste > 0 then local Stat = CreateFrame("Frame") Stat:SetFrameStrata("BACKGROUND") Stat:SetFrameLevel(3) local Text = RightUpInfoPanel:CreateFontString(nil, "OVERLAY") Text:SetFont(Qulight["media"].font, 10, "OVERLAY") ...
gpl-2.0
Python1320/wire
lua/wire/client/customspawnmenu.lua
8
21543
local PANEL = {} AccessorFunc( PANEL, "m_TabID", "TabID" ) local expand_all = CreateConVar( "wire_tool_menu_expand_all", 0, {FCVAR_ARCHIVE} ) local separate_wire_extras = CreateConVar( "wire_tool_menu_separate_wire_extras", 1, {FCVAR_ARCHIVE} ) local hide_duplicates = CreateConVar( "wire_tool_menu_hide_duplicates...
apache-2.0
n0xus/darkstar
scripts/zones/Jugner_Forest/Zone.lua
27
4245
----------------------------------- -- -- Zone: Jugner_Forest (104) -- ----------------------------------- package.loaded[ "scripts/zones/Jugner_Forest/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Jugner_Forest/TextIDs"); ...
gpl-3.0
chengyi818/openwrt
customer/packages/luci/libs/nixio/docsrc/nixio.Socket.lua
157
6508
--- Socket Object. -- Supports IPv4, IPv6 and UNIX (POSIX only) families. -- @cstyle instance module "nixio.Socket" --- Get the local address of a socket. -- @class function -- @name Socket.getsockname -- @return IP-Address -- @return Port --- Get the peer address of a socket. -- @class function -- @name Socket.getpe...
gpl-2.0
davymai/CN-QulightUI
Interface/AddOns/QulightUI/Addons/UF/Raid/raid.lua
1
35712
RaidBuffs = { DRUID = { {774, "TOPRIGHT", {0.8, 0.4, 0.8}}, -- Rejuvenation {8936, "BOTTOMLEFT", {0.2, 0.8, 0.2}}, -- Regrowth {33763, "TOPLEFT", {0.4, 0.8, 0.2}}, -- Lifebloom {48438, "BOTTOMRIGHT", {0.8, 0.4, 0}}, -- Wild Growth {102342, "LEFT", {0.45, 0.3, 0.2}, true}, -- Ironbark {15577...
gpl-2.0
glycerine/goq
vendor/git.apache.org/thrift.git/lib/lua/Thrift.lua
1
6743
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
bsd-2-clause
davymai/CN-QulightUI
Interface/AddOns/DBM-Naxx/PlagueQuarter/Noth.lua
1
1817
local mod = DBM:NewMod("Noth", "DBM-Naxx", 3) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 112 $"):sub(12, -3)) mod:SetCreatureID(15954) mod:SetEncounterID(1117) mod:SetModelID(16590) mod:RegisterCombat("combat") mod:RegisterEvents( "CHAT_MSG_MONSTER_YELL" ) mod:RegisterEventsInCombat( "SPELL_...
gpl-2.0
henriquegemignani/etherclan-tools
conf.lua
1
1589
function love.conf(t) t.title = "Etherclan Tools" -- The title of the window the game is in (string) t.author = "Henrique Gemignani" -- The author of the game (string) t.url = "https://github.com/henriquegemignani/etherclan-tools" -- The website of the game (string) t.identity = "etherclan-tools...
mit
TotoPeak/https-github.com-diydrones-ardupilot
Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua
182
29665
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
n0xus/darkstar
scripts/zones/Kazham/npcs/Roropp.lua
15
8715
----------------------------------- -- Area: Kazham -- NPC: Roropp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 16.031977, -8.000000, -106.132980, ...
gpl-3.0
davymai/CN-QulightUI
Interface/AddOns/QulightUI/Addons/Infotext/默认文件/Friend.lua
1
14336
-- convert datatext color from rgb decimal to hex local dr, dg, db = unpack(Qulight["datatext"].color) panelcolor = ("|cff%.2x%.2x%.2x"):format(dr * 255, dg * 255, db * 255) -- class color local r, g, b = unpack(Qulight["datatext"].color) qColor = ("|cff%.2x%.2x%.2x"):format(r * 255, g * 255, b * 255) if Qulight["dat...
gpl-2.0
dmccuskey/dmc-netstream
examples/dmc-netstream-basic/dmc_corona_boot.lua
47
15406
--====================================================================-- -- dmc_corona_boot.lua -- -- utility to read in configuration file for dmc-corona-library -- -- Documentation: --====================================================================-- --[[ The MIT License (MIT) Copyright (C) 2013-2015 David Mc...
mit
davymai/CN-QulightUI
Interface/AddOns/DBM-Firelands/localization.kr.lua
1
5909
if GetLocale() ~= "koKR" then return end local L ---------------- -- Beth'tilac -- ---------------- L= DBM:GetModLocalization(192) L:SetOptionLocalization({ RangeFrame = "거리 창 보기(10m)" }) L:SetMiscLocalization({ EmoteSpiderlings = "새끼거미가 둥지에서 쏟아져나옵니다!" }) ------------------- -- Lord Rhyolith -- --------------...
gpl-2.0
mway08/Atlas
lib/proxy/parser.lua
41
6105
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, 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
ppriest/mame
3rdparty/genie/tests/actions/xcode/test_xcode4_project.lua
32
1616
-- -- tests/actions/xcode/test_xcode4_project.lua -- Automated test suite for Xcode project generation. -- Copyright (c) 2011 Jason Perkins and the Premake project -- T.xcode4_project = { } local suite = T.xcode4_project local xcode = premake.xcode ---------------------------------------------------------------...
gpl-2.0
n0xus/darkstar
scripts/zones/Lower_Jeuno/npcs/Alrauverat.lua
28
3246
----------------------------------- -- Area: Lower Jeuno -- NPC:Alrauverat -- @pos -101 0 -182 245 ------------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); requ...
gpl-3.0
n0xus/darkstar
scripts/globals/items/cup_of_choco-delight.lua
35
1167
----------------------------------------- -- ID: 4283 -- Item: cup_of_choco-delight -- Food Effect: 240Min, All Races ----------------------------------------- -- Magic Regen While Healing 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------...
gpl-3.0
n0xus/darkstar
scripts/zones/AlTaieu/npcs/_0x1.lua
17
2004
----------------------------------- -- Area: Al'Taieu -- NPC: Rubious Crystal (South Tower) -- @pos 0 -6.250 -736.912 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts...
gpl-3.0
n0xus/darkstar
scripts/zones/Selbina/npcs/Explorer_Moogle.lua
17
1768
----------------------------------- -- Area: Selbina -- NPC: Explorer Moogle ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/t...
gpl-3.0
n0xus/darkstar
scripts/globals/spells/bluemagic/blood_saber.lua
18
1715
----------------------------------------- -- Spell: Blood Saber -- Steals HP from enemies within range. Ineffective against undead -- Spell cost: 25 MP -- Monster Type: Undead -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 48 -- Casting Time: 4 seconds -- Recast Time...
gpl-3.0
n0xus/darkstar
scripts/zones/Zeruhn_Mines/npcs/Mining_Point.lua
29
1093
----------------------------------- -- Area: Zeruhn Mines -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Zeruhn_Mines/TextIDs"); ----------...
gpl-3.0
misterdustinface/gamelib-common-polyglot
src/engine/sms/strictSubscription_immediateCallback.lua
1
1378
local sms = {} local toNotifyByTag = {} local notifyThoseSubscribedToAllTags, notifyThoseSubscribedToThisTag function sms:subscribe(tag, subscriber) assert(type(subscriber[tag]) == 'function', 'The subscriber must have a member method named: ' .. tostring(tag)) toNotifyByTag[tag] = toNotifyByTag[tag] or {} toNot...
gpl-2.0
mcellos/afrimesh
package-scripts/openwrt/afrimesh/files.provision/www/cgi-bin/provision.lua
5
4062
#!/usr/bin/lua --[[ includes ]]------------------------------------------------------------ require "luarocks.require" require "json" -- http://wiki.openwrt.org/doc/devel/uci-lua package.cpath = package.cpath .. ";/Users/antoine/afrimesh/ext/darwin/lib/lua5.1/?.so" package.cpath = package.cpath .. ";/usr/share/lua/5.1...
bsd-3-clause
n0xus/darkstar
scripts/zones/Kazham/TextIDs.lua
9
1973
-- 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; -- Obtai...
gpl-3.0
erfan01311/supergroups
plugins/boobs.lua
105
12576
local function pre_process(msg) local data = load_data(_config.moderation.data) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Che...
gpl-2.0
davymai/CN-QulightUI
Interface/AddOns/DBM-Core/localization.tw.lua
1
28101
if GetLocale() ~= "zhTW" then return end DBM_CORE_NEED_SUPPORT = "你是否擁有良好的程式開發或語言能力? 如果是的話, DBM團隊真的需要你的幫助以保持成為WOW裡最佳的首領模組。觀看 www.deadlybossmods.com 或發送郵件到 tandanu@deadlybossmods.com 或 nitram@deadlybossmods.com 來加入團隊。" DBM_CORE_NEED_LOGS = "DBM需要Transcriptor (http://www.wowace.com/addons/transcriptor/) 去紀錄測試伺服器...
gpl-2.0
n0xus/darkstar
scripts/zones/Castle_Zvahl_Baileys/npcs/Treasure_Chest.lua
19
3207
----------------------------------- -- Area: Castle Zvahl Baileys -- NPC: Treasure Chest -- @zone 161 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); re...
gpl-3.0
Arashbrsh/lifeiran
plugins/pokedex.lua
626
1668
do local images_enabled = true; local function get_sprite(path) local url = "http://pokeapi.co/"..path print(url) local b,c = http.request(url) local data = json:decode(b) local image = data.image return image end local function callback(extra) send_msg(extra.receiver, extra.text, ok_cb, false) end lo...
gpl-2.0
shayanchabok007/antispamfox
plugins/pokedex.lua
626
1668
do local images_enabled = true; local function get_sprite(path) local url = "http://pokeapi.co/"..path print(url) local b,c = http.request(url) local data = json:decode(b) local image = data.image return image end local function callback(extra) send_msg(extra.receiver, extra.text, ok_cb, false) end lo...
gpl-2.0
n0xus/darkstar
scripts/zones/Horlais_Peak/bcnms/double_dragonian.lua
17
1772
----------------------------------- -- Area: Horlias peak -- Name: double_dragonian -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zones/...
gpl-3.0
rekotc/game-engine-demo
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/xavante/src/xavante/redirecthandler.lua
3
1995
------------------------------------------------------------------------------- -- Xavante redirect handler -- -- Authors: Javier Guerra and Andre Carregal -- Copyright (c) 2004-2007 Kepler Project -- -- $Id: redirecthandler.lua,v 1.11 2008/07/25 18:40:31 mascarenhas Exp $ ----------------------------------------------...
lgpl-3.0
ibrahimlovers/babeleon-bot
plugins/export_gban.lua
82
2310
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-3.0
davymai/CN-QulightUI
Interface/AddOns/DBM-Coliseum/Twins.lua
1
5870
local mod = DBM:NewMod("ValkTwins", "DBM-Coliseum") local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 142 $"):sub(12, -3)) mod:SetCreatureID(34497, 34496) mod:SetEncounterID(1089) mod:SetModelID(29240) mod:SetMinCombatTime(30) mod:SetUsedIcons(5, 6, 7, 8) mod:RegisterCombat("combat") mod:RegisterEven...
gpl-2.0
n0xus/darkstar
scripts/globals/items/burning_claymore.lua
41
1075
----------------------------------------- -- ID: 16929 -- Item: Burning Claymore -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ---------------------------...
gpl-3.0
n0xus/darkstar
scripts/globals/mobskills/Panzerfaust.lua
25
1285
--------------------------------------------- -- Panzerfaust -- -- Description: Strikes a target twice with an armored fist. Additional effect: Knockback -- Type: Physical -- Utsusemi/Blink absorb: 2 shadows -- Range: Melee -- Notes: --------------------------------------------- require("scripts/global...
gpl-3.0
alexandre-mbm/SimTools
RandomWeather/Lua/vstruct/io/z.lua
4
1805
-- null-terminated strings local io = require "vstruct.io" local z = {} function z.width(width, cwidth) return width end -- null terminated string -- w==nil is write string as is + termination -- w>0 is write exactly w bytes, truncating/padding and terminating function z.pack(_, data, width, cwidth) cwidth ...
mit
davymai/CN-QulightUI
Interface/AddOns/DBM-Brawlers/localization.ru.lua
1
4680
if GetLocale() ~= "ruRU" then return end local L -------------- -- Brawlers -- -------------- L= DBM:GetModLocalization("Brawlers") L:SetGeneralLocalization({ name = "Бойцовская гильдия: Общее" }) L:SetWarningLocalization({ warnQueuePosition = "Ваша позиция в очереди: %d", specWarnYourNext = "Вы следующие!", sp...
gpl-2.0
p00ria/Iranbot
plugins/inrealm.lua
287
25005
-- 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
Python1320/wire
lua/wire/stools/sensor.lua
9
2704
WireToolSetup.setCategory( "Detection/Beacon" ) WireToolSetup.open( "sensor", "Beacon Sensor", "gmod_wire_sensor", nil, "Beacon Sensors" ) if ( CLIENT ) then language.Add( "Tool.wire_sensor.name", "Beacon Sensor Tool (Wire)" ) language.Add( "Tool.wire_sensor.desc", "Returns distance and/or bearing to a beacon" ) la...
apache-2.0
n0xus/darkstar
scripts/zones/Port_Bastok/npcs/Jabbar.lua
34
1772
----------------------------------- -- Area: Port Bastok -- NPC: Jabbar -- Type: Tenshodo Merchant -- Involved in Quests: Tenshodo Menbership -- @pos -99.718 -2.299 26.027 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
misterdustinface/gamelib-common-polyglot
src/engine/slang/the-foreach-compound.lua
1
6191
local compound = {} local subscribed = 'SUBSCRIBED' local subscribe = function(tag, subscriber) compound[tag] = compound[tag] or {} compound[tag][subscriber] = subscribed end local subscribe_all_methods_of = function(subscriber) for tag, val in pairs(subscriber) do if type(val) == 'function' then subsc...
gpl-2.0
davymai/CN-QulightUI
Interface/AddOns/DBM-Outlands/Maulgar.lua
1
2302
local mod = DBM:NewMod("Maulgar", "DBM-Outlands") local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 163 $"):sub(12, -3)) mod:SetCreatureID(18831, 18832, 18834, 18835, 18836) mod:SetModelID(18649) mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SPELL_AURA_APPLIED", "SPELL_CAST_START", "SPE...
gpl-2.0
karai17/Peep
LoveFrames/objects/internal/multichoice/multichoicerow.lua
4
4226
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- multichoicerow class local newobject = loveframes.NewObject("multichoicerow", "loveframes_object_multichoicerow", true) ...
mit
davymai/CN-QulightUI
Interface/AddOns/DBM-BastionTwilight/localization.br.lua
1
5679
if GetLocale() ~= "ptBR" then return end local L -------------------------- -- Halfus Wyrmbreaker -- -------------------------- L = DBM:GetModLocalization(156) L:SetOptionLocalization({ ShowDrakeHealth = "Mostrar vida dos dragonetes soltos.<br/>(Requer quadro de vida habilitado)" }) ---------------------------...
gpl-2.0
n0xus/darkstar
scripts/zones/Xarcabard/npcs/Perennial_Snow.lua
51
1649
----------------------------------- -- Area: Xarcabard -- NPC: Perennial Snow -- Involved in Quests: The Circle of Time -- @pos 339 0 -379 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("sc...
gpl-3.0
n0xus/darkstar
scripts/zones/Selbina/npcs/Sleeping_Lizard.lua
34
1087
----------------------------------- -- Area: Selbina -- NPC: Sleeping Lizard -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); ----------------------------------- -- o...
gpl-3.0
ozhanf/ozhanf--bot
plugins/help.lua
337
5009
do function pairsByKeys(t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
tossp/lede-k3
package/lean/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua
7
7240
-- Copyright 2018 Rosy Song <rosysong@rosinson.com> -- Licensed to the public under the Apache License 2.0. local uci = require("luci.model.uci").cursor() local wa = require("luci.tools.webadmin") local fs = require("nixio.fs") local ipc = require("luci.ip") local def_rate_dl = uci:get("nft-qos", "default", "static_r...
gpl-2.0
davymai/CN-QulightUI
Interface/AddOns/QulightUI/Root/Libs/oUF/elements/combat.lua
2
1910
--[[ Element: Combat Icon Toggles the visibility of `self.Combat` based on the player's combat status. Widget Combat - Any UI widget. Notes The default assistant icon will be applied if the UI widget is a texture and doesn't have a texture or color defined. Examples -- Position and size local Combat ...
gpl-2.0
n0xus/darkstar
scripts/zones/Garlaige_Citadel/npcs/_nke.lua
19
2617
----------------------------------- -- Area: Garlaige Citadel -- NPC: Strange Apparatus -- @pos: 255 0 19 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; require("scripts/zones/Garlaige_Citadel/TextIDs"); require("scripts/globals/strangeapparatus"); -----------...
gpl-3.0
Synthetikaryote/masterofzelda
build.lua
1
4191
--[[ how to read this: "-" before something means it will cost points to add to your character (benefits) "+" before something means it will give points to your character build (detriments) ]] build = { { name = "Melee", description = "This enables abilities that affect only melee range.", enabled = true, poi...
mit
mahdidoraj/secretbot
plugins/banhammer.lua
60
11556
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
NicolasLM/spinach
spinach/brokers/redis_scripts/register_periodic_tasks.lua
1
1510
local now = ARGV[1] local periodic_tasks_hash = ARGV[2] local periodic_tasks_queue = ARGV[3] -- tasks to register starting at ARGV[4] local function contains(t, e) return t[e] end local old_task_names = redis.call('hkeys', periodic_tasks_hash) local new_task_names = {} for i=4, #ARGV do local task_json = ARG...
bsd-2-clause
n0xus/darkstar
scripts/globals/spells/bluemagic/magic_hammer.lua
27
1975
----------------------------------------- -- Spell: Magic Hammer -- Steals an amount of enemy's MP equal to damage dealt. Ineffective against undead -- Spell cost: 40 MP -- Monster Type: Beastmen -- Spell Type: Magical (Light) -- Blue Magic Points: 4 -- Stat Bonus: MP-5, MND+2 -- Level: 74 -- Casting Time: 4 s...
gpl-3.0
Python1320/wire
lua/wire/stools/latch.lua
9
3065
WireToolSetup.setCategory( "Physics/Constraints" ) WireToolSetup.open( "latch", "Weld/Constraint Latch", "gmod_wire_latch", nil, "Constraint Latches" ) TOOL.ClientConVar[ "model" ] = "models/jaanus/wiretool/wiretool_siren.mdl" if CLIENT then language.Add( "Tool.wire_latch.name", "Latch Tool (Wire)" ) language...
apache-2.0
metadeus/luv
i18n.lua
1
1599
local dofile, tostring, assert, type, os = dofile, tostring, assert, type, os local require, ipairs, error, debug, io = require, ipairs, error, debug, io local string = require"luv.string" local Object = require"luv.oop".Object local fs = require"luv.fs" module(...) local property = Object.property local I18n = Obje...
bsd-3-clause
n0xus/darkstar
scripts/zones/Port_Jeuno/npcs/Chaka_Skitimah.lua
17
1281
----------------------------------- -- Area: Port Jeuno -- NPC: Chaka Skitimah -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action ----------...
gpl-3.0
davymai/CN-QulightUI
Interface/AddOns/DBM-DragonSoul/localization.tw.lua
1
6148
if GetLocale() ~= "zhTW" then return end local L ------------- -- Morchok -- ------------- L= DBM:GetModLocalization(311) L:SetWarningLocalization({ KohcromWarning = "%s:%s" }) L:SetTimerLocalization({ KohcromCD = "寇魔的%s" }) L:SetOptionLocalization({ KohcromWarning = "為$journal:4262的模仿能力顯示警告。", KohcromCD = ...
gpl-2.0
filipeaneto/magicia-prototype
zoetrope/core/app.lua
2
11216
-- Class: App -- An app is where all the magic happens. :) It contains a -- view, the group where all major action happens, as well as the -- meta view, which persists across views. Only one app may run at -- a time. -- -- An app's job is to get things up and running -- most of its logic -- lives in its onRun handler...
gpl-3.0
n0xus/darkstar
scripts/globals/mobskills/Chains_of_Arrogance.lua
25
1175
--------------------------------------------- -- Chains of Apathy -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/keyitems"); require("scripts/zones/Empyreal_Paradox/TextIDs"); -...
gpl-3.0
mpeterv/luacheck
src/luacheck/lexer.lua
3
19807
local utils = require "luacheck.utils" -- Lexer should support syntax of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT(64bit and complex cdata literals). local lexer = {} local sbyte = string.byte local schar = string.char local sreverse = string.reverse local tconcat = table.concat local mfloor = math.floor -- No point in i...
mit
n0xus/darkstar
scripts/globals/spells/anemohelix.lua
9
1728
-------------------------------------- -- Spell: Anemohelix -- Deals wind damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/...
gpl-3.0