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
mamaddeveloper/sp
plugins/boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
DBReinitialized/SafeGuard
src/SGWebServices/deps/coro-net.lua
2
5279
--[[lit-meta name = "creationix/coro-net" version = "3.2.0" dependencies = { "creationix/coro-channel@3.0.0", "creationix/coro-wrapper@3.0.0", } optionalDependencies = { "luvit/secure-socket@1.0.0" } homepage = "https://github.com/luvit/lit/blob/master/deps/coro-net.lua" description = "An co...
mit
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/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
lagerstrom/urpuppet
modules/awesome/files/awesome_config_old/vicious/widgets/pkg.lua
4
1320
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local io = { popen = io.popen } local math = { max = math.max } local setmetatable = setmeta...
apache-2.0
bn7/darkstar
scripts/zones/Bastok_Markets/npcs/Ardea.lua
14
2045
----------------------------------- -- Area: Bastok Markets -- NPC: Ardea -- @zone 235 -- @pos -198 -6 -69 -- Involved in quests: Chasing Quotas, Rock Racketeer -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/Te...
gpl-3.0
bn7/darkstar
scripts/globals/abilities/chakra.lua
11
1820
----------------------------------- -- Ability: Chakra -- Cures certain status effects and restores a small amount of HP to user. -- Obtained: Monk Level 35 -- Recast Time: 5:00 -- Duration: Instant ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onAbility...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c999209.lua
1
2051
--三种神器 洗衣机 --require "expansions/script/nef/nef" function c999209.initial_effect(c) --pend aux.EnablePendulumAttribute(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --sp summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(999209,0)) e1:Se...
gpl-2.0
bn7/darkstar
scripts/zones/Mamook/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
RuiShu/variational-autoencoder
nnutils/GmmSampler.lua
1
1502
require 'nn' local Sampler, parent = torch.class('nn.GmmSampler', 'nn.Module') function Sampler:__init() parent.__init(self) self.eps = torch.Tensor() self.muBuf = torch.Tensor() self.lvBuf = torch.Tensor() self.prob = torch.Tensor() self.idx = torch.LongTensor() self.lv = torch.Tensor() self....
mit
HuangYuNan/thcsvr
expansions/script/c50616.lua
1
3188
--翔鹤型正规航空母舰-瑞鹤改 function c50616.initial_effect(c) c:EnableReviveLimit() local temp = 0 while temp<9 do c:RegisterFlagEffect(50900,0,0,0) temp = temp+1 end --to hand local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(50616,1)) e2:SetCategory(CATEGORY_TOHAND) e2:SetProperty(EFFECT_FLAG_CARD_TAR...
gpl-2.0
Guema/GuemUICastBars
CastBarZ_Config/Libs/AceGUI-3.0-SharedMediaWidgets/SoundWidget.lua
7
7693
-- 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_Sound" local widgetVersion = 13 local conte...
unlicense
dark-al/rspamd
src/plugins/lua/multimap.lua
2
6483
--[[ 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/zones/Aht_Urhgan_Whitegate/npcs/Gavrie.lua
17
1534
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Gavrie -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("scripts/g...
gpl-3.0
bn7/darkstar
scripts/zones/Jugner_Forest/Zone.lua
11
4038
----------------------------------- -- -- 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"); require("...
gpl-3.0
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/ComRender.lua
8
1051
-------------------------------- -- @module ComRender -- @extend Component -- @parent_module ccs -------------------------------- -- -- @function [parent=#ComRender] setNode -- @param self -- @param #cc.Node node -- @return ComRender#ComRender self (return value: ccs.ComRender) ----------------------------...
mit
bn7/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Cattah_Pamjah.lua
14
1063
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Cattah Pamjah -- Type: Title Changer -- @zone 94 -- @pos -13.564 -2 10.673 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; -...
gpl-3.0
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/PhysicsShapePolygon.lua
10
1164
-------------------------------- -- @module PhysicsShapePolygon -- @extend PhysicsShape -- @parent_module cc -------------------------------- -- Get this polygon's points array count.<br> -- return An interger number. -- @function [parent=#PhysicsShapePolygon] getPointsCount -- @param self -- @return int#int ret (re...
mit
bn7/darkstar
scripts/zones/Western_Altepa_Desert/npcs/relic.lua
14
1892
----------------------------------- -- Area: Western Altepa Desert -- NPC: <this space intentionally left blank> -- @pos -152 -16 20 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Western_Altepa_De...
gpl-3.0
bn7/darkstar
scripts/zones/La_Theine_Plateau/npcs/Dimensional_Portal.lua
17
1389
----------------------------------- -- Area: La Theine Plateau -- NPC: Dimensional Portal ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/...
gpl-3.0
Dr0virus/ra
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/...
gpl-2.0
bn7/darkstar
scripts/globals/items/plate_of_salmon_sushi_+1.lua
12
1583
----------------------------------------- -- ID: 5664 -- Item: plate_of_salmon_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 2 -- Accuracy % 15 (cap 72) -- Ranged ACC % 15 (cap 72) -- Resist Sleep +2 ----------------------------------------- require("scripts/globals/st...
gpl-3.0
RossMeikleham/dotfiles
awesome/freedesktop/menu.lua
8
3706
-- Grab environment local utils = require("freedesktop.utils") local io = io local string = string local table = table local os = os local ipairs = ipairs local pairs = pairs module("freedesktop.menu") all_menu_dirs = { '/usr/share/applications/', '/usr/local/share/applications/', '~/.local/share/applicat...
mit
GeorgeHahn/nodemcu-firmware
lua_modules/redis/redis.lua
86
2621
------------------------------------------------------------------------------ -- Redis client module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> -- -- Example: -- local redis = dofile("redis.lua").connect(host, port) -- redis:publish("chan1", foo") -- redis:subscribe("...
mit
bn7/darkstar
scripts/zones/Windurst_Waters/npcs/Ahyeekih.lua
17
1663
----------------------------------- -- Area: Windurst Waters -- NPC: Ahyeekih -- Only sells when Windurst controls Kolshushu -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); require("scripts/globals/conquest")...
gpl-3.0
AntonioModer/Algorithm-Implementations
Heap_Sort/Lua/Yonaba/heapsort.lua
27
2212
-- Heap sort implementation -- See: http://en.wikipedia.org/wiki/Heapsort -- Binary heap data structure implementation -- Based on http://github.com/Yonaba/Binary-Heaps -- Percolates up local function sift_up(heap, index) if index == 1 then return end local pIndex if index <= 1 then return end if index % 2 ==...
mit
Guema/GuemUICastBars
CastBarZ/Components/CastingBar3D.lua
2
6782
local AddonName, Addon = ... local Addon = _G[AddonName] local LSM = LibStub("LibSharedMedia-3.0") assert(Addon ~= nil, AddonName .. " could not be load") local assert = assert local type = type local unpack = unpack local getmetatable = getmetatable local CreateFrame = CreateFrame local GetSpellInfo = GetSpellInfo l...
unlicense
Dysoch/DyWorld
DyWorld-Dynamics/data/equipment/base/battery.lua
1
3259
data:extend({ { type = "recipe", name = "battery-equipment", category = "assembling-tier-2", normal = { ingredients = { {type = "item", name = "steel-plate", amount = 5}, {type = "item", name = "aluminium-plate", amount = 2}, {type = "item", name = "control-board-...
gpl-3.0
bn7/darkstar
scripts/globals/items/serving_of_royal_jelly.lua
12
1140
----------------------------------------- -- ID: 4508 -- Item: Serving of Royal Jelly -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- MP Recovery while healing 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
bbinet/GoIoT
shared/app/run.lua
1
1196
#!/usr/bin/env lua --- Applicaiton runner which could catch the errors and logging erros -- @local -- @usage -- link or copy this file to your application folder -- create your own main.lua local m_path = os.getenv('KOOIOT_DIR') or "." local m_package_path = package.path package.path = string.format("%s;%s/?.lua;%s...
gpl-2.0
SinisterRectus/JC2MP-Wingsuit
client/cWingsuit.lua
1
13831
class 'Wingsuit' function Wingsuit:__init() self.superman = false -- Enables superman physics (disables custom grapple) self.grapple = true -- Enables custom grapple while gliding self.rolls = true -- Enables barrel rolls self.default_speed = 51 -- 51 m/s default self.default_vertical_speed = -5 -- -5 m/s defa...
mit
aymanhaider/Demonic_bot
bot/utils.lua
74
30284
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.l...
gpl-2.0
bn7/darkstar
scripts/zones/Al_Zahbi/npcs/Mabebe.lua
14
1025
---------------------------------- -- Area: Al Zahbi -- NPC: Mabebe -- Type: Item Deliverer -- @zone 48 -- @pos -27.551 0 -141.095 -- ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
Thadah/GarryWare13
gamemode/modules/entitymap_module.lua
2
4080
//////////////////////////////////////////////// // // GarryWare Gold // // by Hurricaaane (Ha3) // // and Kilburn_ // // http://www.youtube.com/user/Hurricaaane // //--------------------------------------------// // Entity Mapping to Grid ...
gpl-2.0
bn7/darkstar
scripts/zones/Al_Zahbi/npcs/Gidappa.lua
53
2317
----------------------------------- -- Area: Al Zahbi -- NPC: Gidappa -- Type: Clothcraft Normal/Adv. Image Support -- @pos 70.228 -7 -54.089 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
bn7/darkstar
scripts/globals/abilities/tabula_rasa.lua
24
1264
----------------------------------- -- Ability: Tabula Rasa -- Optimizes both white and black magic capabilities while allowing charge-free stratagem use. -- Obtained: Scholar Level 1 -- Recast Time: 1:00:00 -- Duration: 0:03:00 ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
omid1212/hhhh
plugins/domaintools.lua
359
1494
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 check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0
mamaddeveloper/sp
plugins/domaintools.lua
359
1494
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 check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0
bn7/darkstar
scripts/zones/Jade_Sepulcher/Zone.lua
32
1271
----------------------------------- -- -- Zone: Jade_Sepulcher (67) -- ----------------------------------- package.loaded["scripts/zones/Jade_Sepulcher/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Jade_Sepulcher/TextIDs"); ---------------------------...
gpl-3.0
bn7/darkstar
scripts/globals/weaponskills/geirskogul.lua
19
1848
----------------------------------- -- Geirskogul -- Polearm weapon skill -- Skill Level: N/A -- Gae Assail/Gungnir: Shock Spikes. -- This weapon skill is only available with the stage 5 relic Polearm Gungnir, within Dynamis with the stage 4 Gae Assail, or by activating the latent effect on the Skogul Lance. -- Aligned...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c24086.lua
1
1090
---废狱-怨念的地灵✿ function c24086.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(24086,0)) e1:SetCategory(CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,24086) e1:SetCost(c24086.cost) e1:SetTarget(c24086.target) e1:SetOpe...
gpl-2.0
ArmanIr/arbot
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
sorblack-x/anti_spam
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
abbasgh12345/extremeseed
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
frankyifei/koreader
frontend/ui/widget/filechooser.lua
2
6386
local lfs = require("libs/libkoreader-lfs") local UIManager = require("ui/uimanager") local Menu = require("ui/widget/menu") local Screen = require("device").screen local Device = require("device") local util = require("ffi/util") local _ = require("gettext") local ffi = require("ffi") ffi.cdef[[ int strcoll (const cha...
agpl-3.0
bn7/darkstar
scripts/zones/Bhaflau_Thickets/npcs/Hamta-Iramta.lua
14
1918
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Hamta-Iramta -- Type: Alzadaal Undersea Ruins -- @zone 52 -- @pos -459.942 -20.048 -4.999 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"]...
gpl-3.0
RobertZenz/minetest-australopithecus-terragenitor
mods/terragenitor/modules/singlenoisemodule.lua
2
2263
--[[ Copyright (c) 2015, Robert 'Bobby' Zenz All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the fo...
bsd-2-clause
bn7/darkstar
scripts/zones/Abyssea-Altepa/npcs/qm16.lua
4
1415
----------------------------------- -- Zone: Abyssea-Altepa -- NPC: qm16 (???) -- Spawns Orthrus -- @pos ? ? ? 218 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- fu...
gpl-3.0
bn7/darkstar
scripts/zones/Southern_San_dOria/npcs/Esmallegue.lua
14
1536
----------------------------------- -- Area: Southern San d'Oria -- NPC: Esmallegue -- General Info NPC -- @zone 230 -- @pos 0 2 -83 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/Tex...
gpl-3.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/ipkg-ar71xx/luci-app-firewall/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/zones/Windurst_Woods/npcs/Meriri.lua
27
1180
----------------------------------- -- Area: Windurst Woods -- NPC: Meriri -- Guild Merchant NPC: Clothcrafting Guild -- @pos -76.471 -3.55 -128.341 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
li-wl/kong
kong/plugins/response-ratelimiting/policies/init.lua
1
5783
local singletons = require "kong.singletons" local timestamp = require "kong.tools.timestamp" local cache = require "kong.tools.database_cache" local redis = require "resty.redis" local policy_cluster = require "kong.plugins.response-ratelimiting.policies.cluster" local ngx_log = ngx.log local pairs = pairs local fmt ...
apache-2.0
bn7/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm9.lua
14
1354
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm9 (???) -- Spawns Chillwing Hwitti -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,t...
gpl-3.0
LuaDist2/kong
kong/cmd/utils/nginx_signals.lua
5
3322
local log = require "kong.cmd.utils.log" local kill = require "kong.cmd.utils.kill" local meta = require "kong.meta" local pl_path = require "pl.path" local version = require "version" local pl_utils = require "pl.utils" local fmt = string.format local nginx_bin_name = "nginx" local nginx_search_paths = { "/usr/loca...
apache-2.0
delram/seed6
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
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/modules/rpc/luasrc/controller/rpc.lua
70
4443
--[[ 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
bn7/darkstar
scripts/zones/Monarch_Linn/bcnms/ancient_vows.lua
17
1926
----------------------------------- -- Area: Monarch Linn -- Name: Ancient Vows ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically entering the ...
gpl-3.0
ArmanIr/arbot
plugins/id.lua
355
2795
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, resu...
gpl-2.0
bn7/darkstar
scripts/zones/Mamook/npcs/qm2.lua
30
1323
----------------------------------- -- Area: Mamook -- NPC: ??? (Spawn Iriri Samariri(ZNM T2)) -- @pos -118 7 -80 65 ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mamook/TextIDs"); require("scripts/globals/status"); ...
gpl-3.0
bn7/darkstar
scripts/globals/items/kitron_macaron.lua
15
1273
----------------------------------------- -- ID: 5781 -- Item: kitron_macaron -- Food Effect: 30Min, All Races ----------------------------------------- -- Increases rate of synthesis success +7% -- Increases synthesis skill gain rate +7% ----------------------------------------- require("scripts/globals/status"); -...
gpl-3.0
Dysoch/DyWorld
DyWorld-Dynamics/script/lualib/space-mining.lua
1
2752
function SPM_Impure() for k,v in pairs(global.dyworld.game_stats.space_mining.interfaces.impure) do if global.dyworld.game_stats.space_mining[k] then local Containers_Amount = v.amounts local Ore_Name = k local Ore_Amount = global.dyworld.game_stats.space_mining[k].i...
gpl-3.0
bn7/darkstar
scripts/zones/East_Ronfaure_[S]/npcs/qm4.lua
29
1556
----------------------------------- -- Area: East Ronfaure [S] -- NPC: qm4 "???" -- Involved in Quests: Steamed Rams -- @pos 541.425 -49.83 178.563 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems...
gpl-3.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua
83
3272
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.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$ ]]-- m = ...
gpl-2.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/modules/admin-full/dist/usr/lib/lua/luci/model/cbi/admin_system/leds.lua
83
3272
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.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$ ]]-- m = ...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c23020.lua
1
2801
--现人神 东风谷早苗 function c23020.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(c23020.spcon) e1:SetOperation(c23020.spop) c:RegisterEffect(e1) -...
gpl-2.0
simonemainardi/ntopng
scripts/lua/modules/top_scripts/top_talkers.lua
1
8746
-- -- (C) 2013-17 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "top_talkers" local top_talkers_intf = {} if(ntop.isPro()) then package.path = dirs.installdir .. "/pro/scripts/lua/modules/top_scripts/?.lua;" .. package.path local ne...
gpl-3.0
gboleda/reference
first_encounter/dire_max_prob_model.lua
1
2921
local function compute_maxprob_model_weight_distribution(raw_similarity_profile_to_entity_matrix, i, temperature, shared_raw_new_entity_mapping) -- computing the new-entity cell value -- average or max or sum by default of input vector cells... local raw_normalized_similarity_profile = nn.SoftMax()(nn.MulCo...
gpl-3.0
Zariel/bollo
lib/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua
5
5150
local AceGUI = LibStub("AceGUI-3.0") -------------------------- -- Keybinding -- -------------------------- do local Type = "Keybinding" local Version = 8 local ControlBackdrop = { bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", tile = true,...
bsd-3-clause
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua
44
1102
--[[ LuCI hd-idle (c) 2008 Yanira <forum-2008@email.de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- require("nixio.fs") m = Map...
gpl-2.0
XJMLN/MTA-PSZ
resources/[PSZMTA]/psz-core/anims.lua
1
33224
--[[ Core - animacje @author Lukasz Biegaj <wielebny@bestplay.pl> @author Karer <karer.programmer@gmail.com> @author WUBE <wube@lss-rp.pl> @author Jakub 'XJMLN' Starzak <jack@pszmta.pl @package PSZMTA.psz-core @copyright Jakub 'XJMLN' Starzak <jack@pszmta.pl> Animacje zostały zaimportowane z BestPlay (poprzez XyzzyR...
mit
bn7/darkstar
scripts/zones/Wajaom_Woodlands/mobs/Hydra.lua
20
1298
----------------------------------- -- Area: Wajaom Woodlands -- MOB: Hydra -- @pos -282 -24 -1 51 ----------------------------------- require("scripts/globals/titles"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; function onMobFight(mo...
gpl-3.0
bn7/darkstar
scripts/zones/Sacrarium/mobs/Old_Professor_Mariselle.lua
23
2328
----------------------------------- -- Area: Sacrarium -- MOB: Old Professor Mariselle ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ----------------------------------- -- onMobSpawn ----------------------------------- function onMobSpawn(mob) end; --...
gpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/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
ArmanIr/arbot
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
Arashbrsh/trea
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
HuangYuNan/thcsvr
expansions/script/c23144.lua
1
1542
--狼符『狂血断噬』 function c23144.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c23144.cost) e1:SetTarget(c23144.target) e1:SetOperation(c23144.activate) c:RegisterEffect(e1) end function c23144.filter(c) return c:IsCode(23137) an...
gpl-2.0
bn7/darkstar
scripts/zones/Temenos/mobs/Enhanced_Ahriman.lua
26
1284
----------------------------------- -- Area: Temenos Central 1floor -- NPC: Enhanced_Ahriman ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------...
gpl-3.0
bn7/darkstar
scripts/globals/items/melon_snowcone.lua
12
1233
----------------------------------------- -- ID: 5712 -- Item: Melon Snowcone -- Food Effect: 5 Min, All Races ----------------------------------------- -- HP % 10 Cap 200 -- HP Healing 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
ayourtch/luasocket6-test
test/test6clnt.lua
1
21543
local socket = require"socket" host = host or "localhost" port = port or "8383" function pass(...) local s = string.format(unpack(arg)) io.stderr:write(s, "\n") end function fail(...) local s = string.format(unpack(arg)) io.stderr:write("ERROR: ", s, "!\n") socket.sleep(3) os.exit() end function...
mit
bn7/darkstar
scripts/zones/Port_San_dOria/npcs/Avandale.lua
14
1052
----------------------------------- -- Area: Port San d'Oria -- NPC: Avandale -- Type: Standard NPC -- @zone 232 -- @pos -105.524 -9 -125.274 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ------------...
gpl-3.0
never615/ipscanner
app/src/main/assets/nmap/share/nmap/nselib/tns.lua
2
64309
--- -- TNS Library supporting a very limited subset of Oracle operations -- -- Summary -- ------- -- The library currently provides functionality to connect and authenticate -- to the Oracle database server. Some preliminary query support has been -- added, which only works against a few specific versions. The libra...
mit
bn7/darkstar
scripts/globals/spells/cursna.lua
7
2186
----------------------------------------- -- Spell: Cursna -- Removes curse and bane from target. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- onMagicCastingCheck ----------------------------------------- function onMagicCastingCheck(caster...
gpl-3.0
Dysoch/DyWorld
DyWorld-Dynamics/script/stats/food.lua
1
8700
function Food_Add(id, amount) ----- Safety Measures ----- if not global.dyworld.players[id].food then global.dyworld.players[id].food = 1000 end if not global.dyworld.players[id].food_max then global.dyworld.players[id].food_max = 1000 end if not global.dyworld.players[id].food_rate then global.dyworld.players[...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c19047.lua
1
2770
--旧地狱的鬼火巫女✿火焰猫燐 function c19047.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x100),aux.FilterBoolFunction(Card.IsFusionSetCard,0x115),true) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY...
gpl-2.0
yinjun322/quick-ng
cocos/scripting/lua-bindings/auto/api/TextureCube.lua
7
1637
-------------------------------- -- @module TextureCube -- @extend Texture2D -- @parent_module cc -------------------------------- -- reload texture cube after GLESContext reconstructed. -- @function [parent=#TextureCube] reloadTexture -- @param self -- @return bool#bool ret (return value: bool) ----------...
mit
HuangYuNan/thcsvr
expansions/script/c20054.lua
1
1295
--演出的准备 function c20054.initial_effect(c) --draw local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(c20054.cost) e1:SetTarget(c20054.target) e1:SetOperation(c20054.oper...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c501107.lua
1
2934
--原初的魔女-玛利亚 function c501107.initial_effect(c) --xyz summon c:EnableReviveLimit() aux.AddXyzProcedure(c,nil,9,3,c501107.ovfilter,aux.Stringid(501107,1),3,c501107.xyzop) --search local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCod...
gpl-2.0
davidmarshall15/Healbot
HealBot_Data/Locale/HealBot_Localization.tw.lua
1
52099
-- Taiwanese translator required --------------- -- TAIWANESE -- --------------- -- -- -- function HealBot_Lang_zhTW() ----------------- -- Translation -- ----------------- -- Class HEALBOT_DRUID = "德魯伊"; HEALBOT_HUNTER = "獵人"; HEALBOT_MAGE = "法師"; HEALBOT_PALADIN = "聖騎士"; HEALBOT_PRIEST = "牧師"; HEALBOT_R...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c26088.lua
1
1337
--化铁『备用伞特急夜晚狂欢号』 function c26088.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCondition(c26088.condition) e1:SetTarget(c26088.target) e1:SetOperation(c26088.activate) c:RegisterEffect(e1) ...
gpl-2.0
HuangYuNan/thcsvr
expansions/script/c20132.lua
1
2272
--✿昙花的人形使✿ function c20132.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSetCard,0x208),1) c:EnableReviveLimit() --c n t local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20132,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:S...
gpl-2.0
bn7/darkstar
scripts/zones/Southern_San_dOria/npcs/Thadiene.lua
17
2118
----------------------------------- -- Area: Southern San d'Oria -- NPC: Thadiene -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); requ...
gpl-3.0
WalkWifi/Openwrt
package/ramips/ui/luci-mtk/src/applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua
99
14473
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 ...
gpl-2.0
edvakf/thrift
lib/lua/TBinaryProtocol.lua
90
6141
-- -- 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...
apache-2.0
HuangYuNan/thcsvr
expansions/script/c50008102.lua
1
2852
--梅露可 舍身研究者 local m=50008102 local cm=_G["c"..m] local mil=require("expansions/script/nef/Millux") cm.is_series_with_mlk=true function cm.initial_effect(c) local e1=Effect.CreateEffect(c) --pendulum summon aux.EnablePendulumAttribute(c) --actlimit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:S...
gpl-2.0
bn7/darkstar
scripts/zones/Hall_of_Transference/npcs/_0e0.lua
14
1356
----------------------------------- -- Area: Hall of Transference -- NPC: Cermet Gate - Holla -- @pos -219 -6 280 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/H...
gpl-3.0
bn7/darkstar
scripts/zones/North_Gustaberg_[S]/npcs/qm1.lua
14
1140
----------------------------------- -- Area: North Gustaberg (S) (F-8) -- NPC: ??? -- Involved in Quests -- @pos -232 41 425 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- require...
gpl-3.0
bn7/darkstar
scripts/zones/Apollyon/mobs/Barometz.lua
17
1394
----------------------------------- -- Area: Apollyon NE -- NPC: Barometz ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ---------------------------------...
gpl-3.0
HuangYuNan/thcsvr
expansions/script/c421408.lua
1
2609
--青山蓝山 function c421408.initial_effect(c) --spsummon from hand local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_HAND) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetCondition(c421408.hspcon) e1:SetOperation(c421408.hspop...
gpl-2.0
bn7/darkstar
scripts/zones/Temenos/mobs/Temenos_Aern.lua
19
2374
----------------------------------- -- Area: Temenos -- NPC: Temenos_Aern ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------------- -...
gpl-3.0
simonemainardi/ntopng
third-party/i18n.lua-master/spec/i18n_interpolate_spec.lua
1
2228
require 'spec.fixPackagePath' local interpolate = require 'i18n.interpolate' describe('i18n.interpolate', function() it("exists", function() assert.equal('function', type(interpolate)) end) it("performs standard interpolation via string.format", function() assert.equal("My name is John, I am 13", inter...
gpl-3.0
shizhai/wprobe
build_dir/target-mips_r2_uClibc-0.9.33.2/luci/libs/nixio/dist/usr/lib/lua/nixio/util.lua
179
5824
--[[ nixio - Linux I/O library for lua Copyright 2009 Steven Barth <steven@midlink.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$ ]]-- local...
gpl-2.0