repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c19454006.lua
2
2593
--Exploiter of Eternity - Adran function c19454006.initial_effect(c) --Indes. Battle local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_INDESTRUCTABLE_COUNT) e1:SetCountLimit(1) e1:SetValue(c19454006.valcon) c:Re...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/DBM-MogushanVaults/localization.tw.lua
1
2937
if GetLocale() ~= "zhTW" then return end local L ------------ -- The Stone Guard -- ------------ L = DBM:GetModLocalization(679) L:SetWarningLocalization({ SpecWarnOverloadSoon = "%s即將超載!", specWarnBreakJasperChains = "扯斷碧玉鎖鏈!" }) L:SetOptionLocalization({ SpecWarnOverloadSoon = "為即將超載顯示特別警告", specWarnBreakJa...
gpl-3.0
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c99950100.lua
2
7406
--MSMM - Sakura Kyouko function c99950100.initial_effect(c) c:EnableReviveLimit() --Spell Zone local e1=Effect.CreateEffect(c) e1:SetCode(EFFECT_SEND_REPLACE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_MZONE) ...
gpl-3.0
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c80280739.lua
2
1873
--Buster Mode (Exclusive) function c80280739.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_DRAW_PHASE+TIMING_END_PHASE) e1:SetCost(c80280739.cost) e1:SetTarget(c80280739...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/ElvUI/Core/General/Tags.lua
1
72497
local E, L, V, P, G = unpack(ElvUI) local NP = E:GetModule('NamePlates') local ElvUF = E.oUF local Tags = ElvUF.Tags local LCS = E.Libs.LCS local RangeCheck = E.Libs.RangeCheck local Translit = E.Libs.Translit local translitMark = '!' local _G = _G local next, type, gmatch, gsub, format = next, type, gmatch, gsub, fo...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/MeetingStone/Widget/OperationGrid.lua
1
3795
BuildEnv(...) local OperationGrid = Addon:NewClass('OperationGrid', GUI:GetClass('DataGridViewGridItem')) function OperationGrid:Constructor() local function ButtonOnClick(object) self:SetSpinner(true) self:GetParent():FireHandler(object.Handler) end local InviteButton = CreateFrame('But...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/DBM-SiegeOfOrgrimmarV2/GarroshHellscream.lua
1
20953
local mod = DBM:NewMod(869, "DBM-SiegeOfOrgrimmarV2", nil, 369) local L = mod:GetLocalizedStrings() mod:SetRevision("20220516021321") mod:SetCreatureID(71865) mod:SetEncounterID(1623) mod:SetUsedIcons(8, 7, 6, 5, 4, 3, 2, 1) mod:SetHotfixNoticeRev(20210902000000) mod:RegisterCombat("combat") mod:RegisterEvents( "C...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/ElvUI/Libraries/TBC/LibQuestXP/LibQuestXP.lua
1
2063
local MAJOR, MINOR = "LibQuestXP-1.0", 7 local LibQuestXP = LibStub:NewLibrary(MAJOR, MINOR) if _G.WOW_PROJECT_ID == _G.WOW_PROJECT_MAINLINE then return -- Don't load for Retail end if not LibQuestXP then return -- already loaded and no upgrade necessary end local selectedQuestLogIndex = nil local function ...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/ElvUI/Wrath/Modules/Skins/Inspect.lua
1
5354
local E, L, V, P, G = unpack(ElvUI) local S = E:GetModule('Skins') local _G = _G local ipairs, unpack, select = ipairs, unpack, select local GetInventoryItemID = GetInventoryItemID local GetItemQualityColor = GetItemQualityColor local GetItemInfo = GetItemInfo local hooksecurefunc = hooksecurefunc local MAX_ARENA_TE...
gpl-3.0
Markismus/koreader
frontend/ui/elements/screen_rotation_menu_table.lua
4
7361
local Device = require("device") local Event = require("ui/event") local FileManager = require("apps/filemanager/filemanager") local UIManager = require("ui/uimanager") local _ = require("gettext") local C_ = _.pgettext local Screen = Device.screen return { text = _("Rotation"), sub_item_table_func = function(...
agpl-3.0
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c37567645.lua
2
2605
--Predator Plant Golem Moss function c37567645.initial_effect(c) --TO HAND local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(37567645,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCountLimit(1) e1:SetCode(EVENT_BATTLED) e1:SetCondition(c37567645.atco...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/!KalielsTracker/Libs/AceGUI-3.0-SharedMediaWidgets/BorderWidget.lua
7
6532
-- Widget is based on the AceGUIWidget-DropDown.lua supplied with AceGUI-3.0 -- Widget created by Yssaril local AceGUI = LibStub("AceGUI-3.0") local Media = LibStub("LibSharedMedia-3.0") local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0") do local widgetType = "LSM30_Border" local widgetVersion = 13 local cont...
gpl-3.0
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c70649947.lua
2
1562
--Blessing from the Emperor function c70649947.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c70649947.condition) e1:SetTarget(c70649947.target) ...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/DBM-BastionTwilight/BoTTrash.lua
1
3279
local mod = DBM:NewMod("BoTrash", "DBM-BastionTwilight") local L = mod:GetLocalizedStrings() mod:SetRevision("20200806141910") mod:SetModelID(37193) mod.isTrashMod = true mod:RegisterEvents( "SPELL_CAST_SUCCESS", "SPELL_AURA_APPLIED", "SPELL_AURA_REMOVED", "SPELL_CAST_START" ) local warnVolcanicWrath = mod:New...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/DBM-TombofSargeras/Goroth.lua
1
8821
local mod = DBM:NewMod(1862, "DBM-TombofSargeras", nil, 875) local L = mod:GetLocalizedStrings() mod:SetRevision("20220116041824") mod:SetCreatureID(115844) mod:SetEncounterID(2032) --mod:SetUsedIcons(1) mod:SetHotfixNoticeRev(16280) mod.respawnTime = 14 mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SP...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/WindDungeonHelper/Libraries/Ace3/AceHook-3.0/AceHook-3.0.lua
6
18848
--- **AceHook-3.0** offers safe Hooking/Unhooking of functions, methods and frame scripts. -- Using AceHook-3.0 is recommended when you need to unhook your hooks again, so the hook chain isn't broken -- when you manually restore the original function. -- -- **AceHook-3.0** can be embeded into your addon, either explici...
gpl-3.0
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c101600001.lua
2
2121
--Last Stand of "C" function c101600001.initial_effect(c) --pendulum summon aux.AddPendulumProcedure(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --splimit local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetC...
gpl-3.0
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c344000061.lua
2
1550
function c344000061.initial_effect(c) local e3=Effect.CreateEffect(c) e3:SetDescription(aux.Stringid(344000061,0)) e3:SetCategory(CATEGORY_DAMAGE) e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e3:SetType(EFFECT_TYPE_IGNITION) e3:SetRange(LOCATION_MZONE) e3:SetCountLimit(1,344000061) e3:SetCost(c344000061.damcost) ...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/Details/Libs/DF/button.lua
2
31078
local DF = _G["DetailsFramework"] if (not DF or not DetailsFrameworkCanLoad) then return end local _ local emptyFunction = function() end local APIButtonFunctions = false do local metaPrototype = { WidgetType = "button", dversion = DF.dversion } --check if there's a metaPrototype already existing if (_G[D...
gpl-3.0
githubmereza/robotan
bot/utils.lua
23
23874
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
qyh214/wow_addons_private_use
AddOns/BtWLoadouts/Characters.lua
1
1041766
--[[ Character data handling ]] local _, Internal = ...; local UnitSex = UnitSex local UnitRace = UnitRace local UnitClass = UnitClass local UnitFullName = UnitFullName local GetRealmName = GetRealmName local GetClassInfo = GetClassInfo local GetNumClasses = GetNumClasses local GetTalentInfoByID = GetTalentInfoBy...
gpl-3.0
bradparks/hammerspoon
extensions/hints/init.lua
8
8495
--- === hs.hints === --- --- Switch focus with a transient per-application keyboard shortcut local hints = require "hs.hints.internal" local screen = require "hs.screen" local window = require "hs.window" local hotkey = require "hs.hotkey" local modal_hotkey = hotkey.modal --- hs.hints.hintChars --- Variable --- This...
mit
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c34858543.lua
2
1646
--Void Avatar 2 function c34858543.initial_effect(c) c:SetUniqueOnField(1,0,34858543) --pendulum summon aux.EnablePendulumAttribute(c) --Protect Effect Destroy local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT) e2:SetRange(LOCATION_PZONE) e2:SetTargetRang...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/DBM-Party-BfA/Mechagon/KingMechagon.lua
1
6435
local mod = DBM:NewMod(2331, "DBM-Party-BfA", 11, 1178) local L = mod:GetLocalizedStrings() mod:SetRevision("20220903201813") mod:SetCreatureID(150396, 144249, 150397) mod:SetEncounterID(2260) mod:SetBossHPInfoToHighest() mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SPELL_CAST_START 291865 291928 2922...
gpl-3.0
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c512000081.lua
2
3254
--Thorn Princess function c512000081.initial_effect(c) c:EnableReviveLimit() --spsummon limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(c512000081.splimit) c:RegisterEffect(e1...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/ElvUI/Mainline/Modules/Skins/ChatConfig.lua
1
8035
local E, L, V, P, G = unpack(ElvUI) local S = E:GetModule('Skins') local _G = _G local ipairs, pairs, next = ipairs, pairs, next local FCF_GetCurrentChatFrame = FCF_GetCurrentChatFrame local hooksecurefunc = hooksecurefunc local function ReskinPickerOptions(self) local scrollTarget = self.ScrollBox.ScrollTarget if...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/DBM-Party-MoP/Scholomance/DarkmasterGandling.lua
1
1281
local mod = DBM:NewMod(684, "DBM-Party-MoP", 7, 246) local L = mod:GetLocalizedStrings() mod.statTypes = "normal,heroic,challenge,timewalker" mod:SetRevision("20211021191526") mod:SetCreatureID(59080) mod:SetEncounterID(1430) mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SPELL_AURA_APPLIED 113143", "...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/WeakAuras/Locales/ruRU.lua
1
88405
if GetLocale() ~= "ruRU" then return end local L = WeakAuras.L -- WeakAuras L[ [=[ Filter formats: 'Name', 'Name-Realm', '-Realm'. Supports multiple entries, separated by commas Can use \ to escape -.]=] ] = [=[Формат записи: Имя, Имя-Игровой мир, -Игровой мир. Можно указать несколько значений, разделенных запят...
gpl-3.0
RisingPhoenixYGOPRO/YGOPro-Custom-Cards
script/c66666607.lua
2
2868
--Aetherius function c66666607.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atkup local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_UPDATE_ATTACK) e2:SetRange(LOCATION_FZONE) e2:...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/MeetingStone/Libs/NetEaseGUI-2.0/NetEaseGUI.lua
1
2195
local GUI = LibStub:NewLibrary('NetEaseGUI-2.0', 3) if not GUI then return end local Class = LibStub('LibClass-2.0') GUI._EmbedTargets = GUI._EmbedTargets or {} GUI._Classes = GUI._Classes or {} GUI._ClassVersions = GUI._ClassVersions or {} local _Classes = GUI._Classes local _ClassVersions = GUI._ClassVersions...
gpl-3.0
Markismus/koreader
plugins/newsdownloader.koplugin/internaldownloadbackend.lua
5
1755
local http = require("socket.http") local https = require("ssl.https") local logger = require("logger") local ltn12 = require("ltn12") local socket = require('socket') local socket_url = require("socket.url") local InternalDownloadBackend = {} local max_redirects = 5; --prevent infinite redirects function InternalDow...
agpl-3.0
qyh214/wow_addons_private_use
AddOns/ElvUI_OptionsUI/ActionBars.lua
1
39283
local E, _, V, P, G = unpack(ElvUI) local C, L = unpack(E.OptionsUI) local AB = E:GetModule('ActionBars') local ACH = E.Libs.ACH local _G = _G local pairs = pairs local ipairs = ipairs local format = format local SetCVar = SetCVar local CopyTable = CopyTable local GameTooltip = GameTooltip local GetCVarBool = GetCVarB...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/DBM-Party-Classic/SunkenTemple/ShadeofEranikus.lua
1
1320
local mod = DBM:NewMod(463, "DBM-Party-Classic", 12, 237) local L = mod:GetLocalizedStrings() mod:SetRevision("20220116042005") mod:SetCreatureID(5709) mod:SetEncounterID(493) mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SPELL_CAST_SUCCESS 12890 12533 24375", "SPELL_AURA_APPLIED 12890" ) local warni...
gpl-3.0
qyh214/wow_addons_private_use
AddOns/ElvUI/Core/Modules/DataTexts/PrimaryStat.lua
1
1081
local E, L, V, P, G = unpack(ElvUI) local DT = E:GetModule('DataTexts') local _G = _G local strjoin = strjoin local UnitStat = UnitStat local GetSpecialization = GetSpecialization local STAT_CATEGORY_ATTRIBUTES = STAT_CATEGORY_ATTRIBUTES local PRIMARY_STAT = SPEC_FRAME_PRIMARY_STAT:gsub('[::%s]-%%s$','') local display...
gpl-3.0
kjl2y/darkstar
scripts/zones/Windurst_Woods/npcs/Mocchi_Katsartbih.lua
13
1063
----------------------------------- -- 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
Igdra/darkstar
scripts/globals/porter_moogle_util.lua
22
27592
----------------------------------- -- Porter Moogle Utilities -- desc: Common functionality for Porter Moogles. ----------------------------------- require("scripts/globals/common"); -- Item IDs for all of the slips. local slipIds = { 29312, 29313, 29314, 29315, 29316, 29317, 29318, 29319, 29320, 29321, 29322, 29323,...
gpl-3.0
Igdra/darkstar
scripts/globals/items/bowl_of_emerald_soup.lua
18
1378
----------------------------------------- -- ID: 4327 -- Item: Bowl of Emerald Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -1 -- Health Regen While Healing 3 -- Ranged ACC 6 ----------------------------------------- require("scripts/globals/status"); -----...
gpl-3.0
Zet0rz/nzombies
lua/nzmapscripts/mechanics_test.lua
2
4799
local script = {} -- Create the table in which to add functions to local shieldparts = { [1] = { -- Fence {pos = Vector(850, -35, -140), ang = Angle(0,0,0)} }, [2] = { -- Radiator {pos = Vector(850, -235, -140), ang = Angle(0,0,0)} }, [3] = { -- Posts {pos = Vector(850, -435, -140), ang = Angle(0,0,0)} } }...
gpl-3.0
kjl2y/darkstar
scripts/globals/items/rolanberry.lua
18
1176
----------------------------------------- -- ID: 4365 -- Item: rolanberry -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -4 -- Intelligence 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0
Igdra/darkstar
scripts/globals/items/gold_carp.lua
18
1316
----------------------------------------- -- ID: 4427 -- Item: gold_carp -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------...
gpl-3.0
Igdra/darkstar
scripts/globals/items/plate_of_mushroom_paella.lua
18
1454
----------------------------------------- -- ID: 5970 -- Item: Plate of Mushroom Paella -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- HP 40 -- Strength -1 -- Mind 5 -- Magic Accuracy 5 -- Undead Killer 5 ----------------------------------------- require("scripts/globals/status"); -----...
gpl-3.0
pavel-pimenov/eiskaltdcpp
data/luascripts/kml_geoip.lua
1
5698
kml_geoip = {} function kml_geoip.find_record(ip_addr) local offset = 0 local mask = 2147483648 -- 1<<31 local depth = 31 local record_length = 3 local x repeat local branch_offset if ip_addr > mask then -- Take the right-hand branch ip_addr = ip_addr - mask branch_offset = record_length else ...
gpl-3.0
kjl2y/darkstar
scripts/zones/Nashmau/npcs/Leleroon.lua
13
3158
----------------------------------- -- Area: Nashmau -- NPC: Leleroon -- Standard Info NPC -- Corsair SideQuests -- @pos -14.687 0.000 25.114 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); requi...
gpl-3.0
Igdra/darkstar
scripts/zones/Valkurm_Dunes/npcs/Cavernous_Maw.lua
58
1887
----------------------------------- -- Area: Valkurm Dunes -- NPC: Cavernous Maw -- @pos 368.980, -0.443, -119.874 103 -- Teleports Players to Abyssea Misareaux ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
cracingbozo7/simply-unproffesional
Themes/Simply Unprofessional 5.2/BGAnimations/ScreenUnlock background.lua
2
1687
local function UnlockSomeStuffMaybe(text) -- How many unlocks are there? Get the number. local howMany = UNLOCKMAN:GetNumUnlocks() if howMany > 0 then -- This returns a table whether it finds anything or not... local unlockSongs = UNLOCKMAN:GetSongsUnlockedByEntryID(text) -- So check the size of that...
gpl-3.0
kjl2y/darkstar
scripts/zones/West_Sarutabaruta/npcs/Banege_RK.lua
13
3339
----------------------------------- -- Area: West Sarutabaruta -- NPC: Banege, R.K. -- Type: Border Conquest Guards -- @pos 399.450 -25.858 727.545 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
Mrr619/TDself
plugins/write1.lua
6
28970
local function run(msg, matches) if #matches < 2 then return "بعد از این دستور، با قید یک فاصله کلمه یا جمله ی مورد نظر را جهت زیبا نویسی وارد کنید" end if string.len(matches[2]) > 20 then return "حداکثر حروف مجاز 20 کاراکتر انگلیسی و عدد است" end local font_base = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,...
agpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/general/npcs/multihued-drake.lua
3
8834
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
Igdra/darkstar
scripts/zones/Heavens_Tower/npcs/_6q1.lua
14
1436
----------------------------------- -- Area: Heaven's Tower -- NPC: Starway Stairway -- @pos -10 0.1 30 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Heavens_Tower/Tex...
gpl-3.0
l0k1/naev
dat/missions/zalek/zlk_test.lua
4
10649
--[[ Handles the randomly generated Za'lek test missions. (Based on the ES lua code) stages : 0 : everything normal 1 : the player has forgotten the engine ]] include "dat/scripts/cargo_common.lua" include "dat/scripts/numstring.lua" misn_title = _("ZT test of an engine %s") misn_...
gpl-3.0
Igdra/darkstar
scripts/zones/Lower_Jeuno/npcs/Treasure_Coffer.lua
14
73003
----------------------------------- -- Area: Lower Jeuno -- NPC: Treasure Coffer -- Type: Add-on NPC -- @pos 41.169 3.899 -51.005 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts...
gpl-3.0
kjl2y/darkstar
scripts/zones/Windurst_Woods/npcs/Jack_of_Spades.lua
13
1317
----------------------------------- -- Area: Windurst Woods -- NPC: Jack of Spades -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs...
gpl-3.0
Igdra/darkstar
scripts/globals/mobskills/Shakeshroom.lua
50
1139
--------------------------------------------------- -- Shakeshroom -- Additional effect: Fires a mushroom cap, dealing damage to a single target. Additional effect: disease -- Range is 14.7 yalms. -- Piercing damage Ranged Attack. -- Secondary modifiers: INT: 20%. --------------------------------------------------- re...
gpl-3.0
Mrr619/TDself
plugins/info.lua
10
21599
local function callback_reply(extra, success, result) --icon & rank ------------------------------------------------------------------------------------------------ userrank = "Member" if tonumber(result.from.id) == 219201071 then userrank = "Master ⭐⭐⭐⭐" send_document(org_chat_id,"umbrella/stickers/master.webp...
agpl-3.0
kjl2y/darkstar
scripts/globals/strangeapparatus.lua
13
7263
-- Items INFINITY_CORE = 1474; local RED_CHIP = 474; local BLUE_CHIP = 475; local YELLOW_CHIP = 476; local GREEN_CHIP = 477; local CLEAR_CHIP = 478; local PURPLE_CHIP = 479; local WHITE_CHIP = 480; local BLACK_CHIP = 481; local FIRE_CLUSTER = 4104; local ICE_CLUSTER = 4105; local WIND_CLUSTER ...
gpl-3.0
Noneatme/iLife-SA
server/Classes/Quest/Scripts/33.lua
1
2051
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] local QuestID = 33 local Quest = Quests[QuestID] Quest.Texts =...
mit
Igdra/darkstar
scripts/zones/Norg/npcs/Heiji.lua
17
3284
----------------------------------- -- Area: Norg -- NPC: Heiji -- Starts and Ends Quest: Like a Shining Subligar -- @pos -1 -5 25 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
Noneatme/iLife-SA
server/Classes/World/cNoDMZone.lua
1
2346
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] -- ####################################### -- ## Project: MTA i...
mit
Noneatme/iLife-SA
client/Guis/Setting/changeNick.lua
1
2708
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] ChangeNick = { ["Window"] = false, ["Image"] = {}, ["Edit"]...
mit
Igdra/darkstar
scripts/zones/Abyssea-Misareaux/npcs/qm15.lua
9
1345
----------------------------------- -- Zone: Abyssea-Misareaux -- NPC: qm15 (???) -- Spawns Sirrush -- @pos ? ? ? 216 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[...
gpl-3.0
srdgame/lua-voip
examples/pnpd.lua
2
6265
local uv = require "lluv" local sip = require "voip.sip" local log = require "log".new('trace', require "log.writer.stdout".new(), require "log.formatter.mix".new() ) local config = { pnp_interface = "*"; sua_interface = "192.168.1.25"; url = "http://fusionpbx.domain.local/fusionpbx/app/...
mit
kjl2y/darkstar
scripts/zones/The_Garden_of_RuHmet/MobIDs.lua
30
1432
----------------------------------- -- Area: The Garden of Ru'Hmet -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Ix'Aern (DRG)'s minions - Wynavs IxAernDRG = 16921022; wynavA = 16921023; wynavB = 16921024; wynavC = 16921025; -- First Aw'Aerns in each g...
gpl-3.0
Igdra/darkstar
scripts/globals/items/dish_of_spaghetti_tonno_rosso_+1.lua
18
1379
----------------------------------------- -- ID: 5624 -- Item: Dish of Spaghetti Tonno Rosso +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Health % 13 -- Health Cap 185 -- Dexterity 2 -- Vitality 3 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
AndrewTsao/luvit
tests/test-tls-client-reject.lua
3
1941
require('helper') local fixture = require('./fixture-tls') local tls = require('tls') local options = { cert = fixture.certPem, key = fixture.keyPem } local client_options = { port = fixture.commonPort, host = '127.0.0.1' } p(options) local connectCount = 0 local server server = tls.createServer(options, fun...
apache-2.0
Igdra/darkstar
scripts/zones/Nashmau/npcs/Nomad_Moogle.lua
17
1082
----------------------------------- -- -- Nomad Moogle -- ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/settings"); ----------------------------------- -- onTrade Act...
gpl-3.0
kjl2y/darkstar
scripts/zones/Windurst-Jeuno_Airship/Zone.lua
32
1401
----------------------------------- -- -- Zone: Windurst-Jeuno_Airship -- ----------------------------------- ----------------------------------- -- onInitialize ----------------------------------- function onInitialize(zone) end; ----------------------------------- -- onZoneIn ----------------------------------- ...
gpl-3.0
kjl2y/darkstar
scripts/zones/Northern_San_dOria/npcs/HomePoint#4.lua
13
1280
----------------------------------- -- Area: Northern San dOria -- NPC: HomePoint#4 -- @pos: -132 12 195 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts...
gpl-3.0
Igdra/darkstar
scripts/zones/Apollyon/mobs/Evil_Armory.lua
17
1419
----------------------------------- -- Area: Apollyon SE -- NPC: Evil_Armory ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------...
gpl-3.0
Igdra/darkstar
scripts/zones/The_Shrouded_Maw/Zone.lua
32
1779
----------------------------------- -- -- Zone: The_Shrouded_Maw (10) -- ----------------------------------- package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Shrouded_Maw/TextIDs"); ---------------------...
gpl-3.0
kjl2y/darkstar
scripts/zones/The_Shrouded_Maw/Zone.lua
32
1779
----------------------------------- -- -- Zone: The_Shrouded_Maw (10) -- ----------------------------------- package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Shrouded_Maw/TextIDs"); ---------------------...
gpl-3.0
mybios/angle
samples/preload/AutoUpdate/Downloader.lua
1
2036
-- 实现下载器,用来根据设置里的下载地址尝试下载文件,如果失败就用备用地址下载 local SimpleDownloader = {}; SimpleDownloader.__index = SimpleDownloader; -- 创建新对象 function SimpleDownloader:new(...) local instance = {}; setmetatable(instance , SimpleDownloader); instance:ctor(...); return instance; end -- 创建新对象 function SimpleDownloader:ctor(context) ...
bsd-3-clause
SingularityServers/singularity-addon
lua/darkrp_modules/voterestrictions/sv_init.lua
8
1556
--[[--------------------------------------------------------------------------- Vote regulations - hobo's can't vote for anything (no voting rights for hobo's!) - Government jobs can't vote for gangster related things - Criminal jobs can't vote for government related things - Civilians can vote for anything Assumes th...
mit
kjl2y/darkstar
scripts/zones/Abyssea-Konschtat/npcs/Conflux_Surveyor.lua
30
3568
----------------------------------- -- Zone: Abyssea - Konschtat -- NPC: Conflux Surveyor -- Type: -- @pos 133.000 -72.738 -824.000 15 ----------------------------------- package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require(...
gpl-3.0
kjl2y/darkstar
scripts/zones/Mhaura/npcs/Bihoro-Guhoro.lua
13
1518
----------------------------------- -- Area: Mhaura -- NPC: Bihoro-Guhoro -- Involved in Quest: Riding on the Clouds -- @pos -28 -8 41 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts...
gpl-3.0
Igdra/darkstar
scripts/zones/Provenance/Zone.lua
30
1295
----------------------------------- -- -- Zone: Provenance (222) -- ----------------------------------- package.loaded["scripts/zones/Provenance/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Provenance/TextIDs"); ----------------------------------- -- onInitialize -----------------------...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/talents/spells/golemancy.lua
2
18697
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
Noneatme/iLife-SA
server/Manager/World/cAdManager.lua
1
2202
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] CAdManager = inherit(cSingleton) addEvent("onClientRequestAds"...
mit
kjl2y/darkstar
scripts/zones/Northern_San_dOria/npcs/Lucretia.lua
13
1207
----------------------------------- -- Area: Northern San d'Oria -- NPC: Lucretia -- Guild Merchant NPC: Blacksmithing Guild -- @pos -193.729 3.999 159.412 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
shayanchabok007/antispam_ok
plugins/anti-bot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
kjl2y/darkstar
scripts/zones/Port_Windurst/npcs/Yafa_Yaa.lua
13
2857
----------------------------------- -- Area: Port Windurst -- NPC: Yafa Yaa ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/T...
gpl-3.0
kjl2y/darkstar
scripts/zones/AlTaieu/npcs/qm2.lua
18
1499
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Justice Spawn) -- Allows players to spawn the Jailer of Justice by trading the Second Virtue, Deed of Moderation, and HQ Xzomit Organ to a ???. -- @pos , -278 0 -463 ----------------------------------- package.loaded["scripts/zones/AlTaieu/Te...
gpl-3.0
kjl2y/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ca.lua
13
2321
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Mahogany Door -- Involved In Quest: Making Headlines -- Involved in Mission 2-1 -- @pos -11 0 20 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
Igdra/darkstar
scripts/globals/spells/bluemagic/cocoon.lua
28
1337
----------------------------------------- -- Spell: Cocoon -- Enhances defense -- Spell cost: 10 MP -- Monster Type: Vermin -- Spell Type: Magical (Earth) -- Blue Magic Points: 1 -- Stat Bonus: VIT+3 -- Level: 8 -- Casting Time: 1.75 seconds -- Recast Time: 60 seconds -- Duration: 90 seconds -- -- Combos: None -------...
gpl-3.0
tehran980/maxbot2
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
festevezga/ToME---t-engine4
game/modules/tome/data/zones/halfling-ruins/objects.lua
3
2469
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
hy0kl/nginx-conf
lua/images.lua
1
2084
-- 公共方法 {{{ local debug = function(key, value) ngx.print(key .. ': ' .. value); ngx.exit(200); end -- 检测路径是否目录 local function is_dir(sPath) -- debug('sPath', sPath); if type(sPath) ~= "string" then return false end local response = os.execute( "cd " .. sPath .. " 2>&1"); if respon...
bsd-2-clause
Noneatme/iLife-SA
client/Classes/Texture/cCustomWorldTextures.lua
1
4471
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] -- ####################################### -- ## Project: MTA i...
mit
kjl2y/darkstar
scripts/zones/Temple_of_Uggalepih/Zone.lua
15
1750
----------------------------------- -- -- Zone: Temple_of_Uggalepih (159) -- ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Temple_of_...
gpl-3.0
kjl2y/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Areuhat1.lua
19
1028
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Areuhat -- @zone 80 -- @pos 21 0 22 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
Igdra/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kuhn_Tsahnpri.lua
17
1456
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kuhn Tsahnpri -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); --------------...
gpl-3.0
Candunc/rt-downloader
backend/scrape.lua
1
5157
-- Allows the libraries to be in a seperate folder from the code package.path = package.path .. ';libraries/?.lua' local scrape = {} local config = require("config") local json = require("json") local lsha2 = require("lsha2") local shell = require("shell") local driver = require("luasql.mysql") local socket = req...
gpl-3.0
festevezga/ToME---t-engine4
game/modules/tome/data/tilesets/7x7/base.lua
3
2160
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
kjl2y/darkstar
scripts/globals/mobskills/Scorching_Lash.lua
37
1167
--------------------------------------------- -- Scorching Lash -- -- Description: Deals heavy damage to targets behind user. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Back -- Notes: Used only if a target with hate is behind them. Conal behind Cerberus. ------------------------------------...
gpl-3.0
abasshacker/extreme2
plugins/info.lua
10
8374
--[[ # # Show users information in groups # # author: Arian < @Dragon_Born > # our channel: @GPMod # Version: 2016-04-02 # # Features added: # -- setrank on reply # -- get users info with their IDs and @username # ]] do local Arian = 99530862 --put your id here(BOT OWNER ID) local function setrank(msg, name, value)...
gpl-2.0
festevezga/ToME---t-engine4
game/modules/tome/class/GameState.lua
2
104193
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
kjl2y/darkstar
scripts/zones/The_Celestial_Nexus/bcnms/celestial_nexus.lua
30
2099
----------------------------------- -- Area: The Celestial Nexus -- Name: The Celestial Nexus (ZM16) ----------------------------------- package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); requi...
gpl-3.0
Igdra/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kubhe_Ijyuhla.lua
14
2480
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kubhe Ijyuhla -- Standard Info NPC -- @pos 23.257 0.000 21.532 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requ...
gpl-3.0
mmdk95/cuberite
MCServer/Plugins/APIDump/Classes/Network.lua
24
20083
-- Network.lua -- Defines the documentation for the cNetwork-related classes return { cNetwork = { Desc = [[ This is the namespace for high-level network-related operations. Allows plugins to make TCP connections to the outside world using a callback-based API.</p> <p> All functions in this nam...
apache-2.0
rwz/redis-gcra
vendor/inspect_gcra_ratelimit.lua
1
1427
local rate_limit_key = KEYS[1] local burst = ARGV[1] local rate = ARGV[2] local period = ARGV[3] local emission_interval = period / rate local burst_offset = emission_interval * burst local now = redis.call("TIME") -- redis returns time as an array containing two integers: seconds of the epoch -- time (10 digits) and...
mit
Igdra/darkstar
scripts/globals/effects/bust.lua
35
1737
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if (effect:getSubType() == MOD_DMG) then target:addMod(MO...
gpl-3.0