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
nasomi/darkstar
scripts/zones/AlTaieu/mobs/Jailer_of_Justice.lua
23
1460
----------------------------------- -- Area: Al'Taieu -- NM: Jailer of Justice ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob...
gpl-3.0
Gamerbude/Wasteland
mods/default/nodes.lua
1
42034
-- mods/default/nodes.lua local modpath = core.get_modpath("default") dofile(modpath .. "/nodes/fences.lua") minetest.register_node("default:stone", { description = "Stone", tiles = {"default_stone.png"}, is_ground_content = true, groups = {cracky=default.dig.stone, stone=1}, drop = 'default:cobble', legacy_mi...
gpl-3.0
nasomi/darkstar
scripts/zones/Bastok_Mines/npcs/Phara.lua
17
2550
----------------------------------- -- Area: Bastok Mines -- NPC: Phara -- Starts and Finishes Quest: The doorman (start) -- Involved in Quest: The Talekeeper's Truth -- @zone 234 -- @pos 75 0 -80 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; -----------------...
gpl-3.0
actboy168/YDWE
Development/Component/plugin/w3x2lni/script/gui/old/show_version.lua
3
2122
local changelog = require 'share.changelog' local window local canvas local current local index local page = 0 local color = { NEW = {0, 173, 60}, CHG = {217, 163, 60}, FIX = {200, 30, 30}, UI = {111, 77, 150}, } return function(window_, canvas_) window = window_ canvas = canvas_ canvas:l...
gpl-3.0
nasomi/darkstar
scripts/zones/Windurst_Woods/npcs/Spare_Two.lua
17
1506
----------------------------------- -- Area: Windurst Woods -- NPC: Spare Two -- Working 100% -- Involved in quest: A Greeting Cardian ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); package.loaded["...
gpl-3.0
nasomi/darkstar
scripts/zones/Bhaflau_Thickets/mobs/Marid.lua
25
1326
----------------------------------- -- Area: Bhaflau Thickets -- MOB: Marid -- Note: Place holder Mahishasura ----------------------------------- require("scripts/zones/Bhaflau_Thickets/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,ki...
gpl-3.0
nasomi/darkstar
scripts/zones/Qufim_Island/npcs/Giant_Footprint.lua
34
1078
----------------------------------- -- Area: Qufim Island -- NPC: Giant Footprint -- Involved in quest: Regaining Trust -- @pos 501 -11 354 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Qufim_Isla...
gpl-3.0
mbsg/openwrt-extra
luci/applications/luci-app-epg-oscam/luasrc/model/cbi/sattv/epg.lua
7
1293
require("luci.tools.webadmin") --[[ config epg_set option enable 1 option time 30 option src_url http://dm.epg.net.cn/a/epg.xml option src_url1 http://dm1.epg.net.cn/a/epg.xml option src_url2 http://epg.xltvrobbs.net/atmosphere/epg/epg.xml option src_url3 http://epg1.xltvrobbs.net/atmosphere/epg/ep...
gpl-2.0
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/applications/luci-splash/luasrc/controller/splash/splash.lua
50
4511
module("luci.controller.splash.splash", package.seeall) local uci = luci.model.uci.cursor() local util = require "luci.util" function index() entry({"admin", "services", "splash"}, cbi("splash/splash"), _("Client-Splash"), 90) entry({"admin", "services", "splash", "splashtext" }, form("splash/splashtext"), _("Splas...
gpl-2.0
zhangxiangxiao/GalaxyZoo
main.lua
1
7528
--[[ Main driver for Galaxy Zoo By Xiang Zhang @ New York University --]] -- Necessary functionalities require("nn") require("cutorch") require("cunn") require("gnuplot") -- Local requires require("data") require("model") require("train") require("test") require("mui") -- Configurations dofile("config.lua") -- Addt...
bsd-2-clause
emlyn/chdk
CHDK/SCRIPTS/EXAM/lotto.lua
9
3245
--Example lua script that generates random numbers in various ways. idea & code by PhyrePhoX and msl --[[ @title lotto demo @param n how many @default n 6 @param s min @default s 1 @param r max @default r 49 @param e exclusive 1=on @default e 1 @param o sort @default o 1 @param z sound 1=on @default z 1 ]] --The comme...
gpl-2.0
nasomi/darkstar
scripts/zones/Windurst_Woods/npcs/Amimi.lua
28
2051
----------------------------------- -- Area: Windurst Woods -- NPC: Amimi -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------------...
gpl-3.0
coolflyreg/gs
server/lualib/agent/account_handler.lua
1
3686
local skynet = require("skynet") local log = require "syslog" local handler = require("agent.handler") local errorcode = require("protocols.errorcode") local validator = require("protocols.validator") local databases = require("db.databases") require "framework" local REQUEST = {} handler = handler.new(REQUEST) func...
gpl-2.0
OrenjiAkira/lua-html
lib/lux/struct/Queue.lua
1
2968
--[[ -- -- Copyright (c) 2013-2016 Wilson Kazuo Mizutani -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for any purpose, ...
mit
shangjiyu/luci-with-extra
applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev.lua
39
3926
-- Copyright 2015 Jian Chang <aa65535@live.com> -- Licensed to the public under the Apache License 2.0. local m, s, o, e, a if luci.sys.call("pidof ss-redir >/dev/null") == 0 then m = Map("shadowsocks-libev", translate("ShadowSocks-libev"), translate("ShadowSocks-libev is running")) else m = Map("shadowsocks-libev"...
apache-2.0
amirik22/i4bot
plugins/vote.lua
615
2128
do local _file_votes = './data/votes.lua' function read_file_votes () local f = io.open(_file_votes, "r+") if f == nil then print ('Created voting file '.._file_votes) serialize_to_file({}, _file_votes) else print ('Values loaded: '.._file_votes) f:close() end return loadfile (_file_votes)()...
gpl-2.0
nasomi/darkstar
scripts/zones/Jugner_Forest/npcs/Geruru_WW.lua
30
3050
----------------------------------- -- Area: Jugner Forest -- NPC: Geruru, W.W. -- Type: Border Conquest Guards -- @pos 570.732 -2.637 553.508 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); r...
gpl-3.0
nasomi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kantila.lua
34
1032
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kantila -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ----------...
gpl-3.0
nasomi/darkstar
scripts/globals/mobskills/Numbshroom.lua
50
1146
--------------------------------------------------- -- Queasyshroom -- Additional effect: Fires a mushroom cap, dealing damage to a single target. Additional effect: paralysis. -- Range is 14.7 yalms. -- Piercing damage Ranged Attack. -- Secondary modifiers: INT: 20%. ---------------------------------------------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua
17
2049
----------------------------------- -- Area: Ghelsba_Outpost -- NPC: Hut Door -- @pos -165.357 -11.672 77.771 140 ------------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("s...
gpl-3.0
OlegOAndreev/bx
scripts/toolchain.lua
1
39973
-- -- Copyright 2010-2016 Branimir Karadzic. All rights reserved. -- License: https://github.com/bkaradzic/bx#license-bsd-2-clause -- local bxDir = path.getabsolute("..") local naclToolchain = "" function toolchain(_buildDir, _libDir) newoption { trigger = "gcc", value = "GCC", description = "Choose GCC flavo...
bsd-2-clause
hande-qmc/hande
documentation/manual/input/cookbook/examples/canonical_twist.lua
1
1038
-- Function to generate a random twist. function get_twist() ks = {} -- 3D UEG. for i = 0, 2 do -- For the UEG, we only need to generate a twist vectors whose components lie in -- the range [-pi/L, pi/L). In HANDE we interpret the input ks as being in terms -- of 2pi/L, so we need to...
lgpl-2.1
nasomi/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/Zone.lua
6
4724
----------------------------------- -- -- Zone: Grand_Palace_of_HuXzoi (34) -- ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Grand_Palace_of_HuXzoi/TextID...
gpl-3.0
nasomi/darkstar
scripts/zones/Sealions_Den/mobs/Omega.lua
16
1290
----------------------------------- -- Area: Sealions Den -- NPC: Omega ----------------------------------- require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; -------------------------...
gpl-3.0
rdococ/rmod
meseconveyor.lua
1
3434
local rmod_conveyor_top_animated = { name = "rmod_conveyor_top_animated.png", backface_culling = true, animation = { type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 1/8, -- it takes 1 second to move 16 pixels, thus 1/16 seconds to move one pixel. but this animation is two pixel...
unlicense
nasomi/darkstar
scripts/zones/Port_Bastok/npcs/Blabbivix.lua
17
1227
----------------------------------- -- Area: Port Bastok -- NPC: Blabbivix -- Standard merchant, though he acts like a guild merchant -- @pos -110.209 4.898 22.957 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
nasomi/darkstar
scripts/globals/keyitems.lua
32
120326
--------------------------------------------- -- -- KEYITEMS IDS -- --------------------------------------------- ZERUHN_REPORT = 1; PALBOROUGH_MINES_LOGS = 2; BLUE_ACIDITY_TESTER = 3; RED_ACIDITY_TESTER = 4; LETTER_TO_...
gpl-3.0
shangjiyu/luci-with-extra
libs/luci-lib-nixio/docsrc/CHANGELOG.lua
68
1043
--- Changes and improvements. module "nixio.CHANGELOG" --- Service Release. -- <ul> -- <li>Added getifaddrs() function.</li> -- <li>Added getsockopt(), setsockopt(), getsockname() and getpeername() -- directly to TLS-socket objects unifying the socket interface.</li> -- <li>Added support for CyaSSL as cryptographical ...
apache-2.0
nasomi/darkstar
scripts/zones/Port_Bastok/npcs/Ehrhard.lua
34
1432
----------------------------------- -- Area: Port Bastok -- NPC: Ehrhard -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_Bastok/Tex...
gpl-3.0
silver-des/silverbot
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
dageq/Dage-Aliraqi
plugins/ar-Dage_Aliraqi4.lua
1
2154
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Dage Aliraqi ▀▄ ▄▀ ▀▄ ▄▀ BY Dage Aliraqi (@dageq) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY Dage Aliraqi ▀▄ ▄▀ ▀▄ ▄▀ help dev : اوامر المطور ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
nasomi/darkstar
scripts/zones/Windurst_Waters/npcs/Ness_Rugetomal.lua
30
1746
----------------------------------- -- Area: Windurst Waters -- NPC: Ness Rugetomal -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Wat...
gpl-3.0
mrfoxirani/mehran
plugins/lyrics.lua
695
2113
do local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs' local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5' local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect' local function getInfo(query) print('Getting info of ' .. query) local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY ...
gpl-2.0
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_system/admin.lua
79
3356
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
gpl-2.0
nasomi/darkstar
scripts/zones/Port_Jeuno/npcs/Karl.lua
17
2503
----------------------------------- -- Area: Port Jeuno -- NPC: Karl -- Starts and Finishes Quest: Child's Play -- @pos -60 0.1 -8 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ---------------------------------...
gpl-3.0
shakfu/start-vm
config/patchbox/awesome/themes/xresources/theme.lua
10
4272
--------------------------------------------- -- Awesome theme which follows xrdb config -- -- by Yauhen Kirylau -- --------------------------------------------- local theme_assets = require("beautiful.theme_assets") local xresources = require("beautiful.xresources") local dpi = xresources.apply_d...
mit
nasomi/darkstar
scripts/zones/Pashhow_Marshlands/npcs/Sharp_Tooth_IM.lua
30
3065
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Sharp Tooth, I.M. -- Type: Border Conquest Guards -- @pos 536.291 23.517 694.063 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/metropolis_torso_knife_walk_3.meta.lua
2
2832
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 0.43000000715255737, amplification = 140, light_colors = { "89 31 168 255", "48 42 88 255", "61 16 123 0" }, radius = { x = 80, y = 80 }, standard_deviati...
agpl-3.0
aikon-com-cn/NoxicDB
other/calendar_events/Pirate's Day/Pirate's Day/commoners.lua
1
2015
local SPELL_GOSSIP_PIRATES_DAY = 50531 local GOSSIP_TEXT_COMMONER = 13044 local GOSSIP_OPTON_COMMONER = "I'd like to dress as a prate." function OnSpawn(pUnit, event) pUnit:FullCastSpell(SPELL_GOSSIP_PIRATES_DAY) end function OnGossip(pUnit, event, pPlayer) pUnit:GossipCreateMenu(GOSSIP_TEXT_COMMONER, pPlayer, 0) pUn...
agpl-3.0
nasomi/darkstar
scripts/globals/items/divine_sword.lua
42
1076
----------------------------------------- -- ID: 16549 -- Item: Divine Sword -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/water_surface_21.meta.lua
66
1953
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 60, light_colors = { "122 171 252 255", "118 168 252 255", "103 159 251 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 ...
agpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/water_surface_1.meta.lua
66
1953
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 60, light_colors = { "122 171 252 255", "118 168 252 255", "103 159 251 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 ...
agpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/water_surface_30.meta.lua
66
1953
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 60, light_colors = { "122 171 252 255", "118 168 252 255", "103 159 251 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 ...
agpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/water_surface_11.meta.lua
66
1953
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 60, light_colors = { "122 171 252 255", "118 168 252 255", "103 159 251 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 ...
agpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/water_surface_13.meta.lua
66
1953
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 60, light_colors = { "122 171 252 255", "118 168 252 255", "103 159 251 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 ...
agpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/water_surface_20.meta.lua
66
1953
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 60, light_colors = { "122 171 252 255", "118 168 252 255", "103 159 251 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 ...
agpl-3.0
Hello23-Ygopro/ygopro-ds
expansions/script/c27003100.lua
1
1149
--BT3-090 No Openings Son Goku local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,SPECIAL_TRAIT_SAIYAN,CHARACTER_SON_GOKU_CHILDHOOD,CHARACTER_INCLUDES_SON_GOKU) ds.AddPlayProcedure(c,COLOR_YELLOW,1,2) --play ds.AddSing...
gpl-3.0
Hello23-Ygopro/ygopro-ds
expansions/script/c27003195.lua
1
1202
--TB1-039 Iron Skin Battler Chappil local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,SPECIAL_TRAIT_ALIEN,SPECIAL_TRAIT_UNIVERSE_9,SPECIAL_TRAIT_INCLUDES_UNIVERSE) ds.AddPlayProcedure(c,COLOR_BLUE,2,2) --double strike ...
gpl-3.0
iuser99/BoL
Common/SidasAutoCarryPlugin - Khazix.lua
2
1747
--[[ SAC Kha'Zix Plugin Version 1.0 - Initial release Version 1.2 - Converted to iFoundation_v2 --]] require "iFoundation_v2" local SkillQ = Caster(_Q, 325, SPELL_TARGETED) local SkillW = Caster(_W, 1030, SPELL_LINEAR_COL, 1835, 0.225, 110, true) local SkillE = Caster(_E, 600, SPELL_CIRCLE, math.huge, 0, 1...
gpl-2.0
shangjiyu/luci-with-extra
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/network.lua
58
6060
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local sys = require "luci.sys" local fs = require "nixio.fs" local has_pptp = fs.access("/usr/sbin/pptp") local ha...
apache-2.0
Hello23-Ygopro/ygopro-ds
expansions/script/c27002005.lua
1
1399
--BT2-003 Babidi, Creator of Evil local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableLeaderAttribute(c) ds.AddSetcode(c,CHARACTER_EVIL_WIZARD_BABIDI) --power up ds.AddActivateMainSkill(c,0,DS_LOCATION_LEADER,scard.powop,nil,scard.powtg,DS_EFFECT_FLAG_CAR...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/calico_shot_3.meta.lua
2
2275
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 80, light_colors = { "138 46 0 255", "255 252 252 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 }, generate_desaturation ...
agpl-3.0
nasomi/darkstar
scripts/zones/Port_Windurst/npcs/Rottata.lua
19
1832
----------------------------------- -- Area: Port Windurst -- NPC: Rottata -- Outpost Teleporter NPC -- @pos 193.111 -12.999 215.638 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("sc...
gpl-3.0
nasomi/darkstar
scripts/globals/spells/sandstorm.lua
31
1153
-------------------------------------- -- Spell: Sandstorm -- Changes the weather around target party member to "dusty." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------...
gpl-3.0
nasomi/darkstar
scripts/globals/items/bowl_of_zoni_broth.lua
35
1689
----------------------------------------- -- ID: 5618 -- Item: bowl_of_zoni_broth -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 10 -- MP 10 -- Strength 1 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- HP Recovered While Healing 1 -- MP Recovered While Healing 1 -------------...
gpl-3.0
shangjiyu/luci-with-extra
build/luadoc/luadoc/lp.lua
175
4389
---------------------------------------------------------------------------- -- Lua Pages Template Preprocessor. -- -- @release $Id: lp.lua,v 1.7 2007/04/18 14:28:39 tomas Exp $ ---------------------------------------------------------------------------- local assert, error, getfenv, loadstring, setfenv = assert, erro...
apache-2.0
nasomi/darkstar
scripts/zones/Selbina/npcs/Lombaria.lua
32
1031
----------------------------------- -- Area: Selbina -- NPC: Lombaria -- Map Seller NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/magic_maps"); ------------...
gpl-3.0
coolflyreg/gs
common/protocols/equipment.lua
1
1266
-- 装备信息(17XX) local equipment = {} equipment.types = [[ ]] equipment.c2s = [[ equipment_all 1701 { # 获取全部装备信息 - 1701 request { } response { equipments 0 : *equipment # 装备列表 } } equipment_one 1702 { # 获取单个装备信息 - 1702 request { id 0 : integer # 玩家装备ID } response { ...
gpl-2.0
nasomi/darkstar
scripts/zones/Bastok_Mines/npcs/Arva.lua
35
1293
----------------------------------- -- Area: Bastok Mines -- NPC: Arva -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); ------------...
gpl-3.0
nasomi/darkstar
scripts/globals/mobskills/Throat_Stab.lua
18
1115
--------------------------------------------- -- Throat Stab -- -- Description: Deals damage to a single target reducing their HP to 5%. Resets enmity. -- Type: Physical -- Utsusemi/Blink absorb: No -- Range: Single Target -- Notes: Very short range, easily evaded by walking away from it. ----------------...
gpl-3.0
SudoHelper/SecurityBot
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
agpl-3.0
actboy168/YDWE
Development/Component/plugin/w3x2lni/script/prebuilt/search.lua
3
5048
local messager = require 'share.messager' local lang = require 'share.lang' local key_cache = {} local function get_key(w2l, type, id) if not key_cache[type] then local t = {} for key, meta in pairs(w2l:metadata()[type]) do t[meta.id] = key end key_cache[type] = t end...
gpl-3.0
icplus/OP-SDK
package/ramips/ui/luci-mtk/src/libs/nixio/docsrc/nixio.TLSSocket.lua
173
2926
--- TLS Socket Object. -- TLS Sockets contain the underlying socket and context in the fields -- "socket" and "context". -- @cstyle instance module "nixio.TLSSocket" --- Initiate the TLS handshake as client with the server. -- @class function -- @name TLSSocket.connect -- @usage This function calls SSL_connect(). -- @...
gpl-2.0
nasomi/darkstar
scripts/zones/Windurst_Woods/npcs/Kuoh_Rhel.lua
19
3723
----------------------------------- -- Area: Windurst Woods -- NPC: Kuoh Rhel -- Type: Standard NPC -- @zone: 241 -- @pos 131.437 -6 -102.723 -- Starts quests: Chocobilious, In a Stew -- Note: In a Stew should only repeat once per conquest tally. The tally is not implemented at time of -- writing this ques...
gpl-3.0
actboy168/YDWE
Development/Component/plugin/w3x2lni/script/gui/new/page/select.lua
3
2314
local lang = require 'share.lang' local ui = require 'gui.new.template' local ev = require 'gui.event' local template = ui.container { style = { FlexGrow = 1, Padding = 4 }, ui.container{ font = { size = 18 }, style = { JustifyContent = 'flex-start' }, ui.button { style = { ...
gpl-3.0
nasomi/darkstar
scripts/zones/Quicksand_Caves/npcs/Treasure_Coffer.lua
17
3922
----------------------------------- -- Area: Quicksand Caves -- NPC: Treasure Coffer -- @zone 208 -- @pos 615 -6 -681 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/g...
gpl-3.0
nasomi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Yafaaf.lua
38
1080
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Yafaaf -- Type: Standard Merchant -- @pos 76.889 -7 -140.379 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); req...
gpl-3.0
appaquet/torch-android
src/3rdparty/nn/BatchNormalization.lua
30
5615
--[[ This file implements Batch Normalization as described in the paper: "Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift" by Sergey Ioffe, Christian Szegedy This implementation is useful for inputs NOT coming from convol...
bsd-3-clause
vrld/Panoptes
states/game.lua
1
1897
local st = {} local modes, active local canvas = { love.graphics.newCanvas(), love.graphics.newCanvas(), love.graphics.newCanvas(), } function st:enter() love.graphics.setBackgroundColor(30,28,25) if show_tutorial then modes = {Modes.blocks} else modes = {Modes.blocks, Modes.pong, Modes.snake} end active ...
gpl-3.0
nasomi/darkstar
scripts/zones/Monastic_Cavern/npcs/Magicite.lua
19
1598
----------------------------------- -- Area: Monastic Cavern -- NPC: Magicite -- Involved in Mission: Magicite -- @pos -22 1 -66 150 ----------------------------------- package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0
nasomi/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Credaurion_RK.lua
30
3113
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Credaurion, R.K. -- Outpost Conquest Guards -- @pos -40.079 -0.642 -148.785 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
nasomi/darkstar
scripts/globals/weaponskills/randgrith.lua
18
2391
----------------------------------- -- Randgrith -- Club weapon skill -- Skill level: N/A -- Lowers target's evasion. Gullintani/Mjollnir: Temporarily improves params.accuracy. -- Available only when equipped with the Relic Weapons Gullintani (Dynamis use only), Mjollnir, or a Charged Molva Maul. -- Aftermath: Ad...
gpl-3.0
dageq/Dage-Aliraqi
libs/XMLElement.lua
569
4025
-- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence. -- updated for module-free world of lua 5.3 on April 2 2015 -- Not documented at all, but not interesting enough to warrant documentation anyway. local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ...
gpl-2.0
shakfu/start-vm
config/artful/awesome/vicious/widgets/org_all.lua
4
2000
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- * (c) org-awesome, Damien Leone --------------------------------------------------- -- {{{ Grab environment local io = { lines = io.lines } local setmetatable = set...
mit
nasomi/darkstar
scripts/zones/West_Ronfaure/npcs/Molting_Moth_IM.lua
30
3047
----------------------------------- -- Area: West Ronfaure -- NPC: Molting Moth, I.M. -- Border Conquest Guards -- @pos -560.292 -0.961 -576.655 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
nasomi/darkstar
scripts/zones/Nashmau/npcs/Mamaroon.lua
34
1532
----------------------------------- -- Area: Nashmau -- NPC: Mamaroon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); ----------...
gpl-3.0
nasomi/darkstar
scripts/zones/Chamber_of_Oracles/bcnms/shattering_stars.lua
19
1938
----------------------------------- -- Area: Qu'Bia Arena -- Name: Shattering stars - Maat Fight -- @pos -221 -24 19 206 ----------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Sacrificial_Chamber/TextIDs"); --...
gpl-3.0
nicholas-leonard/nn
Padding.lua
17
2404
local Padding, parent = torch.class('nn.Padding', 'nn.Module') -- pad puts in [pad] amount of [value] over dimension [dim], starting at index [index] in that dimension. If pad<0, index counts from the left. If pad>0 index counts from the right -- index = 1 pads before index 1. index = 2 pads starting before index 2 ...
bsd-3-clause
Hello23-Ygopro/ygopro-ds
expansions/script/c27002025.lua
1
1382
--BT2-022 Mind Controlling Babidi local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,CHARACTER_EVIL_WIZARD_BABIDI) ds.AddPlayProcedure(c,COLOR_RED,2,4) --play ds.AddSingleAutoPlay(c,0,nil,scard.pltg,scard.plop,DS_EFFEC...
gpl-3.0
Maxsteam/99998888
plugins/badkhah.lua
1
62124
do function run(msg, matches) return " BlackWolf Omade nanatono begad kos nane ha BlackWolf Omade nanatono begad kos nane ha BlackWolf Omade nanatono begad kos nane ha BlackWolf Omade nanatono begad kos nane ha BlackWolf Omade nanatono begad kos nane ha BlackWolf Omade nanatono begad kos nane ha BlackWolf Omade nana...
gpl-2.0
nasomi/darkstar
scripts/globals/items/prized_beef_stewpot.lua
36
1898
----------------------------------------- -- ID: 5549 -- Item: Prized Angler's Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 100 -- MP +20 -- Strength +4 -- Agility +2 -- Mind +2 -- HP Recovered while healing +9 -- MP Recovered while healing +3 -...
gpl-3.0
nasomi/darkstar
scripts/zones/Port_San_dOria/npcs/Meuxtajean.lua
36
1376
----------------------------------- -- Area: Port San d'Oria -- NPC: Meuxtajean -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/Te...
gpl-3.0
shangjiyu/luci-with-extra
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
1
19046
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. require("luci.ip") require("luci.model.uci") local knownParams = { -- --Widget -- Name -- Default(s) -- Description -- Option(s) { "Service", { -- initialisation and daemon options { ListValue, "...
apache-2.0
ld-test/pop3
examples/example.lua
1
1049
local pop3 = require "pop3" local some_mail = { host = os.getenv("LUA_MAIL_HOST") or '127.0.0.1'; username = os.getenv("LUA_MAIL_USER") or 'me@host.local'; password = os.getenv("LUA_MAIL_PASS") or 'mypassword'; } local mbox = pop3.new() mbox:open(some_mail.host, some_mail.port or '110') print('open :', m...
mit
mpeterv/ltq
src/ltq/compile.lua
1
1913
local builtins = require "ltq.builtins" local utils = require "ltq.utils" -- Returns loadable representation of value. local function repr(v) if v == nil then return "nil" elseif v == true then return "true" elseif v == false then return "false" elseif type(v) == "number" then if v ...
mit
nasomi/darkstar
scripts/zones/Upper_Jeuno/npcs/Areebah.lua
37
1300
----------------------------------- -- Area: Upper Jeuno -- NPC: Areebah -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- ...
gpl-3.0
nasomi/darkstar
scripts/globals/spells/bluemagic/jet_stream.lua
27
1767
----------------------------------------- -- Spell: Jet Stream -- Delivers a threefold attack. Accuracy varies with TP -- Spell cost: 47 MP -- Monster Type: Birds -- Spell Type: Physical (Blunt) -- Blue Magic Points: 4 -- Stat Bonus: DEX+2 -- Level: 38 -- Casting Time: 0.5 seconds -- Recast Time: 23 seconds ...
gpl-3.0
nasomi/darkstar
scripts/zones/Temenos/mobs/Enhanced_Dragon.lua
16
1290
----------------------------------- -- 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
Hello23-Ygopro/ygopro-ds
expansions/script/c2700063.lua
1
1576
--P-043 Caulifla Running Wild local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableLeaderAttribute(c) ds.AddSetcode(c,SPECIAL_TRAIT_ALIEN,SPECIAL_TRAIT_SAIYAN,CHARACTER_CAULIFLA,SPECIAL_TRAIT_UNIVERSE_6,SPECIAL_TRAIT_INCLUDES_UNIVERSE) --power up ds.AddAct...
gpl-3.0
anthillsocial/bicrophonic1
lib/gps.lua
1
4332
-- Swamp Bike Opera embedded system for Kaffe Matthews -- Copyright (C) 2012 Wolfgang Hauptfleisch, Dave Griffiths -- -- 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 L...
gpl-2.0
nasomi/darkstar
scripts/commands/addkeyitem.lua
27
1334
--------------------------------------------------------------------------------------------------- -- func: @addkeyitem <ID> <player> -- desc: Adds a key item to the player. --------------------------------------------------------------------------------------------------- require("scripts/globals/keyitems"); ...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/bulwark_shot_3.meta.lua
8
2731
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 90, light_colors = { "255 0 0 255", "255 252 252 255" }, radius = { x = 80, y = 80 }, standard_deviation = 6 }, generate_desaturation =...
agpl-3.0
nasomi/darkstar
scripts/zones/Bibiki_Bay/npcs/Warmachine.lua
17
1965
----------------------------------- -- Area: Bibiki Bay -- NPC: Warmachine -- @zone 4 -- @pos -345.236 -3.188 -976.563 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zon...
gpl-3.0
nasomi/darkstar
scripts/zones/Toraimarai_Canal/npcs/_4pc.lua
19
1798
----------------------------------- -- Area: Toraimarai Canal -- NPC: Marble Door -- Involved In Windurst Mission 7-1 -- @pos 132 12 -19 169 169 ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; require("scripts/zones/Toraimarai_Canal/TextIDs"); -----------------------...
gpl-3.0
nasomi/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/Ebon_Panel.lua
19
3729
----------------------------------- -- Area: The Garden of RuHmet -- NPC: Ebon_Panel -- @pos 100.000 -5.180 -337.661 35 | Mithra Tower -- @pos 740.000 -5.180 -342.352 35 | Elvaan Tower -- @pos 257.650 -5.180 -699.999 35 | Tarutaru Tower -- @pos 577.648 -5.180 -700.000 35 | Galka Tower ---------------------------...
gpl-3.0
ngeiswei/ardour
share/scripts/s_selection.lua
2
2399
ardour { ["type"] = "Snippet", name = "Editor Selection" } function factory () return function () -- http://manual.ardour.org/lua-scripting/class_reference/#ArdourUI:Selection -- the Ardour Selection can include multiple items -- (regions, tracks, ranges, markers, automation, midi-notes etc) local sel = Editor:get...
gpl-2.0
nasomi/darkstar
scripts/zones/Davoi/npcs/Sedal-Godjal.lua
19
3630
----------------------------------- -- 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
nasomi/darkstar
scripts/globals/items/juglan_jumble.lua
36
1363
----------------------------------------- -- ID: 5923 -- Item: Juglan Jumble -- Food Effect: 5 Min, All Races ----------------------------------------- -- HP Healing 5 -- MP Healing 8 -- Bird Killer 12 -- Resist Paralyze 12 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
thesabbir/luci
modules/luci-base/luasrc/http/protocol/mime.lua
68
2161
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- This class provides functions to guess mime types from file extensions and -- vice versa. module("luci.http.protocol.mime", package.seeall) require("luci.util") MIME_TYPES = { ["txt"]...
apache-2.0
Maxsteam/99998888
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0