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 |
|---|---|---|---|---|---|
aqasaeed/sparta4 | plugins/webshot.lua | 919 | 1473 | 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 |
Josiastech/vuforia-gamekit-integration | Gamekit/Samples/LuaRuntime/Test0.lua | 2 | 1313 |
-- Extend the engine.
OgreKitApp = BaseClass(OgreKit.Engine)
function OgreKitApp:constructor()
self.prefs = self:getUserDefs()
self.prefs.winTitle = "Engine Setup"
self.prefs.verbose = false
self.prefs.grabInput = false
self.prefs.blenderMat = true
se... | mit |
kaen/Zero-K | units/corbtrans.lua | 2 | 8190 | unitDef = {
unitname = [[corbtrans]],
name = [[Vindicator]],
description = [[Armed Heavy Air Transport]],
acceleration = 0.2,
amphibious = true,
airStrafe = 0,
brakeRate = 0.31,
buildCostEnergy = 500,
bui... | gpl-2.0 |
geanux/darkstar | scripts/globals/weaponskills/ruinator.lua | 30 | 1646 | -----------------------------------
-- Ruinator
-- Axe weapon skill
-- Skill level: 357
-- Description: Delivers a four-hit attack. params.accuracy varies with TP
-- In order to obtain Ruinator, the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all addition... | gpl-3.0 |
geanux/darkstar | scripts/zones/Northern_San_dOria/npcs/Arlenne.lua | 36 | 2044 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arlenne
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop... | gpl-3.0 |
yurenyong123/nodemcu-firmware | lua_modules/ds18b20/ds18b20.lua | 54 | 3437 | --------------------------------------------------------------------------------
-- DS18B20 one wire module for NODEMCU
-- NODEMCU TEAM
-- LICENCE: http://opensource.org/licenses/MIT
-- Vowstar <vowstar@nodemcu.com>
-- 2015/02/14 sza2 <sza2trash@gmail.com> Fix for negative values
---------------------------------------... | mit |
SirFrancisBillard/lua-projects | simple_inventory/lua/autorun/server/sv_meta.lua | 1 | 1472 | local meta = FindMetaTable("Player")
function meta:GiveItem(id, am)
local num = g_ItemTranslateFromID[id]
if not g_ItemTable[num] or not self:CanGiveItem(num, am) then return end
local amount = 1
if am then
amount = am
end
local inv = util.JSONToTable(self:GetNWString("SimpleInventory", g_DefInv))
i... | gpl-3.0 |
geanux/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 38 | 1043 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone: 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Windurst_Waters/npcs/Ajen-Myoojen.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ajen-Myoojen
-- Type: Standard NPC
-- @zone: 238
-- @pos -44.542 -5.999 238.996
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----... | gpl-3.0 |
h0tw1r3/mame | 3rdparty/genie/src/base/table.lua | 3 | 3888 | --
-- table.lua
-- Additions to Lua's built-in table functions.
-- Copyright (c) 2002-2008 Jason Perkins and the Premake project
--
--
-- Returns true if the table contains the specified value.
--
function table.contains(t, value)
for _, v in pairs(t) do
if v == value then return true end
end
return false
... | gpl-2.0 |
LiangMa/skynet | lualib/mqueue.lua | 115 | 1798 | -- This is a deprecated module, use skynet.queue instead.
local skynet = require "skynet"
local c = require "skynet.core"
local mqueue = {}
local init_once
local thread_id
local message_queue = {}
skynet.register_protocol {
name = "queue",
-- please read skynet.h for magic number 8
id = 8,
pack = skynet.pack,
u... | mit |
armankillerds021/test | plugins/anti-spam.lua | 8 | 2355 | local NUM_MSG_MAX = 3
local TIME_CHECK = 4
local function kick_user(user_id, chat_id)
local chat = 'channel#id'..chat_id
local user = 'user#id'..user_id
channel_kick_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t kick '..data.user..' but should be kicked'
... | gpl-2.0 |
geanux/darkstar | scripts/globals/mobskills/Scorching_Lash.lua | 13 | 1210 | ---------------------------------------------
-- Scorching Lash
--
-- Description: Deals heavy damage to targets behind user.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Back
-- Notes: Used only if a target with hate is behind them. Conal behind Cerberus.
----------------------------... | gpl-3.0 |
forward619/luci | applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua | 68 | 1868 | -- Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
local uci = require "luci.model.uci".cursor()
local fs = require "nixio.fs"
local utl = require "luci.util"
m = Map("freifunk-widgets", translate("Widgets"),
translate("Configure installed widget... | apache-2.0 |
geanux/darkstar | scripts/zones/Port_San_dOria/npcs/Jaireto.lua | 36 | 1373 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Jaireto
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextI... | gpl-3.0 |
geanux/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Dwago.lua | 34 | 1290 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Dwago
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("s... | gpl-3.0 |
geanux/darkstar | scripts/zones/Southern_San_dOria/npcs/Maugie.lua | 13 | 2496 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Maugie
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/que... | gpl-3.0 |
kaen/Zero-K | units/armmerl.lua | 2 | 6431 | unitDef = {
unitname = [[armmerl]],
name = [[Impaler]],
description = [[Kinetic Missile Artillery]],
acceleration = 0.042,
brakeRate = 0.08,
buildCostEnergy = 700,
buildCostMetal = 700,
builder = false,
buildPic = [[ARM... | gpl-2.0 |
geanux/darkstar | scripts/zones/Windurst_Walls/npcs/Orudoba-Sondeba.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Orudoba-Sondeba
-- Type: Standard NPC
-- @zone: 239
-- @pos 70.086 -3.503 -69.939
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----... | gpl-3.0 |
LOVE2D-Game-Maker/Project-Unique | Project Unique/Blank Template/ProjectUnique/libraries/hump/vector.lua | 28 | 5323 | --[[
Copyright (c) 2010-2013 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | gpl-3.0 |
geanux/darkstar | scripts/zones/Promyvion-Vahzl/npcs/_0m0.lua | 17 | 1398 | -----------------------------------
-- Area: Promyvion vahzl
-- NPC: Memory flux (3)
-----------------------------------
package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Promyvion-Vahzl/TextIDs");
re... | gpl-3.0 |
mirkix/ardupilot | libraries/AP_Scripting/examples/mount-test.lua | 13 | 3536 | -- moves 3-axis gimbal (aka "mount") using earth-frame and body-frame rates and angles
--
-- stage 0: move gimbal to neutral position
-- stage 1: yaw CW at 10deg/s in body-frame
-- stage 2: yaw CCW at 10 deg/s in body-frame
-- stage 3: pitch at 10 deg/s in body-frame
-- stage 4: pitch at -10 deg/s in body-frame
-- stag... | gpl-3.0 |
omidtarh/wizard | plugins/moderation.lua | 336 | 9979 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
local username = v.username
data[tostring(m... | gpl-2.0 |
geanux/darkstar | scripts/zones/West_Sarutabaruta/npcs/Banege_RK.lua | 30 | 3066 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Banege, R.K.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
vgire/rnn | test/test.lua | 1 | 89357 |
local rnntest = {}
local precision = 1e-5
local mytester
function rnntest.Recurrent()
local batchSize = 4
local dictSize = 100
local hiddenSize = 12
local outputSize = 7
local nSteps = 5
local inputModule = nn.Dictionary(dictSize, outputSize)
local transferModule = nn.Sigmoid()
-- test MLP fe... | bsd-3-clause |
geanux/darkstar | scripts/globals/items/crayfish.lua | 18 | 1409 | -----------------------------------------
-- ID: 4472
-- Item: crayfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -3
-- Vitality 1
-- defense 10
-----------------------------------------
require("scripts/globals/status");
-------------------------------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Windurst_Woods/npcs/Peshi_Yohnts.lua | 44 | 2158 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Peshi Yohnts
-- Type: Bonecraft Guild Master
-- @pos -6.175 -6.249 -144.667 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
r... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/mobskills/PW_Scorching_Lash.lua | 13 | 1069 | ---------------------------------------------
-- Scorching Lash
--
-- Description: Deals heavy damage to targets behind user.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Back
-- Notes: Used only if a target with hate is behind them. Conal behind Cerberus.
----------------------------------... | gpl-3.0 |
moquist/raft.js | research_class/pgfplots/tex/generic/pgfplots/lua/pgfplots/colormap.lua | 4 | 2564 | --
-- This file contains parts of pgfplotscolormap.code.tex
--
local math=math
local pgfplotsmath = pgfplots.pgfplotsmath
local io=io
local type=type
local tostring=tostring
local error=error
local table=table
do
-- all globals will be read from/defined in pgfplots:
local _ENV = pgfplots
-----------------------------... | mpl-2.0 |
RavenX8/osIROSE-new | scripts/npcs/ai/[tavern_owner]_anzhelika.lua | 2 | 1069 | registerNpc(1186, {
walk_speed = 0,
run_speed = 0,
scale = 120,
r_weapon = 0,
l_weapon = 0,
level = 10,
hp = 100,
attack = 100,
hit = 100,
def = 100,
res = 100,
avoid ... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Inner_Horutoto_Ruins/npcs/_5c8.lua | 2 | 2112 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Sealed Portal
-- Involved in Quest: Making the Grade
-- Working 50%
-- Notes: Door will open ifplayer has Making the Grade quest active, or ifthe have the KI portal charm. Door should open when 3 mages stand on circles, but no API for this yet... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Jeuno/npcs/Red_Ghost.lua | 2 | 2008 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Red Ghost
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
require("scripts/globals/pathfind");
path = {
-96... | gpl-3.0 |
thgab/xupnpd-rc | plugins/xupnpd_netstreamsat.lua | 7 | 2766 | -- Plugin for Netstreamsat
-- Copyright (C) 2012-2013 Mario Stephan
-- mstephan@shared-files.de
-- #EXTM3U name="Live TV" type=mpeg plugin=netstreamsat dlna_extras=mpeg_ts
-- #EXTINF:0,Das Erste
-- http://netstreamsat/stream/nameDasErste
-- #EXTINF:0,ZDF
-- http://netstreamsat/stream/nameZDF
-- #EXTINF:0,RTL Televisio... | gpl-2.0 |
NorthernMan54/homebridge-wssensor | nodemcu/luaOTAserver/images/led.lua | 1 | 1654 | --SAFETRIM
local module = {}
local mode = 0
local function start()
if config.ledState == 0 then
return
end
gpio.mode(config.ledBlue, gpio.OUTPUT)
gpio.mode(config.ledRed, gpio.OUTPUT)
local lighton=0
tmr.alarm(0,250,1,function()
if lighton==0 then
lighton=1
if mode == 0 then
... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Garlaige_Citadel/npcs/_5ki.lua | 2 | 1304 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Banishing Gate #3
-- @zone 200
-- @pos -100 -3.008 359
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Garlaige_Citadel/TextIDs");
-----... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/kurayami_san.lua | 18 | 1142 | -----------------------------------------
-- Spell: Kurayami: San
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
d909b/GADEL-Snake | Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-fenv.lua | 10 | 1366 | --- testing Lua 5.1/5.2 compatibility functions
-- these are global side-effects of pl.utils
local utils = require 'pl.utils'
local asserteq = require 'pl.test'.asserteq
local _,lua = require 'pl.app'. lua()
-- utils.execute is a compromise between 5.1 and 5.2 for os.execute changes
-- can we call Lua ?
local ok,code ... | bsd-3-clause |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Woods/npcs/Palyalya.lua | 5 | 1041 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Palyalya
-- Type: Adv. Assistant
-- @zone: 241
-- @pos: 62.298 -3.499 -128.093
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
--------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Aht_Urhgan_Whitegate/npcs/Iruki-Waraki.lua | 2 | 2647 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Iruki-Waraki
-- Type: Standard NPC
-- Involved in quest: No Strings Attached
-- @zone: 50
-- @pos: 101.329 -6.999 -29.042
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scr... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria/npcs/Shilah.lua | 36 | 1992 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Shilah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop")... | gpl-3.0 |
LPGhatguy/lemur | lib/Signal.lua | 1 | 2018 | --[[
A limited, simple implementation of a Signal.
Handlers are fired in order, and (dis)connections are properly handled when
executing an event.
]]
local typeKey = import("./typeKey")
local function immutableAppend(list, ...)
local new = {}
local len = #list
for key = 1, len do
new[key] = list[key]
end
... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Sea_Serpent_Grotto/npcs/_4w5.lua | 4 | 2598 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Silver Beastcoin Door
-- @zone 176
-- @pos 280 18.549 -100
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/La_Theine_Plateau/npcs/Narvecaint.lua | 17 | 1702 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Narvecaint
-- Involved in Mission: The Rescue Drill
-- @pos -263 22 129 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
3583Bytes/PokeBot | Emulator/Lua/socket/ftp.lua | 144 | 9120 | -----------------------------------------------------------------------------
-- FTP support for the Lua language
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: ftp.lua,v 1.45 2007/07/11 19:25:47 diego Exp $
-----------------------------------------------------------------------------
-------------------... | mit |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_mega_pack/lua/weapons/tfa_swch_dc15a_shadow/shared.lua | 1 | 2719 |
if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "DC-15A [ Shadow ]"
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/... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Spire_of_Mea/bcnms/ancient_flames_backon.lua | 17 | 3854 | -----------------------------------
-- Area: Spire_of_Mea
-- Name: ancient_flames_backon
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/g... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/naval_rice_ball.lua | 21 | 1526 | -----------------------------------------
-- ID: 4605
-- Item: Naval Rice Ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +26
-- Dex +3
-- Vit +4
-- hHP +2
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Atk +40
-- Def +40
-- Arc... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Mine_Shaft_2716/Zone.lua | 2 | 1238 | -----------------------------------
--
-- Zone: Mine_Shaft_2716 (13)
--
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Mine_Shaft_2716/TextIDs");
-----------------------------------
-- onInitialize
--------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/eel_kabob.lua | 35 | 1276 | -----------------------------------------
-- ID: 4457
-- Item: eel_kabob
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/plate_of_ikra_gunkan.lua | 3 | 1603 | -----------------------------------------
-- ID: 5219
-- Item: plate_of_ikra_gunkan
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 30
-- Magic 10
-- Dexterity 3
-- Mind -2
-- Accuracy % 17
-- Accuracy Cap 28
-- Ranged ACC % 17
-- Ranged ACC Cap 28
----------------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua | 17 | 1358 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: ??? (Spawn when mega is defeated)
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Sauromugue_Champaign/Zone.lua | 2 | 1594 | -----------------------------------
--
-- Zone: Sauromugue_Champaign (120)
--
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
require("scripts/zones/Sauromugue_Champaign/TextIDs");
require( "scripts/globals/icanheararainbow");
----------------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Lower_Jeuno/npcs/Amalasanda.lua | 19 | 1284 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Amalasanda
-- Type: Tenshodo Merchant
-- @pos 28.149 2.899 -44.780 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Bastok_Markets/npcs/Visala.lua | 19 | 1168 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Visala
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -202.000 -7.814 -56.823 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/himesama_rice_ball.lua | 51 | 1477 | -----------------------------------------
-- ID: 5928
-- Item: Himesama Rice Ball
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- HP +25
-- Dexterity +4
-- Vitality +4
-- Character +4
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Attack +60
-- De... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/jacknife.lua | 18 | 1429 | -----------------------------------------
-- ID: 5123
-- Item: Jacknife
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defence 16% Cap 50
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Anton.lua | 4 | 1694 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Anton
-- @zone 232
-- @pos -19 -8 27
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Davoi/npcs/Sedal-Godjal.lua | 4 | 2121 | -----------------------------------
-- Area: Davoi
-- NPC: Sedal-Godjal
-- Mini Quest used in : Whence Blows the Wind
-- @zone 149
-- @pos 185 -2 -116
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/npc_sw_weapon_752_kyd21/ai_translations.lua | 2 | 10966 |
/*---------------------------------------------------------
Name: SetupWeaponHoldTypeForAI
Desc: Mainly a Todo.. In a seperate file to clean up the init.lua
---------------------------------------------------------*/
function SWEP:SetupWeaponHoldTypeForAI( t )
self.ActivityTranslateAI = {}
if ( t == "smg" )... | apache-2.0 |
DARKPOP/external_chromium_org_third_party_skia | tools/lua/paths.lua | 92 | 3129 | --
-- Copyright 2014 Google Inc.
--
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
--
-- Path scraping script.
-- This script is designed to count the number of times we fall back to software
-- rendering for a path in a given SKP. However, this script does not ... | bsd-3-clause |
Siliconsoul/mirror-askozia-svn | misc/luabash/md5/test.lua | 4 | 2423 | #!/usr/bin/env lua
-- --- T2-COPYRIGHT-NOTE-BEGIN ---
-- This copyright note is auto-generated by ./scripts/Create-CopyPatch.
--
-- T2 SDE: misc/luabash/md5/test.lua
-- Copyright (C) 2006 The T2 SDE Project
--
-- More information can be found in the files COPYING and README.
--
-- This program is free software; you... | gpl-2.0 |
RavenX8/osIROSE-new | scripts/mobs/ai/third_eye.lua | 2 | 4529 | registerNpc(771, {
walk_speed = 0,
run_speed = 0,
scale = 90,
r_weapon = 0,
l_weapon = 0,
level = 15,
hp = 75,
attack = 10,
hit = 10,
def = 50,
res = 26,
avoid ... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/bowl_of_loach_gruel.lua | 36 | 1567 | -----------------------------------------
-- ID: 5670
-- Item: Bowl of Loach Gruel
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Make Group Effect
-- Dexterity 2
-- Agility 2
-- Accuracy 7% Cap 30
-- HP 7% Cap 30
-- Evasion 4
-----------------------------------------
require("scri... | gpl-3.0 |
MiaoMiaosha/Cocos | SampleFlashImport/cocos2d/cocos/scripting/lua/script/DrawPrimitives.lua | 57 | 12038 | local dp_initialized = false
local dp_shader = nil
local dp_colorLocation = -1
local dp_color = { 1.0, 1.0, 1.0, 1.0 }
local dp_pointSizeLocation = -1
local dp_pointSize = 1.0
local SHADER_NAME_POSITION_U_COLOR = "ShaderPosition_uColor"
local targetPlatform = CCApplication:getInstance():getTargetPlatform()
loca... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Den_of_Rancor/npcs/Treasure_Coffer.lua | 17 | 3342 | -----------------------------------
-- Area: Den of Rancor
-- NPC: Treasure Coffer
-- @zone 160
-- @pos
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems... | gpl-3.0 |
projectbismark/luci-bismark | applications/luci-polipo/luasrc/model/cbi/polipo.lua | 79 | 5961 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Promyvion-Holla/Zone.lua | 2 | 5979 | -----------------------------------
--
-- Zone: Promyvion-Holla (16)
--
-----------------------------------
package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/missions");
req... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Honoi-Gomoi.lua | 2 | 4027 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Honoi-Gumoi
-- Involved In Quest: Crying Over Onions, Hat in Hand
-- @zone = 238
-- @pos = -195 -11 -120
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/mobskills/Damnation_Dive.lua | 18 | 1351 | ---------------------------------------------
-- Damnation Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 3 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
---------------------------... | gpl-3.0 |
Ding8222/skynet | lualib/skynet/sharemap.lua | 30 | 1503 | local stm = require "skynet.stm"
local sprotoloader = require "sprotoloader"
local sproto = require "sproto"
local setmetatable = setmetatable
local sharemap = {}
function sharemap.register(protofile)
-- use global slot 0 for type define
sprotoloader.register(protofile, 0)
end
local sprotoobj
local function loadsp... | mit |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/tfa_sparks_wristpurple/shared.lua | 1 | 1971 |
if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Wrist Blaster Purple"
SWEP.Author = "Servius"
SWEP.ViewModelFOV = 70
SWEP.Slot = 1
SWEP.SlotPos = 5
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15SA")
killicon.Add( "weapon_752_dc1... | apache-2.0 |
emadni/launcherlordbot | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua | 34 | 1200 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fayeewah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_Jeuno/npcs/Supiroro.lua | 17 | 1393 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Supiroro
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Selbina/npcs/Chutarmire.lua | 2 | 1533 | -----------------------------------
-- Area: Selbina
-- NPC: Chutarmire
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-------------------... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Backups_Reworks/tfa_swrp_shared_old/lua/tfa_base_rp_friendly/menu/server.lua | 2 | 1396 | if SERVER then
AddCSLuaFile()
util.AddNetworkString("ThirdOTSPacket")
util.AddNetworkString("ThirdOTSReq")
net.Receive("ThirdOTSReq", function(len, ply)
local t = net.ReadBool()
local state = net.ReadBool()
if t then
ply:SetNW2Bool("ThirtOTS", state)
else
ply:SetNW2Bool("ThirtOTS_SStatus"... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters_[S]/npcs/Ampiro-Mapiro.lua | 4 | 1054 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ampiro-Mapiro
-- Type: Standard NPC
-- @zone: 94
-- @pos: 131.380 -6.75 174.169
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_Windurst/npcs/Posso_Ruhbini.lua | 2 | 1386 | -----------------------------------
-- Area: Port Windurst
-- NPC: Posso Ruhbini
-- Regional Marchant NPC
-- Only sells when Windurst controlls Norvallen
-- Working 100%
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Windurs... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Southern_San_dOria_[S]/npcs/AshmeaBGreinner1.lua | 36 | 1124 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Ashmea B Greinner
-- @zone 80
-- @pos 2 2 -81
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Al_Zahbi/npcs/Taten-Bilten.lua | 19 | 1155 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Taten-Bilten
-- Guild Merchant NPC: Clothcraft Guild
-- @pos 71.598 -6.000 -56.930 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
Ding8222/skynet | test/testbson.lua | 29 | 1541 | local bson = require "bson"
local sub = bson.encode_order( "hello", 1, "world", 2 )
do
-- check decode encode_order
local d = bson.decode(sub)
assert(d.hello == 1 )
assert(d.world == 2 )
end
local function tbl_next(...)
print("--- next.a", ...)
local k, v = next(...)
print("--- next.b", k, v)
return k, v
end... | mit |
Sonicrich05/FFXI-Server | scripts/globals/items/heat_rod.lua | 16 | 1056 | -----------------------------------------
-- ID: 17071
-- Item: Heat Rod
-- Additional Effect: Lightning Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
aunderwo/GameWithNoName | pl/lapp.lua | 6 | 13984 | --- Simple command-line parsing using human-readable specification.
-- Supports GNU-style parameters.
--
-- lapp = require 'pl.lapp'
-- local args = lapp [[
-- Does some calculations
-- -o,--offset (default 0.0) Offset to add to scaled number
-- -s,--scale (number) Scaling factor
-- ... | mit |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/mechanics/ai/miniboss/beastmaster_ai.lua | 1 | 3482 | --[[
Beastmaster Boss AI
]]
-- "vscripts" "beastmaster_ai.lua"
function Spawn( entityKeyValues )
ABILILTY_wild_axe_spell = thisEntity:FindAbilityByName("beastmaster_wild_axes")
ABILILTY_roar_spell = thisEntity:FindAbilityByName("beastmaster_primal_roar")
ABILILTY_call_boar_spell = thisEntity:FindAbilityByName("be... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Port_San_dOria/npcs/Deguerendars.lua | 36 | 2054 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Deguerendars
-- Only sells when San d'Oria contrls Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
------------------... | gpl-3.0 |
ShmooDude/ovale | libs/AceTab-3.0/AceTab-3.0.lua | 9 | 19106 | --- AceTab-3.0 provides support for tab-completion.
-- Note: This library is not yet finalized.
-- @class file
-- @name AceTab-3.0
-- @release $Id: AceTab-3.0.lua 1148 2016-07-18 09:13:02Z nevcairiel $
local ACETAB_MAJOR, ACETAB_MINOR = 'AceTab-3.0', 9
local AceTab, oldminor = LibStub:NewLibrary(ACETAB_MAJOR, ACETAB_M... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Buburimu_Peninsula/TextIDs.lua | 4 | 1577 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6406; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6410; -- Obtained: <item>.
GIL_OBTAINED = 6411; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6413; -- Obtained... | gpl-3.0 |
paulosalvatore/forgottenserver | data/talkactions/scripts/deathlist.lua | 43 | 2176 | local function getArticle(str)
return str:find("[AaEeIiOoUuYy]") == 1 and "an" or "a"
end
local function getMonthDayEnding(day)
if day == "01" or day == "21" or day == "31" then
return "st"
elseif day == "02" or day == "22" then
return "nd"
elseif day == "03" or day == "23" then
return "rd"
else
return "t... | gpl-2.0 |
LPGhatguy/lemur | lib/createEnum.lua | 1 | 1200 | local typeKey = import("./typeKey")
local function createEnumVariant(enum, variantName, variantValue)
local enumVariant = newproxy(true)
local internal = {
Value = variantValue,
Name = variantName,
EnumType = enum,
}
getmetatable(enumVariant)[typeKey] = "EnumItem"
getmetatable(enumVariant).__tostring = f... | mit |
vierbergenlars/snippets | ubuntu/conky/rings.lua | 1 | 12772 | --[[
Ring Meters by londonali1010 (2009)
This script draws percentage meters as rings. It is fully customisable; all options are described in the script.
IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement near the end of the sc... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Gamygyn.lua | 16 | 1259 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Gamygyn
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
funct... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/drakesbane.lua | 2 | 1317 | -----------------------------------
-- Drakesbane
-- Polearm weapon skill
-- Skill level: N/A
-- Delivers a fourfold attack. Chance of params.critical hit varies with TP. Ryunohige: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dragoon) quest.
-- Aligned with the Flame ... | gpl-3.0 |
aunderwo/GameWithNoName | pl/stringio.lua | 28 | 3821 | --- Reading and writing strings using file-like objects. <br>
--
-- f = stringio.open(text)
-- l1 = f:read() -- read first line
-- n,m = f:read ('*n','*n') -- read two numbers
-- for line in f:lines() do print(line) end -- iterate over all lines
-- f = stringio.create()
-- f:write('hello')
-- f:wr... | mit |
Sonicrich05/FFXI-Server | scripts/zones/The_Eldieme_Necropolis/npcs/_5f5.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 270 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/plate_of_sea_spray_risotto.lua | 3 | 1509 | -----------------------------------------
-- ID: 4268
-- Item: plate_of_sea_spray_risotto
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 45
-- Dexterity 6
-- Agility 3
-- Mind -4
-- HP Recovered While Healing 1
-- Accuracy % 6 (cap 20)
-----------------------------------------
require(... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/knights_minne.lua | 2 | 1369 | -----------------------------------------
-- Spell: Knight's Minne I
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(cast... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/automatisation.lua | 2 | 3248 | -----------------------------------
-- Author: Ezekyel
-- this function is used for npcs that change position every vanadiel game day
-----------------------------------
function OnGameDayAutomatisation()
-- Storage Hole in Davoi
local storHolePos = {--[[E-10]]{-177.925,4.000,-255.699},--[[F-6]]{-127.703,4.250,23.7... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Nashmau/npcs/Wata_Khamazom.lua | 34 | 1438 | -----------------------------------
-- Area: Nashmau
-- NPC: Wata Khamazom
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
-----... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/items/items.lua | 1 | 14599 | function ItemCheck( event )
local itemName = event.ability:GetAbilityName()
local hero = EntIndexToHScript( event.caster_entindex )
local itemTable = GameMode.ItemInfoKV[itemName]
print("Checking Restrictions for "..itemName)
DeepPrintTable(itemTable)
if itemTable == nil then
return true
end
Timers:CreateTi... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.