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 |
|---|---|---|---|---|---|
pleonex/telegram-bot | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
TeleDALAD/harchi | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
everhopingandwaiting/telegram-bot | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
naclander/tome | game/engines/default/engine/DirectPath.lua | 3 | 1779 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Dynamis-Windurst/mobs/Tzee_Xicu_Idol.lua | 11 | 1290 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Tzee Xicu Idol
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn... | gpl-3.0 |
kellyjf/wireshark | test/lua/gregex.lua | 29 | 8743 |
-- Tests for GLib Regex functions
-- written by Hadriel Kaplan, based on Lrexlib's test suite
-- This is a test script for tshark/wireshark.
-- This script runs inside tshark/wireshark, so to run it do:
-- tshark -r empty.cap -X lua_script:<path_to_testdir>/lua/gregex.lua -X lua_script1:glib
--
-- if you have to give ... | gpl-2.0 |
SIfoxDevTeam/wireshark | test/lua/gregex.lua | 29 | 8743 |
-- Tests for GLib Regex functions
-- written by Hadriel Kaplan, based on Lrexlib's test suite
-- This is a test script for tshark/wireshark.
-- This script runs inside tshark/wireshark, so to run it do:
-- tshark -r empty.cap -X lua_script:<path_to_testdir>/lua/gregex.lua -X lua_script1:glib
--
-- if you have to give ... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Lower_Jeuno/npcs/Ruslan.lua | 37 | 2004 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Ruslan
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 245
-- @pos = -19 -1 -58
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/walnut_cookie.lua | 12 | 1410 | -----------------------------------------
-- ID: 5922
-- Item: Walnut Cookie
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- HP Healing 3
-- MP Healing 6
-- Bird Killer 10
-- Resist Paralyze 10
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Port_Windurst/Zone.lua | 9 | 1803 | -----------------------------------
--
-- Zone: Port_Windurst (240)
--
-----------------------------------
local ID = require("scripts/zones/Port_Windurst/IDs");
require("scripts/globals/conquest");
require("scripts/globals/settings");
require("scripts/globals/zone");
-----------------------------------
function onIni... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/serving_of_cherry_bavarois_+1.lua | 35 | 1388 | -----------------------------------------
-- ID: 5746
-- Item: serving_of_cherry_bavarois_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 30
-- Intelligence 4
-- MP 15
-- HP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status... | gpl-3.0 |
gwlim/luci | applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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
$Id$
]]--
require("luci.i18n")
re... | apache-2.0 |
greasydeal/darkstar | scripts/zones/Tavnazian_Safehold/npcs/qm2.lua | 19 | 1697 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: ???
-- Involved in Quest: Unforgiven
-- @zone 26
-- @pos 110.714 -40.856 -53.154
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs")
requ... | gpl-3.0 |
SIfoxDevTeam/wireshark | test/lua/pcap_file.lua | 30 | 27491 | -- pcap_file_reader.lua
--------------------------------------------------------------------------------
--[[
This is a Wireshark Lua-based pcap capture file reader.
Author: Hadriel Kaplan
This "capture file" reader reads pcap files - the old style ones. Don't expect this to
be as good as the real thin... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Port_San_dOria/npcs/Meta.lua | 17 | 1397 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Meta
-- 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 |
Codex-NG/otxserver | data/spells/scripts/party/enchant.lua | 11 | 1779 | local combat = createCombatObject()
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_ATTRIBUTES)
setConditionParam(condition, COND... | gpl-2.0 |
LegionXI/darkstar | scripts/globals/abilities/chaos_roll.lua | 15 | 4467 | -----------------------------------
-- Ability: Chaos Roll
-- Enhances attack for party members within area of effect
-- Optimal Job: Dark Knight
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 14
--
-- Die Roll |No DRK |With DRK
-- -------- -------- -----------
-- 1 |6% |16%
-- 2 |8... | gpl-3.0 |
evrooije/beerarchy | mods/00_bt_nodes/farming/soil.lua | 5 | 2010 |
local S = farming.intllib
-- normal soil
minetest.register_node("farming:soil", {
description = S("Soil"),
tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"},
drop = "default:dirt",
groups = {crumbly = 3, not_in_creative_inventory = 1, soil = 2},
sounds = default.node_sound_dirt_defaults(),
})
--... | lgpl-2.1 |
LegionXI/darkstar | scripts/globals/spells/blind.lua | 20 | 1377 | -----------------------------------------
-- Spell: Blind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)... | gpl-3.0 |
PerimeterX/perimeterx-nginx-plugin | vendor/lua-cjson/lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | mit |
creationix/nodemcu-firmware | app/cjson/lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | mit |
LegionXI/darkstar | scripts/globals/items/nopales_salad.lua | 12 | 1358 | -----------------------------------------
-- ID: 5701
-- Item: nopales_salad
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Strength 1
-- Agility 6
-- Ranged Accuracy +20
-- Ranged Attack +10
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
naclander/tome | game/modules/tome/data/general/objects/totems.lua | 3 | 2553 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Mine_Shaft_2716/bcnms/century_of_hardship.lua | 9 | 1420 | -----------------------------------
-- A Century of Hardship
-- Mine Shaft #2716 mission battlefield
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/missions")
-----------------------------------
function onBattlefieldTick(battlefield, tick)
dsp.battlefield.onBat... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Rabao/npcs/Edigey.lua | 12 | 2587 | -----------------------------------
-- Area: Rabao
-- NPC: Edigey
-- Starts and Ends Quest: Don't Forget the Antidote
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/titles");
require("scripts/globals/settings");
require("scripts/globals/quests");
requi... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/sea_bass_croute.lua | 11 | 1485 | -----------------------------------------
-- ID: 4353
-- Item: sea_bass_croute
-- Food Effect: 30Min, All Races
-----------------------------------------
-- MP +5% (cap 150)
-- Dexterity 4
-- Mind 5
-- Accuracy 3
-- Ranged Accuracy % 6 (cap 20)
-- HP recovered while healing 9
-- MP recovered while healing 2
-----------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/bluemagic/corrosive_ooze.lua | 12 | 1952 | -----------------------------------------
-- Spell: Corrosive Ooze
-- Deals water damage to an enemy. Additional Effect: Attack Down and Defense Down
-- Spell cost: 55 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Water)
-- Blue Magic Points: 4
-- Stat Bonus: HP-10 MP+10
-- Level: 66
-- Casting Time: 5 seconds
--... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Wajaom_Woodlands/IDs.lua | 9 | 3174 | -----------------------------------
-- Area: Wajaom_Woodlands
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.WAJAOM_WOODLANDS] =
{
text =
{
NOTHING_HAPPENS = 119, -- Nothing happens...
ITEM_... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Qulun_Dome/TextIDs.lua | 4 | 1409 | -- 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 = 6383; -- Obtained: <item>
GIL_OBTAINED = 6384; -- Obtained <number> gil
KEYITEM_OBTAINED = 6386; -- Obtain... | gpl-3.0 |
naclander/tome | game/modules/tome/data/timed_effects/mental.lua | 1 | 122471 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Balgas_Dais/bcnms/treasure_and_tribulations.lua | 9 | 1073 | -----------------------------------
-- Treasure and Tribulations
-- Balga's Dais BCNM50, Comet Orb
-- !additem 1177
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
fu... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Al_Zahbi/npcs/Zafif.lua | 36 | 1695 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zafif
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
Codex-NG/otxserver | data/npc/scripts/bless.lua | 28 | 2641 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type,... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/mobskills/tourbillion.lua | 11 | 1465 | ---------------------------------------------
-- 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 |
chanko08/KillerLibrarian2 | systems/player.lua | 2 | 4418 | local player = {}
player.assets = {
walk = {
path="assets/gfx/player_walk.png",
frame_width=36,
frames='1-6'
},
default = {
path="assets/gfx/player_stand.png",
frame_width=32,
frames=1
},
shoot = {
path="assets/gfx/player_fire.png",
frame_width=38,
frames=1
},
}
player... | mit |
ibm2431/darkstar | scripts/globals/spells/freeze_ii.lua | 6 | 1267 | -----------------------------------------
-- Spell: Freeze II
-- Deals ice damage to an enemy and lowers its resistance against fire.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCheck(caste... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Periqia/IDs.lua | 8 | 4247 | Periqia = {
text = {
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6378, -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6381, -- Obtained: <item>
GIL_OBTAINED = 6384, -- Obtained <number> gil
KEYITEM_OBTAINED = 6384, -- Obtaine... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle.lua | 28 | 1049 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Achtelle
-- @zone 80
-- @pos 108 2 -11
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#1.lua | 27 | 1295 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#1
-- @pos -21.129 0.001 -20.944 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
r... | gpl-3.0 |
naclander/tome | game/modules/tome/data/general/objects/scrolls.lua | 1 | 14097 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Metalworks/npcs/Topuru-Kuperu.lua | 38 | 1044 | -----------------------------------
-- Area: Metalworks
-- NPC: Topuru-Kuperu
-- Type: Standard NPC
-- @zone: 237
-- @pos 28.284 -17.39 42.269
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scrip... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/red_lotus_blade.lua | 7 | 1311 | ---------------------------------------------
-- red lotus blade
--
-- Description: Delivers a four-hit attack. Chance of critical varies with TP.
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status"... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Labyrinth_of_Onzozo/MobIDs.lua | 31 | 2026 | -----------------------------------
-- Area: Labyrinth of Onzozo (213)
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Mysticmaker Profblix
Mysticmaker_Profblix=17649693;
-- Lord of Onzozo
Lord_of_Onzozo=17649731;
Lord_of_Onzozo_PH={
[17649730] = '1',... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Kuftal_Tunnel/IDs.lua | 9 | 5694 | -----------------------------------
-- Area: Kuftal_Tunnel
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.KUFTAL_TUNNEL] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back... | gpl-3.0 |
SOHUDBA/SOHU-DBProxy | tests/suite/base/t/constants-mock.lua | 4 | 1633 | --[[ $%BEGINLICENSE%$
Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Port_Jeuno/npcs/_6ue.lua | 20 | 1386 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Door: Departures Exit (for Windurst)
-- @zone 246
-- @pos 3 7 -54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/_4e1.lua | 14 | 1209 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Door
-- @pos 315 16 20 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Upper_Delkfutt... | gpl-3.0 |
rigeirani/btg | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/items/pumpkin_pie_+1.lua | 11 | 1064 | -----------------------------------------
-- ID: 4525
-- Item: pumpkin_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 45
-- Intelligence 4
-- Charisma -1
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status")
require("scrip... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Castle_Oztroja/npcs/Kaa_Toru_the_Just.lua | 19 | 1579 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Kaa Toru the Just
-- Type: Mission NPC [ Windurst Mission 6-2 NPC ]~
-- @pos -100.188 -62.125 145.422 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/weaponskills/apex_arrow.lua | 13 | 1509 | -----------------------------------
-- Apex Arrow
-- Archery weapon skill
-- Skill level: 357
-- Merit
-- RNG or SAM
-- Aligned with the Thunder & Light Gorget.
-- Aligned with the Thunder Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:73~85%
-- 100%TP 200%TP 300%TP
-- 3.00 3.00 3.00
------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Windurst_Woods/npcs/Nokkhi_Jinjahl.lua | 12 | 5098 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nokkhi Jinjahl
-- Type: Travelling Merchant NPC / NPC Quiver Maker / Windurst 1st Place
-- !pos 4 1 -43 241
-----------------------------------
local ID = require("scripts/zones/Windurst_Woods/IDs")
-----------------------------------
function onTra... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua | 17 | 1661 | -----------------------------------
-- Area: Port Bastok
-- NPC: Zoby Quhyo
-- Only sells when Bastok controlls Elshimo Lowlands
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/TextI... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rw.lua | 17 | 1303 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rw (Oil Lamp)
-- Notes: Opens south door at J-9 from inside.
-- @pos 103.703 -26.180 83.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua | 10 | 8608 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Saarlan
-- Legion NPC
-- @pos 242 24.395 468
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/g... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/RuAun_Gardens/npcs/qm2.lua | 14 | 1478 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Seiryu's Spawn)
-- Allows players to spawn the HNM Seiryu with a Gem of the East and a Springstone.
-- @pos 569 -70 -80 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Caedarva_Mire/npcs/Kwadaaf.lua | 23 | 1347 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Kwadaaf
-- Type: Entry to Alzadaal Undersea Ruins
-- @pos -639.000 12.323 -260.000 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitem... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/La_Theine_Plateau/npcs/Deaufrain.lua | 17 | 2302 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Deaufrain
-- Involved in Mission: The Rescue Drill
-- @pos -304 28 339 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/m... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Carpenters_Landing/Zone.lua | 27 | 3518 | -----------------------------------
--
-- Zone: Carpenters_Landing (2)
--
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
fegimanam/sa | plugins/plugins.lua | 72 | 6113 | 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 |
greasydeal/darkstar | scripts/zones/Port_Windurst/npcs/Guruna-Maguruna.lua | 36 | 1747 | -----------------------------------
-- Area: Port Windurst
-- NPC: Guruna-Maguruna
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurs... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Temenos/mobs/Temenos_Cleaner.lua | 17 | 1285 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Temenos_Cleaner
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Arrapago_Reef/mobs/Velionis.lua | 11 | 1944 | -----------------------------------
-- Area: Arrapago Reef
-- ZNM: Velionis
-----------------------------------
mixins = {require("scripts/mixins/rage")}
require("scripts/globals/status")
-----------------------------------
-- Todo: blaze spikes effect only activates while not in casting animation
function onMobInitia... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/coffeecake_muffin_+1.lua | 12 | 1372 | -----------------------------------------
-- ID: 5656
-- Item: coffeecake_muffin_+1
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Mind 2
-- Strength -1
-- MP % 10 (cap 90)
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
naclander/tome | game/modules/tome/data/maps/zones/tannen-tower-3.lua | 3 | 1677 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Optic_Induration.lua | 33 | 1340 | ---------------------------------------------
-- Optic Induration
--
-- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification & enmity reset
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- N... | gpl-3.0 |
MuhammadWang/MCServer | MCServer/Plugins/APIDump/Hooks/OnLogin.lua | 8 | 1581 | return
{
HOOK_LOGIN =
{
CalledWhen = "Right before player authentication. If auth is disabled, right after the player sends their name.",
DefaultFnName = "OnLogin", -- also used as pagename
Desc = [[
This hook is called whenever a client logs in. It is called right before the client's name is sent
to be ... | apache-2.0 |
nesstea/darkstar | scripts/zones/West_Ronfaure/Zone.lua | 13 | 3884 | -----------------------------------
--
-- Zone: West_Ronfaure (100)
--
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("scripts/globals/... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/clump_of_batagreens.lua | 18 | 1193 | -----------------------------------------
-- ID: 4367
-- Item: clump_of_batagreens
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
gmorishere/bot | plugins/chatter.lua | 20 | 1670 | -- Put this absolutely at the end, even after greetings.lua.
local triggers = {
'',
'^' .. bot.first_name .. ',',
'^@' .. bot.username .. ','
}
local action = function(msg)
if msg.text == '' then return end
-- This is awkward, but if you have a better way, please share.
if msg.text_lower:match('^' .. bot.fir... | gpl-2.0 |
hamed9898/maxbot | plugins/trivia.lua | 647 | 6784 | do
-- Trivia plugin developed by Guy Spronck
-- Returns the chat hash for storing information
local function get_hash(msg)
local hash = nil
if msg.to.type == 'chat' then
hash = 'chat:'..msg.to.id..':trivia'
end
if msg.to.type == 'user' then
hash = 'user:'..msg.from.id..':trivia'
end
return hash
en... | gpl-2.0 |
gaohuang/DenseNet_lite | DenseLayer.lua | 1 | 2973 | require 'nn'
require 'cudnn'
require 'cunn'
local nninit = require 'nninit'
local DenseLayer, parent = torch.class('nn.DenseLayer', 'nn.Container')
function DenseLayer:__init(nInputs, nChannels, growthRate, stride)
parent.__init(self)
self.train = true
self.nInputs = nInputs
self.nChannels = nChann... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/dish_of_spaghetti_melanzane.lua | 35 | 1401 | -----------------------------------------
-- ID: 5213
-- Item: dish_of_spaghetti_melanzane
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 25
-- Health Cap 100
-- Vitality 2
-- Store TP 4
-----------------------------------------
require("scripts/globals/status");
-... | gpl-3.0 |
bowlofstew/Macaroni | Main/Generators/LuaGlueTest.lua | 2 | 11385 | require "LuaGlue"
require "Macaroni.Parser.Pippy.PippyParser";
require "Macaroni.Parser.Parser";
require "Macaroni.Parser.ParserException";
local PippyParser = Macaroni.Parser.Pippy.PippyParser;
local function mixinContext(self, sourceCode)
self.context = Context.New("{ROOT}");
self.library = sel... | apache-2.0 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tazhaal.lua | 13 | 1155 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tazhaal
-- Admits players to the dock in Aht Urhgan
-- @pos -5.195 -1 -98.966 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Amplification.lua | 28 | 1256 | ---------------------------------------------------
-- Amplification
-- Enhances Magic Attack and Magic Defense. Bonus stacks when used by mobs.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/dokumori_san.lua | 11 | 1200 | -----------------------------------------
-- Spell: Dokumori: San
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Luminous_Lance.lua | 39 | 1406 | ---------------------------------------------
-- Luminous Lance
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-------------------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_San_dOria/npcs/Bricorsant.lua | 36 | 1376 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Bricorsant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/Te... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/libs/AceVillain-1.0/widgets/shared/BorderWidget.lua | 3 | 7215 | -- Widget is based on the AceGUIWidget-DropDown.lua supplied with AceGUI-3.0
-- Widget created by Yssaril
local AceGUI = LibStub("AceGUI-3.0")
local Media = LibStub("LibSharedMedia-3.0")
local AceVillain = LibStub("AceVillain-1.0")
do
local widgetType = "LSM30_Border"
local widgetVersion = 999999
local contentFr... | mit |
ndbeals/Luabox | lua/luabox/cl_luabox.lua | 2 | 8787 | --Copyright 2014 Nathan Beals
function luabox.GetEditor()
if not luabox.Editor then
luabox.Editor = vgui.Create("Luabox_Editor_Frame")
luabox.Editor:SetDeleteOnClose( false )
luabox.Editor:Hide()
end
return luabox.Editor
end
function luabox.ShowEditor()
local editor = luabox.G... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Ten_of_Hearts.lua | 38 | 1045 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ten of Hearts
-- Type: Standard NPC
-- @zone: 238
-- @pos -49.441 -5.909 226.524
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----... | gpl-3.0 |
Mashape/kong | spec/03-plugins/19-hmac-auth/04-invalidations_spec.lua | 2 | 8514 | local helpers = require "spec.helpers"
local cjson = require "cjson"
local openssl_hmac = require "openssl.hmac"
for _, strategy in helpers.each_strategy() do
describe("Plugin: hmac-auth (invalidations) [#" .. strategy .. "]", function()
local proxy_client
local admin_client
local consumer
local cred... | apache-2.0 |
nesstea/darkstar | scripts/globals/items/sazanbaligi.lua | 18 | 1311 | -----------------------------------------
-- ID: 5459
-- Item: Sazanbaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_hud_indicator_2/renderer/valid_fonts.lua | 3 | 3288 | -- Just a list of valid fonts.
--
-- Comment out any you dont want to be usable, and
-- the default font will be used where the commented
-- out font is requested.
--
-- Moggie100
print("[II]", "Loading font list...")
H2Fonts = {}
H2Fonts["Default"] = "Default"
H2Fonts["DebugFixed"] = "DebugFixed"
H2Fonts["Debug... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/vidohunir.lua | 12 | 4739 | -----------------------------------
-- Vidohunir
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP.
-- Reduces enemy's magic defense by 10%.
-- Available only after completing the Unlocking a Myth (Black Mage)... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/bowl_of_shark_fin_soup.lua | 18 | 1843 | -----------------------------------------
-- ID: 4452
-- Item: bowl_of_shark_fin_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 5
-- MP 5
-- Dexterity 4
-- Mind -4
-- HP Recovered While Healing 9
-- Attack % 14 (cap 60)
-- Ranged Attack % 14 (cap 60)
-----------------------------... | gpl-3.0 |
twolfson/sublime-files | Packages/Lua/tests/syntax_test_lua.lua | 1 | 12576 | -- SYNTAX TEST "Packages/Lua/Lua.sublime-syntax"
--COMMENTS
-- Foo!
-- ^^^^^^^ comment.line
-- ^^ punctuation.definition.comment
--[[ Foo! ]]
-- ^^^^^^^^^^^^ comment.block
-- ^^^^ punctuation.definition.comment.begin
-- ^^ punctuation.definition.comment.end
--[=[ Foo! ]] ]=]
-- ^^^^^^^^... | unlicense |
akdor1154/awesome | lib/awful/client/shape.lua | 1 | 2951 | ---------------------------------------------------------------------------
--- Handle client shapes.
--
-- @author Uli Schlachter <psychon@znc.in>
-- @copyright 2014 Uli Schlachter
-- @release @AWESOME_VERSION@
-- @module awful.client.shape
------------------------------------------------------------------------... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/slowga.lua | 11 | 1209 | -----------------------------------------
-- Spell: Slow
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- Slow's potency is calculated with the formula (150 + dMND*2)/1024, and caps at 300/1024 (~29.3%).
-- And MND of 75 is neccessary to reach the hardcap of Slow.
-------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Windurst/mobs/Avatar_Icon.lua | 16 | 5149 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Avatar Icon
-- Map1 Position: http://images2.wikia.nocookie.net/__cb20090312004752/ffxi/images/8/84/Win1.jpg
-- Map2 Position: http://images2.wikia.nocookie.net/__cb20090312004839/ffxi/images/6/61/Win2.jpg
-----------------------------------
p... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Mamook/npcs/Logging_Point.lua | 29 | 1080 | -----------------------------------
-- Area: Mamook
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Mamook/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Mamook/TextIDs");
--------------------------... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_ramcardreader/init.lua | 4 | 5631 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
ENT.WireDebugName = "RAM-Card Reader"
local NEW_CARD_WAIT_TIME = 2
local CARD_IN_SOCKET_CONSTRAINT_POWER = 2000
local CARD_IN_ATTACH_RANGE = 3
function ENT:Initialize()
self:SetModel( "models/keycardspawner/keycardspawne... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/fell_cleave.lua | 11 | 1392 | -----------------------------------
-- Fell Cleave
-- Great Axe weapon skill
-- Skill Level: 300
-- Delivers an area attack. Radius varies with TP.
-- Aligned with the Breeze Gorget, Thunder Gorget & Soil Gorget.
-- Aligned with the Breeze Belt, Thunder Belt & Soil Belt.
-- Element: None
-- Modifiers: STR: 60%
-- 100%T... | gpl-3.0 |
JustinZZzz/crtmpserver | builders/cmake/crtmpserver/flvplayback2.lua | 1 | 2017 | configuration=
{
daemon=false,
pathSeparator="/",
logAppenders=
{
{
name="console appender",
type="coloredConsole",
level=6
},
{
name="file appender",
type="file",
level=6,
fileName="/tmp/crtmpserver",
fileHistorySize=10,
fileLength=1024*1024,
singleLine=true
}
},
applica... | gpl-3.0 |
nesstea/darkstar | scripts/zones/West_Sarutabaruta_[S]/Zone.lua | 27 | 1290 | -----------------------------------
--
-- Zone: West_Sarutabaruta_[S] (95)
--
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/West_Sarutabaruta_[S]/TextIDs");
------... | gpl-3.0 |
Mashape/kong | kong/templates/nginx_kong.lua | 1 | 8359 | return [[
charset UTF-8;
server_tokens off;
> if anonymous_reports then
${{SYSLOG_REPORTS}}
> end
error_log ${{PROXY_ERROR_LOG}} ${{LOG_LEVEL}};
> if nginx_optimizations then
>-- send_timeout 60s; # default value
>-- keepalive_timeout 75s; # default value
>-- client_body_timeout 60s; # default value
>... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Emeige_AMAN.lua | 65 | 1182 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Emeige A.M.A.N.
-- Type: Mentor Recruiter
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/_1e9.lua | 29 | 1155 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: _1e9 (Gate: The Pit)
-- @pos 80 -1.949 -107.94
-- Used to enter "The Colosseum" zone.
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
dpino/snabbswitch | src/program/packetblaster/lwaftr/lib.lua | 3 | 15244 | module(...,package.seeall)
local lib = require("core.lib")
local app = require("core.app")
local packet = require("core.packet")
local link = require("core.link")
local ethernet = require("lib.protocol.ethernet")
local ipv4 = require("lib.protocol.ipv4")
local ipv6 = require("lib.protocol.ipv6")
local ipsum = require(... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.