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
Kthulupwns/master
scripts/globals/mobskills/Dominion_Slash.lua
7
1570
--------------------------------------------- -- Domionion Slash -- -- Description: Performs an area of effect slashing weaponskill. Additional effect: Silence -- Type: Physical -- 2-3 Shadows -- Range: Unknown radial -- One source also mentions that it "can dispel important buffs." ------------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Yuhtunga_Jungle/npcs/Zorchorevi_RK.lua
30
3059
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Zorchorevi, R.K. -- Outpost Conquest Guards -- @pos -242.487 -1 -402.772 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); ...
gpl-3.0
MrClash/Updated
bot/utils.lua
473
24167
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
Kthulupwns/master
scripts/zones/Windurst_Waters_[S]/npcs/Pelftrix.lua
34
1248
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pelftrix -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Windurst...
gpl-3.0
Kthulupwns/master
scripts/globals/effects/warcry.lua
35
1071
----------------------------------- -- -- EFFECT_WARCRY -- -- Notes: -- Savagery TP bonus not cut in half like ffxclopedia says. -- ffxiclopedia is wrong, bg wiki right. See link where testing was done. -- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464 ------...
gpl-3.0
hmis-interop/logical-model
src/class-diagram-files/Plugins/OWLGrEd_Schema/update.lua
1
58291
require("lQuery") require "core" local plugin_name = "OWLGrEd_Schema" local path if tda.isWeb then path = tda.FindPath(tda.GetToolPath() .. "/AllPlugins", "OWLGrEd_Schema") .. "/" else path = tda.GetProjectPath() .. "\\Plugins\\OWLGrEd_Schema\\" end local plugin_info_path = path .. "info.lua" local f...
cc0-1.0
Kthulupwns/master
scripts/zones/Misareaux_Coast/npcs/qm1.lua
8
1322
----------------------------------- -- Area: Misareaux_Coast -- NPC: ??? (Spawn Gration) -- @pos 113.563 -16.302 38.912 25 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Misareaux_Coast/TextIDs"); ...
gpl-3.0
Kthulupwns/master
scripts/zones/Port_San_dOria/npcs/_6g7.lua
20
1144
----------------------------------- -- Area: Port San d'Oria -- NPC: Door: Arrivals Entrance -- @zone 232 -- @pos -24 -8 15 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
warlock90000/awesome
util/wp_slideshow.lua
1
1913
local WallpaperSlide = {} WallpaperSlide.__index = WallpaperSlide function WallpaperSlide:new( basedir, align ,interval ) local obj = {} local timer = require('gears').timer setmetatable(obj, WallpaperSlide) obj.basedir = basedir -- Set wallpaper scanning basedir obj.align = align ...
gpl-3.0
Kthulupwns/master
scripts/globals/items/pot_of_royal_tea.lua
35
1204
----------------------------------------- -- ID: 4524 -- Item: pot_of_royal_tea -- Food Effect: 240Min, All Races ----------------------------------------- -- Vitality -1 -- Charisma 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
Kthulupwns/master
scripts/globals/items/sprig_of_cibol.lua
35
1209
----------------------------------------- -- ID: 5234 -- Item: sprig_of_cibol -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
e-lab/imagenet-multiGPU.torch
models/alexnetowt.lua
3
1661
function createModel(nGPU) -- from https://code.google.com/p/cuda-convnet2/source/browse/layers/layers-imagenet-1gpu.cfg -- this is AlexNet that was presented in the One Weird Trick paper. http://arxiv.org/abs/1404.5997 local features = nn.Sequential() features:add(nn.SpatialConvolution(3,64,11,11,4,4,2,2))...
bsd-2-clause
Kthulupwns/master
scripts/zones/Bastok_Markets/npcs/Malene.lua
29
2371
----------------------------------- -- Area: Bastok Markets -- NPC: Malene -- Type: Quest NPC -- @zone: 235 -- @pos -173 -4 64 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/globals/titles"); requ...
gpl-3.0
kbeckmann/nodemcu-firmware
lua_examples/ucglib/GT_color_test.lua
30
1027
local M, module = {}, ... _G[module] = M function M.run() -- make this a volatile module: package.loaded[module] = nil print("Running component color_test...") local mx local c, x mx = disp:getWidth() / 2 --my = disp:getHeight() / 2 disp:setColor(0, 0, 0, 0) disp:drawBox(0, 0, ...
mit
shadog/shado.alasmr
bot/utils.lua
74
30284
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.l...
gpl-2.0
dani-sj/mahan01
plugins/domaintools.lua
359
1494
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 check(name) local api = "https://domainsearch.p.mashape.com/index.php?"...
gpl-2.0
Kthulupwns/master
scripts/globals/items/ojo_rice_ball.lua
15
1749
----------------------------------------- -- ID: 5929 -- Item: Ojo Rice Ball -- Food Effect: 60 Mins, All Races ----------------------------------------- -- HP 50 -- Dexterity 5 -- Vitality 5 -- Character 5 -- Effect with enhancing equipment -- Attack +60 -- Defense +40 -- Triple Attack 2 ------------------------------...
gpl-3.0
UB12/ub1
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
Starfox64/cards-against-humanity
lua/entities/cah_table.lua
1
1768
AddCSLuaFile() ENT.Type = "anim" ENT.PrintName = "CAH Table" ENT.Author = "_FR_Starfox64" ENT.Spawnable = true ENT.AdminSpawnable = true ENT.Category = "Cards Against Humanity" ENT.seatPos = { {pos = Vector(27, 15, 18), ang = Angle(0, 90, 0)}, {pos = Vector(-27, -15, 18), ang = Angle(0, -90, 0)}, {pos = Vector(27,...
agpl-3.0
Abedzadeh5928/alireza5928
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
Kthulupwns/master
scripts/globals/abilities/pets/thunder_ii.lua
20
1162
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ----------------------------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/QuBia_Arena/bcnms/heir_to_the_light.lua
9
1740
----------------------------------- -- Name: Mission 9-2 SANDO ----------------------------------- package.loaded["scripts/zones/Qubia_arena/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/zones/Qubia_arena/TextIDs"); --...
gpl-3.0
Kthulupwns/master
scripts/zones/Al_Zahbi/npcs/Bjibar.lua
38
1024
----------------------------------- -- Area: Al Zahbi -- NPC: Bjibar -- Type: Standard NPC -- @zone: 48 -- @pos -105.178 0.999 60.115 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------------...
gpl-3.0
QData/DeepMotif
get_auc_scores.lua
1
2949
---------------------------------------------------------------- -- Loops over all finished models in models directory to retrieve -- the AUC scores from the test sets. Computes mean, median, std, -- over the 108 TF models for each set of models ---------------------------------------------------------------- require'l...
mit
MinoaveDev/EccoDev
scripts/portals/Zakum05.lua
1
1814
--[[ Copyright (C) 2008-2011 Vana Development Team 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 WITHO...
gpl-2.0
chaos/slurm
contribs/lua/job_submit.license.lua
3
2989
--[[ Example lua script demonstrating the SLURM job_submit/lua interface. This is only an example, not meant for use in its current form. For use, this script should be copied into a file name job_"submit.lua" in the same directory as the SLURM configuration file, slurm.conf. --]] function _limit_license_cnt(or...
gpl-2.0
Daedeross/Subterra
src/scripts/events/updates/update_belt_elevators.lua
1
1209
--============================================================================-- -- update_belt_elevators(event) -- -- event hadler for defines.events.on_tick -- -- checks every tick and transfers items from inputs to outputs on -- belt-elevators -- -- param event (table): { tick } -- --===========================...
mit
PhilmacFLy/naev
dat/missions/neutral/drunkard.lua
5
9006
--[[ Drunkard Author: geekt A drunkard at the bar has gambled his ship into hock, and needs you to do a mission for him. ]]-- include "dat/scripts/numstring.lua" -- Bar Description bar_desc = "You see a drunkard at the bar mumbling about how he was so close to getting his break." -- Mission Details misn_tit...
gpl-3.0
ashhher3/koreader
frontend/apps/reader/modules/readertoc.lua
4
12864
local InputContainer = require("ui/widget/container/inputcontainer") local CenterContainer = require("ui/widget/container/centercontainer") local GestureRange = require("ui/gesturerange") local Button = require("ui/widget/button") local UIManager = require("ui/uimanager") local Menu = require("ui/widget/menu") local Ge...
agpl-3.0
Kthulupwns/master
scripts/globals/abilities/meditate.lua
10
1306
----------------------------------- -- Ability: Meditate -- Gradually charges TP. -- Obtained: Samurai Level 30 -- Recast Time: 3:00 (Can be reduced to 2:30 using Merit Points) -- Duration: 15 seconds ----------------------------------- require("scripts/globals/status"); ----------------------------------- --...
gpl-3.0
m2fan/xx
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
overmetal61/ettercap_debug
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
devyte/nodemcu-platform
wifi-confwrite.lua
1
4373
return function(wifiConfig,wificonflua) assert(wifiConfig ~= nil, "wifiConfig can't be nil") assert(wificonflua ~= nil, "wifi output filename can't be nil") local wificonfluatmp = wificonflua..".tmp" file.remove(wificonfluatmp) file.open(wificonfluatmp, "w") local w = file.writeline w(...
mit
Kthulupwns/master
scripts/zones/Aydeewa_Subterrane/npcs/qm2.lua
2
1394
----------------------------------- -- Area: Aydeewa Subterrane -- NPC: ??? (Spawn Pandemonium Warden) -- @pos -217 35 12 68 ----------------------------------- package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aydeewa_Subterrane/TextIDs"); -...
gpl-3.0
Kthulupwns/master
scripts/zones/Bibiki_Bay/npcs/Noih_Tahparawh.lua
12
3518
----------------------------------- -- Area: Bibiki Bay -- NPC: Noih Tahparawh -- Type: Manaclipper -- @pos -392 -3 -385 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; require("scripts/zones/Bibiki_Bay/TextIDs"); ----------------------------------- -- onTrade Act...
gpl-3.0
Kthulupwns/master
scripts/zones/Carpenters_Landing/npcs/Guilloud.lua
8
1375
----------------------------------- -- Area: Carpenters' Landing -- NPC: Guilloud -- Type: Standard NPC -- @pos -123.770 -6.654 -469.062 2 ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ----------------------------------- ----------------------------------- -...
gpl-3.0
UltronTG/UltronTG
plugins/me2.lua
1
2142
do local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print_name(user)..' ['..user_id..']' return u...
gpl-2.0
demontefacto/LedePackages
net/luci-app-clamav/files/model/cbi/clamav-cbi.lua
100
6776
--[[ LuCI ClamAV module Copyright (C) 2015, Itus Networks, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Author: Marko Ratkaj <marko.ratkaj@sar...
gpl-2.0
Kthulupwns/master
scripts/globals/items/serving_of_menemen_+1.lua
35
1540
----------------------------------------- -- ID: 5587 -- Item: serving_of_menemen_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP 35 -- MP 35 -- Agility 2 -- Intelligence -2 -- HP recovered while healing 2 -- MP recovered while healing 2 ------------------------------------...
gpl-3.0
LuaDist2/busted.ryanplusplus
busted/languages/en.lua
3
1369
local s = require('say') s:set_namespace('en') -- 'Pending: test.lua @ 12 \n description s:set('output.pending', 'Pending') s:set('output.failure', 'Failure') s:set('output.error', 'Error') s:set('output.success', 'Success') s:set('output.pending_plural', 'pending') s:set('output.failure_plural', 'failures') s:set('...
mit
Kthulupwns/master
scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua
7
2224
----------------------------------- -- Area: Tahrongi_Canyon -- NPC: Shattered Telepoint -- @pos 179 35 255 117 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Tahrongi_Ca...
gpl-3.0
Kthulupwns/master
scripts/zones/Mamook/Zone.lua
28
1299
----------------------------------- -- -- Zone: Mamook (65) -- ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Mamook/TextIDs"); ----------------------------------- -- ...
gpl-3.0
Kthulupwns/master
scripts/zones/Windurst_Waters_[S]/npcs/Rakih_Lyhall.lua
38
1050
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Rakih Lyhall -- Type: Standard NPC -- @zone: 94 -- @pos -48.111 -4.5 69.712 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
alicybery/123bot
plugins/boobs.lua
90
1731
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
Kthulupwns/master
scripts/globals/limbus.lua
4
36620
require("scripts/globals/keyitems"); -- require("scripts/globals/limbus"); APPOLLYON_SE_NE = 1; --out 557 -1 441 128 APPOLLYON_NW_SW = 2; --out -561 0 443 242 TEMENOS = 3; --WHITE_CARD = 349; --RED_CARD = 350; --BLACK_CARD = 351; --COSMOCLEANSE ...
gpl-3.0
LuaDist2/try
lakeconfig.lua
3
5357
local io = require "io" io.stdout:setvbuf"no" io.stderr:setvbuf"no" function vc_version() local VER = lake.compiler_version() MSVC_VER = ({ [15] = '9'; [16] = '10'; })[VER.MAJOR] or '' return MSVC_VER end if not L then local function arkey(t) assert(type(t) == 'table') local keys = {} for k in ...
mit
gamedev2/cocos2d-x-2.2
samples/Lua/TestLua/Resources/luaScript/DrawPrimitivesTest/DrawPrimitivesTest.lua
8
3911
local SceneIdx = -1 local MAX_LAYER = 2 local background = nil local labelAtlas = nil local baseLayer_entry = nil local s = CCDirector:sharedDirector():getWinSize() local function getBaseLayer() local layer = CCLayer:create() local item1 = CCMenuItemImage:create(s_pPathB1, s_pPathB2) local item2 = CCMen...
mit
Kthulupwns/master
scripts/globals/abilities/fire_maneuver.lua
35
1604
----------------------------------- -- Ability: Fire Maneuver -- Enhances the effect of fire attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
Kthulupwns/master
scripts/globals/items/holy_maul_+1.lua
16
1036
----------------------------------------- -- ID: 17114 -- Item: Holy Maul +1 -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
baronTommy/new-filet-o-fish
hammerspoon_helper/boot/init.lua
1
1699
-- TEST_MODE = true -- TEST_VALUES = {} -- require('hammerspoon_helper/test/init').new():init() local Boot = {} Boot.new = function() local self = Boot return self end Boot.init = function(self) PATH = require('hammerspoon_helper/env/path') self.command = {} self.usrCommand = {} self.opt = {} self.op...
mit
Kthulupwns/master
scripts/globals/weaponskills/pyrrhic_kleos.lua
12
4880
----------------------------------- -- Pyrrhic Kleos -- Dagger weapon skill -- Skill level: N/A -- Description: Delivers a fourfold attack that lowers target's evasion. Duration of effect varies with TP. Terpsichore: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Dancer) ...
gpl-3.0
Kthulupwns/master
scripts/globals/spells/bluemagic/asuran_claws.lua
28
1798
----------------------------------------- -- Spell: Asuran Claws -- Delivers a sixfold attack. Accuracy varies with TP -- Spell cost: 81 MP -- Monster Type: Beasts -- Spell Type: Physical (Blunt) -- Blue Magic Points: 2 -- Stat Bonus: AGI +3 -- Level: 70 -- Casting Time: 3 seconds -- Recast Time: 60 seconds ...
gpl-3.0
Kthulupwns/master
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Ajimo-Majimo_WW.lua
30
3078
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Ajimo-Majimo, W.W. -- Outpost Conquest Guards -- @pos -40.079 -0.642 -148.785 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
Kthulupwns/master
scripts/zones/Windurst_Waters/npcs/Akkeke.lua
36
1418
----------------------------------- -- Area: Windurst Waters -- NPC: Akkeke -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 135 -6 165 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
warlock90000/awesome
customMenu/layoutmenu.lua
1
3205
local setmetatable = setmetatable local ipairs = ipairs local table = table local print = print local button = require("awful.button") local layout = require("awful.layout") local tag = require("awful.tag") local util = require("awful.util") local beautiful = require("beautiful") local wibox ...
gpl-3.0
arrivu/hiring-site
vendor/plugins/delayed_job/lib/delayed/backend/redis/bulk_update.lua
28
1444
local action, id_string, flavor, query, now = unpack(ARGV) local ids = {} if string.len(flavor) > 0 then if flavor == 'current' then ids = redis.call('ZRANGE', Keys.queue(query), 0, -1) elseif flavor == 'future' then ids = redis.call('ZRANGE', Keys.future_queue(query), 0, -1) elseif flavor == 'strand' t...
agpl-3.0
Kthulupwns/master
scripts/zones/The_Eldieme_Necropolis/npcs/qm9.lua
57
2181
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm9 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- @pos 92.272 -32 -64.676 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Windurst_Waters_[S]/npcs/HomePoint#1.lua
12
1264
----------------------------------- -- Area: Windurst_Waters_[S] -- NPC: HomePoint#1 -- @pos -32 -5 131 94 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Waters_[S]/TextIDs"); requir...
gpl-3.0
ashhher3/koreader
frontend/apps/reader/modules/readerview.lua
4
24348
local AlphaContainer = require("ui/widget/container/alphacontainer") local ReaderFlipping = require("apps/reader/modules/readerflipping") local ReaderFooter = require("apps/reader/modules/readerfooter") local ReaderDogear = require("apps/reader/modules/readerdogear") local OverlapGroup = require("ui/widget/overlapgroup...
agpl-3.0
UltronTG/UltronTG
plugins/kickme.lua
2
1030
local function run(msg, matches) if matches[1] == 'kickme' then local hash = 'kick:'..msg.to.id..':'..msg.from.id redis:set(hash, "waite") return "در خواست اخراج شما ارسال شد\nبرای قطعی سازی↙️\n\n/yes = kick\n/no = not kick" end if msg.text then local hash = 'kick:'..msg.to.id..':'..msg.from.id ...
gpl-2.0
gamedev2/cocos2d-x-2.2
samples/Lua/TestLua/Resources/luaScript/RotateWorldTest/RotateWorldTest.lua
8
3356
local size = CCDirector:sharedDirector():getWinSize() local function CreateSpriteLayer() local layer = CCLayer:create() local x, y x = size.width y = size.height local sprite = CCSprite:create(s_pPathGrossini) local spriteSister1 = CCSprite:create(s_pPathSister1) local spriteSister2 = CCSprite...
mit
Kthulupwns/master
scripts/globals/items/broiled_carp.lua
35
1291
----------------------------------------- -- ID: 4586 -- Item: Broiled Carp -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -1 -- Ranged ATT % 14 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
ashhher3/koreader
frontend/ui/widget/confirmbox.lua
4
3321
local InputContainer = require("ui/widget/container/inputcontainer") local CenterContainer = require("ui/widget/container/centercontainer") local FrameContainer = require("ui/widget/container/framecontainer") local HorizontalGroup = require("ui/widget/horizontalgroup") local VerticalGroup = require("ui/widget/verticalg...
agpl-3.0
shangwudong/MyNodeMcu
lua_modules/ds18b20/ds18b20.lua
10
3486
-------------------------------------------------------------------------------- -- DS18B20 one wire module for NODEMCU -- NODEMCU TEAM -- LICENCE: http://opensource.org/licenses/MIT -- Vowstar <vowstar@nodemcu.com> -- 2015/02/14 sza2 <sza2trash@gmail.com> Fix for negative values ---------------------------------------...
mit
samanhtm/zero
plugins/banhammer.lua
13
36122
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
Kthulupwns/master
scripts/zones/Mhaura/npcs/Nomad_Moogle.lua
34
1116
----------------------------------- -- Area: Mhaura -- NPC: Nomad Moogle ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/settings"); ------------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Port_San_dOria/npcs/Nazar.lua
12
1266
----------------------------------- -- Area: Port San d'Oria -- NPC: Nazar -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scripts/zones/Port_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action ---------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Port_San_dOria/npcs/Brifalien.lua
19
1772
----------------------------------- -- Area: Port San d'Oria -- NPC: Brifalien -- Involved in Quests: Riding on the Clouds -- @zone 232 -- @pos -20 -4 -74 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
Kthulupwns/master
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kalimahf.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kalimahf -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
Kthulupwns/master
scripts/globals/items/watermelon.lua
35
1197
----------------------------------------- -- ID: 4491 -- Item: watermelon -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -6 -- Intelligence 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
ld-test/luasocket
test/smtptest.lua
44
5376
local sent = {} local from = "diego@localhost" local server = "localhost" local rcpt = "luasocket@localhost" local files = { "/var/spool/mail/luasocket", "/var/spool/mail/luasock1", "/var/spool/mail/luasock2", "/var/spool/mail/luasock3", } local t = socket.time() local err dofile("mbox.lua") local p...
mit
Kthulupwns/master
scripts/globals/items/pumpkin_pie_+1.lua
35
1372
----------------------------------------- -- ID: 4447 -- Item: pumpkin_pie_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 45 -- Intelligence 4 -- Charisma -1 -- MP Recovered While Healing 1 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
Kthulupwns/master
scripts/zones/Rabao/npcs/Waylea.lua
38
1048
----------------------------------- -- Area: Rabao -- NPC: Waylea -- Type: Reputation -- @zone: 247 -- @pos 12.384 4.658 -32.392 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ---------------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Windurst_Waters_[S]/npcs/Rohn_Ehlbalna.lua
38
1051
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Rohn Ehlbalna -- Type: Standard NPC -- @zone: 94 -- @pos -43.473 -4.5 46.496 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil...
gpl-3.0
ca25nada/spawncamping-wallhack
Scripts/01 player_config.lua
1
5340
local defaultGameplayCoordinates = { JudgeX = 0, JudgeY = 40, ComboX = 30, ComboY = -20, ErrorBarX = SCREEN_CENTER_X, ErrorBarY = SCREEN_CENTER_Y + 53, TargetTrackerX = SCREEN_CENTER_X + 26, TargetTrackerY = SCREEN_CENTER_Y + 30, JudgeCounterX = 0, JudgeCounterY = SCREEN_CENTER_Y - 80, DisplayPercentX = 80, ...
mit
Kthulupwns/master
scripts/zones/Mount_Zhayolm/npcs/qm5.lua
8
1173
----------------------------------- -- Area: Mount Zhayolm -- NPC: ??? (Spawn Sarameya(ZNM T4)) -- @pos 322 -14 -581 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); ----------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Rabao/npcs/Guinavie.lua
28
1788
----------------------------------- -- Area: Rabao -- NPC: Guinavie -- Chocobo Vendor ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- ...
gpl-3.0
Kthulupwns/master
scripts/globals/items/purple_polypore.lua
36
1156
----------------------------------------- -- ID: 5682 -- Item: Purple Polypore -- Food Effect: 5 Min, All Races ----------------------------------------- -- Strength -6 -- Mind +4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
Kthulupwns/master
scripts/zones/Kazham/TextIDs.lua
5
1972
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6382; -- Obtained: <item>. GIL_OBTAINED = 6383; -- Obtained <number> gil. KEYITEM_OBTAINED = 6385; -- Obtai...
gpl-3.0
Kthulupwns/master
scripts/globals/abilities/scavenge.lua
6
1363
----------------------------------- -- Ability: Scavenge -- Searches the ground around user for items. -- Obtained: Ranger Level 10 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); --------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Empyreal_Paradox/mobs/Promathia.lua
7
2691
----------------------------------- -- Area: Empyreal Paradox -- NPC: Promathia ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/zones/Empyreal_Paradox/TextIDs"); ----------------------------------- -- onMobInitialize Action -------...
gpl-3.0
Kthulupwns/master
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_EV.lua
27
1471
----------------------------------- -- Area: LaLoff Amphitheater -- NPC: Ark Angel EV ----------------------------------- require("scripts/globals/status"); require("scripts/zones/LaLoff_Amphitheater/TextIDs"); function onMobInitialize(mob) mob:addMod(MOD_REGAIN, 50); end; --------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Cloister_of_Storms/npcs/Lightning_Protocrystal.lua
12
1914
----------------------------------- -- Area: Cloister of Storms -- NPC: Lightning Protocrystal -- Involved in Quests: Trial by Lightning -- @pos 534.5 -13 492 202 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ------------------------------------- requir...
gpl-3.0
Daedeross/Subterra
src/prototypes/entity/power.lua
1
8356
local transfer_rate = 50 -- in MW local buffer_size = transfer_rate * 16667 -- J/tick (enough to hold 1 tick's worth of energy) local input_priority = "secondary-input" local output_priority = "tertiary" local S_ROOT = "__subterra__" _blank = S_ROOT .. "/graphics/blank.png" local function blank_picture() return {...
mit
antispambot2/sersbot
plugins/stats.lua
2
4046
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
powerboat9/AIBUT
AI/coords.lua
1
1029
function getSides() return { "north", "east", "south", "west", "up", "down" } end function getFacingCoords(direction, x, y, z) directionLow = "" if type(direction) == "number" then directionLow = getSides()[direction] if not direction...
mit
Kthulupwns/master
scripts/zones/Dangruf_Wadi/npcs/qm4.lua
17
1900
----------------------------------- -- NPC: ??? (QM4) -- Type: Grasswix dice roll game part 2 -- @zone: 191 -- Involved in quest "As Thick As Thieves" ----------------------------------- package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
Kthulupwns/master
scripts/zones/Bastok_Mines/npcs/Ranpi-Pappi.lua
38
1047
----------------------------------- -- Area: Bastok Mines -- NPC: Ranpi-Pappi -- Type: Standard NPC -- @zone: 234 -- @pos -4.535 -1.044 49.881 -- -- Auto-Script: Requires Verification (Verified by Brando) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scri...
gpl-3.0
Kthulupwns/master
scripts/globals/items/serving_of_patriarch_sautee.lua
36
1253
----------------------------------------- -- ID: 5677 -- Item: Serving of Patriarch Sautee -- Food Effect: 4Hrs, All Races ----------------------------------------- -- MP 60 -- Mind 7 -- MP Recovered While Healing 7 ----------------------------------------- require("scripts/globals/status"); -------------------------...
gpl-3.0
gianlucaborello/sysdig
userspace/sysdig/chisels/topprocs_errors.lua
12
1631
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without e...
gpl-2.0
muhkuh-sys/org.muhkuh.tests-iomatrix
templates/test_NXHX51-ETM_R4_HIF.lua
1
7139
module("test01", package.seeall) require("io_matrix") require("parameters") CFG_strTestName = "IOMATRIX_NXHX51ETM_R4" CFG_aParameterDefinitions = { { name="verbose", default=0, help="Set the verbose mode. A value of 0 prints only errors and the analysis. Higher values print more details.", mandatory=true, ...
gpl-2.0
Kthulupwns/master
scripts/zones/Al_Zahbi/npcs/Rughadjeen.lua
38
1030
----------------------------------- -- Area: Al Zahbi -- NPC: Rughadjeen -- Type: Skyserpent General -- @zone: 48 -- @pos -74.150 -7 70.656 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------...
gpl-3.0
Kthulupwns/master
scripts/globals/abilities/pets/stone_ii.lua
20
1150
--------------------------------------------------- -- Stone 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ---------------------------------------------...
gpl-3.0
Kthulupwns/master
scripts/zones/Cloister_of_Gales/mobs/Ogmios.lua
12
1272
----------------------------------- -- Area: Cloister of Gales -- NPC: Ogmios -- Involved in Quest: Carbuncle Debacle ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); ----------------------------------- -- OnMobSpawn Action --------------------------------...
gpl-3.0
ItalyToast/wcg
gamemode/cl_pickrace.lua
1
2233
print("exec cl_pickrace.lua") RacePicker = {} --[[--------------------------------------------------------- Name: gamemode:ShowTeam() Desc: -----------------------------------------------------------]] function RacePicker:ShowRace(player) print("pick race") if ( IsValid( self.RaceSelectFrame ) ) then return...
mit
hacker44-h44/sasan
plugins/banhammer.lua
294
10470
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
Kthulupwns/master
scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua
38
1408
----------------------------------- -- Area: Windurst Walls -- NPC: Moan-Maon -- Type: Standard NPC -- @pos 88.244 -6.32 148.912 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scr...
gpl-3.0
ChrisBird/ardupilot
libraries/AP_Scripting/examples/frsky_rpm.lua
22
1701
--[[ Simple example that sends rpm info down the frsky link it works with SPort using SERIAL_PROTOCOL=4,10 and with FPort using SERIAL_PROTOCOL=23. We'll be using OpenTX genuine RPM data IDs (https://github.com/opentx/opentx/blob/2.3/radio/src/telemetry/frsky.h) RPM_FIRST_ID 0x0500 RPM_LAST_ID 0x05...
gpl-3.0
diegonc/packet-bnetp
tools/xmlexport/api/flags.lua
1
1084
require "api.integer" require "api.utils" require "doc" local function flags_field(field) local attrs = make_args_table_with_positional_map( {"label", "mask", "desc", "sname"}, field) local vmap = valuemap(attrs.desc) attrs.desc = nil local node = doc.new ("field", attrs) if vmap then node:add_direct_ch...
gpl-3.0
HajiMokh/hajimokh
plugins/info.lua
4
10780
do local Arian = 232006008,239832443 local Sosha = 000000000 --local Sosha2 = 164484149 local function setrank(msg, name, value,receiver) -- setrank function local hash = nil hash = 'rank:variables' if hash then redis:hset(hash, name, value) return send_msg(receiver, 'مقام برای ('..name..') به : '..v...
agpl-3.0