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 |
|---|---|---|---|---|---|
Scavenge/darkstar | scripts/zones/Aydeewa_Subterrane/npcs/16.lua | 9 | 1612 | -----------------------------------
-- Area: Aydeewa Subterrane
-- NPC: Blank (TOAU-20 Cutscene, TOAU-27 Cutscene)
-- @pos -298 36 -38 68
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
requir... | gpl-3.0 |
lessthanoptimal/DeepBoof | data/torch_models/generate_tests.lua | 1 | 1286 | -----------------------------------------------------------------------------------------------
-- Goes through each directory and creates input and output data for each network
-- so that compatibility with the current version of DeepBoof can be tested.
--
-- Usage: th generate_tests.lua
--
-- Peter Abeles
-----------... | apache-2.0 |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/items/kawarimi.lua | 1 | 1242 | --[[
Author: PicoleDeLimao
Date: 07.23.2016
Implement Kawarimi
]]
function SpellStart(event)
local ability = event.ability
local caster = event.caster
local duration = ability:GetSpecialValueFor("invul_duration")
caster:EmitSound("Poof")
caster:Purge(true, true, false, false, false)
ability:ApplyDataDrivenMod... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Chamber_of_Oracles/mobs/Maat.lua | 14 | 1396 | -----------------------------------
-- Area: Chamber of Oracles
-- MOB: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Chamber_of_Oracles/TextIDs");
-------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Heavens_Tower/npcs/Rakano-Marukano.lua | 14 | 2333 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Rakano-Marukano
-- Type: Immigration NPC
-- @pos 6.174 -1 32.285 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
-----------... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-wol/luasrc/model/cbi/wol.lua | 37 | 2522 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
local sy... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/dbg_stuckkeys.lua | 18 | 1634 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Stuck Keys",
desc = "v0.01 Alerts user when a key is stuck.",
author = "CarRepairer",
... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/reishi_mushroom.lua | 12 | 1182 | -----------------------------------------
-- ID: 4449
-- Item: reishi_mushroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -6
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
OpenPrograms/mpmxyz-Programs | lib/devfs/numberfile.lua | 2 | 2029 | -----------------------------------------------------
--name : lib/devfs/numberfile.lua
--description: implements files that can be getters/setters for number values
--author : mpmxyz
--github page: https://github.com/mpmxyz/ocprograms
--forum page : none
-----------------------------------------------------
... | mit |
balkin/shortantool | shortantool.lua | 1 | 4927 | #!/usr/bin/env tarantool
box.cfg{ slab_alloc_arena = 0.1 }
space = box.space.links
if not space then
space = box.schema.create_space('links')
space:create_index('primary', { parts = {1, 'STR'} })
space:create_index('urls', { parts = {3, 'STR'} })
space:insert { 't', 0, 'https://www.tcsbank.ru/credit/form/mgmplatin... | gpl-2.0 |
BibakBangTeam/Tabchi | lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Al_Zahbi/npcs/Mihli_Aliapoh.lua | 14 | 1047 | -----------------------------------
-- 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 |
PredatorMF/Urho3D | bin/Data/LuaScripts/32_Physics2DConstraints.lua | 2 | 23026 | -- Physics2D constraints sample.
-- This sample is designed to help understanding and chosing the right constraint.
-- This sample demonstrates:
-- - Creating physics constraints
-- - Creating Edge and Polygon Shapes from vertices
-- - Displaying physics debug geometry and constraints' joints
-- - U... | mit |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Rakih_Lyhall.lua | 14 | 1063 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Rakih Lyhall
-- Type: Standard NPC
-- @zone 94
-- @pos -48.111 -4.5 69.712
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/bluemagic/foot_kick.lua | 35 | 1687 | -----------------------------------------
-- Spell: Foot Kick
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 5 MP
-- Monster Type: Beasts
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: AGI+1
-- Level: 1
-- Casting Time: 0.5 seconds
-- Recast Time: 6.5 seconds
-... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pettette.lua | 14 | 1062 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pettette
-- Type: Standard NPC
-- @zone 94
-- @pos 164.026 -0.001 -26.690
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
tempbottle/tundra | scripts/tundra/test/t_env.lua | 22 | 2324 |
module(..., package.seeall)
unit_test('scalar interpolation', function (t)
local e = require 'tundra.environment'
local e1, e2, e3
e1 = e.create(nil, { Foo="Foo", Baz="Strut" })
e2 = e1:clone({ Foo="Bar" })
e3 = e1:clone({ Baz="c++" })
t:check_equal(e1:get("Foo"), "Foo")
t:check_equal(e1:get("Baz"), "S... | gpl-3.0 |
endlessm/chromium-browser | third_party/flatbuffers/src/lua/flatbuffers/builder.lua | 3 | 10368 | local N = require("flatbuffers.numTypes")
local ba = require("flatbuffers.binaryarray")
local compat = require("flatbuffers.compat")
local m = {}
local mt = {}
-- get locals for faster access
local VOffsetT = N.VOffsetT
local UOffsetT = N.UOffsetT
local SOffsetT = N.SOffsetT
local Bool = N.Bool
local Uint8 ... | bsd-3-clause |
A-N-bot/anonymous | plugins/web-shot.lua | 110 | 1424 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua | 27 | 2330 | -----------------------------------
-- Area: Tahrongi_Canyon
-- NPC: Shattered Telepoint
-- @pos 179 35 255 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Tahrongi_Ca... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Southern_San_dOria/npcs/Paunelie.lua | 14 | 1169 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ilita
-- Linkshell merchant
-- @pos -142 -1 -25 236
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/South... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/npcs/Spare_Five.lua | 17 | 1506 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Spare Five
-- Working 100%
-- Involved in quest: A Greeting Cardian
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/globals/quests"] = nil;
require("scripts/globals/quests");
package.loaded["scripts/z... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/corsairs_roll.lua | 19 | 2648 | -----------------------------------
-- Ability: Corsair's Roll
-- Increases the amount of experience points earned by party members within area of effect
-- Optimal Job: Corsair
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 5
--
-- Die Roll |Exp Bonus%
-- -------- -----------
-- 1 |10%
-- 2 ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Walls/npcs/_6n2.lua | 3 | 5791 | -----------------------------------
-- Area: Windurst Walls
-- Door: House of the Hero
-- Involved in Mission 2-1
-- Involved In Quest: Know One's Onions, Onion Rings, The Puppet Master, Class Reunion
-- @pos -26 -13 260 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = ni... | gpl-3.0 |
ramindel0761/tele_ir | plugins/info.lua | 1 | 8339 | --Begin info.lua By @tele_ir
local Solid = 430222221
local function setrank(msg, user_id, value,chat_id)
local hash = nil
hash = 'rank:'..msg.to.id..':variables'
if hash then
redis:hset(hash, user_id, value)
return tdcli.sendMessage(chat_id, '', 0, '_set_ *Rank* _for_ *[ '..user_id..' ]* _To :_ *'..valu... | gpl-3.0 |
Joker-Developer/jokersuper | plugins/me.lua | 4 | 1132 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
do
local function run(msg, matches)
if matches[1] == 'شنو اني' then
if is_sudo(msg) then
send_document(get_receiver(msg), "./files/me/sudo.webp", ok_cb, false)
return"لو مو انت محد مسويني فديتگ �... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/La_Theine_Plateau/npcs/Cermet_Headstone.lua | 14 | 2833 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Water Fragment)
-- @pos -170 39 -504 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/intf/modules/host.lua | 48 | 12262 | --[==========================================================================[
host.lua: VLC Lua interface command line host module
--[==========================================================================[
Copyright (C) 2007-2012 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
... | gpl-2.0 |
Kyklas/luci-proto-hso | contrib/luadoc/lua/luadoc/init.lua | 172 | 1333 | -------------------------------------------------------------------------------
-- LuaDoc main function.
-- @release $Id: init.lua,v 1.4 2008/02/17 06:42:51 jasonsantos Exp $
-------------------------------------------------------------------------------
local require = require
local util = require "luadoc.util"
log... | apache-2.0 |
Dyaxler/SpartanUI | Modules/Artwork/Themes/Classic/Module-Minimap.lua | 1 | 3292 | local SUI = SUI
local module = SUI:GetModule('Style_Classic')
---------------------------------------------------------------------------
local PetBattleActive = false
local petbattleWatcher = CreateFrame('Frame')
function module:MiniMap()
Minimap:SetSize(156, 156)
Minimap:ClearAllPoints()
Minimap:SetPoi... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Kazham/npcs/Vah_Keshura.lua | 17 | 1073 | -----------------------------------
-- Area: Kazham
-- NPC: Vah Keshura
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
fun... | gpl-3.0 |
Nymphium/luakatsu | luakatsu/bin/tag.lua | 2 | 2880 | --[[ function detect_zodiac
detect zodiac sign with date
---
arg. date(string): a date format as "MM/DD"
---
return: string
--]]
local function detect_zodiac(date)
local m, d = date:match("(%d+)/(%d+)")
m = tonumber(m)
d = tonumber(d)
if m < 2 then return d < 20 and "Capricorn" or "Aquarius" end
if m < 3 then re... | mit |
kjc88/sl4a | lua/json4lua/json/rpc.lua | 21 | 4386 | -----------------------------------------------------------------------------
-- JSONRPC4Lua: JSON RPC client calls over http for the Lua language.
-- json.rpc Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.10
-- This module is released under the The GNU General Publi... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Kazham/npcs/Tahn_Posbei.lua | 17 | 1580 | -----------------------------------
-- Area: Kazham
-- NPC: Tahn Posbei
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/RuLude_Gardens/npcs/relic.lua | 14 | 1871 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: <this space intentionally left blank>
-- @pos 0 8 -40 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
--------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Metalworks/npcs/_6lg.lua | 14 | 1311 | -----------------------------------
-- Area: Metalworks
-- Door: _6lg (Cornelia's Room)
-- @pos 114 -20 -7 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Metalworks/TextIDs... | gpl-3.0 |
DebugClub/slua | build/luajit-2.1.0/src/jit/v.lua | 78 | 5755 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
Scavenge/darkstar | scripts/globals/weaponskills/tornado_kick.lua | 20 | 2045 | -------------------------------
-- Skill: Tornado Kick
-- Class: H2H Weapon Skill
-- Level: 225
-- Mods : STR:37.5% VIT:30%
-- 100%TP 200%TP 300%TP
-- 2.0x 2.75x 3.5x
-- Delivers a twofold attack. Damage varies with TP.
-----------------------------------
require("scripts/globals/status");
require("sc... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua | 14 | 2104 | -----------------------------------
-- Area: Ghelsba_Outpost
-- NPC: Hut Door
-- @pos -165.357 -11.672 77.771 140
-------------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/gl... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Palborough_Mines/npcs/Old_Toolbox.lua | 17 | 1411 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Old Toolbox
-- Continues Quest: The Eleventh's Hour
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Dynamis-Jeuno/mobs/Goblin_Replica.lua | 23 | 1837 | -----------------------------------
-- Area: Dynamis Jeuno
-- MOB: Goblin Replica
-- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg
-- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg
-- Vanguard Position: http://faranim.livejo... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/cupid_chocolate.lua | 12 | 1465 | -----------------------------------------
-- 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 |
DebugClub/slua | build/luajit-2.1.0/src/jit/p.lua | 65 | 9092 | ----------------------------------------------------------------------------
-- LuaJIT profiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-- This modul... | mit |
xincun/nginx-openresty-windows | LuaJIT-2.1-20150622/src/jit/p.lua | 65 | 9092 | ----------------------------------------------------------------------------
-- LuaJIT profiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-- This modul... | bsd-2-clause |
endlessm/chromium-browser | third_party/flatbuffers/src/tests/MyGame/Example/TypeAliases.lua | 12 | 4520 | -- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: Example
local flatbuffers = require('flatbuffers')
local TypeAliases = {} -- the module
local TypeAliases_mt = {} -- the class metatable
function TypeAliases.New()
local o = {}
setmetatable(o, {__index = TypeAliases_mt})
... | bsd-3-clause |
xandlom/zyxel-keenetic-packages | package/built/prosody/files/prosody.cfg.lua | 4 | 4563 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you kn... | gpl-2.0 |
kankaristo/premake-core | tests/actions/vstudio/vc200x/test_build_steps.lua | 16 | 1278 | --
-- tests/actions/vstudio/vc200x/test_build_steps.lua
-- Test generation of custom build step elements.
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
local suite = test.declare("vs200x_build_steps")
local vc200x = premake.vstudio.vc200x
--
-- Setup/teardown
--
local wks, prj
function suite.s... | bsd-3-clause |
Scavenge/darkstar | scripts/zones/Port_Bastok/npcs/Steel_Bones.lua | 17 | 1693 | -----------------------------------
-- Area: Port Bastok
-- NPC: Steel Bones
-- Standard Info NPC
-- Involved in Quest: Guest of Hauteur
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/boiled_tuna_head.lua | 12 | 1528 | -----------------------------------------
-- ID: 4540
-- Item: Boiled Tuna Head
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Dexterity 3
-- Intelligence 4
-- Mind -3
-- Magic Regen While Healing 2
-- Evasion 5
-----------------------------------------
require("scripts/glob... | gpl-3.0 |
BlockMen/minetest_next | mods/default/nodes/ores.lua | 2 | 3128 | -- Minerals
minetest.register_node("default:stone_with_coal", {
description = "Coal Ore",
tiles = {"default_stone.png^default_mineral_coal.png"},
groups = {cracky = 3},
drop = 'default:coal_lump',
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("default:stone_with_iron", {
description = ... | gpl-3.0 |
fengshao0907/ABTestingGateway | lib/abtesting/adapter/policy.lua | 22 | 4584 | ---
-- @classmod abtesting.adapter.policy
-- @release 0.0.1
local modulename = "abtestingAdapterPolicy"
local _M = { _VERSION = "0.0.1" }
local mt = { __index = _M }
local ERRORINFO = require('abtesting.error.errcode').info
local separator = ':'
local fields = {}
fields.divtype = 'divtype'
fields.divdata = 'divdata'... | mit |
smanolache/kong | spec/plugins/hmac-auth/hooks_spec.lua | 1 | 6263 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
local cache = require "kong.tools.database_cache"
local base64 = require "base64"
local crypto = require "crypto"
local STUB_GET_URL = spec_helper.STUB_GET_URL
local API_URL = spec_helper.A... | apache-2.0 |
Kyklas/luci-proto-hso | applications/luci-dump1090/luasrc/model/cbi/dump1090.lua | 5 | 5214 | --[[
LuCI - Lua Configuration Interface - dump1090 support
Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
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... | apache-2.0 |
Scavenge/darkstar | scripts/globals/weaponskills/upheaval.lua | 24 | 1571 | -----------------------------------
-- Upheaval
-- Great Axe weapon skill
-- Skill Level: 357
-- Delivers a four-hit attack. Damage varies with TP.
-- In order to obtain Upheaval, the quest Martial Mastery must be completed.
-- Aligned with Flame Gorget, Light Gorget & Shadow Gorget.
-- Aligned with Flame Belt, Light B... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/Docs/Themerdocs/Examples/Example_Screens/ScreenMapControllers.lua | 1 | 6314 | -- This is the example for how to theme ScreenMapControllers, the Config
-- Key/Joy Mappings screen.
-- The contents of this file will actually be in several sections, each
-- intended to be placed in its own file.
-- Sections will be seperated by lines of dashes to make the separation clear.
-- The first line inside ... | mit |
Scavenge/darkstar | scripts/globals/items/wild_melon.lua | 12 | 1184 | -----------------------------------------
-- ID: 4597
-- Item: wild_melon
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----... | gpl-3.0 |
Arashbrsh/lifemaic | plugins/boobs.lua | 731 | 1601 | 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 |
Scavenge/darkstar | scripts/zones/Gusgen_Mines/npcs/_5ga.lua | 14 | 1377 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5ga (Lever C)
-- @pos 44 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Lufaise_Meadows/mobs/Splinterspine_Grukjuk.lua | 23 | 1100 | -----------------------------------
-- Area: Lufaise Meadows (24)
-- MOB: Splinterspine_Grukjuk
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lufaise_Meadows/TextIDs");
require("scripts/globals/quests");
--... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Dynamis-Bastok/bcnms/dynamis_bastok.lua | 14 | 1291 | -----------------------------------
-- Area: Dynamis Bastok
-- Name: Dynamis Bastok
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaBastok]UniqueID",os.time());
SetServerVariable("[DynaBastok]Boss_T... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Orias.lua | 23 | 1532 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Marquis Orias
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Southern_San_dOria/npcs/Hinaree.lua | 14 | 1983 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Hinaree
-- Type: Standard NPC
-- @zone 230
-- @pos -301.535 -10.199 97.698
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
--... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/choco-ligar.lua | 12 | 1197 | -----------------------------------------
-- ID: 5919
-- Item: Choco-ligar
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Vitality 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Bhaflau_Remnants/mobs/Colibri.lua | 46 | 1626 | -----------------------------------
-- Area: Mamook
-- MOB: Colibri
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobFight Action
-----------------------------------
function onMobFight(mob, target)
local delay =... | gpl-3.0 |
wkitty42/snort3 | lua/snort.lua | 5 | 2407 | ---------------------------------------------------------------------------
-- Snort++ configuration
---------------------------------------------------------------------------
---------------------------------------------------------------------------
-- setup environment
---------------------------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Lufaise_Meadows/TextIDs.lua | 7 | 1194 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6385; -- Obtained: <item>.
GIL_OBTAINED = 6386; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6... | gpl-3.0 |
mamaddeveloper/jjhw | plugins/get.lua | 613 | 1067 | local function get_variables_hash(msg)
if msg.to.type == 'chat' then
return 'chat:'..msg.to.id..':variables'
end
if msg.to.type == 'user' then
return 'user:'..msg.from.id..':variables'
end
end
local function list_variables(msg)
local hash = get_variables_hash(msg)
if hash then
local names =... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4wa.lua | 14 | 1794 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Sahagin Key Door
-- @zone 176
-- @pos 40 8.6 20.012
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zo... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/chili_new/core.lua | 9 | 1595 | local includes = {
--"headers/autolocalizer.lua",
"headers/util.lua",
"headers/links.lua",
"headers/backwardcompability.lua",
"headers/unicode.lua",
"handlers/debughandler.lua",
"handlers/taskhandler.lua",
"handlers/skinhandler.lua",
"handlers/themehandler.lua",
"handlers/fonthandler.lua",
"handl... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/plate_of_urchin_sushi_+1.lua | 12 | 1643 | -----------------------------------------
-- ID: 5160
-- Item: plate_of_urchin_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 40
-- Strength 1
-- Vitality 6
-- Accuracy % 16 (cap 76)
-- Ranged ACC % 16 (cap 76)
-----------------------------------------
require("scripts/gl... | gpl-3.0 |
1yvT0s/luvit | tests/test-net-connect-handle-econnrefused.lua | 11 | 1147 | --[[
Copyright 2012-2015 The Luvit Authors. All Rights Reserved.
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
Unless required by applicable law o... | apache-2.0 |
Kyklas/luci-proto-hso | applications/luci-asterisk/luasrc/asterisk/cc_idd.lua | 92 | 7735 | --[[
LuCI - Asterisk - International Direct Dialing Prefixes and Country Codes
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
module "luci.asteri... | apache-2.0 |
dani-sj/danievil | plugins/welcome.lua | 19 | 3664 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | gamedata/buildoptions.lua | 2 | 1202 | local buildOpts = {
[[cormex]],
[[armsolar]],
[[armfus]],
[[cafus]],
[[armwin]],
[[geo]],
[[armmstor]],
[[armestor]],
[[armnanotc]],
[[armasp]],
[[factoryshield]],
[[factorycloak]],
[[factoryveh]],
[[factoryplane]],
[[factorygunship]],
[[factoryhover]],
[[factoryamph]],
[[factoryspid... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Beastmen_s_Banner.lua | 14 | 1037 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Beastmen_s_Banner
-- @pos -172.764 25.119 93.640 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pashhow_Marshlands/TextIDs");
--... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Cloister_of_Storms/Zone.lua | 30 | 1738 | -----------------------------------
--
-- Zone: Cloister_of_Storms (202)
--
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Cloister_of_Storms/TextIDs");
--------------... | gpl-3.0 |
Joker-Developer/jokersuper | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
mohammad2016mr/seed | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | agpl-3.0 |
1yvT0s/luvit | deps/repl.lua | 4 | 5482 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
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
Unless required by applicable law o... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Ifrits_Cauldron/npcs/Mining_Point.lua | 17 | 1086 | -----------------------------------
-- Area: Ifrits Cauldron
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Ifrits_Cauldron/TextIDs");
-----------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Windurst/npcs/Kohlo-Lakolo.lua | 16 | 11719 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kohlo-Lakolo
-- Invloved In Quests: Truth, Justice, and the Onion Way!,
-- Know One's Onions,
-- Inspector's Gadget,
-- Onion Rings,
-- Crying Over Onions,
-- ... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/Themes/_fallback/Scripts/04 SetBGFitHelpers.lua | 1 | 4732 | function BGFitChoiceExample(params)
-- verify all the parameters, emitting an error for omitted ones.
local default_params= {
exname= "16_12_example.png", x= 0, y= 0,
mini_screen_w= 0, mini_screen_h= 0,
example_function= bg_fit_functions.BackgroundFitMode_CoverDistort,
sbg_color= Color.Black, soutline_color=... | mit |
Tkachov/scummvm | devtools/create_ultima/files/ultima6/scripts/u6/usecode.lua | 18 | 2112 | local USE_EVENT_USE = 0x01
function use_telescope(obj, actor)
if obj.on_map == true then
mapwindow_center_at_location(obj.x, obj.y, obj.z)
else -- FIXME - should probably work in the inventory (can't be done without cheating though)
print("Not usable\n")
return
end
local dir = really_get_direction("Direction... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/weapon_area_damage.lua | 11 | 3637 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Antonian.lua | 17 | 2157 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Antonian
-- Regional Marchant NPC
-- Only sells when San d'Oria controlls Aragoneu.
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/No... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm13.lua | 14 | 1753 | -----------------------------------
-- Zone: Abyssea-Vunkerl
-- NPC: qm13 (???)
-- Spawns Bukhis
-- @pos ? ? ? 217
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
fu... | gpl-3.0 |
zhongk/lua_xlib | libs/ftp.lua | 1 | 7973 | local socket = require("socket")
--[[
local ftp = assert( FtpConnect{host, port=21, user, password, passive=true, timeout=30, verbose=false} )
return {
function close(), --command: QUIT
function pwd(), --command: PWD
function chdir(newdir), --comm... | bsd-3-clause |
zorbathut/ursa | ursalibcontext.lua | 1 | 1539 |
local lib = ursa.lib
local ul = {}
ursalibcontext = ul
-- it may seem like we should be chdir'ing when things are pushed or popped, but we actually live "natively" in the root directory. We only chdir when we need to.
local context_base = {prefix = "", absolute = lib.getcwd()}
local context_top = {current = context_... | bsd-3-clause |
angking0802wu/UniLua | Assets/StreamingAssets/LuaRoot/test/nextvar.lua | 6 | 9226 | print('testing tables, next, and for')
local a = {}
-- make sure table has lots of space in hash part
for i=1,100 do a[i.."+"] = true end
for i=1,100 do a[i.."+"] = nil end
-- fill hash part with numeric indices testing size operator
for i=1,100 do
a[i] = true
assert(#a == i)
end
-- testing ipairs
local x = 0
fo... | mit |
Scavenge/darkstar | scripts/globals/items/loaf_of_homemade_bread.lua | 12 | 1872 | -----------------------------------------
-- ID: 5228
-- Item: loaf_of_homemade_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- hMP +1
-- Accuracy +12% (cap 80)
-- Attack +10% (cap 40)
-- Ranged Accuracy +12% (cap 80)
-- Ranged Attack +10% (cap 40)
-----------------------------------... | gpl-3.0 |
ghoghnousteam/ghoghnous | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Batallia_Downs_[S]/npcs/Cavernous_Maw.lua | 29 | 2133 | -----------------------------------
-- Area: Batallia Downs [S]
-- NPC: Cavernous Maw
-- @pos -48 0 435 84
-- Teleports Players to Batallia Downs
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/teleports... | gpl-3.0 |
DEVSEIKO/seikodev | plugins/html.lua | 2 | 1282 | --[[
_____ _ _ _ _____ Dev @lIMyIl
|_ _|__| |__ / \ | | _| ____| Dev @li_XxX_il
| |/ __| '_ \ / _ \ | |/ / _| Dev @h_k_a
| |\__ \ | | |/ ___ \| <| |___ Dev @Aram_omar22
|_||___/_| |_/_/ \_\_|\_\_____| Dev @IXX_I_XXI
تعديل CH > @lTSHAKEl_CH
-... | gpl-2.0 |
Arashbrsh/lifemaic | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
ArchonTeam/Soft_TG | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
purebn/secure | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
oceancn/luci-nwan | luci/applications/luci-nwan/luasrc/model/cbi/nwan/nwan.lua | 3 | 6608 | --[[
LuCI - Lua Configuration Interface
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
local io = require "io"
local os = require "os"
... | mit |
ghoghnousteam/ghoghnous | plugins/time.lua | 771 | 2865 | -- 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 |
Scavenge/darkstar | scripts/zones/RuLude_Gardens/npcs/Rainhard.lua | 14 | 1050 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Rainhard
-- Type: Standard NPC
-- @zone 243
-- @pos -2.397 -5.999 68.749
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
--------------... | gpl-3.0 |
seblindfors/ConsolePort | ConsolePort_Bar/Core/Cluster.lua | 1 | 18700 | ---------------------------------------------------------------
local HANDLE, Cluster, Registry = {}, {}, {};
---------------------------------------------------------------
local name, env = ...
local db, acb = env.db, env.libs.acb;
---------------------------------------------------------------
env.libs.clusters = HA... | artistic-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.