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 |
|---|---|---|---|---|---|
nesstea/darkstar | scripts/zones/North_Gustaberg/npcs/Butsutsu_WW.lua | 13 | 3331 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Butsutsu, W.W.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conques... | gpl-3.0 |
Ale32bit/Osmium | src/appEngine.lua | 1 | 7291 | local nativeFS = {}
for k,v in pairs(_G.fs) do
nativeFS[k] = v
end
local nativeLoadfile = function(file,env)
if not nativeFS.exists(file) then
return nil
end
local handle = nativeFS.open(file,"r")
local script = handle.readAll()
handle.close()
local func, err = load(script, nativeFS... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rubahah.lua | 32 | 1388 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rubahah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Aht_Urhgan_White... | gpl-3.0 |
JulioC/telegram-bot | plugins/location.lua | 625 | 1564 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Markets/TextIDs.lua | 5 | 5351 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; --Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6381; --Try trading again after sorting your inventory.
ITEM_OBTAINED = 6382; --Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Castle_Oztroja/npcs/_47v.lua | 13 | 1258 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47v (Handle)
-- Notes: Opens door _472 from behind
-- @pos -61 0 -36 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/Te... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria/npcs/Ophelia.lua | 36 | 1433 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ophelia
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/orange_kuchen_+1.lua | 18 | 1311 | -----------------------------------------
-- ID: 4332
-- Item: orange_kuchen_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP % 13 (cap 80)
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------... | gpl-3.0 |
Badboy30/badboy30 | plugins/weather.lua | 351 | 1443 | do
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather"
local function get_weather(location)
print("Finding weather in ", location)
local url = BASE_URL
url = url..'?q='..location
url = url..'&units=metric'
local b, c, h = http.request(url)
if c ~= 200 then return nil end
local weather = ... | gpl-2.0 |
Jacklli/redis-leveldb | deps/lua/src/jit/bc.lua | 17 | 5643 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2012 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | bsd-3-clause |
nesstea/darkstar | scripts/globals/weaponskills/stringing_pummel.lua | 6 | 1710 | -----------------------------------
-- Stringing Pummel
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a sixfold attack. Damage varies with TP. Kenkonken: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Puppetmaster) quest.
-- Aligned with the Shadow Gorget, Soil Gorget... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/Zone.lua | 16 | 6641 | -----------------------------------
--
-- Zone: Alzadaal_Undersea_Ruins (72)
--
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextIDs");
require("scripts/globals/missions");
re... | gpl-3.0 |
mobinlord/shadow-tg | plugins/invite.lua | 393 | 1225 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
nesstea/darkstar | scripts/globals/spells/kurayami_ichi.lua | 27 | 1145 | -----------------------------------------
-- Spell: Kurayami:Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
Badboy30/badboy30 | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
Disslove-bot/Max3-BOT | plugins/tweet.lua | 634 | 7120 | local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
local client = OAuth.new(consumer_key,
consumer_secret,
... | gpl-2.0 |
ymauray/Skym_PetCodex | Lib/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua | 1 | 69929 | -- Copyright (c) 2014 Yannick Mauray.
--
-- 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 2 of the License, or
-- (at your option) any later version.
--
-- This program is distr... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Cimeries.lua | 19 | 1256 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Cimeries
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
func... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Upper_Jeuno/npcs/Rouliette.lua | 26 | 2190 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Rouliette
-- Starts and Finishes Quest: Candle-making
-- @zone 244
-- @pos -24 -2 11
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/slab_of_ruszor_meat.lua | 18 | 1288 | -----------------------------------------
-- ID: 5755
-- Item: Slab of Ruszor Meat
-- Food Effect: 30Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/drain.lua | 13 | 1636 | -----------------------------------------
-- Spell: Drain
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------------
-- OnSpellCast
---... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/moat_carp.lua | 18 | 1316 | -----------------------------------------
-- ID: 4401
-- Item: moat_carp
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Yughott_Grotto/Zone.lua | 19 | 1573 | -----------------------------------
--
-- Zone: Yughott_Grotto (142)
--
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Yughott_Grotto/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Nashmau/npcs/Awaheen.lua | 17 | 1924 | -----------------------------------
-- Area: Nashmau
-- NPC: Awaheen
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
-----------------------------------
-- onTrade A... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/shield_bash.lua | 25 | 2038 | -----------------------------------
-- Ability: Shield Bash
-- Delivers an attack that can stun the target. Shield required.
-- Obtained: Paladin Level 15, Valoredge automaton frame Level 1
-- Recast Time: 3:00 minutes (3:00 for Valoredge version)
-- Duration: Instant
-----------------------------------
require("scrip... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/serving_of_frog_flambe.lua | 35 | 1741 | -----------------------------------------
-- ID: 4326
-- Item: serving_of_frog_flambe
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 3
-- Agility 2
-- Mind -2
-- Attack % 14
-- Attack Cap 65
-- Evasion 5
-- Ranged ATT % 14
-- Ranged ATT Cap 65
----------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Reinberta.lua | 42 | 2151 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Reinberta
-- Type: Goldsmithing Guild Master
-- @pos -190.605 -7.814 -59.432 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/mushroom_crepe.lua | 35 | 1299 | -----------------------------------------
-- ID: 5773
-- Item: mushroom_crepe
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Mind 2
-- MP % 10 (cap 30)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Attohwa_Chasm/mobs/Tiamat.lua | 11 | 3103 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Tiamat
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(m... | gpl-3.0 |
dpino/snabbswitch | src/apps/rate_limiter/rate_limiter.lua | 12 | 6640 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local app = require("core.app")
local link = require("core.link")
local config = require("core.config")
local packet = require("core.packet")
local timer = require("core.timer")
local counter = require("core.cou... | apache-2.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_expression2/core/custom/cl_stcontrol.lua | 3 | 13055 | E2Helper.Descriptions["dumpItem(xsc:n)"] = "Dumps state controller to the chat area by number identifier"
E2Helper.Descriptions["dumpItem(xsc:s)"] = "Dumps state controller to the chat area by string identifier"
E2Helper.Descriptions["dumpItem(xsc:sn)"] = "Dumps state controller by number identifier in the specified ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/RoMaeve/mobs/Martinet.lua | 20 | 1534 | -----------------------------------
-- Area: RoMaeve
-- NM: Martinet
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm1.lua | 13 | 1606 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm1 (???)
-- Involved In Quest: Altana's Sorrow
-- @pos -282.339 0.001 261.707 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Apollyon/mobs/Dark_Elemental.lua | 7 | 2614 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Maquette_Abdhaljs-Legion/Zone.lua | 32 | 1184 | -----------------------------------
--
-- Zone: Maquette Abdhaljs-Legion
--
-----------------------------------
package.loaded["scripts/zones/Maquette_Abdhaljs-Legion/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Maquette_Abdhaljs-Legion/TextI... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_HM.lua | 26 | 1444 | -----------------------------------
-- Area: LaLoff Amphitheater
-- NPC: Ark Angel HM
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
function onMobInitialize(mob)
mob:addMod(MOD_REGAIN, 50);
end;
--------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/RuAun_Gardens/mobs/Genbu.lua | 12 | 1519 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Genbu
-- ID: 17309980
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
fun... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/slice_of_juicy_mutton.lua | 18 | 1382 | -----------------------------------------
-- ID: 4335
-- Item: slice_of_juicy_mutton
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Norg/npcs/Ryoma.lua | 16 | 4101 | -----------------------------------
-- Area: Norg
-- NPC: Ryoma
-- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will
-- Involved in Quest: Ayame and Kaede
-- @pos -23 0 -9 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Arcane_Stomp.lua | 5 | 1196 | ---------------------------------------------
-- Arcane Stomp
--
-- Description: Stomps the ground to apply elemental absorption.
-- Type: Enhancing
-- Utsusemi/Blink absorb: N/A
-- Range: AoE surrounding Gurfurlur, affects all mobs.
-- Notes: Only used by Gurfurlur the Menacing. This results in all elemen... | gpl-3.0 |
jodemaey/MAOOAM-lyap-WIP | lua/stat.lua | 2 | 1493 | -- stat.lua
-- (C) 2013 Lesley De Cruz
-- See LICENSE.txt for license information.
------------------------------------------------------------------------
-- Stable statistics accumulator for n-arrays.
------------------------------------------------------------------------
--- Create a statistics accumulator for n-... | mit |
nesstea/darkstar | scripts/globals/weaponskills/spinning_slash.lua | 11 | 1592 | -----------------------------------
-- Spinning Slash
-- Great Sword weapon skill
-- Skill level: 225
-- Delivers a single-hit attack. Damage varies with TP.
-- Modifiers: STR:30% ; INT:30%
-- 100%TP 200%TP 300%TP
-- 2.5 3 3.5
-----------------------------------
require("scripts/globals/status");... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dangruf_Wadi/TextIDs.lua | 5 | 1316 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6541; -- Obtained: <item>.
GIL_OBTAINED = 6542; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6544; -- Obtained... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Logging_Point.lua | 13 | 1092 | -----------------------------------
-- Area: Fort Karugo-Narugo [S]
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Fort_Karugo-Narugo_[S]/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/PsoXja/npcs/_09g.lua | 17 | 1219 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Avatars Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyite... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Kamihr_Drifts/npcs/HomePoint#1.lua | 27 | 1267 | -----------------------------------
-- Area: Kamihr Drifts
-- NPC: HomePoint#1
-- @pos 210 20.299 315 267
-----------------------------------
package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Kamihr_Drifts/TextIDs");
require("scripts/globals/home... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Mines/npcs/Maymunah.lua | 27 | 1177 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Maymunah
-- Guild Merchant NPC: Alchemy Guild
-- @pos 108.738 5.017 -3.129 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/West_Ronfaure/npcs/Vilatroire.lua | 13 | 1573 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Vilatroire
-- Involved in Quests: "Introduction To Teamwork", "Intermediate Teamwork",
-- "Advanced Teamwork"
-- @pos -260.361 -70.999 423.420 100
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/West_Ronf... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok-Jeuno_Airship/Zone.lua | 32 | 1399 | -----------------------------------
--
-- Zone: Bastok-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
-----------------------------------
fu... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Najjar.lua | 13 | 1685 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Najjar
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Maysoon.lua | 17 | 2167 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Maysoon
-- Starts and Finishes Quest: Hoist the Jelly, Roger
-- Involved in Quests: Cook's Pride
-- @zone 238
-- @pos -105 -2 69
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loade... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/plate_of_ikra_gunkan.lua | 35 | 1730 | -----------------------------------------
-- ID: 5219
-- Item: plate_of_ikra_gunkan
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 30
-- Magic 10
-- Dexterity 3
-- Mind -2
-- Accuracy % 17
-- Accuracy Cap 28
-- Ranged ACC % 17
-- Ranged ACC Cap 28
---------------------... | gpl-3.0 |
w0113/devenv | nvim/lua/config/lspconfig.lua | 1 | 2430 | -- Disable virtual text for diagnostics.
vim.diagnostic.config {
virtual_text = false
}
-- Show diagnostics in a floating window instead.
vim.api.nvim_create_autocmd("CursorHold", {
buffer = bufnr,
callback = function()
local opts = {
focusable = false,
close_events = {"BufLeave", "CursorMoved", ... | mit |
UnfortunateFruit/darkstar | scripts/globals/effects/sublimation_activated.lua | 18 | 1775 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
end;
-----------------------------------
-- onEffectTick Action
-------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Eugballion.lua | 19 | 1644 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Eugballion
-- Only sells when San d'Oria controlls Qufim Region
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
re... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/mysterious_light.lua | 25 | 1855 | -----------------------------------------
-- Spell: Mysterious Light
-- Deals wind damage to enemies within range. Additional effect: Weight
-- Spell cost: 73 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 4
-- Stat Bonus: AGI+3
-- Level: 40
-- Casting Time: 3.75 seconds
-- Recast Time: ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Mines/npcs/Quelle.lua | 27 | 1980 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Quelle
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Bastok/npcs/Argus.lua | 13 | 3697 | -----------------------------------
-- Area: Port Bastok
-- NPC: Argus
-- Type: Mission Giver
-- @pos 132.157 7.496 -2.187 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/learned_etude.lua | 13 | 1758 | -----------------------------------------
-- Spell: Learned Etude
-- Static INT Boost, BRD 26
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMa... | gpl-3.0 |
xTVaser/ramwatches | layouts.lua | 1 | 29271 | package.loaded.utils = nil
local utils = require "utils"
local subclass = utils.subclass
local classInstantiate = utils.classInstantiate
local Layout = {
elements = {},
margin = 6,
}
function Layout:update()
if self.game.updateAddresses then
-- Update dynamic addresses (usually, pointers that can move)
... | mit |
UnfortunateFruit/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Logging_Point.lua | 29 | 1116 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Buburimu_Peninsula/Text... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/skewer.lua | 30 | 1368 | -----------------------------------
-- Skewer
-- Polearm weapon skill
-- Skill Level: 200
-- Delivers a three-hit attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: N... | gpl-3.0 |
ansuz/cjdns | contrib/lua/cjdns/udp.lua | 52 | 2682 | -- Cjdns admin module for Lua
-- Written by Philip Horger
common = require 'cjdns/common'
UDPInterface = {}
UDPInterface.__index = UDPInterface
common.UDPInterface = UDPInterface
function UDPInterface.new(ai, config, ptype)
properties = {
ai = ai,
config = config or ai.config,
ptype ... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/seafood_stewpot.lua | 18 | 1436 | -----------------------------------------
-- ID: 5238
-- Item: Seafood Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 50
-- MP +10
-- Accuracy 5
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/messhikimaru.lua | 30 | 1058 | -----------------------------------------
-- ID: 17826
-- Item: Messhikimaru
-- Enchantment: Arcana Killer
-- Durration: 10 Mins
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------------------... | gpl-3.0 |
tectronics/afrimesh | villagebus/lua/modules/http.lua | 5 | 2678 |
module("modules.http", package.seeall)
--[[ evaluate ]]------------------------------------------------------------
function evaluate(request) -- request = { verb, path, query, data }
-- build url
local hostname = table.remove(request.path, 1)
if not hostname then
return fail("no hostname in request", "ht... | bsd-3-clause |
UnfortunateFruit/darkstar | scripts/zones/Al_Zahbi/npcs/Dehbi_Moshal.lua | 19 | 1157 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Dehbi Moshal
-- Guild Merchant NPC: Woodworking Guild
-- @pos -71.563 -5.999 -57.544 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
hadi9090/celassicalteam | expiretime.lua | 2 | 3237 |
--[[
#
#
# Allen - GPMod
# Expire Time plugin
#
#
]]
local function pre_process(msg)
msg.text = msg.content_.text
local timetoexpire = 'unknown'
local expiretime = redis:hget ('expiretime', msg.chat_id_)
local now = tonumber(os.time())
if expiretime then
tim... | unlicense |
nesstea/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Mesachedeau_RK.lua | 13 | 3343 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Mesachedeau, R.K.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/tachi_rana.lua | 6 | 1732 | -----------------------------------
-- Tachi Rana
-- Great Katana weapon skill
-- Skill Level: N/A
-- Delivers a three-fold attack. params.accuracy varies with TP. Aftermath effect varies with TP. See Kogarasumaru.
-- In order to obtain Tachi: Rana, the Unlocking a Myth (Samurai) quest must be completed.
-- Will stack ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Davoi/npcs/qm1.lua | 13 | 1396 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm1)
-- Involved in Quest: To Cure a Cough
-- @pos -115.830 -0.427 -184.289 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Walls/npcs/Ambrosius.lua | 28 | 4619 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Ambrosius
--
-- Quest NPC for "The Postman Always KOs Twice"
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/glob... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Dehn_Harzhapan.lua | 13 | 1052 | -----------------------------------
-- Area: Port Windurst
-- NPC: Dehn Harzhapan
-- Type: Standard NPC
-- @zone: 240
-- @pos -7.974 -7 152.633
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
------------... | gpl-3.0 |
akdor1154/awesome | lib/awful/screen.lua | 1 | 5085 | ---------------------------------------------------------------------------
--- Screen module for awful
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008 Julien Danjou
-- @release @AWESOME_VERSION@
-- @module awful.screen
--------------------------------------------------------------------------... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Labyrinth_of_Onzozo/Zone.lua | 17 | 1980 | -----------------------------------
--
-- Zone: Labyrinth_of_Onzozo (213)
--
-----------------------------------
package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Labyrinth_... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Mhaura/npcs/Bihoro-Guhoro.lua | 17 | 1507 | -----------------------------------
-- Area: Mhaura
-- NPC: Bihoro-Guhoro
-- Involved in Quest: Riding on the Clouds
-- @pos -28 -8 41 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
cmassiot/vlc-broadcast | share/lua/sd/fmc.lua | 122 | 2554 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Fabio Ritrovato <sephiroth87 at videolan dot org>
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 2 of the License, or
... | gpl-2.0 |
noa/nn | SparseJacobian.lua | 61 | 8618 | nn.SparseJacobian = {}
function nn.SparseJacobian.backward (module, input, param, dparam)
local doparam = 0
if param then
doparam = 1
end
-- output deriv
module:forward(input)
local dout = module.output.new():resizeAs(module.output)
-- 1D view
local sdout = module.output.new(dout:stor... | bsd-3-clause |
Bierbuikje/Mr.Green-MTA-Resources | resources/[web]/interchat/receive.lua | 1 | 5247 | ----------------------------------------------
-- Receive.lua --
-- Respond to requests from other servers --
----------------------------------------------
-----------------
-- F2 redirect --
-----------------
local joiningSerials = {}
function playerRedirect ( serial, playtime, tick, hoursPlayed )
joinin... | mit |
Altenius/cuberite | Server/Plugins/APIDump/Hooks/OnPlayerSpawned.lua | 44 | 1282 | return
{
HOOK_PLAYER_SPAWNED =
{
CalledWhen = "After a player (re)spawns in the world to which they belong to.",
DefaultFnName = "OnPlayerSpawned", -- also used as pagename
Desc = [[
This hook is called after a {{cPlayer|player}} has spawned in the world. It is called after
{{OnLogin|HOOK_LOGIN}} and {{O... | apache-2.0 |
maikerumine/aftermath | mods/farming/corn.lua | 3 | 5119 |
--= Corn (Original textures from GeMinecraft)
-- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/1440575-1-2-5-generation-minecraft-beta-1-2-farming-and
minetest.register_craftitem("farming:corn", {
description = "Corn",
inventory_image = "farming_corn.png",
on_place = function(ite... | lgpl-2.1 |
xianjiec/nn | Cosine.lua | 19 | 5784 | local Cosine, parent = torch.class('nn.Cosine', 'nn.Module')
function Cosine:__init(inputSize,outputSize)
parent.__init(self)
self.weight = torch.Tensor(outputSize,inputSize)
self.gradWeight = torch.Tensor(outputSize,inputSize)
self:reset()
end
function Cosine:reset(stdv)
if stdv then
stdv =... | bsd-3-clause |
Fawk/CleanUI | modules/units/group.lua | 1 | 11756 | local A, L = unpack(select(2, ...))
local E, T, U, Units, media = A.enum, A.Tools, A.Utils, A.Units, LibStub("LibSharedMedia-3.0")
local CC = A.general["clickcast"]
local updateFrames = {}
local UnitExists = UnitExists
local Group = {}
function Group:GetMoverSize(container, maxMembers, db)
local ox, oy = 0, 0
local... | gpl-3.0 |
focusworld/focus | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
solid021/TeleBeyond | plugins/QR.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
nimaghorbani/nimabot | plugins/banhammer.lua | 214 | 11956 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
alirezanile/last-slept | plugins/banhammer.lua | 214 | 11956 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
trompetin17/wxFormBuilder-Atlas | build/premake/4.3/src/actions/codelite/codelite_workspace.lua | 7 | 1414 | --
-- codelite_workspace.lua
-- Generate a CodeLite workspace file.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
function premake.codelite_workspace(sln)
_p('<?xml version="1.0" encoding="utf-8"?>')
_p('<CodeLite_Workspace Name="%s" Database="./%s.tags">', premake.esc(sln.name), premake.esc(sln.... | gpl-2.0 |
eaufavor/AwesomeWM-powerarrow-dark | utils/urxvtIntegration.lua | 1 | 2998 | --Improve integration between awesome and the RXVT-unicode terminal (urxvt)
--Author: Emmanuel Lepage Vallee <elv1313@gmail.com>
local setmetatable = setmetatable
local loadstring = loadstring
local io = io
local ipairs = ipairs
local table = table
local print = print
local type = type
local next = next
local util = r... | apache-2.0 |
ntop/ntopng | scripts/lua/modules/alert_definitions/other/alert_snmp_topology_changed.lua | 1 | 2638 | --
-- (C) 2019-22 - ntop.org
--
-- ##############################################
local other_alert_keys = require "other_alert_keys"
-- Import the classes library.
local classes = require "classes"
-- Make sure to import the Superclass!
local alert = require "alert"
local alert_entities = require "alert_entities"
... | gpl-3.0 |
hashemmousavi/aaaaa | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
ASantosVal/vlc-extension-trials | share/lua/extensions/VLSub.lua | 3 | 58910 | --[[
VLSub Extension for VLC media player 1.1 and 2.0
Copyright 2013 Guillaume Le Maout
Authors: Guillaume Le Maout
Contact:
http://addons.videolan.org/messages/?action=newmessage&username=exebetche
Bug report: http://addons.videolan.org/content/show.php/?content=148752
This program is free software; you can redistr... | gpl-2.0 |
Scoth42/rfkasm | fceux-2.2.2-win32/luaScripts/vnb.lua | 4 | 16421 |
-- Valkyrie no Bouken stuffs
-- This game sucks, don't play it
-- Lovingly based off of 4matsy's SMB code, and then mutilated and mamed as required
-- Xkeeper 2008, September 12th
require("x_functions");
x_requires(4);
-- ********************************************************************************... | gpl-2.0 |
longmian/skynet | service/gate.lua | 23 | 1833 | local skynet = require "skynet"
local gateserver = require "snax.gateserver"
local netpack = require "netpack"
local watchdog
local connection = {} -- fd -> connection : { fd , client, agent , ip, mode }
local forwarding = {} -- agent -> connection
skynet.register_protocol {
name = "client",
id = skynet.PTYPE_CLIEN... | mit |
Altenius/cuberite | Server/Plugins/InfoDump.lua | 5 | 22666 | #!/usr/bin/lua
-- InfoDump.lua
--[[
Loads plugins' Info.lua and dumps its g_PluginInfo into various text formats
This is used for generating plugin documentation for the forum and for GitHub's INFO.md files
This script can be used in two ways:
Executing "lua InfoDump.lua" will go through all subfolders and dump each... | apache-2.0 |
graydon/monotone | tests/(normal)_netsync_on_partially_unrelated_revisions/__driver__.lua | 1 | 1306 |
include("/common/netsync.lua")
mtn_setup()
-- This test relies on file-suturing
-- This tests netsync'ing
--
-- A B
-- \ /
-- C
--
-- where A starts out shared, but B and C do not.
-- For analysis and discussion of solutions, see:
-- http://lists.gnu.org/archive/html/monotone-devel/2004-11/msg00043.htm... | gpl-2.0 |
caohongtao/quick-cocos-demo | runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources/src/cocos/ui/DeprecatedUIFunc.lua | 39 | 7289 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of ccui.Text will be deprecated begin
local TextDeprecated = { }
function TextDeprecated.setText(self, str)
deprecatedTip("ccui.Text:setT... | apache-2.0 |
zhrtz/vicious | widgets/uptime.lua | 15 | 1191 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com>
---------------------------------------------------
-- {{{ Grab environment
local setmetatable = setmetatable
local ... | gpl-2.0 |
MOSAVI17/Security2 | bot/seedbot.lua | 1 | 9971 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
mtyzaq/extra | luci/applications/luci-goagent/luasrc/model/cbi/goagent/misc.lua | 3 | 2144 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2014 HackPascal <hackpascal@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://ww... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.