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
mynameiscraziu/karizma
plugins/exchange.lua
352
2076
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 function comma_value(n) -- credit http://richard.warburton.it local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$') return left..(num:reverse():gsub('...
gpl-2.0
adib1380/anti2
plugins/exchange.lua
352
2076
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 function comma_value(n) -- credit http://richard.warburton.it local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$') return left..(num:reverse():gsub('...
gpl-2.0
hadirahimi1380/-AhRiMaN-
plugins/exchange.lua
352
2076
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 function comma_value(n) -- credit http://richard.warburton.it local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$') return left..(num:reverse():gsub('...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Excavation_Point.lua
12
1675
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Excavation Point -- Used in Quest: The Holy Crest -- @pos 234 0.1 -110 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/excavation...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Yhoator_Jungle/npcs/Ilieumort_RK.lua
13
3325
----------------------------------- -- Area: Yhoator Jungle -- NPC: Ilieumort, R.K. -- Outpost Conquest Guards -- @pos 200.254 -1 -80.324 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/cocoon.lua
28
1337
----------------------------------------- -- Spell: Cocoon -- Enhances defense -- Spell cost: 10 MP -- Monster Type: Vermin -- Spell Type: Magical (Earth) -- Blue Magic Points: 1 -- Stat Bonus: VIT+3 -- Level: 8 -- Casting Time: 1.75 seconds -- Recast Time: 60 seconds -- Duration: 90 seconds -- -- Combos: None -------...
gpl-3.0
mitchellwrosen/language-lua2
test/samples/2.lua
3
4613
-- The constructor makes a tuple definition, which has its own intern table -- tuples may have an optional binding to alias a key to a given tuple index --[[ Tuples are immutable lists that can be used as table keys because they have value semantics, that is, the tuple constructor returns the same identity for the exa...
bsd-3-clause
rigeirani/bbb
plugins/arabic_lock.lua
56
1093
antiarabic = {}-- An empty table for solving multiple kicking problem do local function run(msg, matches) if is_momod(msg) then -- Ignore mods,owner,admins return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['lock_arabic'] then if data[tostring(msg.to.id...
gpl-2.0
jsbackus/lre-find
unit_tests/lib/suite_template.lua
1
2262
#!/usr/bin/env lua -- Copyright (C) 2015 Jeff Backus(jeff@jsbackus.com) -- -- Permission is hereby granted, free of charge, to any person -- obtaining a copy of this software and associated documentation -- files (the "Software"), to deal in the Software without -- restriction, including without limitation the rights ...
mit
AdamGagorik/darkstar
scripts/globals/items/plate_of_boiled_barnacles_+1.lua
18
1315
----------------------------------------- -- ID: 5981 -- Item: Plate of Boiled Barnacles +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Charisma -2 -- Defense % 26 Cap 135 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
nerdclub-tfg/telegram-bot
plugins/fefe.lua
1
1419
local function getpost(id) local base_url = "http://blog.fefe.de/?ts=" local res, code = http.request(base_url .. id) print('HTTP: ' .. base_url .. id) print(code) if code ~=200 then return nil end return res end local function extracttext(results) if results == nil then return "Er...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/RoMaeve/mobs/Shikigami_Weapon.lua
8
1141
----------------------------------- -- Area: RoMaeve -- MOB: Shikigami Weapon ----------------------------------- local path = { -47, -4, -37, -49, -4, -37, -54, -4, -37, -59, -4, -43, -67, -3.7, -50.6, -76, -1.4, -60, -87, -1, -69, -104, -3, -58, -118, -3, -46, -112, -3.5, -28, -98, -6, -16, -84, -6, -9, -64, -6, 1...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Yhoator_Jungle/npcs/Mugha_Dovajaiho.lua
13
1881
----------------------------------- -- Area: Yhoator Jungle -- NPC: Mugha Dovajaiho -- @pos 202 0 -82 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); require(...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Woods/npcs/Soni-Muni.lua
12
2725
----------------------------------- -- Area: Windurst Woods -- NPC: Soni-Muni -- Starts & Finishes Quest: The Amazin' Scorpio -- @pos -17.073 1.749 -59.327 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
master00041/gpsuper
bot/bot.lua
1
7418
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") require("./bot/permissions") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/weaponskills/trueflight.lua
6
1939
----------------------------------- -- Skill Level: N/A -- Description: Deals light elemental damage. Damage varies with TP. Gastraphetes: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Ranger) quest. -- Does not work with Flashy Shot. -- Does not work with Stealth Shot. -- Al...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua
20
1949
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Song Runes -- Finishes Quest: The Old Monument ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
josschne/BabyWomp
cocos2d/external/lua/luajit/src/src/jit/dis_mips.lua
99
13222
---------------------------------------------------------------------------- -- LuaJIT MIPS disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------...
mit
AdamGagorik/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/King_Zagan.lua
5
1331
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: King Zagan ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngaged(...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/abilities/chi_blast.lua
30
1077
----------------------------------- -- Ability: Chi Blast -- Releases Chi to attack an enemy. -- Obtained: Monk Level 41 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onAbilit...
gpl-3.0
Dynosaur/dynosaur
system/modules/lualibs/ssl/https.lua
8
3970
---------------------------------------------------------------------------- -- LuaSec 0.5 -- Copyright (C) 2009-2014 PUC-Rio -- -- Author: Pablo Musa -- Author: Tomas Guisasola --------------------------------------------------------------------------- local socket = require("socket") local ssl = require("ssl") lo...
gpl-3.0
Hostle/luci
applications/luci-app-multi-user/luasrc/model/cbi/admin_users/edit_user.lua
1
2721
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local utl = require "luci.util" m = Map("users", arg[1]:upper(), translate("User Configuration Options")) local fs = require "nixio.fs" local groups = {...
apache-2.0
mynameiscraziu/karizma
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
nerdclub-tfg/telegram-bot
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
D-m-L/evonara
modules/libs/3d2/lib/debugutil.lua
1
1697
-- Copyright (C) 2012 Nicholas Carlson -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software without restriction, including without limitation -- the rights to use, copy, modify, merge, publi...
mit
AdamGagorik/darkstar
scripts/globals/abilities/thunder_maneuver.lua
35
1619
----------------------------------- -- Ability: Thunder Maneuver -- Enhances the effect of thunder attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status...
gpl-3.0
josschne/BabyWomp
cocos2d/external/lua/luajit/src/src/jit/dis_arm.lua
99
19364
---------------------------------------------------------------------------- -- LuaJIT ARM disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
mit
Hostle/luci
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
68
3418
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.olsrd", package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) local g = { } if plugin_instance == "routes" then g[#g+1] = { ...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Reisenjima/Zone.lua
30
1439
----------------------------------- -- -- Zone: Reisenjima (291) -- ----------------------------------- package.loaded["scripts/zones/Reisenjima/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Reisenjima/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone"); -----...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Telepoint.lua
13
1225
----------------------------------- -- Area: Jugner Forest [S] -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Jugner_Forest_[S]/TextIDs"); ----------...
gpl-3.0
Hostle/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua
26
3927
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local util = require "nixio.util" local has_fscheck = fs.access("/usr/sbin/e2fsck") local block = io.popen("block info", "r") local ln, dev, devices = nil, nil, {} repeat ln =...
apache-2.0
Asher9/Asher9-s-Programms
TurbineControl/turbineControl_v2/src/program/turbineControl.lua
1
34118
-- Reactor- und Turbine control by Asher9 -- -- Version 2.6 -- -- Turbine control -- --Loads the touchpoint API shell.run("cp /reactor-turbine-program/config/touchpoint.lua /touchpoint") os.loadAPI("touchpoint") shell.run("rm touchpoint") --Loads the input API shell.run("cp /reactor-turbine-program/config/input.lua /...
mit
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/Paouala.lua
24
2235
----------------------------------- -- Area: Southern San d'Oria -- NPC: Paouala -- Starts and Finishes Quest: Sleepless Nights -- @zone 230 -- @pos 158 -6 17 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
kidaa/torch7
TensorMath.lua
28
42196
local wrap = require 'cwrap' require 'torchcwrap' local interface = wrap.CInterface.new() local method = wrap.CInterface.new() interface:print([[ #include "TH.h" #include "luaT.h" #include "utils.h" ]]) -- specific to torch: we generate a 'dispatch' function -- first we create a helper function -- n...
bsd-3-clause
nerdclub-tfg/telegram-bot
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images loca...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Sauromugue_Champaign_[S]/Zone.lua
15
1547
----------------------------------- -- -- Zone: Sauromugue_Champaign_[S] (98) -- ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Sauromugue_Champaign_[S]/TextIDs")...
gpl-3.0
uladz/SimpleChatBubbles
Libs/LibAddonMenu-2.0/controls/custom.lua
10
1334
--[[customData = { type = "custom", reference = "MyAddonCustomControl", --(optional) unique name for your control to use as reference refreshFunc = function(customControl) end, --(optional) function to call when panel/controls refresh width = "full", --or "half" (optional) } ]] local widgetVersion = 6 local LAM = ...
mit
AdamGagorik/darkstar
scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua
13
2086
----------------------------------- -- Area: Ghelsba_Outpost -- NPC: Hut Door -- @pos -165.357 -11.672 77.771 140 ------------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/gl...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Prince_Seere.lua
5
1330
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Prince Seere ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngage...
gpl-3.0
Hostle/luci
build/luadoc/luadoc/config.lua
165
1234
------------------------------------------------------------------------------- -- LuaDoc configuration file. This file contains the default options for -- luadoc operation. These options can be overriden by the command line tool -- @see luadoc.print_help -- @release $Id: config.lua,v 1.6 2007/04/18 14:28:39 tomas Exp...
apache-2.0
AdamGagorik/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fo.lua
13
2635
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: North Plate -- @pos 174 -32 50 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- --...
gpl-3.0
flybird119/Atlas
examples/tutorial-tokenize.lua
40
1495
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. 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 dis...
gpl-2.0
samuelwbaird/brogue
source/dweeb/silage.lua
1
17891
-- provides an in memory set of data objects that can be mostly treated as simple -- lua tables but are transparently persisted -- -- tables are wrapped in a metatable to persist and enforce limitattions -- all keys and values must be bool, number, string or one of these tables -- -- supply a stowage db as the backing...
mit
githubtelebot/Bot-telebot
plugins/ingroup.lua
6
90635
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Northern_San_dOria/npcs/Calovour.lua
13
1411
----------------------------------- -- Area: Northern San d'Oria -- NPC: Calovour -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); requi...
gpl-3.0
Asher9/Asher9-s-Programms
GitHub-Downloader/github.lua
1
8513
-- pastebin run -f [-f] name repo tree [link [sha]] -- from Asher9 -- https://github.com/Asher9/Asher9-s-Programms local shell = require("shell") local fs = require("filesystem") local component = require("component") local args, options = shell.parse(...) local wget = loadfile("/bin...
mit
Anarchid/Zero-K-Infrastructure
Benchmarker/Benchmarks/Configs/ZKL_with_lights/LuaUI/pathTests/config/DeltaSiegeDry.lua
24
69570
return { [1] = { delayToNextTest = 480, unitList = {}, }, [2] = { delayToNextTest = 300, unitList = { [1] = { maxTargetDist = 25, maxTravelTime = 900, teamID = 1, unitName = "corgator", destinationCoordinates = { [1] = { [1] = 1500, [2] = 325, [3] = 1500, },...
gpl-3.0
Anarchid/Zero-K-Infrastructure
Benchmarker/Benchmarks/Configs/ZKL_default/LuaUI/pathTests/config/DeltaSiegeDry.lua
24
69570
return { [1] = { delayToNextTest = 480, unitList = {}, }, [2] = { delayToNextTest = 300, unitList = { [1] = { maxTargetDist = 25, maxTravelTime = 900, teamID = 1, unitName = "corgator", destinationCoordinates = { [1] = { [1] = 1500, [2] = 325, [3] = 1500, },...
gpl-3.0
Hostle/luci
applications/luci-app-ushare/luasrc/model/cbi/ushare.lua
62
1088
-- Copyright 2008 Yanira <forum-2008@email.de> -- Licensed to the public under the Apache License 2.0. m = Map("ushare", translate("uShare"), luci.util.pcdata(translate("uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server component that provides UPnP media devices with information on available mul...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Hazhalm_Testing_Grounds/Zone.lua
20
1298
----------------------------------- -- -- Zone: Hazhalm_Testing_Grounds (78) -- ----------------------------------- package.loaded["scripts/zones/Hazhalm_Testing_Grounds/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Hazhalm_Testing_Grounds/TextIDs"); ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua
13
1462
----------------------------------- -- 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
AdamGagorik/darkstar
scripts/commands/deleffect.lua
7
1074
--------------------------------------------------------------------------------------------------- -- func: addeffect -- desc: Adds the given effect to the given player. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters ...
gpl-3.0
sbuettner/kong
kong/plugins/response_transformer/body_filter.lua
19
2208
local utils = require "kong.tools.utils" local stringy = require "stringy" local cjson = require "cjson" local _M = {} local APPLICATION_JSON = "application/json" local CONTENT_TYPE = "content-type" local function get_content_type() local header_value = ngx.header[CONTENT_TYPE] if header_value then return st...
mit
AdamGagorik/darkstar
scripts/zones/Lower_Jeuno/npcs/Miladi-Nildi.lua
13
1049
----------------------------------- -- Area: Lower Jeuno -- NPC: Miladi-Nildi -- Type: Standard NPC -- @zone: 245 -- @pos 39.898 -5.999 77.190 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ---------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/refueling.lua
27
1232
----------------------------------------- -- Spell: Refueling -- Increases attack speed -- Spell cost: 29 MP -- Monster Type: Arcana -- Spell Type: Magical (Wind) -- Blue Magic Points: 4 -- Stat Bonus: AGI+2 -- Level: 48 -- Casting Time: 1.5 seconds -- Recast Time: 30 seconds -- Duration: 5 minutes -- -- Combos: None ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/whale_staff.lua
42
1075
----------------------------------------- -- ID: 17533 -- Item: Whale Staff -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -------------------------------...
gpl-3.0
sjznxd/lc-20130204
applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua
78
1202
--[[ Luci configuration model for statistics - collectd disk plugin configuration (c) 2008 Freifunk Leipzig / 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 ...
apache-2.0
mynameiscraziu/karizma
plugins/weather.lua
351
1443
do local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) local url = BASE_URL url = url..'?q='..location url = url..'&units=metric' local b, c, h = http.request(url) if c ~= 200 then return nil end local weather = ...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/spells/foe_requiem_v.lua
26
1630
----------------------------------------- -- Spell: Foe Requiem V ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
Android092921/season
plugins/invite.lua
393
1225
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
khoshhalbot/khoshhal
plugins/invite.lua
393
1225
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
nerdclub-tfg/telegram-bot
plugins/tweet.lua
634
7120
local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json" local client = OAuth.new(consumer_key, consumer_secret, ...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/items/lucky_egg.lua
18
1246
----------------------------------------- -- ID: 4600 -- Item: lucky_egg -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 14 -- Magic 14 -- Evasion 10 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Woods/npcs/Kuoh_Rhel.lua
12
4078
----------------------------------- -- Area: Windurst Woods -- NPC: Kuoh Rhel -- Type: Standard NPC -- @zone: 241 -- @pos 131.437 -6 -102.723 -- Starts quests: Chocobilious, In a Stew -- Note: In a Stew should only repeat once per conquest tally. The tally is not implemented at time of -- writing this quest...
gpl-3.0
sjznxd/lc-20130204
libs/web/luasrc/http.lua
57
8210
--[[ LuCI - HTTP-Interaction Description: HTTP-Header manipulator and form variable preprocessor License: Copyright 2008 Steven Barth <steven@midlink.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 Lice...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Upper_Jeuno/npcs/Renik.lua
13
1358
----------------------------------- -- Area: Upper Jeuno -- NPC: Renik -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); --------------...
gpl-3.0
sbuettner/kong
spec/integration/admin_api/consumers_routes_spec.lua
20
6146
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" local send_content_types = require "spec.integration.admin_api.helpers" describe("Admin API", function() setup(function() spec_helper.prepare_db() spec_helper.start_kong() end)...
mit
AdamGagorik/darkstar
scripts/globals/items/pixie_mace.lua
41
1075
----------------------------------------- -- ID: 17414 -- Item: Pixie Mace -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
qwattash/config
old/awesome/zenburn/theme.lua
2
5889
------------------------------- -- "Zenburn" awesome theme -- -- By Adrian C. (anrxc) -- ------------------------------- -- {{{ Main local theme = {} theme.wallpaper = "/usr/share/awesome/themes/zenburn/zenburn-background.png" -- }}} -- {{{ Styles theme.font = "sans 8" -- {{{ Colors theme.fg_normal = "#...
mit
AdamGagorik/darkstar
scripts/zones/Norg/npcs/Ryoma.lua
16
4101
----------------------------------- -- Area: Norg -- NPC: Ryoma -- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will -- Involved in Quest: Ayame and Kaede -- @pos -23 0 -9 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ozzmo-Mazmo.lua
13
1068
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ozzmo-Mazmo -- Type: Standard NPC -- @zone: 94 -- @pos -61.677 -13.311 106.400 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
Hostle/luci
protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_464xlat.lua
54
1063
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2013 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local tunlink, defaultroute, metric, mtu section:taboption("general", Value, "ip6prefix", translate("NAT64 Prefix"), translate(...
apache-2.0
AdamGagorik/darkstar
scripts/globals/items/choco-scroll.lua
18
1180
----------------------------------------- -- ID: 5917 -- Item: Choco-scroll -- Food Effect: 3 Min, All Races ----------------------------------------- -- Mind 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
josemrb/dotfiles
nvim/lua/plugins/fuzzy_finder.lua
1
3383
-- local local telescope = require("telescope") local actions = require("telescope.actions") -- setup telescope.setup { defaults = { mappings = { i = { ["<ESC>"] = actions.close, }, }, }, pickers = { buffers = { previewer = false, theme = "dropdown" }, find_file...
mit
AdamGagorik/darkstar
scripts/globals/spells/addle.lua
52
1497
----------------------------------------- -- 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
ahmedbikes/fox
bot/utils.lua
4
31043
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
josschne/BabyWomp
cocos2d/cocos/scripting/lua/script/Deprecated.lua
15
45720
require "Cocos2d.lua" --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of CCDirector will be deprecated,begin local CCDirectorDeprecated = { } function CCDirectorDeprecated.sharedDirector()...
mit
AdamGagorik/darkstar
scripts/zones/Metalworks/npcs/Hugues.lua
29
1804
----------------------------------- -- Area: Metalworks -- NPC: Hugues -- Type: Smithing Synthesis Image Support -- @pos -106.336 2.000 26.117 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requir...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/actinic_burst.lua
27
1440
----------------------------------------- -- Spell: Actinic Burst -- Greatly lowers the accuracy of enemies within range for a brief period of time -- Spell cost: 24 MP -- Monster Type: Luminions -- Spell Type: Magical (Light) -- Blue Magic Points: 4 -- Stat Bonus: CHR+2, HP+20 -- Level: 74 -- Casting Time: 0.5 seconds...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Cloister_of_Gales/Zone.lua
30
1734
----------------------------------- -- -- Zone: Cloister_of_Gales (201) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Gales/TextIDs"); -----------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/treasure.lua
13
21491
------------------------------------------------- -- Treasure functions -- Info from: -- http://wiki.ffxiclopedia.org/wiki/Picking_your_Coffers_and_Chests -- http://ffxi.allakhazam.com/db/jobs.html?fjob=10&mid=1086187627165365190&num=150 ------------------------------------------------- require("script...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/AlTaieu/mobs/Ru_aern.lua
8
2628
----------------------------------- -- Area: Al'Taieu -- MOB: Ru_aern ----------------------------------- require("scripts/globals/missions"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob) end; ----------------------------------- -- ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/meat_mithkabob.lua
18
1448
----------------------------------------- -- ID: 4381 -- Item: meat_mithkabob -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 5 -- Agility 1 -- Intelligence -2 -- Attack % 22 -- Attack Cap 60 ----------------------------------------- require("scripts/globals/status"); ----------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_Windurst/npcs/Sigismund.lua
12
2393
----------------------------------- -- Area: Windurst Waters -- NPC: Sigismund -- Starts and Finishes Quest: To Catch a Falling Star -- Working 100% -- @zone = 240 -- @pos = -110 -10 82 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; -------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Bammiro_IM.lua
13
3323
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Bammiro, I.M. -- Border Conquest Guards -- @pos -241.334 -1 478.602 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
Wiladams/cream
ovs/openflow/openflow_1_1.lua
1
28354
local ffi = require("ffi") local bit = require("bit") local bor = bit.bor local band = bit.band local lshift = bit.lshift local common = require("openflow_common") local ovstypes = require("ovs_types") local OFP_ASSERT = common.OFP_ASSERT local OFP11_PORT_C = ovstypes.OFP11_PORT_C local exports = {} ffi.cdef[[ /* ...
mit
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/bludgeon.lua
33
1690
----------------------------------------- -- Spell: Bludgeon -- Delivers a threefold attack. Accuracy varies with TP -- Spell cost: 16 MP -- Monster Type: Arcana -- Spell Type: Physical (Blunt) -- Blue Magic Points: 2 -- Stat Bonus: STR+1 -- Level: 18 -- Casting Time: 0.5 seconds -- Recast Time: 11.75 seconds -- Skillc...
gpl-3.0
Nathan22Miles/sile
lua-libraries/std/base.lua
6
3325
------ -- @module std.base -- Doc-commented in table.lua... local function clone (t, nometa) local u = {} if not nometa then setmetatable (u, getmetatable (t)) end for i, v in pairs (t) do u[i] = v end return u end -- Doc-commented in table.lua... local function clone_rename (map, t) local r = c...
mit
AdamGagorik/darkstar
scripts/zones/East_Sarutabaruta/Zone.lua
12
5491
----------------------------------- -- -- Zone: East_Sarutabaruta (116) -- ----------------------------------- package.loaded[ "scripts/zones/East_Sarutabaruta/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scr...
gpl-3.0
mohammad25253/seed238
plugins/trivia.lua
647
6784
do -- Trivia plugin developed by Guy Spronck -- Returns the chat hash for storing information local function get_hash(msg) local hash = nil if msg.to.type == 'chat' then hash = 'chat:'..msg.to.id..':trivia' end if msg.to.type == 'user' then hash = 'user:'..msg.from.id..':trivia' end return hash en...
gpl-2.0
sjznxd/lc-20130204
applications/luci-asterisk/luasrc/model/cbi/asterisk/meetme.lua
80
1246
--[[ LuCI - Lua Configuration Interface Copyright 2009 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://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- lo...
apache-2.0
TeleDALAD/test1
plugins/Feedback.lua
43
1081
do function run(msg, matches) local fuse = '#DearAdmin😜 we have recived a new feedback just now : #newfeedback \n\nID▶️ : ' .. msg.from.id .. '\n\nName▶ : ' .. msg.from.print_name ..'\n\nusername▶️ :@ ' .. msg.from.username ..'\n\n🅿️♏️ :\n\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id lo...
gpl-2.0
Snazz2001/fbcunn
fbcunn/init.lua
8
2568
require 'nn' require 'fbnn' require 'cunn' require 'libfbcunn' require 'libfbcunnlayers' include('AbstractParallel.lua') include('CuBLASWrapper.lua') include('DataParallel.lua') include('FeatureLPPooling.lua') include('FFTWrapper.lua') -- include('HalfPrecision.lua') include('LookupTableGPU.lua') include('ModelParalle...
bsd-3-clause
AdamGagorik/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua
13
2002
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Justinius -- Involved in mission : COP2-3 -- @pos 76 -34 68 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("sc...
gpl-3.0
nerdclub-tfg/telegram-bot
plugins/service_entergroup.lua
279
2147
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = chat_name or '' chat_id = "chat#id" .. (...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/items/sandfish.lua
18
1315
----------------------------------------- -- ID: 4291 -- Item: sandfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Cloister_of_Tremors/bcnms/trial-size_trial_by_earth.lua
26
2145
----------------------------------- -- Area: Cloister of Tremors -- BCNM: Trial-size Trial by Earth -- @pos -539 1 -493 209 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/...
gpl-3.0
Wiladams/cream
ovs/lib/list.lua
1
8503
local ffi = require("ffi") -- Doubly linked list. */ --require ("util") require ("ovs.openvswitch.ovs_list") --[[ static inline void list_init(struct ovs_list *); static inline void list_poison(struct ovs_list *); /* List insertion. */ static inline void list_insert(struct ovs_list *, struct ovs_list *); static in...
mit
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_lib_ldap/dev/prosody-posix-ldap.cfg.lua
32
2476
-- Use Include 'prosody-posix-ldap.cfg.lua' from prosody.cfg.lua to include this file authentication = 'ldap2' -- Indicate that we want to use LDAP for authentication storage = 'ldap' -- Indicate that we want to use LDAP for roster/vcard storage ldap = { hostname = 'localhost', -- L...
mit
AdamGagorik/darkstar
scripts/zones/Bastok_Mines/npcs/Conrad.lua
12
1905
----------------------------------- -- Area: Bastok Mines -- NPC: Conrad -- Outpost Teleporter NPC -- @pos 94.457 -0.375 -66.161 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("scripts...
gpl-3.0