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
dendisuhubdy/cardpeek
dot_cardpeek_dir/scripts/calypso/c376n3.lua
15
44100
-- -- This file is part of Cardpeek, the smart card reader utility. -- -- Copyright 2009-2013 by Alain Pannetrat <L1L1@gmx.com> -- -- Cardpeek is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3...
gpl-3.0
starlightknight/darkstar
scripts/globals/items/bowl_of_soy_ramen.lua
11
1523
----------------------------------------- -- ID: 6458 -- Item: bowl_of_soy_ramen -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +50 -- STR +5 -- VIT +5 -- AGI +3 -- Attack +10% (cap 170) -- Ranged Attack +10% (cap 170) -- Resist Slow +10 ----------------------------------------- requir...
gpl-3.0
Maxsteam/4568584657657
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
ironjade/DevStack
LanCom/DesignPattern/LUA/MultisetAsArray.lua
1
5284
#!/usr/local/bin/lua --[[ Copyright (c) 2004 by Bruno R. Preiss, P.Eng. $Author: brpreiss $ $Date: 2004/11/27 12:59:04 $ $RCSfile: MultisetAsArray.lua,v $ $Revision: 1.1 $ $Id: MultisetAsArray.lua,v 1.1 2004/11/27 12:59:04 brpreiss Exp $ --]] require "Multiset" require "Array" --{ -- Multi...
apache-2.0
gedads/Neodynamis
scripts/zones/RuLude_Gardens/npcs/Laityn.lua
17
1202
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Laityn -- Involved In Quest: Recollections ----------------------------------- require("scripts/globals/quests"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --...
gpl-3.0
starlightknight/darkstar
scripts/zones/Newton_Movalpolos/npcs/Sleakachiq.lua
11
1184
----------------------------------- -- Area: Newton Movalpolos -- NPC: Sleakachiq -- !pos 162.504 14.999 136.901 12 ----------------------------------- local ID = require("scripts/zones/Newton_Movalpolos/IDs") ----------------------------------- function onTrade(player, npc, trade) local yPos = player:getYPos() ...
gpl-3.0
gedads/Neodynamis
scripts/zones/Northern_San_dOria/npcs/Commojourt.lua
17
1568
----------------------------------- -- Area: Northern San d'Oria -- NPC: Commojourt -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/global...
gpl-3.0
soccermitchy/heroku-lapis
opt/src/luarocks/src/luarocks/fetch.lua
1
15122
--- Functions related to fetching and loading local and remote files. --module("luarocks.fetch", package.seeall) local fetch = {} package.loaded["luarocks.fetch"] = fetch local fs = require("luarocks.fs") local dir = require("luarocks.dir") local type_check = require("luarocks.type_check") local path = require("luaro...
gpl-2.0
gedads/Neodynamis
scripts/zones/Northern_San_dOria/npcs/Icoua.lua
3
1051
----------------------------------- -- Area: Northern San d'Oria -- NPC: Icoua -- Type: Standard NPC -- @zone 231 -- !pos 87.719 -1 9.256 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; -------------...
gpl-3.0
starlightknight/darkstar
scripts/zones/Halvung/IDs.lua
8
1525
----------------------------------- -- Area: Halvung ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.HALVUNG] = { text = { NOTHING_HAPPENS = 119, -- Nothing happens... ITEM_CANNOT_BE_OBTAINED = 6...
gpl-3.0
gedads/Neodynamis
scripts/zones/Sea_Serpent_Grotto/npcs/Bou_the_Righteous.lua
3
1168
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Bou the Righteous -- Type: Involved in the "Sahagin Key Quest" -- @zone 176 -- !pos -125.029 46.568 -334.778 -- ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ------------------------------...
gpl-3.0
dani-sj/mahandany
plugins/location.lua
185
1565
-- Implement a command !loc [area] which uses -- the static map API to get a location image -- Not sure if this is the proper way -- Intent: get_latlong is in time.lua, we need it here -- loadfile "time.lua" -- Globals -- If you have a google api key for the geocoding/timezone api do local api_key = nil local base_...
gpl-2.0
gedads/Neodynamis
scripts/zones/Waughroon_Shrine/bcnms/thief_in_norg.lua
30
2064
----------------------------------- -- Area: Waughroon_Shrine -- Name: A Thief in Norg?! -- Norg Quest ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("s...
gpl-3.0
mmaxs/pull_requests--ettercap
src/lua/share/scripts/http_requests.lua
12
2720
--- -- -- Created by Ryan Linn and Mike Ryan -- Copyright (C) 2012 Trustwave Holdings, Inc. description = "Script to show HTTP requsts"; local http = require("http") local packet = require("packet") local bin = require("bit") hook_point = http.hook packetrule = function(packet_object) -- If this isn't a tcp pa...
gpl-2.0
starlightknight/darkstar
scripts/globals/items/rolanberry_daifuku.lua
11
2066
----------------------------------------- -- ID: 6339 -- Item: rolanberry_daifuku -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +20 -- VIT +3 -- Accuracy +10% (cap 50) -- Ranged Accuracy +10% (cap 50) -- Magic Accuracy +3 -- Pet: -- HP +20 -- VIT +3 -- Accuracy +10% (cap 75) -- Range...
gpl-3.0
starlightknight/darkstar
scripts/zones/Riverne-Site_B01/npcs/Unstable_Displacement.lua
9
1230
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement ----------------------------------- local ID = require("scripts/zones/Riverne-Site_B01/IDs"); require("scripts/globals/settings") require("scripts/globals/quests") require("scripts/globals/status") require("scripts/globals/bcn...
gpl-3.0
starlightknight/darkstar
scripts/zones/Northern_San_dOria/npcs/Arnau.lua
9
1245
----------------------------------- -- Area: Northern San d'Oria -- NPC: Arnau -- Involved in Mission: Save the Children -- !pos 148 0 139 231 ----------------------------------- require("scripts/globals/missions"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(playe...
gpl-3.0
Craige/prosody-modules
mod_http_muc_log/mod_http_muc_log.lua
15
8601
local mt = require"util.multitable"; local datetime = require"util.datetime"; local jid_split = require"util.jid".split; local nodeprep = require"util.encodings".stringprep.nodeprep; local uuid = require"util.uuid".generate; local it = require"util.iterators"; local gettime = require"socket".gettime; local url = requir...
mit
starlightknight/darkstar
scripts/zones/Port_San_dOria/npcs/Ceraulian.lua
9
5082
----------------------------------- -- Area: Port San d'Oria -- NPC: Ceraulian -- Involved in Quest: The Holy Crest -- !pos 0 -8 -122 232 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); l...
gpl-3.0
sbyrnes321/S4
examples/fabry_perot/fresnel.lua
7
1431
-- Outputs the Fresnel coefficients for different angles and polarizations -- Note that these are the power coefficients. The plots should match -- those on Wikipedia. S = S4.NewSimulation() S:SetLattice({1,0}, {0,1}) S:SetNumG(1) -- Material definition S:AddMaterial("Dielectric", {4,0}) -- real and imag par...
gpl-2.0
starlightknight/darkstar
scripts/zones/Konschtat_Highlands/npcs/Shattered_Telepoint.lua
9
1969
----------------------------------- -- Area: Konschtat Highlands -- NPC: Shattered telepoint -- !pos 135 19 220 108 ----------------------------------- local ID = require("scripts/zones/Konschtat_Highlands/IDs") require("scripts/globals/keyitems") require("scripts/globals/missions") -----------------------------------...
gpl-3.0
starlightknight/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Eozdei.lua
9
2468
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- Mob: Eo'zdei -- Animation Sub 0 Pot Form -- Animation Sub 1 Pot Form (reverse eye position) -- Animation Sub 2 Bar Form -- Animation Sub 3 Ring Form ----------------------------------- local ID = require("scripts/zones/Grand_Palace_of_HuXzoi/IDs")...
gpl-3.0
gedads/Neodynamis
scripts/zones/Sacrarium/npcs/Treasure_Chest.lua
17
2934
----------------------------------- -- Area: Sacrarium -- NPC: Treasure Chest -- @zone 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Sa...
gpl-3.0
gedads/Neodynamis
scripts/zones/Chamber_of_Oracles/Zone.lua
30
1741
----------------------------------- -- -- Zone: Chamber_of_Oracles (168) -- ----------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Chamber_of_Oracles/TextIDs"); --------------...
gpl-3.0
gedads/Neodynamis
scripts/zones/Northern_San_dOria/npcs/Mevaloud.lua
17
1452
----------------------------------- -- Area: Northern San d'Oria -- NPC: Mevaloud -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/globals/...
gpl-3.0
gedads/Neodynamis
scripts/zones/Windurst_Waters/npcs/Ten_of_Hearts.lua
3
1058
----------------------------------- -- Area: Windurst Waters -- NPC: Ten of Hearts -- Type: Standard NPC -- @zone 238 -- !pos -49.441 -5.909 226.524 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ------...
gpl-3.0
starlightknight/darkstar
scripts/zones/Inner_Horutoto_Ruins/IDs.lua
9
2622
----------------------------------- -- Area: Inner Horutoto Ruins (192) ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.INNER_HORUTOTO_RUINS] = { text = { PORTAL_SEALED_BY_3_MAGIC = 8, -- The Sealed Portal ...
gpl-3.0
starlightknight/darkstar
scripts/globals/spells/aisha_ichi.lua
12
1837
----------------------------------------- -- Spell: Aisha: Ichi ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end funct...
gpl-3.0
pedro-andrade-inpe/terrame
src/lua/configure.lua
3
34796
------------------------------------------------------------------------------------------- -- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling. -- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org -- This code is part of the TerraME framework. -- This framework is f...
lgpl-3.0
starlightknight/darkstar
scripts/globals/abilities/pets/attachments/inhibitor_ii.lua
11
1119
----------------------------------- -- Attachment: Inhibitor II ----------------------------------- require("scripts/globals/automaton") require("scripts/globals/status") ----------------------------------- function onEquip(pet) updateModPerformance(pet, dsp.mod.STORETP, 'inhibitor_ii_mod', 10) pet:addMod(dsp....
gpl-3.0
soccermitchy/heroku-lapis
opt/src/luarocks/src/luarocks/fs/win32/tools.lua
15
12541
--- fs operations implemented with third-party tools for Windows platform abstractions. -- Download http://unxutils.sourceforge.net/ for Windows GNU utilities -- used by this module. --module("luarocks.fs.win32.tools", package.seeall) local tools = {} local fs = require("luarocks.fs") local dir = require("luarocks.di...
gpl-2.0
sebastianlis/OOP-Samples-for-Corona-SDK
classes/list/View.lua
1
1697
require "classes.constants.screen" View={} function View:new() local this = display.newGroup() local public = this local private = {} local widget = require("widget") local tableView = widget.newTableView({ left = screen.left, top = screen.top+67, width = screen.right-displ...
mit
4GkitIoT/Summer-2015-kits
modules/commandline.lua
1
1675
-- -- Copyright (C) 2015 Orange -- -- This software is distributed under the terms and conditions of the 'Apache-2.0' -- license which can be found in the file 'LICENSE' in this package distribution -- or at 'http://www.apache.org/licenses/LICENSE-2.0'. -- lpty = require "lpty" if bashsessions==nil then b...
apache-2.0
disslove85/NOVA1-BOT
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
gedads/Neodynamis
scripts/zones/Western_Adoulin/npcs/Clemmar.lua
3
1585
----------------------------------- -- Area: Western Adoulin -- NPC: Clemmar -- Type: Standard NPC and Quest NPC -- Involved with Quest: 'A Certain Substitute Patrolman' -- @zone 256 -- !pos -12 0 12 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/quests"); ------...
gpl-3.0
starlightknight/darkstar
scripts/globals/spells/bluemagic/sandspray.lua
12
1492
----------------------------------------- -- Spell: Sandspray -- Blinds enemies within a fan-shaped area originating from the caster -- Spell cost: 43 MP -- Monster Type: Beastmen -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 66 -- Casting Time: 3 seconds -- Recast Time: 90 second...
gpl-3.0
starlightknight/darkstar
scripts/globals/items/apingaut_snow_cone.lua
11
1263
----------------------------------------- -- ID: 6224 -- Item: Apingaut snow cone -- Food Effect: 30 Min, All Races ----------------------------------------- -- MP +25% (cap 105) -- INT +6 -- MND +6 -- Magic Atk. Bonus +14 -- Lizard Killer +6 ----------------------------------------- require("scripts/globals/status") r...
gpl-3.0
starlightknight/darkstar
scripts/globals/items/broiled_carp.lua
11
1070
----------------------------------------- -- ID: 4586 -- Item: Broiled Carp -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -1 -- Ranged ATT % 14 (cap 45) ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------...
gpl-3.0
padrinoo1/televagir
plugins/cpu.lua
244
1893
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' you...
gpl-2.0
raymondtfr/forgottenserver
data/spells/scripts/custom/polymorph.lua
10
1084
local condition = Condition(CONDITION_OUTFIT) condition:setParameter(CONDITION_PARAM_TICKS, 20000) condition:setOutfit(0, 230, 0, 0, 0, 0) condition:setOutfit(0, 231, 0, 0, 0, 0) condition:setOutfit(0, 232, 0, 0, 0, 0) condition:setOutfit(0, 233, 0, 0, 0, 0) condition:setOutfit(0, 234, 0, 0, 0, 0) condition:setOutfit(0...
gpl-2.0
mishin/Algorithm-Implementations
Rabin_Karp/Lua/Yonaba/rabin_karp.lua
26
1376
-- Rabin-Karp string searching algorithm implementation -- See: http://en.wikipedia.org/wiki/Rabin%E2%80%93Karp_string_search_algorithm -- Note: This implementation is based on the Python implementation of Shivam Bansal -- See : https://github.com/kennyledet/Algorithm-Implementations/blob/master/Rabin_Karp/Python/shiv...
mit
gedads/Neodynamis
scripts/zones/Windurst_Waters/npcs/HomePoint#1.lua
3
1275
----------------------------------- -- Area: Windurst Waters -- NPC: HomePoint#1 -- !pos -32.022 -5.000 131.741 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Waters/TextIDs"); require("script...
gpl-3.0
dimitarcl/premake-dev
src/actions/make/make_solution.lua
2
3139
-- -- make_solution.lua -- Generate a solution-level makefile. -- Copyright (c) 2002-2012 Jason Perkins and the Premake project -- local make = premake.make local solution = premake.solution local project = premake.project -- -- Generate a GNU make "solution" makefile, with support for the new platforms API. -- ...
bsd-3-clause
gedads/Neodynamis
scripts/globals/items/konigskuchen.lua
12
1443
----------------------------------------- -- ID: 5614 -- Item: konigskuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 8 -- Magic % 3 -- Magic Cap 13 -- Intelligence 2 -- hMP +1 ----------------------------------------- require("scripts/globals/status"); --------------------...
gpl-3.0
gedads/Neodynamis
scripts/zones/Horlais_Peak/TextIDs.lua
3
1199
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6384; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6386; -- Ob...
gpl-3.0
RememberTheAir/GroupButler
lua/groupbutler/plugins/pin.lua
1
3123
local config = require "groupbutler.config" local null = require "groupbutler.null" local _M = {} function _M:new(update_obj) local plugin_obj = {} setmetatable(plugin_obj, {__index = self}) for k, v in pairs(update_obj) do plugin_obj[k] = v end return plugin_obj end local function get_reply_markup(self, msg,...
gpl-2.0
starlightknight/darkstar
scripts/zones/Wajaom_Woodlands/Zone.lua
9
2045
----------------------------------- -- -- Zone: Wajaom_Woodlands (51) -- ----------------------------------- local ID = require("scripts/zones/Wajaom_Woodlands/IDs"); require("scripts/globals/chocobo_digging"); require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/globals/chocobo") ...
gpl-3.0
pichina/skynet
lualib/redis.lua
47
4975
local skynet = require "skynet" local socket = require "socket" local socketchannel = require "socketchannel" local table = table local string = string local redis = {} local command = {} local meta = { __index = command, -- DO NOT close channel in __gc } ---------- redis response local redcmd = {} redcmd[36] = f...
mit
gedads/Neodynamis
scripts/zones/Yuhtunga_Jungle/npcs/Cermet_Headstone.lua
2
3395
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Fire Fragment) -- !pos 491 20 301 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; package.loaded["scripts/zones/Yuhtunga_Jungle/...
gpl-3.0
bigrpg/skynet
lualib/skynet/snax.lua
24
3697
local skynet = require "skynet" local snax_interface = require "snax.interface" local snax = {} local typeclass = {} local interface_g = skynet.getenv("snax_interface_g") local G = interface_g and require (interface_g) or { require = function() end } interface_g = nil skynet.register_protocol { name = "snax", id =...
mit
dimitarcl/premake-dev
tests/actions/vstudio/vc2010/test_debug_settings.lua
2
2189
-- -- tests/actions/vstudio/vc2010/test_debug_settings.lua -- Validate handling of the working directory for debugging. -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- local suite = test.declare("vstudio_vs2010_debug_settings") local vc2010 = premake.vstudio.vc2010 local project = premak...
bsd-3-clause
mmaxs/pull_requests--ettercap
src/lua/share/third-party/stdlib/src/debug_ext.lua
14
2249
--- Additions to the debug module module ("debug", package.seeall) require "debug_init" require "io_ext" require "string_ext" --- To activate debugging set _DEBUG either to any true value -- (equivalent to {level = 1}), or as documented below. -- @class table -- @name _DEBUG -- @field level debugging level -- @field ...
gpl-2.0
keplerproject/luarocks
src/luarocks/test.lua
1
1952
local test = {} local fetch = require("luarocks.fetch") local deps = require("luarocks.deps") local test_types = { "busted", "command", } local test_modules = {} for _, test_type in ipairs(test_types) do local mod = require("luarocks.test." .. test_type) table.insert(test_modules, mod) test_modules[...
mit
soccermitchy/heroku-lapis
opt/src/openresty/bundle/LuaJIT-2.1-20150223/src/jit/bcsave.lua
28
18091
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
gpl-2.0
sebastianlis/OOP-Samples-for-Corona-SDK
classes/lib/FacebookMessenger.lua
1
9763
require "classes.constants.screen" FacebookMessenger={} function FacebookMessenger:new() local this = {} local public = this local private={} local facebook = require("plugin.facebook.v4") local json = require("json") local fbAppID = "XXXXXXXXXXXXXXX" -- Your FB App ID from facebook developer'...
mit
gedads/Neodynamis
scripts/zones/Moh_Gates/Zone.lua
17
1206
----------------------------------- -- -- Zone: Moh Gates -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Moh_Gates/TextIDs"] = nil; require("scripts/zones/Moh_Gates/TextIDs"); ----------------------------------- -- onInitialize ----------------------------...
gpl-3.0
starlightknight/darkstar
scripts/zones/Northern_San_dOria/npcs/Abeaule.lua
9
3954
----------------------------------- -- Area: Northern San d'Oria -- NPC: Abeaule -- Starts and Finishes Quest: The Trader in the Forest, The Medicine Woman -- !pos -136 -2 56 231 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/keyitem...
gpl-3.0
gedads/Neodynamis
scripts/zones/Yuhtunga_Jungle/mobs/Rose_Garden.lua
2
1028
----------------------------------- -- Area: Yuhtunga Jungle -- MOB: Rose Garden ----------------------------------- require("scripts/zones/Yuhtunga_Jungle/MobIDs"); function disturbMob(mob) mob:setLocalVar("timeToGrow", os.time() + math.random(36000,37800)); -- 10:00:00 to 10:30:00 end function onMobSpawn(mob)...
gpl-3.0
xmrxx/mrx
plugins/info.lua
8
25177
--write by @amody6 --add ar_lang local function callback_reply(extra, success, result) --icon & rank & amody6 ------------------------------------------------------------------------------------------------ userrank = "Member" if tonumber(result.from.peer_id) == 122774063 then userrank = "Master ⭐⭐⭐⭐" send_docum...
gpl-2.0
keplerproject/luarocks
src/luarocks/cmd/show.lua
2
11008
--- Module implementing the LuaRocks "show" command. -- Shows information about an installed rock. local show = {} local queries = require("luarocks.queries") local search = require("luarocks.search") local dir = require("luarocks.core.dir") local fs = require("luarocks.fs") local cfg = require("luarocks.core.cfg") lo...
mit
gedads/Neodynamis
scripts/zones/West_Ronfaure/mobs/Forest_Hare.lua
3
1065
----------------------------------- -- Area: West Ronfaure -- MOB: Forest Hare ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/West_Ronfaure/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob, p...
gpl-3.0
starlightknight/darkstar
scripts/globals/items/plate_of_bream_sushi_+1.lua
11
1374
----------------------------------------- -- ID: 5177 -- Item: plate_of_bream_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 6 -- Vitality 5 -- Accuracy % 17 (cap 80) -- Ranged ACC % 17 (cap 80) -- Sleep Resist 2 ----------------------------------------- require("script...
gpl-3.0
gedads/Neodynamis
scripts/zones/Port_San_dOria/npcs/Artinien.lua
17
1401
----------------------------------- -- Area: Port San d'Oria -- NPC: Artinien -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); --...
gpl-3.0
dimitarcl/premake-dev
src/base/config.lua
1
16470
-- -- config.lua -- Premake configuration object API -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- premake.config = {} local project = premake.project local config = premake.config --- -- Helper function for getlinkinfo() and gettargetinfo(); builds the -- name parts for a configuration, for...
bsd-3-clause
amirhooo/jkd
plugins/groupcontrol.lua
8
41886
do -- make sure to set with value that not higher than stats.lua local NUM_MSG_MAX = 4 local TIME_CHECK = 4 -- seconds local function generate_link(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local user_id = cb_extra.user_id local chat_id = string.gsub(rece...
gpl-3.0
starlightknight/darkstar
scripts/globals/abilities/despoil.lua
12
2896
----------------------------------- -- Ability: Despoil -- Steal items and debuffs enemy. -- Obtained: Thief Level 77 -- Recast Time: 5:00 -- Duration: Instant ----------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") local despoilDebuffs = { dsp.effect.EVASION_DOWN, d...
gpl-3.0
gedads/Neodynamis
scripts/zones/Al_Zahbi/npcs/Macici.lua
3
2304
----------------------------------- -- Area: Al Zahbi -- NPC: Macici -- Type: Smithing Normal/Adv. Image Support -- !pos -35.163 -1 -31.351 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scr...
gpl-3.0
gedads/Neodynamis
scripts/zones/Apollyon/mobs/Ice_Elemental.lua
119
2740
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- ...
gpl-3.0
starlightknight/darkstar
scripts/zones/RoMaeve/npcs/Qu_Hau_Spring.lua
9
2676
----------------------------------- -- Qu_Hau_Spring -- Area: Ro'Maeve ----------------------------------- local ID = require("scripts/zones/RoMaeve/IDs") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/quests") ----------------------------------- function onTrade(playe...
gpl-3.0
telergybot/zspam
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
starlightknight/darkstar
scripts/globals/mobskills/warm-up.lua
12
1751
--------------------------------------------- -- Warm-Up -- -- Description: Enhances accuracy and evasion. -- Type: Magical (Earth) --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") ------------------------------...
gpl-3.0
starlightknight/darkstar
scripts/globals/spells/slowga.lua
12
1401
----------------------------------------- -- Spell: Slowga ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/utils") ----------------------------------------- function onMagicCastingCheck(caster, target,s...
gpl-3.0
gedads/Neodynamis
scripts/globals/items/plate_of_friture_de_la_misareaux.lua
12
1566
----------------------------------------- -- ID: 5159 -- Item: plate_of_friture_de_la_misareaux -- Food Effect: 240Min, All Races ----------------------------------------- -- Dexterity 3 -- Vitality 3 -- Mind -3 -- Defense 5 -- Ranged ATT % 7 -- Ranged ATT Cap 15 ----------------------------------------- require("scri...
gpl-3.0
gedads/Neodynamis
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ix_aern_mnk.lua
17
3000
----------------------------------- -- Area: Grand Palace of HuXzoi -- MOB: Ix_aern_mnk -- ID: 16916815 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; -------...
gpl-3.0
gedads/Neodynamis
scripts/zones/Ilrusi_Atoll/Zone.lua
17
1420
----------------------------------- -- -- Zone: Ilrusi_Atoll -- zone 55 ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil; require("scripts/zones/Ilrusi_Atoll/TextIDs"); require("scripts/globals/settings"); ----------------------------...
gpl-3.0
tommy3/Urho3D
bin/Data/LuaScripts/Utilities/ScriptCompiler.lua
29
1247
-- Script to recursively compile lua files located in specified rootFolder to luc (bytecode) -- Usage: require "LuaScripts/Utilities/LuaScriptCompiler" -- Set root folder containing lua files to convert local rootFolder = "Data/LuaScripts/" -- Starting from bin folder if not fileSystem:DirExists(rootFolder) then log:...
mit
starlightknight/darkstar
scripts/globals/spells/curaga_iv.lua
12
1397
----------------------------------------- -- Spell: Curaga IV -- Restores HP of all party members within area of effect. ----------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") -----------------------...
gpl-3.0
gedads/Neodynamis
scripts/zones/Windurst_Woods/npcs/Kyaa_Taali.lua
3
1807
----------------------------------- -- Area: Windurst Woods -- NPC: Kyaa Taali -- Type: Bonecraft Image Support -- !pos -10.470 -6.25 -141.700 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
starlightknight/darkstar
scripts/zones/FeiYin/npcs/Underground_Pool.lua
9
1702
----------------------------------- -- Area: FeiYin -- NPC: Underground Pool -- Involved In Quest: Scattered into Shadow -- Offset 0 (H-5) !pos 7 0 247 204 -- Offset 1 (F-5) !pos -168 0 247 204 -- Offset 2 (H-8) !pos 7 0 32 204 ----------------------------------- local ID = require("scripts/zones/FeiYin/IDs") require(...
gpl-3.0
starlightknight/darkstar
scripts/zones/Ghelsba_Outpost/bcnms/save_the_children.lua
9
1619
----------------------------------- -- Save the Children -- Ghelsba Outpost mission battlefield -- !pos -162 -11 78 140 ----------------------------------- require("scripts/globals/battlefield") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/npc_util") require("scripts/...
gpl-3.0
gedads/Neodynamis
scripts/zones/Mhaura/npcs/Tya_Padolih.lua
3
1472
----------------------------------- -- Area: Mhaura -- NPC: Tya Padolih -- Standard Merchant NPC -- !pos -48 -4 30 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Mhaura/TextIDs");...
gpl-3.0
gedads/Neodynamis
scripts/globals/allyassist.lua
7
2378
ALLY_ASSIST_PLAYER = 1; ALLY_ASSIST_RANDOM = 2; function startAllyAssist(entity, assistMode) -- print("Ally Assist Initiated"); if (assistMode == nil) then assistMode = ALLY_ASSIST_PLAYER; end local mobs; local players; local allies = {} if (entity:getBattlefield() ~= nil) then ...
gpl-3.0
ReidLiu/text-game-dqn
bow_embedding_simple.lua
3
1199
--BOW embedding without deep network require 'nn' --require 'cunn' -- IMP if args is not passed, it takes from global 'args' return function(args) function create_network(args) local n_hid = args.hist_len*args.ncols*args.state_dim local mlp = nn.Sequential() mlp:add(nn.Reshape(args.hist_len...
mit
mmaxs/pull_requests--ettercap
src/lua/share/third-party/stdlib/src/parser.lua
12
8882
--- Parser generator. -- <p>A parser is created by</p> -- <blockquote> -- <p><code>p = Parser {grammar}</code></p> -- </blockquote> -- <p>and called with</p> -- <blockquote> -- <p><code>result = p:parse (start_token, token_list[, -- from])</code></p> -- </blockquote> -- <p>where start_token is the non-terminal at which...
gpl-2.0
gedads/Neodynamis
scripts/zones/Mount_Zhayolm/mobs/Brass_Borer.lua
29
1544
----------------------------------- -- Area: Mount Zhayolm -- MOB: Brass Borer ----------------------------------- require("scripts/globals/status"); -- TODO: Damage resistances in streched and curled stances. Halting movement during stance change. ----------------------------------- -- OnMobSpawn Action -----------...
gpl-3.0
gedads/Neodynamis
scripts/globals/spells/sage_etude.lua
5
1579
----------------------------------------- -- Spell: Sage Etude -- Static INT Boost, BRD 66 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
gedads/Neodynamis
scripts/zones/GM_Home/npcs/Trader.lua
32
1090
----------------------------------- -- Area: GM Home -- NPC: Trader -- Type: Debug NPC for testing trades. ----------------------------------- package.loaded["scripts/zones/GM_Home/TextIDs"] = nil; ----------------------------------- require("scripts/zones/GM_Home/TextIDs"); ----------------------------------- -- on...
gpl-3.0
lminsky/Programming-Mobile-Apps
Class Examples/2017-05-11/Read/main.lua
1
1105
-- Path for the file to read local path = system.pathForFile( "in.txt") -- Open the file handle local file, errorString = io.open( path, "r" ) if not file then -- Error occurred; output the cause print( "File error: " .. errorString ) else -- Read data from file local contents = file:read( "*a" ) ...
mit
gedads/Neodynamis
scripts/globals/items/bowl_of_turtle_soup.lua
12
1552
----------------------------------------- -- ID: 4418 -- Item: Turtle Soup -- Food Effect: 3hours, All Races ----------------------------------------- -- HP + 10% (200 Cap) -- Dexterity +4 -- Vitality +6 -- Mind -3 -- HP Recovered While Healing +5 ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
gedads/Neodynamis
scripts/zones/Bastok_Markets/npcs/Sororo.lua
2
1091
----------------------------------- -- Area: Bastok Markets -- NPC: Sororo -- Standard Merchant NPC -- !pos -220.217 -2.824 51.542 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets/TextIDs"); re...
gpl-3.0
gedads/Neodynamis
scripts/globals/items/serving_of_mont_blanc.lua
12
1483
----------------------------------------- -- ID: 5557 -- Item: Serving of Mont Blanc -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +8 -- MP +10 -- Intelligence +1 -- HP Recoverd while healing 1 -- MP Recovered while healing 1 -------------------------------------...
gpl-3.0
starlightknight/darkstar
scripts/zones/Southern_San_dOria/npcs/Najjar.lua
9
1126
----------------------------------- -- Area: Southern San d'Oria -- NPC: Najjar -- General Info NPC ------------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/settings"); require("scripts/globals/quests"); function onTrade(player,npc,trade) -- "Flye...
gpl-3.0
starlightknight/darkstar
scripts/globals/mobskills/drop_hammer.lua
11
1090
--------------------------------------------- -- Drop Hammer -- -- Description: Drops the hammer. Additional effect: Bind -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows? -- Range: Melee -- Notes: Only used by "destroyers" (carrying massive warhammers). --------------------------------------------- requi...
gpl-3.0
gedads/Neodynamis
scripts/globals/spells/bluemagic/enervation.lua
5
2072
----------------------------------------- -- Spell: Enervation -- Lowers the defense and magical defense of enemies within range -- Spell cost: 48 MP -- Monster Type: Beastmen -- Spell Type: Magical (Dark) -- Blue Magic Points: 5 -- Stat Bonus: HP-5, MP+5 -- Level: 67 -- Casting Time: 6 seconds -- Recast Time: 60 secon...
gpl-3.0
disslove85/NOVA1-BOT
plugins/anti-flood.lua
281
2422
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 5 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
starlightknight/darkstar
scripts/zones/Monarch_Linn/mobs/Ouryu.lua
8
2271
----------------------------------- -- Area: Monarch Linn -- Mob: Ouryu ----------------------------------- require("scripts/globals/titles"); ----------------------------------- function onMobSpawn(mob) mob:SetMobSkillAttack(0); -- resetting so it doesn't respawn in flight mode. mob:AnimationSub(0); -- suban...
gpl-3.0
O-P-E-N/CC-ROUTER
feeds/luci/build/luadoc/luadoc/taglet/standard/tags.lua
46
5543
------------------------------------------------------------------------------- -- Handlers for several tags -- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $ ------------------------------------------------------------------------------- local luadoc = require "luadoc" local util = require "luadoc.util"...
gpl-2.0
gedads/Neodynamis
scripts/zones/The_Boyahda_Tree/npcs/Treasure_Coffer.lua
3
4962
----------------------------------- -- Area: The Boyahada Tree -- NPC: Treasure Coffer -- !pos 27 6 144 153 ----------------------------------- package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ...
gpl-3.0
pedro-andrade-inpe/terrame
packages/base/examples/runoff.lua
3
1409
-- @example Implementation of a simple runoff model using geospatial data. -- There is an initial rain in the highest cells. -- The Neighborhood of a Cell is composed by its Moore neighbors that -- have lower height. -- Each cell then sends its water equally to all neighbors. -- @image runoff.png cell = Cell{ init = ...
lgpl-3.0
starlightknight/darkstar
scripts/globals/abilities/divine_waltz.lua
12
2662
----------------------------------- -- Ability: Divine Waltz -- Heals party members within area of effect. -- Obtained: Dancer Level 25 -- TP Required: 40% -- Recast Time: 00:13 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") -----...
gpl-3.0