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
HeavensSword/darkstar
scripts/globals/items/boiled_tuna_head.lua
3
1264
----------------------------------------- -- ID: 4540 -- Item: Boiled Tuna Head -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 20 -- Dexterity 3 -- Intelligence 4 -- Mind -3 -- Magic Regen While Healing 2 -- Evasion 5 ----------------------------------------- require("scripts/globa...
gpl-3.0
shahifaqeer/my-luci-bismark-0.11
applications/luci-transmission/luasrc/model/cbi/transmission.lua
75
13259
--[[ LuCI - Lua Configuration Interface - Transmission support Copyright 2012 Gabor Varga <vargagab@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICEN...
apache-2.0
HeavensSword/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Buliame_RK.lua
3
2992
----------------------------------- -- 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/gl...
gpl-3.0
HeavensSword/darkstar
scripts/globals/spells/addle.lua
5
1706
----------------------------------------- -- Spell: Addle -- Increases the casting time of the target -- Exact formula is unknown. -- -- Raw Value is said to be 30% -- It is said to increase to 50% w/ Saboteur ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic");...
gpl-3.0
cogwerkz/gUI4
gUI4_Auras/gUI4_Auras.lua
1
5933
local addon,ns = ... local gUI4 = GP_LibStub("GP_AceAddon-3.0"):GetAddon("gUI4", true) if not gUI4 then return end local module = gUI4:NewModule(addon, "GP_AceEvent-3.0") local LEGION = tonumber((select(2, GetBuildInfo()))) >= 22124 local LMP = GP_LibStub("GP_LibMediaPlus-1.0") local L = GP_LibStub("GP_Ac...
mit
mosy210/fast-spam
bot/bot.lua
1
6651
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
xtao/ntopng
scripts/lua/modules/flow_utils.lua
3
31758
-- -- (C) 2013-14 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "template" -- http://www.itu.int/itudoc/itu-t/ob-lists/icc/e212_685.pdf local mobile_country_code = { ["202"] = "Greece", ["204"] = "Netherlands (Kingdom of the)", ["206"] = "...
gpl-3.0
xtao/ntopng
scripts/lua/system_hosts_interaction.lua
1
9833
-- -- (C) 2013-14 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" if(host_ip == nil) then host_ip = _GET["host"] end if(mode == nil) then mode = _GET["mode"] end if(host_name == nil) then host_name = _GET["name"] end ...
gpl-3.0
arrayfire/arrayfire-lua
wrapper/arrayfire/misc/program.lua
4
4990
--- Program-related functions. -- Standard library imports -- local clock = os.clock local error = error local getenv = os.getenv local max = math.max local pcall = pcall local print = print local select = select local tonumber = tonumber -- Modules -- local array = require("impl.array") -- Imports -- local GetLib =...
bsd-3-clause
HeavensSword/darkstar
scripts/globals/spells/valor_minuet_iv.lua
5
1538
----------------------------------------- -- Spell: Valor Minuet IV -- Grants Attack bonus to all allies. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Metalworks/npcs/Wise_Owl.lua
3
1550
----------------------------------- -- Area: Metalworks -- NPC: Wise Owl -- Type: Smithing Adv. Image Support -- !pos -106.336 2.000 26.117 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/roast_mushroom.lua
3
1199
----------------------------------------- -- ID: 4410 -- Item: roast_mushroom -- Food Effect: 30minutes, All Races ----------------------------------------- -- Magic Points 10 -- Strength -1 -- Mind 3 -- Enmity -1 -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Valkurm_Dunes/npcs/Quanteilleron_RK.lua
3
2958
----------------------------------- -- Area: Valkurm Dunes -- NPC: Quanteilleron, R.K. -- Outpost Conquest Guards -- !pos 144 -7 104 103 ------------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ------------------------------------- require("scripts/globals/conquest"); require(...
gpl-3.0
cogwerkz/gUI4
gUI4/libs/GP_oUF-Elements/altpower.lua
1
6606
local addon,ns = ... local oUF = ns.oUF if not oUF then return end -- Lua API local floor = math.floor local select = select -- WoW API local UnitAlternatePowerInfo = UnitAlternatePowerInfo local UnitInParty = UnitInParty local UnitInRaid = UnitInRaid local UnitPower = UnitPower local UnitPowerMax = U...
mit
gwpantazes/TimeLog
TimeLog/scenes/Record.lua
1
5590
----------------------------------------------------------------------------------------- -- -- Record.lua -- ----------------------------------------------------------------------------------------- local composer = require( "composer" ) local scene = composer.newScene() local currentDateTimeGroup, updateDateTime, ...
mit
dlannan/webdruino
deps/turbo-1.0.0/tests/unittests/structs.lua
1
6753
--- Turbo.lua Unit test -- -- Copyright 2013 John Abrahamsen -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by appl...
mit
HeavensSword/darkstar
scripts/zones/Dynamis-Valkurm/bcnms/dynamis_valkurm.lua
14
2107
----------------------------------- -- Area: dynamis_Valkurm -- Name: dynamis_Valkurm ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaValkurm]UniqueID",os.time()); SetServerVariable("[DynaValkurm]...
gpl-3.0
shahifaqeer/my-luci-bismark-0.11
libs/nixio/docsrc/nixio.UnifiedIO.lua
157
5891
--- Unified high-level I/O utility API for Files, Sockets and TLS-Sockets. -- These functions are added to the object function tables by doing <strong> -- require "nixio.util"</strong>, can be used on all nixio IO Descriptors and -- are based on the shared low-level read() and write() functions. -- @cstyle instance mo...
apache-2.0
HeavensSword/darkstar
scripts/globals/items/holy_maul.lua
7
1038
----------------------------------------- -- ID: 17080 -- Item: Holy Maul -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- function onAdditionalEffect(pla...
gpl-3.0
HeavensSword/darkstar
scripts/commands/checkvar.lua
8
1762
--------------------------------------------------------------------------------------------------- -- func: checkvar <varType> <varName> -- desc: checks player or server variable and returns result value. --------------------------------------------------------------------------------------------------- cmdprops = { ...
gpl-3.0
yongkangchen/slua
build/luajit-2.0.4/dynasm/dasm_ppc.lua
78
37064
------------------------------------------------------------------------------ -- DynASM PPC module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
mit
pd2-linux/tina
feeds/luci/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua
38
17398
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
gpl-2.0
gwx/tome-grayswandir-illusion
data/zones/illusory-woods/npcs.lua
1
7784
-- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/dish_of_spaghetti_boscaiola.lua
3
1547
----------------------------------------- -- ID: 5192 -- Item: dish_of_spaghetti_boscaiola -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 18 -- Health Cap 120 -- Magic 35 -- Strength -5 -- Dexterity -2 -- Vitality 2 -- Mind 4 -- Store TP +6 -- Magic Regen While Healing 1 --------...
gpl-3.0
nimaghorbani/user102
bot/utils.lua
309
23029
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
Wedmer/luci
applications/luci-app-asterisk/luasrc/asterisk/cc_idd.lua
68
7491
-- Licensed to the public under the Apache License 2.0. module "luci.asterisk.cc_idd" CC_IDD = { -- Country, CC, IDD { "Afghanistan", "93", "00" }, { "Albania", "355", "00" }, { "Algeria", "213", "00" }, { "American Samoa", "684", "00" }, { "Andorra", "376", "00" }, { "Angola", "244", "00" }, { "Anguilla", "26...
apache-2.0
HeavensSword/darkstar
scripts/zones/Norg/npcs/Muzaffar.lua
5
2913
----------------------------------- -- Area: Norg -- NPC: Muzaffar -- Standard Info NPC -- Quests: Black Market -- !pos 16.678, -2.044, -14.600 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Norg/TextIDs"); require(...
gpl-3.0
mahdib9/99
plugins/qr.lua
21
1783
--- https://github.com/amirhmz --- https://telegram.me/AmirDark local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors) do if color ==...
gpl-2.0
HeavensSword/darkstar
scripts/globals/spells/bindga.lua
3
1170
----------------------------------------- -- Spell: Bind ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; functio...
gpl-3.0
404rq/GTW-RPG
[misc]/interiors/client_anim.lua
6
5720
--STOLED FROM ARC_ LUL --[[ Anim queue: list of animation specifications that have to complete their animation one after the other Anim: an element (GUI, player, vehicle...) and a list of phases Anim phase: a list of parameters with start/end value, time, eventually a transformation function, and a function that ...
bsd-2-clause
HeavensSword/darkstar
scripts/zones/Bastok_Markets/npcs/Salimah.lua
5
2976
----------------------------------- -- Area: Bastok Markets -- NPC: Salimah -- Notes: Start & Finishes Quest: Gourmet -- !pos -31.687 -6.824 -73.282 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Port_Windurst/Zone.lua
7
1995
----------------------------------- -- -- Zone: Port_Windurst (240) -- ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Windurst/TextIDs"); require("scripts/zones/Port_Windurst/MobIDs"); require("scripts/glob...
gpl-3.0
boundary/boundary-plugin-mysql
modules/util.lua
3
2678
--[[ Copyright 2012 Kengo Nakajima. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
apache-2.0
cogwerkz/gUI4
gUI4_UnitFrames/units/pet.lua
1
11008
local addon,ns = ... local gUI4 = GP_LibStub("GP_AceAddon-3.0"):GetAddon("gUI4", true) if not gUI4 then return end local oUF = gUI4.oUF if not oUF then return end local parent = gUI4:GetModule("gUI4_UnitFrames") if not parent then return end local module = parent:NewModule("Pet", "GP_AceEvent-3.0") loc...
mit
HeavensSword/darkstar
scripts/globals/mobskills/vitriolic_spray.lua
33
1046
--------------------------------------------- -- Vitriolic Spray -- Family: Wamouracampa -- Description: Expels a caustic stream at targets in a fan-shaped area of effect. Additional effect: Burn -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadow -- Range: Cone -- Notes: Burn is 10-30/tic ------------------...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/red_curry_bun.lua
3
1878
----------------------------------------- -- ID: 5759 -- Item: red_curry_bun -- Food Effect: 30 Min, All Races ----------------------------------------- -- TODO: Group effects -- Health 25 -- Strength 7 -- Agility 1 -- Intelligence -2 -- Attack % 23 (cap 150) -- Ranged Atk % 23 (cap 150) -- Demon Killer 4 -- Resist Sle...
gpl-3.0
olhodedeus/Redlol
plugins/id.lua
1
2505
local config = require 'config' local u = require 'utilities' local api = require 'methods' local plugin = {} function plugin.onTextMessage(msg, blocks) if blocks[1] == 'id' then if msg.reply_to_message then msg = msg.reply_to_message end local from_name = 'Seu nome é ' .. msg.from.first_name if msg.from.last...
gpl-2.0
qwook/dpsht
assets/maps/level2.lua
2
530326
return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 200, height = 100, tilewidth = 32, tileheight = 32, properties = {}, tilesets = { { name = "tilemap2", firstgid = 1, tilewidth = 32, tileheight = 32, spacing = 0, margin = 0, ...
mit
404rq/GTW-RPG
[resources]/GTWcivilians/ranks/ranks_c.lua
3
1039
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG Bugtracker: https://forum.404rq.com/bug-reports Suggestions: https://forum.404rq.com/mta-se...
bsd-2-clause
Dota-2-5v5v5v5/GameFolder
scripts/vscripts/libraries/abilities/containers_lua_targeting.lua
1
6376
containers_lua_targeting = class({}) -------------------------------------------------------------------------------- function containers_lua_targeting:GetBehavior() local result = CustomNetTables:GetTableValue("containers_lua", tostring(self:entindex())) if not result then return self.BaseClass.GetBehavior(s...
gpl-3.0
thetanil/thetasynth-pi
lua/pl/stringx.lua
5
14772
--- Python-style extended string library. -- -- see 3.6.1 of the Python reference. -- If you want to make these available as string methods, then say -- `stringx.import()` to bring them into the standard `string` table. -- -- See @{03-strings.md|the Guide} -- -- Dependencies: `pl.utils` -- @module pl.stringx local util...
apache-2.0
cogwerkz/gUI4
gUI4_CastBars/templates/castbar.lua
1
15570
local addon,ns = ... local gUI4 = GP_LibStub("GP_AceAddon-3.0"):GetAddon("gUI4", true) if not gUI4 then return end local gUI4_CastBars = gUI4:GetModule("gUI4_CastBars", true) if not gUI4_CastBars then return end local LMP = GP_LibStub("GP_LibMediaPlus-1.0") local L = GP_LibStub("GP_AceLocale-3.0"):GetLocal...
mit
deckycoss/sgmake
getopt_alt.lua
1
1478
-- getopt_alt.lua (http://lua-users.org/wiki/AlternativeGetOpt) -- getopt, POSIX style command line argument parser -- param arg contains the command line arguments in a standard table. -- param options is a string with the letters that expect string values. -- returns a table where associated keys are true, nil, or a...
mit
HeavensSword/darkstar
scripts/zones/Kazham/npcs/Thali_Mhobrum.lua
5
1357
----------------------------------- -- Area: Kazham -- NPC: Thali Mhobrum -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Kazham/TextIDs"); ----------------------------------- local path = { 55.81...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Ilrusi_Atoll/npcs/Rune_of_Release.lua
5
2035
----------------------------------- -- Area: -- NPC: rune of release -- @zone illrusi atoll -- !pos ----------------------------------- package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/settings"); require("script...
gpl-3.0
google/swiftshader
third_party/SPIRV-Headers/include/spirv/unified1/spirv.lua
1
60770
-- Copyright (c) 2014-2020 The Khronos Group Inc. -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and/or associated documentation files (the "Materials"), -- to deal in the Materials without restriction, including without limitation -- the rights to use, copy, mod...
apache-2.0
dlannan/webdruino
deps/luasys-master/test/sock/manyclnt.lua
2
1418
#!/usr/bin/env lua local sys = require"sys" local sock = require"sys.sock" local host, port = "127.0.0.1", 8080 local nclnt = 2000 local stdin, stdout, stderr = sys.stdin, sys.stdout, sys.stderr local askt, iskt = {}, 0 local function ev_cb(evq, evid, fd, ev) local s = tostring(fd) if ev == 'w' then asse...
mit
nsuke/thrift
lib/lua/TBufferedTransport.lua
43
2294
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
HeavensSword/darkstar
scripts/zones/Tahrongi_Canyon/npcs/Tahrongi_Cacti.lua
7
1590
----------------------------------- -- Area: Tahrongi Canyon -- NPC: Tahrongi Cacti -- Involved in Quest: Say It with Flowers -- -- !pos -308.721 7.477 264.454 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Vunkerl_Inlet_[S]/mobs/Gnole.lua
7
1451
----------------------------------- -- Area: Vunkerl Inlet (S) -- MOB: Gnole ----------------------------------- function onMobSpawn(mob) mob:setLocalVar("transformTime", os.time()) end; function onMobRoam(mob) local changeTime = mob:getLocalVar("transformTime"); local roamChance = math.random(1,100); ...
gpl-3.0
Wedmer/luci
applications/luci-app-ddns/luasrc/tools/ddns.lua
3
10794
-- Copyright 2014-2018 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. module("luci.tools.ddns", package.seeall) local NX = require "nixio" local NXFS = require "nixio.fs" local OPKG = require "luci.model.ipkg" local UCI = require "luci.mod...
apache-2.0
Wedmer/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua
33
3121
-- Copyright 2009-2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local nw = require "luci.model.network".init() local fw = require "luci.model.firewall".init() local utl = require "luci.util" local uci = require "luci.model.uci".cursor() m = SimpleForm("network", tran...
apache-2.0
cogwerkz/gUI4
gUI4/libs/GP_Ace3/GP_AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua
1
11351
--[[ $Id: AceGUIWidget-DropDown-Items.lua 1137 2016-05-15 10:57:36Z nevcairiel $ ]]-- local AceGUI = GP_LibStub("GP_AceGUI-3.0") local IsLegion = select(4, GetBuildInfo()) >= 70000 -- Lua APIs local select, assert = select, assert -- WoW APIs local PlaySoundKitID = (tonumber((select(2, GetBuildInfo()))) >...
mit
Openarl/PathOfBuilding
Modules/CalcTools.lua
1
5663
-- Path of Building -- -- Module: Calc Tools -- Various functions used by the calculation modules -- local pairs = pairs local t_insert = table.insert local t_remove = table.remove local m_floor = math.floor local m_min = math.min local m_max = math.max calcLib = { } -- Calculate and combine INC/MORE modifiers for th...
mit
Dzhekson6000/capitalism
cocos2d/plugin/luabindings/auto/api/ProtocolAnalytics.lua
146
2113
-------------------------------- -- @module ProtocolAnalytics -- @extend PluginProtocol -- @parent_module plugin -------------------------------- -- brief Track an event begin.<br> -- param eventId The identity of event -- @function [parent=#ProtocolAnalytics] logTimedEventBegin -- @param self -- @param #char eventI...
gpl-3.0
ryangmor/lolsh
plugins/anti-bot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
HeavensSword/darkstar
scripts/globals/spells/bluemagic/zephyr_mantle.lua
5
1170
----------------------------------------- -- Spell: Zephyr Mantle -- Creates shadow images that each absorb a single attack directed at you -- Spell cost: 31 MP -- Monster Type: Dragons -- Spell Type: Magical (Wind) -- Blue Magic Points: 2 -- Stat Bonus: AGI+2 -- Level: 65 -- Casting Time: 7 seconds -- Recast Time: 60 ...
gpl-3.0
arrayfire/arrayfire-lua
examples/image_processing/binary_thresholding.lua
4
3334
--[[ /******************************************************* * Copyright (c) 2015, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause ************************************************...
bsd-3-clause
frango9000/PokeBotBad
data/movelist.lua
6
23754
local Movelist = {} -- http://bulbapedia.bulbagarden.net/wiki/List_of_moves#List_of_moves local moves = { { name = 'Pound', id = 1, move_type = 'normal', special = false, power = 40, max_pp = 35, accuracy = 100, }, { name = 'Karate-Chop', id = 2, move_type = 'fighting', specia...
mit
ArmanIr/TgClinewbot
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
Wedmer/luci
libs/luci-lib-nixio/docsrc/nixio.fs.lua
1
7908
--- Low-level and high-level filesystem manipulation library. module "nixio.fs" --- Check user's permission on a file. -- @class function -- @name nixio.fs.access -- @param path Path -- @param mode1 First Mode to check ["f", "r", "w", "x"] -- @param ... More Modes to check [-"-] -- @return true --- Strip the dire...
apache-2.0
RyderG67/vice-players
Vendor/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/custom.lua
41
1343
function extract_code(fn,s) local code = "" if fn then code = '\n$#include "'..fn..'"\n' end s= "\n" .. s .. "\n" -- add blank lines as sentinels local _,e,c,t = strfind(s, "\n([^\n]-)SCRIPT_([%w_]*)[^\n]*\n") while e do t = strlower(t) if t == "bind_begin" then _,e,c = strfind(s,"(.-)\n[^\n]*SCRIPT_BIN...
gpl-3.0
cogwerkz/gUI4
gUI4/libs/GP_Ace3/GP_AceConfig-3.0/GP_AceConfigCmd-3.0/GP_AceConfigCmd-3.0.lua
1
24334
--- AceConfigCmd-3.0 handles access to an options table through the "command line" interface via the ChatFrames. -- @class file -- @name AceConfigCmd-3.0 -- @release $Id: AceConfigCmd-3.0.lua 1045 2011-12-09 17:58:40Z nevcairiel $ --[[ AceConfigCmd-3.0 Handles commandline optionstable access REQUIRES: AceC...
mit
HeavensSword/darkstar
scripts/zones/Selbina/npcs/Oswald.lua
5
4618
----------------------------------- -- Area: Selbina -- NPC: Oswald -- Starts and Finishes Quest: Under the sea (finish), The gift, The real gift -- !pos 48 -15 9 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Se...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Bastok_Mines/npcs/Pavvke.lua
5
1838
----------------------------------- -- Area: Bastok Mines -- NPC: Pavvke -- Starts Quests: Fallen Comrades (100%) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); r...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/chocobiscuit.lua
3
1226
----------------------------------------- -- ID: 5934 -- Item: Chocobiscuit -- Food Effect: 3Min, All Races ----------------------------------------- -- Magic Regen While Healing 3 -- Charisma 3 -- Evasion 2 -- Aquan Killer 10 -- Silence Resist 10 ----------------------------------------- require("scripts/globals/statu...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/bowl_of_cursed_soup.lua
3
1340
----------------------------------------- -- ID: 4235 -- Item: Bowl of Cursed Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength -7 -- Dexterity -7 -- Agility -7 -- Vitality -7 -- Intelligence -7 -- Mind -7 -- Charisma -7 ----------------------------------------- require("scrip...
gpl-3.0
ignacio/LuaNode
test/simple/disabled/test-https-finish-before-handshake.lua
2
1230
module(..., lunit.testcase, package.seeall) local common = dofile("common.lua") local http = require "luanode.http" local fs = require "luanode.fs" local crypto = require ("luanode.crypto") function test() local google = http.createClient(443, "encrypted.google.com", true) local request = google:request("G...
mit
caryll/otfcc
dep/premake-modules/xcode-alt/xcode_scheme.lua
2
3640
--- -- xcode/xcode4_scheme.lua -- Generate a shared scheme for an Xcode C/C++ project. -- Copyright (c) 2009-2016 Jason Perkins and the Premake project --- local p = premake local m = p.modules.xcode_alt local project = p.project local config = p.config local fileconfig = p.fileconfig local tree = p.tree m.scheme = ...
apache-2.0
HeavensSword/darkstar
scripts/globals/items/bowl_of_wild_stew.lua
3
1380
----------------------------------------- -- ID: 4589 -- Item: Bowl of Wild Stew -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 4 -- Agility 1 -- Vitality 2 -- Intelligence -2 -- Attack % 25 -- Attack Cap 50 -- Ranged ATT % 25 -- Ranged ATT Cap 50 -------------------------------...
gpl-3.0
pd2-linux/tina
feeds/luci/modules/admin-full/luasrc/controller/admin/status.lua
56
4609
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://w...
gpl-2.0
HeavensSword/darkstar
scripts/globals/effects/bust.lua
35
1737
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if (effect:getSubType() == MOD_DMG) then target:addMod(MO...
gpl-3.0
forivall-mirrors/orxonox-game-code
data/gui/scripts/SingleplayerMenu.lua
1
6761
-- SingleplayerMenu.lua local P = createMenuSheet("SingleplayerMenu") P.loadAlong = {"ShipSelectionMenu","CampaignMenu"} P.levelList = {} P.activeTabIndexes = {} P.scrollbarWidth = 13 selectedlevel = {} -- level for ship selection function P.onLoad() P.createLevelList() -- create tabs with desired tab as arg...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Lower_Jeuno/npcs/Vhana_Ehgaklywha.lua
3
2039
----------------------------------- -- Area: Lower Jeuno -- NPC: Vhana Ehgaklywha -- Lights lamps in Lower Jeuno if nobody accepts Community Service by 1AM. -- !pos -122.853 0.000 -195.605 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; -----------------------------------...
gpl-3.0
Max-pbot/Maxbot
plugins/banhammer.lua
1
12531
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
HeavensSword/darkstar
scripts/zones/La_Theine_Plateau/mobs/Bloodtear_Baldurf.lua
4
1346
----------------------------------- -- Area: La Theine Plateau -- MOB: Bloodtear_Baldurf ----------------------------------- require("scripts/globals/titles"); require("scripts/zones/La_Theine_Plateau/MobIDs"); ----------------------------------- function onMobInitialize(mob) mob:setMobMod(MOBMOD_ALWAYS_AGGRO, 1)...
gpl-3.0
LuaDevelopmentTools/luadocumentor
template/item.lua
4
1788
-------------------------------------------------------------------------------- -- Copyright (c) 2012 Sierra Wireless. -- All rights reserved. This program and the accompanying materials -- are made available under the terms of the Eclipse Public License v1.0 -- which accompanies this distribution, and is availabl...
epl-1.0
vmercierfr/kong
kong/tools/responses.lua
13
3859
-- Kong helper methods to send HTTP responses to clients. -- Can be used in the proxy, plugins or admin API. -- Most used status codes and responses are implemented as helper methods. -- -- @author thibaultcha -- Define the most used HTTP status codes through Kong local _M = { status_codes = { HTTP_OK = 200, ...
mit
botsazn/Management-Group
libs/serpent.lua
1
7920
local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} lo...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Coffer.lua
5
4638
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Treasure Coffer -- @zone 176 -- !pos 184 18 -107 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/dish_of_hydra_kofte.lua
3
1522
----------------------------------------- -- ID: 5602 -- Item: dish_of_hydra_kofte -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 7 -- Intelligence -3 -- Attack % 20 -- Attack Cap 150 -- Defense % 25 -- Defense Cap 70 -- Ranged ATT % 20 -- Ranged ATT Cap 150 -- Poison Resist 5 -...
gpl-3.0
ariasezar/smart
plugins/banhammer.lua
5
36375
local function pre_process(msg) if msg.to.type ~= 'pv' then chat = msg.to.id user = msg.from.id local function check_newmember(arg, data) test = load_data(_config.moderation.data) lock_bots = test[arg.chat_id]['settings']['lock_bots'] local hash = "gp_lang:"..arg.chat_id local lang = redis:get(hash) if data...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Caedarva_Mire/npcs/Nuimahn.lua
5
1061
----------------------------------- -- Area: Caedarva Mire -- NPC: Nuimahn -- Type: Alzadaal Undersea Ruins -- !pos -380 0 -381 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/...
gpl-3.0
HeavensSword/darkstar
scripts/globals/abilities/pets/heavenly_strike.lua
4
1331
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- f...
gpl-3.0
hfjgjfg/yagop54
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Port_Bastok/npcs/Romilda.lua
5
2104
----------------------------------- -- Area: Port Bastok -- NPC: Romilda -- Involved in Quest: Forever to Hold -- Starts & Ends Quest: Till Death Do Us Part ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles...
gpl-3.0
HeavensSword/darkstar
scripts/globals/spells/uncanny_etude.lua
5
1579
----------------------------------------- -- Spell: Uncanny Etude -- Static DEX Boost, BRD 72 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,targ...
gpl-3.0
cogwerkz/gUI4
gUI4_ActionBars/libs/LibBabble-SubZone-3.0/LibStub/tests/test.lua
1
2077
debugstack = debug.traceback strmatch = string.match loadfile("../GP_LibStub.lua")() local lib, oldMinor = GP_LibStub:NewLibrary("Pants", 1) -- make a new thingy assert(lib) -- should return the library table assert(not oldMinor) -- should not return the old minor, since it didn't exist -- the following is ...
mit
cogwerkz/gUI4
gUI4_ActionBars/libs/LibBabble-SubZone-3.0/LibStub/tests/test2.lua
1
1166
debugstack = debug.traceback strmatch = string.match loadfile("../GP_LibStub.lua")() for major, library in GP_LibStub:IterateLibraries() do -- check that MyLib doesn't exist yet, by iterating through all the libraries assert(major ~= "MyLib") end assert(not GP_LibStub:GetLibrary("MyLib", true)) -- check ...
mit
shahifaqeer/my-luci-bismark-0.11
modules/admin-mini/luasrc/model/cbi/mini/luci.lua
11
1381
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
grmmhp/RaycastingEngine
RAYCASTER_TEST/main.lua
1
8342
--Global variables for easy and fast typing-------------------------------------------------------------------- lg, lm, lk, lfs, lw, lt = love.graphics, love.mouse, love.keyboard, love.filesystem, love.window, love.timer ---------------------------------------------------------------------------------------------------...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Fire.lua
5
2074
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Fire -- Involved in Zilart Mission 7 -- !pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles");...
gpl-3.0
CestusMagnus/go-qt5
make/ui/lineedit.lua
4
3415
module("lineedit") name = "LineEdit" base = "Widget" comment = [[ InputMask: A ASCII alphabetic character required. A-Z, a-z. a ASCII alphabetic character permitted but not required. N ASCII alphanumeric character required. A-Z, a-z, 0-9. n ASCII alphanumeric character permitted but not required. X Any character re...
bsd-2-clause
HeavensSword/darkstar
scripts/globals/abilities/pets/attachments/heat_seeker.lua
2
2130
----------------------------------- -- Attachment: Heat Seeker ----------------------------------- require("scripts/globals/status") function onEquip(pet) pet:addListener("ENGAGE", "AUTO_HEAT_SEEKER_ENGAGE", function(pet, target) pet:setLocalVar("heatseekertick", VanadielTime()) end) pet:addListene...
gpl-3.0
Arashbrsh/lifesking
plugins/id.lua
24
4404
do local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function scan_name(extra, success, result) local f...
gpl-2.0
cogwerkz/gUI4
gUI4/libs/GP_Ace3/GP_AceGUI-3.0/widgets/AceGUIContainer-SimpleGroup.lua
1
1968
--[[----------------------------------------------------------------------------- SimpleGroup Container Simple container widget that just groups widgets. -------------------------------------------------------------------------------]] local Type, Version = "SimpleGroup", 20 local AceGUI = GP_LibStub and GP_LibStu...
mit
HeavensSword/darkstar
scripts/zones/Promyvion-Holla/MobIDs.lua
7
1752
-- [receptacle] = {group, numStrays, portal} HOLLA_MEMORY_RECEPTACLES = { [16842781] = {1, 3, 16843058}, [16842839] = {2, 5, 16843054}, [16842846] = {2, 5, 16843055}, [16842853] = {2, 5, 16843056}, [16842860] = {2, 5, 16843057}, [16842886] = {3, 7, 16843051}, [16842895] = {3, 7, 16843052}, ...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Arrapago_Remnants/Zone.lua
5
1227
----------------------------------- -- -- Zone: Arrapago Remnants -- ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Arrapago_Remnants/IDs"); ----------------------------------- function onInitialize(zone) zone:registerRegion(1, 420, 5, -339, 0, 0, 0) zone:regist...
gpl-3.0
Deiz/naev
dat/factions/spawn/mercenary_helper.lua
11
4672
--This script chooses the mercenaries that spawn include("dat/factions/spawn/common.lua") pbm = 0.05 --5% mercenaries function spawnLtMerc(faction) local pilots = {} local r = rnd.rnd() if r < 0.1 then scom.addPilot( pilots, {"Lancelot","Bounty Hunter","mercenary","Civilian", faction}, 25 ); ...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Metalworks/npcs/Karst.lua
5
1604
----------------------------------- -- Area: Metalworks -- NPC: Karst -- Type: President -- Involved in Bastok Missions 5-2 -- !pos 106 -21 0 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0