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
bn7/darkstar
scripts/zones/Temenos/bcnms/temenos_northern_tower.lua
35
1173
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[Temenos_N_Tower]UniqueID",G...
gpl-3.0
nenonahar/GENERAAL
plugins/lock_emoji.lua
2
2857
--[[ -- ุชู… ุงู„ุชุนุฏูŠู„ ูˆ ุงู„ุชุนุฑูŠุจ ุจูˆุงุณุทู‡ @KNSLTHM --[[ Dev @KNSLTHM Dev @NAHAR2_BOT CH > @NENO_CH --]] local function run(msg, matches) if is_momod(msg) then return end local data = load_da...
gpl-2.0
bn7/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm1_2.lua
17
2450
----------------------------------- -- 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
LuaDist2/kong
spec/01-unit/008-api_helpers_spec.lua
12
2395
local api_helpers = require "kong.api.api_helpers" local norm = api_helpers.normalize_nested_params describe("api_helpers", function() describe("normalize_nested_params()", function() it("renders table from dot notation", function() assert.same({ foo = "bar", number = 10, config = {...
apache-2.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/psz-frakcje_straz/pozary_c.lua
1
1200
local pozary_location = { {-2104.09,161.63,35.10, nazwa="San Fierro, ruiny obok Doherty"}, {-1956.96,288.33,35.47, nazwa="San Fierro, salon samochodowy"}, } -- Na start zasobu zawsze tworzymy wszystkie pozary. function create_fire() for i,v in ipairs(pozary_location) do local x,y,z = v[1],v[2],...
mit
nolansingroy/cocos2d-x-samples
samples/FantasyWarrior3D/src/cocos/network/DeprecatedNetworkFunc.lua
39
1074
--tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of WebSocket will be deprecated begin local targetPlatform = CCApplication:getInstance():getTargetPlatform() if (kTargetIphone == targetPlatf...
mit
bn7/darkstar
scripts/globals/items/dish_of_spaghetti_peperoncino.lua
12
1487
----------------------------------------- -- ID: 5188 -- Item: dish_of_spaghetti_peperoncino -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 30 -- Health Cap 70 -- Vitality 2 -- Store TP +6 -- Resist virus +5 ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
bn7/darkstar
scripts/zones/Upper_Jeuno/Zone.lua
26
2502
----------------------------------- -- -- Zone: Upper_Jeuno (244) -- ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Upper_Jeuno/TextIDs"); -----------------------------------...
gpl-3.0
bn7/darkstar
scripts/globals/items/holy_maul_+1.lua
41
1077
----------------------------------------- -- ID: 17114 -- Item: Holy Maul +1 -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
bn7/darkstar
scripts/zones/Lufaise_Meadows/mobs/Splinterspine_Grukjuk.lua
23
1100
----------------------------------- -- Area: Lufaise Meadows (24) -- MOB: Splinterspine_Grukjuk ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Lufaise_Meadows/TextIDs"); require("scripts/globals/quests"); --...
gpl-3.0
lusis/lua-httpclient
src/httpclient/neturl.lua
4
10762
-- neturl.lua - a robust url parser and builder -- -- Bertrand Mansion, 2011-2013; License MIT -- @module neturl -- @alias M local M = {} M.version = "0.9.0" --- url options -- separator is set to `&` by default but could be anything like `&` or `;` -- @todo Add an option to limit the size of the argument tab...
mit
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/EaseQuadraticActionOut.lua
7
1243
-------------------------------- -- @module EaseQuadraticActionOut -- @extend ActionEase -- @parent_module cc -------------------------------- -- brief Create the action with the inner action.<br> -- param action The pointer of the inner action.<br> -- return A pointer of EaseQuadraticActionOut action. If creation fa...
mit
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/applications/luci-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua
76
2144
--[[ Luci diag - Diagnostics controller module (c) 2009 Daniel Dickinson 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 ]]-- module("luci.cont...
gpl-2.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/[community]/guieditor/client/dx_elements/dx_editbox_modified.lua
1
21887
--[[-------------------------------------------------- GUI Editor client dx_editbox.lua creates a dx editbox widget for use in the right click menus --]]-------------------------------------------------- local gKeysPressed = {} local gCapslock = false DX_Editbox = {} DX_Editbox.__index = DX_Editbox DX_Editbox.i...
mit
AntonioModer/Algorithm-Implementations
Merge_Sort/Lua/Yonaba/merge_sort.lua
27
1424
-- Mergesort top down implementation -- See : http://en.wikipedia.org/wiki/Merge_sort#Top-down_implementation -- Splices a list from i to j local function slice(list, i, j) local t = {} for k = i, j do t[#t + 1] = list[k] end return t end -- Top down merge local function top_down_merge(left, right, comp) loca...
mit
bn7/darkstar
scripts/zones/Upper_Jeuno/npcs/Paya-Sabya.lua
14
1345
----------------------------------- -- Area: Upper Jeuno -- NPC: Paya-Sabya -- Involved in Mission: Magicite -- @zone 244 -- @pos 9 1 70 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c21062.lua
1
2622
--ๅ› ๅนก ็‹‚ๆฐ”็š„ๆœˆไน‹ๅ…” function c21062.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x256),1) c:EnableReviveLimit() --effect local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21062,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_POSITION) e1:SetProperty(EFFECT_FLAG...
gpl-2.0
bn7/darkstar
scripts/zones/Bhaflau_Remnants/mobs/Colibri.lua
46
1626
----------------------------------- -- Area: Mamook -- MOB: Colibri ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobFight Action ----------------------------------- function onMobFight(mob, target) local delay =...
gpl-3.0
bearpaw/pose-attention
train/util/img.lua
1
8666
------------------------------------------------------------------------------- -- Coordinate transformation ------------------------------------------------------------------------------- function getTransform(center, scale, rot, res) local h = 200 * scale local t = torch.eye(3) -- Scaling t[1][1] = ...
bsd-3-clause
bn7/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/RongeloutsNDistaud.lua
14
1647
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Rongelouts N Distaud -- @zone 80 -- @pos 0.067 2 -22 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/ques...
gpl-3.0
drptbl/snort3
lua/snort.lua
5
2407
--------------------------------------------------------------------------- -- Snort++ configuration --------------------------------------------------------------------------- --------------------------------------------------------------------------- -- setup environment ---------------------------------------------...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c26137.lua
1
1304
--ๅฟฟๆ€’ใ€Žๅคฉๅ˜ๅทจ็œผ็„š่บซใ€ function c26137.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_DAMAGE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_MAIN_END) e1:SetCondition(c26137.condition) e1:SetTarget(c2...
gpl-2.0
bn7/darkstar
scripts/globals/items/serving_of_green_curry.lua
12
1853
----------------------------------------- -- ID: 4296 -- Item: serving_of_green_curry -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility 2 -- Vitality 1 -- Health Regen While Healing 2 -- Magic Regen While Healing 1 -- Defense +9% (cap 160) -- Ranged ACC +5% (cap 25) -- Sleep Resist ...
gpl-3.0
bn7/darkstar
scripts/zones/Kazham/npcs/Mamerie.lua
17
1410
----------------------------------- -- Area: Kazham -- NPC: Mamerie -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action -------...
gpl-3.0
fillest/rtmp_load
src/luajit/dynasm/dasm_arm.lua
74
34483
------------------------------------------------------------------------------ -- DynASM ARM module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
mit
bn7/darkstar
scripts/zones/Abyssea-Konschtat/npcs/Atma_Fabricant.lua
33
1061
----------------------------------- -- Zone: Abyssea - Konschtat -- NPC: Atma Fabricant -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/abyssea"); require("scripts/...
gpl-3.0
bn7/darkstar
scripts/zones/Lufaise_Meadows/TextIDs.lua
7
1194
-- 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 = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6...
gpl-3.0
nimishzynga/treelstm
init.lua
10
1340
require('torch') require('nn') require('nngraph') require('optim') require('xlua') require('sys') require('lfs') treelstm = {} include('util/read_data.lua') include('util/Tree.lua') include('util/Vocab.lua') include('layers/CRowAddTable.lua') include('models/LSTM.lua') include('models/TreeLSTM.lua') include('models/C...
gpl-2.0
bn7/darkstar
scripts/zones/Windurst-Jeuno_Airship/TextIDs.lua
7
1084
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Obtain...
gpl-3.0
AntonioModer/Algorithm-Implementations
Knuth_Morris_Pratt/Lua/Yonaba/kmp.lua
26
1219
-- Knuth-Morris-Pratt string searching algorithm implementation -- See: http://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm local function kmp_table(pattern) local result = {} for i = 1, #pattern+1,1 do local j = i while true do if j == 1 then result[#result + 1] = 1 ...
mit
frankyifei/koreader
frontend/apps/reader/modules/readerhyphenation.lua
2
3720
local InputContainer = require("ui/widget/container/inputcontainer") local UIManager = require("ui/uimanager") local JSON = require("json") local InfoMessage = require("ui/widget/infomessage") local T = require("ffi/util").template local _ = require("gettext") local util = require("util") local ReaderHyphenation = Inp...
agpl-3.0
snazzysano/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
biddyweb/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
AntonioModer/Algorithm-Implementations
Quick_Sort/Lua/Yonaba/quick_sort.lua
27
1335
-- (In-place) Quicksort implementation -- See : http://en.wikipedia.org/wiki/Quicksort#In-place_version -- Partitions a portion of a list local function partition(list, comp, left, right, pivot_index) local pivot_value = list[pivot_index] list[pivot_index], list[right] = list[right], list[pivot_index] local store_i...
mit
bn7/darkstar
scripts/zones/Bastok_Markets/npcs/Horatius.lua
14
2214
----------------------------------- -- Area: Bastok Markets -- NPC: Horatius -- Type: Quest Giver -- Starts and Finishes: Breaking Stones -- @pos -158.392 -5.839 -117.061 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
bn7/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm17.lua
14
1404
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm17 (???) -- Spawns Isgebind -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------...
gpl-3.0
bn7/darkstar
scripts/globals/weaponskills/rudras_storm.lua
22
1737
----------------------------------- -- Rudra's Storm -- Dagger weapon skill -- Skill level: N/A -- Deals triple damage and weighs target down (duration: 60s). Damage varies with TP. -- Aligned with the Aqua Gorget, Snow Gorget & Shadow Gorget. -- Aligned with the Aqua Belt, Snow Belt & Shadow Belt. -- Element: None -- ...
gpl-3.0
bn7/darkstar
scripts/zones/AlTaieu/npcs/_0x1.lua
14
1936
----------------------------------- -- 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/zones/AlT...
gpl-3.0
bn7/darkstar
scripts/zones/Jugner_Forest/npcs/Mionie.lua
14
1907
----------------------------------- -- Area: Jugner Forest -- NPC: Mionie -- Type: Outpost Vendor -- @pos 54 0 -11 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest...
gpl-3.0
bn7/darkstar
scripts/globals/items/tidal_talisman.lua
17
2281
----------------------------------------- -- ID: 11290 -- Item: tidal talisman -- ----------------------------------------- function onItemCheck(target) local result = 56; local zone = target:getZoneID(); if (zone == 238 or zone == 239 or zone == 240 or zone == 241 or zone == 242 or -- Windurst zo...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c23139.lua
1
2104
--็‰™็ฌฆใ€Žๅ’€ๅšผ็Žฉๅ‘ณใ€ function c23139.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) --e1:SetCondition(c23139.condition) e1:SetTarget(c23139.target) e1:SetOperation(c23139.operation) c:RegisterEffect(e1) end function c...
gpl-2.0
AnTiSpamTM/antispam
bot/utils.lua
473
24167
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/...
agpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/applications/luci-asterisk/luasrc/model/cbi/asterisk/dialzones.lua
91
3529
--[[ LuCI - Lua Configuration Interface Copyright 2008 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 $Id: trunks.l...
gpl-2.0
hjsrzvpqma/api
plugins/setpass.lua
1
2274
do local function set_pass(msg, pass, id) local hash = nil if msg.to.type == "channel" then hash = 'setpass:' end local name = string.gsub(msg.to.print_name, '_', '') if hash then redis:hset(hash, pass, id) return send_large_msg("channel#id"..msg.to.id, "Password Of SuperGroup/Group : ["..name....
gpl-2.0
bn7/darkstar
scripts/globals/items/simit_+1.lua
12
1251
----------------------------------------- -- ID: 5597 -- Item: simit_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 18 -- Vitality 4 -- Defense 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
bn7/darkstar
scripts/zones/Port_Windurst/npcs/Kohlo-Lakolo.lua
16
11719
----------------------------------- -- Area: Port Windurst -- NPC: Kohlo-Lakolo -- Invloved In Quests: Truth, Justice, and the Onion Way!, -- Know One's Onions, -- Inspector's Gadget, -- Onion Rings, -- Crying Over Onions, -- ...
gpl-3.0
bn7/darkstar
scripts/globals/spells/armys_paeon.lua
27
1361
----------------------------------------- -- Spell: Army's Paeon -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targe...
gpl-3.0
bn7/darkstar
scripts/globals/items/rarab_meatball.lua
12
1736
----------------------------------------- -- ID: 4507 -- Item: rarab_meatball -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 10 -- Strength 2 -- Vitality 2 -- Intelligence -1 -- Attack % 30 -- Attack Cap 20 -- Ranged ATT % 30 -- Ranged ATT Cap 20 ----------------------------------...
gpl-3.0
bn7/darkstar
scripts/zones/Kazham/npcs/Ronta-Onta.lua
14
4485
----------------------------------- -- Area: Kazham -- NPC: Ronta-Onta -- Starts and Finishes Quest: Trial by Fire -- @pos 100 -15 -97 250 ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
bn7/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Sahnn_Dhansett.lua
14
1067
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Sahnn Dhansett -- Type: Standard NPC -- @zone 94 -- @pos 112.820 -3.122 47.857 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
bn7/darkstar
scripts/zones/Davoi/npcs/Sedal-Godjal.lua
14
3995
----------------------------------- -- Area: Davoi -- NPC: Sedal-Godjal -- Mini Quest used in : Whence Blows the Wind -- @pos 185 -3 -116 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scrip...
gpl-3.0
bn7/darkstar
scripts/zones/Port_San_dOria/npcs/Laucimercen.lua
17
1404
----------------------------------- -- Area: Port San d'Oria -- NPC: Laucimercen -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ...
gpl-3.0
bn7/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Jailer_of_Fortitude.lua
5
2682
----------------------------------- -- Area: The Garden of Ru'Hmet -- NM: Jailer of Fortitude ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/limbus"); ----------------------------------- -- onMobSpawn Action -------------------------...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c10222.lua
1
2426
--ไนๅ›ญ็š„่Šฑๅทซๅฅณโœฟๅšไธฝ็ตๆขฆ function c10222.initial_effect(c) -- local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(10222,0)) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCountLimit(1,1...
gpl-2.0
bn7/darkstar
scripts/zones/Buburimu_Peninsula/TextIDs.lua
6
1886
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6414; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6420; -- Obtained: <item>. GIL_OBTAINED = 6421; -- Obtained <number> gil. KEYITEM_OBTAINED = 6423; -- Obtained...
gpl-3.0
simonemainardi/ntopng
scripts/callbacks/5min.lua
1
13503
-- -- (C) 2013-17 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path if (ntop.isPro()) then package.path = dirs.installdir .. "/pro/scripts/callbacks/?.lua;" .. package.path require("5min") package.path = dirs.installdir .. "/pro/scripts/lua/modu...
gpl-3.0
bn7/darkstar
scripts/zones/Mhaura/npcs/Mololo.lua
14
1157
----------------------------------- -- Area: Mhaura -- NPC: Mololo -- Guild Merchant NPC: Blacksmithing Guild -- @pos -64.278 -16.624 34.120 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
bn7/darkstar
scripts/zones/Abyssea-Konschtat/Zone.lua
33
1801
----------------------------------- -- -- Zone: Abyssea - Konschtat -- ----------------------------------- -- Research -- EventID 0x0400-0x0405 aura of boundless rage -- EventID 0x0800-0x0883 The treasure chest will disappear is 180 seconds menu. -- EventID 0x0884 Teleport? -- EventID 0x0885 DEBUG Menu --------------...
gpl-3.0
bn7/darkstar
scripts/globals/items/cream_puff.lua
12
1196
----------------------------------------- -- ID: 5718 -- Item: Cream Puff -- Food Effect: 30 mintutes, All Races ----------------------------------------- -- Intelligence +7 -- HP -10 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
Arashbrsh/trea
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
bn7/darkstar
scripts/zones/RuLude_Gardens/npcs/Rainhard.lua
14
1050
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Rainhard -- Type: Standard NPC -- @zone 243 -- @pos -2.397 -5.999 68.749 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; --------------...
gpl-3.0
xconstruct/cargBags
extensions/itemkeys/tooltip.itemkey.lua
1
2055
--[[ cargBags: An inventory framework addon for World of Warcraft Copyright (C) 2010 Constantin "Cargor" Schomburg <xconstruct@gmail.com> cargBags 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 ver...
gpl-2.0
bn7/darkstar
scripts/zones/Xarcabard/npcs/qm6.lua
14
1768
----------------------------------- -- Area: Xarcabard -- NPC: qm6 (???) -- Involved in Quests: RNG AF3 - Unbridled Passion -- @pos -254.883 -17.003 -150.818 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
yinjun322/quick-ng
quick/framework/cc/components/behavior/EventProtocol.lua
10
5330
local Component = import("..Component") local EventProtocol = class("EventProtocol", Component) function EventProtocol:ctor() EventProtocol.super.ctor(self, "EventProtocol") self.listeners_ = {} self.nextListenerHandleIndex_ = 0 end function EventProtocol:addEventListener(eventName, listener, tag) as...
mit
li-wl/kong
kong/plugins/oauth2/schema.lua
6
1832
local utils = require "kong.tools.utils" local Errors = require "kong.dao.errors" local function check_user(anonymous) if anonymous == "" or utils.is_valid_uuid(anonymous) then return true end return false, "the anonymous user must be empty or a valid uuid" end local function check_mandatory_scope(v, t) ...
apache-2.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/[community]/guieditor/client/tutorials/tutorial_output_type.lua
2
7705
--[[-------------------------------------------------- GUI Editor client tutorial_output_type.lua tutorial (hopefully) explaining the difference between absolute and relative --]]-------------------------------------------------- local outputTypeTutorial function Tutorial.constructors.output() local t = Tutor...
mit
kushview/element
scripts/channelize.lua
1
1738
--- MIDI Channelizer. -- -- This is a MIDI filter which forces a specified channel on all messages. Set -- the channel parameter to '0' to bypass the filter. -- -- @script channelize -- @kind DSP -- @license GPL v3 -- @author Michael Fisher local MidiBuffer = require ('el.MidiBuffer') local scr...
gpl-3.0
lagerstrom/urpuppet
modules/awesome/files/awesome_config_old/vicious/widgets/volume.lua
5
1358
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local tonumber = tonumber local io = { popen = io.popen } local setmetatable = setmetatable ...
apache-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/applications/luci-firewall/dist/usr/lib/lua/luci/model/cbi/firewall/rule-details.lua
52
8016
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2012 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
shizhai/wprobe
staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/usr/lib/lua/luci/model/cbi/firewall/rule-details.lua
52
8016
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010-2012 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
bn7/darkstar
scripts/globals/items/hamsi.lua
12
1320
----------------------------------------- -- ID: 5449 -- Item: Hamsi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
BipolarAurora/H-CE-Opensauce-V5
shared/bin/mmbbq_3.0.2/HaloCE/1_09_Client/Rasterizer_DX9.lua
2
6372
-- Yelo: Open Sauce SDK -- Halo 1 (CE) Edition -- See license\OpenSauce\Halo1_CE for specific license information HaloCEClient_Rasterizer_DX9 = { --//////////////////////////////////////////////////////////////////////// -- DX9.cpp ["K_PARAMS"] = ...
gpl-3.0
LuaDist2/kong
kong/dao/schemas/plugins.lua
2
3033
local utils = require "kong.tools.utils" local Errors = require "kong.dao.errors" local function load_config_schema(plugin_t) if plugin_t.name then local loaded, plugin_schema = utils.load_module_if_exists("kong.plugins." .. plugin_t.name .. ".schema") if loaded then return plugin_schema else ...
apache-2.0
bn7/darkstar
scripts/zones/Bastok_Mines/npcs/Azima.lua
29
1886
----------------------------------- -- Area: Bastok Mines -- NPC: Azima -- Alchemy Adv. Synthesis Image Support -- @pos 123.5 2 1 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/...
gpl-3.0
avatartg/avatarbot
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
yinjun322/quick-ng
quick/framework/cocos2dx/ActionEx.lua
20
7961
local cca = {} _G.cca = cca -- make it global function cc.Action:addTo(node) node:runAction(self) return self end function cc.Node:buildAction(...) local builder = cca.builder(...) builder.target = self return builder end -- instant function cca.show() return cc.Show:create() end function cca.hid...
mit
bn7/darkstar
scripts/zones/Abyssea-Altepa/Zone.lua
33
1470
----------------------------------- -- -- Zone: Abyssea - Altepa -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-Altepa/TextIDs...
gpl-3.0
dark-al/rspamd
src/plugins/lua/settings.lua
1
11837
--[[ Copyright (c) 2011-2015, Vsevolod Stakhov <vsevolod@highsecure.ru> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this lis...
bsd-2-clause
bn7/darkstar
scripts/globals/spells/geohelix.lua
26
1688
-------------------------------------- -- Spell: Geohelix -- Deals earth 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/mag...
gpl-3.0
simonemainardi/ntopng
scripts/lua/iface_ndpi_stats.lua
1
3759
-- -- (C) 2013-17 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('text/html; charset=iso-8859-1') interface.select(ifname) host_info = url2hostinfo(_GET) if(_GET["breed"] == "true") then show_breed = true els...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c15075.lua
1
2686
--ๆžๆš—ไน‹่ก€็ฟผ้ญ”็ฅžโœฟ็ฅž็ปฎ function c15075.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x150),2) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:Set...
gpl-2.0
B-UMMI/ReMatCh
ReMatCh/src/samtools-1.3.1/misc/r2plot.lua
28
2877
#!/usr/bin/env luajit function string:split(sep, n) local a, start = {}, 1; sep = sep or "%s+"; repeat local b, e = self:find(sep, start); if b == nil then table.insert(a, self:sub(start)); break end a[#a+1] = self:sub(start, b - 1); start = e...
gpl-3.0
bn7/darkstar
scripts/zones/Port_Windurst/npcs/Shanruru.lua
14
2904
----------------------------------- -- Area: Port Windurst -- NPC: Shanruru -- Involved in Quest: Riding on the Clouds -- @zone 240 -- @pos -1 -6 187 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings")...
gpl-3.0
bn7/darkstar
scripts/zones/Kazham/npcs/Lulupp.lua
14
6017
----------------------------------- -- Area: Kazham -- NPC: Lulupp -- Type: Standard NPC -- @zone 250 -- @pos -26.567 -3.5 -3.544 ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/globals/pathfind"); local path = { -27.457125, -3.043032, -22.057966, -27.3734...
gpl-3.0
bn7/darkstar
scripts/globals/items/cyclical_coalescence.lua
12
1524
----------------------------------------- -- ID: 6225 -- Item: Cyclical coalescence -- Food Effect: 30 Min, All Races ----------------------------------------- -- MP +30% (cap 110) -- INT +7 -- MND +7 -- Magic Atk. Bonus +15 -- Lizard Killer +7 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
bn7/darkstar
scripts/zones/Windurst_Woods/npcs/Catalia.lua
14
1050
----------------------------------- -- Area: Windurst Woods -- NPC: Catalia -- Type: Standard NPC -- @zone 241 -- @pos -46.160 -0.501 -32.698 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; --------------...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c23019.lua
1
2801
--็Žฐไบบ็ฅž ไธœ้ฃŽ่ฐทๆ—ฉ่‹— function c23019.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c23019.spcon) e1:SetOperation(c23019.spop) c:RegisterEffect(e1) -...
gpl-2.0
bn7/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Field_Manual.lua
29
1067
----------------------------------- -- Field Manual -- Area: Eastern Altepa Desert ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ----------------------------...
gpl-3.0
shyamalschandra/vlc
share/lua/playlist/bbc_co_uk.lua
112
1468
--[[ $Id$ Copyright ยฉ 2008 the VideoLAN team Authors: Dominique Leuenberger <dominique-vlc.suse@leuenberger.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Licens...
lgpl-2.1
magamplus/test1
plugins/id.lua
226
4260
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
gpl-2.0
bn7/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rs.lua
14
1655
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- @pos -60 -23 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna_Aqueduct...
gpl-3.0
nenonahar/GENERAAL
plugins/all.lua
2
4626
--[[ -- ุชู… ุงู„ุชุนุฏูŠู„ ูˆ ุงู„ุชุนุฑูŠุจ ุจูˆุงุณุทู‡ @KNSLTHM --[[ Dev @KNSLTHM Dev @NAHAR2_BOT CH > @NENO_CH --]] do local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..us...
gpl-2.0
bn7/darkstar
scripts/zones/Temenos/mobs/Enhanced_Dragon.lua
26
1283
----------------------------------- -- Area: Temenos Central 1floor -- NPC: Enhanced_Dragon ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------...
gpl-3.0
frankyifei/koreader
frontend/ui/geometry.lua
2
7798
local Math = require("optmath") local DEBUG = require("dbg") --[[ 2D Geometry utilities all of these apply to full rectangles { x = ..., y = ..., w = ..., h = ... } some behaviour is defined for points { x = ..., y = ... } some behaviour is defined for dimensions { w = ..., h = ... } just use it on simple tables th...
agpl-3.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-voice.lua
80
1493
--[[ 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
mamaddeveloper/sp
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
bestofkeeperbot/keeperbot
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/[community]/[shadery]/shader_snow/snow.lua
1
17633
--[[ Todo: Make proper transitions (old setting -> new setting) when updating the snow settings Spring clean Expose more settings to users? (eg: rotate true/false, jitter speed, alpha blending) --]] local snowflakes = {} local snowing = false local box_width, box_depth, box_height, box_width_doubled, box_dept...
mit
HuangYuNan/thcsvr
expansions/script/c15001.lua
1
2458
--้ญ”็•Œ้—จ็•ช ๆฒ™็ฝ— function c15001.initial_effect(c) --immune effect local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_IMMUNE_EFFECT) e1:SetCondition(c15001.indcon) e1:SetValue(c15001.efilter) c:RegisterEffect(e1) --se...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c31054.lua
1
1897
--็މ็ฌฆใ€Ž็งฝ่บซๆŽข็Ÿฅๅž‹ๆฐด้›ทใ€ function c31054.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:SetCountLimit(1,31054+EFFECT_COUNT_CODE_OATH) e1:SetCost(c31054.cost) e1:SetTarget(c31054.target) e1:SetOperation(c...
gpl-2.0