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 |
|---|---|---|---|---|---|
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/mechanics/ai/boss/adp/adp_aicore.lua | 1 | 2653 | -- 初始化AI核心
AICore = AICore or {}
-- 获取随机目标
-- entity = 攻击者
-- range = 获取范围,下同
function AICore:RandomEnemyHeroInRange( entity, range )
local enemies = FindUnitsInRadius( entity:GetTeam(), entity:GetOrigin(), nil, range, DOTA_UNIT_TARGET_TEAM_ENEMY, DOTA_UNIT_TARGET_HERO, 0, 0, false )
if #enemies > 0 then
... | mit |
ArnaudSiebens/AutoActionCam | Libs/AceGUI-3.0/widgets/AceGUIWidget-Heading.lua | 68 | 2216 | --[[-----------------------------------------------------------------------------
Heading Widget
-------------------------------------------------------------------------------]]
local Type, Version = "Heading", 20
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_Windurst/npcs/Gold_Skull.lua | 17 | 2228 | -----------------------------------
-- Area: Port Windurst
-- NPC: Gold Skull
-- Mission NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Bastok_Mines/npcs/Abd-al-Raziq.lua | 42 | 2636 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Abd-al-Raziq
-- Type: Alchemy Guild Master
-- @pos 126.768 1.017 -0.234 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("... | gpl-3.0 |
fw867/ntopng | scripts/lua/get_flow_data.lua | 1 | 1797 | --
-- (C) 2013-14 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
require "flow_utils"
sendHTTPHeader('text/html; charset=utf-8')
local debug = debug_flow_data
flow_key = _GET["flow_key"]
if(flow_key == nil) then
flow = nil... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Bastok/npcs/Talib.lua | 4 | 2754 | -----------------------------------
-- Area: Port Bastok
-- NPC: Talib
-- Starts Quest: Beauty and the Galka
-- Starts & Finishes Quest: Shady Business
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
projectbismark/luci-bismark | protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua | 7 | 3925 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 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
]]--
local ma... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Walls/npcs/Tsuaora-Tsuora.lua | 5 | 1044 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Tsuaora-Tsuora
-- Type: Standard NPC
-- @zone: 239
-- @pos: 71.489 -3.418 -67.809
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----... | gpl-3.0 |
everslick/awesome | lib/beautiful/xresources.lua | 5 | 2635 | ----------------------------------------------------------------------------
--- Library for getting xrdb data.
--
-- @author Yauhen Kirylau <yawghen@gmail.com>
-- @copyright 2015 Yauhen Kirylau
-- @release @AWESOME_VERSION@
-- @module beautiful.xresources
---------------------------------------------------------... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Metalworks/npcs/Taulluque.lua | 38 | 1048 | -----------------------------------
-- Area: Metalworks
-- NPC: Taulluque
-- Type: Past Event Watcher
-- @zone: 237
-- @pos 39.907 -14.999 -21.083
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("s... | gpl-3.0 |
paulosalvatore/forgottenserver | data/spells/scripts/custom/polymorph.lua | 11 | 1084 | local condition = Condition(CONDITION_OUTFIT)
condition:setParameter(CONDITION_PARAM_TICKS, 20000)
condition:setOutfit(0, 230, 0, 0, 0, 0)
condition:setOutfit(0, 231, 0, 0, 0, 0)
condition:setOutfit(0, 232, 0, 0, 0, 0)
condition:setOutfit(0, 233, 0, 0, 0, 0)
condition:setOutfit(0, 234, 0, 0, 0, 0)
condition:setOutfit(0... | gpl-2.0 |
poelzi/ulatencyd | src/lua/string.lua | 2 | 1587 | --[[
Copyright 2010,2011 ulatencyd developers
This file is part of ulatencyd.
ulatencyd 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 opt... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/abilities/divine_waltz.lua | 28 | 2373 | -----------------------------------
-- Ability: Divine Waltz
-- Heals party members within area of effect.
-- Obtained: Dancer Level 25
-- TP Required: 40%
-- Recast Time: 00:13
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Ship_bound_for_Selbina/npcs/Rajmonda.lua | 2 | 1039 | -----------------------------------
-- Area: Ship bound for Selbina
-- NPC: Rajmonda
-- Guild Merchant NPC: Fishing Guild
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil;
require("scripts/zones/Ship_bound_for_Selbina/TextIDs");
-------------------------------... | gpl-3.0 |
Dual-Boxing/Jamba | Libs/AceDB-3.0/AceDB-3.0.lua | 11 | 24711 | --- **AceDB-3.0** manages the SavedVariables of your addon.
-- It offers profile management, smart defaults and namespaces for modules.\\
-- Data can be saved in different data-types, depending on its intended usage.
-- The most common data-type is the `profile` type, which allows the user to choose
-- the active profi... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/victory_smite.lua | 4 | 1530 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget, ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Gusgen_Mines/npcs/_5g4.lua | 34 | 1102 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g4 (Door E)
-- @pos 19.998 -22.4 174.506 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
---------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Meriphataud_Mountains_[S]/npcs/Cavernous_Maw.lua | 29 | 1505 | -----------------------------------
-- Area: Meriphataud Mountains [S]
-- NPC: Cavernous Maw
-- @pos 597 -32 279 97
-- Teleports Players to Meriphataud Mountains
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
rlowrance/re | lua/Resampling-test.lua | 1 | 2319 | -- Resampling-test.lua
-- unit test of Resampling class
require 'Resampling'
require 'Tester'
myTests = {}
tester = Tester()
--------------------------------------------------------------------------------
-- utilities
--------------------------------------------------------------------------------
function assert... | gpl-3.0 |
kyroskoh/kong | kong/plugins/hmac-auth/access.lua | 3 | 5256 | local cache = require "kong.tools.database_cache"
local stringy = require "stringy"
local responses = require "kong.tools.responses"
local constants = require "kong.constants"
local math_abs = math.abs
local ngx_time = ngx.time
local ngx_gmatch = ngx.re.gmatch
local ngx_decode_base64 = ngx.decode_base64
local ngx_pars... | apache-2.0 |
DrMelon/OpenRA | mods/ra/maps/soviet-01/soviet01.lua | 26 | 2150 | Yaks = { "yak", "yak", "yak" }
Airfields = { Airfield1, Airfield2, Airfield3 }
InsertYaks = function()
local i = 1
Utils.Do(Yaks, function(yakType)
local start = YakEntry.CenterPosition + WVec.New(0, (i - 1) * 1536, Actor.CruiseAltitude(yakType))
local dest = StartJeep.Location + CVec.New(0, 2 * i)
local yak =... | gpl-3.0 |
everslick/awesome | lib/awful/screen.lua | 7 | 4176 | ---------------------------------------------------------------------------
--- Screen module for awful
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008 Julien Danjou
-- @release @AWESOME_VERSION@
-- @module awful.screen
--------------------------------------------------------------------------... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/crawler_egg.lua | 3 | 1092 | -----------------------------------------
-- ID: 4357
-- Item: crawler_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
cloudflare/lua-resty-json | tests/test.lua | 1 | 2553 | package.cpath = package.cpath..";../?.so"
package.path = package.cpath..";../?.lua"
local ljson_decoder = require 'json_decoder'
local decoder = ljson_decoder.new()
local function cmp_lua_var(obj1, obj2)
if type(obj1) ~= type(obj2) then
return
end
if type(obj1) == "string" or
type(obj1) ==... | bsd-2-clause |
Sonicrich05/FFXI-Server | scripts/zones/Western_Altepa_Desert/npcs/_3h6.lua | 17 | 1870 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h6 (Topaz Column)
-- Notes: Mechanism for Altepa Gate
-- @pos -260 10 -344 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
CSAILVision/sceneparsing | trainingCode/torch/DataLoader.lua | 1 | 3378 | require 'hdf5'
local utils = require 'utils'
local DataLoader = torch.class('DataLoader')
function DataLoader:__init(opt)
-- open the hdf5 file
print('DataLoader loading h5 file: ', opt.h5_file)
self.h5_file = hdf5.open(opt.h5_file, 'r')
self.info = utils.read_json(opt.json_file)
-- extract image size from... | bsd-3-clause |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Walls/npcs/_6n2.lua | 4 | 5142 | -----------------------------------
-- Area: Windurst Walls
-- Door: House of the Hero
-- Involved in Mission 2-1
-- Involved In Quest: Know One's Onions, Onion Rings, The Puppet Master, Class Reunion
-- @pos -26 -13 260 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = ni... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Garlaige_Citadel/npcs/Mashira.lua | 2 | 2036 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Mashira
-- Involved in Quests: Rubbish day, Making Amens!
-- @zone 200
-- @pos 141 -6 138
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/abilities/weapon_bash.lua | 2 | 1127 | -----------------------------------
-- Ability: Weapon Bash
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
if (not playe... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria/npcs/Deraquien.lua | 2 | 2286 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Deraquien
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -98 -2 31 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | In Development/servius_development/tfa_swrp_imperial_era_weapons_pack/lua/weapons/tfa_voxel_ee3/shared.lua | 1 | 10614 | SWEP.Gun = ("tfa_voxel_ee3") --Make sure this is unique. Specically, your folder name.
if (GetConVar(SWEP.Gun.."_allowed")) != nil then
if not (GetConVar(SWEP.Gun.."_allowed"):GetBool()) then SWEP.Base = "tfa_blacklisted" SWEP.PrintName = SWEP.Gun return end
end
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category ... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Prerivon.lua | 38 | 1025 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Prerivon
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 142.324 0.000 132.515
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
rayaman/multi | oldversions/MultiManager(1.2.0).lua | 1 | 32750 | if not bin then
print('Warning the \'bin\' library wasn\'t required! multi:tofile(path) and the multi:fromfile(path,int) features will not work!')
end
if table.unpack then
unpack=table.unpack
end
function table.merge(t1, t2)
for k,v in pairs(t2) do
if type(v) == 'table' then
if type(t1[k] or false) == ... | mit |
RavenX8/osIROSE-new | scripts/npcs/ai/[referee]_pirre.lua | 2 | 1069 | registerNpc(1114, {
walk_speed = 0,
run_speed = 0,
scale = 120,
r_weapon = 0,
l_weapon = 161,
level = 10,
hp = 100,
attack = 100,
hit = 100,
def = 100,
res = 100,
avoid ... | apache-2.0 |
everslick/awesome | lib/menubar/utils.lua | 11 | 7630 | ---------------------------------------------------------------------------
--- Utility module for menubar
--
-- @author Antonio Terceiro
-- @copyright 2009, 2011-2012 Antonio Terceiro, Alexander Yakushev
-- @release @AWESOME_VERSION@
-- @module menubar.utils
------------------------------------------------------------... | gpl-2.0 |
0xbs/premade-groups-filter | Dialog/Help.lua | 1 | 3960 | -------------------------------------------------------------------------------
-- Premade Groups Filter
-------------------------------------------------------------------------------
-- Copyright (C) 2022 Elotheon-Arthas-EU
--
-- This program is free software; you can redistribute it and/or modify
-- it under the ter... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Phomiuna_Aqueducts/npcs/_0rv.lua | 2 | 1026 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
shayanchabok555/teleparsyantispam | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
ahmedbrake/telegram-bot | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
DrMelon/OpenRA | mods/d2k/maps/atreides-01b/atreides01b.lua | 18 | 4800 |
HarkonnenReinforcements = { }
HarkonnenReinforcements["Easy"] =
{
{ "rifle", "rifle" }
}
HarkonnenReinforcements["Normal"] =
{
{ "rifle", "rifle" },
{ "rifle", "rifle", "rifle" },
{ "rifle", "trike" },
}
HarkonnenReinforcements["Hard"] =
{
{ "rifle", "rifle" },
{ "trike", "trike" },
{ "rifle", "rifle", "rifle... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Lufaise_Meadows/mobs/Splinterspine_Grukjuk.lua | 37 | 1181 | -----------------------------------
-- Area: Lufaise Meadows (24)
-- Mob: Splinterspine_Grukjuk
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/divine_sword_+1.lua | 16 | 1039 | -----------------------------------------
-- ID: 16826
-- Item: Divine Sword +1
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
---------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Behemoths_Dominion/npcs/Cermet_Headstone.lua | 17 | 2940 | -----------------------------------
-- Area: Behemoth's Dominion
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Lightning Headstone)
-- @pos -74 -4 -87 127
-----------------------------------
package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin.lua | 23 | 3674 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: Kirin
-----------------------------------
package.loaded[ "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ] = nil;
-----------------------------------
require( "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" );
require( "scripts/global... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Woods/npcs/Ominous_Cloud.lua | 19 | 5257 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Ominous Cloud
-- Type: Traveling Merchant NPC
-- @zone: 241
-- @pos -20.632 -3.939 -40.554
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = ... | gpl-3.0 |
MrClash/Monsterb0t | plugins/filter.lua | 6 | 3623 | local function save_filter(msg, name, value)
local hash = nil
if msg.to.type == 'channel' then
hash = 'chat:'..msg.to.id..':filters'
end
if msg.to.type == 'user' then
return 'SUPERGROUPS only'
end
if hash then
redis:hset(hash, name, value)
return "Successfull!"
end
end
local function get_filter_hash(msg... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Markets/npcs/Brygid.lua | 2 | 5767 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Brygid
-- Start & Finishes Quest: Brygid the Stylist & Brygid the Stylist Returns
-- Involved in Quests: Riding on the Clouds
-- @zone 235
-- @pos -90 -4 -108
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] =... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/gain-dex.lua | 2 | 2309 | --------------------------------------
-- Spell: Gain-DEX
-- Boosts targets DEX stat
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
----------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Ordelles_Caves/npcs/_5d1.lua | 19 | 2616 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: Strange Apparatus
-- @pos: -294 28 -100 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
require("scripts/zones/Ordelles_Caves/TextIDs");
require("scripts/globals/strangeapparatus");
------------... | gpl-3.0 |
mandrav/moai_pex_editor | src/designer.lua | 1 | 24163 | module(..., package.seeall)
-- MOAIDebugLines.setStyle ( MOAIDebugLines.PROP_MODEL_BOUNDS, 2, 1, 1, 1 )
-- MOAIDebugLines.setStyle ( MOAIDebugLines.PROP_WORLD_BOUNDS, 2, 0.75, 0.75, 0.75 )
-- this function updates the slider's label with the current value while dragging the thumb
function defaultSliderChange(e)
loca... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Yung_Yaam.lua | 6 | 1666 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yung Yaam
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -63 -4 27
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/weaponskills/tachi_ageha.lua | 30 | 1716 | -----------------------------------
-- Tachi Ageha
-- Great Katana weapon skill
-- Skill Level: 300
-- Lowers target's defense. Chance of lowering target's defense varies with TP.
-- 30% Defense Down
-- Duration of effect is exactly 3 minutes.
-- Aligned with the Shadow Gorget, Soil Gorget.
-- Aligned with the ... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Mount_Zhayolm/npcs/_1p6.lua | 23 | 1050 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Engraved Tablet
-- @pos 320 -15.35 -379 61
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
--... | gpl-3.0 |
parsaghx/t | plugins/badword.lua | 17 | 2452 | --[[
#
# @WaderTGTeam
# @WaderTG
#
]]
local function addword(msg, name)
local hash = 'chat:'..msg.to.id..':badword'
redis:hset(hash, name, 'newword')
return "added the badword:\n\n>"..name
end
local function get_variables_hash(msg)
return 'chat:'..msg.to.id..':badword'
end
local funct... | gpl-2.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/mechanics/camps/creep_power.lua | 1 | 1195 | if CreepPower == nil then
CreepPower = class({})
end
function CreepPower:GetPowerForMinute (minute)
local multFactor = 1
--HP MANA DMG ARM GOLD EXP
if minute == 0 then
return { 1, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 * self.numPl... | mit |
fruitwasp/DarkRP | gamemode/modules/logging/cl_init.lua | 8 | 1118 | --[[---------------------------------------------------------------------------
Log a message to console
---------------------------------------------------------------------------]]
local function AdminLog(um)
local colour = Color(um:ReadShort(), um:ReadShort(), um:ReadShort())
local text = DarkRP.deLocalise(u... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Gusgen_Mines/npcs/Clay.lua | 2 | 1167 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Clay
-- involved in quest A Potter's Preference
-- pos x:117 y:-21 z:432
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/globals/settings");
package.loaded["scripts/zones/Gusgen... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Tavourine.lua | 36 | 1864 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Tavourine
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sh... | gpl-3.0 |
ShmooDude/ovale | dist/scripts/ovale_mage_spells.lua | 1 | 33046 | local __exports = LibStub:NewLibrary("ovale/scripts/ovale_mage_spells", 80000)
if not __exports then return end
local __Scripts = LibStub:GetLibrary("ovale/Scripts")
local OvaleScripts = __Scripts.OvaleScripts
__exports.register = function()
local name = "ovale_mage_spells"
local desc = "[8.0] Ovale: Mage spell... | gpl-2.0 |
Servius/tfa-sw-weapons-repository | Backups_Reworks/tfa_mega_rework/lua/weapons/tfa_swch_ll30_rework/shared.lua | 1 | 3368 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "LL-30"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 70
SWEP.Slot = 1
SWEP.SlotPos = 5
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/LL30")
killicon.Add( "weapon_752_ll30", "HUD/killicons/L... | apache-2.0 |
SimCMinMax/EasyRaid | HeroRotation_DemonHunter/Vengeance.lua | 1 | 15395 | --- ============================ HEADER ============================
--- ======= LOCALIZE =======
-- Addon
local addonName, addonTable = ...
-- HeroDBC
local DBC = HeroDBC.DBC
-- HeroLib
local HL = HeroLib
local Cache = HeroCache
local Unit = HL.Unit
local Player = Unit.Player
local T... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/tfa_swch_dc15a_memes_fray/shared.lua | 1 | 2810 |
if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "DC-15A Memes"
SWEP.Author = "TFA"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15A")
killicon.Add( "weapon_752_dc15a", "HUD/kill... | apache-2.0 |
cwarden/mysql-proxy | examples/tutorial-states.lua | 40 | 2935 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/vivacious_etude.lua | 45 | 1815 | -----------------------------------------
-- Spell: Vivacious Etude
-- Static VIT Boost, BRD 30
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function on... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/bowl_of_pea_soup.lua | 3 | 1277 | -----------------------------------------
-- ID: 4416
-- Item: bowl_of_pea_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 1
-- Ranged Accuracy 5
-- HP Recovered While Healing 3
-----------------------------------------
require("scripts/globals/status");
------... | gpl-3.0 |
everslick/awesome | lib/wibox/widget/imagebox.lua | 3 | 3899 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @release @AWESOME_VERSION@
-- @classmod wibox.widget.imagebox
---------------------------------------------------------------------------
local base = require("wibox.widget.base")
... | gpl-2.0 |
projectbismark/luci-bismark | contrib/luadoc/lua/luadoc/init.lua | 172 | 1333 | -------------------------------------------------------------------------------
-- LuaDoc main function.
-- @release $Id: init.lua,v 1.4 2008/02/17 06:42:51 jasonsantos Exp $
-------------------------------------------------------------------------------
local require = require
local util = require "luadoc.util"
log... | apache-2.0 |
RavenX8/osIROSE-new | scripts/mobs/ai/doonga_origin.lua | 2 | 1068 | registerNpc(153, {
walk_speed = 230,
run_speed = 700,
scale = 170,
r_weapon = 0,
l_weapon = 0,
level = 68,
hp = 30,
attack = 307,
hit = 161,
def = 200,
res = 138,
avoid ... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/istakoz.lua | 18 | 1338 | -----------------------------------------
-- ID: 5453
-- Item: Istakoz
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 3
-- Defense +15.4%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Monastic_Cavern/npcs/Altar.lua | 2 | 1779 | -----------------------------------
-- Area: Monastic Cavern
-- NPC: Altar
-- Involved in Quests: The Circle of Time
-- @zone 112
-- @pos 109 -3 -145
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests")... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/hailstorm.lua | 3 | 1092 | --------------------------------------
-- Spell: Hailstorm
-- Changes the weather around target party member to "snowy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSp... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/hero/hero_phantom_assassin.lua | 1 | 36442 | --[[
Author: sercankd
Date: 06.04.2017
Updated: 15.04.2017
]]
CreateEmptyTalents("phantom_assassin")
-------------------------------------------
-- Stifling Dagger
-------------------------------------------
imba_phantom_assassin_stifling_dagger = class({})
LinkLuaModifier("modifier_imba_stifling_dagger_slow", "her... | mit |
Sonicrich05/FFXI-Server | scripts/globals/weaponskills/iron_tempest.lua | 30 | 1350 | -----------------------------------
-- Iron Tempest
-- Great Axe weapon skill
-- Skill Level: 40
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP ... | gpl-3.0 |
Toeler/AuctionHouseRunes | GeminiAddon/GeminiAddon.lua | 9 | 24902 | --- GeminiAddon-1.1
-- Formerly DaiAddon
-- Inspired by AceAddon
-- Modules and packages embeds are based heavily on AceAddon's functionally, so credit goes their authors.
--
-- Allows the addon to have modules
-- Allows for packages to be embedded (if supported) into the addon and it's modules
--
-- The core callbacks... | mit |
everslick/awesome | lib/gears/color.lua | 4 | 10697 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @release @AWESOME_VERSION@
-- @module gears.color
---------------------------------------------------------------------------
local setmetatable = setmetatable
local string = strin... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/FeiYin/npcs/Underground_Pool.lua | 17 | 2322 | -----------------------------------
-- Area: FeiYin
-- NPC: Underground Pool
-- Involved In Quest: Scattered into Shadow
-- @pos 7 0 32 204 (H-8)
-- @pos 7 0 247 204 (H-5)
-- @pos -168 0 247 204 (F-5)
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/effects/dark_arts.lua | 74 | 1952 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:recalculateAbilitiesTable();
local bonus = effect:getPower();
local helix = effect... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/West_Ronfaure/npcs/qm1.lua | 2 | 1448 | -----------------------------------
-- Area: West Ronfaure
-- NPC: ???
-- @zone: 100
-- @pos: -453 -20 -230
--
-- Involved in Quest: The Dismayed Customer
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
fw867/ntopng | scripts/lua/inc/sankey.lua | 1 | 8602 | --
-- (C) 2014 - ntop.org
--
ifstats = interface.getStats()
print [[
<div id = "alert_placeholder"></div>
<style>
#chart {
height: 380px;
}
.node rect {
cursor: move;
fill-opacity: .9;
shape-rendering: crispEdges;
}
.node text {
pointer-events: none;
text-shadow: 0 1px 0 #fff;
}
.link {
fill: none... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Windurst/npcs/Pichichi.lua | 6 | 2580 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pichichi
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/T... | gpl-3.0 |
fw867/ntopng | scripts/lua/sprobe_hosts_interactions_data.lua | 3 | 1516 | --
-- (C) 2013-14 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
sendHTTPHeader('application/json')
interface.find(ifname)
flows_stats = interface.getFlowsInfo()
links = {}
processes = {}
for key, value in pairs(flows_stats) ... | gpl-3.0 |
projectbismark/luci-bismark | libs/core/luasrc/util.lua | 7 | 22046 | --[[
LuCI - Utility library
Description:
Several common useful Lua functions
FileId:
$Id$
License:
Copyright 2008 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... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Buburimu_Peninsula/npcs/Hieroglyphics.lua | 17 | 2420 | -----------------------------------
-- Area: Buburimu_Peninsula
-- NPC: Hieroglyphics
-- Dynamis Buburimu_Dunes Enter
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
projectbismark/luci-bismark | applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua | 2 | 1249 | --[[
Luci configuration model for statistics - collectd interface plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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 Lic... | apache-2.0 |
adminerror/erererererer | plugins/id.lua | 17 | 4403 | do
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function scan_name(extra, success, result)
local f... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/abilities/pets/stone_iv.lua | 4 | 1119 | ---------------------------------------------------
-- Stone 4
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
--------------------------------------------------... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader/[TFA] Extended Pack/lua/weapons/tfa_relby/shared.lua | 1 | 6055 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Relby-V10"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category = "TFA Star Wars"
SWEP.Spawnable = true
SWEP.AdminSpawn... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_San_dOria/npcs/Leonora.lua | 17 | 1498 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Leonora
-- Involved in Quest:
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/mobs/ai/yeti_captain.lua | 2 | 1073 | registerNpc(344, {
walk_speed = 235,
run_speed = 750,
scale = 170,
r_weapon = 1009,
l_weapon = 0,
level = 96,
hp = 41,
attack = 484,
hit = 237,
def = 422,
res = 165,
avoid... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/salmon_croute.lua | 3 | 1236 | -----------------------------------------
-- ID: 4551
-- Item: salmon_croute
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 8
-- MP 8
-- Dexterity 2
-- MP recovered while healing 1
-----------------------------------------
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/slice_of_lynx_meat.lua | 18 | 1293 | -----------------------------------------
-- ID: 5667
-- Item: Slice of Lynx Meat
-- Food Effect: 5 Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader/[TFA][AT] Expanded Pack/lua/weapons/tfa_dl44/shared.lua | 1 | 4797 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Dl-44"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 60
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category = "TFA Star Wars"
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.HoldType = "... | apache-2.0 |
rlowrance/re | parcels-impute-code.lua | 1 | 12504 | -- main program to predict imputed parcel codes
-- COMMAND LINE ARGS:
-- --mPerYear F : hyperparameter kilometers per year
-- --k N : hyperparamater number of neighbors (N >= 2)
-- --lambda F : hyperparameter importance of regularizer
-- --known S : filename for known pairs (apn | features, code)... | gpl-3.0 |
fw867/ntopng | scripts/lua/host_get_json.lua | 1 | 1062 | --
-- (C) 2013-14 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
host_info = url2hostinfo(_GET)
if(host_info["host"] == nil) then
sendHTTPHeader('text/html; charset=utf-8')
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/loaf_of_pain_de_neige.lua | 3 | 1094 | -----------------------------------------
-- ID: 4292
-- Item: loaf_of_pain_de_neige
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 18
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | In Development/servius_development/tfa_training_weapons/expanded_pack/lua/weapons/tfa_sw_westardual_training/shared.lua | 1 | 3839 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Dual Westar"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 76
SWEP.Slot = 2
SWEP.SlotPos = 3
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/WESTAR34")
killicon.Add( "tfa_sw_westardual", "HUD/... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/loach_gruel.lua | 2 | 1551 | -----------------------------------------
-- ID: 5670
-- Item: loach_gruel
-- Food Effect: 4Hour,Group Food, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Accuracy % 7
-- Accuracy Cap 30
-- HP % 7
-- HP Cap 30
-- Evasion 4
-- (Did Not Add Group Food Effect)
------------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/knights_minne_iii.lua | 2 | 1385 | -----------------------------------------
-- Spell: Knight's Minne III
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(ca... | gpl-3.0 |
rbowen/ponymail | site/api/lib/aaa.lua | 1 | 3266 | --[[
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use ... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/kings_justice.lua | 2 | 1439 | -----------------------------------
-- Kings Justice
-- Great Axe weapon skill
-- Skill Level: N/A
-- Delivers a threefold attack. Damage varies with TP. Conqueror: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Warrior) quest.
-- Aligned with the Breeze Gorget, Thunder ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.