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
Gwynthell/FFDB
scripts/zones/Port_Jeuno/npcs/Narsha.lua
2
1483
----------------------------------- -- Area: Port Jeuno -- NPC: Narsha -- Chocobo Vendor ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); ----------------------------------- -- onTrade Action ------------------------------...
gpl-3.0
sammyt291/wire
lua/entities/gmod_wire_grabber.lua
5
5390
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Grabber" ENT.RenderGroup = RENDERGROUP_BOTH ENT.WireDebugName = "Grabber" function ENT:SetupDataTables() self:NetworkVar( "Float", 0, "BeamLength" ) end if CLIENT then return end -- No more client function ENT:Initialize() self:Phys...
apache-2.0
Napiophelios/church
church_candles/hive.lua
1
13798
--[[ --========================================== -- Candles mod by darkrose -- Copyright (C) Lisa Milne 2013 <lisa@ltmnet.com> -- Code: GPL version 2 -- http://www.gnu.org/licenses/> --========================================== --Artificial Hive node functions and formspec from xdecor mod --Copyright (c) 2015-2016 kil...
gpl-3.0
sammyt291/wire
lua/entities/gmod_wire_textreceiver.lua
5
3547
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Text Receiver" ENT.WireDebugName = "Text Receiver" if CLIENT then return end -- No more client local receivers = {} local function RegisterReceiver( ent ) receivers[ent] = true end local function RemoveReceiver( ent ) receivers[ent]...
apache-2.0
sammyt291/wire
lua/entities/gmod_wire_expression2/base/parser.lua
3
42838
--[[ Expression 2 Parser for Garry's Mod Andreas "Syranide" Svensson, me@syranide.com ]] AddCSLuaFile() --[[ The following is a description of the E2 language as a parsing expression grammar. Note that the parser does all its semantic analysis while parsing, forbidding certain things which this grammar allows. ...
apache-2.0
Gwynthell/FFDB
scripts/globals/items/truelove_chocolate.lua
3
1123
----------------------------------------- -- ID: 5231 -- Item: truelove_chocolate -- Food Effect: 4Hrs, All Races ----------------------------------------- -- MP 10 -- MP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
msafin/luci
applications/luci-statistics/luasrc/model/cbi/luci_statistics/processes.lua
78
1093
--[[ Luci configuration model for statistics - collectd processes 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
Joeyjohjjo/Johjjodarkfork
scripts/zones/Cloister_of_Tremors/mobs/Titan_Prime.lua
12
2759
----------------------------------- -- Area: Cloister of Tremors -- NPC: Titan Prime -- Involved in Quest: Trial by Earth -- Involved in Mission: ASA-4 Sugar Coated Directive ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/status")...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/items/serving_of_icecap_rolanberry.lua
35
1403
----------------------------------------- -- ID: 4556 -- Item: serving_of_icecap_rolanberry -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 19 -- Magic Cap 55 -- Intelligence 2 -- Wind Res 5 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
asgty/teleashraf
plugins/robot.lua
5
2582
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ BY MOHAMMEDHISHAM (@TH3BOSS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY MOHAMMED HISHAM ▀▄ ▄▀ ▀▄ ▄▀ تشغيل او اطفاء البوت في دردشة مجدد ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
olax/prosody-modules
mod_auth_imap/auth_imap/sasl_imap.lib.lua
32
6529
-- Dovecot authentication backend for Prosody -- -- Copyright (C) 2011 Kim Alvefur -- local log = require "util.logger".init("sasl_imap"); local setmetatable = setmetatable; local s_match = string.match; local t_concat = table.concat; local tostring, tonumber = tostring, tonumber; local socket = require "socket" lo...
mit
Joeyjohjjo/Johjjodarkfork
scripts/zones/Davoi/npcs/Bernal.lua
19
1116
----------------------------------- -- Area: Davoi -- NPC: Bernal -- @pos 177 -3 -127 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zones/Davoi/...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Davoi/npcs/qm1.lua
17
1419
----------------------------------- -- Area: Davoi -- NPC: ??? (qm1) -- Involved in Quest: To Cure a Cough -- @pos -115.830 -0.427 -184.289 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Northern_San_dOria/npcs/Beriphaule.lua
21
1946
----------------------------------- -- Area: Northern San d'Oria -- NPC: Beriphaule -- Type: Allegiance Changer NPC -- @pos -247.422 7.000 28.992 231 ----------------------------------- require("scripts/globals/conquest"); ----------------------------------- -- onTrade Action ----------------------------------- fun...
gpl-3.0
Gwynthell/FFDB
scripts/zones/Lower_Jeuno/npcs/_l06.lua
6
1500
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -52.752 0 -60.492 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
iOSTestApps/vlc
share/lua/playlist/joox.lua
113
1637
--[[ $Id$ Copyright © 2007 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distribut...
gpl-2.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/items/piece_of_cascade_candy.lua
36
1148
----------------------------------------- -- ID: 5942 -- Item: Piece of Cascade Candy -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind +4 -- Charisma +4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
Vivitarut/darkstar
scripts/globals/items/piece_of_cascade_candy.lua
36
1148
----------------------------------------- -- ID: 5942 -- Item: Piece of Cascade Candy -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind +4 -- Charisma +4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
czanyou/node.lua
core/tests/misc/test-os.lua
1
2802
local tap = require('util/tap') local test = tap.test test("Test os", function() print("arch(): ", os.arch()) print("clock(): ", os.clock()) print("cpus(): ", os.cpus()) print("date(): ", os.date()) print("freemem():", os.freemem()) print("homedir():", os.homedir()) print("loadavg():", os.loadavg()) pr...
apache-2.0
Gwynthell/FFDB
scripts/zones/Tavnazian_Safehold/npcs/Suzel.lua
4
1042
---------------------------------- -- Area: Tavnazian Safehold -- NPC: Suzel -- Type: Item Deliverer -- @zone: 26 -- @pos -72.701 -20.25 -64.058 -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------...
gpl-3.0
Gwynthell/FFDB
scripts/globals/abilities/chaos_roll.lua
4
1379
----------------------------------- -- Ability: Chaos Roll ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- OnUseAbility ----------------------------------- function OnAbilityCheck(player,target,ability) local effectID...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Phomiuna_Aqueducts/npcs/_0r5.lua
17
1323
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Ornate Gate -- @pos -95 -24 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomi...
gpl-3.0
Gwynthell/FFDB
scripts/zones/Lower_Jeuno/npcs/Sattal-Mansal.lua
2
2551
----------------------------------- -- Area: Lower Jeuno -- NPC: Sattal-Mansal -- Starts and Finishes Quest: Mysteries of Beadeaux I & II -- @zone 245 -- @pos 40 3 -53 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ------...
gpl-3.0
DawsonG/Love2d-Platformer-Tutorial
4_better_player/entities/Entities.lua
1
1576
-- Represents a collection of drawable entities. Each gamestate holds one of these. local Entities = { active = true, map = nil, world = nil, entityList = {} } function Entities:enter(world, map) self:clear() self.world = world self.map = map end function Entities:add(entity) table.insert(self.entityL...
mit
Vivitarut/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rp.lua
17
1620
----------------------------------- -- 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...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/commands/delquest.lua
24
1155
--------------------------------------------------------------------------------------------------- -- func: @delquest <logID> <questID> <player> -- desc: Deletes the given quest from the GM or target player. --------------------------------------------------------------------------------------------------- cmdpr...
gpl-3.0
Gwynthell/FFDB
scripts/zones/The_Shrine_of_RuAvitau/npcs/qm2.lua
4
1620
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: ??? (Spawn Kirin) -- @pos -81 32 2 178 ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs"); --...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/mobskills/Optic_Induration.lua
7
1334
--------------------------------------------- -- Optic Induration -- -- Description: Charges up a powerful, calcifying beam directed at targets in a fan-shaped area of effect. Additional effect: Petrification &amp; enmity reset -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone...
gpl-3.0
bamdadsepehr/khar
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
Gwynthell/FFDB
scripts/zones/West_Ronfaure/npcs/qm2.lua
4
1440
----------------------------------- -- Area: West Ronfaure -- NPC: qm2 (???) -- Involved in Quest: The Dismayed Customer -- @pos -550 -0 -542 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings")...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Sea_Serpent_Grotto/npcs/Hurr_the_Betrayer.lua
19
3362
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Hurr the Betrayer -- Type: Involved in the "Sahagin Key Quest" -- @zone: 176 -- @pos 305.882 26.768 234.279 -- ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; -----------------------------...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Windurst_Waters_[S]/npcs/Upital-Lupital.lua
38
1056
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Upital-Lupital -- Type: Standard NPC -- @zone: 94 -- @pos -57.809 -13.339 122.753 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] ...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Jugner_Forest_[S]/mobs/Lobison.lua
12
1531
----------------------------------- -- Area: Jugner Forest (S) -- NPC: Lobison ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:setLocalVar("transformTime", os.time()) end; ----------------------------------...
gpl-3.0
zear/fceu320-rzx50
src/auxlib.lua
9
1724
-- this includes the iup system --local iuplua_open = package.loadlib("iuplua51.dll", "iuplua_open"); --if(iuplua_open == nil) then require("libiuplua51"); end --iuplua_open(); -- this includes the "special controls" of iup (dont change the order though) --local iupcontrolslua_open = package.loadlib("iupluacontr...
gpl-2.0
Gwynthell/FFDB
scripts/zones/Bastok_Mines/npcs/Faustin.lua
2
1536
----------------------------------- -- Area: Bastok_Mines -- NPC: Faustin -- Only sells when Bastok controlls Ronfaure Region ----------------------------------- require("scripts/globals/harvest_festivals"); require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Bastok_Mine...
gpl-3.0
hmotamed/botchi
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-3.0
knu/hammerspoon
extensions/window/tiling.lua
13
11476
--- === hs.window.tiling === --- --- **WARNING**: EXPERIMENTAL MODULE. DO **NOT** USE IN PRODUCTION. --- This module is *for testing purposes only*. It can undergo breaking API changes or *go away entirely* **at any point and without notice**. --- (Should you encounter any issues, please feel free to report them on htt...
mit
Gwynthell/FFDB
scripts/zones/RuLude_Gardens/Zone.lua
1
3907
----------------------------------- -- -- Zone: RuLude_Gardens (243) -- ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/missions"); ----------------------------------- -- onInitialize -----------...
gpl-3.0
masterkorp/Vicious
widgets/mpd.lua
16
2221
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local tonumber = tonumber local io = { popen = io.popen } local setmetatable = setmetatable ...
gpl-2.0
UPenn-RoboCup/UPennalizers
Player/Test/test_vision_minimal.lua
3
8501
module(... or "", package.seeall) require('unix') webots = false; darwin = false; -- mv up to Player directory unix.chdir('..'); local cwd = unix.getcwd(); -- the webots sim is run from the WebotsController dir (not Player) if string.find(cwd, "WebotsController") then webots = true; cwd = cwd.."/Pla...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Windurst_Walls/npcs/Ambrosius.lua
36
4204
----------------------------------- -- Area: Windurst Walls -- NPC: Ambrosius -- -- Quest NPC for "The Postman Always KOs Twice" ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("s...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Cloister_of_Frost/npcs/Cermet_Headstone.lua
17
2638
----------------------------------- -- Area: Cloister of Frost -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Ice Fragment) -- @pos 566 0 606 203 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
sammyt291/wire
lua/entities/gmod_wire_expression2/core/compat.lua
6
3405
-- Functions in this file are retained purely for backwards-compatibility. They should not be used in new code and might be removed at any time. e2function string number:teamName() local str = team.GetName(this) if not str then return "" end return str end e2function number number:teamScore() return team.GetScore...
apache-2.0
Source-advan/TTabchi
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
unlicense
abbasgh12345/abbassad
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
dani-sj/capitan02
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
hiddenshield/sdp
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-3.0
czanyou/node.lua
modules/mqtt/tests/test-client.lua
1
1245
local mqtt = require('mqtt') local assert = require('assert') local tap = require('util/tap') local TAG = "mqtt" describe('test client - mqtt', function() --local client = mqtt.connect('mqtt://test.mosquitto.org') --local client = mqtt.connect('mqtt://192.168.77.108:1883') -- 这个客户端先订阅 /test-topic, 然后再向这个主题...
apache-2.0
Vivitarut/darkstar
scripts/zones/Garlaige_Citadel/npcs/_5ki.lua
17
1371
----------------------------------- -- Area: Garlaige Citadel -- NPC: _5ki (Banishing Gate #3) -- @pos -100 -3.008 359 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Garlaige_Citadel/TextIDs"); ...
gpl-3.0
mendsley/bgfx
scripts/bgfx.lua
2
7489
-- -- Copyright 2010-2020 Branimir Karadzic. All rights reserved. -- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause -- function filesexist(_srcPath, _dstPath, _files) for _, file in ipairs(_files) do file = path.getrelative(_srcPath, file) local filePath = path.join(_dstPath, file) if not os.is...
bsd-2-clause
Vivitarut/darkstar
scripts/globals/spells/bluemagic/refueling.lua
2
1074
----------------------------------------- -- Spell: Refueling -- Overwrites Intimidate (Pugil), Sticky Thread (Crawler), and Horror Cloud (Skeleton) -- Cannot be overwriten by Intimidate or Horror Cloud -- Overwriten by, and cannot overwrite, Slow, Slowga, Haste, Hastega, and Spider Web ---------------------------...
gpl-3.0
BurmistrovJ/prosody-modules
mod_log_slow_events/mod_log_slow_events.lua
2
1065
local time = require "socket".gettime; local max_seconds = module:get_option_number("log_slow_events_threshold", 0.5); module:wrap_event(false, function (handlers, event_name, event_data) local start = time(); local ret = handlers(event_name, event_data); local duration = time()-start; if duration > max_seconds t...
mit
Joeyjohjjo/Johjjodarkfork
scripts/zones/The_Boyahda_Tree/TextIDs.lua
2
1397
-- 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 = 6382; -- Obtained: <item> GIL_OBTAINED = 6383; -- Obtained <number> gil KEYITEM_OBTAINED = 6385; -- Obtained k...
gpl-3.0
Vivitarut/darkstar
scripts/globals/items/dish_of_spaghetti_arrabbiata.lua
35
1719
----------------------------------------- -- ID: 5211 -- Item: dish_of_spaghetti_arrabbiata -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 5 -- Vitality 2 -- Intelligence -7 -- Attack % 22 -- Attack Cap 120 -- Store TP 5 ----------------------------------------- req...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Ordelles_Caves/npcs/Ruillont.lua
17
2177
----------------------------------- -- Area: Ordelles Caves -- NPC: Ruillont -- Involved in Mission: The Rescue Drill -- @pos -70 1 607 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions")...
gpl-3.0
iOSTestApps/vlc
share/lua/playlist/cue.lua
60
4393
--[[ Parse CUE files $Id$ Copyright (C) 2009 Laurent Aimar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This pro...
gpl-2.0
jdhk94/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/kickban/sh_shared.lua
9
4533
function FAdmin.PlayerActions.ConvertBanTime(time) local Add = "" time = math.Round(time) if time <= 0 then return "permanent" elseif time < 60 then -- minutes return math.ceil(time) .. " minute(s)" elseif time >= 60 and time < 1440 then -- hours if math.floo...
mit
cloudteampro/juma-editor
editor/lib/lua/editor/scenes/UIEditorScene.lua
2
1276
local BaseEditorScene = require("scenes.BaseEditorScene") local JUI = require("ui.JUI") local UIScreen = require("ui.UIScreen") --------------------------------------------------------------------------------- -- -- @type UIEditorScene -- ------------------------------------------------------------------------------...
mit
crazyhamedboy/crazyboyboy
plugins/banhammer.lua
175
5896
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
Vivitarut/darkstar
scripts/zones/Newton_Movalpolos/Zone.lua
2
1659
----------------------------------- -- -- Zone: Newton_Movalpolos (12) -- ----------------------------------- package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Newton_Movalpolos/TextIDs"); -------...
gpl-3.0
willox/gmod-keypad
lua/weapons/keypad_cracker.lua
3
6942
-- This is sorta horrible AddCSLuaFile() local keypad_crack_time = CreateConVar("keypad_crack_time", "30", {FCVAR_ARCHIVE}, "Seconds for keypad cracker to crack keypad") if SERVER then util.AddNetworkString("KeypadCracker_Hold") util.AddNetworkString("KeypadCracker_Sparks") end if CLIENT then SWEP.PrintName = "K...
cc0-1.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Pashhow_Marshlands/npcs/Ioupie_RK.lua
30
3064
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Ioupie, R.K. -- Type: Border Conquest Guards -- @pos 536.291 23.517 694.063 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/con...
gpl-3.0
szagoruyko/cudnn.torch
SpatialCrossMapLRN.lua
1
3418
local LRN, parent = torch.class('cudnn.SpatialCrossMapLRN', 'nn.Module') local ffi = require 'ffi' local errcheck = cudnn.errcheck function LRN:__init(size, alpha, beta, K) parent.__init(self) self.size = size or 5 self.alpha = alpha or 1e-4 self.beta = beta or 0.75 self.K = K or 1.0 assert(self.size...
bsd-2-clause
Gwynthell/FFDB
scripts/zones/Nashmau/npcs/Jajaroon.lua
4
1527
----------------------------------- -- Area: Nashmau -- NPC: Jajaroon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); ---------------------...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/mobskills/Glacial_Breath.lua
7
1286
--------------------------------------------- -- Glacial Breath -- -- Description: Deals Ice damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Jormungand and Isgebind -----------------------------------------...
gpl-3.0
czanyou/node.lua
modules/rtmp/lua/queue.lua
1
3916
--[[ Copyright 2016-2020 The Node.lua Authors. All Rights Reserved. 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 Unless required by applicable la...
apache-2.0
Yonaba/mario-kart
src/cup1_3.lua
1
10202
--Player Id Recovery file = io.open("data/player.spl" , "r") player = file:read() file:close() --------------------------------------------------- ---------------------------------------------------- --opponent Id recovery file = io.open("data/opponent1.spl" , "r") opponent = file:read() file:close() ------------------...
mit
Vivitarut/darkstar
scripts/globals/weaponskills/smash_axe.lua
6
1415
----------------------------------- -- Smash Axe -- Axe weapon skill -- Skill level: 40 -- Stuns enemy. Duration of stun 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: STR:30% -- 100%TP ...
gpl-3.0
vobject/kinect-experiments
external/vlc-1.1.11/lua/meta/reader/filename.lua
48
1628
--[[ Gets an artwork for french TV channels $Id$ Copyright © 2007 the VideoLAN team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any la...
gpl-2.0
Vivitarut/darkstar
scripts/globals/items/plate_of_fatty_tuna_sushi.lua
35
1540
----------------------------------------- -- ID: 5153 -- Item: plate_of_fatty_tuna_sushi -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Dexterity 3 -- Charisma 5 -- Accuracy % 16 -- Ranged ACC 16 -- Sleep Resist 5 ----------------------------------------- requir...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/mobskills/PW_Haymaker.lua
13
1160
--------------------------------------------- -- Haymaker -- -- Description: Punches the daylights out of all targets in front. Additional effect: Amnesia -- Type: Physical -- Utsusemi/Blink absorb: Unknown -- Range: Front cone -- Notes: Only used by Gurfurlur the Menacing. -------------------------------------...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Castle_Oztroja/npcs/Treasure_Chest.lua
12
3293
----------------------------------- -- Area: Castle Oztroja -- NPC: Treasure Chest -- Involved In Quest: Scattered into Shadow -- @pos 7.378 -16.293 -193.590 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
MHeasell/TA3D
src/ta3d/scripts/console/init.lua
1
3077
print("Initializing console") __fn_state = {} __fn_state["fps"] = setFps; __fn_state["rightClickInterface"] = setRightClickInterface; __fn_state["grabInputs"] = setGrabInputs; __fn_state["videoCapture"] = setVideoShoot; __fn_state["showMissionInfo"] = setShowMissionInfo; __fn_state["viewDebug"] = setViewDebug; __fn_st...
gpl-2.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/spells/bluemagic/chaotic_eye.lua
4
1684
----------------------------------------- -- Spell: Chaotic Eye -- Silences an enemy -- Spell cost: 13 MP -- Monster Type: Beasts -- Spell Type: Magical (Wind) -- Blue Magic Points: 2 -- Stat Bonus: AGI+1 -- Level: 32 -- Casting Time: 3 seconds -- Recast Time: 10 seconds -- Magic Bursts on: Detonation, Fragm...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Jugner_Forest/npcs/Taumiale_RK.lua
8
2934
----------------------------------- -- Area: Jugner Forest -- NPC: Taumiale, R.K. -- Border Conquest Guards -- @pos 570.732 -2.637 553.508 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/RuAun_Gardens/npcs/Pincerstone.lua
13
3708
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: Pincerstone -- NPCs which activates the blue teleports in sky ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuAun_Gardens/TextIDs");...
gpl-3.0
ezibyte/EziSocial-PhotoExample
Cocos2dx-3x/PhotoExample/cocos2d/tests/lua-tests/src/ActionsEaseTest/ActionsEaseTest.lua
16
15869
local kTagAction1 = 1 local kTagAction2 = 2 local kTagSlider = 1 local s = cc.Director:getInstance():getWinSize() local scheduler = cc.Director:getInstance():getScheduler() local function createSimpleMoveBy() return cc.MoveBy:create(3, cc.p(s.width - 130, 0)) end local function createSimpleDelayTime() return...
apache-2.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Bastok_Mines/npcs/Deidogg.lua
19
4744
----------------------------------- -- Area: Bastok Mines -- NPC: Deidogg -- Starts and Finishes Quest: The Talekeeper's Truth, The Talekeeper's Gift (start) -- @pos -13 7 29 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/spells/shock.lua
11
1583
----------------------------------------- -- Spell: Shock -- Deals lightning damage that lowers an enemy's mind and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -------------------...
gpl-3.0
sammyt291/wire
lua/entities/gmod_wire_damage_detector.lua
2
9901
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Damage Detector" ENT.Author = "Jimlad" ENT.WireDebugName = "Damage Detector" if CLIENT then return end -- No more client local DEFAULT = {n={},ntypes={},s={},stypes={},size=0} -- Global table to keep track of all detectors local Wi...
apache-2.0
Vivitarut/darkstar
scripts/globals/mobskills/Calcifying_Deluge.lua
6
1067
--------------------------------------------- -- Calcifying Deluge -- -- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown -- Notes: Used only by Medusa. --------------...
gpl-3.0
Gwynthell/FFDB
scripts/globals/items/plate_of_ikra_gunkan_+1.lua
3
1606
----------------------------------------- -- ID: 5220 -- Item: plate_of_ikra_gunkan_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 30 -- Magic 12 -- Dexterity 3 -- Mind -1 -- Accuracy % 17 -- Accuracy Cap 30 -- Ranged ACC % 17 -- Ranged ACC Cap 30 -------------------------------...
gpl-3.0
UPenn-RoboCup/UPennalizers
Lib/Platform/NaoV4/Camera/test_uvc.lua
1
4155
cwd = cwd or os.getenv('PWD') -- this module is used to facilitate interactive debuging package.cpath = cwd.."/../../../../Player/Lib/?.so;"..package.cpath; package.path = cwd.."/../../../../Player/Util/?.lua;"..package.path; package.path = cwd.."/../../../../Player/Config/?.lua;"..package.path; package.path = cwd.."...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Aydeewa_Subterrane/npcs/qm2.lua
13
1455
----------------------------------- -- Area: Aydeewa Subterrane -- NPC: ??? (Spawn Pandemonium Warden) -- @pos -217 35 12 68 ----------------------------------- package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aydeewa_Subterrane/TextIDs"); -...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Kuftal_Tunnel/TextIDs.lua
2
1106
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6378; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6381; -- Obtained: <item> GIL_OBTAINED = 6382; -- Obtained <number> gil KEYITEM_OBTAINED = 6384; -- ...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Upper_Jeuno/npcs/Kasra.lua
34
1066
---------------------------------- -- Area: Upper Jeuno -- NPC: Kasra -- Type: Item Deliverer -- @zone: 244 -- @pos -34.555 7.999 90.702 -- ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); --------------------...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Upper_Jeuno/npcs/Sibila-Mobla.lua
34
1377
----------------------------------- -- Area: Upper Jeuno -- NPC: Sibila-Mobla -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests");...
gpl-3.0
Vivitarut/darkstar
scripts/globals/items/plate_of_dorado_sushi_+1.lua
21
1682
----------------------------------------- -- ID: 5179 -- Item: plate_of_dorado_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 5 -- Accuracy % 16 -- Accuracy Cap 80 -- Ranged ACC % 16 -- Ranged ACC Cap 80 -- Sleep Resist 5 -------------------------------------...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/RuLude_Gardens/npcs/Neraf-Najiruf.lua
19
2005
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Neraf-Najiruf -- Involved in Quests: Save my Sister -- @zone 243 -- @pos -36 2 60 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
Vivitarut/darkstar
scripts/zones/RuLude_Gardens/npcs/Neraf-Najiruf.lua
19
2005
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Neraf-Najiruf -- Involved in Quests: Save my Sister -- @zone 243 -- @pos -36 2 60 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/items/choco-katana.lua
36
1156
----------------------------------------- -- ID: 5918 -- Item: Choco-katana -- Food Effect: 3 Min, All Races ----------------------------------------- -- Agility 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/globals/spells/foe_lullaby.lua
11
1176
----------------------------------------- -- Spell: Foe Lullaby ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,...
gpl-3.0
Vivitarut/darkstar
scripts/globals/mobskills/Amon_Drive.lua
3
1193
--------------------------------------------- -- Amon Drive -- -- Description: Performs an area of effect weaponskill. Additional effect: Paralysis + Petrification + Poison -- Type: Physical -- 2-3 Shadows? -- Range: Melee range radial -- Special weaponskill unique to Ark Angel TT. Deals ~100-400 damage. --------...
gpl-3.0
Gwynthell/FFDB
scripts/globals/abilities/hunters_roll.lua
4
1384
----------------------------------- -- Ability: Hunter's Roll ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- OnUseAbility ----------------------------------- function OnAbilityCheck(player,target,ability) local effec...
gpl-3.0
Vivitarut/darkstar
scripts/zones/Temenos/bcnms/Central_Temenos_1st_Floor.lua
8
1074
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function OnBcnmRegister(player,instance) SetServerVariable("[C_Temenos_1st]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1303),TEMENOS); ...
gpl-3.0
Vivitarut/darkstar
scripts/globals/items/cheval_salmon.lua
17
1331
----------------------------------------- -- ID: 4379 -- Item: cheval_salmon -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
Gwynthell/FFDB
scripts/zones/Bastok_Markets/npcs/Wulfnoth.lua
11
1753
----------------------------------- -- Area: Bastok Markets -- NPC: Wulfnoth -- Type: Goldsmithing Synthesis Image Support -- @pos -211.937 -7.814 -56.292 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/zone...
gpl-3.0
Gwynthell/FFDB
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cg.lua
4
1031
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cg (Gate of Fire) -- @pos -332 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs"); -----...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/Windurst_Walls/npcs/Trail_Markings.lua
17
2739
----------------------------------- -- Area: Windurst Walls -- NPC: Trail Markings -- Dynamis-Windurst Enter -- @pos -216 0 -94 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
Joeyjohjjo/Johjjodarkfork
scripts/zones/LaLoff_Amphitheater/npcs/qm2.lua
12
2192
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Exits) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/title...
gpl-3.0