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
bright-things/ionic-luci
modules/luci-base/luasrc/template.lua
74
2819
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local config = require "luci.config" local tparser = require "luci.template.parser" local tostring, pairs, loadstring = tostring, pairs, loadstring local setmetatable, loadfile ...
apache-2.0
nkhuyu/torch7
CmdLine.lua
62
7104
local CmdLine = torch.class('torch.CmdLine') local function strip(str) return string.match(str, '%-*(.*)') end local function pad(str, sz) return str .. string.rep(' ', sz-#str) end function CmdLine:error(msg) print('') io.stderr:write(msg) print('') self:help() os.exit(1) end function CmdLine:...
bsd-3-clause
Sonicrich05/FFXI-Server
scripts/zones/Waughroon_Shrine/bcnms/up_in_arms.lua
17
1778
----------------------------------- -- Area: Waughroon_Shrine -- Name: up in arms -- BCNM60 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zone...
gpl-3.0
ahmedbrake/telegram-bot
plugins/anti_spam.lua
417
3978
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
mohammadkabir1/kabirBot
plugins/translate.lua
674
1637
--[[ -- Translate text using Google Translate. -- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello --]] do function translate(source_lang, target_lang, text) local path = "http://translate.google.com/translate_a/single" -- URL query parameters local p...
gpl-2.0
daVoodooShuffle/OpenRA
mods/d2k/maps/atreides-02b/atreides02b.lua
5
3834
--[[ Copyright 2007-2017 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Expanded Pack/lua/weapons/tfa_752_t21_servius/shared.lua
1
1635
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "T-21" SWEP.Author = "Servius" SWEP.ViewModelFOV = 50 SWEP.Slot = 2 SWEP.SlotPos = 3 SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/T21") killicon.Add( "weapon_752_t21", "HUD/killicons/T21", Colo...
apache-2.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader_legacy/tfa_shared_resources/lua/effects/effect_sw_laser_red/init.lua
2
3294
TRACER_FLAG_USEATTACHMENT = 0x0002 SOUND_FROM_WORLD = 0 CHAN_STATIC = 6 EFFECT.Speed = 6500 EFFECT.Length = 64 --EFFECT.WhizSound = Sound( "nomad/whiz.wav" ); -- by Robinhood76 (http:--www.freesound.org/people/Robinhood76/sounds/96556/) EFFECT.WhizDistance = 72 local MaterialMain = Material( "effe...
apache-2.0
egonSchiele/nginx
src/misc/lua-nginx-module/t/lib/CRC32.lua
57
5575
--Copyright (c) 2007-2008 Neil Richardson (nrich@iinet.net.au) -- --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...
bsd-2-clause
bright-things/ionic-luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialzones.lua
68
3276
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") local uci = require("luci.model.uci").cursor() --[[ Dialzone overview table ]] if not arg[1] then zonemap = Map("asterisk", "Dial Zones", [[ Dial zones hold patterns of...
apache-2.0
d909b/GADEL-Snake
Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-func.lua
7
1899
require 'pl' asserteq = require('pl.test').asserteq utils.import('pl.func') -- _DEBUG = true function pprint (t) print(pretty.write(t)) end function test (e) local v = {} print('test',collect_values(e,v)) if #v > 0 then pprint(v) end local rep = repr(e) print(rep) end import ('math') ...
bsd-3-clause
RavenX8/osIROSE-new
scripts/npcs/ai/[righteous_crusader]_gallahad.lua
2
1065
registerNpc(1141, { 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
Sonicrich05/FFXI-Server
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cf.lua
34
1075
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cf (Gate of Wind) -- @pos -332 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs")...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Port_San_dOria/npcs/Solgierte.lua
36
1375
----------------------------------- -- Area: Port San d'Oria -- NPC: Solgierte -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/Tex...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Aht_Urhgan_Whitegate/npcs/Koyol-Futenol.lua
17
3807
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Koyol-Futenol -- Title Change NPC -- @pos -129 2 -20 50 ----------------------------------- require("scripts/globals/titles"); local title2 = { DARK_RESISTANT , BEARER_OF_THE_MARK_OF_ZAHAK , SEAGULL_PHRATRIE_CREW_MEMBER , PROUD_AUTOMA...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria_[S]/npcs/AshmeaBGreinner1.lua
19
1083
----------------------------------- -- 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/Bibiki_Bay/npcs/Toh_Zonikki.lua
19
4706
----------------------------------- -- Area: Bibiki Bay -- NPC: Toh Zonikki -- Type: Clamming NPC -- @pos -371 -1 -421 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; require("scripts/zones/Bibiki_Bay/TextIDs"); require("scripts/globals/keyitems"); -------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Zeruhn_Mines/Zone.lua
30
2566
----------------------------------- -- -- Zone: Zeruhn_Mines (172) -- ----------------------------------- package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/zone"); require("scripts/zones/Zeruhn_Mines/Tex...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/ear_of_grilled_corn.lua
35
1298
----------------------------------------- -- ID: 4334 -- Item: ear_of_grilled_corn -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 4 -- Health Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ------------...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/East_Ronfaure/npcs/Logging_Point.lua
4
1057
----------------------------------- -- Area: East Ronfaure -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/East_Ronfaure/TextIDs"); ---------------...
gpl-3.0
Ding8222/skynet
lualib/skynet/remotedebug.lua
17
5609
local skynet = require "skynet" local debugchannel = require "skynet.debugchannel" local socketdriver = require "skynet.socketdriver" local injectrun = require "skynet.injectcode" local table = table local debug = debug local coroutine = coroutine local sethook = debugchannel.sethook local M = {} local HOOK_FUNC = "...
mit
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Shared Resources Pack/lua/effects/rw_sw_impact_yellow.lua
1
2444
local MaterialGlow = Material( "effects/sw_i/sw_laser_bit_yellow" ); function EFFECT:Init( data ) local bit_amount = GetConVar("rw_sw_bit_amount"):GetInt() local smoke_amount = GetConVar("rw_sw_smoke_amount"):GetInt() local duration = GetConVar("rw_sw_impact_duration"):GetInt() self.Position = data:GetOrigin(); s...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Al_Zahbi/npcs/Zwiyaam.lua
4
1025
----------------------------------- -- Area: Al Zahbi -- NPC: Zwiyaam -- Type: Standard NPC -- @zone: 48 -- @pos: 14.814 -7.667 41.889 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/abilities/pets/aero_ii.lua
20
1157
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ----------------------------------------------...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_Bastok/npcs/Ilita.lua
2
1129
----------------------------------- -- Area: Port Bastok -- NPC: Ilita -- Linkshell merchant -- @pos -142 -1 -25 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Port_Bastok...
gpl-3.0
FelixPe/nodemcu-firmware
tests/NTest/NTest.lua
5
8560
local function TERMINAL_HANDLER(e, test, msg, errormsg) if errormsg then errormsg = ": "..errormsg else errormsg = "" end if e == 'start' then print("######## "..e.."ed "..test.." tests") elseif e == 'pass' then print(" "..e.." "..test..': '..msg) elseif e == 'fail' then print(" ==> "....
mit
DrMelon/OpenRA
mods/cnc/maps/nod01/nod01.lua
14
3143
InitialForcesA = { "bggy", "e1", "e1", "e1", "e1" } InitialForcesB = { "e1", "e1", "bggy", "e1", "e1" } RifleInfantryReinforcements = { "e1", "e1" } RocketInfantryReinforcements = { "e3", "e3", "e3", "e3", "e3" } SendInitialForces = function() Media.PlaySpeechNotification(nod, "Reinforce") Reinforcements.Reinforce...
gpl-3.0
eonezhang/thrift
lib/lua/TServer.lua
74
3988
-- -- 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 ma...
apache-2.0
correa/domoticz
dzVents/runtime/device-adapters/humidity_device.lua
20
1025
local humidityMapping = { ['dry'] = 2, ['normal'] = 0, ['comfortable'] = 1, ['wet'] = 3 } return { baseType = 'device', name = 'Humidty device adapter', matches = function (device, adapterManager) local res = (device.deviceType == 'Humidity') if (not res) then adapterManager.addDummyMethod(device, 'up...
gpl-3.0
RavenX8/osIROSE-new
scripts/mobs/ai/old_flanae.lua
2
1061
registerNpc(44, { walk_speed = 0, run_speed = 0, scale = 120, r_weapon = 1073, l_weapon = 0, level = 18, hp = 34, attack = 92, hit = 89, def = 66, res = 26, avoid ...
apache-2.0
DiNaSoR/Angel_Arena
game/angel_arena/scripts/vscripts/hero/hero_silencer.lua
1
36068
CreateEmptyTalents("silencer") ---------------------------------------------------- -- Arcane Curse ---------------------------------------------------- imba_silencer_arcane_curse = imba_silencer_arcane_curse or class({}) function imba_silencer_arcane_curse:GetAbilityTextureName() return "silencer_curse_of_the_sil...
mit
rlowrance/re
modelLogregOLD_test.lua
1
8299
-- modelLogreg_test.lua require 'makeVp' require 'modelLogreg' torch.manualSeed(123456) local verbose = 0 local vp = makeVp(verbose, 'tester') -- return values for test set 1 local function testset1() -- class 1 contains: [0 0] and [0 1] -- class 2 contains: [1 0] -- class 3 contains: [1 1] local theta ...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/coral_butterfly.lua
18
1264
----------------------------------------- -- ID: 4580 -- Item: Coral Butterfly -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---...
gpl-3.0
ochinchina/thrift
lib/lua/TBinaryProtocol.lua
23
6141
-- -- 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 ma...
apache-2.0
Sonicrich05/FFXI-Server
scripts/zones/Windurst_Waters/npcs/Mashuu-Ajuu.lua
36
5629
----------------------------------- -- Area: Windurst Waters -- NPC: Mashuu-Ajuu -- Starts and Finished Quest: Reap What You Sow -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 129 -6 167 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/Text...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Windurst_Waters_[S]/npcs/Velda-Galda.lua
38
1050
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Velda-Galda -- Type: Mission NPC -- @zone: 94 -- @pos 138.631 -3.112 61.658 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Expanded Pack/lua/weapons/weapon_tfa_dc15sa91/shared.lua
1
1694
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "DC-15 Side Arm 91st Edition" SWEP.Author = "Servius & StrickenNZ" SWEP.ViewModelFOV = 70 SWEP.Slot = 1 SWEP.SlotPos = 5 SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15SA") killicon....
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Gaudylox.lua
2
1796
----------------------------------- -- Area: Northern San d'Oria -- NPC: Gaudylox -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); --require("scripts/globals/shop"); re...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Talacca_Cove/npcs/_1l0.lua
38
1487
----------------------------------- -- Area: Talacca_Cove -- NPC: rock slab (corsair job flag quest) -- ----------------------------------- package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Talacca_Cove/TextIDs"); require("scripts/globals/keyitems"...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Dynamis-Xarcabard/mobs/Tombstone_Prototype.lua
2
1240
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Tombstone Prototype ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("scripts/zo...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Port_Bastok/npcs/Talib.lua
17
2865
----------------------------------- -- 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/s...
gpl-3.0
amirf2020/nod32
plugins/anti_spam.lua
90
4016
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
rlowrance/re
validate_test.lua
1
1063
-- validate_test.lua -- unit test require 'makeVp' require 'validate' verbose = 0 vp = makeVp(verbose) dataTraining = {10, 20, 30} dataValidation = {40, 50, 39} function train(alpha) local vp = makeVp(verbose, 'train') vp(1, 'alpha', alpha) local trainedModel = alpha vp(1, 'trainedModel', trainedModel) ...
gpl-3.0
dany-sj/permag.ir
libs/XMLElement.lua
31
3946
local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, type, getmetatable, tostring, error local table, string = table, string local XMLElement={} local mt XMLElement.new = function(lom) return setmetatable({lom=lom or {}}, mt) end local function filter(filtery_thing...
gpl-3.0
projectbismark/luci-bismark
modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
8
8099
--[[ LuCI - Lua Configuration Interface 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 http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- loc...
apache-2.0
fruitwasp/DarkRP
gamemode/modules/fadmin/fadmin/playeractions/cloak/cl_init.lua
14
1192
FAdmin.StartHooks["zz_Cloak"] = function() FAdmin.Access.AddPrivilege("Cloak", 2) FAdmin.Commands.AddCommand("Cloak", nil, "<Player>") FAdmin.Commands.AddCommand("Uncloak", nil, "<Player>") FAdmin.ScoreBoard.Player:AddActionButton(function(ply) if ply:FAdmin_GetGlobal("FAdmin_cloaked") then ret...
mit
Sonicrich05/FFXI-Server
scripts/zones/Jugner_Forest_[S]/npcs/Cavernous_Maw.lua
29
1473
----------------------------------- -- Area: Jugner Forest [S] -- NPC: Cavernous Maw -- @pos -118 -8 -520 82 -- Teleports Players to Jugner Forest ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/spells/bluemagic/frost_breath.lua
18
2070
----------------------------------------- -- Spell: Frost Breath -- Deals ice damage to enemies within a fan-shaped area originating from the caster. Additional effect: Paralysis -- Spell cost: 136 MP -- Monster Type: Lizards -- Spell Type: Magical (Ice) -- Blue Magic Points: 3 -- Stat Bonus: INT-2 -- Level: 66...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Temenos/mobs/Kindred_Summoner.lua
16
1157
----------------------------------- -- Area: Temenos N T -- NPC: Kindred_Summoner. ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/serving_of_salmon_eggs.lua
35
1340
----------------------------------------- -- ID: 5217 -- Item: serving_of_salmon_eggs -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 6 -- Magic 6 -- Dexterity 2 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
bihai/richman
cocos2d/plugin/luabindings/auto/api/ProtocolAds.lua
146
1442
-------------------------------- -- @module ProtocolAds -- @extend PluginProtocol -- @parent_module plugin -------------------------------- -- brief show adview<br> -- param info The information of adview will be shown<br> -- Pay attention to the subclass definition<br> -- param pos The position where the adview be s...
mit
Sonicrich05/FFXI-Server
scripts/zones/Rabao/npcs/Irmilant.lua
17
3769
----------------------------------- -- Area: Rabao -- NPC: Irmilant -- Starts and Ends Quests: The Immortal Lu Shang and Indomitable Spirit ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/globals/titles"); require("scripts/globals/settings"); require("...
gpl-3.0
oathx/Six
U3D/Client/Assets/LuaScript/3204.lua
1
1104
import 'System' import 'UnityEngine' import 'Assembly-CSharp' -- The user-code assembly generated by Unity. module("3204", package.seeall) -- scene loading finish, game engine will call this function function OnSceneStart() -- start ai server lua_export.start_ai_server() end --[[ /// <summary> ///...
gpl-2.0
rayaman/multi
oldversions/MultiManager(0.4.0-5).lua
1
11556
multi = {} multi.Version="4.0.5" multi.__index = multi multi.Mainloop={} multi.Tasks={} multi.Tasks2={} multi.Garbage={} multi.Children={} multi.Paused={} multi.MasterId=0 multi.Active=true multi.Id=-1 multi.Type="mainint" multi.Rest=0 multi._type=type multi.Jobs={} multi.queue={} multi.jobUS=2 --[[function type(v) lo...
mit
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/QuBia_Arena/bcnms/rank_5_mission.lua
10
1872
----------------------------------- -- Area: Qu'Bia Arena -- NPC: Mission Rank 5 -- @pos -221 -24 19 206 ----------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/QuBia_Arena/TextIDs");...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/bowl_of_medicinal_gruel.lua
35
1505
----------------------------------------- -- ID: 4534 -- Item: bowl_of_medicinal_gruel -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Vitality -1 -- Agility 2 -- Ranged Accuracy % 15 (cap 15) -- HP Recovered While Healing 4 ----------------------------------------- require("scr...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/effects/int_down.lua
18
1098
----------------------------------- -- -- EFFECT_INT_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_INT) - effec...
gpl-3.0
uuuuuuBoT/uuuuuuBoT
plugins/tag_english.lua
8
2737
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀ ▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄▀...
gpl-3.0
poelzi/ulatencyd
rules/00-fixers.lua
2
2883
--[[ Copyright 2010,2011 ulatencyd developers This file is part of ulatencyd. License: GNU General Public License 3 or later common code for fixing bad behaviour of desktop uis ]]-- -- search if name is in table lst function in_list(name, lst) for i,v in ipairs(lst) do if name == v then ...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Liloune.lua
6
1316
----------------------------------- -- Area: Port San d'Oria -- NPC: Liloune -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); --...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Upper_Jeuno/npcs/Ilumida.lua
17
5052
----------------------------------- -- Area: Upper Jeuno -- NPC: Ilumida -- Starts and Finishes Quest: A Candlelight Vigil -- @pos -75 -1 58 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ----------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Bastok_Markets/npcs/Marin.lua
38
1121
----------------------------------- -- Area: Bastok Markets -- NPC: Marin -- Type: Quest Giver -- @zone: 235 -- @pos -340.060 -11.003 -148.181 -- -- Auto-Script: Requires Verification. Verified standard dialog is also "All By Myself" repeatable quest. - thrydwolf 12/18/2011 ----------------------------------- pac...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Lower_Jeuno/npcs/_l01.lua
36
1563
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -101.010 0 -144.080 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
Servius/tfa-sw-weapons-repository
In Development/servius_development/tfa_training_weapons/expanded_pack/lua/weapons/weapon_tfa_dc15aca_training/shared.lua
1
2823
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "DC-15A Assassin Edition" SWEP.Author = "Servius & StrickenNZ" SWEP.ViewModelFOV = 50 SWEP.Slot = 2 SWEP.SlotPos = 3 SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15A") killicon.Add( "...
apache-2.0
rlowrance/re
knn_implementation_2.lua
1
7338
-- knn_implementation_2.lua -- compute nearest neighbors with known features and varying mPerYear via table of knn functions -- -- this implementation tries to minimize the time needed to compute nearestKnown -- -- knn.knnInfo(queryIndex, features, featureName, maxK) -- --> knnInfo table -- knn.nearestKnown(knnInfo...
gpl-3.0
zillemarco/CppSharp
build/scripts/LLVM.lua
1
15142
require "Build" require "Utils" require "../Helpers" local basedir = path.getdirectory(_PREMAKE_COMMAND) local llvm = path.getabsolute(basedir .. "/../deps/llvm") -- Prevent premake from inserting /usr/lib64 search path on linux. GCC does not need this path specified -- as compiler automatically knows where to look f...
mit
Sonicrich05/FFXI-Server
scripts/zones/Mount_Zhayolm/npcs/Mining_Point.lua
29
1096
----------------------------------- -- Area: Mount Zhayolm -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Mount_Zhayolm/TextIDs"); -------...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/green_curry_bun.lua
3
1264
----------------------------------------- -- ID: 5756 -- Item: green_curry_bun -- Food Effect: 1hour, All Races ----------------------------------------- -- Vitality 1 -- Agility 2 -- Defense % 12 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/West_Sarutabaruta_[S]/npcs/Cavernous_Maw.lua
29
1486
----------------------------------- -- Area: West Sarutabaruta [S] -- NPC: Cavernous Maw -- @pos 0 0 -165 95 -- Teleports Players to West Sarutabaruta ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
rlowrance/re
hasNA_test.lua
1
1059
-- hasNA_test.lua require 'Dataframe' require 'hasNA' require 'makeVp' local verbose = 0 local vp = makeVp(verbose, 'tester') -- test for Dataframe local values = {x = {1,2,3}, y = {11, 12, 13}} local df = Dataframe{values = values} vp(1, 'df', df) assert(not hasNA(df)) df:addColumn('z', {101, Dat...
gpl-3.0
yoonkim/word-char-rnn
main.lua
2
16691
--[[ Trains a word-level or character-level (for inputs) lstm language model Predictions are still made at the word-level. Much of the code is borrowed from the following implementations https://github.com/karpathy/char-rnn https://github.com/wojzaremba/lstm ]]-- require 'torch' require 'nn' require 'nngraph' require...
mit
mamaddeveloper/inviterssss
plugins/anti-flood.lua
3
2483
local NUM_MSG_MAX = 6 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 4 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
Sonicrich05/FFXI-Server
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
17
6037
----------------------------------- -- Area: Northern San d'Oria -- NPC: Endracion -- @pos -110 1 -34 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/key...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/spells/bluemagic/foot_kick.lua
28
1716
----------------------------------------- -- Spell: Foot Kick -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Beasts -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: AGI+1 -- Level: 1 -- Casting Time: 0.5 seconds -- Recast Time: 6.5...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/handful_of_bloody_chocolate.lua
35
1173
----------------------------------------- -- ID: 5646 -- Item: handful_of_bloody_chocolate -- Food Effect: 1hour, All Races ----------------------------------------- -- MP Recovered While Healing 4 ----------------------------------------- require("scripts/globals/status"); ---------------------------------...
gpl-3.0
rlowrance/re
program_estimate_generalization_error.lua
1
21571
-- main program to estiamte generalization error for imputing a missing variable -- DESIGN CONSTRAINT: One executing instance of this program has access to the -- file system. -- -- INPUT FILES -- OUTPUT/parcels-sfr-geocoding.csv -- all of the single famile residential parcels with geocodes -- -- OUTPUT FILES -- Al...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_Jeuno/npcs/Karl.lua
2
2367
----------------------------------- -- Area: Port Jeuno -- NPC: Karl -- Starts and Finishes Quest: Child's Play -- @zone 246 -- @pos -60 0 -8 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/The_Celestial_Nexus/bcnms/celestial_nexus.lua
2
2094
----------------------------------- -- Area: 181 -- Name: celestial nexus ----------------------------------- package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/titles"); require("scripts/globals/quests"); requ...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Northern_San_dOria/npcs/Grilau.lua
17
5663
----------------------------------- -- Area: Northern San d'Oria -- NPC: Grilau -- @pos -241.987 6.999 57.887 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyi...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Yuhtunga_Jungle/TextIDs.lua
4
1642
-- 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 = 6383; -- Obtained: <item>. GIL_OBTAINED = 6384; -- Obtained <number> gil. KEYITEM_OBTAINED = 6386; -- Obtained...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Bastok_Mines/npcs/Gorvik.lua
38
1045
----------------------------------- -- Area: Bastok Mines -- NPC: Gorvik -- Type: Past Event Watcher -- @zone: 234 -- @pos 21.033 -1 -98.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("script...
gpl-3.0
dremio/arrow
c_glib/example/lua/write-stream.lua
19
2798
-- 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...
apache-2.0
premake/premake-core
modules/gmake/gmake.lua
12
6373
-- -- gmake.lua -- Define the makefile action(s). -- Copyright (c) 2002-2015 Jason Perkins and the Premake project -- local p = premake p.modules.gmake = {} p.modules.gmake._VERSION = p._VERSION -- for backwards compatibility. p.make = p.modules.gmake local make = p.make local project = p.project -- -- Writ...
bsd-3-clause
amirf2020/nod32
plugins/anti_fosh.lua
49
1591
local function run(msg, matches) if is_owner(msg) then return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings'] then if data[tostring(msg.to.id)]['settings']['antifosh'] then lock_fos...
gpl-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Crawlers_Nest_[S]/npcs/Tucker.lua
4
3111
---------------------------------- -- Area: Crawlers' Nest [S] -- NPC: Tucker ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; require("scripts/zones/Crawlers_Nest_[S]/TextIDs"); require("scripts/globals/quests"); ----------------------------------- -- onTrade Act...
gpl-3.0
aunderwo/GameWithNoName
pl/text.lua
34
7257
--- Text processing utilities. -- -- This provides a Template class (modeled after the same from the Python -- libraries, see string.Template). It also provides similar functions to those -- found in the textwrap module. -- -- See @{03-strings.md.String_Templates|the Guide}. -- -- Calling `text.format_operator()` over...
mit
Sonicrich05/FFXI-Server
scripts/zones/The_Eldieme_Necropolis/npcs/Sarcophagus.lua
19
4274
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Sarcophagus -- Involved in Quest: The Requiem (BARD AF2) -- @pos -420 8 500 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; --------...
gpl-3.0
nagyist/assembla-ltrplugins
trunk/Other/JohnEllis/debugscript.lrdevplugin/Require.lua
1
9929
--[[---------------------------------------------------------------------------- 12345678901234567890123456789012345678901234567890123456789012345678901234567890 Require Copyright 2010, John R. Ellis -- You may use this script for any purpose, as long as you include this notice in any versions derived in whole ...
artistic-2.0
mandrav/moai_pex_editor
src/config.lua
1
3826
------------------------------------------------------------------------------- -- global "constants" ------------------------------------------------------------------------------- APP_NAME = "PEX Editor" APP_DEBUG = false APP_LOG = "pex_editor.log" APP_VERSION = "0.1" -- these are used to initialize the window -- if...
mit
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/abilities/reward.lua
2
6289
----------------------------------- -- Ability: Heal a pet with pet food. ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/pets"); ----------------------------------- -- OnUseAbility ----------------------------------- function OnAbi...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Phomiuna_Aqueducts/npcs/_ir9.lua
17
1491
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: _ir9 (Iron Gate) -- @pos 70 -1.5 140 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/weaponskills/heavy_shot.lua
30
1328
----------------------------------- -- Heavy Shot -- Marksmanship weapon skill -- Skill Level: 225 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: AGI:30% -- 1...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Southern_San_dOria/npcs/Ashene.lua
36
2059
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ashene -- Standard Merchant NPC -- @zone 230 -- @pos 70 0 61 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
madeddie/hotjar-task
nginx/lua/lib/pgmoon/arrays.lua
4
2880
local PostgresArray do local _class_0 local _base_0 = { } _base_0.__index = _base_0 _class_0 = setmetatable({ __init = function() end, __base = _base_0, __name = "PostgresArray" }, { __index = _base_0, __call = function(cls, ...) local _self_0 = setmetatable({}, _base_0) cls.__...
mit
Dual-Boxing/Jamba
JambaTeam.lua
1
54885
--[[ Jamba - Jafula's Awesome Multi-Boxer Assistant Copyright 2008 - 2015 Michael "Jafula" Miller License: The MIT License ]]-- -- Create the addon using AceAddon-3.0 and embed some libraries. local AJM = LibStub( "AceAddon-3.0" ):NewAddon( "JambaTeam", "JambaModule-1.0", "AceConsole-3.0", "AceEvent-3.0", "AceH...
mit
premake/premake-core
modules/gmake2/gmake2_cpp.lua
1
21009
-- -- gmake2_cpp.lua -- Generate a C/C++ project makefile. -- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project -- local p = premake local gmake2 = p.modules.gmake2 gmake2.cpp = {} local cpp = gmake2.cpp local project = p.project local config = p.config local file...
bsd-3-clause
ShmooDude/ovale
libs/AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua
25
6806
--[[----------------------------------------------------------------------------- Keybinding Widget Set Keybindings in the Config UI. -------------------------------------------------------------------------------]] local Type, Version = "Keybinding", 25 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not Ace...
gpl-2.0
fruitwasp/DarkRP
gamemode/modules/f1menu/cl_f1menupanel.lua
8
3332
local PANEL = {} AccessorFunc(PANEL, "m_bgColor", "BackgroundColor") function PANEL:Init() self:SetFocusTopLevel(true) self:SetSize(ScrW() * 0.9, ScrH() * 0.9) self:SetBackgroundColor(Color(0, 0, 0, 220)) self:SetPos(-self:GetWide(), ScrH() * 0.05) -- Can be removed once https://github.com/garryn...
mit
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Castle_Oztroja_[S]/Zone.lua
4
1244
----------------------------------- -- -- Zone: Castle_Oztroja_[S] (99) -- ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Castle_Oztroja_[S]/TextIDs"); ----------------------------------- -- onInitialize...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/spells/frost.lua
2
1532
----------------------------------------- -- Spell: Frost -- Deals ice damage that lowers an enemy's agility and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -------------------------------...
gpl-3.0