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 |
|---|---|---|---|---|---|
UnfortunateFruit/darkstar | scripts/zones/San_dOria-Jeuno_Airship/TextIDs.lua | 5 | 1088 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6382; -- Obtained: <item>
GIL_OBTAINED = 6383; -- Obtained <number> gil
KEYITEM_OBTAINED = 6385; -- Obtain... | gpl-3.0 |
nesstea/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fa.lua | 13 | 1076 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 260 -34 -49 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
------... | gpl-3.0 |
bowlofstew/Macaroni | Next/Tests/Features/UnitTargets/project.lua | 2 | 4671 | description = [[
The goal of this test is to establish granularity within a library by compiling
a simple C++ app to the same degree of specificity as could be achieved by
Boost-Build.
The "manifest" build system was very broad; libraries were defines as blobs of
C++ files which all got combined. The problem was Macar... | apache-2.0 |
focusworld/aabb | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Manaclipper/Zone.lua | 28 | 1617 | -----------------------------------
--
-- Zone: Manaclipper
--
-----------------------------------
package.loaded["scripts/zones/Manaclipper/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Manaclipper/TextIDs");
------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/RuLude_Gardens/npcs/Laityn.lua | 13 | 1182 | -----------------------------------
-- Area: Ru'Lud Gardens
-- NPC: Laityn
-- Involved In Quest: Recollections
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
abhinavmoudgil95/funnybot | src/LSTM.lua | 13 | 8765 | require 'torch'
require 'nn'
local layer, parent = torch.class('nn.LSTM', 'nn.Module')
--[[
If we add up the sizes of all the tensors for output, gradInput, weights,
gradWeights, and temporary buffers, we get that a SequenceLSTM stores this many
scalar values:
NTD + 6NTH + 8NH + 8H^2 + 8DH + 9H
For N = 100, D = 51... | mit |
ShaTelTeam/MegaZs | 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 |
FailcoderAddons/supervillain-ui | SVUI_!Core/libs/AceGUI-3.0/widgets/AceGUIContainer-TreeGroup.lua | 10 | 19926 | --[[-----------------------------------------------------------------------------
TreeGroup Container
Container that uses a tree control to switch between groups.
-------------------------------------------------------------------------------]]
local Type, Version = "TreeGroup", 40
local AceGUI = LibStub and LibStub("A... | mit |
dpino/snabbswitch | lib/pflua/src/pf/regalloc.lua | 7 | 16379 | -- Implements register allocation for pflua's native backend
--
-- Follows the algorithm described in:
-- "Linear scan register allocation"
-- Poletto and Sarkar
-- https://dl.acm.org/citation.cfm?id=330250
--
-- The result of register allocation is a table that describes
-- the register allocated for the give... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Dhea_Prandoleh.lua | 16 | 1048 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Dhea Prandoleh
-- Type: Standard NPC
-- @zone: 94
-- @pos 3.167 -2 15.545
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/HomePoint#1.lua | 27 | 1280 | -----------------------------------
-- Area: Windurst_Waters_[S]
-- NPC: HomePoint#1
-- @pos -32 -5 131 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters_[S]/TextIDs");
require("scripts... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Chateau_dOraguille/npcs/Mistaravant.lua | 13 | 1064 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Mistaravant
-- Type: Standard NPC
-- @zone: 233
-- @pos 7.097 -3.999 67.988
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
... | gpl-3.0 |
dpino/snabbswitch | src/program/packetblaster/synth/synth.lua | 14 | 1360 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local config = require("core.config")
local main = require("core.main")
local Synth = require("apps.test.synth").Synth
local lib = require("core.lib")
local packetblaster = require("program.pa... | apache-2.0 |
MuhammadWang/MCServer | lib/tolua++/src/bin/lua/declaration.lua | 2 | 15143 | -- tolua: declaration class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $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, support, updates,
-- enhancem... | apache-2.0 |
nesstea/darkstar | scripts/zones/Jugner_Forest/npcs/Geruru_WW.lua | 13 | 3323 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Geruru, W.W.
-- Type: Border Conquest Guards
-- @pos 570.732 -2.637 553.508 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
r... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Woods/npcs/Zahsa_Syalmhaia.lua | 13 | 1067 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Zahsa Syalmhaia
-- Type: Great War Veteran NPC
-- @zone: 241
-- @pos 13.710 1.422 -83.198
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = ni... | gpl-3.0 |
Cyumus/NutScript | plugins/recognition.lua | 4 | 4031 | PLUGIN.name = "Recognition"
PLUGIN.author = "Chessnut"
PLUGIN.desc = "Adds the ability to recognize people."
do
local character = nut.meta.character
if (SERVER) then
function character:recognize(id)
if (type(id) != "number" and id.getID) then
id = id:getID()
end
local recognized = self:getData("rgn"... | mit |
nesstea/darkstar | scripts/globals/spells/esuna.lua | 33 | 4143 | -----------------------------------------
-- Spell: Esuna
--
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
nesstea/darkstar | scripts/globals/summon.lua | 6 | 11157 |
require("scripts/globals/common");
require("scripts/globals/status");
SUMMONING_MAGIC_SKILL = 38
MSG_NONE = 0; -- display nothing
MSG_NO_EFFECT = 189;
MSG_DAMAGE = 185; -- player uses, target takes 10 damage. DEFAULT
MSG_MISS = 188;
MSG_RESIST = 85;
function AvatarPhysicalMove(avatar,target,skill,numberofhits,accmo... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Thubu_Parohren.lua | 44 | 1821 | -----------------------------------
-- Area: Port Windurst
-- NPC: Thubu Parohren
-- Type: Fishing Guild Master
-- @pos -182.230 -3.835 61.373 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
req... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Zauko.lua | 18 | 5455 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Zauko
-- Involved in Quests: Save the Clock Tower, Community Service
-- @zone 245
-- @pos -3 0 11
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Mhaura/npcs/Kotan-Purutan.lua | 19 | 2411 | -----------------------------------
-- Area: Mhaura
-- NPC: Kotan-Purutan
-- Involved in Quest: Overnight Delivery
-- @pos 40.323 -8.999 44.242 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- o... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mhaura/npcs/Graine.lua | 13 | 1626 | -----------------------------------
-- Area: Mhaura
-- NPC: Graine
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/shop");
-----------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Chaupire.lua | 17 | 1259 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Chaupire
-- Guild Merchant NPC: Woodworking Guild
-- @pos -174.476 3.999 281.854 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Shashan-Mishan.lua | 59 | 1043 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Shashan-Mishan
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Lower_Jeuno/TextIDs");... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Marid.lua | 25 | 1326 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Marid
-- Note: Place holder Mahishasura
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,ki... | gpl-3.0 |
hnakamur/luvit-hsm | tests/flat1.lua | 1 | 1397 | local exports = {}
local string = require('string')
local hsm = require('../hsm')
local StateMachine = hsm.StateMachine
exports['flat1'] = function (test)
local Keyboard = StateMachine:extend()
function Keyboard:initialize()
self:defineStates{
Default = {},
CapsLocked = {}
}
self.state = ... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/acorn_cookie.lua | 35 | 1338 | -----------------------------------------
-- ID: 4510
-- Item: Acorn Cookie
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Magic Regen While Healing 3
-- Aquan Killer 5
-- Sleep Resist 5
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
reonZ/project-arena | game/dota_addons/project_arenas/scripts/vscripts/abilities/royal_guard/royal_guard_retaliation.lua | 1 | 6464 | local c_mana_switch = 'mana_switch'
local c_mana_per_sec = 'mana_per_sec'
local c_incoming_damage = 'incoming_damage'
local c_outgoing_damage = 'outgoing_damage'
local c_aggro_bonus = 'aggro_bonus'
local c_passive_tick = 0.1
local c_is_tanking_sound = 'DOTA_Item.MedallionOfCou... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Stellar_Fulcrum/npcs/_4z0.lua | 12 | 1593 | -----------------------------------
-- Area: Stellar Fulcrum
-- Door: Qe'Lov Gate
-- @pos -520 -4 17 179
-------------------------------------
package.loaded["scripts/zones/Stellar_Fulcrum/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/glo... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Castle_Oztroja/npcs/_47l.lua | 13 | 1612 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47l (Torch Stand)
-- Notes: Opens door _471 near password #3
-- @pos -45.228 -17.832 22.392 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/plate_of_witch_risotto.lua | 18 | 1528 | -----------------------------------------
-- ID: 4330
-- Item: witch_risotto
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 35
-- Strength -1
-- Vitality 3
-- Mind 3
-- MP Recovered While Healing 2
-- Enmity -1
-----------------------------------------
require("scripts/glob... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Walk_of_Echoes/Zone.lua | 17 | 1065 | -----------------------------------
--
-- Zone: Walk_of_Echoes
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Walk_of_Echoes/TextIDs"] = nil;
require("scripts/zones/Walk_of_Echoes/TextIDs");
-----------------------------------
-- onInitialize
-------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Gulmama.lua | 12 | 5604 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Gulmama
-- Starts and Finishes Quest: Trial by Ice
-- Involved in Quest: Class Reunion
-- @pos -186 0 107 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Mines/npcs/Rodellieux.lua | 36 | 1462 | -----------------------------------
-- Area: Bastok_Mines
-- NPC: Rodellieux
-- Only sells when Bastok controlls Fauregandi Region
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scri... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/uberkuchen.lua | 35 | 1465 | -----------------------------------------
-- ID: 5615
-- Item: uberkuchen
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 10
-- MP % 3 (cap 13)
-- Intelligence 3
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
inmation/library | inmation/data-structures.lua | 1 | 1215 | -- inmation.data-structures
-- inmation Script Library Lua Script
--
-- (c) 2017 inmation
--
-- Version history:
--
-- 20170706.1 Initial release.
--
--------------------------------------------------------------------------------
local Queue = {}
Queue.__index = Queue
function Queue.new(existing)
local queue ... | mit |
UnfortunateFruit/darkstar | scripts/globals/abilities/pets/thunder_iv.lua | 20 | 1161 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
----------------------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Dynamis_Lord.lua | 2 | 2048 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NM: Dynamis_Lord
--
-- In OLD Dynamis, he is spawned by killing 15 Kindred NMs..
-- ..NOT by killing Ying and Yang.
--
-- In Neo Dynamis, he is spawned by trading
-- a Shrouded Bijou to the ??? in front of Castle Zvahl.
--------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/seito.lua | 42 | 1047 | -----------------------------------------
-- ID: 17797
-- Item: Seito
-- Additional Effect: Silence
-- TODO: Enchantment: Ensilence
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------... | gpl-3.0 |
dpino/snabbswitch | src/lib/protocol/header.lua | 9 | 11831 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- Protocol header base class
--
-- This is an abstract class (should not be instantiated)
--
-- Derived classes must implement the following class variables
--
-- _name a string that describes the header type in a
-- ... | apache-2.0 |
rhaen/octogreen | src/ds18b20.lua | 18 | 3492 | --------------------------------------------------------------------------------
-- DS18B20 one wire module for NODEMCU
-- NODEMCU TEAM
-- LICENCE: http://opensource.org/licenses/MIT
-- Vowstar <vowstar@nodemcu.com>
-- 2015/02/14 sza2 <sza2trash@gmail.com> Fix for negative values
---------------------------------------... | mit |
plajjan/snabbswitch | lib/luajit/src/host/genlibbc.lua | 51 | 4965 | ----------------------------------------------------------------------------
-- Lua script to dump the bytecode of the library functions written in Lua.
-- The resulting 'buildvm_libbc.h' is used for the build process of LuaJIT.
----------------------------------------------------------------------------
-- Copyright (... | apache-2.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Puroiko-Maiko_WW.lua | 12 | 5545 | -----------------------------------
-- Area: Windurst Water
-- NPC: Puroiko-Maiko, W.W.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Mi... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_UnitFrames/elements/essentials.lua | 2 | 28918 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/yellow_curry_bun_+1.lua | 35 | 2002 | -----------------------------------------
-- ID: 5763
-- Item: yellow_curry_bun_+1
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Health Points 30
-- Strength 5
-- Agility 2
-- Vitality 2
-- Intelligence -2
-- Attack 23% (caps @ 80)
-- Ranged Attack 23% (caps @ 80)
-- Resi... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Nouveil.lua | 13 | 2236 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Nouveil
-- Type: General
-- @zone: 231
-- @pos 123 0 106
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#3.lua | 12 | 1250 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#3
-- @pos -312 -42 -422 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/glo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/spicy_cracker.lua | 35 | 1335 | -----------------------------------------
-- ID: 4466
-- Item: spicy_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- HP Recovered While Healing 7
-- Beast Killer
-- Resist Sleep
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
plajjan/snabbswitch | src/lib/protocol/icmp/header.lua | 6 | 2149 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local ffi = require("ffi")
local C = ffi.C
local header = require("lib.protocol.header")
local lib = require("core.lib")
local ipsum = require("lib.checksum").ipsum
-- XXX IPv4 and IPv6 use the same ICMP header ... | apache-2.0 |
nesstea/darkstar | scripts/zones/Gusgen_Mines/Zone.lua | 13 | 1881 | -----------------------------------
--
-- Zone: Gusgen_Mines (196)
--
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Gusgen_Mines/TextIDs");
... | gpl-3.0 |
ld-test/lovetoys | src/Component.lua | 2 | 1080 | -- Collection of utilities for handling Components
Component = {}
Component.all = {}
-- Create a Component class with the specified name and fields
-- which will automatically get a constructor accepting the fields as arguments
function Component.create(name, fields, defaults)
local component = class(name)
if fiel... | mit |
mahdib9/9 | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
shayanchabok007/antispamteleseed | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/npcs/Shami.lua | 17 | 18277 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Shami
-- Orb Seller (BCNM)
-- @pos -14 8 44 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_UnitFrames/libs/Plugins/oUF_Reputation/oUF_Reputation.lua | 4 | 2908 | --GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select;
local assert = _G.assert;
local error = _G.error;
local print = _G.print;
local pairs = _G.pairs;
local next = _G.next;
local tostring = _G.tostring;
local type = _G.... | mit |
focusworld/aabb | 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 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Khaf_Jhifanm.lua | 13 | 1349 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Khaf Jhifanm
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("scr... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Chamama.lua | 12 | 6577 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chamama
-- Involved In Quest: Inspector's Gadget
-- Starts Quest: In a Pickle
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wind... | gpl-3.0 |
hussian/hell_iraq | plugins/ar-h3.lua | 2 | 2072 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ (ملف الاوامر 3) ▀▄ ▄▀
... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Dynamis-Windurst/Zone.lua | 21 | 2390 | -----------------------------------
--
-- Zone: Dynamis-Windurst
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Windurst/TextIDs");
--------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Staff.lua | 7 | 1502 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Staff
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/La_Vaule_[S]/Zone.lua | 22 | 1316 | -----------------------------------
--
-- Zone: La_Vaule_[S] (85)
--
-----------------------------------
package.loaded["scripts/zones/La_Vaule_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/La_Vaule_[S]/TextIDs");
----------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Palborough_Mines/npcs/qm1.lua | 8 | 1290 | -----------------------------------
-- Area: Palborough Mines
-- NPC: ???
-- Involved In Quest: The Talekeeper's Truth
-- @zone 143
-- @pos 15 -31 -94
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
mhmspm/z | plugins/fun.lua | 1 | 14432 |
--Special Thx To @To0fan
--------------------------------
local function run_bash(str)
local cmd = io.popen(str)
local result = cmd:read('*all')
return result
end
--------------------------------
local api_key = nil
local base_api = "https://maps.googleapis.com/maps/api"
--------------------------------
l... | gpl-3.0 |
ielnehc/ltmh | tools/waf/init.lua | 1 | 5783 | require 'config'
local match = string.match
local ngxmatch=ngx.re.match
local unescape=ngx.unescape_uri
local get_headers = ngx.req.get_headers
local optionIsOn = function (options) return options == "on" and true or false end
logpath = logdir
rulepath = RulePath
UrlDeny = optionIsOn(UrlDeny)
PostCheck = optionIsOn(po... | mit |
nesstea/darkstar | scripts/zones/Gusgen_Mines/npcs/_5g7.lua | 13 | 2971 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Strange Apparatus
-- @pos: 219 -39 255 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
require("scripts/zones/Gusgen_Mines/TextIDs");
require("scripts/globals/strangeapparatus");
--------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/holy_crest.lua | 13 | 2115 | -----------------------------------
-- Area: Ghelsba Outpost
-- Name: Holy Crest - DRG flag quest
-- @pos -162 -11 78 140
-----------------------------------
package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/ke... | gpl-3.0 |
nesstea/darkstar | scripts/zones/RuLude_Gardens/npcs/Rainhard.lua | 13 | 1052 | -----------------------------------
-- 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 |
nesstea/darkstar | scripts/globals/weaponskills/tachi_kagero.lua | 9 | 1534 | -----------------------------------
-- Tachi Kagero
-- Great Katana weapon skill
-- Skill Level: 100
-- Deals fire elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget.
-- Aligned with the Flame Belt.
-- Element: Fire
-- Modifiers: STR:75%
-- 100%TP 200%... | gpl-3.0 |
aekazakov/narrative | docker/proxy_mgr.lua | 4 | 46066 | --
-- REST based HTTP service that allows you to query/modify the contents of an
-- nginx shared memory DICT object.
--
-- bind this via an access_by_lua_file directive in nginx.conf
-- make sure that there is an nginx variable called uri_base in the current
-- context - it is used in parsing out the URI path
-- Used t... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/serving_of_zaru_soba.lua | 35 | 1312 | -----------------------------------------
-- ID: 5727
-- Item: serving_of_zaru_soba
-- Food Effect: 30Min?, All Races
-----------------------------------------
-- Agility 3
-- HP % 12 (cap 180)
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
Cyumus/NutScript | gamemode/config/sh_config.lua | 3 | 4689 | -- You can change the default language here:
nut.config.language = "english"
--[[
DO NOT CHANGE ANYTHING BELOW THIS.
This is the NutScript main configuration file.
This file DOES NOT set any configurations, instead it just prepares them.
To set the configuration, there is a "Config" tab in the F1 menu for super a... | mit |
UnfortunateFruit/darkstar | scripts/zones/Selbina/npcs/Isacio.lua | 17 | 2906 | -----------------------------------
-- Area: Selbina
-- NPC: Isacio
-- Finishes Quest: Elder Memories
-- @pos -54 -1 -44 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("script... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lebros_Cavern/Zone.lua | 32 | 1419 | -----------------------------------
--
-- Zone: Lebros_Cavern
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Lebros_Cavern/IDs");
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
------------... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/bin/dmesg.lua | 15 | 1193 | local event = require "event"
local component = require "component"
local keyboard = require "keyboard"
local args = {...}
local interactive = io.output() == io.stdout
local color, isPal, evt
if interactive then
color, isPal = component.gpu.getForeground()
end
io.write("Press 'Ctrl-C' to exit\n")
pcall(function()
... | mit |
dpino/snabbswitch | src/program/ptree/ptree.lua | 9 | 2870 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local engine = require("core.app")
local app_graph = require("core.config")
local lib = require("core.lib")
local cpuset = require("lib.cpuset")
local yang = require("lib.yang.yang")
local ptree... | apache-2.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_microphone/init.lua | 4 | 2799 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
ENT.WireDebugName = "Microphone"
local MODEL = Model("models/jaanus/wiretool/wiretool_range.mdl")
function ENT:Initialize()
self:SetModel( MODEL )
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/npcs/HomePoint#2.lua | 12 | 1238 | -----------------------------------
-- Area: Port Jeuno
-- NPC: HomePoint#2
-- @pos -155 -1 -4 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/homepoi... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Windurst/npcs/Puo_Rhen.lua | 38 | 1037 | -----------------------------------
-- Area: Port Windurst
-- NPC: Puo Rhen
-- Type: Mission Starter
-- @zone: 240
-- @pos -227.964 -9 187.087
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
------------... | gpl-3.0 |
dmccuskey/lua-bytearray | dmc_lua/lua_error.lua | 46 | 3628 | --====================================================================--
-- lua_error.lua
--
-- Documentation:
-- * http://github.com/dmccuskey/lua-error
--====================================================================--
--[[
The MIT License (MIT)
Copyright (C) 2014-2015 David McCuskey. All Rights Reserved.
P... | mit |
vonflynee/opencomputersserver | world/opencomputers/05fe03dc-84c6-416b-a304-6f79787f6411/lib/serialization.lua | 15 | 3764 | local serialization = {}
-- Important: pretty formatting will allow presenting non-serializable values
-- but may generate output that cannot be unserialized back.
function serialization.serialize(value, pretty)
local kw = {["and"]=true, ["break"]=true, ["do"]=true, ["else"]=true,
["elseif"]=true, ["... | mit |
Phyllostachys/junkcode | games/LuaPong/main.lua | 1 | 2981 | function love.load()
-- setup paddle size based on window
paddleWidth = love.graphics.getWidth() / 20
paddleHeight = love.graphics.getHeight() / 5
ballRadius = love.graphics.getWidth() / 100
paddle1Pos = {love.graphics.getWidth() / 15, love.graphics.getHeight() / 3}
paddle2Pos = { love.graphics... | mit |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/cocos2d/extern.lua | 39 | 2506 |
function clone(object)
local lookup_table = {}
local function _copy(object)
if type(object) ~= "table" then
return object
elseif lookup_table[object] then
return lookup_table[object]
end
local new_table = {}
lookup_table[object] = new_table
... | mit |
UnfortunateFruit/darkstar | scripts/zones/Upper_Jeuno/npcs/Zekobi-Morokobi.lua | 38 | 1038 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Zekobi-Morokobi
-- Type: Standard NPC
-- @zone: 244
-- @pos 41.258 -5.999 -74.105
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dangruf_Wadi/npcs/Grounds_Tome.lua | 34 | 1133 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(pl... | gpl-3.0 |
dpino/snabbswitch | src/program/lwaftr/setup.lua | 3 | 23899 | module(..., package.seeall)
local config = require("core.config")
local manager = require("lib.ptree.ptree")
local PcapFilter = require("apps.packet_filter.pcap_filter").PcapFilter
local V4V6 = require("apps.lwaftr.V4V6").V4V6
local VirtioNet = require("apps.virtio_net.virtio_net").VirtioNet
local lwaftr... | apache-2.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/blizzard/friends.lua | 1 | 10811 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
--]]
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select;
local ipairs = _G.ipairs;
local pairs ... | mit |
nesstea/darkstar | scripts/globals/spells/lightning_carol.lua | 27 | 1547 | -----------------------------------------
-- Spell: Lightning Carol
-- Increases lightning resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Bastok/npcs/Corann.lua | 29 | 2129 | -----------------------------------
-- Area: Port Bastok
-- NPC: Corann
-- Start & Finishes Quest: The Quadav's Curse
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Ifrits_Cauldron/npcs/Altar_of_Ashes.lua | 17 | 1977 | ----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Altar of Ashes
-- Involved in Quest: Greetings to the Guardian
-- @pos 16 .1 -58 205
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests")... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/power_slash.lua | 11 | 1698 | -----------------------------------
-- Power Slash
-- Great Sword weapon skill
-- Skill level: 30
-- Delivers a single-hit attack. params.crit varies with TP.
-- Modifiers: STR:60% ; VIT:60%
-- 100%TP 200%TP 300%TP
-- 1.0 1.0 1.0
-----------------------------------
require("scripts/globals/status... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/anchovy_pizza.lua | 35 | 1225 | -----------------------------------------
-- ID: 5699
-- Item: anchovy_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Dexterity 1
-- Attack 20%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
LuaDist2/servicekit-posix | servicekit.lua | 2 | 3180 | #!/usr/bin/env lua
---
-- Servicekit: a platform-agnostic daemonization API
--
-- These are the routines that the ServiceKit user calls directly.
--
-- @module servicekit
--
local _servicekit = {}
local _events = require "servicekit.events"
local posix = require 'posix'
---
-- Contains the version number of this S... | mit |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Count_Zaebos.lua | 2 | 1595 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Count Zaebos
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
----------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bowl_of_nashmau_stew.lua | 36 | 1975 | -----------------------------------------
-- ID: 5595
-- Item: Bowl of Nashmau Stew
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- MP -100
-- Vitality -10
-- Agility -10
-- Intelligence -10
-- Mind -10
-- Charisma -10
-- Accuracy +15% Cap 25
-- Attack +18% Cap 60
-- ... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/pets/geocrush.lua | 28 | 1448 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
---------------------------------------------------
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Ohbiru-Dohbiru.lua | 19 | 9351 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ohbiru-Dohbiru
-- Involved in quest: Food For Thought
-- Starts and finishes quest: Toraimarai Turmoil
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globals/quests");... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bibiki_Bay/npcs/Mep_Nhapopoluko.lua | 27 | 1182 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Mep Nhapopoluko
-- Type: Guild Merchant NPC (Fishing Guild)
-- @pos 464.350 -6 752.731 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.