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
redfield23/redbot
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
shahifaqeer/my-luci-bismark-0.11
protocols/ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua
63
1662
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Copyright 2013 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 License at http://w...
apache-2.0
cogwerkz/gUI4
gUI4/main.lua
1
8791
local addon, gUI4 = ... -- Lua API local _G = _G local type, ipairs, pairs = type, ipairs, pairs local tinsert, tremove, tconcat = table.insert, table.remove, table.concat local wipe = table.wipe -- WoW API local DoReadyCheck = _G.DoReadyCheck local EnableAddOn = _G.EnableAddOn local GetAddOnInfo = _G.GetAddOnInfo l...
mit
HeavensSword/darkstar
scripts/globals/spells/frost.lua
5
2061
----------------------------------------- -- Spell: Frost -- Deals ice damage that lowers an enemy's agility and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); -...
gpl-3.0
thetanil/thetasynth-pi
lua/pl/Set.lua
8
5439
--- A Set class. -- -- > Set = require 'pl.Set' -- > = Set{'one','two'} == Set{'two','one'} -- true -- > fruit = Set{'apple','banana','orange'} -- > = fruit['banana'] -- true -- > = fruit['hazelnut'] -- nil -- > colours = Set{'red','orange','green','blue'} -- > = fruit,colours --...
apache-2.0
astrellon/Rouge
data/assets/ui.lua
1
1972
-- General UI assets do -- Plain pointer cursor am.gfx_engine.asset(am.asset.new("cursor") :add_texture("data/textures/cursor.png")) -- Large button used for main menu am.gfx_engine.asset(am.asset.new("big_button") :add_texture("data/textures/bigButton.png") :num_frames(2, 2) :scale_nine({ left_x = 36,...
mit
HeavensSword/darkstar
scripts/globals/items/ojo_rice_ball.lua
3
1113
----------------------------------------- -- ID: 5929 -- Item: Ojo Rice Ball -- Food Effect: 60 Mins, All Races ----------------------------------------- -- HP +50 -- Dexterity +5 -- Vitality +5 -- Character +5 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Attack +60 -- Defense...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Windurst_Waters/npcs/Kenapa-Keppa.lua
5
11518
----------------------------------- -- Area: Windurst Waters -- NPC: Kenapa Keppa -- Involved in Quest: Food For Thought, Hat in Hand -- !pos 27 -6 -199 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Wind...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/balik_sandvici_+1.lua
3
1169
----------------------------------------- -- ID: 5591 -- Item: Balik Sandvic +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 3 -- Agility 1 -- Intelligence 3 -- Mind -2 -- Ranged ACC 6 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
ignacio/LuaNode
test/simple/test-http-tls.lua
2
4532
-- This test needs httpAllowHalfOpen enabled, because it sends the last -- requests (pipelined) and then calls finish. -- The http implementation will close http connections that are half open. module(..., lunit.testcase, package.seeall) local common = dofile("common.lua") local net = require "luanode.net" local http...
mit
botsazn/Management-Group
bot/bot.lua
1
21681
tdcli = dofile('./tg/tdcli.lua') serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() our_id = 123456789 -- Put Here Your Bot ID URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" json = (loadfile "./libs/JSON.lua")() mim...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/bowl_of_sunset_soup.lua
3
1231
----------------------------------------- -- ID: 4341 -- Item: bowl_of_sunset_soup -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Agility 3 -- Vitality -1 -- HP Recovered While Healing 5 -- Ranged Accuracy % 9 (cap 20) ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
HeavensSword/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm4.lua
5
1493
----------------------------------- -- Area: The Sanctuary of Zitah -- NPC: ??? -- Finishes Quest: Lovers in the Dusk -- @zone 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("...
gpl-3.0
N3X15/VoxelSim
ODE/OpenDynamicsEngine/build/tests.lua
2
1135
-- Premake build scripts for ODE unit tests package.name = "tests" package.kind = "exe" package.language = "c++" package.path = "custom" package.objdir = "obj/tests" package.includepaths = { "../../include", "../../tests/UnitTest++/src" } package.defines = { "_CRT_SECURE_NO_DEPRECATE" } package.files = { ma...
bsd-3-clause
pentiumao/google-diff-match-patch
lua/diff_match_patch_test.lua
264
39109
--[[ * Test Harness for Diff Match and Patch * * Copyright 2006 Google Inc. * http://code.google.com/p/google-diff-match-patch/ * * Based on the JavaScript implementation by Neil Fraser * Ported to Lua by Duncan Cross * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except...
apache-2.0
HeavensSword/darkstar
scripts/zones/Port_Bastok/npcs/Yazan.lua
5
1735
----------------------------------- -- Area: Port Bastok -- NPC: Yazan -- Starts Quests: Bite the Dust (100%) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ------------------------------------ require("scripts/globals/settings"); require("scripts/globals/titles"); requi...
gpl-3.0
ii02ii/Saqt_Pro
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Port_Jeuno/npcs/Caffie.lua
3
1389
----------------------------------- -- Area: Port Jeuno -- NPC: Caffie -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/chocobo"); require("scripts/globals/status"); ----------------------------------- functi...
gpl-3.0
qwook/dpsht
libs/loveframes/objects/menu.lua
6
7485
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- menu object local newobject = loveframes.NewObject("menu", "loveframes_object_menu", true) --[[-------------------------...
mit
HeavensSword/darkstar
scripts/globals/effects/chr_down.lua
34
1105
----------------------------------- -- -- EFFECT_CHR_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_CHR) - effect:ge...
gpl-3.0
qwook/dpsht
libs/loveframes/objects/internal/sliderbutton.lua
10
6367
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- sliderbutton class local newobject = loveframes.NewObject("sliderbutton", "loveframes_object_sliderbutton", true) --[[--...
mit
MarcoQin/QBilibili
src/lua/libs/luasocket/libluasocket/socket.lua
61
4448
----------------------------------------------------------------------------- -- LuaSocket helper module -- Author: Diego Nehab ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -- Declare module and import depend...
mit
zero-ui/miniblink49
third_party/skia/tools/lua/bbh_filter.lua
207
4407
-- bbh_filter.lua -- -- This script outputs info about 'interesting' skp files, -- where the definition of 'interesting' changes but is roughly: -- "Interesting for bounding box hierarchy benchmarks." -- -- Currently, the approach is to output, in equal ammounts, the names of the files that -- have most commands, and t...
gpl-3.0
gwx/tome-grayswandir-illusion
data/libs/callback-inflict-effect-0.lua
2
1170
-- Gray's Illusions, for Tales of Maj'Eyal. -- -- 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...
gpl-3.0
EMCTeamIR/bot
bot/utils.lua
494
23873
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
Death15/Supers-TOUCHTG
bot/utils.lua
494
23873
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
HeavensSword/darkstar
scripts/zones/Tahrongi_Canyon/npcs/Dimensional_Portal.lua
5
1088
----------------------------------- -- Area: Tahrongi_Canyon -- NPC: Dimensional_Portal -- !pos 260.000 35.150 340.000 117 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
HeavensSword/darkstar
scripts/zones/The_Ashu_Talif/instances/the_black_coffin.lua
5
2072
----------------------------------- -- -- TOAU-15: The Black Coffin -- ----------------------------------- require("scripts/globals/instance") require("scripts/globals/keyitems"); local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs"); ----------------------------------- function afterInstanceRegister(player...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Qulun_Dome/npcs/_440.lua
5
1233
----------------------------------- -- Area: Qulun Dome -- NPC: Door -- Involved in Mission: Magicite -- !pos 60 24 -2 148 ----------------------------------- package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Qulun_...
gpl-3.0
404rq/GTW-RPG
[resources]/GTWhospital/hospital_c.lua
2
1518
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/404rq/GTW-RPG/ Bugtracker: https://discuss.404rq.com/t/issues Suggestions: https://discuss.404rq.com/t/deve...
bsd-2-clause
269724033/lor
resty/session/storage/shm.lua
5
3766
local lock = require "resty.lock" local setmetatable = setmetatable local tonumber = tonumber local concat = table.concat local now = ngx.now local var = ngx.var local shared = ngx.shared local function enabled(val) if val == nil then return nil end return val == true ...
mit
pd2-linux/tina
feeds/luci/protocols/ppp/luasrc/model/cbi/admin_network/proto_ppp.lua
59
3761
--[[ LuCI - Lua Configuration Interface 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://www.apache.org/licenses/LICENSE-2.0 ]]-- local ma...
gpl-2.0
HeavensSword/darkstar
scripts/globals/weaponskills/spinning_scythe.lua
25
1418
----------------------------------- -- Spinning Scythe -- Scythe weapon skill -- Skill Level: 125 -- Delivers an area of effect attack. Attack radius varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget & Soil Gorget. -- Aligned with the Aqua Belt & Soil Belt. -- Element: None -- Modifiers: ...
gpl-3.0
ariasezar/smart
libs/lua-redis.lua
1
35612
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Apollyon/bcnms/central_apollyon.lua
35
1239
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[Central_Apollyon]Un...
gpl-3.0
HeavensSword/darkstar
scripts/globals/spells/cura_ii.lua
3
4199
----------------------------------------- -- Spell: Cura -- Restores hp in area of effect. Self target only -- From what I understand, Cura's base potency is the same as Cure II's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga III -- Modeled after our cure_ii.lua, which was modeled after the below refe...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Pashhow_Marshlands/TextIDs.lua
5
1046
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6402; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6408; -- Obtained: <item>. GIL_OBTAINED = 6409; -- Obtained <number> gil. KEYITEM_OBTAINED = 6411; -- Obtained...
gpl-3.0
arrayfire/arrayfire-lua
wrapper/arrayfire/funcs/mathematics.lua
4
1665
--- Mathematics functions. -- Modules -- local af = require("arrayfire_lib") local array = require("impl.array") -- Imports -- local CallWrap = array.CallWrap local GetLib = array.GetLib local IsArray = array.IsArray local TwoArrays = array.TwoArrays -- Exports -- local M = {} -- See also: https://github.com/arrayf...
bsd-3-clause
HeavensSword/darkstar
scripts/zones/Upper_Jeuno/npcs/Hinda.lua
5
1042
----------------------------------- -- Area: Upper Jeuno -- NPC: Hinda -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); ---------------...
gpl-3.0
pd2-linux/tina
feeds/luci/modules/base/luasrc/tools/status.lua
49
5227
--[[ LuCI - Lua Configuration Interface 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://www.apache.org/licenses/LICENSE-2.0 ]]-- module(...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Attohwa_Chasm/npcs/Loose_Sand.lua
4
1244
----------------------------------- -- Area: Attohwa Chasm -- NPC: Loose sand ----------------------------------- package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Attohwa_Chasm/TextIDs"); require("scripts/zones/Attohwa_Chasm/MobIDs"); require("...
gpl-3.0
pd2-linux/tina
feeds/luci/applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua
80
1274
--[[ LuCI - Lua Configuration Interface (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.controller.l...
gpl-2.0
HeavensSword/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Aw_euvhi.lua
5
2477
----------------------------------- -- Area: The Garden of Ru'Hmet -- NPC: Aw'Euvhi ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- function onMobSpawn(mob) -- Set a random animation when it spawns mob:AnimationSub(ma...
gpl-3.0
olhodedeus/Redlol
plugins/dashboard.lua
1
6021
local config = require 'config' local u = require 'utilities' local api = require 'methods' local plugin = {} local function getFloodSettings_text(chat_id) local status = db:hget('chat:'..chat_id..':settings', 'Flood') or 'yes' --check (default: disabled) if status == 'no' or status == 'on' then statu...
gpl-2.0
ind9/kong
spec/plugins/ratelimiting/api_spec.lua
13
1370
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" local BASE_URL = spec_helper.API_URL.."/apis/%s/plugins/" describe("Rate Limiting API", function() setup(function() spec_helper.prepare_db() spec_helper.insert_fixtures { a...
apache-2.0
CodeStepper/trinity
trinity/drawbox.lua
1
9864
--[[ //////////////////////////////////////////////////////////////////////////////////////// @author : sobiemir @release : v3.5.6 Pojemnik do rysowania... ////////////////////////////////////////////////////////////////////////////////////////// ]] --[[ require ===============================================...
gpl-2.0
HeavensSword/darkstar
scripts/globals/weaponskills/realmrazer.lua
24
1480
----------------------------------- -- Realmrazer -- Club weapon skill -- Skill Level: 357 -- Delivers a seven-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: MND:73~...
gpl-3.0
vmercierfr/kong
kong/dao/cassandra/query_builder.lua
20
7449
local _M = {} local function trim(s) return (s:gsub("^%s*(.-)%s*$", "%1")) end local function select_fragment(column_family, select_columns) if select_columns then assert(type(select_columns) == "table", "select_columns must be a table") select_columns = table.concat(select_columns, ", ") else selec...
mit
icrazyboy/-
plugins/isup.lua
741
3095
do local socket = require("socket") local cronned = load_from_file('data/isup.lua') local function save_cron(msg, url, delete) local origin = get_receiver(msg) if not cronned[origin] then cronned[origin] = {} end if not delete then table.insert(cronned[origin], url) else for k,v in pairs(cronned[...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Temenos/mobs/Telchines_White_Mage.lua
28
1132
----------------------------------- -- Area: Temenos N T -- NPC: Telchines_White_Mage ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/walnut_cookie.lua
3
1146
----------------------------------------- -- ID: 5922 -- Item: Walnut Cookie -- Food Effect: 3 Min, All Races ----------------------------------------- -- HP Healing 3 -- MP Healing 6 -- Bird Killer 10 -- Resist Paralyze 10 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
pd2-linux/tina
feeds/luci/modules/failsafe/luasrc/controller/failsafe/failsafe.lua
35
5206
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-2011 Jo-Philipp Wich <xm@subsignal.org> Copyright 2012 Daniel Golle <dgolle@allnet.de> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License...
gpl-2.0
dlannan/webdruino
deps/LuaJIT-2.0.3/src/jit/bcsave.lua
75
18123
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2014 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
mit
CyrillJones/K70-RGB-Lua-Interface
DotNetK70Controller/lua/shift.lua
2
1966
--controls fps local SleepDuration = 25 --controls length of each color local TicksPerColor = 20 --controls length of fade between colors local TicksPerFade = 5 --holds the colors that the keyboard switches through in order --as follows: red orange yellow white, green, blue, purple local Colors = { {7,0,0}, {7,4,0}, {...
apache-2.0
peymankhanas8487/Horror_Avatar
plugins/channels.lua
356
1732
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
ryangmor/lolsh
plugins/channels.lua
356
1732
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
icrazyboy/-
plugins/channels.lua
356
1732
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
DavadDi/flatbuffers
tests/MyGame/Example/StructOfStructs.lua
2
1243
-- automatically generated by the FlatBuffers compiler, do not modify -- namespace: Example local flatbuffers = require('flatbuffers') local StructOfStructs = {} -- the module local StructOfStructs_mt = {} -- the class metatable function StructOfStructs.New() local o = {} setmetatable(o, {__index = StructOf...
apache-2.0
dani-sj/komil
bot/creedbot.lua
1
15620
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") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
HeavensSword/darkstar
scripts/globals/items/burning_claymore.lua
7
1040
----------------------------------------- -- ID: 16929 -- Item: Burning Claymore -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- function onAdditionalEffe...
gpl-3.0
404rq/GTW-RPG
[resources]/GTWdrugsys/drugsys_c.lua
2
23074
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Price Source code: https://github.com/404rq/GTW-RPG/ Bugtracker: https://discuss.404rq.com/t/issues Suggestions: https://discuss.404rq.com/t/develop...
bsd-2-clause
HeavensSword/darkstar
scripts/zones/Lower_Jeuno/npcs/Mertaire.lua
5
3622
----------------------------------- -- Area: Lower Jeuno -- NPC: Mertaire -- Starts and Finishes Quest: The Old Monument (start only), A Minstrel in Despair, Painful Memory (BARD AF1) -- !pos -17 0 -61 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ------------------...
gpl-3.0
alexazhou/VeryNginx
verynginx/lua_script/module/cookie.lua
3
5212
-- Copyright (C) 2013 Jiale Zhi (calio), Cloudflare Inc. -- See RFC6265 http://tools.ietf.org/search/rfc6265 -- require "luacov" local type = type local byte = string.byte local sub = string.sub local format = string.format local log = ngx.log local ERR = ngx.ERR ...
lgpl-3.0
HeavensSword/darkstar
scripts/globals/items/death_scythe.lua
7
1033
----------------------------------------- -- ID: 16777 -- Item: Death Scythe -- Additional Effect: Drains HP ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- function onAdditionalEffect(pla...
gpl-3.0
404rq/GTW-RPG
[resources]/GTWwanted/wanted_s.lua
2
17506
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/404rq/GTW-RPG/ Bugtracker: https://discuss.404rq.com/t/issues Suggestions: https://discuss.404rq.com/t/deve...
bsd-2-clause
peymankhanas8487/Horror_Avatar
plugins/torrent_search.lua
411
1622
--[[ NOT USED DUE TO SSL ERROR -- See https://getstrike.net/api/ local function strike_search(query) local strike_base = 'http://getstrike.net/api/v2/torrents/' local url = strike_base..'search/?phrase='..URL.escape(query) print(url) local b,c = http.request(url) print(b,c) local search = json:decode(b) v...
gpl-2.0
Openarl/PathOfBuilding
Data/Uniques/dagger.lua
1
7982
-- Item data (c) Grinding Gear Games return { -- Weapon: Dagger [[ Arakaali's Fang Fiend Dagger Variant: Pre 2.6.0 Variant: {2_6}Pre 3.5.0 Variant: Current Requires Level 53, 58 Dex, 123 Int Implicits: 1 40% increased Global Critical Strike Chance {variant:1,2}20% chance to Trigger Level 1 Raise Spiders on Kill {varia...
mit
ZhouYzzz/cqui
UI/Panels/StatusMessagePanel.lua
1
22676
-- =========================================================================== -- Status Message Manager -- Non-interactive messages that appear in the upper-center of the screen. -- =========================================================================== include( "InstanceManager" ); include( "SupportFunctions" ...
mit
HeavensSword/darkstar
scripts/globals/spells/bluemagic/memento_mori.lua
5
1183
----------------------------------------- -- Spell: Memento Mori -- Enhances magic attack -- Spell cost: 46 MP -- Monster Type: Undead -- Spell Type: Magical (Ice) -- Blue Magic Points: 4 -- Stat Bonus: INT+1 -- Level: 62 -- Casting Time: 6 seconds -- Recast Time: 2 minutes -- -- Combos: Magic Attack Bonus ------------...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Western_Altepa_Desert/npcs/Cermet_Headstone.lua
5
2466
----------------------------------- -- Area: Western Altepa Desert -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Earth Fragment) -- !pos -108 10 -216 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; -------------------------------...
gpl-3.0
xtao/ntopng
scripts/lua/find_host.lua
1
2512
-- -- (C) 2013-14 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('application/json') max_num_to_find = 5 print [[ { "interface" : "]] print(ifname) print [[", "results": [ ]] query = _GET[...
gpl-3.0
xtao/ntopng
third-party/LuaJIT-2.0.3/src/jit/bc.lua
74
5606
---------------------------------------------------------------------------- -- LuaJIT bytecode listing module. -- -- Copyright (C) 2005-2014 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
gpl-3.0
404rq/GTW-RPG
[resources]/GTWturf/turf_c.lua
2
1026
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/404rq/GTW-RPG/ Bugtracker: https://discuss.404rq.com/t/issues Suggestions: https://discuss.404rq.com/t/deve...
bsd-2-clause
rosejn/logroll
logroll/init.lua
1
2215
require 'paths' require 'os' require 'io' require 'string' require 'fn' require 'pprint' logroll = {} local DEFAULT_LEVEL = 'INFO' local LOG_LEVELS = {'DEBUG', 'INFO', 'WARN', 'ERROR'} for i, label in ipairs(LOG_LEVELS) do logroll[label] = i end logroll.levels = LOG_LEVELS local function default_formatter(lev...
bsd-3-clause
HeavensSword/darkstar
scripts/globals/weaponskills/cyclone.lua
23
1432
----------------------------------- -- Cyclone -- Dagger weapon skill -- Skill level: 125 -- Delivers an area attack that deals wind elemental damage. Damage varies with TP. -- This weapon skill is ranged and can be used from a distance (Up to 15'). -- Directly affected by Magic Attack Bonus. -- Aligned with the Breeze...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/cehuetzi_snow_cone.lua
3
1163
----------------------------------------- -- ID: 6223 -- Item: Cehuetzi snow cone -- Food Effect: 30 Min, All Races ----------------------------------------- -- MP +20% (cap 100) -- INT +5 -- MND +5 -- Magic Atk. Bonus +13 -- Lizard Killer +5 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
Wedmer/luci
modules/luci-base/luasrc/sgi/cgi.lua
81
1688
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. exectime = os.clock() module("luci.sgi.cgi", package.seeall) local ltn12 = require("luci.ltn12") require("nixio.util") require("luci.http") require("luci.sys") require("luci.dispatcher") -- Limited source to av...
apache-2.0
HeavensSword/darkstar
scripts/zones/Port_Bastok/npcs/Benita.lua
5
1938
----------------------------------- -- Area: Port Bastok -- NPC: Benita -- Starts Quest: The Wisdom Of Elders ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); requir...
gpl-3.0
mohammadclashclash/uzzbot
plugins/pokedex.lua
626
1668
do local images_enabled = true; local function get_sprite(path) local url = "http://pokeapi.co/"..path print(url) local b,c = http.request(url) local data = json:decode(b) local image = data.image return image end local function callback(extra) send_msg(extra.receiver, extra.text, ok_cb, false) end lo...
gpl-2.0
icrazyboy/-
plugins/pokedex.lua
626
1668
do local images_enabled = true; local function get_sprite(path) local url = "http://pokeapi.co/"..path print(url) local b,c = http.request(url) local data = json:decode(b) local image = data.image return image end local function callback(extra) send_msg(extra.receiver, extra.text, ok_cb, false) end lo...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Konschtat_Highlands/npcs/Cavernous_Maw.lua
4
1571
----------------------------------- -- Area: Konschtat Highlands -- NPC: Cavernous Maw -- !pos 96.344, -69.080, -580.008 108 -- Teleports Players to Abyssea - Konschtat ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
HeavensSword/darkstar
scripts/globals/weaponskills/stringing_pummel.lua
5
1546
----------------------------------- -- Stringing Pummel -- Sword weapon skill -- Skill Level: N/A -- Delivers a sixfold attack. Damage varies with TP. Kenkonken: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Puppetmaster) quest. -- Aligned with the Shadow Gorget, Soil Gorget...
gpl-3.0
haolly/slua_source_note
jit/jit/bc.lua
48
5620
---------------------------------------------------------------------------- -- LuaJIT bytecode listing module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
mit
HeavensSword/darkstar
scripts/globals/items/plate_of_piscators_paella.lua
3
1226
----------------------------------------- -- ID: 5969 -- Item: Plate of Piscator's Paella -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 45 -- Dexterity 6 -- Accuracy % 16 (cap 85) -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/ham_and_cheese_crepe.lua
3
1355
----------------------------------------- -- ID: 5771 -- Item: ham_and_cheese_crepe -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +10% (cap 25) -- STR +2 -- VIT +1 -- Magic Accuracy +10 -- Magic Defense +3 -- hHP +2 ----------------------------------------- require("scripts/globals/s...
gpl-3.0
brunovalads/smw-stuff
SMW-BizHawk.lua
1
287414
--################################################################################## --## ## --## Super Mario World (any version) Utility Script for BizHawk ## --## http://tasvideos.org/Bizhawk.html ...
mit
HeavensSword/darkstar
scripts/globals/mobskills/final_sting.lua
36
1218
--------------------------------------------- -- Final Sting -- -- Description: Deals damage proportional to HP. Reduces HP to 1 after use. Damage varies with TP. -- Type: Physical (Slashing) -- -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); r...
gpl-3.0
HeavensSword/darkstar
scripts/zones/West_Sarutabaruta/npcs/Ryokei_IM.lua
3
2978
----------------------------------- -- Area: West Sarutabaruta -- NPC: Ryokei, I.M. -- Type: Outpost Conquest Guards -- !pos -11.322 -13.459 317.696 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
pd2-linux/tina
feeds/luci/protocols/ppp/luasrc/model/network/proto_ppp.lua
77
2695
--[[ LuCI - Network model - 3G, PPP, PPtP, PPPoE and PPPoA protocol extension 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://www.apache.o...
gpl-2.0
HeavensSword/darkstar
scripts/globals/spells/hyoton_san.lua
7
1444
----------------------------------------- -- Spell: Hyoton: San -- Deals ice damage to an enemy and lowers its resistance against fire. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --------------...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/black_prawn.lua
3
1247
----------------------------------------- -- ID: 5948 -- Item: Black Prawn -- Food Effect: 5Min, Mithra only ----------------------------------------- -- DEX -5 -- VIT +3 -- DEF +16% (cap 50) ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/homemade_rice_ball.lua
3
1508
----------------------------------------- -- ID: 5224 -- Item: homemade_rice_ball -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) ----------------------------------...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Sealions_Den/npcs/_0w0.lua
5
1453
----------------------------------- -- Area: Sealion's Den -- NPC: Iron Gate -- !pos 612 132 774 32 ----------------------------------- package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sealions_Den/TextIDs"); require("scripts/globals/teleports"); re...
gpl-3.0
HeavensSword/darkstar
scripts/globals/spells/sentinels_scherzo.lua
5
1443
----------------------------------------- -- Spell: Sentinel's Scherzo -- Mitigates the impact of severely damaging attacks for party members within an area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------------- ...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Giddeus/npcs/Altar_of_Offerings.lua
5
1321
----------------------------------- -- Area: Windurst Waters -- NPC: Alter Of Offering -- Involved in Quest: A Crisis in the Making -- !pos -137 17 177 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Giddeus/TextI...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/margherita_pizza_+1.lua
3
1115
----------------------------------------- -- ID: 5696 -- Item: margherita_pizza_+1 -- Food Effect: 4 hours, all Races ----------------------------------------- -- HP +35 -- Accuracy +10% (cap 9) -- Attack +10% (cap 11) ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
githubmereza/telejack
plugins/inrealm.lua
287
25005
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
Openarl/PathOfBuilding
Data/3_0/Skills/minion.lua
1
47653
-- This file is automatically generated, do not edit! -- Path of Building -- -- Minion active skills -- Skill data (c) Grinding Gear Games -- local skills, mod, flag, skill = ... skills["ChaosElementalCascadeSummoned"] = { name = "Cascade", hidden = true, color = 3, baseEffectiveness = 1.9800000190735, incrementa...
mit
dlannan/webdruino
deps/luasys-master/test/thread/stdin.lua
2
1261
#!/usr/bin/env lua local sys = require"sys" local thread = sys.thread thread.init() -- Usage notes print[[ Press <Enter> to quit or any chars for feedback... ]] local stdin = sys.stdin -- Event Queue local evq = assert(sys.event_queue()) local worker -- Controller local controller do local function on_event...
mit
HeavensSword/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Credaurion_RK.lua
3
3028
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Credaurion, R.K. -- Outpost Conquest Guards -- !pos -40.079 -0.642 -148.785 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0