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 |
|---|---|---|---|---|---|
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sajaaya.lua | 59 | 1060 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sajaaya
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/qm10.lua | 34 | 1039 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm10 (???)
-- Notes: Opens south door @ J-7
-- @pos 113.474 -26.000 91.610 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,... | gpl-3.0 |
fegimanam/sss | plugins/anti-flood.lua | 281 | 2422 | local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
nesstea/darkstar | scripts/zones/North_Gustaberg/npcs/relic.lua | 13 | 1854 | -----------------------------------
-- Area: North Gustaberg
-- NPC: <this space intentionally left blank>
-- @pos -217 97 461 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/North_Gustaberg/TextIDs");
-... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Al_Zahbi/npcs/Rughadjeen.lua | 38 | 1030 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Rughadjeen
-- Type: Skyserpent General
-- @zone: 48
-- @pos -74.150 -7 70.656
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/dark_carol.lua | 13 | 1501 | -----------------------------------------
-- Spell: Dark Carol
-- Increases dark resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/Hooks/OnPlayerBreakingBlock.lua | 44 | 1596 | return
{
HOOK_PLAYER_BREAKING_BLOCK =
{
CalledWhen = "Just before a player breaks a block. Plugin may override / refuse. ",
DefaultFnName = "OnPlayerBreakingBlock", -- also used as pagename
Desc = [[
This hook is called when a {{cPlayer|player}} breaks a block, before the block is actually broken in
the ... | apache-2.0 |
makinacorpus/imapfilter | src/common.lua | 2 | 11430 | -- Common functions for all classes and compatibility workarounds
if _VERSION == 'Lua 5.1' then
table.unpack = unpack
else
unpack = table.unpack
end
function _check_required(arg, argtype)
if type(arg) == 'nil' then
error('required argument left out', 3)
else
_check_optional(arg, argty... | mit |
nesstea/darkstar | scripts/globals/weaponskills/asuran_fists.lua | 11 | 1670 | -----------------------------------
-- Asuran Fists
-- Hand-to-Hand weapon skill
-- Skill Level: 250
-- Delivers an eightfold attack. params.accuracy varies with TP.
-- In order to obtain Asuran Fists, the quest The Walls of Your Mind must be completed.
-- Due to the 95% params.accuracy cap there is only a 66% chance o... | gpl-3.0 |
VurtualRuler98/kswep2-NWI | lua/ins_optics/ins2.lua | 1 | 11704 | if (SERVER) then
AddCSLuaFile()
end
KswepDefaultSight= {}
local def=KswepDefaultSight
def.name = "Default"
def.model = nil
def.fov = 10
def.rtscope = false
def.nv = false
def.rtmat = nil
def.IronPos=Vector()
def.IronAng=Vector()
def.AltIronPos=Vector()
def.AltIronAng=Vector()
def.sensitivity = 1
def.mins... | apache-2.0 |
dpino/snabbswitch | src/core/main.lua | 3 | 8041 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
-- Default to not using any Lua code on the filesystem.
-- (Can be overridden with -P argument: see below.)
package.path = ''
local STP = require("lib.lua.StackTracePlus")
local ffi = require("ffi")
local zone =... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Walls/npcs/Tsuaora-Tsuora.lua | 38 | 1043 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Tsuaora-Tsuora
-- Type: Standard NPC
-- @zone: 239
-- @pos 71.489 -3.418 -67.809
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Gustav_Tunnel/npcs/Grounds_Tome.lua | 34 | 1136 | -----------------------------------
-- Area: Gustav Tunnel
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(p... | gpl-3.0 |
cmassiot/vlc-broadcast | share/lua/intf/luac.lua | 6 | 2329 | --[==========================================================================[
luac.lua: lua compilation module for VLC (duplicates luac)
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>... | gpl-2.0 |
nesstea/darkstar | scripts/zones/RuLude_Gardens/npcs/relic.lua | 13 | 1851 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: <this space intentionally left blank>
-- @pos 0 8 -40 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
--------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/dish_of_spag_nero_di_seppia_+1.lua | 35 | 1798 | -----------------------------------------
-- ID: 5202
-- Item: dish_of_spag_nero_di_seppia_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 17 (cap 140)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
---------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Guided_Missile.lua | 7 | 1153 | ---------------------------------------------
-- Guided_Missile
--
-- Description: Targeted 10'(?) AoE ~400-750 physical damage, absorbed by Utsusemi
-- Type: Physical
-- Wipes Shadows
-- Range: 10 yalms
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/sta... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Dabido-Sorobido.lua | 13 | 1061 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Dabido-Sorobido
-- Type: Standard NPC
-- @zone: 238
-- @pos -93.586 -4.499 19.321
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
---... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_San_dOria/npcs/Ilgusin.lua | 13 | 1053 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ilgusin
-- Type: Standard NPC
-- @zone: 232
-- @pos -68.313 -6.5 -36.985
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Mines/npcs/Odoba.lua | 27 | 1169 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Odoba
-- Guild Merchant NPC: Alchemy Guild
-- @pos 108.473 5.017 1.089 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria/npcs/Leuveret.lua | 17 | 1533 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Leuveret
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Souther... | gpl-3.0 |
cmassiot/vlc-broadcast | share/lua/playlist/pinkbike.lua | 14 | 2091 | --[[
$Id$
Copyright © 2009 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.org)
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 2 of the License, or
(at your opt... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Cruor_Prospector.lua | 29 | 10716 | -----------------------------------
-- Area: Abyssea - Konschtat
-- NPC: Cruor Prospector
-- Type: Cruor NPC
-- @pos 132.000,-75.856,-822.000 15
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Abyssea-Konsch... | gpl-3.0 |
cmassiot/vlc-broadcast | share/lua/playlist/dailymotion.lua | 5 | 2607 | --[[
Translate Daily Motion video webpages URLs to the corresponding
FLV URL.
$Id$
Copyright © 2007 the VideoLAN team
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 2 o... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mariyaam.lua | 38 | 1063 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mariyaam
-- Type: Item Deliverer
-- @pos -125 -6 90 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/T... | gpl-3.0 |
dpino/snabbswitch | lib/ljsyscall/examples/epoll.lua | 23 | 3206 | -- simple epoll-based socket example. Serves up http responses, but is of course not a proper server
-- you can test performance with ab -n 100000 -c 100 http://localhost:8000/ although ab may be the limiting factor
local S
if arg[1] == "rump" then
S = require "syscall.rump.init".init{"net", "net.net", "net.local", ... | apache-2.0 |
nesstea/darkstar | scripts/zones/Apollyon/mobs/Dee_Wapa_the_Desolator.lua | 7 | 2591 | -----------------------------------
-- Area: Apollyon CS
-- MOB: Dee_Wapa_the_Desolator
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------... | gpl-3.0 |
Mashape/kong | kong/runloop/plugins_iterator.lua | 1 | 9126 | local BasePlugin = require "kong.plugins.base_plugin"
local constants = require "kong.constants"
local kong = kong
local type = type
local error = error
local pairs = pairs
local ipairs = ipairs
local assert = assert
local tostring = tostring
local EMPTY_T = {... | apache-2.0 |
plajjan/snabbswitch | lib/ljsyscall/syscall/netbsd/init.lua | 24 | 2111 | -- NetBSD init
-- This returns NetBSD types and constants (but no syscalls) under any OS.
-- Also returns util, which is a bit of a problem, as some of these will use syscalls
-- Currently used by kdump example to get NetBSD ktrace types
local require = require
local abi = require "syscall.abi"
local oldos, oldbsd ... | apache-2.0 |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/extension/DeprecatedExtensionEnum.lua | 40 | 1369 |
_G.kCCControlStepperPartMinus = cc.CONTROL_STEPPER_PART_MINUS
_G.kCCControlStepperPartPlus = cc.CONTROL_STEPPER_PART_PLUS
_G.kCCControlStepperPartNone = cc.CONTROL_STEPPER_PART_NONE
_G.CCControlEventTouchDown = cc.CONTROL_EVENTTYPE_TOUCH_DOWN
_G.CCControlEventTouchDragInside = cc.CONTROL_... | mit |
nesstea/darkstar | scripts/zones/Apollyon/mobs/Mountain_Buffalo.lua | 7 | 1401 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Action
-------... | gpl-3.0 |
Cyumus/NutScript | plugins/doors/sh_plugin.lua | 1 | 1489 | PLUGIN.name = "Doors"
PLUGIN.author = "Chessnut"
PLUGIN.desc = "A simple door system."
DOOR_OWNER = 3
DOOR_TENANT = 2
DOOR_GUEST = 1
DOOR_NONE = 0
nut.util.include("sv_plugin.lua")
nut.util.include("cl_plugin.lua")
nut.util.include("sh_commands.lua")
do
local entityMeta = FindMetaTable("Entity")
function entityMe... | mit |
ymauray/Skym_PetCodex | Lib/AceGUI-3.0/widgets/AceGUIWidget-MultiLineEditBox.lua | 1 | 12061 | -- Copyright (c) 2014 Yannick Mauray.
--
-- 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 2 of the License, or
-- (at your option) any later version.
--
-- This program is distr... | gpl-2.0 |
nesstea/darkstar | scripts/globals/weaponskills/ascetics_fury.lua | 6 | 1629 | -----------------------------------
-- Ascetics Fury
-- Hand-to-Hand weapon skill
-- Skill Level: N/A
-- Chance of params.critical hit varies with TP. Glanzfaust: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Monk) quest.
-- Aligned with the Flame Gorget & Light Gorget.
-- Al... | gpl-3.0 |
niessner/Matterport | tasks/keypoint_match/matchnet/train-rgb.lua | 1 | 6463 | require 'image'
require 'cutorch'
require 'cunn'
require 'cudnn'
require 'optim'
-- Custom files
require 'model-rgb'
require 'sys'
-- require 'qtwidget' -- for visualizing images
dofile('util-rgb.lua')
opt_string = [[
-h,--help print help
-s,--save (default "logs") subdirectory to save logs
-b,--ba... | mit |
DaemonSnake/vlc | share/lua/intf/dumpmeta.lua | 98 | 2125 | --[==========================================================================[
dumpmeta.lua: dump a file's meta data on stdout/stderr
--[==========================================================================[
Copyright (C) 2010 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Th... | gpl-2.0 |
nesstea/darkstar | scripts/globals/weaponskills/spinning_attack.lua | 9 | 1355 | -----------------------------------
-- Spinning Attack
-- Hand-to-Hand weapon skill
-- Skill Level: 150
-- Delivers an area attack. Radius varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Thunder Gorget.
-- Aligned with the Flame Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/shikikoyo.lua | 11 | 1076 | -----------------------------------
-- Ability: Shikikoyo
-- Share TP above 1000 with a party member.
-- Obtained: Samurai Level 75
-- Recast Time: 5:00
-- Duration: Instant
-- Target: Party member, cannot target self.
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/st... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Norg/Zone.lua | 12 | 2317 | -----------------------------------
--
-- Zone: Norg (252)
--
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/zones... | gpl-3.0 |
nesstea/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#2.lua | 27 | 1265 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#2
-- @pos -499 -42 167 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/homepo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/plate_of_boiled_barnacles.lua | 36 | 1279 | -----------------------------------------
-- ID: 5980
-- Item: Plate of Boiled Barnacles
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Charisma -3
-- Defense % 25 Cap 130
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters/npcs/Yuli_Yaam.lua | 13 | 1908 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yuli Yaam
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -61 -4 23
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_aern.lua | 13 | 3177 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Aw_aern PH (Ix'Aern DRK and DRG)
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scri... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/abilities/wild_flourish.lua | 28 | 2168 | -----------------------------------
-- Ability: Wild Flourish
-- Readies target for a skillchain. Requires at least two Finishing Moves.
-- Obtained: Dancer Level 60
-- Finishing Moves Used: 2
-- Recast Time: 0:30
-- Duration: 0:05
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lufaise_Meadows/mobs/Leshy.lua | 8 | 1821 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Leshy
-----------------------------------
function onMobRoam(mob)
local Colorful_Leshy = 16875762;
local Colorful_Leshy_PH = 0;
local Colorful_Leshy_PH_Table =
{
16875754,
16875755,
16875756,
16875757... | gpl-3.0 |
garyjs/Newfiesautodialer | lua/libs/dbhandler.lua | 3 | 4051 | --
-- Newfies-Dialer License
-- http://www.newfies-dialer.org
--
-- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
-- You can obtain one at http://mozilla.org/MPL/2.0/.
--
-- Copyright (C) 2011-2013 Star2Billing S.L.
--
--... | mpl-2.0 |
dpino/snabbswitch | src/lib/yang/data.lua | 3 | 50578 | -- Use of this source code is governed by the Apache 2.0 license; see
-- COPYING.
module(..., package.seeall)
local parser_mod = require("lib.yang.parser")
local schema = require("lib.yang.schema")
local util = require("lib.yang.util")
local value = require("lib.yang.value")
local ffi = require("ffi")
local ctable = r... | apache-2.0 |
taschik/ramcloud-load-manager | ft/luabit/utf8.lua | 26 | 4236 | --[[---------------
Utf8 v0.4
-------------------
utf8 -> unicode ucs2 converter
How to use:
to convert:
ucs2_string = utf8.utf_to_uni(utf8_string)
to view a string in hex:
utf8.print_hex(str)
Under the MIT license.
Utf8 is a part of LuaBit Project(http://luaforge.net/projects/bit/).
copyright(c... | isc |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Shohrun-Tuhrun.lua | 36 | 1960 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Shohrun-Tuhrun
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/serving_of_salmon_eggs.lua | 18 | 1325 | -----------------------------------------
-- ID: 5217
-- Item: serving_of_salmon_eggs
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 6
-- Magic 6
-- Dexterity 2
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/tiny_goldfish.lua | 17 | 1322 | -----------------------------------------
-- ID: 4310
-- Item: tiny_goldfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/death_ray.lua | 9 | 1601 | -----------------------------------------
-- Spell: Death Ray
-- Deals dark damage to an enemy
-- Spell cost: 49 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 34
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 seconds
-- Magic Bursts ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/_6fc.lua | 21 | 1890 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Papal Chambers
-- Finish Mission: The Davoi Report
-- @pos 131 -11 122 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
---------------... | gpl-3.0 |
Mashape/kong | kong/cmd/start.lua | 1 | 3196 | local migrations_utils = require "kong.cmd.utils.migrations"
local prefix_handler = require "kong.cmd.utils.prefix_handler"
local nginx_signals = require "kong.cmd.utils.nginx_signals"
local conf_loader = require "kong.conf_loader"
local kong_global = require "kong.global"
local kill = require "kong.cmd.utils.kill"
loc... | apache-2.0 |
jodemaey/MAOOAM-lyap-WIP | lua/rk4.lua | 2 | 1946 | -- rk4.lua
-- (C) 2015 Lesley De Cruz
-- See LICENSE.txt for license information.
------------------------------------------------------------------------
-- A classical fourth order Runge-Kutta scheme.
-- Butcher tableau:
--
-- 0 |
-- 1/2 | 1/2
-- 1/2 | 0 1/2
-- 1 | 0 0 1
-- +--------... | mit |
zuzuf/TA3D | src/ta3d/src/luajit/lib/dis_ppc.lua | 2 | 20319 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2010 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Open_sea_route_to_Al_Zahbi/Zone.lua | 13 | 1615 | -----------------------------------
--
-- Zone: Open_sea_route_to_Al_Zahbi (46)
--
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs");
--------------------------... | gpl-3.0 |
jodemaey/MAOOAM-lyap-WIP | lua/modeselection.lua | 2 | 1733 | -- modeselection.lua
-- (C) 2014-2016 Lesley De Cruz & Jonathan Demaeyer
-- See LICENSE.txt for license information.
------------------------------------------------------------------------
-- This file must return a table with two fields: atmos and ocean, each of
-- which contain an array with the selected {Nx,Ny} wa... | mit |
johnmccabe/dockercraft | world/Plugins/APIDump/Hooks/OnPluginsLoaded.lua | 44 | 2702 | return
{
HOOK_PLUGINS_LOADED =
{
CalledWhen = "All the enabled plugins have been loaded",
DefaultFnName = "OnPluginsLoaded", -- also used as pagename
Desc = [[
This callback gets called when the server finishes loading and initializing plugins. This is the
perfect occasion for a plugin to query other plu... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zwinam.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zwinam
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Windurst/npcs/Pichichi.lua | 36 | 2675 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pichichi
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_W... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Ill_Wind.lua | 15 | 1309 | ---------------------------------------------
-- Ill Wind
-- Description: Deals Wind damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes Shadows
-- Range: Unknown radial
-- Notes: Only used by Puks in Mamook, Besieged, and the following Noto... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eh.lua | 13 | 3729 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #4 (H out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/alabaligi.lua | 18 | 1257 | -----------------------------------------
-- ID: 5461
-- Item: Alabaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua | 53 | 1835 | -----------------------------------
-- Area: Port Windurst
-- NPC: Erabu-Fumulubu
-- Type: Fishing Synthesis Image Support
-- @pos -178.900 -2.789 76.200 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/st... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Subash.lua | 13 | 1026 | ----------------------------------
-- Area: Lower Jeuno
-- NPC: Subash
-- Type: Item Deliverer
-- @zone: 245
-- @pos -19.84 -0.101 -38.081
--
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
------------------------... | gpl-3.0 |
emadni/botteamtele | bot/seedbot.lua | 5 | 8642 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Korroloka_Tunnel/MobIDs.lua | 65 | 1094 | -----------------------------------
-- Area: Korroloka Tunnel (173)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
-- Cargo_Crab_Colin
Cargo_Crab_Colin=17485980;
Cargo_Crab_Colin_PH={
[17486002] = '1', -- -30.384, 1.000, -33.277
[17486095] = '1' ... | gpl-3.0 |
error454/SteamShiva | Resources/Scripts/Steam_Handler_onInit.lua | 1 | 1172 | --------------------------------------------------------------------------------
-- Handler.......... : onInit
-- Author........... :
-- Description...... :
--------------------------------------------------------------------------------
----------------------------------------------------------------------------... | mit |
Cycloneteam/CycloneTg | plugins/banhammer.lua | 1 | 11713 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
dany-sj/Kings_Bot | plugins/bot_manager.lua | 1 | 6275 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Caedarva_Mire/npcs/_273.lua | 18 | 3552 | -----------------------------------
-- Area: Caedarva Mire
-- Door: Runic Seal
-- @pos -353 -3 -20 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Castle_Oztroja/Zone.lua | 28 | 1816 | -----------------------------------
--
-- Zone: Castle_Oztroja (151)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Castle_Ozt... | gpl-3.0 |
gganssle/ml_tle_2016_contest | cpu.lua | 1 | 7114 | -- deps
require 'nn'
-- load data
file = torch.DiskFile('dat/facies_vectors.t7', 'r')
facies = file:readObject()
file:close()
file = torch.DiskFile('dat/validation_data_nofacies.t7', 'r')
validate = file:readObject()
file:close()
-- build dicts
--print("facies size: ", facies:size()[1], "x", facies:size()[2])
--print... | mit |
focusworld/aabb | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
nesstea/darkstar | scripts/globals/mobskills/Chemical_Bomb.lua | 28 | 1133 | ---------------------------------------------
-- Chemical_Bomb
--
-- Description: slow + elegy
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMob... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Gregale_Wing_Air.lua | 25 | 1089 | ---------------------------------------------
-- Gregale Wing
--
-- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only Jormungand and Isgebind
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Crawlers_Nest/Zone.lua | 13 | 1919 | -----------------------------------
--
-- Zone: Crawlers_Nest (197)
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Crawlers_Nest/TextIDs"... | gpl-3.0 |
ponzao/pong | main.lua | 1 | 2933 | require("objects")
local function reset(side)
playing = false
ball:stop()
if side == "left" then
ball:attachToLeftPaddle(leftPlayer.paddle)
else
ball:attachToRightPaddle(rightPlayer.paddle)
end
starter = side
end
local function collision(a)
if a == "left" then
score... | mit |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kristen.lua | 13 | 1056 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kristen
-- Type: Standard NPC
-- @zone: 94
-- @pos 2.195 -2 60.296
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--------... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/Core/teleport.lua | 5 | 2356 | --When someone uses tpa or tpahere request is saved in this array under targeted player uuid
--Type - Request type(used command - "/tpahere" or "/tpa"), Requester - uuid of requesting player, Time - request time
local TeleportRequests = {}
function HandleTPCommand(a_Split, a_Player)
if #a_Split == 2 or #a_Split == 3... | apache-2.0 |
UnfortunateFruit/darkstar | 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 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#1.lua | 27 | 1277 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#1
-- @pos -293.048 -10 -102.558 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/gl... | gpl-3.0 |
garyjs/Newfiesautodialer | lua/libs/debugger.lua | 3 | 2949 | --
-- Newfies-Dialer License
-- http://www.newfies-dialer.org
--
-- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
-- You can obtain one at http://mozilla.org/MPL/2.0/.
--
-- Copyright (C) 2011-2013 Star2Billing S.L.
--
--... | mpl-2.0 |
akdor1154/awesome | spec/wibox/widget/base_spec.lua | 14 | 3351 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2016 Uli Schlachter
---------------------------------------------------------------------------
local base = require("wibox.widget.base")
local no_parent = base.no_parent_I_know_what_I_am_doing
describe... | gpl-2.0 |
UnfortunateFruit/darkstar | 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 |
UnfortunateFruit/darkstar | scripts/globals/items/plate_of_patlican_salata.lua | 35 | 1211 | -----------------------------------------
-- ID: 5582
-- Item: plate_of_patlican_salata
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
Cyumus/NutScript | gamemode/items/base/sh_weapons.lua | 2 | 4661 | ITEM.name = "Weapon"
ITEM.desc = "A Weapon."
ITEM.category = "Weapons"
ITEM.model = "models/weapons/w_pistol.mdl"
ITEM.class = "weapon_pistol"
ITEM.width = 2
ITEM.height = 2
ITEM.isWeapon = true
ITEM.weaponCategory = "sidearm"
-- Inventory drawing
if (CLIENT) then
function ITEM:paintOver(item, w, h)
if (item:getDat... | mit |
nesstea/darkstar | scripts/globals/spells/blind.lua | 20 | 1377 | -----------------------------------------
-- Spell: Blind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bibiki_Bay/Zone.lua | 26 | 6165 | -----------------------------------
--
-- Zone: Bibiki_Bay (4)
--
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/weapons/gmod_tool/stools/wdrk.lua | 4 | 4785 | TOOL.Category = "Wire Extras/Other"
TOOL.Name = "#Directional Radio Tool"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.ClientConVar[ "model" ] = "models/radio/ra_small_omni.mdl"
TOOL.ClientConVar[ "tx" ] = 1
TOOL.ClientConVar[ "freeze" ] = 0
if CLIENT then
language.Add("tool.wdrk.name", "Wire Directional Radio Kit... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/506bbd88-8247-4944-9b91-7506cac9fcb5/bin/install.lua | 15 | 2650 | local component = require("component")
local computer = require("computer")
local event = require("event")
local filesystem = require("filesystem")
local unicode = require("unicode")
local shell = require("shell")
local args, options = shell.parse(...)
local fromAddress = options.from and component.get(options.from) ... | mit |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/bin/install.lua | 15 | 2650 | local component = require("component")
local computer = require("computer")
local event = require("event")
local filesystem = require("filesystem")
local unicode = require("unicode")
local shell = require("shell")
local args, options = shell.parse(...)
local fromAddress = options.from and component.get(options.from) ... | mit |
vonflynee/opencomputersserver | world/opencomputers/7c9ad1a8-61e1-4046-a969-190bd5607730/bin/install.lua | 15 | 2650 | local component = require("component")
local computer = require("computer")
local event = require("event")
local filesystem = require("filesystem")
local unicode = require("unicode")
local shell = require("shell")
local args, options = shell.parse(...)
local fromAddress = options.from and component.get(options.from) ... | mit |
UnfortunateFruit/darkstar | scripts/zones/RuLude_Gardens/npcs/Tillecoe.lua | 38 | 1037 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Tillecoe
-- Type: Standard NPC
-- @zone: 243
-- @pos 38.528 -0.997 -6.363
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
------------... | gpl-3.0 |
UnfortunateFruit/darkstar | 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 |
nesstea/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm9.lua | 13 | 1363 | -----------------------------------
-- 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 |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/framework/init.lua | 35 | 2697 | --[[
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 |
UnfortunateFruit/darkstar | scripts/zones/FeiYin/Zone.lua | 10 | 3499 | -----------------------------------
--
-- Zone: FeiYin (204)
--
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Geuhbe.lua | 13 | 1050 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Geuhbe
-- Type: Event Scene Replayer
-- @zone: 245
-- @pos -74.309 -1 -114.174
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/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.