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
CosyVerif/library
src/cosy/methods/user.lua
1
12497
return function (loader) local Methods = {} local Configuration = loader.load "cosy.configuration" local Email = loader.load "cosy.email" local I18n = loader.load "cosy.i18n" local Parameters = loader.load "cosy.parameters" local Password = loader.load "cosy.password" local Tok...
mit
ncoe/rosetta
Extra_primes/Lua/extra.lua
1
1617
function next_prime_digit_number(n) if n == 0 then return 2 end local r = n % 10 if r == 2 then return n + 1 end if r == 3 or r == 5 then return n + 2 end return 2 + next_prime_digit_number(math.floor(n / 10)) * 10 end function is_prime(n) if n < 2 then ...
mit
nodemcu/nodemcu-firmware
lua_modules/ds3231/ds3231-web.lua
7
1339
local ds3231 = require('ds3231') -- ESP-01 GPIO Mapping local gpio0, gpio2 = 3, 4 local port = 80 local days = { [1] = "Sunday", [2] = "Monday", [3] = "Tuesday", [4] = "Wednesday", [5] = "Thursday", [6] = "Friday", [7] = "Saturday" } local months = { [1] = "January", [2] = "Febuary", [3] = "March"...
mit
zynjec/darkstar
scripts/zones/Port_Windurst/npcs/Kususu.lua
12
1113
----------------------------------- -- Area: Port Windurst -- NPC: Kususu -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Port_Windurst/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock = { ...
gpl-3.0
darklost/quick-ng
cocos/scripting/lua-bindings/auto/api/LayerMultiplex.lua
7
1408
-------------------------------- -- @module LayerMultiplex -- @extend Layer -- @parent_module cc -------------------------------- -- release the current layer and switches to another layer indexed by n.<br> -- The current (old) layer will be removed from it's parent with 'cleanup=true'.<br> -- param n The layer inde...
mit
seem-sky/ph-open
libs/scripting/lua/script/AudioEngine.lua
21
2392
--Encapsulate SimpleAudioEngine to AudioEngine,Play music and sound effects. local M = {} local sharedEngine = SimpleAudioEngine:sharedEngine() function M.stopAllEffects() sharedEngine:stopAllEffects() end function M.getMusicVolume() return sharedEngine:getBackgroundMusicVolume() end function M.isMusicPlayi...
mit
Colettechan/darkstar
scripts/zones/Norg/npcs/Quntsu-Nointsu.lua
27
2965
----------------------------------- -- Area: Norg -- NPC: Quntsu-Nointsu -- Title Change NPC -- @pos -67 -1 34 252 ----------------------------------- require("scripts/globals/titles"); local title2 = { HONORARY_DOCTORATE_MAJORING_IN_TONBERRIES , BUSHIDO_BLADE , BLACK_MARKETEER , CRACKER_OF_THE_SECRET_CODE , ...
gpl-3.0
Colettechan/darkstar
scripts/zones/Wajaom_Woodlands/npcs/_1f1.lua
13
1097
----------------------------------- -- Area: Wajaom Woodlands -- NPC: Engraved Tablet -- @pos -64 -11 -641 51 ----------------------------------- require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --...
gpl-3.0
shamangary/DeepCD
main/train/fun_DeepCD_2S.lua
1
11296
require 'nn' require '../utils.lua' require 'image' require 'optim' require './DistanceRatioCriterion_allW.lua' require 'cudnn' require 'cutorch' require 'cunn' require './allWeightedMSECriterion.lua' require './DataDependentModule.lua' local matio = require 'matio' des_type = arg[1] if des_type == 'rb' then dim1 =...
mit
Vadavim/jsr-darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm1_2.lua
17
2450
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Entrances) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/glob...
gpl-3.0
dani-sj/telecreed
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
aleksijuvani/premake-core
modules/gmake2/tests/test_gmake2_linking.lua
2
5886
-- -- test_gmake2_linking.lua -- Validate the link step generation for makefiles. -- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project -- local suite = test.declare("gmake2_linking") local p = premake local gmake2 = p.modules.gmake2 local project = p.project -- -- Setup and teardown -...
bsd-3-clause
Colettechan/darkstar
scripts/globals/items/slice_of_giant_sheep_meat.lua
18
1350
----------------------------------------- -- ID: 4372 -- Item: slice_of_giant_sheep_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
reaperrr/OpenRA
mods/ra/maps/allies-04/allies04-AI.lua
7
7111
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
lcf8858/Sample_Lua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/network/DeprecatedNetworkFunc.lua
39
1074
--tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of WebSocket will be deprecated begin local targetPlatform = CCApplication:getInstance():getTargetPlatform() if (kTargetIphone == targetPlatf...
mit
Vadavim/jsr-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
pando85/telegram-bot
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
aleksijuvani/premake-core
modules/vstudio/vs200x_vcproj.lua
1
35359
-- -- vs200x_vcproj.lua -- Generate a Visual Studio 2005-2008 C/C++ project. -- Copyright (c) Jason Perkins and the Premake project -- local p = premake p.vstudio.vc200x = {} local m = p.vstudio.vc200x local vstudio = p.vstudio local context = p.context local project = p.project local config = p.config local ...
bsd-3-clause
Vadavim/jsr-darkstar
scripts/zones/Windurst_Woods/npcs/Retto-Marutto.lua
27
1193
----------------------------------- -- Area: Windurst Woods -- NPC: Retto-Marutto -- Guild Merchant NPC: Bonecrafting Guild -- @pos -6.142 -6.55 -132.639 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
zynjec/darkstar
scripts/globals/abilities/pets/knockout.lua
14
1429
--------------------------------------------------- -- Knockout --------------------------------------------------- require("scripts/globals/status") require("scripts/globals/settings") require("scripts/globals/automatonweaponskills") --------------------------------------------------- function onMobSkillCheck(target...
gpl-3.0
Colettechan/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
zeromq/lzmq
src/lua/lzmq/ffi/api.lua
1
27283
-- -- Author: Alexey Melnichuk <mimir@newmail.ru> -- -- Copyright (C) 2013-2017 Alexey Melnichuk <mimir@newmail.ru> -- -- Licensed according to the included 'LICENCE' document -- -- This file is part of lua-lzqm library. -- local ffi = require "ffi" local IS_WINDOWS = (ffi.os:lower() == 'windows') or ...
mit
Akamaru/Mikubot
plugins/get.lua
1
1122
local function get_value(msg, var_name) local hash = get_redis_hash(msg, 'variables') if hash then local value = redis:hget(hash, var_name) if not value then return'Nicht gefunden, benutze "!get", um alle Variablen aufzulisten.' else return var_name..' = '..value end end end local fun...
gpl-2.0
JarnoVgr/InfectedWars
entities/entities/tripmine/init.lua
1
3005
--[[----------------------------------------------------------------------------- * Infected Wars, an open source Garry's Mod game-mode. * * Infected Wars is the work of multiple authors, * a full list can be found in CONTRIBUTORS.md. * For more information, visit https://github.com/JarnoVgr/InfectedWars * * Inf...
mit
zynjec/darkstar
scripts/zones/Windurst_Woods/npcs/Umumu.lua
9
2411
----------------------------------- -- Area: Windurst Woods -- NPC: Umumu -- Involved In Quest: Making Headlines -- !pos 32.575 -5.250 141.372 241 ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") require("scripts/globals/quests") require("scripts/globals/titles") ------------...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/items/serving_of_salmon_roe.lua
18
1326
----------------------------------------- -- ID: 5218 -- Item: serving_of_salmon_roe -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 8 -- Magic 8 -- Dexterity 2 -- Mind -1 ----------------------------------------- require("scripts/globals/status"); --------------------------------...
gpl-3.0
vimfung/LuaScriptCore
Source/iOS_OSX/LuaScriptCoreTests-iOS/coroutine.lua
1
1399
function Resume(func) coroutine.resume(func) end function Test() logic = coroutine.create(function() while true do value = GetValue() --返回function? print ("------ value = ", value); r, g, b = GetPixel(1000, 1200) --返回1000, 1200 print ("------ r, g, b = "...
apache-2.0
CosyVerif/library
src/cosy/webclient/init.lua
1
3153
return function (loader) local I18n = loader.load "cosy.i18n" local Layer = loader.require "layeredata" local MT = {} local Webclient = setmetatable ({ shown = {}, }, MT) local function replace (t) if type (t) ~= "table" then return t elseif t._ then return t.messa...
mit
zynjec/darkstar
scripts/zones/Windurst_Woods/npcs/Kyaa_Taali.lua
12
1245
----------------------------------- -- Area: Windurst Woods -- NPC: Kyaa Taali -- Type: Bonecraft Image Support -- !pos -10.470 -6.25 -141.700 241 ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") require("scripts/globals/crafting") require("scripts/globals/status") -----------...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/serving_of_herb_quus.lua
18
1383
----------------------------------------- -- ID: 4559 -- Item: serving_of_herb_quus -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 1 -- Mind -1 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
kickstandproject/asterisk-testsuite-temporary
tests/apps/queues/macro_gosub_test/test.lua
5
2314
function manager_setup(a) local m,err = a:manager_connect() if not m then fail("error connecting to asterisk: " .. err) end local login = ast.manager.action.login() if not login then fail("Failed to create manager login action") end local r = m(login) if not r then fail("error logging in to the manager:...
gpl-2.0
Vadavim/jsr-darkstar
scripts/zones/Mordion_Gaol/Zone.lua
5
1417
----------------------------------- -- -- Zone: Mordion_Gaol -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Mordion_Gaol/TextIDs"] = nil; require("scripts/zones/Mordion_Gaol/TextIDs"); ----------------------------------- -- onInitialize -------------------...
gpl-3.0
Colettechan/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Dallus-Mallus.lua
13
1074
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Dallus-Mallus -- Type: Campaign Intel Advisor -- @zone: 94 -- @pos -13.666 -2 26.180 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/plate_of_beef_paella_+1.lua
18
1474
----------------------------------------- -- ID: 5973 -- Item: Plate of Beef Paella +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 45 -- Strength 6 -- Attack % 19 Cap 95 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
zynjec/darkstar
scripts/globals/items/tonosama_rice_ball.lua
11
1150
----------------------------------------- -- ID: 4277 -- Item: Tonosama Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +15 -- Dex +3 -- Vit +3 -- Chr +3 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +50 -- Def +30 -- Double Attack...
gpl-3.0
zynjec/darkstar
scripts/globals/items/loaf_of_hobgoblin_bread.lua
11
1070
----------------------------------------- -- ID: 4328 -- Item: loaf_of_hobgoblin_bread -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 3 -- Charisma -7 -- Health Regen While Healing 2 ----------------------------------------- require("scripts/globals/status") require(...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Windurst_Waters/npcs/Yung_Yaam.lua
14
1769
----------------------------------- -- Area: Windurst Waters -- NPC: Yung Yaam -- Involved In Quest: Wondering Minstrel -- Working 100% -- @zone = 238 -- @pos = -63 -4 27 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
Gh0stblade/OpenTomb
scripts/audio/sample_override.lua
3
9006
-- OPENTOMB SAMPLE OVERRIDE SCRIPT -- by noname, June 2014 -------------------------------------------------------------------------------- -- This script allows to override native sound effects from level files or -- MAIN.SFX file with custom samples. Note that you can specify it on a -- per-game basis only, and gene...
lgpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Port_Windurst/npcs/Janshura-Rashura.lua
14
2913
----------------------------------- -- Area: Port Windurst -- NPC: Janshura Rashura -- Starts Windurst Missions -- @pos -227 -8 184 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; package.loaded["scripts/globals/missions"] = nil; ----------------------------------- ...
gpl-3.0
Colettechan/darkstar
scripts/zones/Kuftal_Tunnel/npcs/qm5.lua
13
1458
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ??? -- Involved in Mission: Bastok 8-2 ----------------------------------- package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
adminomega/extreme
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
Vadavim/jsr-darkstar
scripts/zones/Nashmau/npcs/Fhe_Maksojha.lua
14
2276
----------------------------------- -- Area: Nashmau -- NPC: Fhe Maksojha -- Type: Standard NPC -- @pos 19.084 -7 71.287 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/sett...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Gustav_Tunnel/mobs/Antares.lua
14
1024
---------------------------------- -- Area: Gustav Tunnel -- MOB: Antares -- Note: Place holder Amikiri ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Gustav_Tunnel/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- ...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/items/serving_of_bavarois.lua
18
1192
----------------------------------------- -- ID: 5729 -- Item: serving_of_bavarois -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/serving_of_bavarois.lua
18
1192
----------------------------------------- -- ID: 5729 -- Item: serving_of_bavarois -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
Colettechan/darkstar
scripts/globals/mobskills/Bilgestorm.lua
30
1415
--------------------------------------------- -- Bilgestorm -- -- Description: Deals damage in an area of effect. Additional effect: Lowers attack, accuracy, and defense -- Type: Physical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Only used at low health.*Experienced the use at 75%* -----...
gpl-3.0
Colettechan/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Buliame_RK.lua
13
3350
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Buliame, R.K. -- Type: Border Conquest Guards -- @pos -120.393 -25.822 -592.604 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
zynjec/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Rodin-Comidin.lua
11
1290
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Rodin-Comidin -- Standard Info NPC -- Involved in Missions: TOAU-41 -- !pos 17.205 -5.999 51.161 50 ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/npc_util") l...
gpl-3.0
zynjec/darkstar
scripts/zones/Arrapago_Reef/mobs/Medusa.lua
11
2583
----------------------------------- -- Area: Arrapago Reef -- NM: Medusa -- !pos -458 -20 458 -- TODO: resists, attack/def boosts ----------------------------------- local ID = require("scripts/zones/Arrapago_Reef/IDs") mixins = {require("scripts/mixins/job_special")} require("scripts/globals/titles") require("script...
gpl-3.0
stein2013/torch7
Tensor.lua
57
16339
-- additional methods for Storage local Storage = {} -- additional methods for Tensor local Tensor = {} -- types local types = {'Byte', 'Char', 'Short', 'Int', 'Long', 'Float', 'Double'} -- Lua 5.2 compatibility local log10 = math.log10 or function(x) return math.log(x, 10) end -- tostring() functions for Tensor an...
bsd-3-clause
Vadavim/jsr-darkstar
scripts/zones/Riverne-Site_A01/Zone.lua
15
1963
----------------------------------- -- -- Zone: Riverne-Site_A01 -- ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Riverne-Site_A01/TextIDs"); require("scripts/globals/status"); require("scripts/globals/se...
gpl-3.0
Colettechan/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Duke_Scox.lua
23
1566
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Duke Scox ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngaged(m...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/shall_shell.lua
18
1327
----------------------------------------- -- ID: 4484 -- Item: shall_shell -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 4 -- Defense % 16.4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
Colettechan/darkstar
scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua
26
3747
----------------------------------- -- Area: Windurst Walls -- NPC: Ojha Rhawash -- Starts and Finishes Quest: Flower Child -- @zone 239 -- @pos -209 0 -134 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windu...
gpl-3.0
Colettechan/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Larkin_CA.lua
13
1045
----------------------------------- -- Area: Jugner Forest (S) -- NPC: Larkin, C.A. -- Type: Campaign Arbiter -- @pos 50.217 -1.769 51.095 82 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Jugner_Fores...
gpl-3.0
Colettechan/darkstar
scripts/zones/Valley_of_Sorrows/mobs/Adamantoise.lua
5
1529
----------------------------------- -- Area: Valley of Sorrows -- HNM: Adamantoise ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize ----------------------------------- ...
gpl-3.0
LedeDBProxy/resurgence
hscale-0.2/test/luaUnit/optivo/common/utilsTest.lua
2
2102
--[[ Copyright (C) 2008 optivo GmbH 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WI...
gpl-2.0
Colettechan/darkstar
scripts/globals/spells/cura_iii.lua
36
4123
----------------------------------------- -- Spell: Cura III -- Restores hp in area of effect. Self target only -- From what I understand, Cura III's base potency is the same as Cure III's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga IV -- Modeled after our cure_iii.lua, which was modeled after the b...
gpl-3.0
pedja1/aNmap
dSploit/jni/nmap/nselib/ftp.lua
5
2150
--- -- FTP functions. -- -- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html local comm = require "comm" local stdnse = require "stdnse" local string = require "string" _ENV = stdnse.module("ftp", stdnse.seeall) local ERROR_MESSAGES = { ["EOF"] = "connection closed", ["TIMEOUT"] = "connection ...
gpl-3.0
Colettechan/darkstar
scripts/zones/Metalworks/npcs/Olaf.lua
13
1174
----------------------------------- -- Area: Metalworks -- NPC: Olaf -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Metalworks/TextIDs"); ---------------...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/weaponskills/scourge.lua
19
2229
----------------------------------- -- Scourge -- Great Sword weapon skill -- Skill level: N/A -- Additional effect: temporarily improves params.critical hit rate. -- params.critical hit rate boost duration is based on TP when the weapon skill is used. 100% TP will give 20 seconds of params.critical hit rate boost; thi...
gpl-3.0
tsdfsetatata/xserver
config/server/NpcTalkTable.lua
1
16696
local NpcTalkTable = { [156000001] = { ['ID'] = 156000001, --索引 ['NpcId'] = 152007014, --怪物\NPCID ['Type'] = 1, --说话类别 ['EventNum1'] = 0, --参数1 ['EventNum2'] = {5} --参数2 }, [156000002] = { ['ID'] = 156000002, ['NpcId'] = 151000004, ['Type'] = 2, ['EventNum1'] = 1, ['EventNum2'] = {1...
gpl-3.0
zynjec/darkstar
scripts/zones/West_Ronfaure/npcs/Palcomondau.lua
9
12838
----------------------------------- -- Area: West Ronfaure -- NPC: Palcomondau -- Type: Patrol -- !pos -349.796 -45.345 344.733 100 ----------------------------------- local ID = require("scripts/zones/West_Ronfaure/IDs") require("scripts/globals/pathfind") ----------------------------------- local path = { -373....
gpl-3.0
Colettechan/darkstar
scripts/zones/Beadeaux/npcs/_43b.lua
13
1745
----------------------------------- -- Area: Beadeaux -- NPC: Jail Door -- Involved in Quests: The Rescue -- @pos 56 0.1 -23 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
pedja1/aNmap
dSploit/jni/nmap/nselib/vuzedht.lua
3
17077
--- -- A Vuze DHT protocol implementation based on the following documentation: -- o http://wiki.vuze.com/w/Distributed_hash_table -- -- It currently supports the PING and FIND_NODE requests and parses the -- responses. The following main classes are used by the library: -- -- o Request - the request class containing ...
gpl-3.0
zynjec/darkstar
scripts/zones/Norg/npcs/Ranemaud.lua
9
3367
----------------------------------- -- Area: Norg -- NPC: Ranemaud -- Involved in Quest: Forge Your Destiny, The Sacred Katana -- !pos 15 0 23 252 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); local ID = require("scripts/zones/Norg/IDs"); ------------------...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Windurst_Woods/npcs/Etsa_Rhuyuli.lua
14
1474
----------------------------------- -- Area: Windurst Woods -- NPC: Etsa Rhuyuli -- Type: Standard NPC -- @pos 62.482 -8.499 -139.836 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require(...
gpl-3.0
Colettechan/darkstar
scripts/zones/Temenos/mobs/Goblin_Slaughterman.lua
23
1065
----------------------------------- -- Area: Temenos N T -- NPC: Goblin_Slaughterman ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------------...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/kalamar.lua
18
1307
----------------------------------------- -- ID: 5448 -- Item: Kalamar -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
Colettechan/darkstar
scripts/zones/Mhaura/npcs/Phoochuchu.lua
13
1542
----------------------------------- -- Area: Mhaura -- NPC: Phoochuchu -- Involved in Quest: A Thief in Norg!? -- @pos -4 -4 69 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Mh...
gpl-3.0
darklost/quick-ng
cocos/scripting/lua-bindings/auto/api/ComAttribute.lua
19
2639
-------------------------------- -- @module ComAttribute -- @extend Component -- @parent_module ccs -------------------------------- -- -- @function [parent=#ComAttribute] getFloat -- @param self -- @param #string key -- @param #float def -- @return float#float ret (return value: float) -------------------...
mit
Vadavim/jsr-darkstar
scripts/zones/Valkurm_Dunes/npcs/Fighting_Ant_IM.lua
14
3326
----------------------------------- -- Area: Valkurm Dunes -- NPC: Fighting Ant, I.M. -- Border Conquest Guards -- @pos 908.245 -1.171 -411.504 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); ...
gpl-3.0
Colettechan/darkstar
scripts/zones/Bibiki_Bay/npcs/Warmachine.lua
13
2034
----------------------------------- -- 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/zones/Bibiki_...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/mithran_tomato.lua
18
1180
----------------------------------------- -- ID: 4390 -- Item: mithran_tomato -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/items/moogle_pie.lua
18
1701
----------------------------------------- -- ID: 5561 -- Item: Moogle Pie -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- HP 20 -- MP 20 -- Strength 1 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- Intelligence 1 -- Mind 1 -- Charisma 1 ----------------------------------------- require("scr...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/moogle_pie.lua
18
1701
----------------------------------------- -- ID: 5561 -- Item: Moogle Pie -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- HP 20 -- MP 20 -- Strength 1 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- Intelligence 1 -- Mind 1 -- Charisma 1 ----------------------------------------- require("scr...
gpl-3.0
anthrotype/sile
lua-libraries/std/tree.lua
6
6900
--[[-- Tree container. Derived from @{std.container}, and inherits Container's metamethods. Note that Functions listed below are only available from the Tree prototype return by requiring this module, because Container objects cannot have object methods. @classmod std.tree @see std.container ]] local base ...
mit
zynjec/darkstar
scripts/globals/items/bowl_of_jack-o-soup.lua
11
1388
----------------------------------------- -- ID: 4522 -- Item: Bowl of Jack-o'-Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 2 (cap 120) -- Agility 3 -- Vitality -1 -- Health Regen While Healing 5 -- Ranged ACC % 8 -- Ranged ACC Cap 25 -------------------------------------...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/East_Ronfaure_[S]/npcs/qm5.lua
29
1559
----------------------------------- -- Area: East Ronfaure [S] -- NPC: qm5 "???" -- Involved in Quests: Steamed Rams -- @pos 380.015 -26.5 -22.525 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Batallia_Downs_[S]/npcs/Cavernous_Maw.lua
29
2133
----------------------------------- -- Area: Batallia Downs [S] -- NPC: Cavernous Maw -- @pos -48 0 435 84 -- Teleports Players to Batallia Downs ----------------------------------- package.loaded["scripts/zones/Batallia_Downs_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/teleports...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Castle_Oztroja/Zone.lua
19
1745
----------------------------------- -- -- Zone: Castle_Oztroja (151) -- ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Castle_Oztroja/TextI...
gpl-3.0
zynjec/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Aligi-Kufongi.lua
9
2270
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Aligi-Kufongi -- Title Change NPC -- !pos -23 -21 15 26 ----------------------------------- require("scripts/globals/titles") ----------------------------------- local eventId = 342 local titleInfo = { { cost = 200, title = ...
gpl-3.0
lcf8858/Sample_Lua
frameworks/cocos2d-x/tests/lua-tests/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 ...
mit
Vadavim/jsr-darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm4.lua
14
1031
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm4 (???) -- Notes: Opens west door @ J-9 -- @pos 92.542 -25.907 26.548 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ...
gpl-3.0
Colettechan/darkstar
scripts/zones/Abyssea-Vunkerl/npcs/Cavernous_Maw.lua
29
1194
----------------------------------- -- Area: Abyssea - Vunkerl -- NPC: Cavernous Maw -- @pos -360.000 -46.750 700.000 217 -- Notes: Teleports Players to Jugner Forest ----------------------------------- package.loaded["scripts/zones/Abyssea-Vunkerl/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/abilities/pets/zantetsuken.lua
1
2159
--------------------------------------------------- -- Zantetsuken --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); require("scripts/globals/summon"); ---------------...
gpl-3.0
darklost/quick-ng
cocos/scripting/lua-bindings/auto/api/Text.lua
7
7852
-------------------------------- -- @module Text -- @extend Widget -- @parent_module ccui -------------------------------- -- Enable shadow for the label.<br> -- todo support blur for shadow effect<br> -- param shadowColor The color of shadow effect.<br> -- param offset The offset of shadow effect.<br> -- param blurR...
mit
Vadavim/jsr-darkstar
scripts/globals/effects/aftermath.lua
30
2749
----------------------------------- -- -- EFFECT_AFTERMATH -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); if (effect:g...
gpl-3.0
zynjec/darkstar
scripts/zones/Mount_Zhayolm/mobs/Sarameya.lua
11
2571
----------------------------------- -- Area: Mount Zhayolm -- NM: Sarameya -- !pos 322 -14 -581 61 -- Spawned with Buffalo Corpse: !additem 2583 -- Wiki: http://ffxiclopedia.wikia.com/wiki/Sarameya -- TODO: PostAIRewrite: Code the Howl effect and gradual resists. ----------------------------------- mixins = {require(...
gpl-3.0
zynjec/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hadayah.lua
12
1163
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Hadayah -- Type: Alchemy Image Support -- !pos -10.470 -6.25 -141.700 241 ----------------------------------- local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs") require("scripts/globals/status") require("scripts/globals/crafting") ----...
gpl-3.0
syntafin/prosody-modules
mod_limit_auth/mod_limit_auth.lua
31
1377
-- mod_limit_auth local st = require"util.stanza"; local new_throttle = require "util.throttle".create; local period = math.max(module:get_option_number(module.name.."_period", 30), 0); local max = math.max(module:get_option_number(module.name.."_max", 5), 1); local tarpit_delay = module:get_option_number(module.nam...
mit
Vadavim/jsr-darkstar
scripts/zones/Abyssea-Konschtat/Zone.lua
33
1801
----------------------------------- -- -- Zone: Abyssea - Konschtat -- ----------------------------------- -- Research -- EventID 0x0400-0x0405 aura of boundless rage -- EventID 0x0800-0x0883 The treasure chest will disappear is 180 seconds menu. -- EventID 0x0884 Teleport? -- EventID 0x0885 DEBUG Menu --------------...
gpl-3.0
fraxken/Craftstudio-united
constructor.lua
1
6564
-- > New global variable for mt TASK = false SceneConstructor = false UI = false Core = false FrameworkLoad = false -- > Declare United global variable United = {} setmetatable(United,United) United.ActiveModule = {} -- > United Error core United.Err = {} do local Err = United.Err -- > Error metamet...
gpl-3.0
AliKhodadad/wild-man
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
Ali-2h/iranibot
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
gmorishere/lsd
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
shayanchabok555/shayan007
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
zynjec/darkstar
scripts/zones/Kazham/npcs/Popopp.lua
9
2740
----------------------------------- -- Area: Kazham -- NPC: Popopp -- Standard Info NPC ----------------------------------- function onTrade(player,npc,trade) -- item IDs -- 483 Broken Mithran Fishing Rod -- 22 Workbench -- 1008 Ten of Coins -- 1157 Sands of Silence -- 1...
gpl-3.0
Colettechan/darkstar
scripts/zones/Sea_Serpent_Grotto/mobs/Devil_Manta.lua
4
1213
----------------------------------- -- Area: Sea Serpent Grotto -- MOB: Devil Manta -- Note: Place holder Charybdis ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Sea_Serpent_Grotto/MobIDs"); ----------------------------------- -- onMobDeath --------------------...
gpl-3.0
zynjec/darkstar
scripts/globals/weaponskills/sunburst.lua
10
1319
----------------------------------- -- Sunburst -- Staff weapon skill -- Skill Level: 150 -- Deals light or darkness elemental damage. Damage varies with TP. -- Aligned with the Shadow Gorget & Aqua Gorget. -- Aligned with the Shadow Belt & Aqua Belt. -- Element: Light/Dark -- Modifiers: : STR:40% MND:40% -- 100%TP ...
gpl-3.0