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 |
|---|---|---|---|---|---|
saeeidbeygi/Mrbot | 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 |
jshackley/darkstar | scripts/globals/spells/valor_minuet_iii.lua | 18 | 1594 | -----------------------------------------
-- Spell: Valor Minuet III
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCasting... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Walls/npcs/Shantotto.lua | 17 | 7967 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Shantotto
-- @pos 122 -2 112 239
-- CSID's missing in autoEventID please check the old forums under resources for all of shantotto's csid's. I found them all manually.
-----------------------------------
package.loaded["scripts/zones/Windurst_W... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Temenos/mobs/Cryptonberry_Skulker.lua | 1 | 1146 | -----------------------------------
-- Area: Temenos N T
-- NPC: Cryptonberry_Skulker
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/bowl_of_shimmy_soup.lua | 36 | 1323 | -----------------------------------------
-- ID: 5931
-- Item: Bowl of Shimmy Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- MP 32
-- Mind 5
-- HP Recovered While Healing 5
-- Enmity -5
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
dani-sj/tekmilienod | plugins/boobs.lua | 90 | 1731 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Yhoator_Jungle/npcs/Etaj-Pohtaj_WW.lua | 30 | 3054 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Etaj-Pohtaj, W.W.
-- Outpost Conquest Guards
-- @pos 200.254 -1 -80.324 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
spamn/awesome-config | widgets/backlight.lua | 1 | 3283 | local awful = require("awful")
local wibox = require("wibox")
local spawn = require("awful.spawn")
local helpers = require("lib.helpers")
local function factory(args)
if args == nil then
args = {}
--see https://stackoverflow.com/questions/6022519/define-default-values-for-function-arguments for ad... | gpl-2.0 |
jshackley/darkstar | scripts/globals/abilities/chakra.lua | 18 | 1872 | -----------------------------------
-- Ability: Chakra
-- Cures certain status effects and restores a small amount of HP to user.
-- Obtained: Monk Level 35
-- Recast Time: 5:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- ... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/fish_mithkabob.lua | 35 | 1468 | -----------------------------------------
-- ID: 4398
-- Item: fish_mithkabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind -1
-- Defense % 25
-- Defense Cap 90
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Longbow.lua | 1 | 1488 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Longbow
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
funct... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Cape_Teriggan/npcs/HomePoint#1.lua | 19 | 1196 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: HomePoint#1
-- @pos -303 -8 526 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Cape_Teriggan/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
Keithenneu/Dota2-FullOverwrite | decision_tree.lua | 2 | 39501 | -------------------------------------------------------------------------------
--- AUTHOR: Nostrademous
--- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite
-------------------------------------------------------------------------------
local think = require( GetScriptDirectory().."/think" )
require(... | gpl-3.0 |
Naoir/packages | net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/interfaceconfig.lua | 26 | 7228 | -- ------ extra functions ------ --
function interfaceCheck()
metricValue = ut.trim(sys.exec("uci get -p /var/state network." .. arg[1] .. ".metric"))
if metricValue == "" then -- no metric
errorNoMetric = 1
else -- if metric exists create list of interface metrics to compare against for duplicates
uci.cursor()... | gpl-2.0 |
jshackley/darkstar | scripts/globals/weaponskills/spinning_slash.lua | 30 | 1563 | -----------------------------------
-- Spinning Slash
-- Great Sword weapon skill
-- Skill level: 225
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:30% ; INT:30%
-- 100%TP 200%TP 300%TP
-- 2.5 3 3.5
-----------------------------------
require("scripts/globals/status");
require... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/throwing/shell_arrow.lua | 8 | 3699 | minetest.register_craftitem("throwing:arrow_shell", {
description = "Shell arrow",
inventory_image = "throwing_arrow_shell.png",
})
minetest.register_node("throwing:arrow_shell_box", {
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
-- Shaft
{-6.5/17, -1.5/17, -1.5/17, 6.5/17, 1.5/17, 1.5/17... | unlicense |
jshackley/darkstar | scripts/zones/Port_Windurst/npcs/Drozga.lua | 51 | 1440 | -----------------------------------
-- Area: Port Windurst
-- NPC: Drozga
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Port_Windurst/TextIDs");
----... | gpl-3.0 |
LiberatorUSA/GUCEF | dependencies/libparsifal/premake4.lua | 1 | 1741 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
jshackley/darkstar | scripts/globals/spells/blind_ii.lua | 18 | 1733 | -----------------------------------------
-- Spell: Blind II
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Blind II value per point is '1' This is a constant set in the table 'merits'
-----------------------------------------
require("scripts/globals... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/mobs/yeti.lua | 7 | 2160 |
-- Yeti by TenPlus1
mobs:register_mob("mobs:yeti", {
-- animal, monster, npc, barbarian
type = "monster",
-- agressive, deals 7 damage to player when hit
passive = false,
damage = 3,
attack_type = "dogshoot",
pathfinding = false,
reach = 2,
shoot_interval = .75,
arrow = "mobs:snowball",
shoot_offset = 2,
... | unlicense |
jshackley/darkstar | scripts/zones/Waughroon_Shrine/npcs/Burning_Circle.lua | 17 | 2216 | -----------------------------------
-- Area: Waughroon Shrine
-- NPC: Burning Circle
-- Waughroon Shrine Burning Circle
-- @pos -345 104 -260 144
-------------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-------------------------------------
require("scripts/global... | gpl-3.0 |
Mizugola/MeltingSaga | engine/Lib/Extlibs/pl/Date.lua | 5 | 18209 | --- Date and Date Format classes.
-- See @{05-dates.md|the Guide}.
--
-- Dependencies: `pl.class`, `pl.stringx`, `pl.utils`
-- @classmod pl.Date
-- @pragma nostrip
local class = require 'Lib.Extlibs.pl.class'
local os_time, os_date = os.time, os.date
local stringx = require 'Lib.Extlibs.pl.stringx'
local utils = requ... | mit |
UnKnOwNsBoT/UnKnOwNsBoT | plugins/time.lua | 120 | 2804 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua | 11 | 10095 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
ht... | gpl-2.0 |
jshackley/darkstar | scripts/globals/weaponskills/true_strike.lua | 18 | 1509 | -----------------------------------
-- True Strike
-- Club weapon skill
-- Skill level: 175
-- Deals params.critical damage. params.accuracy varies with TP.
-- 100% Critical Hit Rate. Has a substantial accuracy penalty at 100TP. http://www.bg-wiki.com/bg/True_Strike
-- Will stack with Sneak Attack.
-- Aligned wi... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Norg/npcs/Muzaffar.lua | 4 | 3413 | -----------------------------------
-- Area: Norg
-- NPC: Muzaffar
-- Standard Info NPC
-- Quests: Black Market
-- @pos 16.678, -2.044, -14.600 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Norg/TextIDs");... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Dynamis-Windurst/bcnms/dynamis_windurst.lua | 22 | 1323 | -----------------------------------
-- Area: Dynamis Windurst
-- Name: Dynamis Windurst
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaWindurst]UniqueID",player:getDynamisUniqueID(1282));
SetServer... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/moretrees/init.lua | 7 | 10077 | -- More trees! 2013-04-07
--
-- This mod adds more types of trees to the game
--
-- Some of the node definitions and textures came from cisoun's conifers mod
-- and bas080's jungle trees mod.
--
-- Brought together into one mod and made L-systems compatible by Vanessa
-- Ezekowitz.
--
-- Firs and Jungle tree axioms/r... | unlicense |
botmohammad12344888/bot-888338888 | plugins/banhammer.lua | 2 | 12454 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
misterdustinface/TestBoots | TestBoots/tests/SpyReport.lua | 3 | 1796 | -- Copyright (C) 2015 Dustin Shaffer
-- Licensed under the GNU GENERAL PUBLIC LICENSE, Version 2
local function header(xTestReport, xTestData)
xTestReport.wasCalled["header"] = true
xTestReport.headerTestData = xTestData
end
local function pass(xTestReport, xTestData)
xTestReport.wasCalled["pass"] = true
x... | gpl-2.0 |
jshackley/darkstar | scripts/zones/Southern_San_dOria/npcs/Benaige.lua | 36 | 1982 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Benaige
-- Standard Merchant NPC
-- @zone 230
-- @pos-142,-6 47
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
jshackley/darkstar | scripts/globals/spells/bind.lua | 18 | 1086 | -----------------------------------------
-- Spell: Bind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Toraimarai_Canal/npcs/qm9.lua | 19 | 1405 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: ???
-- Involved In Quest: Wild Card
-- @zone 169 // not accurate
-- @pos 220 16 -50 // not accurate
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
jshackley/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_zdei.lua | 19 | 1909 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Aw'Zdei
-- Animation Sub 0 Pot Form
-- Animation Sub 1 Pot Form (reverse eye position)
-- Animation Sub 2 Bar Form
-- Animation Sub 3 Ring Form
-----------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
sugiartocokrowibowo/Algorithm-Implementations | Boyer_Moore_Horspool/Lua/Yonaba/bmh_test.lua | 27 | 1111 | -- Tests for bmh.lua
local bmh = require 'bmh'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok and 'PA... | mit |
jshackley/darkstar | scripts/globals/items/plate_of_sole_sushi.lua | 14 | 1743 | -----------------------------------------
-- ID: 5149
-- Item: plate_of_sole_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 20
-- Strength 5
-- Dexterity 6
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scrip... | gpl-3.0 |
hockeychaos/Core-Scripts-1 | CoreScriptsRoot/Modules/BackpackScript.lua | 1 | 63845 | -- Backpack Version 5.1
-- OnlyTwentyCharacters, SolarCrane
-------------------
--| Exposed API |--
-------------------
local BackpackScript = {}
BackpackScript.OpenClose = nil -- Function to toggle open/close
BackpackScript.IsOpen = false
BackpackScript.StateChanged = Instance.new('BindableEvent') -- Fires after any... | apache-2.0 |
jshackley/darkstar | scripts/zones/Windurst_Woods/npcs/Pew_Sahbaraef.lua | 38 | 1038 | ----------------------------------
-- Area: Windurst Woods
-- NPC: Pew Sahbaraef
-- Type: Item Deliverer
-- @zone: 241
-- @pos 61.899 -2.5 -112.956
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/TextIDs");
--------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Valkurm_Dunes/npcs/Nyata-Mobuta_WW.lua | 30 | 3056 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Nyata-Mobuta, W.W.
-- Type: Outpost Conquest Guards
-- @pos 139.394 -7.885 100.384 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conque... | gpl-3.0 |
10sa/Advanced-Nutscript | nutscript/plugins/improvedcooking/entities/entities/nut_stove.lua | 1 | 2087 | ENT.Type = "anim"
ENT.PrintName = PLUGIN:GetPluginLanguage("cook_stove_name")
ENT.Author = "Black Tea"
ENT.Spawnable = true
ENT.AdminOnly = true
ENT.Category = "Nutscript"
ENT.PersistentSave = false;
if (SERVER) then
function ENT:Initialize()
self:SetModel("models/props_c17/furnitureStove001a.mdl")
self:PhysicsIn... | mit |
jshackley/darkstar | scripts/globals/items/plate_of_royal_sautee.lua | 35 | 1749 | -----------------------------------------
-- ID: 4295
-- Item: plate_of_royal_sautee
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 20
-- Attack Cap 80
-- Ranged ATT % 20
-- Ranged ATT Cap 80
-- Stun Resist 5
-----------... | gpl-3.0 |
goksie/newfies-dialer | lua/libs/example_ivr.lua | 4 | 3431 | --
-- 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-2014 Star2Billing S.L.
--
--... | mpl-2.0 |
jshackley/darkstar | scripts/zones/Waughroon_Shrine/bcnms/prehistoric_pigeons.lua | 17 | 1788 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: Prehistoric Pigeons
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
jshackley/darkstar | scripts/globals/mobskills/Prishe_Item_2.lua | 53 | 1486 | ---------------------------------------------
-- Prishe Item 2
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
--------------------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Porter_Moogle.lua | 41 | 1560 | -----------------------------------
-- Area: Southern San d'Oria [S]
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 80
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/So... | gpl-3.0 |
LiberatorUSA/GUCEF | dependencies/tolua/premake5.lua | 1 | 1367 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
shagu/pfQuest | route.lua | 1 | 15187 | -- table.getn doesn't return sizes on tables that
-- are using a named index on which setn is not updated
local function tablesize(tbl)
local count = 0
for _ in pairs(tbl) do count = count + 1 end
return count
end
function modulo(val, by)
return val - math.floor(val/by)*by;
end
local function GetNearest(xstar... | mit |
catwell/mule | anon.lua | 2 | 6115 | require "helpers"
local words = {
"coconut","lolipop","refreshing","growl","theif","swiftly","tuna","freak","oyster",
"manatee","pop","candy","tomorow","biscuit","stumble","dislocate","swiss", "classic",
"maraca","penninsala", "nucleus","ping","twinkle","tinkle","foe","kung","coffee",
"vigeriously","hyper", "o... | apache-2.0 |
jshackley/darkstar | scripts/zones/Mount_Zhayolm/npcs/qm4.lua | 30 | 1342 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Khromasoul Bhurborlor(ZNM T3))
-- @pos 88 -22 70 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
require(... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Northern_San_dOria/npcs/Narsaude.lua | 36 | 1426 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Narsaude
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Port_Bastok/npcs/Dhen_Tevryukoh.lua | 34 | 1619 | -----------------------------------
-- Area: Port Bastok
-- NPC: Dhen Tevryukoh
-- Only sells when Bastok controlls Elshimo Uplands
-- @zone 236
-- @pos 35 -2 2
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Riverne-Site_A01/npcs/HomePoint#1.lua | 19 | 1189 | -----------------------------------
-- Area: Riverne-Site A01
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Sahnn_Dhansett.lua | 38 | 1054 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Sahnn Dhansett
-- Type: Standard NPC
-- @zone: 94
-- @pos 112.820 -3.122 47.857
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Al_Zahbi/npcs/Mihli_Aliapoh.lua | 38 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Mihli Aliapoh
-- Type: Waterserpent General
-- @zone: 48
-- @pos -22.615 -7 78.907
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------... | gpl-3.0 |
rigeirani/arbc | bot/bot.lua | 3 | 6974 | 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 = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
drhelius/Gearboy | platforms/ios/dependencies/SDL-2.0.4-9174/premake/util/sdl_string.lua | 7 | 3245 | -- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for an... | gpl-3.0 |
Victek/wrt1900ac-aa | veriksystems/luci-0.11/applications/luci-statistics/luasrc/model/cbi/luci_statistics/netlink.lua | 7 | 2809 | --[[
Luci configuration model for statistics - collectd netlink 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 Licen... | gpl-2.0 |
mrk21/study_backend | nginx_openresty/lua/upload.lua | 1 | 1742 | local template = require "resty.template"
local upload = require "resty.upload"
local cjson = require "cjson"
local method = ngx.req.get_method()
if method == 'GET' then
local handle = io.popen('ls tmp/upload','r')
local files = {}
while true do
local line = handle:read()
if line == nil then break end
... | mit |
LiberatorUSA/GUCEF | dependencies/tolua/src/bin/lua/typedef.lua | 14 | 1584 | -- tolua: typedef class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: typedef.lua,v 1.3 2009/11/24 16:45:15 fabraham Exp $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to pro... | apache-2.0 |
SwadicalRag/hash.js | plugins/lua/user_modules/gmod_defines.lua | 2 | 6112 | local pattern_escape_replacements = {
["("] = "%(",
[")"] = "%)",
["."] = "%.",
["%"] = "%%",
["+"] = "%+",
["-"] = "%-",
["*"] = "%*",
["?"] = "%?",
["["] = "%[",
["]"] = "%]",
["^"] = "%^",
["$"] = "%$",
["\0"] = "%z"
}
function string.PatternSafe( str )
return ( str:gsub( ".", pattern_escape_replaceme... | cc0-1.0 |
jshackley/darkstar | scripts/zones/Port_Bastok/npcs/Styi_Palneh.lua | 17 | 4043 | -----------------------------------
-- Area: Port Bastok
-- NPC: Styi Palneh
-- Title Change NPC
-- @pos 28 4 -15 236
-----------------------------------
require("scripts/globals/titles");
local title2 = { NEW_ADVENTURER , BASTOK_WELCOMING_COMMITTEE , BUCKET_FISHER , PURSUER_OF_THE_PAST , MOMMYS_HELPER , HOT... | gpl-3.0 |
JoMiro/arcemu | src/scripts/lua/LuaBridge/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Kilrek.lua | 30 | 1152 | function Kilrek_Broken_Pact(Unit, event, miscunit, misc)
if Unit:GetHealthPct() < 2 and Didthat == 0 then
Unit:FullCastSpellOnTarget(30065,Unit:GetUnitBySqlId(15688))
Unit:SendChatMessage(11, 0, "You let me down Terestian, you will pay for this...")
Didthat = 1
else
end
end
function Kilrek_FireBolt(Unit, even... | agpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua | 38 | 1408 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Moan-Maon
-- Type: Standard NPC
-- @pos 88.244 -6.32 148.912 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
LiberatorUSA/GUCEF | dependencies/cegui/cegui/src/RendererModules/Ogre/premake5.lua | 1 | 2576 | --------------------------------------------------------------------
-- This file was automatically generated by ProjectGenerator
-- which is tooling part the build system designed for GUCEF
-- (Galaxy Unlimited Framework)
-- For the latest info, see http://www.VanvelzenSoftware.com/
--
-- The contents of this file... | apache-2.0 |
JoMiro/arcemu | src/scripts/lua/LuaBridge/0Misc/0LCF_Includes/LCF_Gameobject.lua | 13 | 4327 | --[[
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008-2010 <http://www.ArcEmu.org/>
*
* This program 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 Softwa... | agpl-3.0 |
jshackley/darkstar | scripts/globals/weaponskills/shadowstitch.lua | 18 | 1531 | -----------------------------------
-- Shadowstitch
-- Dagger weapon skill
-- Skill level: 70
-- Binds target. Chance of binding varies with TP.
-- Does stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: CHR:100%
-- 100%TP 200%TP 300%T... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/cup_of_chai_+1.lua | 35 | 1214 | -----------------------------------------
-- ID: 5594
-- Item: cup_of_chai_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Vitality -3
-- Charisma 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
bsmr-games/OpenRA | mods/ra/maps/soviet-04b/main.lua | 15 | 4003 |
RunInitialActivities = function()
Harvester.FindResources()
Helper.Destroy()
IdlingUnits()
Trigger.AfterDelay(DateTime.Seconds(1), function()
BringPatrol1()
Trigger.AfterDelay(DateTime.Seconds(5), function()
BringPatrol2()
end)
BuildBase()
end)
Utils.Do(Map.NamedActors, function(actor)
if actor.Own... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Davoi/npcs/_45g.lua | 19 | 2043 | -----------------------------------
-- Area: Davoi
-- NPC: Groaning Pond
-- Used In Quest: Whence Blows the Wind
-- @pos 101 0.1 60 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
BeyondTeam/TeleBeyond | plugins/txt2stick.lua | 1 | 1324 | do
local function run(msg, matches)
local eq = URL.escape(matches[2])
local w = "640"
local h = "200"
local txtsize = "62"
local txtclr = "ff2e4357"
if matches[3] then
txtclr = matches[3]
end
if matches[4] then
txtsize = matches[4]
end
if matches[5] and matches[6] then
w = matches[5]
h = matches[6]
... | agpl-3.0 |
10sa/Advanced-Nutscript | nutscript/gamemode/init.lua | 1 | 1387 | --[[
Purpose: The framework needs to define this so the schemas can reference
the framework without GM.BaseClass since it the baseclass is not defined in time.
--]]
resource.AddWorkshop("207739713");
resource.AddWorkshop("589615668");
resource.AddWorkshop("865625406");
local startTime = SysTime();
include("shared.... | mit |
jshackley/darkstar | scripts/zones/Boneyard_Gully/npcs/_081.lua | 17 | 1429 | -----------------------------------
-- Area: Boneyard_Gully
-- NPC: _081 (Dark Miasma)
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/glo... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Markets/npcs/Shamarhaan.lua | 38 | 1856 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Shamarhaan
-- Type: Quest Starter
-- Involved in quest: No Strings Attached
-- @zone: 235
-- @pos -285.382 -13.021 -84.743
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/8/2011
--------------------------------... | gpl-3.0 |
men232/greencode-framework | lua/greencode/libs/sh_von.lua | 1 | 17012 | --[[
Copyright 2012-2013 Alexandru-Mihai Maftei
aka Vercas
You may use this for any purpose as long as:
- You don't remove this copyright notice.
- You don't claim this to be your own.
- You properly credit the author (Vercas) if you publish your work based on (and/or using) this.
If you modify th... | mit |
plocher/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 |
ByteFun/Starbound_mods | smount/tech/mech/mount37/mount37.lua | 1 | 36742 | function checkCollision(position)
local boundBox = mcontroller.boundBox()
boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1]
boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2]
boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1]
boundBox[4] = boundBox[4] - mcon... | gpl-2.0 |
Mythikos/Flood-2.0 | flood/gamemode/server/sv_commands.lua | 1 | 7813 | -- Give Cash
local function Flood_GiveCash(ply, txt)
local command = string.Explode(" ", txt)
if command[1] == "!givecash" then
local ct = ChatText()
local ct2 = ChatText()
if ply:IsAdmin() then
local target_player = FindPlayer(ply, command[2])
local target_amount = command[3]
local commandnam... | mit |
jshackley/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#4.lua | 17 | 1249 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#4
-- @pos 500 -42 158 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globa... | gpl-3.0 |
amireh/busted | src/output/TAP.lua | 1 | 2880 | --interface:
-- output.short_status
-- output.descriptive_status
-- output.currently_executing
local output = function()
local success_string = function(test_index, test_status)
return string.format("ok %d - %s", test_index, test_status.description)
end
local failure_string = function(test_index, test_st... | mit |
jshackley/darkstar | scripts/globals/effects/agi_down.lua | 18 | 1092 | -----------------------------------
--
-- EFFECT_AGI_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_AGI) - effec... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bhaflau_Remnants/Zone.lua | 36 | 1125 | -----------------------------------
--
-- Zone: Bhaflau_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil;
require("scripts/zones/Bhaflau_Remnants/TextIDs");
-----------------------------------
-- onInitial... | gpl-3.0 |
pygy/strung.lua | tests/patterns.lua | 1 | 5062 | local c = require"tests.common"
local try, gmtry, iter, allchars, dumpacc = c.try, c.gmtry, c.iter, c.allchars, c.dumpacc
local strung = require"strung"
local bench = arg[1] == "bench"
--- Character classes and locales ---
try("find", allchars, "%a+")
gmtry(allchars, "%a+")
iter(1)
for _, locale in ipairs{
--... | mit |
jshackley/darkstar | scripts/globals/mobskills/Nullifying_Dropkick.lua | 58 | 1046 | ---------------------------------------------
-- Nullifying Dropkick
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Grounds_Tome.lua | 34 | 1151 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTr... | gpl-3.0 |
VincentGong/chess | cocos2d-x/cocos/scripting/lua-bindings/auto/api/ParticleBatchNode.lua | 3 | 2720 |
--------------------------------
-- @module ParticleBatchNode
-- @extend Node,TextureProtocol
--------------------------------
-- @function [parent=#ParticleBatchNode] setTexture
-- @param self
-- @param #cc.Texture2D texture2d
--------------------------------
-- @function [parent=#ParticleBatchNode] disabl... | mit |
BeyondTeam/TeleBeyond | plugins/t2i_pro.lua | 2 | 3338 | local helpers = require "OAuth.helpers"
local base = "https://screenshotmachine.com/"
local url = base.."processor.php"
local function get_webshot_url()
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
headers = {
referer = base,
d... | agpl-3.0 |
jshackley/darkstar | scripts/globals/spells/cure_iii.lua | 18 | 3838 | -----------------------------------------
-- Spell: Cure III
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
PTPM/MTASA-legacy | ptpm/player_spawn.lua | 1 | 20746 | function balancedness( proposedclassid, oldclassid )
local playersInATeamCount, dualpm, toomanybg = 0, false, false
local playersInATeam = {}
for _, value in ipairs( getElementsByType( "player" ) ) do
if value and isElement( value ) and getPlayerClassID( value ) then
local team = classes[getPlayerClassID( va... | mit |
jshackley/darkstar | scripts/zones/Castle_Oztroja/npcs/_47m.lua | 17 | 1571 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47m (Torch Stand)
-- Notes: Opens door _471 near password #3
-- @pos -45.230 -17.832 17.668 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Lower_Jeuno/npcs/Ruslan.lua | 37 | 2004 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Ruslan
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 245
-- @pos = -19 -1 -58
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
jshackley/darkstar | scripts/globals/items/coeurl_sub_+1.lua | 35 | 1922 | -----------------------------------------
-- ID: 5167
-- Item: coeurl_sub_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 15
-- Strength 6
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 80
-- Ranged ATT % 22
-- Ranged ATT ... | gpl-3.0 |
Ombridride/minetest-minetestforfun-server | mods/nether/nether/init.lua | 10 | 26960 | -- Nether Mod (based on Nyanland by Jeija, Catapult by XYZ, and Livehouse by neko259)
-- lkjoel (main developer, code, ideas, textures)
-- == CONTRIBUTERS ==
-- jordan4ibanez (code, ideas, textures)
-- Gilli (code, ideas, textures, mainly for the Glowstone)
-- Death Dealer (code, ideas, textures)
-- LolManKuba (ideas, ... | unlicense |
tridge/ardupilot | libraries/AP_Scripting/examples/plane-wind-failsafe.lua | 26 | 1195 | -- warn the user if wind speed exceeds a threshold, failsafe if a second threshold is exceeded
-- note that this script is only intended to be run on ArduPlane
-- tuning parameters
local warn_speed = 10 -- metres/second
local failsafe_speed = 15 -- metres/second
local warning_interval_ms = uint32_t(15000) -- send use... | gpl-3.0 |
jshackley/darkstar | scripts/zones/North_Gustaberg/npcs/Kuleo.lua | 17 | 1867 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Kuleo
-- Type: Outpost Vendor
-- @pos -586 39 61 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/g... | gpl-3.0 |
hockeychaos/Core-Scripts-1 | CoreScriptsRoot/Modules/Server/ServerChat/ChatService.lua | 1 | 13710 | -- // FileName: ChatService.lua
-- // Written by: Xsitsu
-- // Description: Manages creating and destroying ChatChannels and Speakers.
local MAX_FILTER_RETRIES = 3
local FILTER_BACKOFF_INTERVALS = {50/1000, 100/1000, 200/1000}
local MAX_FILTER_DURATION = 60
--- Constants used to decide when to notify that the chat fi... | apache-2.0 |
jshackley/darkstar | scripts/globals/spells/huton_san.lua | 17 | 1612 | -----------------------------------------
-- Spell: Huton: San
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Bastok_Markets/npcs/Charging_Chocobo.lua | 36 | 1678 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Charging Chocobo
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
... | gpl-3.0 |
jshackley/darkstar | scripts/zones/Windurst_Walls/npcs/Chomomo.lua | 38 | 1404 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Chomomo
-- Type: Standard NPC
-- @pos -1.262 -11 290.224 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts... | gpl-3.0 |
amberGit/justTest | 4Queen.lua | 1 | 1255 | local chessBoard={0,0,0,0,
0,0,0,0,
0,0,0,0,
0,0,0,0}--¶¨ÒåÆåÅÌ
chessBoard.size=4 --Ä£ÄâÒ»¸ö¶þάÊý×é
chessBoard.traverse=function ()
for i=1,chessBoard.size do
for j=1,chessBoard.size do
print(chessBoard[(i-1)*chessBoard.size+j] .. " ")
end
print("\n")
end
end
chessBoard.reset = function ()
for i=1,#chessBo... | gpl-2.0 |
ElGoreLoco/dotfiles | config/awesome/rc.lua | 1 | 28025 | -- Standard awesome library
local gears = require("gears")
local awful = require("awful")
awful.rules = require("awful.rules")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
local vicious = require("vicious")
-- Theme handling library
local beautiful = require("beautiful")
-- Not... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.