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
phcosta29/rstats
lib/vstruct/ast.lua
6
4980
-- Abstract Syntax Tree module for vstruct -- This module implements the parser for vstruct format definitions. It is a -- fairly simple recursive-descent parser that constructs an AST using Lua -- tables, and then generates lua source from it. -- See ast/*.lua for the implementations of various node types in the AST,...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/gradobicie.meta.lua
2
2839
return { extra_loadables = { enabled_generate_neon_map = { alpha_multiplier = 1, amplification = 70, light_colors = { "171 196 255 255", "129 177 230 255", "171 196 255 255", "208 220 249 255", "0 255 240 255", "0 229 255 255" }, radius...
agpl-3.0
nasomi/darkstar
scripts/zones/Upper_Jeuno/npcs/Coumuna.lua
37
1325
----------------------------------- -- Area: Upper Jeuno -- NPC: Coumuna -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- ...
gpl-3.0
parsaghx/king
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-2.0
nasomi/darkstar
scripts/commands/jail.lua
26
2109
--------------------------------------------------------------------------------------------------- -- func: jail -- desc: Sends the target player to jail. (Mordion Gaol) --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, par...
gpl-3.0
tewarid/wireshark-nordic-ble-lua
nordic_ble.lua
1
12454
-- create nordic_ble protocol dissector and its fields p_nordic_ble = Proto ("nordic_ble", "Nordic BLE sniffer meta") local hf_nordic_ble_sync_word = ProtoField.uint16("nordic_ble.sync_word", "Sync word. Always 0xBEEF.", base.HEX) local hf_nordic_ble_board_id = ProtoField.uint8("nordic_ble.board_id", "board", base...
gpl-2.0
nasomi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Tateeya.lua
34
2468
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Tateeya -- Automaton Attachment Unlocks ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ...
gpl-3.0
nasomi/darkstar
scripts/zones/Upper_Jeuno/npcs/Hinda.lua
34
1370
----------------------------------- -- Area: Upper Jeuno -- NPC: Hinda -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); ---...
gpl-3.0
MZ597/Mz597
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
agpl-3.0
nasomi/darkstar
scripts/globals/spells/foe_lullaby_ii.lua
10
1264
----------------------------------------- -- Spell: Foe Lullaby ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,sp...
gpl-3.0
nasomi/darkstar
scripts/globals/items/loaf_of_pain_de_neige.lua
35
1203
----------------------------------------- -- ID: 4292 -- Item: loaf_of_pain_de_neige -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 18 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
nasomi/darkstar
scripts/globals/items/plate_of_ic_pilav.lua
35
1942
----------------------------------------- -- ID: 5584 -- Item: plate_of_ic_pilav -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- Ran...
gpl-3.0
nasomi/darkstar
scripts/zones/Temenos/mobs/Goblin_Warlord.lua
16
1189
----------------------------------- -- Area: Temenos N T -- NPC: Goblin_Warlord ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -------------------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Kazham/npcs/Vanono.lua
19
1423
----------------------------------- -- Area: Kazham -- NPC: Vanono -- Type: Standard NPC -- @zone: 250 -- @pos -23.140 -5 -23.101 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; -------------------------------...
gpl-3.0
ngeiswei/ardour
share/scripts/export_mp4chaps.lua
5
2152
ardour { ["type"] = "EditorAction", name = "Export markers as mp4chaps", author = "Johannes Mueller", description = [[ Exports MP4chaps of all markers except xruns. The markers are stored in the export directory of the session in mp4 chapter marks format. The filename is mp4chaps.txt Note that there's always a cha...
gpl-2.0
nasomi/darkstar
scripts/globals/abilities/pets/fire_iv.lua
20
1157
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ----------------------------------------------...
gpl-3.0
nasomi/darkstar
scripts/globals/weaponskills/tachi_ageha.lua
30
1716
----------------------------------- -- Tachi Ageha -- Great Katana weapon skill -- Skill Level: 300 -- Lowers target's defense. Chance of lowering target's defense varies with TP. -- 30% Defense Down -- Duration of effect is exactly 3 minutes. -- Aligned with the Shadow Gorget, Soil Gorget. -- Aligned with the ...
gpl-3.0
nasomi/darkstar
scripts/zones/Cloister_of_Gales/bcnms/sugar-coated_directive.lua
19
1709
---------------------------------------- -- Area: Cloister of Gales -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/qu...
gpl-3.0
iuser99/BoL
Common/iFoundation_v2.lua
2
50226
require "Collision" -- class "Misc" -- { NONE = 0 ALLY = 1 ENEMY = 2 NEUTRAL = 4 ALL = 7 local AutoP = nil function ArrayContains(haystack, needle) for _, d in pairs(haystack) do if d == needle then return true end end return false end function round(num) under = math.floor(num...
gpl-2.0
shangjiyu/luci-with-extra
modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua
75
1236
-- 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. f = SimpleForm("processes", translate("Processes"), translate("This list gives an overview over currently running system processes and their status.")) f.reset...
apache-2.0
nasomi/darkstar
scripts/zones/Castle_Zvahl_Keep_[S]/Zone.lua
28
1341
----------------------------------- -- -- Zone: Castle_Zvahl_Keep_[S] (155) -- ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"...
gpl-3.0
nasomi/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua
19
1888
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Justinius -- Involved in mission : COP2-3 -- @pos 76 -34 68 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("sc...
gpl-3.0
nasomi/darkstar
scripts/globals/weaponskills/blade_chi.lua
30
1380
----------------------------------- -- Blade Chi -- Katana weapon skill -- Skill Level: 150 -- Delivers a two-hit earth elemental attack. Damage varies with TP. -- Aligned with the Thunder Gorget & Light Gorget. -- Aligned with the Thunder Belt & Light Belt. -- Element: Earth -- Modifiers: STR:30% ; INT:30% --...
gpl-3.0
znek/xupnpd
src/plugins/xupnpd_ivi.lua
6
5583
-- Copyright (C) 2011-2013 Anton Burdinuk -- clark15b@gmail.com -- https://tsdemuxer.googlecode.com/svn/trunk/xupnpd -- MP4-lo -- MP4-hi cfg.ivi_fmt='MP4-hi' cfg.ivi_video_count=100 -- genre: -- arthouse, boeviki, voennye, detective, detskiy, documentary, drama, comedy, korotkometrazhki, melodramy, zolotaya_klassika,...
gpl-2.0
nasomi/darkstar
scripts/globals/spells/vivacious_etude.lua
45
1815
----------------------------------------- -- Spell: Vivacious Etude -- Static VIT Boost, BRD 30 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function on...
gpl-3.0
thesabbir/luci
modules/luci-base/luasrc/sys.lua
40
15171
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local io = require "io" local os = require "os" local table = require "table" local nixio = require "nixio" local fs = require "nixio.fs" local uci = require "luci.model.uci" local luci = {} l...
apache-2.0
nasomi/darkstar
scripts/globals/items/sazanbaligi.lua
18
1260
----------------------------------------- -- ID: 5459 -- Item: Sazanbaligi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------...
gpl-3.0
dageq/Dage-Aliraqi
plugins/ar-map.lua
1
1868
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Dage Aliraqi ▀▄ ▄▀ ▀▄ ▄▀ BY Dage Aliraqi (@dageq) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY Dage Aliraqi ▀▄ ▄▀ ▀▄ ▄▀ map : طقس ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/metropolis_torso_knife_walk_2.meta.lua
2
2831
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
ngeiswei/ardour
share/scripts/_noisegen.lua
6
2627
ardour { ["type"] = "dsp", name = "NoiseGen", category = "Instrument", license = "MIT", author = "Ardour Team", description = [[Noise Generator (v-1.02)]] } function dsp_params () return { { ["type"] = "input", name = "White/Pink", min = 0, max = 1, default = 0, toggled = true }, { ["...
gpl-2.0
shangjiyu/luci-with-extra
applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua
36
2367
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" m = Map("qos", translate("Quality of Service"), translate("With <abbr title=\"Quality of Service\">QoS</abbr> you " .. "can prioritize n...
apache-2.0
haka-security/haka
modules/protocol/ipv4/test/getfields.lua
2
2419
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. -- Basic test that will output some basic information about the -- received packets. function bool(val) if val then...
mpl-2.0
nasomi/darkstar
scripts/zones/Valkurm_Dunes/TextIDs.lua
9
1947
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6398; -- Obtained: <item>. GIL_OBTAINED = 6399; -- Obtained <number> gil. KEYITEM_OBTAINED = 6401; -- Obtained...
gpl-3.0
pgilad/dotfiles
hammerspoon/init.lua
1
3459
hs.loadSpoon("SpoonInstall") spoon.SpoonInstall.use_syncinstall = true -- Make the alerts look nicer. hs.alert.defaultStyle.strokeColor = {white = 1, alpha = 0} hs.alert.defaultStyle.fillColor = {white = 0.05, alpha = 0.75} hs.alert.defaultStyle.radius = 10 -- Disable the slow default window animations. hs.window....
mit
nasomi/darkstar
scripts/zones/Southern_San_dOria/npcs/Coderiant.lua
36
1471
----------------------------------- -- Area: Southern San d'Oria -- NPC: Coderiant -- General Info NPC -- @zone 230 -- @pos -111 -2 33 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
nasomi/darkstar
scripts/zones/Kazham/npcs/Kocho_Phunakcham.lua
15
1103
----------------------------------- -- Area: Kazham -- NPC: Kocho Phunakcham -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ------------------------...
gpl-3.0
nasomi/darkstar
scripts/zones/Hall_of_Transference/npcs/_0e4.lua
43
1699
----------------------------------- -- Area: Hall of Transference -- NPC: Large Apparatus (Right) - Holla -- @pos -242.301 -1.849 269.867 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Hall_of_Transf...
gpl-3.0
Ingenious-Gaming/Starfall
docgen/docletsfhtml.lua
4
9812
local assert, getfenv, ipairs, loadstring, pairs, setfenv, tostring, tonumber, type = assert, getfenv, ipairs, loadstring, pairs, setfenv, tostring, tonumber, type local io = require"io" local lfs = require "lfs" local lp = require "luadoc.lp" local luadoc = require"luadoc" local package = package local string = requi...
bsd-3-clause
nasomi/darkstar
scripts/zones/Port_Bastok/npcs/Powhatan.lua
36
3269
----------------------------------- -- Area: Port Bastok -- NPC: Powhatan -- Starts & Ends Quest: Welcome to Bastok, Guest of Hauteur ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require...
gpl-3.0
aypierre42/FTP
EP6_ay_elec_interface.lua
1
2241
--Plus d'info ici : https://www.youtube.com/watch?v=I5ypmkKHklQ local p = {} m = peripheral.wrap("left") m.setTextScale(1) rednet.open("right") maxe = 4 recentre = 4 function getData() event, senderId, message, _ = os.pullEvent() if senderId == 154 and event == "rednet_message" then p = textutils.unserialize(mess...
apache-2.0
m13790115/eset
plugins/stats.lua
56
3988
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
nasomi/darkstar
scripts/zones/Horlais_Peak/bcnms/under_observation.lua
19
1703
----------------------------------- -- Area: Horlias peak -- Name: under_observation -- BCNM40 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Horlais_Peak/TextIDs"); ----------------------------------- -- EXAMP...
gpl-3.0
thesabbir/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua
68
1923
-- 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. cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true pbx_ael = module:option(ListV...
apache-2.0
parsaghx/king
plugins/Groups.lua
3
2452
local function chat_list(msg) local data = load_data(_config.moderation.data) local groups = 'groups' if not data[tostring(groups)] then return 'No groups at the moment' end local message = 'List Groups king:\n*Use #join [ID-CHAT] to join\n*Use #link [ID-CHAT] send li...
gpl-2.0
telergybot/kelidestan5454
plugins/owners.lua
284
12473
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
dani-sj/abbasdani
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
nasomi/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
Hello23-Ygopro/ygopro-ds
expansions/script/c2700113.lua
1
1124
--P-076 Reality Bender Janemba local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableBattleAttribute(c) ds.AddSetcode(c,CHARACTER_JANEMBA,SPECIAL_TRAIT_EVIL_INCARNATE) ds.AddPlayProcedure(c,COLOR_BLUE,1,3) --critical ds.EnableCritical(c) --deflect ds.Ena...
gpl-3.0
shangjiyu/luci-with-extra
modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua
7
17494
-- Licensed to the public under the Apache License 2.0. module "luci.sys.zoneinfo.tzdata" TZ = { { 'Africa/Abidjan', 'GMT0' }, { 'Africa/Accra', 'GMT0' }, { 'Africa/Addis Ababa', 'EAT-3' }, { 'Africa/Algiers', 'CET-1' }, { 'Africa/Asmara', 'EAT-3' }, { 'Africa/Bamako', 'GMT0' }, { 'Africa/Bangui', 'WAT-1' }, ...
apache-2.0
nasomi/darkstar
scripts/zones/RuLude_Gardens/npcs/Maat.lua
17
9450
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Maat -- Starts and Finishes Quest: Limit Break Quest 1-5 -- Involved in Quests: Beat Around the Bushin -- @zone 243 -- @pos 8 3 118 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; package.loa...
gpl-3.0
nasomi/darkstar
scripts/commands/addeffect.lua
24
1711
--------------------------------------------------------------------------------------------------- -- func: addeffect -- desc: Adds the given effect to the given player. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, par...
gpl-3.0
mlem/wesnoth
data/campaigns/tutorial/lua/character_selection.lua
22
2203
-- #textdomain wesnoth-tutorial -- Allows the player to choose whether they want to play Konrad or Li’sar -- for the tutorial local helper = wesnoth.require "lua/helper.lua" local T = helper.set_wml_tag_metatable {} local wml_actions = wesnoth.wml_actions local _ = wesnoth.textdomain "wesnoth-tutorial" function wml_...
gpl-2.0
nasomi/darkstar
scripts/globals/items/balik_sandvici.lua
35
1435
----------------------------------------- -- ID: 5590 -- Item: Balik Sandvici -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 3 -- Agility 1 -- Intelligence 3 -- Mind -2 -- Ranged ACC 5 ----------------------------------------- require("scripts/globals/status"); -...
gpl-3.0
nasomi/darkstar
scripts/zones/Balgas_Dais/npcs/Armoury_Crate.lua
36
1024
----------------------------------- -- Area: Balgas Dais -- NPC: Armoury Crate -- Balgas Dais Burning Cicrcle Armoury Crate ----------------------------------- package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/...
gpl-3.0
nasomi/darkstar
scripts/globals/weaponskills/keen_edge.lua
30
1342
----------------------------------- -- Keen Edge -- Great Axe weapon skill -- Skill level: 150 -- Delivers a single hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modifiers: STR:35% ...
gpl-3.0
nasomi/darkstar
scripts/zones/Ifrits_Cauldron/TextIDs.lua
3
1737
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6384; -- Ob...
gpl-3.0
sugao516/gltron-code
scripts/layout.lua
1
1451
layouts = { "single" = { count = 1, positions = { { origin = { x = 0, y = 0 }, width = { x = 1, y = 1 } } } types = { "map" } players = { nil } } "dual-split" = { count = 2, positions = { { origin = { x = 0, y = 0 }, width = { x = 1, y = 0.5 } }, { origin = { x = 0, y = 0....
gpl-2.0
thesabbir/luci
libs/luci-lib-nixio/axTLS/www/lua/download.lua
180
1550
#!/usr/local/bin/lua require"luasocket" function receive (connection) connection:settimeout(0) local s, status = connection:receive (2^10) if status == "timeout" then coroutine.yield (connection) end return s, status end function download (host, file, outfile) --local f = assert (io.open (outfile, "w")) loc...
apache-2.0
nasomi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#3.lua
19
1218
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: HomePoint#3 -- @pos -108 -6 -108 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("s...
gpl-3.0
nasomi/darkstar
scripts/zones/Uleguerand_Range/npcs/Fissure.lua
19
1692
----------------------------------- -- Area: Uleguerand Range -- NPC: Fissure -- Teleports players from underground to surface -- @pos 380.267 34.859 -179.655 5 -- @pos 460.339 -29.137 220.311 5 -- @pos 180.207 -77.147 500.276 5 ----------------------------------- package.loaded["scripts/zones/Uleguerand_Range/T...
gpl-3.0
amirik22/i4bot
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
nasomi/darkstar
scripts/globals/items/pamama_tart.lua
35
1447
----------------------------------------- -- ID: 4563 -- Item: pamama_tart -- Food Effect: 1hour, All Races ----------------------------------------- -- HP 10 -- MP 10 -- Dexterity -1 -- Intelligence 3 -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status...
gpl-3.0
thesabbir/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua
75
2451
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. if luci.http.formvalue("cbid.luci.1._list") then luci.http.redirect(luci.dispatcher.build_url("admin/system/flashops/backupfiles") .. "?display=list") elseif ...
apache-2.0
thesabbir/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-app.lua
137
15546
cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "") app_alarmreceiver:value("yes", "Load") app_alarmreceiver:value("no", "Do Not Load") app_al...
apache-2.0
nasomi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Shajaf.lua
34
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Shajaf -- 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/Binary_Tap.lua
13
1709
--------------------------------------------------- -- Binary Tap -- Attempts to absorb two buffs from a single target, or otherwise steals HP. -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any buf...
gpl-3.0
ZuoGuocai/Atlas
lib/proxy/filter.lua
41
1906
module("proxy.filter", package.seeall) local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance) local config = require(config_file) local whitelist = config.whitelist local blacklist = config.blacklist local log = require("proxy.log") local level = log.level local write_log = log.writ...
gpl-2.0
thesabbir/luci
applications/luci-app-meshwizard/luasrc/model/cbi/freifunk/meshwizard.lua
92
6917
-- wizard rewrite wip local uci = require "luci.model.uci".cursor() local sys = require "luci.sys" local util = require "luci.util" local ip = require "luci.ip" local community = "profile_" .. (uci:get("freifunk", "community", "name") or "Freifunk") local mesh_network = ip.IPv4(uci:get_first(community, "community", "...
apache-2.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/metropolis_torso_heavy_walk_4.meta.lua
2
2817
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
nasomi/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Zorchorevi_RK.lua
30
3059
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Zorchorevi, R.K. -- Outpost Conquest Guards -- @pos -242.487 -1 -402.772 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); ...
gpl-3.0
nasomi/darkstar
scripts/zones/Quicksand_Caves/mobs/Centurio_IV-VII.lua
16
1428
----------------------------------- -- Area: Quicksand Caves -- MOB: Centurio IV-VII -- Pops in Bastok mission 8-1 "The Chains that Bind Us" ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Quicksand_Caves/TextIDs"); ----------------------------------- -- on...
gpl-3.0
Hello23-Ygopro/ygopro-ds
expansions/script/c27001068.lua
1
1182
--BT1-058 Full Power Son Gohan local ds=require "expansions.utility_dbscg" local scard,sid=ds.GetID() function scard.initial_effect(c) ds.EnableLeaderAttribute(c) ds.AddSetcode(c,CHARACTER_SON_GOHAN_ADOLESCENCE,SPECIAL_TRAIT_SAIYAN,CHARACTER_INCLUDES_SON_GOHAN,SPECIAL_TRAIT_EARTHLING) --draw ds.AddSingleAutoAttack(...
gpl-3.0
sugao516/gltron-code
scripts/video.lua
1
2185
-- very similiar to setupSoundTracks() in audio.lua function setupArtpackPaths() artpacks = c_loadDirectory(ePath.ART); local i,name for i,name in ipairs(artpacks) do io.write("found artpack: ", name) io.write("\n") end for i,name in ipairs(artpacks) do if name == settings.current_artpack then current_ar...
gpl-2.0
icplus/OP-SDK
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
nasomi/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Uphra-Kophra_WW.lua
30
3061
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Uphra-Kophra, W.W. -- Outpost Conquest Guards -- @pos -242.487 -1 -402.772 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest")...
gpl-3.0
appaquet/torch-android
src/3rdparty/nnx/LSTM.lua
2
13235
------------------------------------------------------------------------ --[[ LSTM ]]-- -- Long Short Term Memory architecture. -- Ref. A.: http://arxiv.org/pdf/1303.5778v1 (blueprint for this module) -- B. http://web.eecs.utk.edu/~itamar/courses/ECE-692/Bobby_paper1.pdf -- C. https://github.com/wojzaremba/lstm -- Expe...
bsd-3-clause
mkjanke/Focus-Points
focuspoints.lrdevplugin/ShowMetadata.lua
3
4125
--[[ Copyright 2016 Whizzbang Inc 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 Unless required by applicable law or agreed to in writin...
apache-2.0
shangjiyu/luci-with-extra
applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua
73
1071
-- Copyright 2019 John Crispin <blogic@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.ltqtapi", package.seeall) function index() if not nixio.fs.access("/etc/config/telephony") then return end page = node("admin", "telephony") page.target = firstchild() page.title...
apache-2.0
nasomi/darkstar
scripts/zones/La_Theine_Plateau/npcs/qm3.lua
28
2035
----------------------------------- -- Area: La Theine Plateau -- NPC:??? (qm3) -- Involved in Quest: I Can Hear A Rainbow ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/La_Theine_Plateau/TextIDs")...
gpl-3.0
nasomi/darkstar
scripts/zones/Giddeus/Zone.lua
28
1653
----------------------------------- -- -- Zone: Giddeus (145) -- ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Giddeus/TextIDs"); ----------------------------------- ...
gpl-3.0
lorandszakacs/eu4-mods
dance-of-the-dragons/common/defines.lua
1
83116
NDefines = { NGame = { START_DATE = "1444.11.11", END_DATE = "1821.1.2", MAX_RANDOM_NEW_WORLD = "1492.1.1" }, NDiplomacy = { MAX_CLIENT_STATES = 10, -- Max client states for one country ALLOW_LEADER_DEMAND_TOGGLE = 0, -- Whether or not player is allowed to set if warleader can negotiate for them VASS...
mit
nasomi/darkstar
scripts/zones/Bastok_Markets/npcs/Cleades.lua
17
3519
----------------------------------- -- Area: Bastok Markets -- NPC: Cleades -- Type: Mission Giver -- @pos -358 -10 -168 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scr...
gpl-3.0
nasomi/darkstar
scripts/zones/Lower_Jeuno/npcs/Treasure_Coffer.lua
17
74578
----------------------------------- -- Area: Lower Jeuno -- NPC: Treasure Coffer -- Type: Add-on NPC -- @pos 41.169 3.899 -51.005 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
nasomi/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tachi.lua
16
1477
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated Tachi ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- functio...
gpl-3.0
nasomi/darkstar
scripts/zones/Metalworks/npcs/Hugues.lua
24
1864
----------------------------------- -- Area: Metalworks -- NPC: Hugues -- Type: Smithing Synthesis Image Support -- @pos -106.336 2.000 26.117 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"...
gpl-3.0
nasomi/darkstar
scripts/globals/items/sprig_of_cibol.lua
35
1209
----------------------------------------- -- ID: 5234 -- Item: sprig_of_cibol -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
nasomi/darkstar
scripts/zones/Spire_of_Dem/npcs/_0j3.lua
51
1321
----------------------------------- -- Area: Spire_of_Dem -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Dem/TextIDs"); ---------------...
gpl-3.0
vrld/Panoptes
slam.lua
1
4956
-- Simple L?VE Audio Manager -- -- Copyright (c) 2011 Matthias Richter -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to us...
gpl-3.0
nasomi/darkstar
scripts/zones/Nashmau/npcs/Yohj_Dukonlhy.lua
24
1449
----------------------------------- -- Area: Nashmau -- NPC: Yohj Dukonlhy -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
joshk/FrameworkBenchmarks
frameworks/Lua/lapis/web.lua
72
5957
local lapis = require("lapis") local db = require("lapis.db") local Model do local _obj_0 = require("lapis.db.model") Model = _obj_0.Model end local config do local _obj_0 = require("lapis.config") config = _obj_0.config end local insert do local _obj_0 = table insert = _obj_0.insert end local sort do loc...
bsd-3-clause
tst2005/lua-sha1
sha1.lua
6
9945
local sha1 = { _VERSION = "sha.lua 0.5.0", _URL = "https://github.com/kikito/sha.lua", _DESCRIPTION = [[ SHA-1 secure hash computation, and HMAC-SHA1 signature computation in Lua (5.1) Based on code originally by Jeffrey Friedl (http://regex.info/blog/lua/sha1) And modified by Eike Deck...
mit
nasomi/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
nasomi/darkstar
scripts/zones/San_dOria-Jeuno_Airship/TextIDs.lua
9
1088
-- 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 = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtain...
gpl-3.0
nasomi/darkstar
scripts/zones/Castle_Oztroja/npcs/_47v.lua
17
1251
----------------------------------- -- Area: Castle Oztroja -- NPC: _47v (Handle) -- Notes: Opens door _472 from behind -- @pos -61 0 -36 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_O...
gpl-3.0
TeamHypersomnia/Augmentations
hypersomnia/content/official/gfx/metropolis_torso_knife_prim_6.meta.lua
2
2606
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
Wouterz90/SuperSmashDota
Game/scripts/vscripts/statcollection/lib/statcollection.lua
1
20151
--[[ Integrating the library into your scripts 1. Download the statcollection from github and merge the scripts folder into your game/YOUR_ADDON/ folder. 2. In your addon_game_mode.lua file, copy this line at the top: require('statcollection/init') 3. Go into the scripts/vscripts/statcollection folder and inside the `...
mit
nasomi/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#4.lua
19
1216
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: HomePoint#4 -- @pos -99 -6 -68 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("scr...
gpl-3.0
nasomi/darkstar
scripts/globals/weaponskills/ruinator.lua
30
1646
----------------------------------- -- Ruinator -- Axe weapon skill -- Skill level: 357 -- Description: Delivers a four-hit attack. params.accuracy varies with TP -- In order to obtain Ruinator, the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all addition...
gpl-3.0
amirhacker135/mmkingtm1
plugins/inpm.lua
11
2850
do function run(msg, matches) if msg.to.id == our_id then local data = load_data(_config.moderation.data) if matches[1] == 'join' and data[tostring(matches[2])] then if is_banned(msg.from.id, matches[2]) then return 'شما بن هستید' end if is_gbanned(msg.from.id) then return 'شما از تمام...
gpl-2.0
nasomi/darkstar
scripts/globals/abilities/pets/thunder_ii.lua
20
1162
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ----------------------------------------------...
gpl-3.0