repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
Sonicrich05/FFXI-Server
scripts/globals/weaponskills/mordant_rime.lua
18
4870
----------------------------------- -- Mordant Rime -- Dagger weapon skill -- Skill level: N/A -- Description: Delivers a twofold attack that decreases target's movement speed. Chance of decreasing movement speed varies with TP. Carnwenhan: Aftermath effect varies with TP. -- Aligned with the Breeze Gorget, Thunde...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Fittesegat.lua
5
1030
----------------------------------- -- Area: Northern San d'Oria -- NPC: Fittesegat -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos: 144.250 0.000 138.203 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Gusgen_Mines/npcs/Mining_Point.lua
29
1093
----------------------------------- -- Area: Gusgen Mines -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Gusgen_Mines/TextIDs"); ----------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/weaponskills/shell_crusher.lua
18
1620
----------------------------------- -- Shell Crusher -- Staff weapon skill -- Skill Level: 175 -- Lowers target's defense. Duration of effect varies with TP. -- If unresisted, lowers target defense by 25%. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget. -- Aligned with the Breeze Belt. -- E...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/spells/earth_carol.lua
18
1505
----------------------------------------- -- Spell: Earth Carol -- Increases earth resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Yuhtunga_Jungle/npcs/Mupia_RK.lua
4
2898
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Mupia, R.K. -- Border Conquest Guards -- @pos -241.334 -1 478.602 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Heavens_Tower/npcs/_6q2.lua
17
3449
----------------------------------- -- Area: Heaven's Tower -- NPC: Vestal Chamber (chamber of the Star Sibyl) -- @pos 0.1 -49 37 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require...
gpl-3.0
emadni/launcherlordbot
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
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Mhaura/npcs/Numi_Adaligo.lua
2
1216
----------------------------------- -- Area: Mhaura -- NPC: Numi Adaligo -- Working 100% -- Involved In Quest: RYCHARDE_THE_CHEF ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player...
gpl-3.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Shared Resources Pack/lua/effects/rw_sw_muzzleflash_orange.lua
1
11154
EFFECT.Life = 0.12 EFFECT.XFlashSize = 0.55 EFFECT.FlashSize = 0.5 EFFECT.SmokeSize = 0 EFFECT.SparkSize = 1.25 EFFECT.HeatSize = 1 EFFECT.Color = Color(255,150,0) EFFECT.ColorSprites = true local AddVel = Vector() local ang function EFFECT:Init(data) self.WeaponEnt = data:GetEntity() if not IsValid(self.WeaponEnt)...
apache-2.0
mohammadkabir1/kabirBot
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
Sonicrich05/FFXI-Server
scripts/globals/items/serving_of_green_curry.lua
35
1755
----------------------------------------- -- ID: 4296 -- Item: serving_of_green_curry -- Food Effect: 180Min, All Races ----------------------------------------- -- Agility 2 -- Vitality 1 -- Health Regen While Healing 2 -- Magic Regen While Healing 1 -- Defense % 9 -- Ranged ACC % 5 -- Ranged ACC Cap 25 --...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Behemoths_Dominion/npcs/qm2.lua
2
1787
----------------------------------- -- Area: Behemoth's Dominion -- NPC: ??? -- @zone 127 -- @pos -267 -19 74 ----------------------------------- package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Behemoths_...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Aydeewa_Subterrane/npcs/qm1.lua
15
1185
----------------------------------- -- Area: Aydeewa Subterrane -- NPC: ??? (Spawn Nosferatu(ZNM T3)) -- @pos -199 8 -62 68 ----------------------------------- package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aydeewa_Subterrane/TextIDs"); -...
gpl-3.0
FelixPe/nodemcu-firmware
tests/NTest_ws2812.lua
5
8307
local N = ... N = (N or require "NTest")("ws2812 buffers") local buffer, buffer1, buffer2 local function initBuffer(buf, ...) for i,v in ipairs({...}) do buf:set(i, v, v*2, v*3, v*4) end return buf end local function equalsBuffer(buf1, buf2) return eq(buf1:dump(), buf2:dump()) end N.test('initialize a ...
mit
rlowrance/re
lua/affirm-test.lua
1
1270
-- affirm-test.lua -- unit tests require 'affirm' require 'Completion' require 'Log' require 'Tester' require 'Set' tester = Tester() test = {} function test.one() local im = IncompleteMatrix() im:add(1,1,10) local completion = Completion(im, 0.001, 10) local log = Log('affirm-test-dummy.file') local ...
gpl-3.0
Sonicrich05/FFXI-Server
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
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/tavnazian_taco.lua
3
1736
----------------------------------------- -- ID: 5174 -- Item: tavnazian_taco -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 20 -- Magic 20 -- Dexterity 4 -- Agility 4 -- Vitality 6 -- Charisma 4 -- Defense % 25 -- HP Recovered While Healing 1 -- MP Recovered While Healing 1 -- Def...
gpl-3.0
emadni/launcherlordbot
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
Sonicrich05/FFXI-Server
scripts/zones/Port_Bastok/npcs/Rosswald.lua
36
1683
----------------------------------- -- Area: Port Bastok -- NPC: Rosswald -- Only sells when Bastok controlls Zulkheim Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok...
gpl-3.0
fw867/ntopng
scripts/lua/do_export_data.lua
3
1041
-- -- (C) 2013-14 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('application/json') if(_GET["csrf"] ~= nil) then interface.find(ifname) if((_GET["hostIP"] ~= nil) and (_GET["hostIP"] ~= "")) then vlan = 0 ...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Port_Bastok/npcs/Agapito.lua
19
1868
----------------------------------- -- Area: Port Bastok -- NPC: Agapito -- Start & Finishes Quest: The Stars of Ifrit -- @zone: 236 -- @pos -72.093 -3.097 9.309 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/s...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/blackened_newt.lua
3
1448
----------------------------------------- -- ID: 4581 -- Item: Blackened Newt -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -3 -- Attack % 18 -- Attack Cap 60 -- Virus Resist 5 -- Charm Resist 5 ----------------------------------------- require("scripts/globals/stat...
gpl-3.0
cwarden/mysql-proxy
tests/suite/base/t/xtab1-mock.lua
4
1111
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distribut...
gpl-2.0
Sonicrich05/FFXI-Server
scripts/globals/items/bowl_of_boiled_cockatrice.lua
35
1750
----------------------------------------- -- ID: 4547 -- Item: Bowl of Boiled Cockatrice -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 5 -- Agility 2 -- Intelligence -1 -- Mind 1 -- Attack % 22 -- Attack Cap 60 -- Ranged ATT % 22 -- Ranged ATT Cap 60 --------------...
gpl-3.0
fruitwasp/DarkRP
entities/entities/darkrp_billboard/shared.lua
7
2771
ENT.Type = "anim" ENT.Base = "base_gmodentity" ENT.PrintName = "DarkRP billboard" ENT.Instructions = "Shows advertisements." ENT.Author = "FPtje" ENT.Spawnable = false ENT.Editable = true ENT.IsDarkRPBillboard = true cleanup.Register("advert_billboards") function ENT:SetupDataTables() self:NetworkVar("String", 0...
mit
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Expanded Pack/lua/weapons/tfa_sw_dual_de10/shared.lua
1
3799
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "Dual DE-10" SWEP.Author = "Servius" SWEP.ViewModelFOV = 70 SWEP.Slot = 1 SWEP.SlotPos = 5 SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DE10") killicon.Add( "weapon_752_de10", "HUD/killicons/DE...
apache-2.0
Servius/tfa-sw-weapons-repository
In Development/servius_development/tfa_training_weapons/mega_pack/lua/weapons/tfa_swch_elg3a/shared.lua
1
1332
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "ELG-3A" SWEP.Author = "Syntax_Error752" SWEP.ViewModelFOV = 70 SWEP.Slot = 1 SWEP.SlotPos = 5 SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/ELG3A") killicon.Add( "weapon_752_elg3a", "H...
apache-2.0
Sonicrich05/FFXI-Server
scripts/globals/effects/mnd_down.lua
18
1090
----------------------------------- -- -- EFFECT_MND_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_MND) - effec...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Ifrits_Cauldron/npcs/Treasure_Coffer.lua
17
4283
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: Treasure Coffer -- @zone 205 -- @pos 188 0 -28 ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/gl...
gpl-3.0
Servius/tfa-sw-weapons-repository
In Development/servius_development/tfa_training_weapons/expanded_pack/lua/weapons/weapon_tfa_dc15sacg_training/shared.lua
1
1690
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "DC-15 Side Arm Clone Guard Edition" SWEP.Author = "Servius & StrickenNZ" SWEP.ViewModelFOV = 70 SWEP.Slot = 1 SWEP.SlotPos = 5 SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15SA") ki...
apache-2.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader_legacy/tfa_shared_resources/lua/effects/effect_sw_impact_2/init.lua
3
2248
EFFECT.Duration = 0.25; EFFECT.Size = 32; local MaterialGlow = Material( "effects/sw_laser_bit" ); function EFFECT:Init( data ) self.Position = data:GetOrigin(); self.Normal = data:GetNormal(); self.LifeTime = self.Duration; -- particles local emitter = ParticleEmitter( self.Position ); if( emitter ) th...
apache-2.0
premake/premake-core
modules/vstudio/tests/vc200x/test_excluded_configs.lua
14
1619
-- -- tests/actions/vstudio/vc200x/test_excluded_configs.lua -- Check handling of configurations which have been excluded from the build. -- Copyright (c) 2012-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vs200x_excluded_configs") local vc200x = p.vstudio.vc200x local...
bsd-3-clause
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Woods/npcs/Terude-Harude.lua
5
1047
----------------------------------- -- Area: Windurst Woods -- NPC: Terude-Harude -- Type: Head Craftsman -- @zone: 241 -- @pos: -32.350 -2.679 -116.450 -- -- 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/Monarch_Linn/bcnms/Ancient_Vows.lua
2
2263
----------------------------------- -- Area: Monarch Linn -- Name: Ancient Vows ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); -- After registering the BCNM via bcnmRegister(bcnmid) function OnBcnmRegister(player,instance) -- initialize timers if they don'...
gpl-3.0
Servius/tfa-sw-weapons-repository
In Development/servius_development/tfa_swrp_imperial_era_weapons_pack/lua/entities/vox_e60r_rocket/cl_init.lua
11
1374
include('shared.lua') //[[--------------------------------------------------------- //Name: Draw Purpose: Draw the model in-game. //Remember, the things you render first will be underneath! //-------------------------------------------------------]] function ENT:Draw() // self.BaseCl...
apache-2.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader_legacy/tfa_shared_resources/lua/entities/dc17m_at_rocket2/cl_init.lua
11
1374
include('shared.lua') //[[--------------------------------------------------------- //Name: Draw Purpose: Draw the model in-game. //Remember, the things you render first will be underneath! //-------------------------------------------------------]] function ENT:Draw() // self.BaseCl...
apache-2.0
moquist/raft.js
research_class/pgfplots/tex/generic/pgfplots/lua/pgfplots/binary.lua
4
1660
-- Attention: functions in this file are part of the backend driver. -- They are supposed to work back with Lua 5.1 . -- Note that most of the 'lua backend' requires Lua 5.2 (currently) pgfplotsGetLuaBinaryStringFromCharIndicesChunkSize = 7000; if unpack == nil then -- LUA 0.76 renamed unpack to table.unpack pgfpl...
mpl-2.0
AdUki/Grapedit
scripts/libs/pl/func.lua
8
10471
--- Functional helpers like composition, binding and placeholder expressions. -- Placeholder expressions are useful for short anonymous functions, and were -- inspired by the Boost Lambda library. -- -- > utils.import 'pl.func' -- > ls = List{10,20,30} -- > = ls:map(_1+1) -- {11,21,31} -- -- They can also b...
mit
Sonicrich05/FFXI-Server
scripts/globals/weaponskills/onslaught.lua
18
2401
----------------------------------- -- Onslaught -- Axe weapon skill -- Skill Level: N/A -- Lowers target's params.accuracy. Additional effect: temporarily increases Attack. -- Available only when equipped with the Relic Weapons Ogre Killer (Dynamis use only) or Guttler or Cleofun Axe (with Latent active). -- The...
gpl-3.0
apetrone/1GAM-2013
game/screens/mainmenu.lua
1
4021
require "core" MainMenuScreen = class("MainMenuScreen", Screen ) function MainMenuScreen:OnNewGame(params) end function MainMenuScreen:OnOptions(params) end function MainMenuScreen:ShowHelp(params) self.screencontrol.last_screen = self.screencontrol:setActiveScreen("help", params) end function MainMenuScreen:On...
mit
premake/premake-core
modules/gmake2/gmake2_csharp.lua
12
7771
-- -- gmake2_csharp.lua -- Generate a C# project makefile. -- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project -- local p = premake local gmake2 = p.modules.gmake2 gmake2.cs = {} local cs = gmake2.cs local project = p.project local config = p.config local filec...
bsd-3-clause
bright-things/ionic-luci
applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua
141
1038
--[[ smap_devinfo - SIP Device Information (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.i18n") re...
apache-2.0
RavenX8/osIROSE-new
scripts/mobs/ai/astarot.lua
2
1078
registerNpc(395, { walk_speed = 300, run_speed = 710, scale = 370, r_weapon = 1055, l_weapon = 0, level = 145, hp = 448, attack = 860, hit = 536, def = 1173, res = 529, av...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/abilities/pets/lightning_breath.lua
4
1232
--------------------------------------------------- -- Lightning Breath --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --------------------------------------------------- function OnAbilityCheck...
gpl-3.0
bioh4x/NeatFreq
lib/genometools-1.4.1/gtscripts/display.lua
1
1517
--[[ Copyright (c) 2007 Gordon Gremme <gremme@zbh.uni-hamburg.de> Copyright (c) 2007 Center for Bioinformatics, University of Hamburg Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permissi...
gpl-2.0
projectbismark/luci-bismark
modules/admin-full/luasrc/model/cbi/admin_system/leds.lua
83
3272
--[[ 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$ ]]-- m = ...
apache-2.0
kolyagora/packages
net/luci-app-clamav/files/model/cbi/clamav-cbi.lua
100
6776
--[[ LuCI ClamAV module Copyright (C) 2015, Itus Networks, Inc. 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 Author: Marko Ratkaj <marko.ratkaj@sar...
gpl-2.0
Sonicrich05/FFXI-Server
scripts/zones/Tavnazian_Safehold/npcs/Despachiaire.lua
17
2660
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Despachiaire -- @pos 108 -40 -83 26 ----------------------------------- require("scripts/globals/missions"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Cape_Teriggan/npcs/Paise_RK.lua
28
3038
----------------------------------- -- Area: Cape Teriggan -- NPC: Bright Moon -- Type: Border Conquest Guards -- @pos 119 0 282 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("scrip...
gpl-3.0
LuaDist2/lzmq
test/test_threads_fork_opt.lua
8
1321
local TEST_FFI = ("ffi" == os.getenv("LZMQ")) local LZMQ = "lzmq" .. (TEST_FFI and ".ffi" or "") local zthreads = require (LZMQ .. ".threads" ) local thread_code = function(...) local function assert_equal(name, a, b, ...) if a == b then return b, ... end print(name .. " Fail! Expected `" .. tostring(a)...
mit
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters_[S]/npcs/Pelsey-Holsey.lua
4
1053
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pelsey-Holsey -- Type: Standard NPC -- @zone: 94 -- @pos: 119.755 -4.5 209.754 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
RavenX8/osIROSE-new
scripts/npcs/ai/[ikaness_staff]_orias.lua
2
1065
registerNpc(1073, { walk_speed = 0, run_speed = 0, scale = 130, r_weapon = 0, l_weapon = 0, level = 10, hp = 100, attack = 100, hit = 100, def = 100, res = 100, avoid ...
apache-2.0
britzl/luacov-cobertura
luacov/cobertura/luatoxml.lua
3
3814
--- Converts a Lua value (table) into properly formatted XML -- From https://github.com/britzl/luatoxml -- @module luatoxml -- @usage -- Consider the following Lua table: -- -- local luaobj = { -- root = { -- children = { -- { -- tag = { -- foo = "bar", -- ...
mit
leprechau/lua-consul
haproxy/print_r.lua
1
1432
-- taken from http://www.arpalert.org/haproxy-scripts.html function color(index, str) return "\x1b[" .. index .. "m" .. str .. "\x1b[00m" end function nocolor(index, str) return str end function sp(count) local spaces = "" while count > 0 do spaces = spaces .. " " count = count - 1 end return spaces end ...
bsd-2-clause
Sonicrich05/FFXI-Server
scripts/globals/mobskills/Horrid_Roar_3.lua
18
1346
--------------------------------------------------- -- Horrid Roar (Tiamat, Jormungand, Vrtra, Ouryu) -- Dispels all buffs including food. Lowers Enmity. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertp...
gpl-3.0
fruitwasp/DarkRP
entities/entities/food/init.lua
2
1108
AddCSLuaFile("shared.lua") include("shared.lua") function ENT:Initialize() self:SetModel("models/props_junk/garbage_takeoutcarton001a.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) local phys = self:GetPhysicsObject() phys:Wake() ...
mit
premake/premake-core
modules/gmake2/tests/test_gmake2_file_rules.lua
1
10305
-- -- test_gmake2_file_rules.lua -- Validate the makefile source building rules. -- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project -- local suite = test.declare("gmake2_file_rules") local p = premake local gmake2 = p.modules.gmake2 -- -- Setup -- local wks, prj function suite.setu...
bsd-3-clause
Servius/tfa-sw-weapons-repository
In Development/servius_development/tfa_training_weapons/expanded_pack/lua/weapons/tfa_dh17_training/shared.lua
1
4626
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "DH-17" SWEP.Author = "TFA, Servius" SWEP.ViewModelFOV = 50 SWEP.Slot = 2 SWEP.SlotPos = 3 end SWEP.Base = "tfa_3dscoped_base" SWEP.Category = "TFA Star Wars: Training" SWEP.Spawnable = true SWEP.AdminSpawnable = true SWEP.Ho...
apache-2.0
Sonicrich05/FFXI-Server
scripts/zones/Mamook/Zone.lua
28
1299
----------------------------------- -- -- Zone: Mamook (65) -- ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Mamook/TextIDs"); ----------------------------------- -- ...
gpl-3.0
aqasaeed/dictator
bot/seedbot.lua
1
9648
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
dani-sj/iman01
plugins/cpu.lua
244
1893
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' you...
gpl-2.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader_legacy/tfa_swrp_expanded_weapons_pack/lua/weapons/tfa_swch_dc15a_mint_fray/shared.lua
1
2807
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "DC-15A Mint" 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/killi...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Port_Bastok/npcs/Sawyer.lua
2
1378
----------------------------------- -- Area: Port Bastok -- NPC: Sawyer -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/zones/Port_Bastok/TextIDs"); ----------------------------------- -- onTrade ...
gpl-3.0
fruitwasp/DarkRP
gamemode/modules/chat/cl_chatlisteners.lua
1
8853
--[[--------------------------------------------------------------------------- This module finds out for you who can see you talk or speak through the microphone ---------------------------------------------------------------------------]] --[[--------------------------------------------------------------------------...
mit
Sonicrich05/FFXI-Server
scripts/zones/PsoXja/npcs/_09g.lua
17
1222
----------------------------------- -- Area: Pso'Xja -- NPC: Avatars Gate ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/PsoXja/TextIDs"); require("scripts/globals/keyite...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/La_Theine_Plateau/npcs/Galaihaurat.lua
17
2430
----------------------------------- -- Area: La Theine Plateau -- NPC: Galaihaurat -- Involved in Mission: The Rescue Drill -- @pos -482 -7 222 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
Toeler/AuctionHouseRunes
GeminiLogging/GeminiLogging.lua
7
15049
------------------------------------------------------------------------------- -- GeminiLogging -- Copyright (c) NCsoft. All rights reserved -- Author: draftomatic -- Logging library (loosely) based on LuaLogging. -- Comes with appenders for GeminiConsole and Print() Debug Channel. ------------------------------------...
mit
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Heavens_Tower/npcs/Kupipi.lua
2
6110
----------------------------------- -- Area: Heaven's Tower -- NPC: Kupipi -- Involved in Mission 2-3 -- Involved in Quest: Riding on the Clouds -- @pos 2 0 30 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/weaponskills/scourge.lua
2
1702
----------------------------------- -- Scourge -- Great Sword weapon skill -- Skill level: N/A -- Additional effect: temporarily improves params.critical hit rate. -- params.critical hit rate boost duration is based on TP when the weapon skill is used. 100% TP will give 20 seconds of params.critical hit rate boost...
gpl-3.0
3583Bytes/PokeBot
Scripts/external/json.lua
6
16550
----------------------------------------------------------------------------- -- JSON4Lua: JSON encoding / decoding support for the Lua language. -- json Module. -- Author: Craig Mason-Jones -- Homepage: http://github.com/craigmj/json4lua/ -- Version: 1.0.0 -- This module is released under the MIT License (MIT). -- Ple...
mit
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/commands/capskill.lua
2
1787
function onTrigger(player,skill) if(skill=="h2h") then player:capSkill(1); elseif(skill=="dagger") then player:capSkill(2); elseif(skill=="sword") then player:capSkill(3); elseif(skill=="gsword") then player:capSkill(4); elseif(skill=="axe") then player:capSkill(5); elseif(skill=="gaxe") then player:c...
gpl-3.0
aunderwo/GameWithNoName
Dusk/dusk_core/external/bang.lua
5
3683
-------------------------------------------------------------------------------- --[[ Bang A super-lightweight (only ~44 SLOC, and nearly as many lines of explanatory comments as there are lines of code itself!) serialization notation, with a focus on conciseness, simplicity, and clarity. It eliminates the need for ex...
mit
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua
2
1801
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Song Runes -- Finishes Quest: The Old Monument ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
rory/osm2pgsql
flex-config/places.lua
1
1250
-- This config example file is released into the Public Domain. -- This example shows how you can use JSON and JSONB columns in your database. local places = osm2pgsql.define_node_table('places', { { column = 'tags', type = 'jsonb' }, { column = 'geom', type = 'point' }, }) local function starts_with(str, st...
gpl-2.0
Sonicrich05/FFXI-Server
scripts/zones/Castle_Zvahl_Keep/npcs/HomePoint#1.lua
17
1261
----------------------------------- -- Area: Castle_Zvahl_Keep -- NPC: HomePoint#1 -- @pos -554 -70 66 162 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep/TextIDs"); require("s...
gpl-3.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Shared Resources Pack/lua/effects/effect_sw_laser_red_sniper/init.lua
2
2787
TRACER_FLAG_USEATTACHMENT = 0x0002 SOUND_FROM_WORLD = 0 CHAN_STATIC = 6 EFFECT.Speed = 8000 EFFECT.Length = 600 --EFFECT.WhizSound = Sound( "nomad/whiz.wav" ); -- by Robinhood76 (http:--www.freesound.org/people/Robinhood76/sounds/96556/) EFFECT.WhizDistance = 250 local MaterialMain = Material( "ef...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/spells/windstorm.lua
3
1092
-------------------------------------- -- Spell: Windstorm -- Changes the weather around target party member to "windy." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSp...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Apollyon/mobs/Air_Elemental.lua
112
2441
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); --------------------------...
gpl-3.0
eonezhang/thrift
lib/lua/TBinaryProtocol.lua
90
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
3583Bytes/PokeBot
Emulator/Lua/NES/SMB2U.lua
7
6148
-- Super Mario Bros. 2 USA - Grids & Contents (Unfinished) -- Super Mario Bros. 2 (U) (PRG0) [!].nes -- Written by QFox -- 31 July 2008 -- shows (proper!) grid and contents. disable grid by setting variable to false -- shows any non-air grid's tile-id -- Slow! Will be heavy on lighter systems local angrybirdo = fal...
mit
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Expanded Pack/lua/weapons/weapon_tfa_dc15sa327/shared.lua
1
1696
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "DC-15 Side Arm 327th 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/Alzadaal_Undersea_Ruins/npcs/Runic_Portal.lua
2
1526
----------------------------------- -- Area: Alzadaal Undersea Ruins -- NPC: Runic Portal -- Arrapago Reef Teleporter Back to Aht Urgan Whitegate -- @pos 15 -7 627 54 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/weaponskills/expiacion.lua
2
1286
----------------------------------- -- Expiacion -- Sword weapon skill -- Skill level: NA -- Tizona: Aftermath effect varies with TP. -- In order to obtain Expiacion, the quest Unlocking a Myth must be completed. -- Description: Delivers a twofold attack. -- Aligned with the Aqua Gorget, Snow Gorget & Soil Gorget. ...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Ajimo-Majimo_WW.lua
30
3078
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Ajimo-Majimo, W.W. -- Outpost Conquest Guards -- @pos -40.079 -0.642 -148.785 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader_legacy/tfa_extended_live/lua/weapons/tfa_a280_extended/shared.lua
1
4635
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "A280" SWEP.Author = "TFA, Servius" SWEP.ViewModelFOV = 60 SWEP.Slot = 2 SWEP.SlotPos = 3 SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/DC15A") --killicon.Add( "weapon_752_dc15a", "HUD/killicon...
apache-2.0
Sonicrich05/FFXI-Server
scripts/zones/Port_Windurst/npcs/Drozga.lua
51
1440
----------------------------------- -- Area: Port Windurst -- NPC: Drozga -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Port_Windurst/TextIDs"); ----...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/spells/windstorm.lua
31
1153
-------------------------------------- -- Spell: Windstorm -- Changes the weather around target party member to "windy." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/fire_sword.lua
16
1027
----------------------------------------- -- ID: 16543 -- Item: Fire Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ---------------------------------...
gpl-3.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Shared Resources Pack/lua/effects/effect_sw_laser_blue_stun/init.lua
4
2800
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(...
apache-2.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Shared Resources Pack/lua/effects/servius_stun/init.lua
4
2800
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(...
apache-2.0
rlowrance/re
lua/modelUseKernelSmoother.lua
1
2119
-- modelUseKernelSmoother.lua -- helper function from crossValidate when the model is a KernelSmoother function modelUseKernelSmoother(alpha, i, kappa, model, modelState, options) -- return loss using model on the i-th observation with alpha == k ...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Norg/npcs/Jaucribaix.lua
4
9487
----------------------------------- -- Area: Norg -- NPC: Jaucribaix -- Starts and Finishes Quest: Forge Your Destiny, The Sacred Katana, Yomi Okuri, A Thief in Norg!? -- @pos 91 -7 -8 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
DiNaSoR/Angel_Arena
game/angel_arena/scripts/vscripts/heroes/hero_invoker/invoker_retro_confuse.lua
1
10679
--[[ ============================================================================================================ Author: Rook, with help from Noya Date: February 26, 2015 Returns a reference to a newly-created illusion unit. ===========================================================================================...
mit
premake/premake-core
tests/tools/test_snc.lua
16
3491
-- -- tests/test_snc.lua -- Automated test suite for the SNC toolset interface. -- Copyright (c) 2012-2013 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("tools_snc") local snc = p.tools.snc -- -- Setup/teardown -- local wks, prj, cfg function suite.setup() wks, prj =...
bsd-3-clause
Servius/tfa-sw-weapons-repository
Backups_Reworks/tfa_f11/lua/weapons/tfa_f11_shadow/shared.lua
1
7494
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "F-11G" SWEP.Author = "TFA, Servius" SWEP.ViewModelFOV = 70.35175879397 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/globals/spells/bluemagic/geist_wall.lua
18
1333
----------------------------------------- -- Spell: Geist Wall -- Removes one beneficial magic effect from enemies within range -- Spell cost: 35 MP -- Monster Type: Lizards -- Spell Type: Magical (Dark) -- Blue Magic Points: 3 -- Stat Bonus: HP-5, MP+10 -- Level: 46 -- Casting Time: 3 seconds -- Recast Time:...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/army_biscuit.lua
35
1254
----------------------------------------- -- ID: 5657 -- Item: army_biscuit -- Food Effect: 5Min?, All Races ----------------------------------------- -- HP Recovered While Healing 3 -- MP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/status"); ---------------...
gpl-3.0
DiNaSoR/Angel_Arena
game/angel_arena/scripts/vscripts/hero/neutral_roshan.lua
1
15575
--[[ Author: Firetoad Date: 12.08.2015 ]] function RoshanBash( keys ) local caster = keys.caster local target = keys.target local ability = keys.ability local modifier_debuff = keys.modifier_debuff local sound_bash = keys.sound_bash -- If the ability is on cooldown, do nothing if not ability:IsCooldownReady(...
mit
Sonicrich05/FFXI-Server
scripts/zones/Gusgen_Mines/npcs/_5gd.lua
34
1341
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gd (Lever F) -- @pos 44 -20.56 143.802 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); -----------------...
gpl-3.0