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 |
|---|---|---|---|---|---|
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/TextBMFont.lua | 12 | 2334 |
--------------------------------
-- @module TextBMFont
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- init a bitmap font atlas with an initial string and the FNT file
-- @function [parent=#TextBMFont] setFntFile
-- @param self
-- @param #string fileName
-- @return TextBMFont#TextBMFon... | mit |
UnknownX7/darkstar | scripts/zones/Windurst_Waters/npcs/Taajiji.lua | 17 | 1798 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Taajiji
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst_Waters/TextIDs"... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Xarcabard/npcs/qm2.lua | 17 | 1635 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm2 (???)
-- Involved in Quests: Atop the Highest Mountains (for Boreal Tiger)
-- @pos 341 -29 370 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
thresheek/vlc | share/lua/playlist/canalplus.lua | 8 | 3507 | --[[
$Id: $
Copyright (c) 2007 the VideoLAN team
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 |
maikuru23/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#3.lua | 2 | 1300 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#3
-- @pos -189 -8 26 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bastok_Marke... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Port_Windurst/npcs/Sigismund.lua | 36 | 2342 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Sigismund
-- Starts and Finishes Quest: To Catch a Falling Star
-- Working 100%
-- @zone = 240
-- @pos = -110 -10 82
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Port_San_dOria/npcs/Marquie.lua | 17 | 1400 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Marquie
-- 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 |
UnknownX7/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm9.lua | 9 | 1347 | -----------------------------------
-- Zone: Abyssea-Misareaux
-- NPC: qm9 (???)
-- Spawns Karkatakam
-- @pos ? ? ? 216
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
-... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/items/chunk_of_homemade_cheese.lua | 35 | 1208 | -----------------------------------------
-- ID: 5225
-- Item: chunk_of_homemade_cheese
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Defense 40
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Cloister_of_Frost/bcnms/trial_by_ice.lua | 27 | 1938 | -----------------------------------
-- Area: Cloister of Frost
-- BCNM: Trial by Ice
-- @pos 558 0.1 596 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests");... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Lower_Jeuno/npcs/_l04.lua | 36 | 1559 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -73.039 6 -95.633
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
jonseitz/keys | VSCOKeys.lrdevplugin/halfway_server/logging.lua | 11 | 4547 | -- -----------------------------------------------------------------------------
-- includes a new tostring function that handles tables recursively
--
-- @author Danilo Tuler (tuler@ideais.com.br)
-- @author Andre Carregal (info@keplerproject.org)
-- @author Thiago Costa Ponte (thiago@ideais.com.br)
--
-- @copyright 2... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/items/icefish.lua | 12 | 1322 | -----------------------------------------
-- ID: 4470
-- Item: icefish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Port_San_dOria/npcs/Coullave.lua | 36 | 1889 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coullave
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/quests");
requ... | gpl-3.0 |
123ARMAN123/NOD32 | plugins/plugins.lua | 88 | 6304 | 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 |
wland/quick3.6 | quick/samples/touch/src/app/scenes/TestSingleTouch3Scene.lua | 8 | 5800 |
import("..includes.functions")
local TestSingleTouch3Scene = class("TestSingleTouch3Scene", function()
return display.newScene("TestSingleTouch3Scene")
end)
function TestSingleTouch3Scene:ctor()
-- 这个标志变量用于在触摸事件捕获阶段决定是否接受事件
self.isTouchCaptureEnabled_ = true
-- parentButton 是 button1 的父节点
self.p... | mit |
UnknownX7/darkstar | scripts/globals/items/leremieu_taco.lua | 12 | 1878 | -----------------------------------------
-- ID: 5175
-- Item: leremieu_taco
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-- Dexterity 4
-- Agility 4
-- Vitality 6
-- Charisma 4
-- Health Regen While Healing 1
-- Magic Regen While Healing 1
-- Defense % 25
-- Defen... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Uleguerand_Range/Zone.lua | 2 | 1545 | -----------------------------------
--
-- Zone: Uleguerand_Range (5)
--
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scri... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/mobskills/Hyper_Pulse.lua | 8 | 1330 | ---------------------------------------------------
-- Hyper_Pulse
--
-- Description: 300 magic damage, Gravity and short Bind, wipes Utsusemi
-- Type: Magical
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globa... | gpl-3.0 |
wland/quick3.6 | quick/samples/tests/src/tests/framework/gamestateTest.lua | 8 | 1547 |
local gameState = require("framework.cc.utils.GameState")
local GameStateTestScene = game.createSceneClass("GameStateTestScene")
function GameStateTestScene:ctor()
cc.FileUtils:getInstance():addSearchPath("src/")
self:prepare({
description = "Please run server listen on 127.0.0.1:8080"
})
l... | mit |
timmoorhouse/yaccos | usr/lib/bt/Refuel.lua | 1 | 1345 |
local oo = require("oo")
local bt = require("bt")
local nt = require("nt")
local log = require("log")
local net = require("net")
local tb = require("bt.tb")
local Refuel = oo.class("bt.Refuel", bt.Behaviour)
function Refuel.new(home, dest, self, klass)
self = self or {}
Refuel.super.new(self, klass or Re... | mit |
maikuru23/darkstar | scripts/zones/La_Theine_Plateau/npcs/Vicorpasse.lua | 17 | 2125 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Vicorpasse
-- Involved in Mission: The Rescue Drill
-- @pos -344 37 266 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
either1/prosody-modules | mod_auth_http_async/mod_auth_http_async.lua | 16 | 1862 | -- Prosody IM
-- Copyright (C) 2008-2013 Matthew Wild
-- Copyright (C) 2008-2013 Waqas Hussain
-- Copyright (C) 2014 Kim Alvefur
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local usermanager = require "core.usermanager";
local new_sasl = require... | mit |
maikuru23/darkstar | scripts/zones/Southern_San_dOria/npcs/Trail_Markings.lua | 17 | 2770 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Trail Markings
-- Dynamis-San d'Oria Enter
-- @pos 139 -2 122 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
alexandru-elisei/rhea | nocure.lua | 1 | 18975 | --[[
WHEN THERE ISN'T ANYTHING FOR A PARTICULAR CURE TO CURE
---AFFS:IMPATIENCE AND AFFS:SLICKNESS COPIED HERE
]]--
if
not nocure
then
nocure = {
["bedeviled"] = {
["confirmed"] = false,
["eat_myrtle"] = function () affs:add ("hypochondria") end,
["eat_yarrow"] = function () affs:impatie... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/spells/valor_minuet_ii.lua | 27 | 1565 | -----------------------------------------
-- Spell: Valor Minuet II
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Al_Zahbi/npcs/Shihu-Danhu.lua | 14 | 2318 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Shihu-Danhu
-- Warp NPC
-- @pos 62.768 -1.98 -51.299 48
-----------------------------------
require("scripts/globals/besieged");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/spells/bluemagic/smite_of_rage.lua | 33 | 1678 | -----------------------------------------
-- Spell: Smite of Rage
-- Damage varies with TP
-- Spell cost: 28 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+3
-- Level: 34
-- Casting Time: 0.5 seconds
-- Recast Time: 13 seconds
-- Skillchain Element(s): Wind (can... | gpl-3.0 |
pezhmanEX/fifth | plugins/banhammer.lua | 1 | 11488 |
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 |
UnknownX7/darkstar | scripts/globals/weaponskills/knights_of_round.lua | 19 | 1904 | -----------------------------------
-- Knights Of Round
-- Sword Weapon Skill
-- Skill Level: N/A
-- Caliburn/Excalibur: Additional Effect: Regen.
-- Regen 10HP/Tick, duration varies with TP.
-- Available only when equipped with the Relic Weapons Caliburn (Dynamis use only) or Excalibur.
-- Also available without after... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/spells/thunderstorm.lua | 32 | 1193 | --------------------------------------
-- Spell: Thunderstorm
-- Changes the weather around target party member to "thundery."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-------------------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Stellar_Fulcrum/npcs/_4z2.lua | 12 | 1311 | -----------------------------------
-- Area: Stellar Fulcrum
-- NPC: Qe'Lov Gate
-------------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Norg/npcs/Ranemaud.lua | 14 | 3834 | -----------------------------------
-- Area: Norg
-- NPC: Ranemaud
-- Involved in Quest: Forge Your Destiny, The Sacred Katana
-- @pos 15 0 23 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
wangqi/gameserver | server/src/gensrc/lua/BseUserAchievements_pb.lua | 1 | 1798 | -- Generated By protoc-gen-lua Do not Edit
local protobuf = require "protobuf"
module('BseUserAchievements_pb', package.seeall)
local BSEUSERACHIEVEMENTS = protobuf.Descriptor();
local BSEUSERACHIEVEMENTS_TASKIDS_FIELD = protobuf.FieldDescriptor();
local BSEUSERACHIEVEMENTS_STEP_FIELD = protobuf.FieldDescriptor();
B... | apache-2.0 |
alfred-bot/testbot | plugins/banhammer.lua | 23 | 11188 | -- data saved to moderation.json
do
-- make sure to set with value that not higher than stats.lua
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/weaponskills/tachi_fudo.lua | 26 | 1606 | -----------------------------------
-- Tachi: Fudo
-- Great Katana weapon skill
-- Skill Level: N/A
-- Deals double damage. Damage varies with TP. Masamune: Aftermath.
-- Available only when equipped with Masamune (85), Masamune (90), Masamune (95), Hiradennotachi +1 or Hiradennotachi +2.
-- Aligned with Light Gorget, ... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Apollyon/mobs/Grave_Digger.lua | 33 | 1024 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Grave_Digger
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Action... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Temenos/mobs/Kindred_Dark_Knight.lua | 17 | 1115 | -----------------------------------
-- Area: Temenos N T
-- NPC: Kindred_Dark_Knight
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Outer_RaKaznar/Zone.lua | 30 | 1274 | -----------------------------------
--
-- Zone: Outer Ra’Kanzar (274)
--
-----------------------------------
package.loaded["scripts/zones/Outer_RaKaznar/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Outer_RaKaznar/TextIDs");
-------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Yafaaf.lua | 14 | 1094 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Yafaaf
-- Type: Standard Merchant
-- @pos 76.889 -7 -140.379 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
requ... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Selbina/npcs/Chutarmire.lua | 17 | 1765 | -----------------------------------
-- Area: Selbina
-- NPC: Chutarmire
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
-------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/mobskills/Haymaker.lua | 33 | 1189 | ---------------------------------------------
-- Haymaker
--
-- Description: Punches the daylights out of all targets in front. Additional effect: Amnesia
-- Type: Physical
-- Utsusemi/Blink absorb: Unknown
-- Range: Front cone
-- Notes: Only used by Gurfurlur the Menacing.
---------------------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Churacoco.lua | 38 | 1049 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Churacoco
-- Type: Standard NPC
-- @zone: 94
-- @pos -76.139 -4.499 20.986
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
Coethium/server-minetestforfun | mods/stained_glass/init.lua | 9 | 6685 | --[[
Stained Glass 1.2
This mod provides luminescent stained glass blocks for Minetest 0.4.x.
Depends:
[moreblocks] by Calinou
[unifieddyes] by VanessaE
==============================================================================
Sat 04 May 2013 01:52:35 PM EDT
Copyright (C) 2013, Eli Innis
Email: doyousketch2 @... | unlicense |
UnknownX7/darkstar | scripts/globals/spells/bluemagic/mind_blast.lua | 26 | 1989 | -----------------------------------------
-- Spell: Mind Blast
-- Deals lightning damage to an enemy. Additional effect: Paralysis
-- Spell cost: 82 MP
-- Monster Type: Demons
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: MP+5 MND+1
-- Level: 73
-- Casting Time: 3 seconds
-- Recast Time: 30 ... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Rotih_Moalghett.lua | 14 | 1357 | ----------------------------------
-- Area: Fort Karugo Narugo [S]
-- NPC: Rotih_Moalghett
-- Type: Quest
-- @zone 96
-- @pos 280 -20 85
--
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
require("scr... | gpl-3.0 |
kararahmed/karar.dev | plugins/en-badword.lua | 5 | 3119 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY jOker ▀▄ ▄▀
▀▄ ▄▀ BY joker (@fuck_8_you) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY joker ▀▄ ▄▀
▀▄ ▄▀ broadcast : منع كلمات ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
UnknownX7/darkstar | scripts/globals/spells/shellra_v.lua | 26 | 1101 | -----------------------------------------
-- Spell: Shellra
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/mobskills/Everyones_Grudge.lua | 6 | 1545 | ---------------------------------------------
-- Everyones Grudge
--
-- Notes: Invokes collective hatred to spite a single target.
-- Damage done is 5x the amount of tonberries you have killed! For NM's using this it is 50 x damage.
---------------------------------------------
require("/scripts/globals/set... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/qm3.lua | 14 | 1715 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: ??? (Jailer of Faith Spawn)
-- Allows players to spawn the Jailer of Faith by trading 1 High-Quality Euvhi Organ to a ???.
-- @pos -260 0 -645
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = ni... | gpl-3.0 |
seyed1955/seyed1955BDR | plugins/fun.lua | 1 | 17043 |
--------------------------------
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"
--------------------------------
local function get_latlong... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Ifrits_Cauldron/TextIDs.lua | 2 | 1531 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6376; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6378; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6379; -- Ob... | gpl-3.0 |
Tatuy/UAServer | data/npc/FORGOTTENSERVER-ORTS/scripts/Towncryer.lua | 1 | 2755 | local voices = {
"Hear me! Hear me! The mage Wyrdin in the Edron academy is looking for brave adventurers to undertake a task!",
"Hear me! Hear me! The postmaster's guild has open spots for aspiring postmen! Contact Kevin Postner at the post office in the plains south of Kazordoon!",
"Hear me! Hear me! The inquisiti... | gpl-2.0 |
cuiqingwei1981/openwrt | feeds/luci/applications/luci-radvd/luasrc/model/cbi/radvd/rdnss.lua | 74 | 2324 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | gpl-2.0 |
Coethium/server-minetestforfun | mods/mesecons/mesecons/services.lua | 9 | 2799 | -- Dig and place services
mesecon.on_placenode = function (pos, node)
mesecon.update_autoconnect(pos, node)
-- Receptors: Send on signal when active
if mesecon.is_receptor_on(node.name) then
mesecon.receptor_on(pos, mesecon.receptor_get_rules(node))
end
-- Conductors: Send turnon signal when powered or replac... | unlicense |
maikuru23/darkstar | scripts/zones/Quicksand_Caves/npcs/_5s4.lua | 19 | 1277 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -709 0 -380 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Cav... | gpl-3.0 |
montyhall/LeafCount | CNN/dataAugment.lua | 1 | 14086 | --
-- User: peyman
-- Date: 11/12/16
-- Time: 10:56 AM
--
require 'image'
--[[
-- Perform data augmentation on image,label pair
]]
transform = function (i,randImgIdx,img,label,target_h,target_w)
labT = torch.reshape(label,target_h,target_w)
if opt.loss == 'NLL' then labT:csub(1) end
if opt.visualize a... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sanraku.lua | 28 | 9794 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sanraku
-- Type: Zeni NM pop item and trophy management.
-- @pos -125.724 0.999 22.136 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
CuteOne/BadRotations | System/engines/HealingEngine.lua | 1 | 21081 | local _, br = ...
--[[---------------------------------------------------------------------------------------------------
-----------------------------------------Bubba's Healing Engine--------------------------------------]]
local LGIST = br._G.LibStub("LibGroupInSpecT-1.1")
if not br.metaTable1 then
-- localizing... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/abilities/dark_arts.lua | 6 | 1206 | -----------------------------------
-- Ability: Dark Arts
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
if ... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Windurst_Waters/npcs/HomePoint#4.lua | 9 | 1269 | -----------------------------------
-- Area: Windurst Waters
-- NPC: HomePoint#4
-- @pos -92 -2 54 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/hom... | gpl-3.0 |
oanastratulat/Task | share/lua/intf/modules/host.lua | 1 | 10579 | --[==========================================================================[
host.lua: VLC Lua interface command line host module
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Thi... | lgpl-2.1 |
maikuru23/darkstar | scripts/zones/Ilrusi_Atoll/Zone.lua | 36 | 1453 | -----------------------------------
--
-- Zone: Ilrusi_Atoll
-- zone 55
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
require("scripts/zones/Ilrusi_Atoll/TextIDs");
require("scripts/globals/settings");
------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Boneyard_Gully/npcs/_081.lua | 22 | 1453 | -----------------------------------
-- Area: Boneyard_Gully
-- NPC: _081 (Dark Miasma)
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/miss... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/weaponskills/blast_arrow.lua | 15 | 1376 | -----------------------------------
-- Blast Arrow
-- Archery weapon skill
-- Skill level: 200
-- Delivers a melee-distance ranged attack. params.accuracy varies with TP.
-- Aligned with the Snow Gorget & Light Gorget.
-- Aligned with the Snow Belt & Light Belt.
-- Element: None
-- Modifiers: STR:16% ; AGI:25%
-- 100%T... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/cutlet_sandwich.lua | 12 | 1739 | -----------------------------------------
-- ID: 6396
-- Item: cutlet_sandwich
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +40
-- STR +7
-- INT -7
-- Fire resistance +20
-- Attack +20% (cap 120)
-- Ranged Attack +20% (cap 120)
-----------------------------------------
require("scri... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/spells/mages_ballad_ii.lua | 4 | 1186 | -----------------------------------------
-- Spell: Mage's Ballad II
-- Gradually restores target's MP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingChe... | gpl-3.0 |
CuteOne/BadRotations | Rotations/Priest/Initial/PriestInitial.lua | 1 | 8886 | local rotationName = "Overlord"
---------------
--- Toggles ---
---------------
local function createToggles()
-- Rotation Button
local RotationModes = {
[1] = { mode = "On", value = 1 , overlay = "Rotation Enabled", tip = "Enable Rotation", highlight = 1, icon = br.player.spell.smite },
[2] = ... | gpl-3.0 |
allwenandashi/a | plugins/sets.lua | 6 | 2317 | do
local function run(msg, matches)
hashfun = 'bot:help:fun'
hashmods = 'bot:help:mods'
hashadmin = 'bot:help:admin'
hashver = 'bot:ver'
hash = 'bot:help'
if matches[1] == 'sethelpfun' then
if not is_sudo(msg) then return end
redis:set(hashfun,'waiting:'..msg.from.id)
return 'Send Your Text Now 📌'
else
if redis:get... | gpl-2.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/WavesTiles3D.lua | 7 | 2435 |
--------------------------------
-- @module WavesTiles3D
-- @extend TiledGrid3DAction
-- @parent_module cc
--------------------------------
-- brief Get the amplitude rate of the effect.<br>
-- return Return the amplitude rate of the effect.
-- @function [parent=#WavesTiles3D] getAmplitudeRate
-- @param self
-- @ret... | mit |
UnknownX7/darkstar | scripts/zones/Kamihr_Drifts/npcs/LiseranDoorEntrance.lua | 27 | 1210 | -----------------------------------
-- Area: Kamihr Drifts
-- NPC: Liseran Door Entrance
-- Zones to Outer Ra'Kaznar (zone 274)
-- @zone 274
-- @pos -34.549 -181.334 -20.031
-----------------------------------
package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_542.lua | 16 | 2173 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Basty Ambassador
-- Bastok Mission 3.3 "Appointment to Jeuno"
-- @pos 596 16 -19 184
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
------------... | gpl-3.0 |
varner/waifu2x | cleanup_model.lua | 34 | 1775 | require './lib/portable'
require './lib/LeakyReLU'
torch.setdefaulttensortype("torch.FloatTensor")
-- ref: https://github.com/torch/nn/issues/112#issuecomment-64427049
local function zeroDataSize(data)
if type(data) == 'table' then
for i = 1, #data do
data[i] = zeroDataSize(data[i])
end
elseif typ... | mit |
UnknownX7/darkstar | scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin.lua | 19 | 3656 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- MOB: Kirin
-----------------------------------
package.loaded[ "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ] = nil;
-----------------------------------
require( "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" );
require( "scripts/globals/titles"... | gpl-3.0 |
maikuru23/darkstar | scripts/globals/abilities/pets/stone_ii.lua | 6 | 1152 | ---------------------------------------------------
-- Stone 2
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
-----------------------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Selbina/npcs/Isacio.lua | 14 | 3124 | -----------------------------------
-- 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("scripts/globals/... | gpl-3.0 |
xphh/lnet | lnet/model_http.lua | 1 | 5538 | --
-- Written by xphh 2015 with 'MIT License'
--
local modelctx = _G["_MODELCTX"]
assert(modelctx ~= nil, "modelctx nil")
local cfgfile = "lnet.model_http.config."..modelctx
-- global http config
require(cfgfile)
local core = require "lnet.core"
local Sync = core.sync
local proto = require "lnet.proto_h... | mit |
UnknownX7/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Longsword.lua | 17 | 1502 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Longsword
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobE... | gpl-3.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/ActionInterval.lua | 7 | 1942 |
--------------------------------
-- @module ActionInterval
-- @extend FiniteTimeAction
-- @parent_module cc
--------------------------------
-- Gets the ampliture rate, extension in GridAction<br>
-- return The ampliture rate.
-- @function [parent=#ActionInterval] getAmplitudeRate
-- @param self
-- @return float#f... | mit |
UnknownX7/darkstar | scripts/zones/The_Celestial_Nexus/mobs/Eald_narche.lua | 23 | 2908 | -----------------------------------
-- Area: The Celestial Nexus
-- MOB: Eald'Narche - Phase 1
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitia... | gpl-3.0 |
CuteOne/BadRotations | Rotations/Monk/Mistweaver/Blank.lua | 14 | 8995 | local rotationName = "None" -- Change to name of profile listed in options drop down
---------------
--- Toggles ---
---------------
local function createToggles() -- Define custom toggles
-- Rotation Button
local RotationModes = {
[1] = { mode = "Auto", value = 1 , overlay = "Automatic Rotation", tip = "S... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Sacrarium/npcs/qm3.lua | 14 | 1798 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm3 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 62.668 -3.111 127.288 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/Text... | gpl-3.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_extension_auto_api.lua | 18 | 3398 | --------------------------------
-- @module cc
--------------------------------------------------------
-- the cc Control
-- @field [parent=#cc] Control#Control Control preloaded module
--------------------------------------------------------
-- the cc ControlButton
-- @field [parent=#cc] ControlButton#ControlButton... | mit |
UnknownX7/darkstar | scripts/zones/Port_Jeuno/npcs/Veujaie.lua | 14 | 1041 | ----------------------------------
-- Area: Port Jeuno
-- NPC: Veujaie
-- Type: Item Deliverer
-- @zone 246
-- @pos -20.349 7.999 -2.888
--
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Meriphataud_Mountains_[S]/npcs/Telepoint.lua | 18 | 1231 | -----------------------------------
-- Area: Meriphataud Mountains [S]
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Meriphataud_Mountains_[... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/items/caedarva_frog.lua | 12 | 1478 | -----------------------------------------
-- ID: 5465
-- Item: Caedarva Frog
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
sarumjanuch/prosody | plugins/muc/hidden.lib.lua | 2 | 1169 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
-- Copyright (C) 2014 Daurnimator
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local function get_hidden(room)
return room._data.hidden;
end
local fu... | mit |
UnknownX7/darkstar | scripts/zones/Jugner_Forest_[S]/Zone.lua | 12 | 1694 | -----------------------------------
--
-- Zone: Jugner_Forest_[S] (82)
--
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Rockwell.lua | 13 | 2288 | -----------------------------------
-- Area: Maze of Shakhrami
-- Quest: Your Crystal Ball
-- @pos -18 -13 181 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/title... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua | 27 | 2494 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Worn Book
-- Getting "Old Rusty Key (keyitem)"
-- @pos 59 0 19 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
re... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Al_Zahbi/npcs/Salaifa.lua | 14 | 1035 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Salaifa
-- Type: Standard NPC
-- @zone 48
-- @pos -37.462 -7 -41.665
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/PsoXja/npcs/_092.lua | 14 | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _092 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 338.399 -1.925 -70.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Western_Adoulin/npcs/Quam_Jitahr.lua | 14 | 1036 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Quam Jitahr
-- Type: Standard NPC
-- @zone 256
-- @pos -43 0 -105 256
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onTrade Action
-----------------------------------
function on... | gpl-3.0 |
UnknownX7/darkstar | scripts/globals/spells/bluemagic/mandibular_bite.lua | 33 | 1716 | -----------------------------------------
-- Spell: Mandibular Bite
-- Damage varies with TP
-- Spell cost: 38 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 44
-- Casting Time: 0.5 seconds
-- Recast Time: 19.25 seconds
-- Skillchain property(ies): I... | gpl-3.0 |
maikuru23/darkstar | scripts/zones/Davoi/npcs/Hide_Flap.lua | 11 | 2639 | -----------------------------------
-- Area: Davoi
-- NPC: Hide Flap
-- Involved in Quest: The Doorman, The First Meeting
-- @pos 293 3 -213 149 (WAR)(K-9)
-- @pos -124 3 -43 149 (MNK)(F-7)
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
wland/quick3.6 | cocos/scripting/lua-bindings/auto/api/EaseBounceIn.lua | 7 | 1057 |
--------------------------------
-- @module EaseBounceIn
-- @extend EaseBounce
-- @parent_module cc
--------------------------------
-- brief Create the action with the inner action.<br>
-- param action The pointer of the inner action.<br>
-- return A pointer of EaseBounceIn action. If creation failed, return nil.
--... | mit |
UnknownX7/darkstar | scripts/globals/mobskills/Tidal_Slash.lua | 37 | 1331 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water<a href="http://images.wikia.com/ffxi/images/b/b7/Exclamation.gif" class="image" title="Verification Needed" data-image-name="Exclamation.gif" id="Exclamation-gif"><img alt="Verification Needed" src="http://images1.wikia.nocook... | gpl-3.0 |
UnknownX7/darkstar | scripts/zones/Castle_Oztroja/npcs/qm1.lua | 14 | 1540 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: qm1 (???)
-- Involved in Quest: True Strength
-- @pos -100 -71 -132 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
glua/gmod-menu-plugins | lua/menu_plugins/default/snowflakes.lua | 1 | 3038 | local snowstorm = {}
snowstorm.flakeSize = 8 --base size for snow flakes
snowstorm.flakeSizeVariation = 2 --how much should the falkes vary in size
snowstorm.flakeSpeed = 100 --base speed
snowstorm.flakeSpeedVariation = 25 --how much should the falkes vary in speed
snowstorm.flakeRotationSpeed = 100 --max rotation
... | mit |
asmagill/hammerspoon | LuaSkin/LuaSkinTests/lsunit.lua | 6 | 4360 | -- Note: This file is shared between LuaSkinTests and Hammerspoon Tests
local bundlePath = ...
if (type(bundlePath) == "string") then
package.path = bundlePath.."/?.lua"..";"..package.path
else
print("-- Warning: lsunit.lua running with no bundlePath. This is not an error if your package.path contains a testinit.l... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.