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 |
|---|---|---|---|---|---|
Armyluix/darkstar | scripts/zones/Northern_San_dOria/npcs/Cauzeriste.lua | 17 | 1263 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Cauzeriste
-- Guild Merchant NPC: Woodworking Guild
-- @pos -175.946 3.999 280.301 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_zdei.lua | 17 | 2169 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Aw'Zdei
-- Animation Sub 0 Pot Form
-- Animation Sub 1 Pot Form (reverse eye position)
-- Animation Sub 2 Bar Form
-- Animation Sub 3 Ring Form
-----------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Al_Zahbi/npcs/Mihli_Aliapoh.lua | 38 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Mihli Aliapoh
-- Type: Waterserpent General
-- @zone: 48
-- @pos -22.615 -7 78.907
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/rampage.lua | 25 | 1504 | -----------------------------------
-- Rampage
-- Axe weapon skill
-- Skill level: 175
-- Delivers a five-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:50%
-- 100%TP 200%TP 3... | gpl-3.0 |
sdgdsffdsfff/vanilla | resty/lua-resty-logger-socket-0.1/lib/resty/logger/socket.lua | 3 | 11516 | -- Copyright (C) 2013-2014 Jiale Zhi (calio), CloudFlare Inc.
--require "luacov"
local concat = table.concat
local tcp = ngx.socket.tcp
local timer_at = ngx.timer.at
local ngx_log = ngx.log
local ngx_sleep = ngx.sleep
local type =... | mit |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/entities/sign/cl_init.lua | 2 | 1636 |
include('shared.lua')
ENT.RenderGroup = RENDERGROUP_TRANSLUCENT
function ENT:Initialize()
end
local laser = Material( "models/props_lab/xencrystal_sheet" )
local sprite = Material("sprites/light_glow02_add")
function ENT:DrawTranslucent( bDontDrawModel )
local ang = self.Entity:GetAngles():Forward()*10
loc... | mit |
Armyluix/darkstar | scripts/globals/items/dish_of_spaghetti_boscaiola_+1.lua | 35 | 1724 | -----------------------------------------
-- ID: 5201
-- Item: dish_of_spaghetti_boscaiola_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 18
-- Health Cap 125
-- Magic 40
-- Strength -5
-- Dexterity -2
-- Vitality 2
-- Mind 4
-- Magic Regen While Healing 1
-------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Areuhat1.lua | 14 | 1046 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Areuhat
-- @zone 80
-- @pos 21 0 22
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/weaponskills/skullbreaker.lua | 30 | 1486 | -----------------------------------
-- Skullbreaker
-- Club weapon skill
-- Skill level: 150
-- Lowers enemy's INT. Chance of lowering INT varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Snow Gorget & Aqua Gorget.
-- Aligned with the Snow Belt & Aqua Belt.
-- Element: None
-- Modifiers: ST... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/spells/poisonga_iii.lua | 18 | 1103 | -----------------------------------------
-- Spell: Poisonga III
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
mahdib9/m1 | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
mohammadclashclash/hacker2011 | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
mohammad4569/botwe | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/La_Theine_Plateau/npcs/Augevinne.lua | 17 | 1569 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Augevinne
-- Involved in Mission: The Rescue Drill
-- @pos -361 39 266 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/m... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Al_Zahbi/npcs/Gajaad.lua | 5 | 2555 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gajaad
-- Type: Donation Taker
-- @pos 40.781 -1.398 116.261 48
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#5.lua | 17 | 1250 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#5
-- @pos 305 -42 -427 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/glob... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/weaponskills/dark_harvest.lua | 29 | 1229 | -----------------------------------
-- Dark Harvest
-- Scythe weapon skill
-- Skill Level: 30
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: Dark
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300%TP
-- 1.00 ... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Bastok_Mines/npcs/Gregory.lua | 14 | 1045 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gregory
-- Type: ENM
-- @zone 234
-- @pos 51.530 -1 -83.940
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Bastok_... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/HomePoint#1.lua | 17 | 1203 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scripts/globals... | gpl-3.0 |
MonkeyFirst/urho3d-rtt-paint | bin/Data/LuaScripts/32_Urho2DConstraints.lua | 3 | 22992 | -- Urho2D physics Constraints sample.
-- This sample is designed to help understanding and chosing the right constraint.
-- This sample demonstrates:
-- - Creating physics constraints
-- - Creating Edge and Polygon Shapes from vertices
-- - Displaying physics debug geometry and constraints' joints
-- ... | mit |
abriasffxi/darkstar | scripts/zones/Port_San_dOria/npcs/Coullave.lua | 17 | 1986 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coullave
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Bastok_Mines/npcs/Rodellieux.lua | 17 | 1433 | -----------------------------------
-- Area: Bastok_Mines
-- NPC: Rodellieux
-- Only sells when Bastok controlls Fauregandi Region
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/spells/bluemagic/bad_breath.lua | 25 | 3434 | -----------------------------------------
-- Spell: Bad Breath
-- Deals earth damage that inflicts multiple status ailments on enemies within a fan-shaped area originating from the caster
-- Spell cost: 212 MP
-- Monster Type: Plantoids
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 5
-- Stat Bonus: INT+2, MND+2
... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Monastic_Cavern/TextIDs.lua | 22 | 1704 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
InnovArul/codesmart | Assignments/Jul-Nov-2015/ArtificialNeuralNetworks/Assignment2/testing_visualization/testTheModel.lua | 1 | 2228 | -- load the saved model
require 'torch' -- torch
require 'image' -- for color transforms
require 'nn' -- provides a normalization operator
require 'xlua' -- xlua provides useful tools, like progress bars
require 'optim' -- an optimization package, for online and batch methods
opt = {}
opt.size = 'small'
... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Port_Bastok/npcs/Tilian.lua | 38 | 1380 | -----------------------------------
-- Area: Port Bastok
-- NPC: Tilian
-- Type: Quest NPC
-- @pos -118.460 4.999 -68.090 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Port_Windurst/npcs/Puo_Rhen.lua | 14 | 1050 | -----------------------------------
-- Area: Port Windurst
-- NPC: Puo Rhen
-- Type: Mission Starter
-- @zone 240
-- @pos -227.964 -9 187.087
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
--------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Davoi/npcs/_45g.lua | 19 | 2043 | -----------------------------------
-- Area: Davoi
-- NPC: Groaning Pond
-- Used In Quest: Whence Blows the Wind
-- @pos 101 0.1 60 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin_s_Avatar.lua | 22 | 2284 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- MOB: Kirin's Avatar
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
require("scripts/globals/sta... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/plate_of_boiled_barnacles.lua | 36 | 1279 | -----------------------------------------
-- ID: 5980
-- Item: Plate of Boiled Barnacles
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Charisma -3
-- Defense % 25 Cap 130
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
ktenzer/RHMF | client/lua/hardware.lua | 1 | 2479 | -- file:hardware.lua
local module = {}
function module.set_led(name, state)
print ("set_led:" .. config.HW_LED_PINS[name] .. "=" .. config.HW_LED_STATES[state])
-- pin = 1
-- pin = config.HW_LED_PINS[name]
-- print ("type of pin: ", type(pin))
-- level = gpio.LOW
-- level = config.HW_LED_STATES[... | apache-2.0 |
fairer/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
sum2012/mame | 3rdparty/genie/tests/actions/vstudio/test_vs2010_project_kinds.lua | 47 | 5709 | T.vs2010_project_kinds= { }
local vs10_project_kinds = T.vs2010_project_kinds
local sln, prj
function vs10_project_kinds.setup()
_ACTION = "vs2010"
sln = solution "MySolution"
configurations { "Debug" }
platforms {}
prj = project "MyProject"
language "C++"
end
local function get_buffer(platform)
... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#4.lua | 17 | 1249 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#4
-- @pos 500 -42 158 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globa... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Port_San_dOria/npcs/Fontoumant.lua | 13 | 4854 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Fontoumant
-- Starts Quest: The Brugaire Consortium
-- Involved in Quests: Riding on the Clouds
-- @zone 232
-- @pos -10 -10 -122
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
----------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Stormwind.lua | 30 | 2237 | ---------------------------------------------
-- Stormwind
--
-- Description: Creates a whirlwind that deals Wind damage to targets in an area of effect.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown radial
-- Notes:
---------------------------------------------
require("scripts/glob... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Port_San_dOria/npcs/Regine.lua | 17 | 5797 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Regine
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/quests");
requi... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Chateau_dOraguille/npcs/Chaloutte.lua | 14 | 1066 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Chaloutte
-- Type: Event Scene Replayer
-- @zone 233
-- @pos 10.450 -1 -11.985
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/butterpear.lua | 36 | 1246 | -----------------------------------------
-- ID: 5908
-- Item: Butterpear
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility +4
-- Vitality +1
-- Resist Amnesia +20
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
ueser/FIDDLE | _deprecated/TORCHmodels/models/NSmodel.lua | 2 | 1975 | --[[
NETseq models
]]--
require 'torch' -- torch
require 'nngraph' -- provides all sorts of trainable modules/layers
----------------------------------------------------------------------
----------------------------------------------------------------------
print '==> define parameters'
------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ci.lua | 14 | 1496 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5ci (Gate of Light)
-- Involved In Mission: 3-2
-- @pos -331 0 139 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyite... | gpl-3.0 |
bravnsgaard/premake-core | tests/actions/vstudio/vc200x/test_nmake_settings.lua | 2 | 2246 | --
-- tests/actions/vstudio/vc200x/test_nmake_settings.lua
-- Validate generation the VCNMakeTool element in Visual Studio 200x C/C++ projects.
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("vs200x_nmake_settings")
local vc200x = p.vstudio.vc200x
--
--... | bsd-3-clause |
LuaDist2/lovetoys | spec/config_spec.lua | 4 | 1186 | local classes = {
"Entity",
"Engine",
"Component",
"EventManager",
"System",
"util",
"class",
"ComponentAdded",
"ComponentRemoved"
}
describe('Configuration', function()
after_each(
function()
local lovetoys = require('lovetoys')
lovetoys.config = {}
... | mit |
Armyluix/darkstar | scripts/zones/Kazham/npcs/Lulupp.lua | 17 | 5995 | -----------------------------------
-- Area: Kazham
-- NPC: Lulupp
-- Type: Standard NPC
-- @zone: 250
-- @pos -26.567 -3.5 -3.544
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/globals/pathfind");
local path = {
-27.457125, -3.043032, -22.057966,
-27.37... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/hellsteak.lua | 35 | 1725 | -----------------------------------------
-- ID: 5609
-- Item: hellsteak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- Attack % 19
-- Ranged ATT % 19
-- Dragon Killer 5
-- Demon Killer 5
---------... | gpl-3.0 |
LuaDist2/vanilla | spec/v/dispatcher_spec.lua | 2 | 3728 | require('spec.helper')
describe("Dispatcher", function()
before_each(function()
Application = require 'vanilla.v.application'
Dispatcher = require 'vanilla.v.dispatcher'
Controller = require 'vanilla.v.controller'
Request = require 'vanilla.v.request'
Response = require 'van... | mit |
abriasffxi/darkstar | scripts/zones/Lower_Jeuno/npcs/_l10.lua | 7 | 1569 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -19 0 -4.625
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Grounds_Tome.lua | 34 | 1151 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTr... | gpl-3.0 |
Jigoku/simon | sound.lua | 1 | 1136 | --[[
* Copyright (C) 2016 Ricky K. Thomson
*
* 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.
* This program is d... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Nivorajean.lua | 38 | 1048 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Nivorajean
-- Type: Standard NPC
-- @zone: 26
-- @pos 15.890 -22.999 13.322
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/cataclysm.lua | 23 | 1521 | -----------------------------------
-- Cataclysm
-- Skill level: 290
-- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP.
-- Generates a significant amount of Enmity.
-- Does not stack with Sneak Attack
-- Aligned with Aqua Gorget.
-- Aligned with Aqua Belt.
-- Properties:
-- E... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Kazham/npcs/Pofhu_Tendelicon.lua | 15 | 1103 | -----------------------------------
-- Area: Kazham
-- NPC: Pofhu Tendelicon
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
------------------------... | gpl-3.0 |
peahonen/domoticz | scripts/lua/script_time_demo.lua | 55 | 1932 | -- demo time script
-- script names have three name components: script_trigger_name.lua
-- trigger can be 'time' or 'device', name can be any string
-- domoticz will execute all time and device triggers when the relevant trigger occurs
--
-- copy this script and change the "name" part, all scripts named "demo" are ign... | gpl-3.0 |
bravnsgaard/premake-core | modules/codelite/tests/test_codelite_workspace.lua | 4 | 4278 | ---
-- codelite/tests/test_codelite_workspace.lua
-- Validate generation for CodeLite workspaces.
-- Author Manu Evans
-- Copyright (c) 2015 Manu Evans and the Premake project
---
local suite = test.declare("codelite_workspace")
local p = premake
local codelite = p.modules.codelite
--
-- Setup
--
local wks, prj... | bsd-3-clause |
Armyluix/darkstar | scripts/zones/Northern_San_dOria/npcs/Achantere_TK.lua | 28 | 4907 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Achatere, T.K.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run ... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Chemical_Bomb.lua | 28 | 1133 | ---------------------------------------------
-- Chemical_Bomb
--
-- Description: slow + elegy
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMob... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Gustav_Tunnel/mobs/Macroplasm.lua | 18 | 1100 | ----------------------------------
-- Area: Gustav Tunnel
-- MOB: macroplasm
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/zones/Gustav_Tunnel/TextIDs");
---------------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm1.lua | 17 | 1248 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm1 (???)
-- Involved In Quest: An Empty Vessel
-- @pos 238.524 2.661 -148.784 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Val... | gpl-3.0 |
Dauthdaert/2D-Platformer | main.lua | 1 | 4634 | local AdvTiledLoader = require("libs/AdvTiledLoader.Loader")
require("Ancilliary/camera")
require("Ancilliary/menu")
require("Ancilliary/player")
require("Ancilliary/FileManagement")
require("Ancilliary/ImageManagement")
require("libs/ANal")
math.randomseed(os.time())
math.random()
math.random()
math.random()
functio... | gpl-2.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/entities/ent_mad_incendiary/init.lua | 2 | 3448 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')
/*---------------------------------------------------------
Name: ENT:Initialize()
---------------------------------------------------------*/
function ENT:Initialize()
self.Owner = self.Entity:GetOwner()
if !ValidEntity(self.Owner) th... | mit |
abriasffxi/darkstar | scripts/globals/spells/absorb-vit.lua | 17 | 1368 | --------------------------------------
-- Spell: Absorb-VIT
-- Steals an enemy's vitality.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
----------------... | gpl-3.0 |
TelewildV3/telewild | plugins/webshot.lua | 11 | 1485 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
mbmahdiiii/mm | plugins/webshot.lua | 11 | 1485 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
abriasffxi/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 |
urueedi/luci | modules/luci-base/luasrc/sys/iptparser.lua | 47 | 9515 | --[[
Iptables parser and query library
(c) 2008-2009 Jo-Philipp Wich <jow@openwrt.org>
(c) 2008-2009 Steven Barth <steven@midlink.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:... | apache-2.0 |
urueedi/luci | protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua | 47 | 3729 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local username, password, ac, service
local ipv6, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand, mtu
username = section:taboption("gener... | apache-2.0 |
Armyluix/darkstar | scripts/zones/Nashmau/npcs/Pipiroon.lua | 34 | 1224 | -----------------------------------
-- Area: Nashmau
-- NPC: Pipiroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------... | gpl-3.0 |
CryTek-Team/CryTek | plugins/info.lua | 3 | 8881 | do
local SUDO = 176619893 --
local function setrank(msg, name, value) -- setrank function
local hash = nil
if msg.to.type == 'chat' then
hash = 'rank:'..msg.to.id..':variables'
end
if hash then
redis:hset(hash, name, value)
return send_msg('chat#id'..msg.to.id, 'مقام کاربر ('..name..') به '..value..' ... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/RuLude_Gardens/npcs/Tillecoe.lua | 38 | 1037 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Tillecoe
-- Type: Standard NPC
-- @zone: 243
-- @pos 38.528 -0.997 -6.363
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
------------... | gpl-3.0 |
Lmaths/lsyncd | default-direct.lua | 8 | 4330 | --~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- default-direct.lua
--
-- Keeps two directories with /bin/cp, /bin/rm and /bin/mv in sync.
-- Startup still uses rsync tough.
--
-- A (Layer 1) configuration.
--
-- Note:
-- this is infact just a configura... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Northern_San_dOria/npcs/Capiria.lua | 14 | 1477 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Capiria
-- Type: Involved in Quest (Flyers for Regine)
-- @zone: 231
-- @pos -127.355 0.000 130.461
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Southern_San_dOria/npcs/Andecia.lua | 13 | 3192 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Andecia
-- Starts and Finishes Quest: Grave Concerns
-- @zone 230
-- @pos 167 0 45
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/So... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Northern_San_dOria/npcs/Cauzeriste.lua | 14 | 1241 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Cauzeriste
-- Guild Merchant NPC: Woodworking Guild
-- @pos -175.946 3.999 280.301 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
dios-game/dios-cocos | src/apps/dios-lua-app/Resources/src/dxm/ui/dialog_ui.lua | 3 | 2434 | -- region *.lua
-- Date
-- 此文件由[BabeLua]插件自动生成
require "dxm/ui/base_ui"
dxm = dxm or { }
dxm.CDialogUI = class("dxm.CDialogUI", dxm.CBaseUI)
local CDialogUI = dxm.CDialogUI
function CDialogUI:ctor(void)
CDialogUI.super.ctor(self)
end
function CDialogUI:Init()
return true
end
function CDialogUI:Create()
... | mit |
obelisk21/prosody-modules | mod_sift/mod_sift.lua | 32 | 6448 |
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
-- advertise disco features
module:add_feature("urn:xmpp:sift:1");
-- supported features
module:add_feature("urn:xmpp:sift:stanzas:iq");
module:add_feature("urn:xmpp:sift:stanzas:message");
module:add_feature("urn:xmpp:sift:stanzas:presence"... | mit |
Lmaths/lsyncd | examples/lpostcmd.lua | 4 | 2619 | -----
-- User configuration file for lsyncd.
-- This needs lsyncd >= 2.0.3
--
-- This configuration will execute a command on the remote host
-- after every successfullycompleted rsync operation.
-- for example to restart servlets on the target host or so.
local rsyncpostcmd = {
-- based on default rsync.
default.r... | gpl-2.0 |
abriasffxi/darkstar | scripts/globals/abilities/monks_roll.lua | 19 | 2658 | -----------------------------------
-- Ability: Monk's Roll
-- Enhances "Subtle Blow" effect for party members within area of effect
-- Optimal Job: Monk
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 31
--
-- Die Roll |No MNK |With MNK
-- -------- -------- -----------
-- 1 |+8 |+18
-- 2 ... | gpl-3.0 |
johnny5550822/torch7-DL-demos | simple-cnn-101015/gpu_train_batch_optim.lua | 1 | 9930 | -- ###############
-- gpu version
-- This version has batch processing and function to select different gradient learning method
-- include confusion matrix
-- The training data can be also obtained in https://github.com/hpenedones/luacnn
-- ###############
require "torch"
require "nn"
require "math"
require "optim"
... | mit |
deniz1a/OpenRA | lua/stacktraceplus.lua | 59 | 12006 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must be availa... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zarfhid.lua | 34 | 1034 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zarfhid
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--------... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/bowl_of_delicious_puls.lua | 35 | 1320 | -----------------------------------------
-- ID: 4533
-- Item: Bowl of Delicious Puls
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity -1
-- Vitality 3
-- Health Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Walls/npcs/Kalupa-Tawalupa.lua | 17 | 2408 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-90 Y:-9 Z:109
-- NPC: Kalupa-Tawalupa
-- Working 100%
-- Involved in Quest: To Bee or Not to Bee?
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-------------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/abilities/elemental_siphon.lua | 26 | 2807 | -----------------------------------
-- Ability: Elemental Siphon
-- Drains MP from your summoned spirit.
-- Obtained: Summoner level 50
-- Recast Time: 5:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/pets");
r... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Spire_of_Holla/npcs/_0h0.lua | 17 | 1469 | -----------------------------------
-- Area: Spire of Holla
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/gl... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Sea_Puk.lua | 12 | 1367 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Sea Puk
-- Note: Place holder Nis Puk
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player, isK... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Bastok_Mines/npcs/Sieglinde.lua | 24 | 1809 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Sieglinde
-- Alchemy Synthesis Image Support
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafti... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Port_Windurst/npcs/Pherchabalet.lua | 14 | 1052 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pherchabalet
-- Type: Standard NPC
-- @zone 240
-- @pos 34.683 -5.999 137.447
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
------------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Windurst_Woods/npcs/Rakoh_Buuma.lua | 17 | 2709 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Rakoh Buuma
-- Starts Windurst Missions
-- @pos 106 -5 -23 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
--------------------------------... | gpl-3.0 |
Francesco149/lainbot | plugins/translate.lua | 7 | 1732 |
--[[
-- Translate text using Google Translate.
-- http://translate.google.com/translate_a/t?client=z&ie=UTF-8&oe=UTF-8&hl=en&tl=en&text=hello
--]]
do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/t"
-- URL query parameters
local params = {
client = ... | gpl-2.0 |
Armyluix/darkstar | scripts/globals/spells/bluemagic/filamented_hold.lua | 18 | 1471 | -----------------------------------------
-- Spell: Filamented Hold
-- Reduces the attack speed of enemies within a fan-shaped area originating from the caster
-- Spell cost: 38 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1
-- Level: 52
-- Casting Time: ... | gpl-3.0 |
abriasffxi/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 |
abriasffxi/darkstar | scripts/globals/mobskills/Trembling.lua | 37 | 1114 | ---------------------------------------------
-- Trembling
--
-- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Physical
-- Wipes Shadows
-- Range: 10' radial
---------------------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
urueedi/luci | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua | 61 | 1072 | -- Copyright 2009 Daniel Dickinson
-- Licensed to the public under the Apache License 2.0.
require("luci.controller.luci_diag.devinfo_common")
m = Map("luci_devinfo", translate("SIP Device Scanning Configuration"), translate("Configure scanning for supported SIP devices on specified networks. Decreasing \'Timeout\', ... | apache-2.0 |
Armyluix/darkstar | scripts/zones/Port_Bastok/npcs/_6k8.lua | 17 | 1389 | -----------------------------------
-- Area: Port Bastok
-- NPC: Door: Departures Exit
-- @zone 236
-- @pos -62 1 -8
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Southern_San_dOria/npcs/Katharina.lua | 37 | 1095 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Katharina
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Southe... | gpl-3.0 |
ennorehling/tolua | src/bin/lua/operator.lua | 14 | 2954 | -- tolua: operator class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: operator.lua,v 1.3 2009/11/24 16:45:14 fabraham Exp $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to p... | mit |
jebenexer/kong | kong/dao/factory.lua | 3 | 12299 | local DAO = require "kong.dao.dao"
local utils = require "kong.tools.utils"
local ModelFactory = require "kong.dao.model_factory"
local CORE_MODELS = {
"apis",
"consumers",
"plugins",
"ssl_certificates",
"ssl_servers_names",
"upstreams",
"targets",
}
-- returns db errors as strings, including the initia... | apache-2.0 |
Armyluix/darkstar | scripts/zones/Windurst_Woods/npcs/Ponono.lua | 44 | 2111 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Ponono
-- Type: Clothcraft Guild Master
-- @pos -38.243 -2.25 -120.954 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requir... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/mobskills/Polar_Blast.lua | 33 | 1412 | ---------------------------------------------
-- Polar Blast
--
-- Description: Deals Ice damage to enemies within a fan-shaped area. Additional effect: Paralyze
-- Type: Breath
-- Ignores Shadows
-- Range: Unknown Cone
---------------------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
bravnsgaard/premake-core | tests/workspace/test_eachconfig.lua | 32 | 1470 | --
-- tests/workspace/test_eachconfig.lua
-- Automated test suite for the workspace-level configuration iterator.
-- Copyright (c) 2012-2015 Jason Perkins and the Premake project
--
local suite = test.declare("workspace_eachconfig")
local p = premake
--
-- Setup and teardown
--
local wks
function suite.setup(... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.