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
CommandPost/CommandPost
src/plugins/finalcutpro/timeline/colorwheels.lua
2
64692
--- === plugins.finalcutpro.timeline.colorwheels === --- --- Color Wheel Enhancements. local require = require --local log = require "hs.logger".new "midicolorwheels" local deferred = require "cp.deferred" local fcp = require "cp.apple.finalcutpro" local i18n = requi...
mit
torch/nngraph
nesting.lua
4
2201
local nesting = {} local utils = require('nngraph.utils') -- Creates a clone of a tensor or of a table with tensors. function nesting.cloneNested(obj) if torch.isTensor(obj) then return obj:clone() end local result = {} for key, child in pairs(obj) do result[key] = nesting.cloneNested(child)...
bsd-3-clause
DelusionalLogic/CompoundLua
discrete.lua
1
4437
require "stack" local colorize = require "ansicolor" OPERATORS = { {Symbol = "-", Associativity = "Left", Precedence = 9, Operation = function(stack) return not stack:pop() end}, {Symbol = "^", Associativity = "Left", Precedence = 8, Operation = function(stack) return stack:pop() and stack:pop() end}, {Symbol = "v"...
mit
Elkazan/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Laimeve_RK.lua
30
3067
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Laimeve, R.K. -- Border Conquest Guards -- @pos 226.493 -12.231 260.194 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals/c...
gpl-3.0
hoku586/darkstar
scripts/zones/Port_Bastok/npcs/Steel_Bones.lua
17
1693
----------------------------------- -- Area: Port Bastok -- NPC: Steel Bones -- Standard Info NPC -- Involved in Quest: Guest of Hauteur ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts...
gpl-3.0
Elkazan/darkstar
scripts/zones/Bhaflau_Thickets/npcs/Runic_Portal.lua
17
1868
----------------------------------- -- Area: Bhaflau Thickets -- NPC: Runic Portal -- Mamook Ja Teleporter Back to Aht Urgan Whitegate -- @pos -211 -11 -818 52 ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
Elkazan/darkstar
scripts/zones/Xarcabard_[S]/Zone.lua
28
1313
----------------------------------- -- -- Zone: Xarcabard_[S] (137) -- ----------------------------------- package.loaded["scripts/zones/Xarcabard_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Xarcabard_[S]/TextIDs"); ------------------...
gpl-3.0
3scale/docker-gateway
gateway/src/apicast/configuration_loader/data_url.lua
1
1086
--- Data URL Configuration Loader -- This configuration loader parses and URL and exctracts the whole configuration JSON from it. -- The URL has to be a Data URL with urlencoded or base64 encoding. -- https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs local _M = {} local data_url = require('res...
mit
Elkazan/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Lightning.lua
17
2294
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Lightning -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/gl...
gpl-3.0
Vadavim/test
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
Vadavim/test
scripts/zones/Xarcabard/npcs/qm6.lua
17
1677
----------------------------------- -- Area: Xarcabard -- NPC: qm6 (???) -- Involved in Quests: RNG AF3 - Unbridled Passion -- @pos -254.883 -17.003 -150.818 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
hoku586/darkstar
scripts/globals/spells/bio_iii.lua
26
2604
----------------------------------------- -- Spell: Bio III -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Bio III value per point is '30' This is a constant set in the ...
gpl-3.0
leeyiw/ngx_lua_anticc
nla.lua
1
1937
-- global shared dict local config = ngx.shared.nla_config local req_count = ngx.shared.nla_req_count; local captcha_pass_list = ngx.shared.nla_captcha_pass_list local whitelist = ngx.shared.nla_whitelist -- config options local COOKIE_NAME = config:get("cookie_name") local COOKIE_KEY = config:get("cookie_key") local ...
apache-2.0
hoku586/darkstar
scripts/zones/Bastok_Markets/npcs/Wulfnoth.lua
53
1818
----------------------------------- -- Area: Bastok Markets -- NPC: Wulfnoth -- Type: Goldsmithing Synthesis Image Support -- @pos -211.937 -7.814 -56.292 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
Elkazan/darkstar
scripts/zones/Windurst_Woods/npcs/Spare_Five.lua
17
1507
----------------------------------- -- Area: Windurst Woods -- NPC: Spare Five -- 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
Elkazan/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
hoku586/darkstar
scripts/zones/Bastok_Markets/npcs/Visala.lua
14
1194
----------------------------------- -- Area: Bastok Markets -- NPC: Visala -- Guild Merchant NPC: Goldsmithing Guild -- @pos -202.000 -7.814 -56.823 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
hoku586/darkstar
scripts/zones/Caedarva_Mire/npcs/qm12.lua
14
2040
----------------------------------- -- Area: Caedarva Mire -- NPC: ??? -- @pos 456.993 -7.000 -270.815 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require...
gpl-3.0
hoku586/darkstar
scripts/commands/takegil.lua
13
1139
--------------------------------------------------------------------------------------------------- -- func: takegil <amount> <player> -- desc: Removes the amount of gil from the given player. --------------------------------------------------------------------------------------------------- cmdprops = { permissio...
gpl-3.0
hoku586/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
Vadavim/test
scripts/globals/items/cone_of_seraphs_kiss.lua
35
1399
----------------------------------------- -- ID: 5556 -- Item: cone_of_seraphs_kiss -- Food Effect: 1Hr, All Races ----------------------------------------- -- HP 15 -- MP % 16 (cap 85) -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"); -----------...
gpl-3.0
Vadavim/test
scripts/globals/items/pumpkin_cake.lua
36
1213
----------------------------------------- -- ID: 5631 -- Item: Pumpkin Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +2 -- MP Recovered while healing +4 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
otservme/global1041
data/talkactions/scripts/kills.lua
14
1396
function onSay(cid, words, param) local player = Player(cid) local fragTime = configManager.getNumber(configKeys.FRAG_TIME) if fragTime <= 0 then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You do not have any unjustified kill.") return false end local skullTime = player:getSkullTime() if skullTime...
gpl-2.0
hoku586/darkstar
scripts/zones/Southern_San_dOria/npcs/Hinaree.lua
14
1983
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hinaree -- Type: Standard NPC -- @zone 230 -- @pos -301.535 -10.199 97.698 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; --...
gpl-3.0
Elkazan/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Adelbrecht.lua
53
4980
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Adelbrecht -- Starts Quests: The Fighting Fourth -- Involved in Missions: Back to the Beginning -- CS IDs: -- 139 = 0x008B = Greetings, civilian. The Seventh Cohors of the Republican Legion's Fourth Division is currently recruiting new troops. -- ...
gpl-3.0
hoku586/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Adelbrecht.lua
53
4980
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Adelbrecht -- Starts Quests: The Fighting Fourth -- Involved in Missions: Back to the Beginning -- CS IDs: -- 139 = 0x008B = Greetings, civilian. The Seventh Cohors of the Republican Legion's Fourth Division is currently recruiting new troops. -- ...
gpl-3.0
linushsao/sky_islands_game-linus
mods/mobf_core/mobf_settings/tab_mobs.lua
3
3558
-------------------------------------------------------------------------------- -- Mob Framework Settings Mod by Sapier -- -- You may copy, use, modify or do nearly anything except removing this -- copyright notice. -- And of course you are NOT allowed to pretend you have written it. -- --! @file tab_feature_config.lu...
gpl-3.0
Vadavim/test
scripts/zones/Northern_San_dOria/npcs/Ulycille.lua
12
1894
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ulycille -- Type: Woodworking Adv. Synthesis Image Support -- @pos -183.320 9.999 269.651 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
hoku586/darkstar
scripts/zones/FeiYin/npcs/_no4.lua
14
2263
----------------------------------- -- Area: Fei'Yin -- NPC: Cermet Door (triggers Rukususu dialog) -- Type: Quest NPC -- @pos -183 0 190 204 -- Involved in Quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle -- Involved in Missions: Windurst 5-1/7-2/8-2 ----------------------...
gpl-3.0
Vadavim/test
scripts/zones/Windurst_Waters/npcs/Anja-Enja.lua
37
1052
----------------------------------- -- Area: Windurst Waters -- NPC: Anja-Enja -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/zones/Windurst_Waters/TextIDs"); ...
gpl-3.0
Elkazan/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/_5i0.lua
17
1738
----------------------------------- -- Area: Maze of Shakhrami -- Quest: Corsair Af1 "Equiped for All Occasions" -- NPC: Iron Door (Spawn Lost Soul) -- @pos 247.735 18.499 -142.267 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ---------------------------...
gpl-3.0
otservme/global1041
data/npc/lib/npc.lua
15
3407
-- Including the Advanced NPC System dofile('data/npc/lib/npcsystem/npcsystem.lua') isPlayerPremiumCallback = isPremium function msgcontains(message, keyword) local message, keyword = message:lower(), keyword:lower() if message == keyword then return true end return message:find(keyword) and not message:find('...
gpl-2.0
Azurency/CQUI_Community-Edition
Assets/UI/Popups/mappinlistpanel.lua
4
10349
---------------------------------------------------------------- -- Map Pin List Panel ---------------------------------------------------------------- local m_playerMapPins :table = {}; local m_MapPinListButtonToPinEntry :table = {}; -- map pin entries keyed to their MapPinListButton object string names. This is cu...
mit
otservme/global1041
data/npc/scripts/Gnominus.lua
2
1385
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(...
gpl-2.0
hoku586/darkstar
scripts/zones/Kazham/npcs/Mamerie.lua
17
1410
----------------------------------- -- Area: Kazham -- NPC: Mamerie -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action -------...
gpl-3.0
Elkazan/darkstar
scripts/zones/West_Ronfaure/npcs/Harvetour.lua
17
1867
----------------------------------- -- Area: West Ronfaure -- NPC: Harvetour -- Type: Outpost Vendor -- @pos -448 -19 -214 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("script...
gpl-3.0
Vadavim/test
scripts/globals/mobskills/Venom_Spray.lua
6
1047
--------------------------------------------- -- Venom -- -- Description: Deals damage in a fan shaped area. Additional effect: poison -- Type: Magical Water -- Utsusemi/Blink absorb: Ignores shadows -- Range: 10' cone -- Notes: Additional effect can be removed with Poisona. --------------------------------------...
gpl-3.0
hoku586/darkstar
scripts/commands/promote.lua
24
1172
--------------------------------------------------------------------------------------------------- -- func: promote -- desc: Promotes the player to a new GM level. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "si"...
gpl-3.0
we20/plugin
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
Elkazan/darkstar
scripts/zones/Ruhotz_Silvermines/Zone.lua
36
1131
----------------------------------- -- -- Zone: Ruhotz_Silvermines -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Ruhotz_Silvermines/TextIDs"] = nil; require("scripts/zones/Ruhotz_Silvermines/TextIDs"); ----------------------------------- -- onI...
gpl-3.0
CommandPost/CommandPost
src/extensions/cp/fn/args.lua
1
3213
--- === cp.fn.args === --- --- Functions for working with function arguments. local pack, unpack, insert = table.pack, table.unpack, table.insert local mod = {} --- cp.fn.args.only(index, ...) -> function(...) -> any --- Function --- Returns a function that only returns the argument at the specified index. --- ...
mit
hoku586/darkstar
scripts/zones/Bastok_Markets/npcs/Horatius.lua
14
2214
----------------------------------- -- Area: Bastok Markets -- NPC: Horatius -- Type: Quest Giver -- Starts and Finishes: Breaking Stones -- @pos -158.392 -5.839 -117.061 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
Vadavim/test
scripts/globals/teleports.lua
26
35946
----------------------------------- -- A collection of frequently needed teleport shortcuts. -- by ReaperX -- Coordinates marked {R} have been obtained by packet capture from retail. Don't change them. ----------------------------------- ----------------------------------- -- TELEPORT NAMES -------------------...
gpl-3.0
hoku586/darkstar
scripts/zones/Abyssea-Konschtat/npcs/qm10.lua
10
1346
----------------------------------- -- Zone: Abyssea-Konschtat -- NPC: qm10 (???) -- Spawns Fear Gorta -- @pos ? ? ? 15 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) -...
gpl-3.0
Vadavim/test
scripts/globals/spells/absorb-acc.lua
1
1537
-------------------------------------- -- Spell: Absorb-ACC -- Steals an enemy's accuracy. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ------------...
gpl-3.0
CommandPost/CommandPost
src/extensions/cp/apple/finalcutpro/main/LibrariesList.lua
1
11697
--- === cp.apple.finalcutpro.main.LibrariesList === --- --- Libraries List Module. local require = require --local log = require "hs.logger".new "LibrariesList" local axutils = require "cp.ui.axutils" local SplitGroup = require "cp.ui.SplitGroup" local Table ...
mit
Vadavim/test
scripts/globals/mobskills/Plague_Swipe.lua
6
1148
--------------------------------------------- -- Plague Swipe -- -- Description: Delivers a threefold attack in an cone effect behind user. Additional effect: Bio + Plague -- Type: Physical -- 2-3 Shadows -- Range: Backward Arc --------------------------------------------- require("/scripts/globals/settings"); req...
gpl-3.0
Pawel-Kaminski/2dGame
code/map/updateMap/enemies/dorver.lua
1
1393
EnemyDorverStatistics = { --Table contains attributes which should be loaded before the fight health = 30, magic = 40, waitingTime = 61, defence = 5 } EnemyDorver_First = { id = 1, name = "Stwór", healthPoints, magicPoints, waitingTime, remainingWaitingTime = 29, defence...
gpl-2.0
hoku586/darkstar
scripts/globals/abilities/curing_waltz_iii.lua
19
2193
----------------------------------- -- Ability: Curing Waltz III -- Heals HP to target player. -- Obtained: Dancer Level 45 -- TP Required: 50% -- Recast Time: 00:10 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onAb...
gpl-3.0
Elkazan/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
Elkazan/darkstar
scripts/zones/Mhaura/npcs/Graine.lua
34
1595
----------------------------------- -- Area: Mhaura -- NPC: Graine -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/shop"); ---------------...
gpl-3.0
otservme/global1041
data/npc/scripts/Hugo.lua
1
2012
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(...
gpl-2.0
Vadavim/test
scripts/zones/Davoi/npcs/_45d.lua
18
1498
----------------------------------- -- Area: Davoi -- NPC: Wall of Banishing -- Used In Quest: Whence Blows the Wind -- @pos 181 0.1 -218 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
tcdog001/ap_project
feeds/luci/applications/luci-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", "...
gpl-2.0
Elkazan/darkstar
scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua
36
1753
----------------------------------- -- Area: Port Windurst -- NPC: Hohbiba-Mubiba -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst...
gpl-3.0
Vadavim/test
scripts/zones/Windurst_Waters/npcs/Fuepepe.lua
19
3656
----------------------------------- -- Area: Windurst Waters -- NPC: Fuepepe -- Starts and Finishes Quest: Teacher's Pet -- Involved in Quest: Making the grade, Class Reunion -- @zone = 238 -- @pos = 161 -2 161 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;...
gpl-3.0
Elkazan/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm4.lua
19
2298
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm4 (???) (Tower 4) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos 129.587 -0.600 -235.525 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ------------------------------...
gpl-3.0
hoku586/darkstar
scripts/globals/spells/dia_ii.lua
26
2226
----------------------------------------- -- Spell: Dia II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------------------...
gpl-3.0
Elkazan/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p2.lua
28
1874
----------------------------------- -- Area: Misareaux Coast -- NPC: Dilapidated Gate -- Entrance to Riverne Site #B01 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/z...
gpl-3.0
korialuo/skynet
service/clusterd.lua
2
6777
local skynet = require "skynet" require "skynet.manager" local cluster = require "skynet.cluster.core" local config_name = skynet.getenv "cluster" local node_address = {} local node_sender = {} local node_sender_closed = {} local command = {} local config = {} local nodename = cluster.nodename() local connecting = {}...
mit
Vadavim/test
scripts/globals/spells/Sage_Etude.lua
11
1613
----------------------------------------- -- Spell: Sage Etude -- Static INT Boost, BRD 66 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- func...
gpl-3.0
quanhua92/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
hoku586/darkstar
scripts/globals/items/steamed_crab.lua
12
1289
----------------------------------------- -- ID: 4342 -- Item: steamed_crab -- Food Effect: 60Min, All Races ----------------------------------------- -- Vitality 3 -- Defense % 27 (cap 65) ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
likunpeng/cocos
QuickGame/src/framework/cc/ui/UIScrollView.lua
9
26436
--[[ Copyright (c) 2011-2014 chukong-inc.com 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 use, copy, modify, merge, publish, di...
apache-2.0
Elkazan/darkstar
scripts/zones/Metalworks/npcs/Pius.lua
19
1837
----------------------------------- -- Area: Metalworks -- NPC: Pius -- Involved In Mission: Journey Abroad -- @pos 99 -21 -12 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zon...
gpl-3.0
hoku586/darkstar
scripts/zones/Full_Moon_Fountain/bcnms/moonlit_path.lua
30
2203
----------------------------------- -- Area: Full Moon Fountain -- Name: The Moonlit Path ----------------------------------- package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/...
gpl-3.0
Elkazan/darkstar
scripts/zones/Northern_San_dOria/npcs/Jeanvirgaud.lua
19
1841
----------------------------------- -- Area: Northern San d'Oria -- NPC: Jeanvirgaud -- Outpost Teleporter NPC -- @pos 45.559 -0.199 26.300 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
Elkazan/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
Vadavim/test
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
Elkazan/darkstar
scripts/zones/Southern_San_dOria/npcs/Pourette.lua
30
2210
----------------------------------- -- Area: Southern San d'Oria -- NPC: Pourette -- Only sells when San d'Oria controlls Derfland Region ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
ff94315/luci-1
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/interface.lua
68
1060
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require("luci.sys") m = Map("luci_statistics", translate("Interface Plugin Configuration"), translate( "The interface plugin collects traffic statistics on " .. "selected interfaces." ...
apache-2.0
Vadavim/test
scripts/globals/weaponskills/brainshaker.lua
12
1517
----------------------------------- -- Brainshaker -- Club weapon skill -- Skill level: 70 -- Stuns enemy. Duration of stun varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP 300%TP -- ...
gpl-3.0
Elkazan/darkstar
scripts/globals/items/pot_of_royal_tea.lua
35
1204
----------------------------------------- -- ID: 4524 -- Item: pot_of_royal_tea -- Food Effect: 240Min, All Races ----------------------------------------- -- Vitality -1 -- Charisma 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
Elkazan/darkstar
scripts/zones/Abyssea-Attohwa/npcs/Cavernous_Maw.lua
17
1245
----------------------------------- -- Area: Abyssea - Attohwa -- NPC: Cavernous Maw -- @pos -133.197 20.242 -181.658 215 -- Notes: Teleports Players to Buburimu Peninsula ----------------------------------- package.loaded["scripts/zones/Abyssea-Attohwa/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
Elkazan/darkstar
scripts/zones/West_Sarutabaruta/npcs/Cavernous_Maw.lua
29
1519
----------------------------------- -- Area: West Sarutabaruta -- NPC: Cavernous Maw -- Teleports Players to West Sarutabaruta [S] -- @pos -2.229 0.001 -162.715 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
Elkazan/darkstar
scripts/zones/Arrapago_Reef/npcs/Meyaada.lua
17
2074
----------------------------------- -- Area: Arrapago Reef -- NPC: Meyaada -- @pos 22.446 -7.920 573.390 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missio...
gpl-3.0
Vadavim/test
scripts/zones/Aydeewa_Subterrane/npcs/qm2.lua
1
1453
----------------------------------- -- Area: Aydeewa Subterrane -- NPC: ??? (Spawn Pandemonium Warden) -- @pos -217 35 12 68 ----------------------------------- package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aydeewa_Subterrane/TextIDs"); -...
gpl-3.0
padrinoo1/vagir1
plugins/invite.lua
11
1182
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
hoku586/darkstar
scripts/globals/items/cobalt_jellyfish.lua
12
1342
----------------------------------------- -- ID: 4443 -- Item: cobalt_jellyfish -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Elkazan/darkstar
scripts/zones/Heavens_Tower/npcs/Chumimi.lua
17
5934
----------------------------------- -- Area: Heaven's Tower -- NPC: Chumimi -- Starts and Finishes Quest: The Three Magi, Recollections -- @pos 0.1 30 21 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
Vadavim/test
scripts/globals/spells/absorb-chr.lua
11
1194
-------------------------------------- -- Spell: Absorb-CHR -- Steals an enemy's Charism. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ------------...
gpl-3.0
Elkazan/darkstar
scripts/globals/items/m&p_dumpling.lua
36
1210
----------------------------------------- -- ID: 5641 -- Item: M&P Dumpling -- Food Effect: 3Min, All Races ----------------------------------------- -- Intelligence 5 -- Agility -5 -- MP 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
hoku586/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Sahnn_Dhansett.lua
14
1067
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Sahnn Dhansett -- Type: Standard NPC -- @zone 94 -- @pos 112.820 -3.122 47.857 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
3scale/docker-gateway
spec/resty/http_ng/backend/test_spec.lua
2
1368
local test_backend = require 'resty.http_ng.backend.test' local request = require 'resty.http_ng.request' local backend describe('test backend',function() before_each(function() backend = test_backend.new() end) describe('matching expectations', function() it('allows setting expectations', function() b...
mit
Vadavim/test
scripts/zones/Gusgen_Mines/npcs/Mining_Point.lua
29
1093
----------------------------------- -- Area: Gusgen Mines -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Gusgen_Mines/TextIDs"); ----------...
gpl-3.0
Azurency/CQUI_Community-Edition
Assets/Expansion1/CityBanners/citybannermanager.lua
1
202796
-- =========================================================================== -- City Banner Manager -- =========================================================================== include( "CivilizationIcon" ); include( "InstanceManager" ); include( "SupportFunctions" ); include( "LoyaltySupport" ); include( "Civ6Co...
mit
hoku586/darkstar
scripts/zones/Temple_of_Uggalepih/mobs/Manipulator.lua
17
2255
---------------------------------- -- Area: Temple of Uggalipeh -- NM: Manipulator -- Notes: Paths around the 2 staircases ----------------------------------- local path = { -17.930, -8.500, -93.215, -18.553, -7.713, -91.224, -20.226, -6.250, -89.091, -21.651, -5.005, -87.401, -23.137, -3.917, ...
gpl-3.0
hoku586/darkstar
scripts/globals/items/loaf_of_homemade_bread.lua
12
1872
----------------------------------------- -- ID: 5228 -- Item: loaf_of_homemade_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- hMP +1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) -----------------------------------...
gpl-3.0
mirbot1122/uzzbot
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
hbashton/BruhhBot
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
Elkazan/darkstar
scripts/zones/Southern_San_dOria/npcs/Adaunel.lua
13
1604
----------------------------------- -- Area: Southern San d'Oria -- NPC: Adaunel -- General Info NPC -- @zone 230 -- @pos 80 -7 -22 ------------------------------------ package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
JordanMajd/hammerspoon
lib/caffeine.lua
1
3113
local InputManager = require "lib.input-manager" --CAFFIENE-- --prevents display and system from sleeping while caffeinated --Currently broken: disables notifications while caffeinated --regularly registers user activity to keep chat status active local DISPLAY_IDLE = "displayIdle" local Caffeine = { menu = hs.menu...
mit
Vadavim/test
scripts/zones/Toraimarai_Canal/npcs/Treasure_Coffer.lua
12
3886
----------------------------------- -- Area: Toraimarai Canal -- NPC: Treasure Coffer -- Involved In Quest: Wild Card -- @zone 169 -- @pos 220 16 -50 ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
Vadavim/test
scripts/zones/Middle_Delkfutts_Tower/npcs/Treasure_Chest.lua
12
3286
----------------------------------- -- Area: Middle Delkfutt's Tower -- NPC: Treasure Chest -- Involved In Quest: Wings of Gold -- @zone 157 ----------------------------------- package.loaded["scripts/zones/Middle_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
Elkazan/darkstar
scripts/zones/Vunkerl_Inlet_[S]/npcs/Leafy_Patch.lua
45
1646
----------------------------------- -- Area: Vunkerl Inlet (S) (F-5) -- NPC: Leafy Patch -- Involved in Quests -- @pos -418 -33 576 ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- re...
gpl-3.0
hoku586/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Brazier.lua
14
4015
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Brazier -- Involved in Quests: Save my Sister -- @pos 101 -33 -59 195 (F-9) -- @pos 259 -33 99 195 (H-7) -- @pos 99 -33 98 195 (F-7) -- @pos 259 -33 -58 195 (H-9) ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Ne...
gpl-3.0
marmalade/gbsgamejam
QuickGameExample/resources/quicklua/lua_socket/tp.lua
146
3608
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $ ----------------------------------------------------------------------------- --------------------------...
mit
quanhua92/torch-android
src/3rdparty/luasocket-2.0.2/tp.lua
146
3608
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $ ----------------------------------------------------------------------------- --------------------------...
bsd-3-clause
Noiwex/skoope
lua/modules/socket/tp.lua
146
3608
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: tp.lua,v 1.22 2006/03/14 09:04:15 diego Exp $ ----------------------------------------------------------------------------- --------------------------...
mit
likunpeng/cocos
luatest/src/CocoStudioTest/CocoStudioSceneTest/TriggerCode/cons.lua
10
1517
local NodeInRect = class("NodeInRect") NodeInRect._tag = -1 NodeInRect._origin = nil NodeInRect._size = nil function NodeInRect:ctor() self._tag = -1 self._origin = nil self._size = nil self._origin = cc.p(0, 0) self._size = cc.size(0, 0) end function NodeInRect:init() return true end ...
apache-2.0