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
david-xiao/luci
modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua
74
1261
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.mini.index", package.seeall) function index() local root = node() if not root.lock then root.target = alias("mini") root.index =...
apache-2.0
Cloudef/darkstar
scripts/globals/abilities/pets/shield_bash.lua
2
1175
--------------------------------------------- -- Shield Bash --------------------------------------------- require("scripts/globals/status") require("scripts/globals/settings") require("scripts/globals/automatonweaponskills") --------------------------------------------------- function onMobSkillCheck(target, automa...
gpl-3.0
Cloudef/darkstar
scripts/globals/spells/bluemagic/rending_deluge.lua
2
1424
--------------------------------------------- -- Spell: Rending Deluge -- Spell cost: 118 MP -- Monster Type: Craklaw -- Spell Type: Magical (Water) -- Blue Magic Points: 6 -- Stat Bonus: VIT+6 -- Level: 99 -- Casting Time: 2 seconds -- Recast Time: 35 seconds -- Magic Bursts on: -- Combos: Magic Defense Bonus --------...
gpl-3.0
Cloudef/darkstar
scripts/zones/Mhaura/npcs/Vera.lua
5
2676
----------------------------------- -- Area: Mhaura -- NPC: Vera -- Finishes Quest: The Old Lady -- !pos -49 -5 20 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); re...
gpl-3.0
Cloudef/darkstar
scripts/zones/Nashmau/npcs/Ququroon.lua
5
1770
----------------------------------- -- Area: Nashmau -- NPC: Ququroon -- Type: Standard NPC -- !pos -2.400 -1 66.824 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); ...
gpl-3.0
MinetestForFun/server-minetestforfun
mods/darkage/aliases.lua
9
9128
-- darkage:desert_stone_cobble + stairs/slabs/microblocks -> default:desert_cobble + stairs/slabs/microblocks minetest.register_alias("darkage:desert_stone_cobble","default:desert_cobble") minetest.register_alias("darkage:stair_desert_stone_cobble_wall_half","default:stair_desert_cobble_wall_half") minetest.register_al...
unlicense
Cloudef/darkstar
scripts/zones/Norg/npcs/Louartain.lua
5
1092
----------------------------------- -- Area: Norg -- NPC: Louartain -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); ----------------------------------- local path = { 41.878349, -6.282223, 10.820915, 42.088036, -6.282223, 11.867051, 42.096603, -6.282223, 12.93...
gpl-3.0
Adai0808/packages
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
Cloudef/darkstar
scripts/zones/Port_Jeuno/npcs/Sanosuke.lua
5
1201
----------------------------------- -- Area: Port Jeuno -- NPC: Sanosuke -- Involved in Quest: A Thief in Norg!? -- !pos -63 7 0 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zone...
gpl-3.0
MinetestForFun/server-minetestforfun
mods/moreblocks/stairsplus/panels.lua
7
2740
--[[ More Blocks: panel definitions Copyright (c) 2011-2015 Calinou and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] local S = moreblocks.intllib -- Node will be called <modname>:panel_<subname> function register_panel(modname, subname, recipeitem, groups, images, descrip...
unlicense
Ali-2h/hossein
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
ahosein243243/uzzbot
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
Cloudef/darkstar
scripts/globals/mobskills/pw_pinning_shot.lua
2
1146
--------------------------------------------- -- Pinning Shot -- -- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Bind -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown -- Notes: Used only by Medusa. ------------------------------------------...
gpl-3.0
Goodzilam/Goodzila-bot_v1.4
plugins/cpu.lua
244
1893
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' you...
gpl-2.0
Cloudef/darkstar
scripts/globals/abilities/pets/healing_breath_iii.lua
2
1924
--------------------------------------------- -- Healing Breath III --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/msg"); --------------------------------------------- function onA...
gpl-3.0
Cloudef/darkstar
scripts/globals/spells/aurorastorm.lua
2
1239
-------------------------------------- -- Spell: Aurorastorm -- Changes the weather around target party member to "auroras." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ---------------------------------------...
gpl-3.0
Cloudef/darkstar
scripts/globals/items/grilled_lik.lua
2
1098
----------------------------------------- -- ID: 5648 -- Item: Grilled Lik -- Food Effect: 60 Mins, All Races ----------------------------------------- -- Dexterity 4 -- Mind -3 -- Accuracy +2 -- Attack +8 ---------------------------------------- require("scripts/globals/status"); -------------------------------------...
gpl-3.0
Cloudef/darkstar
scripts/zones/Port_Jeuno/npcs/Pitantimand.lua
5
1506
----------------------------------- -- Area: Port Jeuno -- NPC: Pitantimand -- Involved in Quests: Save the Clock Tower -- @zone 246 -- !pos -63 8 46 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
letoram/durden
durden/widgets/dispdbg.lua
1
3202
local tsupp = system_load("widgets/support/text.lua")(); local prefix = "/global/display/displays/" local function probe(ctx, yh, tag) if not tag then return end local disp if tag ~= "current" then for d in all_displays_iter() do if "disp_" .. string.hexenc(d.name) == tag then disp = d; -- note: break...
bsd-3-clause
Cloudef/darkstar
scripts/zones/Xarcabard/npcs/Telepoint.lua
5
1357
----------------------------------- -- Area: Xarcabard -- NPC: Telepoint -- !pos 150.258 -21.047 -37.256 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Xarcabard/TextIDs"); ...
gpl-3.0
kkrishna/gorealis
vendor/git.apache.org/thrift.git/test/lua/test_basic_client.lua
30
5926
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you may n...
apache-2.0
Cloudef/darkstar
scripts/zones/Port_Jeuno/npcs/qm1.lua
5
2149
----------------------------------- -- Area: Port Jeuno -- NPC: ??? -- Finish Quest: Borghertz's Hands (AF Hands, Many job) -- @zone 246 -- !pos -51 8 -4 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ---------------------...
gpl-3.0
Cloudef/darkstar
scripts/zones/Eastern_Altepa_Desert/Zone.lua
5
3362
----------------------------------- -- -- Zone: Eastern_Altepa_Desert (114) -- ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Eastern_Altepa_Desert/TextIDs"); require("scripts/zones/Eastern_Altepa_Desert...
gpl-3.0
Cloudef/darkstar
scripts/globals/weaponskills/mercy_stroke.lua
7
1526
----------------------------------- -- Mercy Stroke -- Dagger weapon skill -- Skill level: N/A -- Batardeau/Mandau: Temporarily improves params.critical hit rate. -- Aftermath gives +5% params.critical hit rate. -- Must have Batardeau, Mandau, or Clement Skean equipped. -- Aligned with the Shadow Gorget & Soil Gorget. ...
gpl-3.0
fgprodigal/RayUI
Interface/AddOns/RayUI/modules/misc/totemBar.lua
2
4524
---------------------------------------------------------- -- Load RayUI Environment ---------------------------------------------------------- RayUI:LoadEnv("Misc") local M = _Misc local mod = M:NewModule("TotemBar", "AceEvent-3.0") local eventFrame = CreateFrame("Frame") local function Update(self,event) lo...
mit
tst2005googlecode/fbclient
lua/fbclient/db_info.lua
2
16513
--[[ DB_INFO: request information about an attachment this is the aux library to encode the request buffer and decode the reply buffer. encode(options_t) -> encoded options string decode(info_buf, info_buf_len) -> decoded info table USAGE: - use it with isc_database_info() to encode the info request and decode ...
mit
LuaDist/lzmq-ffi
examples/zap.lua
15
1952
local zmq = require "lzmq" local zloop = require "lzmq.loop" local function recv_zap(sok) local msg, err = sok:recv_all() if not msg then return nil, err end local req = { version = msg[1]; -- Version number, must be "1.0" sequence = msg[2]; -- Sequence number of request domain = msg...
mit
nyasukun/openstackcraft
world/Plugins/Core/weather.lua
5
3241
-- Implements weather related commands and console commands -- Translate from weather descriptors to the weather value -- Non-Vanilla weather descriptors were kept from previous console implementation local WeatherNames = { ["clear"] = wSunny, ["sunny"] = wSunny, ["sun"] = wSunny, ["rain"] ...
apache-2.0
MinetestForFun/server-minetestforfun
mods/profnsched/init.lua
3
5032
dofile(minetest.get_modpath("profnsched").."/queue.lua") dofile(minetest.get_modpath("profnsched").."/after.lua") local durations = {} local active = minetest.settings:get("profnsched_activate") local dump_delay = minetest.settings:get("profnsched_dump_delay") if not active then active = false end if not dump_delay th...
unlicense
Cloudef/darkstar
scripts/globals/items/flame_claymore.lua
7
1037
----------------------------------------- -- ID: 16588 -- Item: Flame Claymore -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- function onAdditionalEffect...
gpl-3.0
musicEnfanthen/Knora
sipi/scripts/test1.lua
1
1247
-- Copyright © 2015-2019 the contributors (see Contributors.md). -- -- This file is part of Knora. -- -- Knora is free software: you can redistribute it and/or modify -- it under the terms of the GNU Affero General Public License as published -- by the Free Software Foundation, either version 3 of the License, or -- (a...
agpl-3.0
Cloudef/darkstar
scripts/globals/items/crab_stewpot.lua
2
1409
----------------------------------------- -- ID: 5544 -- Item: Crab Stewpot -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 50 -- MP +10 -- HP Recoverd while healing 5 -- MP Recovered while healing 1 -- Defense +20% Cap 50 -- Evasion +5 -------------------...
gpl-3.0
Cloudef/darkstar
scripts/globals/abilities/modus_veritas.lua
2
1723
----------------------------------- -- Ability: Modus Veritas -- Increases damage done by helix spells while lowering spell duration by 50%. -- Obtained: Scholar Level 65 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status");...
gpl-3.0
Cloudef/darkstar
scripts/globals/spells/kurayami_san.lua
2
1340
----------------------------------------- -- Spell: Kurayami: San ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end;...
gpl-3.0
LuaDist/lzmq-ffi
examples/perf/thread_thr.lua
16
3469
-- Copyright (c) 2011 Robert G. Jakabosky <bobby@sharedrealm.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 -- to use,...
mit
Cloudef/darkstar
scripts/globals/abilities/curing_waltz_iii.lua
2
2511
----------------------------------- -- Ability: Curing Waltz III -- Heals HP to target player. -- Obtained: Dancer Level 45 -- TP Required: 50% -- Recast Time: 00:10 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/msg"); --------------...
gpl-3.0
hshq/lua-minizip
test_unzip.lua
1
1968
local type = type local print = print local pairs = pairs local tostring = tostring local assert = assert local format = string.format local rep = string.rep local io_write = io.write local io_read = io.read local io_input = io.input local mz = require 'minizip_ffi' -- local unzip = mz.unzip local...
mit
MinetestForFun/server-minetestforfun
mods/pipeworks/item_transport.lua
7
8695
function pipeworks.tube_item(pos, item) error("obsolete pipeworks.tube_item() called; change caller to use pipeworks.tube_inject_item() instead") end function pipeworks.tube_inject_item(pos, start_pos, velocity, item) -- Take item in any format local stack = ItemStack(item) local obj = luaentity.add_entity(pos, "p...
unlicense
Cloudef/darkstar
scripts/globals/items/deep-fried_shrimp_+1.lua
2
1440
----------------------------------------- -- ID: 6277 -- Item: deep-fried_shrimp -- Food Effect: 60Min, All Races ----------------------------------------- -- VIT +4 -- Fire resistance +21 -- Accuracy +21% (cap 75) -- Ranged Accuracy +21% (cap 75) -- Subtle Blow +9 ----------------------------------------- require("scr...
gpl-3.0
keidax/awesome
lib/awful/tag.lua
1
24269
--------------------------------------------------------------------------- --- Useful functions for tag manipulation. -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008 Julien Danjou -- @release @AWESOME_VERSION@ -- @module awful.tag --------------------------------------------------------------...
gpl-2.0
tinymins/TF
0TF_Base/TF_Base.lua
1
6582
--Output("Hello base") --¹ú¼Ê¹ßÀý _JT = { welcome=1, szHead="Ìå·þרÓòå¼þ¼¯", --drug_bUse=0, mmenu_bUse=0, szIniFile = "Interface\\TF\\0TF_Base\\TF.ini", --interface } RegisterCustomData("_JT.mmenu_bUse") function _JT.WelLoadSuccess() if _JT.welcome==1 then OutputMessage("MSG_SYS", "[".._JT.szHead.."] »¶Ó­".....
mit
Cloudef/darkstar
scripts/globals/abilities/water_maneuver.lua
2
1513
----------------------------------- -- Ability: Water Maneuver -- Enhances the effect of water attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); r...
gpl-3.0
ahosein243243/uzzbot
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
Cloudef/darkstar
scripts/globals/items/gullintani.lua
2
2070
----------------------------------------- -- ID: 18323 -- Item: Gullintani ----------------------------------------- require("scripts/globals/msg"); require("scripts/globals/status"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------------- local NAM...
gpl-3.0
DARKRPISSHITFIXTHISUPDATE/DarkRP
gamemode/modules/fpp/pp/server/antispam.lua
2
6501
FPP = FPP or {} FPP.AntiSpam = FPP.AntiSpam or {} function FPP.AntiSpam.GhostFreeze(ent, phys) ent:SetRenderMode(RENDERMODE_TRANSALPHA) ent:DrawShadow(false) ent.OldColor = ent.OldColor or ent:GetColor() ent.StartPos = ent:GetPos() ent:SetColor(Color(ent.OldColor.r, ent.OldColor.g, ent.OldColor.b, ent.OldColor.a ...
mit
Cloudef/darkstar
scripts/globals/spells/paralyze.lua
2
2141
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------...
gpl-3.0
Cloudef/darkstar
scripts/zones/Port_San_dOria/npcs/Meuxtajean.lua
5
1073
----------------------------------- -- Area: Port San d'Oria -- NPC: Meuxtajean -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ...
gpl-3.0
mrbangi/bangiorg
bot/creed.lua
1
8726
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
hfjgjfg/persianguard77
plugins/id.lua
50
4275
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
gpl-2.0
romonzaman/newfies-dialer
lua/libs/dbhandler.lua
4
4105
-- -- Newfies-Dialer License -- http://www.newfies-dialer.org -- -- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this file, -- You can obtain one at http://mozilla.org/MPL/2.0/. -- -- Copyright (C) 2011-2015 Star2Billing S.L. -- --...
mpl-2.0
LuaDist/lzmq-ffi
test/lunit/console.lua
19
3798
--[[-------------------------------------------------------------------------- This file is part of lunit 0.6. For Details about lunit look at: http://www.mroth.net/lunit/ Author: Michael Roth <mroth@nessie.de> Copyright (c) 2006-2008 Michael Roth <mroth@nessie.de> Permission is hereby granted...
mit
alysher/mangos-tbc
dep/recastnavigation/RecastDemo/premake4.lua
82
3551
-- -- premake4 file to build RecastDemo -- http://industriousone.com/premake -- local action = _ACTION or "" local todir = "Build/" .. action solution "recastnavigation" configurations { "Debug", "Release" } location (todir) -- extra warnings, no exceptions or rtti flags { "ExtraWarnings", "FloatFast"...
gpl-2.0
sushisushiboo/IoT_button
ifttt.lua
1
1078
-- ifttt.lua require "ifttt_key" -- IFTTTに通知する function sendNoticeToIFTTT(value1, value2, value3, callback) local conn = net.createConnection(net.TCP, 0) -- 受信時 conn:on("receive", function(conn, payload) --tmr.stop(0) -- タイムアウトタイマー停止 print(payload) conn:close() if callback then callback() end end) ...
mit
Cloudef/darkstar
scripts/globals/items/balik_sandvici.lua
2
1182
----------------------------------------- -- ID: 5590 -- Item: Balik Sandvici -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 3 -- Agility 1 -- Intelligence 3 -- Mind -2 -- Ranged ACC 5 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
Cloudef/darkstar
scripts/zones/Beadeaux/npcs/_43b.lua
5
1426
----------------------------------- -- Area: Beadeaux -- NPC: Jail Door -- Involved in Quests: The Rescue -- !pos 56 0.1 -23 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
fredericjoanis/buildsystem
extern/premake/actions/vstudio/vs2012.lua
14
1488
-- -- vs2012.lua -- Baseline support for Visual Studio 2012. -- Copyright (c) 2013 Jason Perkins and the Premake project -- premake.vstudio.vc2012 = {} local vc2012 = premake.vstudio.vc2012 local vstudio = premake.vstudio --- -- Register a command-line action for Visual Studio 2012. --- newaction { trigger ...
mit
Cloudef/darkstar
scripts/zones/Inner_Horutoto_Ruins/mobs/Nocuous_Weapon.lua
1
1164
----------------------------------- -- Area: Inner Horutoto Ruins -- NM: Nocuous Weapon ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); function onMobInitialize(mob) mob:setMobMod(MOBMOD_ADD_EFFECT, 1); end; function onAddit...
gpl-3.0
rfernand/telegram-bot
plugins/id.lua
23
1918
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
MinetestForFun/server-minetestforfun
mods/WorldEdit/worldedit/init.lua
8
1375
--- Worldedit. -- @module worldedit -- @release 1.1 -- @copyright 2013 sfan5, Anthony Zhang (Uberi/Temperest), and Brett O'Donnell (cornernote). -- @license GNU Affero General Public License version 3 (AGPLv3) -- @author sfan5 -- @author Anthony Zang (Uberi/Temperest) -- @author Bret O'Donnel (cornernote) -- @a...
unlicense
Cloudef/darkstar
scripts/zones/Bastok_Mines/npcs/Rashid.lua
5
3349
----------------------------------- -- Area: Bastok Mines -- NPC: Rashid -- Type: Mission Giver -- !pos -8.444 -2 -123.575 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
Cloudef/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sulbahn.lua
2
1671
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sulbahn -- Type: Alchemy Adv. Image Support -- !pos -10.470 -6.25 -141.700 241 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
Cloudef/darkstar
scripts/zones/Nashmau/npcs/Kakkaroon.lua
5
1923
----------------------------------- -- Area: Nashmau -- NPC: Kakkaroon -- Standard Info NPC -- !pos 13.245 0.000 -25.307 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings...
gpl-3.0
Neopallium/lua-http-message
http/message.lua
1
5164
-- Copyright (c) 2011 by Robert G. Jakabosky <bobby@sharedrealm.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 -- to u...
mit
Cloudef/darkstar
scripts/zones/Port_San_dOria/npcs/Patolle.lua
5
1576
----------------------------------- -- Area: Port San d'Oria -- NPC: Patolle -- Only sells when San d'Oria controlls Kuzotz Region -- Working 100% ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/...
gpl-3.0
jsfdez/premake-core
tests/actions/vstudio/sln2005/test_header.lua
9
1350
-- -- tests/actions/vstudio/sln2005/test_header.lua -- Validate generation of Visual Studio 2005+ solution header. -- Copyright (c) 2009-2014 Jason Perkins and the Premake project -- local suite = test.declare("vstudio_sln2005_header") local sln2005 = premake.vstudio.sln2005 -- -- Setup -- local wks, prj funct...
bsd-3-clause
TeleDALAD/test2
plugins/anti-flood.lua
281
2422
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 5 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
Cloudef/darkstar
scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua
5
2390
----------------------------------- -- Area: Qu'Bia Arena -- NPC: Those Who Lurk in Shadows -- !pos -221 -24 19 206 ----------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"...
gpl-3.0
fgprodigal/RayUI
Interface/AddOns/RayUI/modules/skins/blizzard/bonusroll.lua
2
3320
---------------------------------------------------------- -- Load RayUI Environment ---------------------------------------------------------- RayUI:LoadEnv("Skins") local S = _Skins local function LoadSkin() BonusRollFrame:StripTextures() S:CreateBD(BonusRollFrame) BonusRollFrame.PromptFrame.Icon:SetTexCoord(.0...
mit
Cloudef/darkstar
scripts/globals/items/bowl_of_loach_soup.lua
2
1455
----------------------------------------- -- ID: 5671 -- Item: Bowl of Loach Soup -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- Dexterity 4 -- Agility 4 -- Accuracy 7% Cap 50 -- Ranged Accuracy 7% Cap 50 -- HP 7% Cap 50 -- Evasion 5 ----------------------------------------- require("scri...
gpl-3.0
fgprodigal/RayUI
Interface/AddOns/RayUI/modules/skins/addons/clique.lua
2
1057
---------------------------------------------------------- -- Load RayUI Environment ---------------------------------------------------------- RayUI:LoadEnv("Skins") local S = _Skins local function SkinClique() local tab = _G["CliqueSpellTab"] tab:GetRegions():Kill() tab.pushed = true tab:CreateShadow(...
mit
LuaDist/lzmq-ffi
examples/perf/thread_lat.lua
16
2961
-- Copyright (c) 2011 Robert G. Jakabosky <bobby@sharedrealm.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 -- to use,...
mit
jewmin/astd
com.lover.astd.game.ui/lua/module/activity.lua
1
14003
-- »î¶¯Ä£¿é activity = {} activity.success = 0 activity.null = 1 activity.finish = 2 activity.error = 10 activity.event_getDuanwuEventInfo = function() local url = "/root/event!getDuanwuEventInfo.action" local result = ProtocolMgr():getXml(url, "¶ËÎç°Ù¼ÒÑç-ÐÅÏ¢") if not result then return activity.null end if not...
mit
roskakori/chatmaid
chatmaid.lua
1
14636
-- chatmaid -- hide and clean up unwanted Firefall chat messages. -- Copyright (c) 2013-14 Thomas Aglassinger -- See also: <https://github.com/roskakori/chatmaid>. -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"),...
mit
arpanpal010/dotfiles
awesome/themes/awtheme/theme.lua
1
5777
------------------------------- -- "awtheme" awesome theme -- -- By Adrian C. (anrxc) -- ------------------------------- -- Alternative icon sets and widget icons: -- * http://awesome.naquadah.org/wiki/Nice_Icons -- {{{ Main theme = {} theme.wallpaper = "/home/arch/.config/awesome/themes/awtheme/wallpaper" --...
mit
orlando3d/nodemcu-firmware
app/cjson/tests/bench.lua
145
3247
#!/usr/bin/env lua -- This benchmark script measures wall clock time and should be -- run on an unloaded system. -- -- Your Mileage May Vary. -- -- Mark Pulford <mark@kyne.com.au> local json_module = os.getenv("JSON_MODULE") or "cjson" require "socket" local json = require(json_module) local util = require "cjson.ut...
mit
MinetestForFun/server-minetestforfun
mods/pipeworks/flowing_logic.lua
7
4511
-- This file provides the actual flow and pathfinding logic that makes water -- move through the pipes. -- -- Contributed by mauvebic, 2013-01-03, rewritten a bit by Vanessa Ezekowitz -- local finitewater = minetest.setting_getbool("liquid_finite") pipeworks.check_for_liquids = function(pos) local coords = { {x=po...
unlicense
Cloudef/darkstar
scripts/zones/Valkurm_Dunes/TextIDs.lua
5
2229
-- 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_...
gpl-3.0
Shopify/lua-tests
code.lua
9
4188
if T==nil then (Message or print)('\a\n >>> testC not active: skipping opcode tests <<<\n\a') return end print "testing code generation and optimizations" -- this code gave an error for the code checker do local function f (a) for k,v,w in a do end end end function check (f, ...) local arg = {...} loc...
mit
sachdeep/vlc
share/lua/intf/dumpmeta.lua
98
2125
--[==========================================================================[ dumpmeta.lua: dump a file's meta data on stdout/stderr --[==========================================================================[ Copyright (C) 2010 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> Th...
gpl-2.0
alexpods/google-diff-match-patch
lua/diff_match_patch.lua
265
73869
--[[ * 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 in compliance ...
apache-2.0
MinetestForFun/server-minetestforfun
mods/unified_inventory/init.lua
8
1794
-- Unified Inventory for Minetest 0.4.8+ local modpath = minetest.get_modpath(minetest.get_current_modname()) local worldpath = minetest.get_worldpath() local mygettext = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end -- Data tables definitions unified_inventory = { activefilter = {}, active...
unlicense
Cloudef/darkstar
scripts/globals/mobskills/sweeping_flail.lua
39
1067
--------------------------------------------------- -- Sweeping Flail -- Family: Bahamut -- Description: Spins around to deal physical damage to enemies behind user. Additional effect: Knockback -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: 20' cone -- Notes: Used when someone pulls hate from...
gpl-3.0
tinymins/TF
0TF_Base/ui.lua
1
13409
CUIManager = CUIManager or {} CUIManager.bFrameOpened=false local MAX_PAGE_MODULE_COUNT = 12 -- ÿҳģ¿é¸öÊý local MAX_CLASS_COUNT = 4 -- ·ÖÀà×î´ó¸öÊý --local bFrameOpened = false -- ¿ØÖÆ´°¿ÚÏÔʾ local hPrevBtn, hNextBtn, hPage = nil, nil, nil local CUIModules = {} -- Ä£¿é×¢²á»º´æ±í local nPage,...
mit
jsfdez/premake-core
src/base/rule.lua
14
3133
--- -- base/rule.lua -- Defines rule sets for generated custom rule files. -- Copyright (c) 2014 Jason Perkins and the Premake project --- local p = premake p.rule = p.api.container("rule", p.global) local rule = p.rule --- -- Create a new rule container instance. --- function rule.new(name) local self = p....
bsd-3-clause
Cloudef/darkstar
scripts/zones/Konschtat_Highlands/npcs/Signpost.lua
5
1207
----------------------------------- -- Area: Konschtat Highlands -- NPC: Signpost -- Involved in Quest: The Signpost Marks the Spot -- !pos -183 65 599 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
nyasukun/openstackcraft
world/Plugins/APIDump/Hooks/OnPluginsLoaded.lua
44
2702
return { HOOK_PLUGINS_LOADED = { CalledWhen = "All the enabled plugins have been loaded", DefaultFnName = "OnPluginsLoaded", -- also used as pagename Desc = [[ This callback gets called when the server finishes loading and initializing plugins. This is the perfect occasion for a plugin to query other plu...
apache-2.0
MinetestForFun/server-minetestforfun
mods/maptools/tools.lua
11
2606
--[[ Map Tools: tool definitions Copyright (c) 2012-2015 Calinou and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] local S = maptools.intllib maptools.creative = maptools.config["hide_from_creative_inventory"] minetest.register_tool("maptools:pick_admin", { description = ...
unlicense
jsfdez/premake-core
src/base/criteria.lua
13
3469
-- -- criteria.lua -- -- Stores a list of criteria terms with support for negation, conjunction, -- and wildcard matches. Provides functions match match these criteria -- against various contexts. -- -- Copyright (c) 2012-2015 Jason Perkins and the Premake project -- local p = premake p.criteria = criteria -- crit...
bsd-3-clause
keidax/awesome
lib/wibox/layout/fixed.lua
1
4690
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2010 Uli Schlachter -- @release @AWESOME_VERSION@ -- @classmod wibox.layout.fixed --------------------------------------------------------------------------- local base = require("wibox.widget.base") loc...
gpl-2.0
david-xiao/luci
modules/luci-base/luasrc/model/uci.lua
49
4995
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local os = require "os" local uci = require "uci" local util = require "luci.util" local table = require "table" local setmetatable, rawget, rawset = setmetatable, rawget, rawset local require, getmetata...
apache-2.0
Cloudef/darkstar
scripts/zones/Navukgo_Execution_Chamber/Zone.lua
5
1145
----------------------------------- -- -- Zone: Navukgo_Execution_Chamber (64) -- ----------------------------------- package.loaded["scripts/zones/Navukgo_Execution_Chamber/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/settings"); require("scripts/zo...
gpl-3.0
fgprodigal/RayUI
Interface/AddOns/RayUI/libs/oUF/elements/castbar.lua
1
19882
--[[ # Element: Castbar Handles the visibility and updating of spell castbars. Based upon oUF_Castbar by starlon. ## Widget Castbar - A `StatusBar` to represent spell cast/channel progress. ## Sub-Widgets .Text - A `FontString` to represent spell name. .Icon - A `Texture` to represent spell icon. .Time ...
mit
Cloudef/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Vanguard_Eye.lua
5
2494
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Vanguard_Eye -- Map Position: http://images.wikia.com/ffxi/images/c/cc/Xar.jpg ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); ----------------------------------- function onMobInitialize(...
gpl-3.0
freshtacos/lua-deque
src/deque.lua
1
2412
--[[ Deque implementation by Julien Kmec MIT Licensed ]] local deque = {} deque.__index = deque function deque:__tostring() return "Deque containing "..self.count.." item(s)" end local insert, remove = table.insert, table.remove function deque.new() return setmetatable({ objects = {}, count = 0...
mit
Cloudef/darkstar
scripts/globals/spells/bluemagic/uppercut.lua
35
1828
----------------------------------------- -- Spell: Uppercut -- Damage varies with TP -- Spell cost: 31 MP -- Monster Type: Plantoids -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: STR+2, DEX+1 -- Level: 38 -- Casting Time: 0.5 seconds -- Recast Time: 17.75 seconds -- Skillchain Element(s): Fire...
gpl-3.0
Cloudef/darkstar
scripts/globals/items/serving_of_flounder_meuniere.lua
2
1331
----------------------------------------- -- ID: 4584 -- Item: serving_of_flounder_meuniere -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 6 -- Mind -1 -- Ranged ACC 15 -- Ranged ATT % 14 -- Ranged ATT Cap 25 -- Enmity -3 ----------------------------------------- require("scrip...
gpl-3.0
ediiknorand/hakuween2017
hakuween/map/box.lua
1
1651
local Class = require 'util/class' local Box = Class() function Box.__new(width, height, x, y) return { x = x or 0, y = y or 0, width = width or 1, height = height or 1 } end function Box:__index(key) if key == 'w' then return self.width elseif key == 'h' then ...
mit
ahosein243243/uzzbot
plugins/stats.lua
458
4098
-- Saves the number of messages from a user -- Can check the number of messages with !stats do local NUM_MSG_MAX = 5 local TIME_CHECK = 4 -- seconds local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name....
gpl-2.0
Cloudef/darkstar
scripts/globals/weaponskills/wildfire.lua
24
1622
----------------------------------- -- Wildfire -- Skill Level: N/A -- Description: Deals fire elemental damage. Enmity generation varies with TP. Armageddon: Aftermath. -- Acquired permanently by completing the appropriate Walk of Echoes Weapon Skill Trials. -- Can also be used by equipping Armageddon (85)/(90)/(95)/(...
gpl-3.0
Cloudef/darkstar
scripts/zones/Crawlers_Nest/Zone.lua
5
1174
----------------------------------- -- -- Zone: Crawlers_Nest (197) -- ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Crawlers_Nest/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone")...
gpl-3.0