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 |
|---|---|---|---|---|---|
Mashape/kong | spec/03-plugins/16-jwt/fixtures.lua | 2 | 5669 | local helpers = require "spec.helpers"
local u = helpers.unindent
return {
rs256_private_key = [[
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAw5mp3MS3hVLkHwB9lMrEx34MjYCmKeH/XeMLexNpTd1FzuNv
6rArovTY763CDo1Tp0xHz0LPlDJJtpqAgsnfDwCcgn6ddZTo1u7XYzgEDfS8J4SY
dcKxZiSdVTpb9k7pByXfnwK/fwq5oeBAJXISv5ZLB1IEVZHhUvGCH0udlJ2... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Western_Altepa_Desert/npcs/relic.lua | 38 | 1869 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: <this space intentionally left blank>
-- @pos -152 -16 20 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_De... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/cocos2d/DeprecatedOpenglEnum.lua | 148 | 11934 | -- This is the DeprecatedEnum
DeprecatedClass = {} or DeprecatedClass
_G.GL_RENDERBUFFER_INTERNAL_FORMAT = gl.RENDERBUFFER_INTERNAL_FORMAT
_G.GL_LINE_WIDTH = gl.LINE_WIDTH
_G.GL_CONSTANT_ALPHA = gl.CONSTANT_ALPHA
_G.GL_BLEND_SRC_ALPHA = gl.BLEND_SRC_ALPHA
_G.GL_GREEN_BITS = gl.GREEN_BITS
_G.GL_STENCIL_REF = gl.STENCI... | mit |
MoonTeamDev/TeleMoon | 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... | agpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria/npcs/Trail_Markings.lua | 17 | 2770 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Trail Markings
-- Dynamis-San d'Oria Enter
-- @pos 139 -2 122 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/sic.lua | 26 | 1302 | -----------------------------------
-- Ability: Sic
-- Commands the charmed Pet to make a random special attack.
-- Obtained: Beastmaster Level 25
-- Recast Time: 2 minutes
-- Duration: N/A
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
--------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/death_scythe.lua | 42 | 1065 | -----------------------------------------
-- ID: 16777
-- Item: Death Scythe
-- Additional Effect: Drains HP
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm18.lua | 17 | 1821 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: ???
-- Spawns: Hadhayosh
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(pla... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Lufaise_Meadows/npcs/Chilaumme_RK.lua | 30 | 3055 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Chilaumme, R.K.
-- Border Conquest Guards
-- @pos 414.659 0.905 -52.417 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Ordelles_Caves/npcs/qm4.lua | 13 | 1415 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: ??? (qm4)
-- Involved In Quest: Dark Puppet
-- @pos -52 27 -85 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Boncort.lua | 13 | 2099 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Boncort
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
requi... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/Core/difficulties.lua | 6 | 3534 | local MobDamages =
{
["cSpider"] = { 2, 2, 3 },
["cEnderman"] = { 4, 7, 10 },
["cZombie"] = { }, -- Handled in OnTakeDamage()
["cSlime"] = { 4, 4, 4 },
["cCaveSpider"] = { 2, 2, 3 },
["cZombiePigman"] = { 5, 9, 13 },
["cSkeleton"] = { 2, 2, 3 },
["cBlaze"] ... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Fire.lua | 12 | 2258 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Fire
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_3rd_Floor.lua | 13 | 1075 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[C_Temenos_3rd]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1305),TEMENOS); ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Palborough_Mines/npcs/_3za.lua | 19 | 1504 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Refiner Lid
-- Involved In Mission: Journey Abroad
-- @zone 143
-- @pos 180 -32 167
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Outer_RaKaznar/Zone.lua | 30 | 1274 | -----------------------------------
--
-- Zone: Outer Ra’Kanzar (274)
--
-----------------------------------
package.loaded["scripts/zones/Outer_RaKaznar/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Outer_RaKaznar/TextIDs");
-------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/yellow_curry_bun_+1.lua | 17 | 1994 | -----------------------------------------
-- ID: 5763
-- Item: yellow_curry_bun_+1
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Health Points 30
-- Strength 5
-- Agility 2
-- Vitality 2
-- Intelligence -2
-- Attack 23% (caps @ 80)
-- Ranged Attack 23% (caps @ 80)
-- Resist Sleep
-- ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l1.lua | 39 | 1330 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
ennis/autograph-pipelines | resources/scripts/pl/types.lua | 6 | 4693 | ---- Dealing with Detailed Type Information
-- Dependencies `pl.utils`
-- @module pl.types
local utils = require 'pl.utils'
local types = {}
--- is the object either a function or a callable object?.
-- @param obj Object to check.
function types.is_callable (obj)
return type(obj) == 'function' or getmetatable(ob... | mit |
pjanouch/hex | plugins/pdf.lua | 1 | 16124 | --
-- pdf.lua: Portable Document Format
--
-- Based on PDF Reference, version 1.7
-- In practice almost useless, I just wanted to learn about the file format.
-- FIXME: it's also not very robust and doesn't support all documents.
--
-- Copyright (c) 2017, Přemysl Janouch <p.janouch@gmail.com>
--
-- Permission to use, c... | isc |
UnfortunateFruit/darkstar | scripts/zones/Lower_Jeuno/npcs/Sniggnix.lua | 19 | 2170 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Sniggnix
-- Type: Standard NPC
-- @zone: 245
-- @pos -45.832 4.498 -135.029
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Sharzalion.lua | 11 | 3761 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Sharzalion
-- Starts and Finishes Quest: The Crimson Trial
-- Involved in Quest: Peace for the Spirit
-- @zone 230
-- @pos 95 0 111
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mearuru.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mearuru
-- Type: Standard NPC
-- @zone: 94
-- @pos 153.798 -1 153.712
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----... | gpl-3.0 |
johnmccabe/dockercraft | world/webadmin/template.lua | 10 | 5618 | -- Use a table for fast concatenation of strings
local SiteContent = {}
function Output(String)
table.insert(SiteContent, String)
end
function GetTableSize(Table)
local Size = 0
for key,value in pairs(Table) do
Size = Size + 1
end
return Size
end
function GetDefaultPage()
local PM = cRoot:Get():GetPlu... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/RuLude_Gardens/npcs/Pursuivant.lua | 38 | 1034 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pursuivant
-- Type: Pursuivant
-- @zone: 243
-- @pos 52.020 -1 -17.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
---------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kubhe_Ijyuhla.lua | 17 | 2421 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kubhe Ijyuhla
-- Standard Info NPC
-- @pos 23.257 0.000 21.532 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quest... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/src/actions/vstudio/vs2003_solution.lua | 7 | 1784 | --
-- vs2003_solution.lua
-- Generate a Visual Studio 2003 solution.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
function premake.vs2003_solution(sln)
io.eol = '\r\n'
-- Precompute Visual Studio configurations
sln.vstudio_configs = premake.vstudio_buildconfigs(sln)
_p('Microsoft Visual St... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Oldton_Movalpolos/TextIDs.lua | 15 | 1146 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/plate_of_salmon_sushi_+1.lua | 18 | 1470 | -----------------------------------------
-- ID: 5664
-- Item: plate_of_salmon_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 2
-- Accuracy % 15
-- Ranged ACC % 15
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
stewartmiles/flatbuffers | tests/namespace_test/NamespaceA/SecondTableInA.lua | 12 | 1200 | -- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: NamespaceA
local flatbuffers = require('flatbuffers')
local SecondTableInA = {} -- the module
local SecondTableInA_mt = {} -- the class metatable
function SecondTableInA.New()
local o = {}
setmetatable(o, {__index = SecondTa... | apache-2.0 |
nesstea/darkstar | scripts/zones/Riverne-Site_B01/Zone.lua | 13 | 1784 | -----------------------------------
--
-- Zone: Riverne-Site_B01
--
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Riverne-Site_B01/TextIDs");
require("scripts/globals/status");
require("scripts/globals/se... | gpl-3.0 |
Wedmer/packages | net/dynapoint/src/dynapoint.lua | 94 | 6369 | #!/usr/bin/lua
--[[
Copyright (C) 2016 Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
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, either version 3 of the License, or
(at your option) any later v... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Woods/npcs/Mushuhi-Metahi.lua | 59 | 1052 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mushuhi-Metahi
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/T... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/La_Theine_Plateau/npcs/Laurisse.lua | 17 | 1703 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Laurisse
-- Involved in Mission: The Rescue Drill
-- @pos -292 28 143 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/mi... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Nashmau/npcs/Wata_Khamazom.lua | 13 | 1476 | -----------------------------------
-- Area: Nashmau
-- NPC: Wata Khamazom
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------------... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/tests/test_platforms.lua | 7 | 1571 | --
-- tests/test_platforms.lua
-- Automated test suite for platform handling functions.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.platforms = { }
local testmap = { Native="Win32", x32="Win32", x64="x64" }
local sln, r
function T.platforms.setup()
sln = solution "MySolution"
configura... | gpl-2.0 |
Xileck/forgottenserver | data/spells/scripts/party/heal.lua | 13 | 1841 | local combat = createCombatObject()
local area = createCombatArea(AREA_CROSS5X5)
setCombatArea(combat, area)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, C... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Walls/npcs/Pakke-Pokke.lua | 38 | 1040 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Pakke-Pokke
-- Type: Standard NPC
-- @zone: 239
-- @pos -3.464 -17.25 125.635
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
---------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Mevreauche.lua | 44 | 2103 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Mevreauche
-- Type: Smithing Guild Master
-- @pos -193.584 10 148.655 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status")... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Al_Zahbi/npcs/Iphaaf.lua | 38 | 1025 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Iphaaf
-- Type: Mihli's Attendant
-- @zone: 48
-- @pos -28.014 -7 64.371
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Necropurge.lua | 43 | 1080 | ---------------------------------------------
-- Necropurge
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMobSkillCheck(target,mob,skill)
if(m... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/maelstrom.lua | 9 | 1848 | -----------------------------------------
-- Spell: Maelstrom
-- Deals water damage to enemies within range. Additional effect: STR Down
-- Spell cost: 162 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Water)
-- Blue Magic Points: 5
-- Stat Bonus: Mind +2
-- Level: 61
-- Casting Time: 6 seconds
-- Recast... | gpl-3.0 |
malortie/gmod-addons | th_weapons/lua/autorun/shared/hl1/util.lua | 1 | 4681 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
AddCSLuaFile()
function RandomInt( Min, Max )
return math.Round( math.random( Min, Max ) )
end
function RandomFloat( Min, Max )
return math.random( Min, Max )
end
function CheckTraceHullAttack( self, distance, mins, maxs, damage, bit... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Balthilda.lua | 13 | 1711 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Balthilda
-- Type: Merchant
-- @zone: 235
-- @pos -300 -10 -161
--
-- NPC not found in 'npc_list'
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and ga... | gpl-3.0 |
letoram/prio | extrun.lua | 1 | 9031 | local defevhs = {};
local function cursor_handler(wnd, tab, source, status)
if (status.kind == "terminated") then
delete_image(source);
if (tab == wnd.active_tab) then
wnd.mouse_cursor = nil;
local mx, my = mouse_xy();
if (image_hit(wnd.canvas, mx, my)) then
wnd:over();
end
end
tab.mouse_curso... | bsd-3-clause |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/glory_slash.lua | 12 | 1562 | -----------------------------------
-- Glory Slash
-- Sword weapon skill
-- Skill Level: NA
-- Only avaliable during Campaign Battle while weilding Lex Talionis.
-- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun.
-- Will stack with Sneak Attack.
-- Aligned with t... | gpl-3.0 |
morganzhh/sysrepo | swig/lua/tests/basic_item_handling.lua | 1 | 5502 | local sr = require("libsysrepoLua")
local lu = require('luaunit')
local MODULE_NAME = 'swig-test' -- name of module used for testing
local LOW_BOUND = 10 -- for testing purposes, index of lowest 'eth' interface name
local HIGH_BOUND = 12 -- for testing purposes, index of highest 'e... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/wildfire.lua | 29 | 1550 | -----------------------------------
-- Skill Level: N/A
-- Description: Deals fire elemental damage. Enmity generation varies with TP. Armageddon: Aftermath.
-- Acquired permanently by completing the appropriate Walk of Echoes Weapon Skill Trials.
-- Can also be used by equipping Armageddon (85)/(90)/(95)/(99) or Bedla... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/HomePoint#4.lua | 12 | 1210 | -----------------------------------
-- Area: Northern San dOria
-- NPC: HomePoint#4
-- @pos: -132 12 195 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Daborn_IM.lua | 13 | 3335 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Daborn, I.M.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Jeuno/npcs/Rachocho.lua | 13 | 1038 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Rachocho
-- Type: Standard NPC
-- @zone: 246
-- @pos 3.789 7 -59.411
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Qufim_Island/Zone.lua | 8 | 2556 | -----------------------------------
--
-- Zone: Qufim_Island (126)
--
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/quests");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/blackened_frog.lua | 35 | 1741 | -----------------------------------------
-- ID: 4536
-- Item: Blackened Frog
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -2
-- Attack % 14
-- Attack Cap 60
-- Ranged ATT % 14
-- Ranged ATT Cap 60
-- Enmity -5
------------------------------... | gpl-3.0 |
bowlofstew/Macaroni | Main/Generators/LuaGlue/LuaGlueHFile.lua | 2 | 2355 | require "Cpp/Common";
require "Cpp/FileGenerator";
require "Cpp/NodeInfo";
local Access = require "Macaroni.Model.Cpp.Access";
local Context = require "Macaroni.Model.Context";
local Node = require "Macaroni.Model.Node";
local TypeNames = Macaroni.Model.TypeNames;
LuaGlueHFile = {
node = nil,
new =... | apache-2.0 |
nesstea/darkstar | scripts/zones/Chateau_dOraguille/npcs/_6h4.lua | 13 | 3750 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Great Hall
-- Involved in Missions: 3-3, 5-2, 6-1, 8-2, 9-1
-- @pos 0 -1 13 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
--------------... | gpl-3.0 |
dpino/snabbswitch | src/program/top/top.lua | 3 | 7245 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local ffi = require("ffi")
local C = ffi.C
local lib = require("core.lib")
local shm = require("core.shm")
local counter = require("core.counter")
local S = require("syscall")
local histogram = require("core.his... | apache-2.0 |
redstormbot/ali | plugins/inpm.lua | 1114 | 3008 | do
local 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]]
... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Nashmau/npcs/Chichiroon.lua | 34 | 1300 | -----------------------------------
-- Area: Nashmau
-- NPC: Chichiroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
--------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5ff.lua | 13 | 1080 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 88 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
--... | gpl-3.0 |
Mashape/kong | spec/01-unit/01-db/01-schema/11-declarative_config/02-process_auto_fields_spec.lua | 1 | 26420 | local declarative_config = require "kong.db.schema.others.declarative_config"
local helpers = require "spec.helpers"
local lyaml = require "lyaml"
assert:set_parameter("TableFormatLevel", 10)
describe("declarative config: process_auto_fields", function()
local DeclarativeConfig
lazy_setup(function()
Declar... | apache-2.0 |
hussian/hell_iraq | plugins/info6.lua | 1 | 25712 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Markets/npcs/Rabid_Wolf_IM.lua | 28 | 4892 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Rabid Wolf, I.M.
-- 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 Mis... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_rtcam/init.lua | 2 | 3182 | /*******************************
Wired RT Camera
for Wiremod
(C) Sebastian J.
********************************/
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
local CAMERA_MODEL = "models/dav0r/camera.mdl"
local E_PLAYER = 0
local E_TRACK = 1
local V_TRACK = 0
/*---------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Arrapago_Reef/npcs/qm6.lua | 30 | 1138 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (corsair job flag quest)
--
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
-----------------------------------
... | gpl-3.0 |
plajjan/snabbswitch | src/apps/ipv6/ns_responder.lua | 1 | 3575 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- This app acts as a responder for neighbor solicitaions for a
-- specific target address and as a relay for all other packets. It
-- has two ports, north and south. The south port attaches to a port
-- on which NS messages are expected.... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/disseverment.lua | 28 | 2124 | -----------------------------------------
-- Spell: Disseverment
-- Delivers a fivefold attack. Additional effect: Poison. Accuracy varies with TP
-- Spell cost: 74 MP
-- Monster Type: Luminians
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 5
-- Stat Bonus: INT+1, MND-1
-- Level: 72
-- Casting Time:... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok-Jeuno_Airship/npcs/Dereck.lua | 12 | 1993 | -----------------------------------
-- Area: Bastok-Jeuno Airship
-- NPC: Dereck
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Bastok-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Bastok-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
-... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Adjutant.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Adjutant
-- Type: Standard NPC
-- @zone: 94
-- @pos -67.819 -4.499 58.997
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Tidal_Slash.lua | 37 | 1331 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water<a href="http://images.wikia.com/ffxi/images/b/b7/Exclamation.gif" class="image" title="Verification Needed" data-image-name="Exclamation.gif" id="Exclamation-gif"><img alt="Verification Needed" src="http://images1.wikia.nocook... | gpl-3.0 |
Mashape/kong | kong/plugins/rate-limiting/migrations/000_base_rate_limiting.lua | 2 | 3608 | return {
postgres = {
up = [[
CREATE TABLE IF NOT EXISTS "ratelimiting_metrics" (
"identifier" TEXT NOT NULL,
"period" TEXT NOT NULL,
"period_date" TIMESTAMP WITHOUT TIME ZONE NOT NULL,
"service_id" UUID ... | apache-2.0 |
nesstea/darkstar | scripts/zones/West_Sarutabaruta/npcs/Stone_Monument.lua | 13 | 1284 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -205.593 -23.210 -119.670 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/blizzard/petbattle.lua | 2 | 16319 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
--]]
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select;
local ipairs = _G.ipairs;
local pairs ... | mit |
Cycloneteam/CycloneTg | plugins/info.lua | 1 | 1922 | do
local function action_by_reply(extra, success, result)
local user_info = {}
local uhash = 'user:'..result.from.id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..result.from.id..':'..result.to.id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['.... | gpl-2.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/queasyshroom.lua | 31 | 1990 | -----------------------------------------
-- Spell: Queasyshroom
-- Additional effect: Poison. Duration of effect varies with TP
-- Spell cost: 20 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 8
-- Casting Time: 2 seconds
-- Recast Time: 15 ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/npcs/Jaipal.lua | 12 | 1269 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Jaipal
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
--------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kamnahb.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kamnahb
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
Badboy30/badboy30 | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
hamed9898/maxbot | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
0xd4d/iced | src/rust/iced-x86-lua/tests/block_encoder_spec.lua | 1 | 1853 | -- SPDX-License-Identifier: MIT
-- Copyright (C) 2018-present iced project and contributors
local from_hex = require("iced_test_utils").from_hex
describe("BlockEncoder", function()
local BlockEncoder = require("iced_x86.BlockEncoder")
local BlockEncoderOptions = require("iced_x86.BlockEncoderOptions")
local Decode... | mit |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/blade_to.lua | 30 | 1253 | -----------------------------------
-- Blade To
-- Katana weapon skill
-- Skill Level: 100
-- Deals ice elemental damage. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% ; INT:30%
-- 100%TP 200%TP 3... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Degong.lua | 53 | 1826 | -----------------------------------
-- Area: Port Windurst
-- NPC: Degong
-- Type: Fishing Synthesis Image Support
-- @pos -178.400 -3.835 60.480 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
DevCobra/Cobra.iraq | tg/test.lua | 210 | 2571 | started = 0
our_id = 0
function vardump(value, depth, key)
local linePrefix = ""
local spaces = ""
if key ~= nil then
linePrefix = "["..key.."] = "
end
if depth == nil then
depth = 0
else
depth = depth + 1
for i=1, depth do spaces = spaces .. " " end
end
if type(value) == 'tab... | gpl-2.0 |
hussian/hell_iraq | tg/test.lua | 210 | 2571 | started = 0
our_id = 0
function vardump(value, depth, key)
local linePrefix = ""
local spaces = ""
if key ~= nil then
linePrefix = "["..key.."] = "
end
if depth == nil then
depth = 0
else
depth = depth + 1
for i=1, depth do spaces = spaces .. " " end
end
if type(value) == 'tab... | gpl-2.0 |
koofr/thrift | lib/lua/TSocket.lua | 113 | 2996 | ---- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may... | apache-2.0 |
nesstea/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/qm2.lua | 13 | 1471 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: ??? Used for Norg quest "The Sahagin's Stash"
-- @zone 176
-- @pos 295.276 27.129 213.043
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
nesstea/darkstar | scripts/zones/East_Sarutabaruta/npcs/Taby_Canatahey.lua | 13 | 1031 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Taby Canatahey
-- @pos -119.119 -4.106 -524.347 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs")... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/prime_angler_stewpot.lua | 36 | 1919 | -----------------------------------------
-- ID: 5612
-- Item: Prime Angler Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10%
-- MP +15
-- Dexterity 2
-- Agility 1
-- Mind 1
-- HP Recovered while healing 7
-- MP Recovered while healing 2
-- Accuracy 15% ... | gpl-3.0 |
kidaa/MoonGen | lua/include/lib/Serpent/init.lua | 7 | 8540 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true}
local keyword, g... | mit |
tynaut/EggstraClucks | objects/eggstra/eggincubator/incubator.lua | 2 | 1809 | incubation = {
default = 10800,
primedegg = 1080
}
function main()
if entity.id() then
local container = entity.id()
local item = world.containerItemAt(container, 0)
if canHatch(item) then
if storage.incubationTime == nil then storage.incubationTime = os.time() end
--TODO update time ... | apache-2.0 |
kitala1/darkstar | scripts/globals/spells/bluemagic/smite_of_rage.lua | 28 | 1707 | -----------------------------------------
-- Spell: Smite of Rage
-- Damage varies with TP
-- Spell cost: 28 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+3
-- Level: 34
-- Casting Time: 0.5 seconds
-- Recast Time: 13 seconds
-- Skillchain Element(s)... | gpl-3.0 |
d-o/LUA-LIB | K400Examples/ioTest.lua | 2 | 7447 | -------------------------------------------------------------------------------
-- IOTest
-- Drive IO1 to IO8 using functions from the setpoint library
--
-- @author Luke Allison
-- @copyright 2016 Rinstrum Pty Ltd
-------------------------------------------------------------------------------
--======================... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Gustav_Tunnel/npcs/qm2.lua | 13 | 2001 | -----------------------------------
-- Area: Gustav tunnel
-- NPC: qm2 (???)
-- bastok 9-1
-- @zone 212
-- @pos -130 1.256 252.696
-----------------------------------
package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
crabman77/minetest-minetestforfun-server | mods/mobs/mese_monster.lua | 7 | 3257 |
-- Mese Monster by Zeg9
mobs:register_mob("mobs:mese_monster", {
-- animal, monster, npc, barbarian
type = "monster",
-- agressive, deals 4 damage to player when hit
passive = false,
damage = 4,
attack_type = "shoot",
shoot_interval = 1.0,
arrow = "mobs:mese_arrow",
shoot_offset = 2,
-- health & armor
hp_m... | unlicense |
kitala1/darkstar | scripts/globals/spells/gravity.lua | 11 | 1081 | -----------------------------------------
-- Spell: Gravity
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
idevz/vanilla | vanilla/base/resty/http.lua | 1 | 22335 | local http_headers = require "resty.http_headers"
local ngx_socket_tcp = ngx.socket.tcp
local ngx_req = ngx.req
local ngx_req_socket = ngx_req.socket
local ngx_req_get_headers = ngx_req.get_headers
local ngx_req_get_method = ngx_req.get_method
local str_gmatch = string.gmatch
local str_lower = string.lower
local str_u... | mit |
kitala1/darkstar | scripts/globals/items/silken_sash.lua | 36 | 1212 | -----------------------------------------
-- ID: 5632
-- Item: Silken Sash
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recovered while healing +3
-- MP Recovered while healing +5
-----------------------------------------
require("scripts/globals/status");
---... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Mhaura/npcs/Willah_Maratahya.lua | 15 | 3606 | -----------------------------------
-- Area: Mhaura
-- NPC: Willah Maratahya
-- Title Change NPC
-- @pos 23 -8 63 249
-----------------------------------
require("scripts/globals/titles");
local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , ... | gpl-3.0 |
fqrouter/luci | applications/luci-ddns/luasrc/model/cbi/ddns/ddns.lua | 18 | 3483 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
kitala1/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Migran.lua | 37 | 1542 | -----------------------------------
-- Area: Tavnasian Safehold
-- NPC: Migran
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
----------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Selbina/npcs/Zaldon.lua | 24 | 71053 | -----------------------------------
-- Area: Selbina
-- NPC: Zaldon
-- Involved in Quests: Under the sea, A Boy's Dream
-- Starts and Finishes: Inside the Belly
-- @pos -13 -7 -5 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.