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 |
|---|---|---|---|---|---|
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bearclaw_Pinnacle/bcnms/flames_for_the_dead.lua | 2 | 1743 | -----------------------------------
-- Area: Bearclaw_Pinnacle
-- Name: flames_for_the_dead
-- bcnmID : 640
--ennemy: Snoll_Tzar 16801793 16801794 16801795 group 176
-----------------------------------
package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Waters_[S]/npcs/Dhea_Prandoleh.lua | 4 | 1403 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Dhea Prandoleh
-- Type: Standard NPC
-- @zone: 94
-- @pos 3.167 -2 15.545
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
knielsen/blipserver | blip.lua | 1 | 11191 | #!/usr/bin/env lem
--
-- This file is part of blipserver.
-- Copyright 2011 Emil Renner Berthing
--
-- blipserver is free software: you can redistribute it and/or
-- modify it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 3 of
-- the License, or (at yo... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Palborough_Mines/npcs/Mining_Point.lua | 4 | 1061 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Palborough_Mines/TextIDs");
--------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Northern_San_dOria/npcs/Achantere_TK.lua | 28 | 4907 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Achatere, T.K.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Valkurm_Dunes/npcs/qm1.lua | 17 | 1248 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm1 (???)
-- Involved In Quest: An Empty Vessel
-- @pos 238.524 2.661 -148.784 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Val... | gpl-3.0 |
fw867/ntopng | scripts/lua/modules/top_talkers.lua | 1 | 6780 | --
-- (C) 2013 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "persistence"
function getTopTalkers(ifid, ifname, mode, epoch)
-- if(ifname == nil) then ifname = "any" end
if(epoch ~= nil) then
rsp = getHistoricalTopTalkers(ifi... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/serving_of_cherry_bavarois_+1.lua | 35 | 1388 | -----------------------------------------
-- ID: 5746
-- Item: serving_of_cherry_bavarois_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 30
-- Intelligence 4
-- MP 15
-- HP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status... | gpl-3.0 |
Ding8222/skynet | examples/login/msgagent.lua | 58 | 1165 | local skynet = require "skynet"
skynet.register_protocol {
name = "client",
id = skynet.PTYPE_CLIENT,
unpack = skynet.tostring,
}
local gate
local userid, subid
local CMD = {}
function CMD.login(source, uid, sid, secret)
-- you may use secret to make a encrypted data stream
skynet.error(string.format("%s is lo... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Waters/npcs/Chyuk-Kochak.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chyuk-Kochak
-- Type: Standard NPC
-- @zone: 238
-- @pos -252.162 -6.319 -307.011
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/heroes/hero_invoker/invoker_retro_betrayal.lua | 1 | 10831 | --[[ ============================================================================================================
Author: Rook
Date: March 02, 2015
Called when Betrayal is cast. Moves the target unit to another (custom) team for the duration.
Additional parameters: keys.Duration
===================================... | mit |
renatomaia/loski | test/event.lua | 1 | 1834 | local time = require "time"
local network = require "network"
local process = require "process"
local port = ...
local szlen = 4
local msgfmt = "%"..szlen.."d%s"
local luabin = "lua"
do
local i = -1
while arg[i] ~= nil do
luabin = arg[i]
i = i-1
end
end
local server = assert(process.create(luabin, "-e", [[
loc... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Cloister_of_Frost/npcs/Ice_Protocrystal.lua | 2 | 1430 | -----------------------------------
-- Area: Cloister of Frost
-- NPC: Ice Protocrystal
-- Involved in Quests: Trial by Ice, Trial Size Trial by Ice
-- @pos 558 0 596 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/strip_of_buffalo_jerky.lua | 3 | 1285 | -----------------------------------------
-- ID: 5196
-- Item: strip_of_buffalo_jerky
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 4
-- Mind -3
-- Attack % 18
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/modules/jobs/sv_interface.lua | 9 | 5365 | DarkRP.PLAYER.changeTeam = DarkRP.stub{
name = "changeTeam",
description = "Change the team of a player.",
parameters = {
{
name = "team",
description = "The team (job number).",
type = "number",
optional = false
},
{
name =... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/spinning_scythe.lua | 4 | 1225 | -----------------------------------
-- Spinning Scythe
-- Scythe weapon skill
-- Skill Level: 125
-- Delivers an area of effect attack. Attack radius varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: None
-- Mo... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_Windurst/npcs/Kohlo-Lakolo.lua | 36 | 10182 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kohlo-Lakolo
-- Invloved In Quests: Truth, Justice, and the Onion Way!,
-- Know One's Onions,
-- Inspector's Gadget,
-- Onion Rings,
-- Crying Over Onions,
-- Wild Card,
-- ... | gpl-3.0 |
RavenX8/osIROSE-new | scripts/mobs/fields/LP04.lua | 2 | 10553 |
--[[ MOB SPAWN LIST
mob(<mob_spawner_alias>, <mob_id>, <mob_count>, <spawner_limit>, <spawn_interval>, <spawner_range>, <map_id>, <x_pos>, <y_pos>, <z_pos>);
--]]
mob("", 380, 1, 1, 3600, 5, 55, 5312.19, 5140.31, 36.92);
mob("", 373, 1, 1, 55, 5, 55, 5357.33, 5134.71, 36.4);
mob("", 373, 1, 1, 55, 1, 55, 5324.86, 515... | apache-2.0 |
Servius/tfa-sw-weapons-repository | Backups_Reworks/tfa_f11/lua/weapons/tfa_f11_advanced/shared.lua | 1 | 7490 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "F-11A"
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", "... | apache-2.0 |
everslick/awesome | lib/awful/button.lua | 11 | 2130 | ---------------------------------------------------------------------------
--- Create easily new buttons objects ignoring certain modifiers.
--
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2009 Julien Danjou
-- @release @AWESOME_VERSION@
-- @classmod awful.button
----------------------------------... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Waughroon_Shrine/bcnms/operation_desert_swarm.lua | 17 | 1780 | -----------------------------------
-- Area: Waughroon_Shrine
-- Name: Operation desert swarm
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zo... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Metalworks/npcs/Grohm.lua | 23 | 2684 | -----------------------------------
-- Area: Metalworks
-- NPC: Grohm
-- Involved In Mission: Journey Abroad
-- @pos -18 -11 -27 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/z... | gpl-3.0 |
roastario/telegram-bot | plugins/hijab.lua | 1 | 1244 | function googlethat()
local api = "https://ajax.googleapis.com/ajax/services/search/images?v=1.0&rsz=8&"
local start = math.random(1024)
local parameters = "q=" .. (URL.escape("hijab") or "") .. "&" .. "start=" .. start
-- Do the request
local res, code = https.request(api .. parameters)
if cod... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Abyssea-Misareaux/Zone.lua | 32 | 1543 | -----------------------------------
--
-- Zone: Abyssea - Misareaux
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Misareaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abysse... | gpl-3.0 |
premake/premake-core | modules/vstudio/tests/_tests.lua | 3 | 3383 | require ("vstudio")
return {
-- Visual Studio .Net projects
"dotnet2005/projectelement.lua",
"dotnet2005/test_nuget_framework_folders.lua",
-- Visual Studio 2005+ C# projects
"cs2005/test_assembly_refs.lua",
"cs2005/test_build_events.lua",
"cs2005/test_common_props.lua",
"cs2005/test_compiler_props.lua",
"cs... | bsd-3-clause |
Sonicrich05/FFXI-Server | scripts/zones/Al_Zahbi/npcs/Chayaya.lua | 34 | 1603 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Chayaya
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Al_Zahbi/TextIDs");
--------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/serving_of_mont_blanc.lua | 36 | 1423 | -----------------------------------------
-- ID: 5557
-- Item: Serving of Mont Blanc
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- Intelligence +1
-- HP Recoverd while healing 1
-- MP Recovered while healing 1
-------------------------------------... | gpl-3.0 |
correa/domoticz | dzVents/runtime/device-adapters/evohome_device.lua | 3 | 4758 | local TimedCommand = require('TimedCommand')
return {
baseType = 'device',
name = 'Evohome device adapter',
matches = function (device, adapterManager)
local res = (
device.hardwareTypeValue == 39 or
device.hardwareTypeValue == 40 or
device.hardwareTypeValue == 106 or
device.hardwareTypeValue == 75... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/mobskills/Calcifying_Deluge.lua | 25 | 1064 | ---------------------------------------------
-- Calcifying Deluge
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
--------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/serving_of_karni_yarik.lua | 35 | 1391 | -----------------------------------------
-- ID: 5588
-- Item: serving_of_karni_yarik
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Bastok_Mines/npcs/Sieglinde.lua | 24 | 1809 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Sieglinde
-- Alchemy Synthesis Image Support
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafti... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/modules/doorsystem/cl_doors.lua | 1 | 5574 | local meta = FindMetaTable("Entity")
local black = Color(0, 0, 0, 255)
local white = Color(255, 255, 255, 200)
local red = Color(128, 30, 30, 255)
function meta:drawOwnableInfo()
if LocalPlayer():InVehicle() then return end
-- Look, if you want to change the way door ownership is drawn, don't edit this file, ... | mit |
rory/osm2pgsql | tests/data/test_output_flex_stage2_alt.lua | 3 | 1845 |
local tables = {}
tables.highways = osm2pgsql.define_table{
name = 'osm2pgsql_test_highways',
ids = { type = 'way', id_column = 'way_id' },
columns = {
{ column = 'tags', type = 'hstore' },
{ column = 'refs', type = 'text' },
{ column = 'geom', type = 'linestring' },
}
}
ta... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Bastok-Jeuno_Airship/Zone.lua | 28 | 1458 | -----------------------------------
--
-- Zone: Bastok-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
------------------------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/The_Eldieme_Necropolis/npcs/_5f3.lua | 34 | 1109 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 145 -34 20 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextID... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Gustav_Tunnel/mobs/Microplasm.lua | 2 | 1802 | ----------------------------------
-- Area: Gustav Tunnel
-- MOB: Nanoplasm
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/zones/Gustav_Tunnel/TextIDs");
------------------... | gpl-3.0 |
rory/osm2pgsql | src/init.lua | 1 | 4796 | --
-- This will be compiled into osm2pgsql and run as initialization code in
-- the flex backend.
--
local math = require('math')
local _define_table_impl = function(_type, _name, _columns, _options)
_options = _options or {}
_options.name = _name
_options.ids = { type = _type, id_column = _type .. '_id... | gpl-2.0 |
mandrav/moai_pex_editor | src/hp/display/Scene.lua | 1 | 8675 | ----------------------------------------------------------------
-- This class is a top-level container to build a scene graph.
-- Use this class to build a game scene.
-- <br>
-- Scene is managed by the SceneManager.
-- Use by specifying the module from the SceneManager.
-- Scene will be generated internally.
-- <br>
... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Woods/npcs/Quesse.lua | 36 | 1672 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Quesse
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/Tex... | gpl-3.0 |
mohammadkabir1/kabirBot | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/mechanics/ai/boss/samurai.lua | 1 | 7593 | SAMURAI_MINIBOSS_AI_VERSION = "0.1"
--------------------------------------------------------------
-- Setting
--------------------------------------------------------------
HOOK_SOUNDBOX = { "pudge_pud_ability_hook_01",
"pudge_pud_ability_hook_02",
"pudge_pud_ability_hook_03",
"pudge_pud_ability_hook_04"... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Mhaura/npcs/Tya_Padolih.lua | 4 | 1370 | -----------------------------------
-- Area: Mhaura
-- NPC: Tya Padolih
-- Standard Merchant NPC
-- @pos -48 -4 30 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Mhaura/TextIDs");... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Al_Zahbi/npcs/Banjanu.lua | 38 | 1025 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Banjanu
-- Type: Standard NPC
-- @zone: 48
-- @pos -75.954 0.999 105.367
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------... | gpl-3.0 |
SimCMinMax/EasyRaid | HeroRotation_Rogue/Subtlety.lua | 1 | 56508 | --- Localize Vars
-- Addon
local addonName, addonTable = ...
-- HeroDBC
local DBC = HeroDBC.DBC
-- HeroLib
local HL = HeroLib
local Cache = HeroCache
local Unit = HL.Unit
local Player = Unit.Player
local Target = Unit.Target
local Spell = HL.Spell
local MultiSpell = HL.MultiSpell
local Item = HL.Item
-- HeroRotation
lo... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | In Development/servius_development/tfa_training_weapons/mega_pack/lua/weapons/tfa_sw_bowcaster/shared.lua | 1 | 22188 | 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 |
Sonicrich05/FFXI-Server | scripts/globals/items/crescent_fish.lua | 18 | 1333 | -----------------------------------------
-- ID: 4473
-- Item: crescent_fish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
rayaman/multi | multi/integration/networkManager/childNode.lua | 1 | 1779 | --[[
MIT License
Copyright (c) 2022 Ryan Ward
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | mit |
fruitwasp/DarkRP | gamemode/modules/language/sh_interface.lua | 13 | 4169 | DarkRP.addLanguage = DarkRP.stub{
name = "addLanguage",
description = "Create a language/translation.",
parameters = {
{
name = "Language name",
description = "The short name of the language (\"en\" is English). Make sure the language name fits a possible value for gmod_langu... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Norg/npcs/Paito-Maito.lua | 34 | 2624 | -----------------------------------
-- Area: Norg
-- NPC: Paito-Maito
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
local path = {
-71.189713, -9.413510, 74.024879,
-71.674171, -9.317029, 73.054794,
-72.516525, -9.298064, 72.363213,
-73.432983, -9.220915, 71... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/monstertpmoves.lua | 1 | 22542 | require("scripts/globals/magic");
require("scripts/globals/magicburst")
require("scripts/globals/status")
require("scripts/globals/utils")
-- Foreword: A lot of this is good estimating since the FFXI playerbase has not found all of info for individual moves.
-- What is known is that they roughly follow player ... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria_[S]/npcs/YrvaulairSCousseraux1.lua | 19 | 1186 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Yrvaulair S Cousseraux
-- @zone 80
-- @pos 0 1 -78
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------... | gpl-3.0 |
ArnaudSiebens/AutoActionCam | Libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua | 59 | 2966 | --[[-----------------------------------------------------------------------------
InlineGroup Container
Simple container widget that creates a visible "box" with an optional title.
-------------------------------------------------------------------------------]]
local Type, Version = "InlineGroup", 21
local AceGUI = Li... | gpl-3.0 |
3583Bytes/PokeBot | Scripts/util/bridge.lua | 1 | 2201 | local Bridge = {}
local Utils = require "util.utils"
local socket = require "socket"
local memory = require "util.memory"
local client = nil
local timeStopped = true
local timeMin = 0
local timeFrames = 0
local function send(prefix, body)
end
-- Wrapper functions
function Bridge.init(gameName)
end
function B... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/effects/light_arts.lua | 4 | 1900 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:recalculateAbilitiesTable();
local bonus = effect:getPower();
local regen = effect:getSubPower(... | gpl-3.0 |
cwarden/mysql-proxy | tests/suite/testenv/process.lua | 1 | 3882 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2010, 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 dis... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/crepe_caprice.lua | 36 | 1318 | -----------------------------------------
-- ID: 5776
-- Item: Crepe Caprice
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +20
-- MP Healing 3
-- Magic Accuracy +5
-- Magic Defense +2
-----------------------------------------
require("scripts/globals/status");
---------------------... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/modules/money/sv_money.lua | 2 | 12381 | --[[---------------------------------------------------------------------------
functions
---------------------------------------------------------------------------]]
local meta = FindMetaTable("Player")
function meta:addMoney(amount)
if not amount then return false end
local total = self:getDarkRPVar("money")... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/serving_of_salmon_meuniere.lua | 3 | 1289 | -----------------------------------------
-- ID: 4583
-- Item: serving_of_salmon_meuniere
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -2
-- Ranged ACC % 7
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
premake/premake-core | src/base/http.lua | 17 | 1300 | --
-- http.lua
-- Additions to the http namespace.
-- Copyright (c) 2008-2014 Jason Perkins and the Premake project
--
if http == nil then
return
end
---
-- Simple progress bar on stdout for curl downloads.
---
function http.reportProgress(total, current)
local width = 70
local progress = math.floor(current... | bsd-3-clause |
fruitwasp/DarkRP | gamemode/modules/fpp/pp/client/hud.lua | 2 | 5497 | FPP = FPP or {}
surface.CreateFont("TabLarge", {
size = 17,
weight = 700,
antialias = true,
shadow = false,
font = "Trebuchet MS"})
hook.Add("CanTool", "FPP_CL_CanTool", function(ply, trace, tool) -- Prevent client from SEEING his toolgun shoot while it doesn't shoot serverside.
if IsValid(tra... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/The_Shrouded_Maw/mobs/Diabolos.lua | 2 | 2577 | -----------------------------------
-- Area:
-- MOB: Diabolos
-----------------------------------
function OnMobEngaged(mob)
--print("mobengage");
end;
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer)
end;
----------------------------... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/modules/fadmin/fadmin/playeractions/ignite/cl_init.lua | 10 | 1748 | FAdmin.StartHooks["Ignite"] = function()
FAdmin.Messages.RegisterNotification{
name = "ignite",
hasTarget = true,
message = {"instigator", " ignited ", "targets", " ", "extraInfo.1"},
readExtraInfo = function()
local time = net.ReadUInt(16)
return {time == 0 a... | mit |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_extended_live/lua/weapons/tfa_t21b/shared.lua | 1 | 6015 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "T-21B"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category = "TFA Star Wars"
SWEP.Spawnable = true
SWEP.AdminSpawnable... | apache-2.0 |
letepyu/Coma2D | premake5.lua | 2 | 1131 | workspace "Coma2D"
location ( "Projects/%{_ACTION}" )
configurations { "Debug", "Release" }
platforms { "x86", "x64" }
targetdir ( "Bin/%{_ACTION}/$(ProjectName)/$(Configuration)" )
objdir ( "Bin/%{_ACTION}/$(ProjectName)/$(Configuration)/Obj" )
callingconvention ("StdCall")
configuration "vs*"
defines { "_CR... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/pepperoni_pizza.lua | 3 | 1524 | -----------------------------------------
-- ID: 5697
-- Item: pepperoni_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Health Points 30
-- Strength 1
-- Accuracy 5% (caps @ 10) **wiki doesnt have information on %, so guessed it to be 5%
-- Attack 10% (caps @ 25)
------------------... | gpl-3.0 |
SimCMinMax/EasyRaid | HeroRotation/Events.lua | 1 | 2572 | --- ============================ HEADER ============================
--- ======= LOCALIZE =======
-- Addon
local addonName, HR = ...;
-- HeroLib
local HL = HeroLib;
local Cache = HeroCache;
local Unit = HL.Unit;
local Player = Unit.Player;
local Target = Unit.Target;
local Spell = HL.Spell;
local It... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/blade_ei.lua | 4 | 1139 | -----------------------------------
-- Blade Ei
-- Katana weapon skill
-- Skill Level: 175
-- Delivers a dark elemental attack. Damage varies with TP.
-- Aligned with the Shadow Gorget.
-- Aligned with the Shadow Belt.
-- Element: Dark
-- Modifiers: STR:30% ; INT:30%
-- 100%TP 200%TP 300%TP
-- 1.00 ... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Yhoator_Jungle/Zone.lua | 2 | 1554 | -----------------------------------
--
-- Zone: Yhoator_Jungle (124)
--
-----------------------------------
package.loaded[ "scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
require( "scripts/zones/Yhoator_Jungle/TextIDs");
require( "scripts/globals/icanheararainbow");
-----------------------------------
-- onInitializ... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/setting/settings.lua | 1 | 17201 | BAREBONES_DEBUG_SPEW = false
--------------------------------------------------------------
-- All KeyValues[KV] Files Global value
--------------------------------------------------------------
AA_VERSION = LoadKeyValues("addoninfo.txt").version
DROPS_TABLE ... | mit |
Imagine-Programming/lh-framework | src/util/rgba.lua | 1 | 20568 | --[[
Script: rgba.lua
Product: rgba.lh (MemoryEx LuaHeader)
Author: Imagine Programming <Bas Groothedde>
Website: http://www.imagine-programming.com
Contact: http://www.imagine-programming.com/contact.html
Date: 12-11-2013
... | mit |
Sonicrich05/FFXI-Server | scripts/globals/spells/armys_paeon_ii.lua | 31 | 1390 | -----------------------------------------
-- Spell: Army's Paeon II
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChec... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Upper_Jeuno/npcs/_6s1.lua | 2 | 1585 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Marble Bridge Eatery
--
-- @zone 244
-- @pos
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
re... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/The_Shrine_of_RuAvitau/mobs/Seiryu.lua | 2 | 1080 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Seiryu
-----------------------------------
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnMobSpawn(mob)
end;
----------... | gpl-3.0 |
DiNaSoR/Angel_Arena | game/angel_arena/scripts/vscripts/mechanics/camps/item_drop.lua | 1 | 5623 |
-- Taken from bb template
if CreepItemDrop == nil then
--DebugPrint ( '[creeps/item_drop] creating new CreepItemDrop object' )
CreepItemDrop = class({})
end
--item power level defines what items drop at given time
local ItemPowerLevel = 1.0
--define how often items drop from creeps. min = 0 (0%), max = 1 (10... | mit |
thgab/xupnpd-rc | plugins/xupnpd_dreambox.lua | 1 | 7857 | -- Plugin for converting channels lists from DVB receivers based on Enigma2
-- Copyright (C) 2012 Igor Drach
-- leaigor@gmail.com
function dreambox_url_encode(str)
if (str) then
str = string.gsub (str, " ", "%%20")
str = string.gsub (str, "\"", "%%22")
end
return str
end
function xml_to_tables(file,lab... | gpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Tavnazian_Safehold/TextIDs.lua | 2 | 1049 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6375; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6378; -- Obtained: <item>
GIL_OBTAINED = 6379; -- Obtained <number> gil
KEYITEM_OBTAINED = 6381; -- Ob... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/RuAun_Gardens/Zone.lua | 28 | 15340 | -----------------------------------
--
-- Zone: RuAun_Gardens (130)
--
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/conque... | gpl-3.0 |
keyvan65/anispam | plugins/welcome.lua | 35 | 3625 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Gusgen_Mines/npcs/_5g0.lua | 34 | 1096 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g0 (Door C)
-- @pos 44 -42.4 -25.5 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
---------------------... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader/[TFA] Extended Pack/lua/weapons/tfa_wsp_3/shared.lua | 1 | 4886 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "DLT-20AC"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 76.381909547739
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.HoldType = "rpg"
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category = "TFA Star Wars"
SWEP.Spaw... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/spinning_attack.lua | 4 | 1410 | -----------------------------------
-- Spinning Attack
-- Hand-to-Hand weapon skill
-- Spinning Attack (Magic Pot) has an identical name. If an internal link incorrectly referred you to this page, please change the link to point directly to Spinning Attack (Magic Pot).
-- Skill Level: 150
-- Delivers an area attac... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Orange.lua | 48 | 2326 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Magian Moogle (Orange Bobble)
-- Type: Magian Trials NPC (Weapon/Empyrean Armor)
-- @pos -11 2.453 118 64
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
projectbismark/luci-bismark | applications/luci-tinyproxy/luasrc/model/cbi/tinyproxy.lua | 12 | 7363 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-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
htt... | apache-2.0 |
3583Bytes/PokeBot | Emulator/Lua/socket.lua | 146 | 4061 | -----------------------------------------------------------------------------
-- LuaSocket helper module
-- Author: Diego Nehab
-- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $
-----------------------------------------------------------------------------
-----------------------------------------------... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Upper_Jeuno/npcs/Souren.lua | 17 | 2055 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Souren
-- Involved in Quests: Save the Clock Tower
-- @zone 244
-- @pos -51 0 4
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/modules/f4menu/cl_frame.lua | 2 | 5426 | --[[---------------------------------------------------------------------------
F4 tab
---------------------------------------------------------------------------]]
local PANEL = {}
function PANEL:Init()
self.BaseClass.Init(self)
end
local gray = Color(110, 110, 110, 255)
function PANEL:Paint(w, h)
local draw... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Dynamis-Xarcabard/mobs/Statue_Prototype.lua | 2 | 1237 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Statue Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/flask_of_panacea.lua | 70 | 1742 | -----------------------------------------
-- ID: 4163
-- Item: Panacea
-- Item Effect: Removes any number of status effects
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------------------------------------
function onItemCh... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/npcs/Muckvix.lua | 23 | 1436 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Muckvix
-- Involved in Mission: Magicite
-- @zone 245
-- @pos -26.824 3.601 -137.082
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
uuuuuuBoT/uuuuuuBoT | plugins/anti-spam.lua | 8 | 5854 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9 ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀... | gpl-3.0 |
mandrav/moai_pex_editor | src/hp/manager/ShaderManager.lua | 1 | 1309 | ----------------------------------------------------------------
-- This is a class to manage the Shader. <br>
-- This source has been implemented by Nenad Katic. <br>
-- Has been partially modified. <br>
----------------------------------------------------------------
local ResourceManager = require("hp/manager/Resou... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Beaucedine_Glacier_[S]/npcs/Gray_Colossus_LC.lua | 38 | 1071 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Gray Colossus, L.C.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos 76.178 -60.763 -48.775
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier... | gpl-3.0 |
kans/zirgo | tests/server.lua | 1 | 8567 | local JSON = require('json')
local LineEmitter = require('line-emitter')
local table = require('table')
local tls = require('tls')
local timer = require('timer')
local string = require('string')
local math = require('math')
local table = require('table')
local http = require("http")
local url = require('url')
local uti... | apache-2.0 |
OpenTechEngine/CEGUI | cegui/src/ScriptModules/Lua/support/tolua++bin/lua/container.lua | 15 | 16995 | -- tolua: container abstract class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id$
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enh... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mazween.lua | 34 | 1639 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mazween
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require(... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bhaflau_Thickets/npcs/Daswil.lua | 2 | 1503 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Daswil
-- Type: Assault
-- @zone: 52
-- @pos: -208.720 -12.889 -779.713
--
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
require("scripts/globals/missions");
require("scripts/zones/Bhaflau_Thickets/TextIDs");
require("scripts/... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Meriphataud_Mountains/npcs/Mushosho.lua | 17 | 1888 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Mushosho
-- Type: Outpost Vendor
-- @pos -290 16 415 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
re... | gpl-3.0 |
rlowrance/re | lua/check-test.lua | 1 | 4326 | -- check-test.lua
-- unit tests
require 'check'
require 'Completion'
require 'IncompleteMatrix'
require 'Log'
require 'Set'
require 'Tester'
tester = Tester()
test = {}
function test.isBoolean()
tester:assert(check.isBoolean(true))
tester:assert(check.isBoolean(false))
tester:assert(not check.isBoolean(1))
... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Nebiros.lua | 2 | 1097 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Decarabia
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitiali... | gpl-3.0 |
MiaoMiaosha/Cocos | SampleFlashImport/cocos2d/cocos/scripting/lua/script/Cocos2d.lua | 26 | 9014 | require "CocoStudio"
cc = cc or {}
cc.DIRECTOR_PROJECTION_2D = 0
cc.DIRECTOR_PROJECTION_3D = 1
function cc.clampf(value, min_inclusive, max_inclusive)
-- body
local temp = 0
if min_inclusive > max_inclusive then
temp = min_inclusive
min_inclusive = max_inclusive
max_inclusive = ... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.