repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
Cloudef/darkstar
scripts/globals/items/chunk_of_goblin_chocolate.lua
2
1108
----------------------------------------- -- ID: 4495 -- Item: chunk_of_goblin_chocolate -- Food Effect: 3Min, All Races ----------------------------------------- -- Health Regen While Healing 5 -- Lizard Killer 10 -- Petrify resistance +10 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
Cloudef/darkstar
scripts/globals/spells/sandstorm.lua
2
1231
-------------------------------------- -- Spell: Sandstorm -- Changes the weather around target party member to "dusty." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -...
gpl-3.0
Cloudef/darkstar
scripts/globals/abilities/companions_roll.lua
2
2884
----------------------------------- -- Ability: Companion's Roll -- Grants "Regain" and "Regen" effects to pets of party members within area of effect. -- Optimal Job: None -- Lucky Number: 2 -- Unlucky Number: 10 -- Level: 95 -- Phantom Roll +1 Value: 5/2 -- -- Die Roll Logic in globals/effects/companions_roll.lua -- ...
gpl-3.0
Cloudef/darkstar
scripts/zones/Windurst_Woods/npcs/Soni-Muni.lua
5
2351
----------------------------------- -- Area: Windurst Woods -- NPC: Soni-Muni -- Starts & Finishes Quest: The Amazin' Scorpio -- !pos -17.073 1.749 -59.327 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
taobao-idev/wax
lib/stdlib/helpers/frame.lua
19
2670
-- This is weird code... I'm just playing with an idea function wax.frame(object) return wax.dimensions(object, "frame") end function wax.bounds(object) return wax.dimensions(object, "bounds") end function wax.dimensions(object, varName) return setmetatable({ object = object, center = function(self) ...
mit
nyasukun/openstackcraft
world/Plugins/ProtectionAreas/CommandHandlers.lua
6
7921
-- CommandHandlers.lua -- Defines the individual command handlers --- Handles the ProtAdd command function HandleAddArea(a_Split, a_Player) -- Command syntax: /protection add username1 [username2] [username3] ... if (#a_Split < 3) then a_Player:SendMessage(g_Msgs.ErrExpectedListOfUsernames); return true; e...
apache-2.0
jsfdez/premake-core
tests/testfx.lua
9
10494
-- -- tests/testfx.lua -- Automated test framework for Premake. -- Copyright (c) 2008-2015 Jason Perkins and the Premake project -- local p = premake -- -- Define a namespace for the testing functions -- test = {} test.suppressed = {} -- -- Capture stderr for testing. -- local stderr_capture = nil local mt...
bsd-3-clause
Cloudef/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Porter_Moogle.lua
7
1186
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 94 -- !pos TODO ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_Waters...
gpl-3.0
fgprodigal/RayUI
Interface/AddOns/RayUI_Options/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua
1
5829
--[[----------------------------------------------------------------------------- ColorPicker Widget -------------------------------------------------------------------------------]] local Type, Version = "ColorPicker", 1 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(T...
mit
keidax/awesome
lib/awful/placement.lua
1
9751
--------------------------------------------------------------------------- --- Places client according to special criteria. -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008 Julien Danjou -- @release @AWESOME_VERSION@ -- @module awful.placement --------------------------------------------------...
gpl-2.0
MinetestForFun/server-minetestforfun
mods/homedecor_modpack/chains/init.lua
6
3986
local chains_sbox = { type = "fixed", fixed = { -0.1, -0.625, -0.1, 0.1, 0.5, 0.1 } } local topchains_sbox = { type = "fixed", fixed = { { -0.25, 0.35, -0.25, 0.25, 0.5, 0.25 }, { -0.1, -0.625, -0.1, 0.1, 0.4, 0.1 } } } minetest.register_node("chains:chain", { description = "Hanging chain (wrought iron)", ...
unlicense
NowTeam/TeleNow
plugins/inpm.lua
1114
3008
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
MinetestForFun/server-minetestforfun
mods/mff/mff_pclasses/warrior.lua
5
2365
------------------- -- Warrior class -- ------------------- -- -- See https://github.com/Ombridride/minetest-minetestforfun-server/issues/113 -- pclasses.api.register_class("warrior", { on_assigned = function(pname, inform) if inform then minetest.sound_play("pclasses_full_warrior", {to_player=pname, gain=1}) ...
unlicense
Cloudef/darkstar
scripts/zones/Cape_Teriggan/npcs/Sarmistha_IM.lua
2
2971
----------------------------------- -- Area: Cape Teriggan -- NPC: Sarmistha, I.M. -- Type: Outpost Conquest Guards -- !pos -185 7 -63 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("s...
gpl-3.0
david-xiao/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua
68
1143
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("TCPConns Plugin Configuration"), translate( "The tcpconns plugin collects informations about open tcp " .. "connections on selected ports." )) -- ...
apache-2.0
Cloudef/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Ganemu-Punnemu_WW.lua
2
3004
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Ganemu-Punnemu, W.W. -- Outpost Conquest Guards -- !pos -481.164 -32.858 49.188 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
keidax/awesome
spec/gears/object_spec.lua
7
3762
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2014 Uli Schlachter --------------------------------------------------------------------------- local object = require("gears.object") describe("gears.object", function() local obj before_each(f...
gpl-2.0
DARKRPISSHITFIXTHISUPDATE/DarkRP
gamemode/modules/base/cl_interface.lua
10
3053
DarkRP.PLAYER.isInRoom = DarkRP.stub{ name = "isInRoom", description = "Whether the player is in the same room as the LocalPlayer.", parameters = {}, returns = { { name = "inRoom", description = "Whether the player is in the same room.", type = "boolean" ...
mit
Cloudef/darkstar
scripts/globals/items/cupid_chocolate.lua
2
1216
----------------------------------------- -- ID: 5681 -- Item: cupid_chocolate -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Accuracy +10 -- Ranged Accuracy +10 -- Attack 10 -- Ranged Attack 10 -- Store TP +25 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
MinetestForFun/server-minetestforfun
mods/sea/seagravel/init.lua
3
6540
-- NODES minetest.register_node("seagravel:seagravel", { description = "Sea gravel", tiles = {"seagravel_seagravel.png"}, is_ground_content = true, groups = {crumbly=2, falling_node=1}, sounds = default.node_sound_dirt_defaults({ footstep = {name="default_gravel_footstep", gain=0.5}, dug = {name="default_gra...
unlicense
jdsfhsdbf65/test
plugins/msg_checks.lua
6
11264
--Begin msg_checks.lua --Begin pre_process function local function pre_process(msg) -- Begin 'RondoMsgChecks' text checks by @rondoozle if is_chat_msg(msg) or is_super_group(msg) then if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user local data = load_data(_config.moderatio...
agpl-3.0
Cloudef/darkstar
scripts/zones/Ordelles_Caves/npcs/Ruillont.lua
5
1929
----------------------------------- -- Area: Ordelles Caves -- NPC: Ruillont -- Involved in Mission: The Rescue Drill -- !pos -70 1 607 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require(...
gpl-3.0
Cloudef/darkstar
scripts/globals/spells/bluemagic/digest.lua
7
1659
----------------------------------------- -- Spell: Digest -- Steals an enemy's HP. Ineffective against undead -- Spell cost: 20 MP -- Monster Type: Amorphs -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 36 -- Casting Time: 4 seconds -- Recast Time: 90 seconds -- Magic Bursts ...
gpl-3.0
Cloudef/darkstar
scripts/zones/Northern_San_dOria/npcs/Guilberdrier.lua
5
1425
----------------------------------- -- Area: Northern San d'Oria -- NPC: Guilberdrier -- Type: Standard Info NPC -- Involved in Quest: Flyers for Regine, Exit the Gambler -- @zone 231 -- !pos -159.082 12.000 253.794 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;...
gpl-3.0
ryanjmulder/premake-4.x
tests/base/test_api.lua
54
11362
-- -- tests/base/test_api.lua -- Automated test suite for the project API support functions. -- Copyright (c) 2008-2011 Jason Perkins and the Premake project -- T.api = { } local suite = T.api local sln function suite.setup() sln = solution "MySolution" end -- -- premake.getobject() tests -- function suite...
bsd-3-clause
minism/love-cavegen
entity.lua
1
1331
require 'leaf.object' require 'leaf.polygon' local Object = leaf.Object local Rect = leaf.Rect Entity = Object:extend('Entity') function Entity:init(w, h) self.x = 0 self.y = 0 self.bb = Rect:new(w, h) self.rot = 0 self.scale = 1 self.children = nil end --- Sets up camera transform...
bsd-2-clause
Cloudef/darkstar
scripts/globals/spells/spirited_etude.lua
2
1843
----------------------------------------- -- Spell: Spirited Etude -- Static MND Boost, BRD 24 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,tar...
gpl-3.0
jsfdez/premake-core
src/base/globals.lua
14
2408
-- -- globals.lua -- Replacements and extensions to Lua's global functions. -- Copyright (c) 2002-2014 Jason Perkins and the Premake project -- -- -- Find and execute a Lua source file present on the filesystem, but -- continue without error if the file is not present. This is used to -- handle optional files such as...
bsd-3-clause
DARKRPISSHITFIXTHISUPDATE/DarkRP
gamemode/modules/hitmenu/cl_menu.lua
5
7226
local PANEL /*--------------------------------------------------------------------------- Hitman menu ---------------------------------------------------------------------------*/ PANEL = {} AccessorFunc(PANEL, "hitman", "Hitman") AccessorFunc(PANEL, "target", "Target") AccessorFunc(PANEL, "selected", "Selected") fu...
mit
Cloudef/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Uphra-Kophra_WW.lua
2
2996
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Uphra-Kophra, W.W. -- Outpost Conquest Guards -- !pos -242.487 -1 -402.772 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
Cloudef/darkstar
scripts/zones/Sealions_Den/mobs/Mammet-22_Zeta.lua
5
1929
----------------------------------- -- Area: Sealions Den -- Mob: Mammet-22_Zeta ----------------------------------- require("scripts/zones/Sealions_Den/MobIDs"); require("scripts/globals/titles"); ----------------------------------- function onMobDeath(mob, player, isKiller) -- find mob offset for given battlefi...
gpl-3.0
romonzaman/newfies-dialer
lua/scheduled_event.lua
5
7846
-- Version: MPL 1.1 -- -- The contents of this file are subject to the Mozilla Public License Version -- 1.1 (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.mozilla.org/MPL -- -- Software distributed under the License is distribu...
mpl-2.0
Zirpon/skynet
examples/agent.lua
65
2082
local skynet = require "skynet" local netpack = require "netpack" local socket = require "socket" local sproto = require "sproto" local sprotoloader = require "sprotoloader" local WATCHDOG local host local send_request local CMD = {} local REQUEST = {} local client_fd function REQUEST:get() print("get", self.what) ...
mit
TeleDALAD/test2
plugins/btc.lua
289
1375
-- See https://bitcoinaverage.com/api local function getBTCX(amount,currency) local base_url = 'https://api.bitcoinaverage.com/ticker/global/' -- Do request on bitcoinaverage, the final / is critical! local res,code = https.request(base_url..currency.."/") if code ~= 200 then return nil end local data = j...
gpl-2.0
MinetestForFun/server-minetestforfun
mods/homedecor_modpack/homedecor/init.lua
10
4031
-- Home Decor mod by VanessaE -- -- Mostly my own code, with bits and pieces lifted from Minetest's default -- lua files and from ironzorg's flowers mod. Many thanks to GloopMaster -- for helping me figure out the inventories used in the nightstands/dressers. -- -- The code for ovens, nightstands, refrigerators are ba...
unlicense
keidax/awesome
lib/awful/wibox.lua
5
10265
--------------------------------------------------------------------------- --- Wibox module for awful. -- This module allows you to easily create wibox and attach them to the edge of -- a screen. -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2009 Julien Danjou -- @release @AWESOME_VERSION@ -- @m...
gpl-2.0
woshihuo12/UnityHello
UnityHello/LuaEncoder/luajit/jit/dis_x86.lua
89
29330
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h --------------------------------------------------------------------------...
mit
Cloudef/darkstar
scripts/globals/mobskills/mow.lua
2
1074
--------------------------------------------- -- Mow -- -- Description: Deals damage in an area of effect. Additional effect: Poison -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown radial -- Notes: Poison can take around 10HP/tick --------------------------------------------- require("sc...
gpl-3.0
fgprodigal/RayUI
Interface/AddOns/RayUI/libs/oUF_Plugins/AuraWatch.lua
1
10427
--[[------------------------------------------------------------------------------------------------------ oUF_AuraWatch by Astromech Please leave comments, suggestions, and bug reports on this addon's WoWInterface page To setup, create a table named AuraWatch in your unit frame. There are several options you can spec...
mit
musicEnfanthen/Knora
sipi/scripts/store.lua
1
3802
-- 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
ryanjmulder/premake-4.x
src/base/api.lua
6
16392
-- -- api.lua -- Implementation of the solution, project, and configuration APIs. -- Copyright (c) 2002-2011 Jason Perkins and the Premake project -- -- -- Here I define all of the getter/setter functions as metadata. The actual -- functions are built programmatically below. -- premake.fields = { basedir = { ...
bsd-3-clause
MinetestForFun/server-minetestforfun
mods/homedecor_modpack/homedecor/kitchen_appliances.lua
10
7100
-- This file supplies refrigerators local S = homedecor.gettext -- steel-textured fridge homedecor.register("refrigerator_steel", { mesh = "homedecor_refrigerator.obj", tiles = { "homedecor_refrigerator_steel.png" }, inventory_image = "homedecor_refrigerator_steel_inv.png", description = S("Refrigerator (stainles...
unlicense
Cloudef/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Fubruhn.lua
5
5433
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Fubruhn -- Mog Locker NPC -- -- Event IDs: -- 600 = Not a mercenary + mog locker options -- 1st arg = Amount of time left on lease, as seconds past 2001/12/31 15:00:00. -- If this is 0, it shows the not a mecenary message instead. -- ...
gpl-3.0
mosavy/1bbb1
files/fakeredis.lua
650
40405
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-3.0
aliazaliaz/fire1
libs/fakeredis.lua
650
40405
local unpack = table.unpack or unpack --- Bit operations local ok,bit if _VERSION == "Lua 5.3" then bit = (load [[ return { band = function(x, y) return x & y end, bor = function(x, y) return x | y end, bxor = function(x, y) return x ~ y end, bnot = function(x) return ~x end, rshift = function(x...
gpl-3.0
Cloudef/darkstar
scripts/zones/Castle_Oztroja/npcs/relic.lua
5
1544
----------------------------------- -- Area: Castle Oztroja -- NPC: <this space intentionally left blank> -- !pos -104 -73 85 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextIDs"); ------...
gpl-3.0
rastin45/botrider12
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
ahosein243243/uzzbot
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
Cloudef/darkstar
scripts/zones/Port_Jeuno/Zone.lua
5
3115
----------------------------------- -- -- Zone: Port_Jeuno (246) -- ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals/settings"); ----------------------------------- fun...
gpl-3.0
tst2005googlecode/fbclient
unit-tests/test_blob.lua
2
3640
#!/usr/bin/lua --[[ Test unit for blob.lua TODO: - test seek() if it will ever be fixed in Firebird ]] local config = require 'test_config' local function asserteq(a,b,s) assert(a==b,s or string.format('%s ~= %s', tostring(a), tostring(b))) end function test_everything(env) local asserts = (require 'fbclien...
mit
NiLSPACE/Chatter
hooks.lua
1
1968
-- This file contains the hook handler. function OnChat(a_Player, a_Message) local PlayerName = a_Player:GetName() local PlayerUUID = a_Player:GetUUID() local World = a_Player:GetWorld() local GroupArray = cRankManager:GetPlayerGroups(PlayerUUID) local Rank = cRankManager:GetPlayerRankName(P...
apache-2.0
Owlies/server
3rd/lpeg/re.lua
160
6286
-- $Id: re.lua,v 1.44 2013/03/26 20:11:40 roberto Exp $ -- imported functions and modules local tonumber, type, print, error = tonumber, type, print, error local setmetatable = setmetatable local m = require"lpeg" -- 'm' will be used to parse expressions, and 'mm' will be used to -- create expressions; that is, 're' ...
mit
Cloudef/darkstar
scripts/globals/items/plate_of_octopus_sushi_+1.lua
2
1245
----------------------------------------- -- ID: 5694 -- Item: plate_of_octopus_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 2 -- Accuracy % 15 (cap 72) -- Ranged Accuracy % 15 (cap 72) -- Resist Sleep +2 ----------------------------------------- require("scripts/globa...
gpl-3.0
jomanmuk/vlc-2.2
share/lua/modules/dkjson.lua
95
25741
--[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.1* This module writes no global values, not even the module table. Import it using json = require ("dkjson") Exported functions and values: `json.encode (object [, state])` -------------------------------- ...
lgpl-2.1
jimon/danmaku
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...
mit
Cloudef/darkstar
scripts/globals/weaponskills/viper_bite.lua
2
1735
----------------------------------- -- Viper Bite -- Dagger weapon skill -- Skill level: 100 -- Deals double damage and Poisons target. Duration of poison varies with TP. -- Doubles attack and not damage. -- Despite the animation showing two swings, this is a single-hit weapon skill. -- Will stack with Sneak Attack. --...
gpl-3.0
Cloudef/darkstar
scripts/zones/Northern_San_dOria/npcs/Ulycille.lua
2
1610
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ulycille -- Type: Woodworking Adv. Synthesis Image Support -- !pos -183.320 9.999 269.651 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
zeustm/zeus
plugins/ingroup.lua
527
44020
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
Cloudef/darkstar
scripts/zones/QuBia_Arena/npcs/Burning_Circle.lua
5
2586
----------------------------------- -- Area: Qu'Bia Arena -- NPC: Burning Circle -- !pos -221 -24 19 206 ------------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missions"); require(...
gpl-3.0
rigeirani/telegram-bot-supergroups
libs/redis.lua
566
1214
local Redis = require 'redis' local FakeRedis = require 'fakeredis' local params = { host = os.getenv('REDIS_HOST') or '127.0.0.1', port = tonumber(os.getenv('REDIS_PORT') or 6379) } local database = os.getenv('REDIS_DB') local password = os.getenv('REDIS_PASSWORD') -- Overwrite HGETALL Redis.commands.hgetall = ...
gpl-2.0
Cloudef/darkstar
scripts/zones/The_Eldieme_Necropolis/Zone.lua
7
1263
----------------------------------- -- -- Zone: The_Eldieme_Necropolis (195) -- ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); require("scripts/zones/The_Eldieme_Necrop...
gpl-3.0
woshihuo12/UnityHello
UnityHello/Assets/ToLua/Lua/jit/dis_x86.lua
11
33826
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h --------------------------------------------------------------------------...
mit
Cloudef/darkstar
scripts/zones/Pashhow_Marshlands/npcs/Mokto-Lankto_WW.lua
2
3005
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Mokto-Lankto, W.W. -- Type: Outpost Conquest Guards -- !pos 470.843 23.465 415.520 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
DARKRPISSHITFIXTHISUPDATE/DarkRP
entities/entities/meteor/cl_init.lua
13
1069
ENT.Spawnable = false ENT.AdminSpawnable = false include("shared.lua") language.Add("meteor", "meteor") function ENT:Initialize() local mx, mn = self:GetRenderBounds() self:SetRenderBounds(mn + Vector(0,0,128), mx, 0) self.emitter = ParticleEmitter(LocalPlayer():GetShootPos()) end function ENT:Think() ...
mit
Cloudef/darkstar
scripts/zones/Port_San_dOria/npcs/Diraulate.lua
5
1072
----------------------------------- -- Area: Port San d'Oria -- NPC: Diraulate -- 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
Cloudef/darkstar
scripts/zones/Davoi/npcs/Jar.lua
5
1196
----------------------------------- -- Area: Davoi -- NPC: Jar -- Involved in Quest: Test my Mettle -- Notes: Used to obtain Power Sandals -- !pos 183, 0, -190 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setti...
gpl-3.0
Cloudef/darkstar
scripts/globals/weaponskills/shark_bite.lua
26
1515
----------------------------------- -- Shark Bite -- Dagger weapon skill -- Skill level: 225 -- Delivers a twofold attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Will stack with Trick Attack. -- Aligned with the Breeze Gorget & Thunder Gorget. -- Aligned with the Breeze Belt & Thunder Belt. -- Eleme...
gpl-3.0
n0la/fimbul
fimbul/util.lua
1
7761
--- @module fimbul.util local util = {} local base = _G local lyaml = require("lyaml") local table = require("table") local string = require("string") local io = require("io") local std = require("std") local lfs = require("lfs") local pretty = require("pl.pretty") function util.dump(o) pretty.dump(o) end fun...
bsd-2-clause
mslinklater/FC
src/Shared/Lua/Scripts/fc_set.lua
1
1647
-- Set container FCSet = {} function FCSet.new( t ) local set = {} setmetatable( set, FCSet.mt ) for _, l in ipairs( t ) do set[ l ] = true end return set end function FCSet.union( a, b ) if DEBUG then assert( getmetatable( a ) == FCSet.mt ) assert( getmetatable( b ) == FCSet.mt ) end local res = FCSe...
mit
Cloudef/darkstar
scripts/zones/Tahrongi_Canyon/npcs/qm2.lua
7
2137
----------------------------------- -- Area: Tahrongi Canyon -- NPC: qm2 (???) -- Note: Used to spawn Yara Ma Yha Who -- !pos 271 0.001 -334 117 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Tahrongi_Ca...
gpl-3.0
GymbylCoding/Dusk-Engine
Demos/spin/main.lua
1
8939
-------------------------------------------------------------------------------- --[[ Dusk Engine Demo: Spin --]] -------------------------------------------------------------------------------- display.setStatusBar(display.HiddenStatusBar) local textureFilter = "nearest" display.setDefault("minTextureFilter", textur...
mit
Cloudef/darkstar
scripts/globals/abilities/runeists_roll.lua
2
2829
----------------------------------- -- Ability: Runeist's Roll -- Enhances magic evasion for party members within area of effect. -- Optimal Job: Rune Fencer -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 70 -- Phantom Roll +1 Value: 2 -- -- Die Roll | MEVA+ -- -------- ------- -- 1 |+4 --...
gpl-3.0
herksaw/protoquest
libs/atl/external/crc32lua.lua
13
3282
--[[ dmlib.crc32 CRC-32 checksum implemented entirely in Lua. This is similar to [1-2]. References [1] http://www.axlradius.com/freestuff/CRC32.java [2] http://www.gamedev.net/reference/articles/article1941.asp [3] http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/CRC32.html [4] http://www.dsource.org/pro...
mit
fgprodigal/RayUI
Interface/AddOns/IntelliMount/Modules/MagicBroom.lua
1
1189
------------------------------------------------------------ -- MagicBroom.lua -- -- Abin -- 2014/11/03 ------------------------------------------------------------ local GetItemCount = GetItemCount local _, addon = ... addon:RegisterName("Magic Broom", 47977) addon:RegisterDebugAttr("magicBroom") addon:RegisterEve...
mit
DARKRPISSHITFIXTHISUPDATE/DarkRP
gamemode/modules/police/sh_interface.lua
12
4590
DarkRP.PLAYER.isWanted = DarkRP.stub{ name = "isWanted", description = "Whether this player is wanted", parameters = { }, returns = { { name = "answer", description = "Whether this player is wanted", type = "boolean" } }, metatable = DarkRP...
mit
Cloudef/darkstar
scripts/globals/mobskills/feather_maelstrom.lua
2
1027
--------------------------------------------- -- Feather Maelstrom -- Sends a storm of feathers to a single target. -- Additional effect: Bio & Amnesia --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -------...
gpl-3.0
Cloudef/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/relic.lua
5
1557
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: <this space intentionally left blank> -- !pos -356 14 -102 176 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sea_Serpent_Grotto/Text...
gpl-3.0
Cloudef/darkstar
scripts/zones/Kazham/npcs/Magriffon.lua
5
3966
----------------------------------- -- Area: Kazham -- NPC: Magriffon -- Involved in Quest: Gullible's Travels, Even More Gullible's Travels, -- Location: (I-7) ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setting...
gpl-3.0
Cloudef/darkstar
scripts/zones/Port_Bastok/npcs/Rosswald.lua
5
1360
----------------------------------- -- Area: Port Bastok -- NPC: Rosswald -- Only sells when Bastok controlls Zulkheim Region -- Confirmed shop stock, August 2013 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Po...
gpl-3.0
Cloudef/darkstar
scripts/globals/mobskills/tourbillion.lua
2
1409
--------------------------------------------- -- Tourbillion -- -- Description: Delivers an area attack. Additional effect duration varies with TP. Additional effect: Weakens defense. -- Type: Physical -- Shadow per hit -- Range: Unknown range --------------------------------------------- require("scripts/globals/...
gpl-3.0
we20/wez
plugins/lyrics.lua
695
2113
do local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs' local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5' local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect' local function getInfo(query) print('Getting info of ' .. query) local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY ...
gpl-2.0
Cloudef/darkstar
scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua
5
1422
----------------------------------- -- Area: Port Windurst -- NPC: Hohbiba-Mubiba -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("...
gpl-3.0
Cloudef/darkstar
scripts/globals/items/acorn_cookie.lua
2
1098
----------------------------------------- -- ID: 4510 -- Item: Acorn Cookie -- Food Effect: 3Min, All Races ----------------------------------------- -- Aquan killer +10 -- Silence resistance +10 -- MP recovered while healing +3 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
Cloudef/darkstar
scripts/globals/weaponskills/expiacion.lua
5
1564
----------------------------------- -- Expiacion -- Sword weapon skill -- Skill Level: N/A -- Delivers a Twofold attack. Damage varies with TP. Tizona: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Blue Mage) quest. -- Aligned with the Aqua Gorget, Snow Gorget & Soil Gorget. ...
gpl-3.0
Cloudef/darkstar
scripts/globals/items/tupsimati.lua
2
4234
----------------------------------------- -- ID: 18990 -- Item: Tupsimati ----------------------------------------- require("scripts/globals/msg"); require("scripts/globals/status"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAPO...
gpl-3.0
fiallo1313veeee/Anti_bot
plugins/plugins.lua
1
6388
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
Cloudef/darkstar
scripts/zones/Nashmau/npcs/Dnegan.lua
5
1843
----------------------------------- -- Area: Nashmau -- NPC: Dnegan -- Standard Info NPC -- Involved in quest: Wayward Automation -- !pos 29.89 -6 55.83 53 ----------------------------------- require("scripts/globals/quests"); function onTrade(player,npc,trade) end; function onTrigger(player,npc) local TheWayw...
gpl-3.0
padrinoo1/telefick
plugins/spammer.lua
13
75165
local function run(msg) if msg.text == "spam" return "".. [[ ...
gpl-2.0
bestofkeeperbot/keeper
plugins/anti_spam.lua
102
3744
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
Cloudef/darkstar
scripts/zones/Upper_Jeuno/npcs/Turlough.lua
5
1148
----------------------------------- -- Area: Upper Jeuno -- NPC: Turlough -- Mission NPC -- !pos ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); require("s...
gpl-3.0
Cloudef/darkstar
scripts/globals/abilities/pets/judgment_bolt.lua
4
1126
--------------------------------------------------- -- Judgment Bolt --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); require("/scripts/globals/magic"); ---------------------------------------------...
gpl-3.0
Cloudef/darkstar
scripts/globals/spells/bluemagic/claw_cyclone.lua
35
1772
----------------------------------------- -- Spell: Claw Cyclone -- Damages enemies within area of effect with a twofold attack. Damage varies with TP -- Spell cost: 24 MP -- Monster Type: Beasts -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 20 -- Casting Time: 1 seconds -- R...
gpl-3.0
Howaner/MCServer
lib/tolua++/src/bin/lua/doit.lua
15
1846
-- Generate binding code -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- Last update: Apr 2003 -- $Id: $ -- 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 provide maintenance, suppor...
apache-2.0
Cloudef/darkstar
scripts/zones/Cloister_of_Tides/mobs/Leviathan_Prime.lua
5
1531
----------------------------------- -- Area: Cloister of Tides -- MOB: Leviathan Prime -- Involved in Quest: Trial by Water, Trial Size Trial by Water -- Involved in Mission: ASA-4 Sugar Coated Directive ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requi...
gpl-3.0
DARKRPISSHITFIXTHISUPDATE/DarkRP
entities/weapons/weapon_mac102/shared.lua
12
1084
AddCSLuaFile() if CLIENT then SWEP.PrintName = "Mac10" SWEP.Author = "DarkRP Developers" SWEP.Slot = 2 SWEP.SlotPos = 0 SWEP.IconLetter = "l" killicon.AddFont("weapon_mac102", "CSKillIcons", SWEP.IconLetter, Color(255, 80, 0, 255)) end SWEP.Base = "weapon_cs_base2" SWEP.Spawnable = true SWEP...
mit
Cloudef/darkstar
scripts/globals/items/rolanberry_daifuku.lua
2
1945
----------------------------------------- -- ID: 6339 -- Item: rolanberry_daifuku -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +20 -- VIT +3 -- Accuracy +10% (cap 50) -- Ranged Accuracy +10% (cap 50) -- Magic Accuracy +3 -- Pet: -- HP +20 -- VIT +3 -- Accuracy +10% (cap 75) -- Range...
gpl-3.0
Zirpon/skynet
examples/share.lua
66
1702
local skynet = require "skynet" local sharedata = require "sharedata" local mode = ... if mode == "host" then skynet.start(function() skynet.error("new foobar") sharedata.new("foobar", { a=1, b= { "hello", "world" } }) skynet.fork(function() skynet.sleep(200) -- sleep 2s skynet.error("update foobar a = 2") ...
mit
jomanmuk/vlc-2.2
share/lua/extensions/VLSub.lua
6
59562
--[[ VLSub Extension for VLC media player 1.1 and 2.0 Copyright 2013 Guillaume Le Maout Authors: Guillaume Le Maout Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche Bug report: http://addons.videolan.org/content/show.php/?content=148752 This program is free software; you can redist...
lgpl-2.1
fgprodigal/RayUI
Interface/AddOns/IntelliMount/Locales/enUS.lua
1
1329
------------------------------------------------------------ -- enUS.lua -- -- Abin -- 2014/10/21 ------------------------------------------------------------ local _, addon = ... addon.L = { ["desc"] = "Configs mounts priority, also chooses utility mounts for quick summoning. Bind hotkeys in the \"Key Bindings\" UI...
mit
Cloudef/darkstar
scripts/globals/abilities/wild_flourish.lua
2
2175
----------------------------------- -- Ability: Wild Flourish -- Readies target for a skillchain. Requires at least two Finishing Moves. -- Obtained: Dancer Level 60 -- Finishing Moves Used: 2 -- Recast Time: 0:30 -- Duration: 0:05 ----------------------------------- require("scripts/globals/weaponskills"); require("sc...
gpl-3.0