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
v3p/flappy_love
wall.lua
1
1152
local wall_width = screen.width / 10 wall = { d = {}, space = screen.height / 4, width = wall_width, tick = 0, spawn_rate = 1.5, extra = 30 } function wall:spawn(x, y) self.d[#self.d + 1] = { {x = x, y = -self.extra, width = self.width, height = y + self.extra}, {x = x, y = y + self.space, width ...
mit
yozw/torch7
test/test.lua
1
106753
--require 'torch' local mytester local torchtest = {} local msize = 100 local precision -- Lua 5.2 compatibility local loadstring = loadstring or load local unpack = unpack or table.unpack local function maxdiff(x,y) local d = x-y if x:type() == 'torch.DoubleTensor' or x:type() == 'torch.FloatTensor' then ...
bsd-3-clause
anotak/doombuilderx
data/Lua/Generative/Koch Snowflake.lua
1
1465
-- koch_snowflake.lua by anotak -- a little example -- generally i'd recommend you draw your shapes clockwise -- sometimes with counterclockwise shapes in the void doom builder just gives up -- see https://www.eecs.yorku.ca/course_archive/2013-14/W/1030/labs/04/koch.html -- default delta would be around 60 function k...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Dynamis-Jeuno/mobs/Goblin_Statue.lua
2
4691
----------------------------------- -- Area: Dynamis Jeuno -- NPC: Goblin Statue -- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg -- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg -- Vanguard Position: http://faranim.livejou...
gpl-3.0
nagyist/assembla-ltrplugins
trunk/Hello(Gen-Rel)World/Hello(Generated)World.lrdevplugin/SpecialBackground.lua
2
1620
--[[ SpecialBackground.lua --]] local SpecialBackground, dbg = Background:newClass{ className = 'SpecialBackground' } --- Constructor for extending class. -- function SpecialBackground:newClass( t ) return Background.newClass( self, t ) end --- Constructor for new instance. -- funct...
artistic-2.0
Sonicrich05/FFXI-Server
scripts/zones/Beaucedine_Glacier/Zone.lua
17
3226
----------------------------------- -- -- Zone: Beaucedine_Glacier (111) -- ----------------------------------- package.loaded[ "scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Beaucedine_Glacier/TextIDs"); require("scripts/globals/missions"); requ...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/sweet_rice_cake.lua
3
1583
----------------------------------------- -- ID: 4270 -- Item: sweet_rice_cake -- Food Effect: 30Min, All Races ----------------------------------------- -- MP 17 -- Vitality 2 -- Intelligence 3 -- Mind 1 -- HP Recovered While Healing 2 -- MP Recovered While Healing 2 -- Evasion 5 -- Resist Silence 5 ------------------...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Bastok_Markets/npcs/Oggodett.lua
2
1384
----------------------------------- -- Area: Bastok Markets -- NPC: Oggodett -- Only sells when Bastok controlls Aragoneu Region ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Woods/npcs/Pew_Sahbaraef.lua
4
1039
---------------------------------- -- Area: Windurst Woods -- NPC: Pew Sahbaraef -- Type: Item Deliverer -- @zone: 241 -- @pos: 61.899 -2.5 -112.956 -- ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"); -------------...
gpl-3.0
daVoodooShuffle/OpenRA
mods/cnc/maps/gdi05a/gdi05a.lua
7
7481
--[[ 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
Sonicrich05/FFXI-Server
scripts/zones/Mhaura/npcs/Felisa.lua
17
1188
----------------------------------- -- Area: Mhaura -- NPC: Felisa -- Admits players to the dock in Mhaura. ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); --------------------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/caedarva_frog.lua
18
1400
----------------------------------------- -- ID: 5465 -- Item: Caedarva Frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Throne_Room/mobs/Shadow_Lord.lua
16
4777
----------------------------------- -- Area: Throne Room -- NPC: Shadow Lord -- Mission 5-2 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- f...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Abyssea-La_Theine/Zone.lua
3
1074
----------------------------------- -- -- Zone: Abyssea-La_Theine -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil; require("scripts/zones/Abyssea-La_Theine/TextIDs"); ----------------------------------- -- onInitialize ----...
gpl-3.0
jow-/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/ltq-dsl.lua
26
3991
local ubus = require "ubus" local function scrape() local dsl_line_attenuation = metric("dsl_line_attenuation_db", "gauge") local dsl_signal_attenuation = metric("dsl_signal_attenuation_db", "gauge") local dsl_snr = metric("dsl_signal_to_noise_margin_db", "gauge") local dsl_aggregated_transmit_power = metric("...
gpl-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/persikos.lua
3
1086
----------------------------------------- -- ID: 4274 -- Item: persikos -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -7 -- Intelligence 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
ShmooDude/ovale
dist/Debug.lua
1
7148
local __exports = LibStub:NewLibrary("ovale/Debug", 80000) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local AceConfig = LibStub:GetLibrary("AceConfig-3.0", true) local AceConfigDialog = LibStub:GetLibrary("AceConfigDialog-3.0", true) local __Localization = LibStub:GetLibrary("...
gpl-2.0
kidaa/lua-lluv
test/test-data.lua
4
1093
local uv = require "lluv" local function gc(n) for i = 1, (n or 10) do collectgarbage("collect") end end local function weak_ptr(v) return setmetatable({value = v}, {__mode = "v"}) end local function test_1() local timer = uv.timer() assert(timer.data == nil) timer.data = 123 assert(timer.data == 123) l...
mit
leprechau/lua-consul
haproxy/haproxy.lua
1
7696
consul = require("consul") socket = require("socket") -- consul poll interval serviceRefreshInterval = 15 -- consul service holder serviceTable = {} -- search a table for matching values function hasValue(tbl, ...) local args = {...} for _, arg in ipairs(args) do for _, val in pairs(tbl) do if (arg and arg ==...
bsd-2-clause
mandrav/moai_pex_editor
src/hp/rpg/RPGSprite.lua
1
11975
---------------------------------------------------------------- -- RPGMapView用のスプライトクラスです.<br> -- @class table -- @name RPGSprite ---------------------------------------------------------------- local table = require("hp/lang/table") local class = require("hp/lang/class") local SpriteSheet = require("hp/display/Sprit...
mit
Sonicrich05/FFXI-Server
scripts/zones/Bibiki_Bay/npcs/qm4.lua
17
1456
----------------------------------- -- Area: Bibiki Bay -- NPC: ??? COP mission spawn Dalham -- @pos ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bibiki_Bay/TextIDs"); ------------------------------...
gpl-3.0
nimaghorbani/newbot
plugins/dic.lua
31
1662
--[[ -- 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 pa...
gpl-2.0
uuuuuuBoT/uuuuuuBoT
plugins/time.lua
22
2918
-- 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-3.0
premake/premake-core
modules/gmake/tests/cpp/test_flags.lua
8
3076
-- -- tests/actions/make/cpp/test_flags.lua -- Tests compiler and linker flags for Makefiles. -- Copyright (c) 2012-2015 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("make_flags") local make = p.make local project = p.project -- -- Setup -- local wks, prj function sui...
bsd-3-clause
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Yhoator_Jungle/npcs/Emila_RK.lua
4
2897
----------------------------------- -- Area: Yhoator Jungle -- NPC: Emila, R.K. -- Border Conquest Guards -- @pos -84.113 -0.449 224.902 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requir...
gpl-3.0
nagyist/assembla-ltrplugins
trunk/Framework/System/Globals.lua
1
5417
--[[ Globals.lua --]] -- Unlike most other framework modules, this one has no framework/Lr-import dependencies. local LrPathUtils = import( 'LrPathUtils' ) local LrFileUtils = import( 'LrFileUtils' ) local LrErrors = import( 'LrErrors' ) local Globals = {} function Globals:newClass( t ) t = t or {} -...
artistic-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Bastok_Mines/npcs/Deadly_Spider.lua
3
1414
----------------------------------- -- Area: Bastok Mines -- NPC: Deadly Spider -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Bastok_Mines/Tex...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/chunk_of_hydra_meat.lua
18
1516
----------------------------------------- -- ID: 5564 -- Item: Chunk of Hydra Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- HP 10 -- MP -10 -- Strength +6 -- Intelligence -8 -- Demon Killer 10 ----------------------------------------- require("scripts/globals/status");...
gpl-3.0
RavenX8/osIROSE-new
scripts/npc_scripts.lua
2
18856
include("mobs/ai/mini-jelly_bean.lua"); include("mobs/ai/jelly_bean.lua"); include("mobs/ai/jellynut.lua"); include("mobs/ai/royal_jelly_bean.lua"); include("mobs/ai/red_jelly_bean.lua"); include("mobs/ai/butterfly.lua"); include("mobs/ai/mini-choropy.lua"); include("mobs/ai/choropy.lua"); include("mobs/ai/mother_choro...
apache-2.0
FelixPe/nodemcu-firmware
lua_examples/luaOTA/_provision.lua
7
3661
--SAFETRIM -- function _provision(self,socket,first_rec) local self, socket, first_rec = ... local crypto, file, json, node, table = crypto, file, sjson, node, table local stripdebug, gc = node.stripdebug, collectgarbage local buf = {} gc(); gc() local function getbuf() -- upval: buf, table if #buf > 0 then retur...
mit
DiNaSoR/Angel_Arena
game/angel_arena/scripts/vscripts/hero/hero_beastmaster.lua
1
13539
-- Author: Fudge -- Date: 10/07/2017 -- HELPER FUNCTION local function UpgradeBeastsSummons(caster, ability) local hawk_ability = "imba_beastmaster_summon_hawk" local boar_ability = "imba_beastmaster_summon_boar" -- Get handles local hawk_ability_handler local boar_ability_handler ...
mit
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/spells/jubaku_san.lua
2
1744
----------------------------------------- -- Spell: Jubaku: San -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT. -- taken from paralyze ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua
35
1403
----------------------------------------- -- ID: 5197 -- Item: dish_of_spaghetti_peperoncino_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health % 30 -- Health Cap 75 -- Vitality 2 -- Store TP 6 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/West_Ronfaure/mobs/Scarab_Beetle.lua
23
1074
----------------------------------- -- Area: West Ronfaure(100) -- MOB: Scarab Beetle -- Note: Place holder for Fungus Beetle ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/West_Ronfaure/MobIDs"); ----------------------------------- -- onMobDeath ...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Dynamis-San_dOria/Zone.lua
3
1855
----------------------------------- -- -- Zone: Dynamis-San_dOria -- ----------------------------------- package.loaded["scripts/zones/Dynamis-San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Dynamis-San_dOria/TextIDs"); ---------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/mobskills/Laser_Shower.lua
14
1190
--------------------------------------------- -- Laser_Shower -- -- Description: Deals Darkness damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: --------------------------------------------- require("scripts/globals/se...
gpl-3.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/[TFA][AT] Expanded Pack/lua/weapons/e5_blaster_rifle/shared.lua
1
3703
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "E-5 Blaster Rifle" SWEP.Author = "TFA, Servius, ahnok" SWEP.ViewModelFOV = 50 SWEP.Slot = 2 SWEP.SlotPos = 3 SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/E5") killicon.Add( "weapon_752_e5", "HUD...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Beadeaux/Zone.lua
2
2267
----------------------------------- -- -- Zone: Beadeaux (147) -- ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/z...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Al_Zahbi/npcs/Mihli_Aliapoh.lua
38
1034
----------------------------------- -- Area: Al Zahbi -- NPC: Mihli Aliapoh -- Type: Waterserpent General -- @zone: 48 -- @pos -22.615 -7 78.907 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ---------------...
gpl-3.0
Fatmice/Uranium-Power-Cont
prototypes/item/fission-reactor-turbine-generator-internals-item.lua
1
2018
data:extend( { { type = "item", name = "turbine-generator-feed-water-box", icon = "__UraniumPower__/graphics/entity/turbine-generator-internals/feedwaterboxicon.png", flags = {"goes-to-quickbar"}, subgroup = "uranium-raw-resource", order = "c[uranium]", stack_size = 50, place_result = "turbine-generato...
mit
Sonicrich05/FFXI-Server
scripts/globals/items/steamed_crayfish.lua
35
1239
----------------------------------------- -- ID: 4338 -- Item: steamed_crayfish -- Food Effect: 60Min, All Races ----------------------------------------- -- Defense % 30 -- Defense Cap 30 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Al_Zahbi/npcs/Rughadjeen.lua
38
1030
----------------------------------- -- Area: Al Zahbi -- NPC: Rughadjeen -- Type: Skyserpent General -- @zone: 48 -- @pos -74.150 -7 70.656 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/Zone.lua
2
2723
----------------------------------- -- -- Zone: Windurst_Waters (238) -- ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/server"); require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/zones/Windurst_Waters...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Valley_of_Sorrows/npcs/qm1.lua
16
1925
----------------------------------- -- Area: Valley of Sorrows -- NPC: qm1 (???) -- Note: Used to spawn Adamantoise and Aspidochelone -- @pos 0 0 -37 59 ----------------------------------- package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil; ----------------------------------- require("scripts/zo...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/weaponskills/shijin_spiral.lua
18
1806
----------------------------------- -- Shijin Spiral -- Hand-to-Hand weapon skill -- Skill Level: N/A -- Delivers a fivefold attack that Plagues the target. Chance of inflicting Plague varies with TP. -- In order to obtain Shijin Spiral, the quest Martial Mastery must be completed. -- Aligned with the Flame Gorge...
gpl-3.0
Komzpa/omim
3party/osrm/osrm-backend/profiles/bicycle.lua
59
12992
require("lib/access") require("lib/maxspeed") -- Begin of globals barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true } access_tag_whitelist ...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria/npcs/Valeriano.lua
2
1926
----------------------------------- -- Area: Southern_San_dOria -- NPC: Valeriano -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); requ...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/baked_popoto.lua
3
1171
----------------------------------------- -- ID: 4436 -- Item: Baked Popoto -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 20 -- Dexterity -1 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
mamaddeveloper/inviterssss
plugins/banhammer.lua
294
10470
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
RavenX8/osIROSE-new
scripts/mobs/ai/junon's_grunter.lua
2
1073
registerNpc(402, { walk_speed = 260, run_speed = 670, scale = 330, r_weapon = 138, l_weapon = 0, level = 66, hp = 211, attack = 352, hit = 223, def = 241, res = 147, avoid...
apache-2.0
Sonicrich05/FFXI-Server
scripts/globals/items/strip_of_bison_jerky.lua
35
1398
----------------------------------------- -- ID: 5207 -- Item: strip_of_bison_jerky -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 5 -- Mind -2 -- Attack % 18 -- Attack Cap 70 ----------------------------------------- require("scripts/globals/status"); ------------...
gpl-3.0
premake/premake-core
tests/api/test_deprecations.lua
16
1664
-- -- tests/api/test_table_kind.lua -- Tests the table API value type. -- Copyright (c) 2012-2014 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("api_deprecations") local api = p.api function suite.setup() workspace("MyWorkspace") configurations { "Debug", "Release" } ...
bsd-3-clause
Sonicrich05/FFXI-Server
scripts/zones/Bhaflau_Thickets/Zone.lua
27
3711
----------------------------------- -- -- Zone: Bhaflau_Thickets (52) -- ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/settings"); requir...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/La_Theine_Plateau/npcs/Deaufrain.lua
2
2175
----------------------------------- -- Area: La Theine Plateau -- NPC: Deaufrain -- Involved in Mission: The Rescue Drill -- @zone 102 -- @pos -304 28 339 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/m...
gpl-3.0
JesterXL/Corona-SDK---Adobe-AIR-Workshop-and-Refactoring-Presentation
Gaming/code-gaming/Corona/Lesson-5/5-d/main.lua
1
2406
require "physics" physics.start() physics.setDrawMode( "hybrid" ) physics.setGravity( 0, 0 ) stage = display.getCurrentStage() player = display.newImage("player.png") player.name = "Player" player.x = 40 player.y = 40 physics.addBody( player, { density = 1.0, friction = 0.3, bounce = 0.2, bodyType = "kinematic...
mit
FabbyD/lifesaver
src/train.lua
1
3974
require 'nn' require 'player' local optim = require 'optim' local models = require 'models' local cmd = torch.CmdLine() cmd:text() cmd:text('Training Lifesaver - a neural Minesweeper') cmd:text() cmd:text('Options') cmd:option('-size', 15, 'The size of the field') cmd:option('-bombs', 40, 'Number of bombs') cmd:optio...
mit
Sonicrich05/FFXI-Server
scripts/zones/PsoXja/npcs/HomePoint#1.lua
19
1171
----------------------------------- -- Area: PsoXja -- NPC: HomePoint#1 -- @pos -58 40 14 10 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/homepoint"); -----------------...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Garlaige_Citadel/npcs/qm6.lua
2
1310
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm6 (???) -- used in quest - hitting The Marquisate thf af3 -- 1st ??? -- @zone 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/galkan_sausage_-1.lua
3
1462
----------------------------------------- -- ID: 5862 -- Item: galkan_sausage_-1 -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength -3 -- Dexterity -3 -- Vitality -3 -- Agility -3 -- Mind -3 -- Intelligence -3 -- Charisma -3 ----------------------------------------- require("scripts...
gpl-3.0
projectbismark/luci-bismark
modules/admin-core/luasrc/controller/admin/servicectl.lua
9
1426
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- mo...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Bastok_Mines/npcs/Griselda.lua
2
1306
----------------------------------- -- Area: Bastok Mines -- NPC: Griselda -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); ----------------------------------- -- onT...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Promyvion-Holla/mobs/Memory_Receptacle.lua
16
6839
----------------------------------- -- Area: Promyvion-Holla -- MOB: Memory Receptacle ----------------------------------- package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require( "scripts/zones/Promyvion-Holla/TextIDs" );...
gpl-3.0
omid1212/FOXB
plugins/help.lua
12
4637
do function pairsByKeys(t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] end end return iter end -- Re...
gpl-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Caedarva_Mire/npcs/qm1.lua
15
1168
----------------------------------- -- Area: Caedarva Mire -- NPC: ??? (Spawn Verdelet(ZNM T2)) -- @pos 417 -19 -69 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Caedarva_Mire/TextIDs"); -----------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/weaponskills/pyrrhic_kleos.lua
18
4883
----------------------------------- -- Pyrrhic Kleos -- Dagger weapon skill -- Skill level: N/A -- Description: Delivers a fourfold attack that lowers target's evasion. Duration of effect varies with TP. Terpsichore: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Dancer) ...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Chateau_dOraguille/npcs/_6h0.lua
17
4498
----------------------------------- -- Area: Chateau d'Oraguille -- Door: Prince Royal's -- Finishes Quest: A Boy's Dream, Under Oath -- Involved in Missions: 3-1, 5-2, 8-2 -- @pos -38 -3 73 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; ---------------...
gpl-3.0
Zytharian/ADHQ
src/ServerClasses/ConsoleHandlers/SectionHandler.lua
1
4652
-- Zytharian (roblox: Legend26) -- Services local projectRoot = game:GetService("ServerScriptService") local RS = game:GetService("ReplicatedStorage") -- Includes local cs = require(projectRoot.Modules.ClassSystem) local CEnums = require(RS.CommandEnums) local LEnums = require(projectRoot.Modules.Enums) -- Configura...
mit
Sonicrich05/FFXI-Server
scripts/globals/pets.lua
37
36137
----------------------------------- -- -- PETS ID -- ----------------------------------- ----------------------------------- -- PETTYPE ----------------------------------- PETTYPE_AVATAR = 0; PETTYPE_WYVERN = 1; PETTYPE_JUGPET = 2; PETTYPE_CHARMED_MOB = 3; PETTYPE...
gpl-3.0
Imagine-Programming/lh-framework
src/networking/ipbin.lua
1
432946
--[[ Script: ipbin.lua Product: ipbin.lh (MemoryEx LuaHeader) Author: Imagine Programming <Bas Groothedde> Website: http://www.imagine-programming.com Contact: http://www.imagine-programming.com/contact.html Date: 17-02-2014 ...
mit
Sonicrich05/FFXI-Server
scripts/globals/items/plate_of_boiled_barnacles.lua
36
1279
----------------------------------------- -- ID: 5980 -- Item: Plate of Boiled Barnacles -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Charisma -3 -- Defense % 25 Cap 130 ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
ShmooDude/ovale
dist/Pool.lua
1
1332
local __exports = LibStub:NewLibrary("ovale/Pool", 80000) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local __Ovale = LibStub:GetLibrary("ovale/Ovale") local Ovale = __Ovale.Ovale local assert = assert local tostring = tostring local wipe = wipe local insert = table.insert loca...
gpl-2.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader/flame+cryothrower/lua/weapons/flamethrower_basic.lua
1
23768
SWEP.NZPaPName = "Flamethrower" SWEP.Base = "tfa_gun_base" SWEP.Category = "TFA Star Wars" --The category. Please, just choose something generic or something I've already done if you plan on only doing like one swep.. SWEP.Manufacturer = nil --Gun Manufactrer (e.g. Hoeckler and Koch ) SWEP.Author = "" --Autho...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Crawlers_Nest/TextIDs.lua
4
1377
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6565; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6568; -- Obtained: <item> GIL_OBTAINED = 6569; -- Obtained <number> gil KEYITEM_OBTAINED = 6571; -- Obtain...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/globals/items/serving_of_monastic_sautee.lua
3
1218
----------------------------------------- -- ID: 4293 -- Item: serving_of_monastic_sautee -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 1 -- Ranged ACC % 7 -- Ranged ACC Cap 20 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
Servius/tfa-sw-weapons-repository
Backups_Reworks/tfa_expanded_rework/lua/weapons/tfa_kotor_rifle_rework/shared.lua
1
4423
if ( SERVER ) then AddCSLuaFile( "shared.lua" ) end if ( CLIENT ) then SWEP.PrintName = "Blaster Rifle T6" SWEP.Author = "TFA, Servius" SWEP.ViewModelFOV = 70 SWEP.Slot = 2 SWEP.SlotPos = 3 end SWEP.Base = "tfa_3dscoped_base" SWEP.Category = "TFA Star Wars" SWEP.Spawnable = true SWEP.AdminSpawnabl...
apache-2.0
Servius/tfa-sw-weapons-repository
In Development/servius_development/low_rez_kotor_assets/lua/weapons/blastercarbine5/shared.lua
1
18081
SWEP.Author = "Velian" SWEP.Contact = "velianhailfrost@gmail.com" --SWEP.Purpose = "What your SWep does." --SWEP.Instructions = "How to operate your SWep" SWEP.PrintName = "BlasterCarbine5" SWEP.Spawnable = true -- Whether regular players can see it SWEP.AdminSpawnable = true -- Whether Admins/Super Admins can see it...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Lago-Charago.lua
5
1054
----------------------------------- -- Area: Windurst Waters -- NPC: Lago-Charago -- Type: Adventurer's Assistant -- @zone: 238 -- @pos: -57.271 -11.75 92.503 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = ...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/RuLude_Gardens/npcs/Dugga.lua
34
1074
---------------------------------- -- Area: Ru'Lude Gardens -- NPC: Dugga -- Type: Item Deliverer -- @zone: 243 -- @pos -55.429 5.999 1.27 -- ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; require("scripts/zones/RuLude_Gardens/TextIDs"); ------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Lower_Jeuno/npcs/_l08.lua
36
1561
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -32.897 0 -28.521 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/commands/zone.lua
24
13672
--------------------------------------------------------------------------------------------------- -- func: zone -- desc: Teleports a player to the given zone. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = ...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Dynamis-Xarcabard/mobs/Animated_Great_Axe.lua
2
1295
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated_Great_Axe ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob,target) mob:addMod(MOD_STUN...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Dagoza-Beruza.lua
5
1041
----------------------------------- -- Area: Windurst Waters -- NPC: Dagoza-Beruza -- Type: Mission NPC -- @zone: 238 -- @pos: -54.523 -6 229.271 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; --------...
gpl-3.0
zhangbaitong/programming-language-tutorials
lua/src/concurrent/refactor/five/utils.lua
1
2417
local config = require "shake.config" local utils = {logType="false",unstart="unstart",outer="outer",coin="coin",real="real",nothing="nothing"} math.randomseed(tostring(os.time()):reverse():sub(1, 6)) -- 记录日志(如果flag为true) function utils.log (msg) if utils.logType == "true" then ngx.say(msg) ngx.say("<br>") end ...
bsd-3-clause
Sonicrich05/FFXI-Server
scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua
36
1731
----------------------------------------- -- ID: 5202 -- Item: Dish of Spaghetti Nero Di Seppia +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- HP % 17 (cap 140) -- Dexterity 3 -- Vitality 2 -- Agility -1 -- Mind -2 -- Charisma -1 -- Double Attack 1 -- Store TP 6 ---------------------...
gpl-3.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Metalworks/npcs/High_Bear.lua
2
1765
----------------------------------- -- Area: Metalworks -- NPC: High Bear -- Type: Quest Giver -- @zone: 237 -- @pos: 25.231 -14.999 4.552 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/keyitems"); require("scripts/globals/titles"); -------------------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/homemade_steak.lua
35
1124
----------------------------------------- -- ID: 5226 -- Item: homemade_steak -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua
34
1541
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Ezura-Romazura -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Wi...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/hellsteak.lua
35
1725
----------------------------------------- -- ID: 5609 -- Item: hellsteak -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 20 -- Strength 6 -- Intelligence -2 -- Health Regen While Healing 2 -- Attack % 19 -- Ranged ATT % 19 -- Dragon Killer 5 -- Demon Killer 5 ---------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/globals/items/salty_bretzel.lua
35
1296
----------------------------------------- -- ID: 5182 -- Item: salty_bretzel -- Food Effect: 5Min, All Races ----------------------------------------- -- Magic % 8 -- Magic Cap 60 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); -----------------------------------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Aht_Urhgan_Whitegate/npcs/Zwinam.lua
34
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Zwinam -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); -----------...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Port_San_dOria/npcs/Milva.lua
36
1839
----------------------------------- -- Area: Port San d'Oria -- NPC: Milva -- Only sells when San d'Oria has control of Sarutabaruta ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require(...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/Port_Windurst/npcs/Pichichi.lua
36
2675
----------------------------------- -- Area: Port Windurst -- NPC: Pichichi ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Port_W...
gpl-3.0
Sonicrich05/FFXI-Server
scripts/zones/RuLude_Gardens/npcs/Muhoho.lua
34
1386
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Muhoho -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/quest...
gpl-3.0
Servius/tfa-sw-weapons-repository
Backups_Reworks/tfa_swrp_shared_old/lua/effects/effect_sw_laser_yellow_akimbo_pu/init.lua
3
3680
TRACER_FLAG_USEATTACHMENT = 0x0002 SOUND_FROM_WORLD = 0 CHAN_STATIC = 6 EFFECT.Life = 1 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("effects/...
apache-2.0
Sonicrich05/FFXI-Server
scripts/zones/Phomiuna_Aqueducts/npcs/qm1.lua
34
1033
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm1 (???) -- Notes: Opens east door @ F-7 -- @pos -44.550 -24.601 106.495 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tra...
gpl-3.0
ShmooDude/ovale
dist/SimulationCraft.lua
1
220861
local __exports = LibStub:NewLibrary("ovale/SimulationCraft", 80000) if not __exports then return end local __class = LibStub:GetLibrary("tslib").newClass local AceConfig = LibStub:GetLibrary("AceConfig-3.0", true) local AceConfigDialog = LibStub:GetLibrary("AceConfigDialog-3.0", true) local __Localization = LibStub:Ge...
gpl-2.0
ld-test/lua-capnproto
lua/schema_capnp.lua
4
93020
-- require "luacov" local ffi = require "ffi" local capnp = require "capnp" local bit = require "bit" local util = require "capnp.util" local ceil = math.ceil local write_val = capnp.write_val local read_val = capnp.read_val local get_enum_val = capnp.get_enum_val local get_data_off ...
bsd-2-clause
RavenX8/osIROSE-new
scripts/mobs/ai/elec_ghost.lua
2
5484
registerNpc(252, { walk_speed = 160, run_speed = 370, scale = 105, r_weapon = 1079, l_weapon = 0, level = 75, hp = 25, attack = 310, hit = 174, def = 165, res = 266, avoid...
apache-2.0
kidaa/ffxinfinity
FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/npcs/Damami-Karumi.lua
5
1040
----------------------------------- -- Area: Windurst Waters -- NPC: Damami-Karumi -- Type: Standard NPC -- @zone: 238 -- @pos: -5.362 -2 18.059 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ---------...
gpl-3.0
Servius/tfa-sw-weapons-repository
Live Addons/servius_uploader_legacy/tfa_swrp_mega_pack/lua/weapons/tfa_sw_cisshot/shared.lua
1
22071
SWEP.Gun = ("tfa_sw_cisshot") --Make sure this is unique. Specically, your folder name. if (GetConVar(SWEP.Gun.."_allowed")) != nil then if not (GetConVar(SWEP.Gun.."_allowed"):GetBool()) then SWEP.Base = "tfa_blacklisted" SWEP.PrintName = SWEP.Gun return end end SWEP.Base = "tfa_gun_base" SWEP.Category =...
apache-2.0