repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
jebenexer/kong | spec/01-unit/012-log_serializer_spec.lua | 1 | 4263 | local basic = require "kong.plugins.log-serializers.basic"
describe("Log Serializer", function()
local ngx
before_each(function()
ngx = {
ctx = {
balancer_address = {
tries = {
{
ip = "127.0.0.1",
port = 8000,
},
},
... | apache-2.0 |
Armyluix/darkstar | 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 |
abriasffxi/darkstar | scripts/globals/items/pot_of_honey.lua | 18 | 1119 | -----------------------------------------
-- ID: 4370
-- Item: pot_of_honey
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Attohwa_Chasm/npcs/Cradle_of_Rebirth.lua | 17 | 1990 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Cradle_of_Rebirth
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
bravnsgaard/premake-core | src/base/workspace.lua | 9 | 4118 | ---
-- workspace.lua
-- Work with the list of workspaces loaded from the script.
-- Copyright (c) 2002-2015 Jason Perkins and the Premake project
---
local p = premake
p.workspace = p.api.container("workspace", p.global)
local workspace = p.workspace
---
-- Switch this container's name from "solution" to "worksp... | bsd-3-clause |
karai17/To-Do-App-Client | libs/hump/timer.lua | 27 | 6224 | --[[
Copyright (c) 2010-2013 Matthias Richter
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, dis... | mit |
abriasffxi/darkstar | scripts/zones/Pashhow_Marshlands_[S]/npcs/qm1.lua | 17 | 1116 | -----------------------------------
-- Area: Pashhow_Marshlands(S)
-- NPC: ??? (Kinepikwa)
-- Allow player to spawn Kinepikwa with Peiste pellets
--
-----------------------------------
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
functi... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Southern_San_dOria/TextIDs.lua | 7 | 7055 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6423; -- Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6427; -- Try trading again after sorting your inventory.
ITEM_OBTAINED = 6428; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Lower_Jeuno/npcs/_l02.lua | 36 | 1562 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -89.022 -0 -123.317
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Northern_San_dOria/npcs/Helaku.lua | 22 | 2994 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Helaku
-- Involved in Missions 2-3
-- @zone 231
-- @pos 49 -2 -12
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
wyozi/wmc-plus | lua/wmcp_libs/medialib.lua | 1 | 30880 | local a;do local b="git@75ecf4d8"local c=true;a={}a.VERSION=b;a.DISTRIBUTABLE=c;a.INSTANCE=a.VERSION.."_"..tostring(10000+math.random(90000))a.Modules={}local d=CreateConVar("medialib_debug","0",FCVAR_ARCHIVE)cvars.AddChangeCallback(d:GetName(),function(e,e,f)a.DEBUG=f=="1"end)a.DEBUG=d:GetBool()function a.modulePlaceh... | mit |
obelisk21/prosody-modules | mod_component_roundrobin/mod_component_roundrobin.lua | 32 | 3224 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
if module:get_host_type() ~= "component" then
error("Don't load mod_component manually, it should be for ... | mit |
Armyluix/darkstar | scripts/zones/Metalworks/npcs/Lorena.lua | 17 | 2528 | -----------------------------------
-- Area: Metalworks
-- NPC: Lorena
-- Type: Blacksmithing Guildworker's Union Representative
-- @zone: 237
-- @pos -104.990 1 30.995
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zones/Metalworks/TextIDs");
requir... | gpl-3.0 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/OldSweps/www_changed/weapon_50cal2/shared.lua | 2 | 2965 | // copy pasta from counter-strike, with barely any real changes.
if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
SWEP.HoldType = "ar2"
end
if ( CLIENT ) then
SWEP.PrintName = "M249"
SWEP.Author = "HLTV Proxy"
SWEP.Slot = 3
SWEP.SlotPos = 8
SWEP.IconLetter = "z"
SWEP.ViewModelFlip = f... | mit |
abriasffxi/darkstar | scripts/zones/Windurst_Woods/npcs/Lih_Pituu.lua | 53 | 1893 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Lih Pituu
-- Type: Bonecraft Adv. Image Support
-- @pos -5.471 -6.25 -141.211 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_W... | gpl-3.0 |
dios-game/dios-cocos | src/apps/lua-empty-test/Resources/src/cocos/network/DeprecatedNetworkFunc.lua | 61 | 1123 | if nil == cc.XMLHttpRequest then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of WebSocket will be deprecated begin
local targetPlatform = CCApplication:getInstance():get... | mit |
johnny5550822/torch7-DL-demos | modularize-cnn-cpu-051816/test.lua | 1 | 1549 | -- for testing the network
local mistakes = 0
local tested_samples = 0
local test_loss = 0 -- calculate the loss for testing example
function test_predictor(predictor, criterion, test_dataset, classes, classes_names)
-- loop
for i=1,test_dataset:size() do
local input = test_dataset[i]... | mit |
obelisk21/prosody-modules | mod_s2s_auth_monkeysphere/mod_s2s_auth_monkeysphere.lua | 32 | 1870 | module:set_global();
local http_request = require"socket.http".request;
local ltn12 = require"ltn12";
local json = require"util.json";
local json_encode, json_decode = json.encode, json.decode;
local gettime = require"socket".gettime;
local serialize = require"util.serialization".serialize;
local msva_url = assert(os... | mit |
Armyluix/darkstar | 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 |
cyberix3d/Cyberix3D | bin/Data/LuaScripts/03_Sprites.lua | 2 | 3399 | -- Moving sprites example.
-- This sample demonstrates:
-- - Adding Sprite elements to the UI
-- - Storing custom data (sprite velocity) inside UI elements
-- - Handling frame update events in which the sprites are moved
require "LuaScripts/Utilities/Sample"
local numSprites = 100
local sprites = {}
-- C... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua | 14 | 1312 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 450.741 2.110 -290.736 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
girvo/textadept-config | modules/textredux/examples/multi_column_list.lua | 1 | 1117 | --[[--
This example shows how to use the list with multi column items. It also
illustrates the optional use of headers, as well as the fact that the
`on_selection` callback will be passed the item exactly as it was given
which lets you use any arbitrary field in the selection logic.
@author Nils Nordman <nino at nordm... | mit |
jebenexer/kong | kong/api/routes/upstreams.lua | 1 | 7538 | local crud = require "kong.api.crud_helpers"
local app_helpers = require "lapis.application"
local responses = require "kong.tools.responses"
local balancer = require "kong.core.balancer"
local singletons = require "kong.singletons"
local utils = require "kong.tools.utils"
local cjson = require "cjson"
local cluster_ev... | apache-2.0 |
abriasffxi/darkstar | scripts/globals/spells/bluemagic/light_of_penance.lua | 25 | 2273 | -----------------------------------------
-- Spell: Light of Penance
-- Reduces an enemy's TP. Additional effect: Blindness and "Bind"
-- Spell cost: 53 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Light)
-- Blue Magic Points: 5
-- Stat Bonus: CHR+1, HP+15
-- Level: 58
-- Casting Time: 3 seconds
-- Recast Time:... | gpl-3.0 |
bravnsgaard/premake-core | scripts/embed.lua | 1 | 5519 | --
-- Embed the Lua scripts into src/host/scripts.c as static data buffers.
-- Embeds minified versions of the actual scripts by default, rather than
-- bytecode, as bytecodes are not portable to different architectures. Use
-- the `--bytecode` flag to override.
--
local scriptCount = 0
local function loadScript(fn... | bsd-3-clause |
abriasffxi/darkstar | scripts/zones/Bastok_Markets/npcs/Rothais.lua | 17 | 1052 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Rothais
-- Involved in Quest: Gourmet
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrigge... | gpl-3.0 |
jonese1234/PokeBotBad | BizHawk-1.11.6/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 |
ElectroDuk/QuackWars | garrysmod/gamemodes/Basewars/entities(maybe_outdated)/weapons/weapon_aug2/shared.lua | 2 | 1559 | // Variables that are used on both client and server
SWEP.Base = "weapon_mad_base_sniper"
SWEP.ViewModelFlip = true
SWEP.ViewModel = "models/weapons/v_rif_aug.mdl"
SWEP.WorldModel = "models/weapons/w_rif_aug.mdl"
SWEP.Spawnable = true
SWEP.AdminSpawnable = false
SWEP.Primary.Sound = Sound("Weapon_Aug.... | mit |
Armyluix/darkstar | scripts/globals/weaponskills/mandalic_stab.lua | 18 | 4603 | -----------------------------------
-- Mandalic Stab
-- Dagger weapon skill
-- Skill Level: N/A
-- Damage Varies with TP. Vajra: Aftermath effect varies with TP.
-- Multiplies attack by 1.66
-- Available only after completing the Unlocking a Myth (Thief) quest.
-- Will stack with Sneak Attack.
-- Aligned with t... | gpl-3.0 |
dios-game/dios-cocos | src/apps/lua-tests/Resources/src/cocos/framework/package_support.lua | 45 | 4006 | --[[
Copyright (c) 2011-2015 chukong-incc.com
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 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/script/framework/package_support.lua | 45 | 4006 | --[[
Copyright (c) 2011-2015 chukong-incc.com
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 |
Armyluix/darkstar | scripts/zones/Xarcabard/npcs/Heavy_Bear_IM.lua | 30 | 3041 | -----------------------------------
-- Area: Xarcabard
-- NPC: Heavy Bear, I.M.
-- Type: Border Conquest Guards
-- @pos -133.678 -22.517 112.224 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Waters/npcs/Taajiji.lua | 17 | 1798 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Taajiji
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst_Waters/TextIDs"... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/bastore_sardine.lua | 18 | 1334 | -----------------------------------------
-- ID: 5792
-- Item: Bastore Sardine
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 1
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
obelisk21/prosody-modules | mod_measure_cpu/mod_measure_cpu.lua | 26 | 1075 | module:set_global();
local measure = require"core.statsmanager".measure;
local mt = require"util.multitable";
local get_time = require "socket".gettime;
local get_clock = os.clock;
local measure_cpu_now = measure("amount", "cpu.percent"); -- Current percentage
local last_cpu_wall, last_cpu_clock;
module:hook("stats-... | mit |
Armyluix/darkstar | 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 |
sld/torch-conv-ner | conll_utils.lua | 1 | 1702 | require 'torch'
module('conll_utils', package.seeall)
cuda = false
function save_model(net, prefix, epoch)
local save_model_name = prefix.."-best-f1"..".torch"
torch.save(save_model_name, net)
end
function shallowcopy(orig)
local orig_type = type(orig)
local copy
if orig_type == 'table' then
copy = {}
... | gpl-3.0 |
Armyluix/darkstar | 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 |
Armyluix/darkstar | scripts/globals/items/roast_pipira.lua | 35 | 1575 | -----------------------------------------
-- ID: 4538
-- Item: roast_pipira
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Mind -1
-- Attack % 14
-- Attack Cap 85
-- Ranged ATT % 14
-- Ranged ATT Cap 85
-----------------------------------------
require("script... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm9.lua | 14 | 1383 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm9 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -140.039 -5.500 285.999 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/items/slice_of_tavnazian_ram_meat.lua | 18 | 1335 | -----------------------------------------
-- ID: 5208
-- Item: slice_of_tavnazian_ram_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Emhi_Tchaoryo.lua | 14 | 1074 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Emhi Tchaoryo
-- Type: Campaign Ops Overseer
-- @zone 94
-- @pos 10.577 -2.478 32.680
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/South_Gustaberg/npcs/Stone_Monument.lua | 14 | 1295 | -----------------------------------
-- Area: South Gustaberg
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 520.064 -5.881 -738.356 107
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
mohammadclashclash/hacker2011 | plugins/invite.lua | 26 | 1071 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) or is_gbanned(result.id) then -- Ignore bans and globall bans
send_large_msg(chat, 'User is banned.')
else
ch... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Temenos/mobs/Temenos_Cleaner.lua | 16 | 1289 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Temenos_Cleaner
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/Strange_Apparatus.lua | 31 | 1146 | -----------------------------------
-- Area: King_Ranperre's Tomb
-- NPC: Strange Apparatus
-- @pos -260 7 -142 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
require("scripts/zones/King_Ranperres_Tomb/TextIDs");
require("scripts/globals/strangeapparatus");... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Davoi/npcs/_45d.lua | 19 | 1499 | -----------------------------------
-- Area: Davoi
-- NPC: Wall of Banishing
-- Used In Quest: Whence Blows the Wind
-- @pos 181 0.1 -218 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/AssetsManager.lua | 14 | 3014 |
--------------------------------
-- @module AssetsManager
-- @extend Node
-- @parent_module cc
--------------------------------
--
-- @function [parent=#AssetsManager] setStoragePath
-- @param self
-- @param #char storagePath
-- @return AssetsManager#AssetsManager self (return value: cc.AssetsManager)
----... | mit |
abriasffxi/darkstar | scripts/zones/Giddeus/npcs/Altar_of_Offerings.lua | 14 | 1719 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Alter Of Offering
-- Involved in Quest: A Crisis in the Making
-- Working 100%
-- @zone = 145
-- @pos = -137 17 177
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Al_Zahbi/npcs/Hadibal.lua | 14 | 1035 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Hadibal
-- Type: Standard NPC
-- @zone 48
-- @pos -34.345 -1 -38.842
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/freezebite.lua | 23 | 1281 | -----------------------------------
-- Freezebite
-- Great Sword weapon skill
-- Skill Level: 100
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% ; INT:20%
-- 100%TP 200%TP ... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tafeesa.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tafeesa
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/abilities/quickstep.lua | 14 | 7937 | -----------------------------------
-- Ability: Quickstep
-- Lowers target's evasion. If successful, you will earn two Finishing Moves.
-- Obtained: Dancer Level 20
-- TP Required: 10%
-- Recast Time: 00:05
-- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds.
---------... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Eastern_Adoulin/npcs/HomePoint#2.lua | 27 | 1255 | -----------------------------------
-- Area: Eastern_Adoulin
-- NPC: HomePoint#2
-- @pos
-----------------------------------
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Eastern_Adoulin/TextIDs");
require("scripts/globals/homepoint");
---... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/plate_of_tuna_sushi.lua | 17 | 1537 | -----------------------------------------
-- ID: 5150
-- Item: plate_of_tuna_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 3
-- Charisma 5
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scripts/global... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/items/royal_omelette.lua | 18 | 2971 | -----------------------------------------
-- ID: 4564
-- Item: royal_omelette
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Dexterity 2
-- Intelligence -3
-- Mind 4
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
-- IF ELVAAN ONLY
-- HP 20
-- MP 2... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Norg/npcs/Mamaulabion.lua | 17 | 7918 | -----------------------------------
-- Area: Norg
-- NPC: Mamaulabion
-- Starts and finishes Quest: Mama Mia
-- @zone 252
-- @pos -57 -9 68 (88)
--CSIDs for Mamaulabion
--0x005D / 93 = Standard
--0x00BF / 191 = start quest
--0x00C0 / 192 = quest accepted
--0x00C1 / 193 = given an item
--0x00C2 / 194 = give... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Caedarva_Mire/npcs/Nareema.lua | 18 | 2118 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nareema
-- Type: Assault
-- @pos 518.387 -24.707 -467.297 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Caedarva_Mire/TextIDs");
require("s... | gpl-3.0 |
isalnikov/Algorithm-Implementations | Average/Lua/Yonaba/average_test.lua | 26 | 1557 | -- Tests for average.lua
local mean = require 'average'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local st... | mit |
jebenexer/kong | spec/01-unit/011-balancer_spec.lua | 1 | 12521 | describe("Balancer", function()
local singletons, balancer
local UPSTREAMS_FIXTURES
local TARGETS_FIXTURES
local crc32 = ngx.crc32_short
local uuid = require("kong.tools.utils").uuid
teardown(function()
ngx.log:revert()
end)
setup(function()
stub(ngx, "log")
balancer = require "kong.cor... | apache-2.0 |
IAmMattD/dotfiles | openbox/script/clock.lua | 2 | 7307 | --[[
Clock Rings by londonali1010 (2009)
This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.
IMPORTANT: if you are using the 'cpu'... | bsd-2-clause |
sum2012/mame | 3rdparty/genie/tests/actions/vstudio/vc2010/test_files.lua | 31 | 1551 | --
-- tests/actions/vstudio/vc2010/test_files.lua
-- Validate generation of files block in Visual Studio 2010 C/C++ projects.
-- Copyright (c) 2011 Jason Perkins and the Premake project
--
T.vstudio_vs2010_files = { }
local suite = T.vstudio_vs2010_files
local vc2010 = premake.vstudio.vc2010
--
-- Setup
--
loc... | gpl-2.0 |
abriasffxi/darkstar | scripts/globals/spells/bluemagic/warm-up.lua | 27 | 1924 | -----------------------------------------
-- Spell: Warm-Up
-- Enhances accuracy and evasion
-- Spell cost: 59 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 4
-- Stat Bonus: VIT+1
-- Level: 68
-- Casting Time: 7 seconds
-- Recast Time: 120 seconds
-- Duration: 180 seconds
--
-- Com... | gpl-3.0 |
ereizertmbot/sevensp | plugins/ingroup.lua | 371 | 44212 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/Skeleton3D.lua | 9 | 2001 |
--------------------------------
-- @module Skeleton3D
-- @extend Ref
-- @parent_module cc
--------------------------------
-- remove all bones
-- @function [parent=#Skeleton3D] removeAllBones
-- @param self
-- @return Skeleton3D#Skeleton3D self (return value: cc.Skeleton3D)
--------------------------------... | mit |
Armyluix/darkstar | scripts/globals/items/sleepshroom.lua | 35 | 1191 | -----------------------------------------
-- ID: 4374
-- Item: sleepshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -3
-- Mind 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cg.lua | 34 | 1075 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cg (Gate of Fire)
-- @pos -332 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs")... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Garlaige_Citadel/npcs/Oaken_Box.lua | 17 | 1730 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Oaken Box
-- Involved In Quest: Peace for the Spirit
-- @pos -164 0.1 225 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/final_heaven.lua | 19 | 2208 | -------------------------------
-- Skill: Final Heaven
-- H2H weapon skill
-- Skill Level N/A
-- Additional effect: temporarily enhances Subtle Blow effect.
-- Mods : VIT:60%
-- 100%TP 200%TP 300%TP
-- 3.0x 3.0x 3.0x
-- +10 Subtle Blow for a short duration after using the weapon skill. (Not implement... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Cape_Teriggan/npcs/Dultwa_IM.lua | 28 | 3120 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Dulwa, I.M.
-- Type: Border Conquest Guards
-- @pos 119 0 282 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/AlTaieu/npcs/Dimensional_Portal.lua | 17 | 1685 | -----------------------------------
-- Area: AlTaieu
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
jebenexer/kong | spec/03-plugins/15-request-transformer/02-access_spec.lua | 3 | 43284 | local helpers = require "spec.helpers"
local cjson = require "cjson"
describe("Plugin: request-transformer (access)", function()
local client
setup(function()
helpers.run_migrations()
local api1 = assert(helpers.dao.apis:insert { name = "api-1", hosts = { "test1.com" }, upstream_url = helpers.mock_upst... | apache-2.0 |
abriasffxi/darkstar | scripts/zones/Southern_San_dOria/npcs/Fulchia.lua | 17 | 1048 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Fulchia
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Southern_San_dOri... | gpl-3.0 |
urueedi/luci | applications/luci-app-pbx/luasrc/model/cbi/pbx.lua | 146 | 4360 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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
... | apache-2.0 |
imrandomizer/Algorithm-Implementations | Euclidean_algorithm/Lua/Yonaba/euclidian_test.lua | 27 | 1896 | -- Tests for euclidian.lua
local gcd = require 'euclidian'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status ... | mit |
milani/luvem | luvem/stream/init.lua | 1 | 1054 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/creature/npc/base/trandoshan_base_male.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
Codinablack/forgottenserver | data/migrations/12.lua | 7 | 1153 | function onUpdateDatabase()
print("> Updating database to version 13 (house bidding system and additional columns to other tables)")
db.query("ALTER TABLE `player_deaths` ADD `mostdamage_by` varchar(100) NOT NULL, ADD `mostdamage_is_player` tinyint NOT NULL DEFAULT '0', ADD `unjustified` tinyint NOT NULL DEFAULT '0'... | gpl-2.0 |
eraffxi/darkstar | scripts/globals/items/cone_of_snoll_gelato.lua | 2 | 1096 | -----------------------------------------
-- ID: 5147
-- Item: cone_of_snoll_gelato
-- Food Effect: 30Min, All Races
-----------------------------------------
-- MP % 16 (cap 75)
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
AwfulRanger/TF2Weapons | lua/weapons/tf_weapon_flamethrower.lua | 1 | 21825 | AddCSLuaFile()
DEFINE_BASECLASS( "tf2weapons_base" )
game.AddParticles( "particles/flamethrower.pcf" )
if SERVER then
util.AddNetworkString( "tf2weapons_airblast" )
else
net.Receive( "tf2weapons_airblast", function()
local weapon = net.ReadEntity()
local entities = {}
for i = 1, net.ReadInt( 32 ) do... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/mission_informant_spawner_hard.lua | 3 | 2276 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/loot/items/weapon/knife_janta.lua | 3 | 1823 | --Automatically generated by SWGEmu Spawn Tool v0.12 loot editor.
knife_janta = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/weapon/melee/knife/knife_janta.iff",
craftingValues = {
{"mindamage",14,26,0},
{"maxdamage",32,62,0},
{"attackspeed",3.9,2.7,1},
{"wo... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/faction_perk/turret/tower_med_deed.lua | 3 | 2479 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/base/tangible_craftable.lua | 2 | 2465 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Castle_Zvahl_Keep/Zone.lua | 2 | 3146 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep (162)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil
-----------------------------------
require("scripts/zones/Castle_Zvahl_Keep/TextIDs")
require("scripts/zones/Castle_Zvahl_Keep/MobIDs")
require(... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/furniture/all/frn_all_light_lamp_candlestick_tbl_s01.lua | 3 | 2771 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/clothing_shirt_field_14.lua | 2 | 3354 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/melee1hScatterHit2.lua | 1 | 2473 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
mohammad1212/robot12240 | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/vendor/human_male.lua | 2 | 57925 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/marauder_female.lua | 3 | 2176 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/items/serving_of_batagreen_sautee.lua | 2 | 1192 | -----------------------------------------
-- ID: 4553
-- Item: serving_of_batagreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -2
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
---------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/weapon/weapon_slayn_ioncannon.lua | 3 | 2304 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/furniture/bestine/painting_bestine_raventhorn.lua | 1 | 2332 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/space/story_loot/loot_dantooine_blacksun.lua | 3 | 2284 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
NezzKryptic/Wire | lua/entities/gmod_wire_expression2/core/custom/cl_constraintcore.lua | 9 | 3758 | language.Add("Undone_e2_axis", "Undone E2 Axis")
language.Add("Undone_e2_ballsocket", "Undone E2 Ballsocket")
language.Add("Undone_e2_winch", "Undone E2 Winch")
language.Add("Undone_e2_hydraulic", "Undone E2 Hydraulic")
language.Add("Undone_e2_rope", "Undone E2 Rope")
language.Add("Undone_e2_slider", "Undone E2 Slider"... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/event_perk/wrecked_sandcrawler_deed.lua | 1 | 2284 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/pet/serverobjects.lua | 3 | 3476 |
includeFile("pet/angler_be.lua")
includeFile("pet/bageraset_be.lua")
includeFile("pet/bantha_be.lua")
includeFile("pet/bearded_jax_be.lua")
includeFile("pet/blurrg_be.lua")
includeFile("pet/boar_wolf_be.lua")
includeFile("pet/bocatt_be.lua")
includeFile("pet/bol_be.lua")
includeFile("pet/bolle_bol_be.lua")
includeFile... | lgpl-3.0 |
dlannan/funLuaJit | byt3d/scripts/utils/xml-reader.lua | 1 | 6762 | ----------------------------------------------------------------
-- Xml parser.
----------------------------------------------------------------
-- Some stdio functions so we can write and read data directly
-- into ffi data structures.
----------------------------------------------------------------
local dir = requ... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/item/theme_park/alderaan/act2/objects.lua | 3 | 3581 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.