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 |
|---|---|---|---|---|---|
bn7/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Wise_Turtle_IM.lua | 14 | 3342 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Wise Turtle, I.M.
-- Border Conquest Guards
-- @pos -599.903 -41.441 165.776 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
BipolarAurora/H-CE-Opensauce-V5 | shared/bin/mmbbq_3.0.2/HaloCE/1_09_Server/Networking.lua | 2 | 22904 | -- Yelo: Open Sauce SDK
-- Halo 1 (CE) Edition
-- See license\OpenSauce\Halo1_CE for specific license information
HaloCEServer_Networking =
{
--////////////////////////////////////////////////////////////////////////
-- MDP.hpp
["K_MDP_FIELD_ENCODE_ARRAY"] = 0x4D5F90,
["K_MDP_... | gpl-3.0 |
bn7/darkstar | scripts/globals/mobskills/tebbad_wing_air.lua | 33 | 1083 | ---------------------------------------------
-- Tebbad Wing
--
-- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Tiamat, Smok and Ildebrann
----... | gpl-3.0 |
Thadah/GarryWare13 | gamemode/wareminigames/get21.lua | 2 | 5410 | WARE.Author = "Hurricaaane (Ha3)"
local List3cards = {
{ 6 , 7 , 8 } , { 5 , 7 , 9 } , { 5 , 6 , 10 } , { 4 , 8 , 9 } , { 4 , 7 , 10 } , { 4 , 6 , 11 } , { 3 , 8 , 10 } , { 3 , 7 , 11 } , { 2 , 9 , 10 } , { 2 , 8 , 11 } , { 1 , 9 , 11 }
}
local List4cards = {
{ 3 , 5 , 6 , 7 } , { 3 , 4 , 6 , 8 } , { 3 , 4 , 5 , 9 } ,... | gpl-2.0 |
bn7/darkstar | scripts/globals/weaponskills/sniper_shot.lua | 15 | 1487 | -----------------------------------
-- Sniper Shot
-- Marksmanship weapon skill
-- Skill Level: 80
-- Lowers enemy's INT. Chance of params.critical varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:70%
-- 100%TP 200%TP ... | gpl-3.0 |
shyamalschandra/vlc | share/lua/playlist/metachannels.lua | 92 | 2096 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Rémi Duraffort <ivoire at videolan dot 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 y... | lgpl-2.1 |
bn7/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Muzeze.lua | 14 | 1049 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Muzeze
-- Type: Armor Storer
-- @pos -6.782 -18.428 208.185 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Meriphataud_... | gpl-3.0 |
HuangYuNan/thcsvr | expansions/script/c26055.lua | 1 | 1318 |
--溺符「陷落漩涡」
function c26055.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c26055.condition)
e1:SetCost(c26055.cost)
e1:SetTarget(c26055.target)
e1:SetOperation(c26055.act... | gpl-2.0 |
HuangYuNan/thcsvr | expansions/script/c21024.lua | 1 | 2520 |
--藤原妹红
function c21024.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(c21024.synfilter),1)
c:EnableReviveLimit()
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21024,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTyp... | gpl-2.0 |
bn7/darkstar | scripts/zones/Altar_Room/Zone.lua | 32 | 1558 | -----------------------------------
--
-- Zone: Altar_Room (152)
--
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Altar_Room/TextIDs");
-----------------------------------
--... | gpl-3.0 |
bn7/darkstar | scripts/globals/weaponskills/slug_shot.lua | 16 | 1558 | -----------------------------------
-- Slug Shot
-- Marksmanship weapon skill
-- Skill Level: 175
-- Delivers an inparams.accurate attack that deals quintuple damage. params.accuracy varies with TP.
-- Despite the lack of a STR weaponskill mod, STR is still the most potent stat for increasing this weaponskill's damage ... | gpl-3.0 |
UniverseGuard/Starbound_RU | translations/others/items/buildscripts/buildunrandweapon.lua | 8 | 3594 | require "/scripts/util.lua"
require "/scripts/vec2.lua"
require "/scripts/versioningutils.lua"
require "/items/buildscripts/abilities.lua"
function build(directory, config, parameters, level, seed)
local configParameter = function(keyName, defaultValue)
if parameters[keyName] ~= nil then
return parameters[... | apache-2.0 |
reox/awesomerc | blingbling/progress_bar.lua | 1 | 9591 | local helpers =require("blingbling.helpers")
local string = require("string")
local setmetatable = setmetatable
local ipairs = ipairs
local math = math
local table =table
local type=type
local cairo = require("oocairo")
local capi = { image = image, widget = widget }
local layout = require("awful.widget.layout")
---A ... | gpl-3.0 |
HuangYuNan/thcsvr | expansions/script/c421407.lua | 1 | 1962 | --条河麻耶
function c421407.initial_effect(c)
--change name
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(EFFECT_ADD_CODE)
e1:SetRange(LOCATION_MZONE+LOCATION_GRAVE)
e1:SetValue(431401)
c:RegisterEffect(e1)
--special summon
local e3=Effect.Creat... | gpl-2.0 |
bn7/darkstar | scripts/zones/Lower_Jeuno/npcs/Parike-Poranke.lua | 14 | 1121 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Parike-Poranke
-- Type: Adventurer's Assistant
-- @zone 245
-- @pos -33.161 -1 -61.303
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-------... | gpl-3.0 |
bn7/darkstar | scripts/zones/Behemoths_Dominion/npcs/qm2.lua | 14 | 2238 | -----------------------------------
-- Area: Behemoth's Dominion
-- NPC: qm2 (???)
-- Spawns Behemoth or King Behemoth
-- @pos -267 -19 74 127
-----------------------------------
package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Behemoths_Domin... | gpl-3.0 |
WalkWifi/Openwrt | package/ramips/ui/luci-mtk/src/protocols/ipv6/luasrc/model/network/proto_4x6.lua | 63 | 1522 | --[[
LuCI - Network model - 6to4, 6in4 & 6rd protocol extensions
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Copyright 2013 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of ... | gpl-2.0 |
bn7/darkstar | scripts/zones/The_Garden_of_RuHmet/bcnms/when_angels_fall.lua | 30 | 2268 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- Name: when_angels_fall
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("script... | gpl-3.0 |
bn7/darkstar | scripts/zones/Norg/npcs/Vaultimand.lua | 14 | 1034 | -----------------------------------
-- Area: Norg
-- NPC: Vaultimand
-- Type: Fame Checker
-- @zone 252
-- @pos -10.839 -1 18.730
--
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
bn7/darkstar | scripts/zones/La_Theine_Plateau/npcs/Stone_Monument.lua | 14 | 1300 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 334.133 50.623 141.163 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
HuangYuNan/thcsvr | expansions/script/c23096.lua | 1 | 1997 | --河中的便利屋✿河城荷取
function c23096.initial_effect(c)
--set
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(23096,0))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1)
e2:SetCost(c23096.setcost)
e2:SetTarget(c23096.settg)
e2:SetOperation(c23096.setop)
c:RegisterEffect(e... | gpl-2.0 |
RuiShu/variational-autoencoder | utils/MnistManager.lua | 1 | 1415 | require 'hdf5'
require 'utils.DataManager'
local MnistManager, parent = torch.class('MnistManager', 'DataManager')
function MnistManager:__init(batchsize)
parent.__init(self, batchsize)
-- get data
local f = hdf5.open('datasets/mnist.hdf5', 'r')
self.train = f:read('x_train'):all():double()
self.valid =... | mit |
bn7/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Ice.lua | 14 | 2393 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Ice
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");... | gpl-3.0 |
Telecat-full/-telecat- | plugins/Feedback.lua | 3 | 1031 | do
function run(msg, matches)
local fuse = '#DearAdmin😜 we have recived a new feedback just now : #newfeedback \n\nID▶️ : ' .. msg.from.id .. '\n\nName▶ : ' .. msg.from.print_name ..'\n\nusername▶️ :@ ' .. msg.from.username ..'\n\n🅿️♏️ :\n\n\n' .. matches[1]
local fuses = '!printf user#id' .. msg.from.id
lo... | gpl-2.0 |
never615/ipscanner | app/src/main/assets/nmap/share/nmap/nselib/citrixxml.lua | 2 | 16938 | ---
-- This module was written by Patrik Karlsson and facilitates communication
-- with the Citrix XML Service. It is not feature complete and is missing several
-- functions and parameters.
--
-- The library makes little or no effort to verify that the parameters submitted
-- to each function are compliant with the ... | mit |
LuaDist2/kong | spec/03-plugins/23-aws-lambda/02-schema_spec.lua | 5 | 1702 | local aws_lambda_schema = require "kong.plugins.aws-lambda.schema"
local schemas = require "kong.dao.schemas_validation"
local utils = require "kong.tools.utils"
local validate_entity = schemas.validate_entity
describe("Plugin: AWS Lambda (schema)", function()
local DEFAULTS = {
timeout = 60000,
keepalive = ... | apache-2.0 |
shizhai/wprobe | build_dir/target-mips_r2_uClibc-0.9.33.2/luci/libs/nixio/lua/nixio/util.lua | 179 | 5824 | --[[
nixio - Linux I/O library for lua
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
local... | gpl-2.0 |
bn7/darkstar | scripts/globals/abilities/ice_maneuver.lua | 19 | 1600 | -----------------------------------
-- Ability: Ice Maneuver
-- Enhances the effect of ice attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
yinjun322/quick-ng | cocos/scripting/lua-bindings/auto/api/Speed.lua | 7 | 2513 |
--------------------------------
-- @module Speed
-- @extend Action
-- @parent_module cc
--------------------------------
-- Replace the interior action.<br>
-- param action The new action, it will replace the running action.
-- @function [parent=#Speed] setInnerAction
-- @param self
-- @param #cc.ActionInterval ac... | mit |
yinjun322/quick-ng | cocos/scripting/lua-bindings/auto/api/Animate.lua | 7 | 1853 |
--------------------------------
-- @module Animate
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- @overload self
-- @overload self
-- @function [parent=#Animate] getAnimation
-- @param self
-- @return Animation#Animation ret (return value: cc.Animation)
--------... | mit |
HuangYuNan/thcsvr | expansions/script/c71204.lua | 1 | 1602 | --落阳,然后堕月
function c71204.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetCost(c71204.cost)
e1:SetTarget(c71204.target)
... | gpl-2.0 |
bn7/darkstar | scripts/zones/Port_San_dOria/npcs/Artinien.lua | 17 | 1401 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Artinien
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
--... | gpl-3.0 |
bn7/darkstar | scripts/zones/Lower_Jeuno/npcs/Naruru.lua | 24 | 3874 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Naruru
-- Starts and Finishes Quests: Cook's Pride
-- @pos -56 0.1 -138 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
never615/ipscanner | app/src/main/assets/nmap/share/nmap/nselib/data/psexec/network.lua | 4 | 4124 | ---More verbose network scripts
-- Any variable in the 'config' table in smb-psexec.nse can be overriden in the
-- 'overrides' table. Most of them are not really recommended, such as the host,
-- key, etc.
overrides = {}
--overrides.timeout = 40
modules = {}
local mod
-- Grab the ip and mac address(es) from ipconf... | mit |
Guema/GuemUICastBars | CastBarZ_Config/Libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua | 24 | 3799 | --[[-----------------------------------------------------------------------------
Icon Widget
-------------------------------------------------------------------------------]]
local Type, Version = "Icon", 21
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >=... | unlicense |
li-wl/kong | kong/plugins/rate-limiting/schema.lua | 1 | 2237 | local Errors = require "kong.dao.errors"
local REDIS = "redis"
return {
fields = {
second = { type = "number" },
minute = { type = "number" },
hour = { type = "number" },
day = { type = "number" },
month = { type = "number" },
year = { type = "number" },
limit_by = { type = "string", enu... | apache-2.0 |
copycat-killer/lain | widget/alsabar.lua | 3 | 5594 | --[[
Licensed under GNU General Public License v2
* (c) 2013, Luca CPZ
* (c) 2013, Rman
--]]
local helpers = require("lain.helpers")
local awful = require("awful")
local naughty = require("naughty")
local wibox = require("wibox")
local math = math
local string = string
local type =... | gpl-2.0 |
bn7/darkstar | scripts/zones/Metalworks/npcs/Grohm.lua | 14 | 3042 | -----------------------------------
-- Area: Metalworks
-- NPC: Grohm
-- Involved In Mission: Journey Abroad
-- @pos -18 -11 -27 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/z... | gpl-3.0 |
nulian/InlineAura | libs/AceGUI-3.0/widgets/AceGUIWidget-EditBox.lua | 30 | 7163 | --[[-----------------------------------------------------------------------------
EditBox Widget
-------------------------------------------------------------------------------]]
local Type, Version = "EditBox", 25
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or... | gpl-2.0 |
Widjet/mudlet | src/mudlet-lua/lua/Other.lua | 6 | 15073 | ----------------------------------------------------------------------------------
--- Mudlet Unsorted Stuff
----------------------------------------------------------------------------------
-- Extending default libraries makes Babelfish happy.
setmetatable( _G, {
["__call"] = function(func, ...)
if type(func) ==... | gpl-2.0 |
bn7/darkstar | scripts/zones/Ordelles_Caves/npcs/Grounds_Tome.lua | 30 | 1098 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,... | gpl-3.0 |
AverageJamz/ac-dissector | messages/msgLifestoneMaterialize.lua | 1 | 4075 | -- 0xF619
local PositionFlags = {
VelocityVectorPresent = 0x00000001,
Unknown = 0x00000002,
ObjectGrounded = 0x00000004,
OrientationQuartNoW = 0x00000008,
OrientationQuartNoX = 0x00000010,
OrientationQuartNoY = 0x00000020,
OrientationQuartNoZ = 0x00000040... | mit |
bn7/darkstar | scripts/globals/abilities/beast_roll.lua | 19 | 2633 | -----------------------------------
-- Ability: Beast Roll
-- Enhances pet attacks for party members within area of effect
-- Optimal Job: Beastmaster
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 34
--
-- Die Roll |No BST |With BST
-- -------- -------- -----------
-- 1 |16 |41
-- 2 |20... | gpl-3.0 |
bn7/darkstar | scripts/globals/spells/huton_san.lua | 21 | 1271 | -----------------------------------------
-- Spell: Huton: San
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------------... | gpl-3.0 |
bn7/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ix_aern_mnk.lua | 17 | 3000 | -----------------------------------
-- Area: Grand Palace of HuXzoi
-- MOB: Ix_aern_mnk
-- ID: 16916815
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-------... | gpl-3.0 |
bn7/darkstar | scripts/zones/Ilrusi_Atoll/Zone.lua | 17 | 1420 | -----------------------------------
--
-- Zone: Ilrusi_Atoll
-- zone 55
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
require("scripts/zones/Ilrusi_Atoll/TextIDs");
require("scripts/globals/settings");
----------------------------... | gpl-3.0 |
bn7/darkstar | scripts/zones/Dynamis-Bastok/Zone.lua | 10 | 2570 | -----------------------------------
--
-- Zone: Dynamis-Bastok
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Bastok/TextIDs");
----------------------------------... | gpl-3.0 |
bn7/darkstar | scripts/zones/Abyssea-La_Theine/Zone.lua | 33 | 1482 | -----------------------------------
--
-- Zone: Abyssea - La_Theine
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-La_Thein... | gpl-3.0 |
LuaDist2/kong | kong/plugins/oauth2/api.lua | 7 | 3102 | local crud = require "kong.api.crud_helpers"
return {
["/oauth2_tokens/"] = {
GET = function(self, dao_factory)
crud.paginated_set(self, dao_factory.oauth2_tokens)
end,
PUT = function(self, dao_factory)
crud.put(self.params, dao_factory.oauth2_tokens)
end,
POST = function(self, dao_... | apache-2.0 |
bn7/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm2.lua | 14 | 1343 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm2 (???)
-- Spawns Vetehinen
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
HuangYuNan/thcsvr | expansions/script/c999713.lua | 1 | 2096 | --地狱『炼狱气息』
local M = c999713
local Mid = 999713
function M.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1, 9997131+EFFECT_COUNT_CODE_DUEL)
e1:SetTarget(M.target)
e1:SetOperation(M.acti... | gpl-2.0 |
bn7/darkstar | scripts/zones/Southern_San_dOria/npcs/Rosel.lua | 13 | 3042 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Rosel
-- Starts and Finishes Quest: Rosel the Armorer
-- @zone 230
-- @pos
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern... | gpl-3.0 |
Thadah/GarryWare13 | gamemode/libs/sh_skin.lua | 1 | 12405 | ////////////////////////////////////////////////
// // GarryWare Gold //
// by Hurricaaane (Ha3) //
// and Kilburn_ //
// http://www.youtube.com/user/Hurricaaane //
//--------------------------------------------//
// FILEOVERRIDE Skin ... | gpl-2.0 |
littlepush/PushUI | kernel/api.lua | 1 | 14804 | local
PushUISize, PushUIColor,
PushUIStyle, PushUIAPI,
PushUIConfig, PushUIFrames = unpack(select(2, ...))
-- Class
PushUIAPI._all_vtbl = {}
function PushUIAPI.__classCreate(cls_type, obj, ...)
if cls_type.super then
obj = PushUIAPI.__classCreate(cls_type.super, obj, ...)
end
if cls_... | mit |
bn7/darkstar | scripts/globals/npc_util.lua | 16 | 6826 | package.loaded["scripts/globals/settings"] = nil;
-- Provides helper methods for npcs
npcUtil = {};
-- Picks a new position for an NPC and excluding the current position.
-- INPUT: npc = npcID, position = 2D table with coords: index, {x, y, z}
-- RETURN: table index
function npcUtil.pickNewPosition(npc, positionTabl... | gpl-3.0 |
bn7/darkstar | scripts/zones/Bastok_Mines/npcs/Gelzerio.lua | 17 | 1737 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Galzerio
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Bastok_Mines/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
bn7/darkstar | scripts/zones/North_Gustaberg/npcs/Stone_Monument.lua | 14 | 1295 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -199.635 96.106 505.624 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
never615/ipscanner | app/src/main/assets/nmap/share/nmap/nselib/pop3.lua | 2 | 5877 | ---
-- POP3 functions.
--
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
module(... or "pop3",package.seeall)
local HAVE_SSL = false
require 'base64'
require 'bit'
require 'stdnse'
require 'comm'
if pcall(require,'openssl') then
HAVE_SSL = true
end
err = {
none = 0,
userError = 1,
... | mit |
krichter722/vlc | share/lua/playlist/mpora.lua | 97 | 2565 | --[[
$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... | lgpl-2.1 |
bn7/darkstar | scripts/zones/Batallia_Downs/Zone.lua | 11 | 3985 | -----------------------------------
--
-- Zone: Batallia_Downs (105)
--
-----------------------------------
package.loaded[ "scripts/zones/Batallia_Downs/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require( "scripts/zones/Batallia_Downs/TextIDs");
requi... | gpl-3.0 |
frankyifei/koreader | frontend/apps/reader/modules/readerwikipedia.lua | 2 | 1991 | local ReaderDictionary = require("apps/reader/modules/readerdictionary")
local Translator = require("ui/translator")
local Wikipedia = require("ui/wikipedia")
local DEBUG = require("dbg")
local _ = require("gettext")
-- Wikipedia as a special dictionary
local ReaderWikipedia = ReaderDictionary:extend{
-- identify ... | agpl-3.0 |
bn7/darkstar | scripts/globals/effects/healing.lua | 21 | 1887 | -----------------------------------
--
-- EFFECT_HEALING
--
-- Activated through the /heal command
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function on... | gpl-3.0 |
gboleda/reference | first_encounter/superivision/supervision_model_utils.lua | 1 | 8379 | function build_entity_matrix(t_inp_size, v_inp_size, mm_size, inp_seq_cardinality, dropout_p, in_table, obj_mappings_table,
att_mappings_table, new_entity_mappings_table, temperature, weight_distribute_function)
-- this function builds an entity matrix with as many rows as input
-- t... | gpl-3.0 |
HuangYuNan/thcsvr | expansions/script/c27019.lua | 1 | 2015 |
--狸猫怪 二岩猯藏
function c27019.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x208),6,2,c27019.ovfilter,aux.Stringid(27019,0))
c:EnableReviveLimit()
--copy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(27019,1))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetC... | gpl-2.0 |
bn7/darkstar | scripts/zones/Xarcabard/npcs/Cavernous_Maw.lua | 58 | 1897 | -----------------------------------
-- Area: Xarcabard
-- NPC: Cavernous Maw
-- @pos 270 -9 -70
-- Teleports Players to Abyssea - Uleguerand
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
bn7/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Stone_Picture_Frame.lua | 27 | 3762 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Stone Picture Frame
-- Notes: Opens door to Den of Rancor using Painbrush of Souls
-- @pos -52.239 -2.089 10.000 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
------------------------... | gpl-3.0 |
bn7/darkstar | scripts/zones/Castle_Oztroja/npcs/_479.lua | 14 | 1722 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _479 (Brass Door)
-- Involved in Mission "Saintly Invitation"
-- @pos -99 -59 84 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle... | gpl-3.0 |
bn7/darkstar | scripts/globals/weaponskills.lua | 2 | 38196 | -- Contains all common weaponskill calculations including but not limited to:
-- fSTR
-- Alpha
-- Ratio -> cRatio
-- min/max cRatio
-- applications of fTP
-- applications of critical hits ('Critical hit rate varies with TP.')
-- applications of accuracy mods ('Accuracy varies with TP.')
-- applications of damage mods (... | gpl-3.0 |
yinjun322/quick-ng | quick/samples/2048/src/update.lua | 8 | 9028 | ------------------------------------------------------------------------------
--Load origin framework
------------------------------------------------------------------------------
cc.LuaLoadChunksFromZIP("res/framework_precompiled.zip")
------------------------------------------------------------------------------
-... | mit |
HuangYuNan/thcsvr | expansions/script/c60064.lua | 1 | 3265 | --しろかみ 黑焰的魔术师
function c60064.initial_effect(c)
--xyz summon
c:EnableReviveLimit()
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x334),3,2)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60064,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)... | gpl-2.0 |
bn7/darkstar | scripts/zones/Windurst_Waters/npcs/Furakku-Norakku.lua | 25 | 4882 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Furakku-Norakku
-- Involved in Quests: Early Bird Catches the Bookworm, Chasing Tales, Class Reunion
-- @pos -19 -5 101 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
------------------------... | gpl-3.0 |
bn7/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_zdei.lua | 17 | 2169 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Aw'Zdei
-- Animation Sub 0 Pot Form
-- Animation Sub 1 Pot Form (reverse eye position)
-- Animation Sub 2 Bar Form
-- Animation Sub 3 Ring Form
-----------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
bn7/darkstar | scripts/zones/Windurst_Woods/npcs/Bozack.lua | 14 | 1049 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bozack
-- Type: Event Replayer
-- @zone 241
-- @pos 92.591 -5.58 -31.529
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
---------------... | gpl-3.0 |
HuangYuNan/thcsvr | expansions/script/c28022.lua | 1 | 3048 | --秘封「梦违科学世纪」
function c28022.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c28022.cost)
e1:SetTarget(c28022.target)
e1:SetOperation(c28022.activate)
... | gpl-2.0 |
McDaived/Zafer | plugins/inpm.lua | 4 | 9511 | local function pre_process(msg)
local to = msg.to.type
local service = msg.service
if to == 'user' and msg.fwd_from then
if not is_support(msg.from.id) and not is_admin1(msg) then
return
end
local user = 'user#id'..msg.from.id
local from_id = msg.fwd_from.peer_id
if msg.fwd_from.first_name then
from_fi... | gpl-2.0 |
bn7/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j4.lua | 14 | 1440 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos 300 30 -324 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
simonemainardi/ntopng | scripts/lua/get_host_daily_activity.lua | 1 | 4053 | --
-- (C) 2013-17 - ntop.org
--
local debug = true
function host2id(d, name)
sql = 'SELECT idx FROM hosts WHERE host_name="'..name..'"'
if(debug) then print(sql.."\n") end
for idx in d:urows(sql) do return(tonumber(idx)) end
return nil
end
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/script... | gpl-3.0 |
persia/freeciv | dependencies/tolua-5.2/src/bin/lua/typedef.lua | 14 | 1584 | -- tolua: typedef class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: typedef.lua,v 1.3 2009/11/24 16:45:15 fabraham Exp $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to pro... | gpl-2.0 |
bn7/darkstar | scripts/globals/items/pamama_tart.lua | 12 | 1443 | -----------------------------------------
-- ID: 4563
-- Item: pamama_tart
-- Food Effect: 1hour, All Races
-----------------------------------------
-- HP 10
-- MP 10
-- Dexterity -1
-- Intelligence 3
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Transtech/omim | 3party/osrm/osrm-backend/profiles/bicycle.lua | 59 | 12992 | require("lib/access")
require("lib/maxspeed")
-- Begin of globals
barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true }
access_tag_whitelist ... | apache-2.0 |
sidorov-panda/omim | 3party/osrm/osrm-backend/profiles/bicycle.lua | 59 | 12992 | require("lib/access")
require("lib/maxspeed")
-- Begin of globals
barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true }
access_tag_whitelist ... | apache-2.0 |
rweichler/powowlua | gmusic/song.lua | 1 | 6513 | SONG.can_cache = true
local function decode(s)
local cgi = {}
for name, value in string.gmatch(s, "([^&=]+)=([^&=]+)") do
cgi[name] = value
end
return cgi
end
function SONG:new(o)
o = self.super.new(self, o)
o.options = o.options or {}
o.options['Save'] = o.options['Save'] or funct... | mit |
tst2005/luarocks | src/luarocks/repos.lua | 20 | 11978 |
--- Functions for managing the repository on disk.
--module("luarocks.repos", package.seeall)
local repos = {}
package.loaded["luarocks.repos"] = repos
local fs = require("luarocks.fs")
local path = require("luarocks.path")
local cfg = require("luarocks.cfg")
local util = require("luarocks.util")
local dir = require(... | mit |
bn7/darkstar | scripts/globals/spells/aurorastorm.lua | 32 | 1189 | --------------------------------------
-- Spell: Aurorastorm
-- Changes the weather around target party member to "auroras."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
---------------------------------------... | gpl-3.0 |
omid1212/hhhh | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
bestofkeeperbot/keeperbot | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
bn7/darkstar | scripts/zones/Port_San_dOria/npcs/Coullave.lua | 17 | 1986 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coullave
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");... | gpl-3.0 |
bn7/darkstar | scripts/globals/spells/bluemagic/bad_breath.lua | 25 | 3434 | -----------------------------------------
-- Spell: Bad Breath
-- Deals earth damage that inflicts multiple status ailments on enemies within a fan-shaped area originating from the caster
-- Spell cost: 212 MP
-- Monster Type: Plantoids
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 5
-- Stat Bonus: INT+2, MND+2
... | gpl-3.0 |
brimworks/lua-cjson | tests/bench.lua | 145 | 3247 | #!/usr/bin/env lua
-- This benchmark script measures wall clock time and should be
-- run on an unloaded system.
--
-- Your Mileage May Vary.
--
-- Mark Pulford <mark@kyne.com.au>
local json_module = os.getenv("JSON_MODULE") or "cjson"
require "socket"
local json = require(json_module)
local util = require "cjson.ut... | mit |
yinjun322/quick-ng | quick/framework/json.lua | 11 | 3469 | --[[
Copyright (c) 2011-2014 chukong-inc.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, dis... | mit |
bn7/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e3.lua | 14 | 1358 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Left) - Holla
-- @pos -239 -1 290 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scri... | gpl-3.0 |
yinjun322/quick-ng | cocos/scripting/lua-bindings/auto/api/GridBase.lua | 9 | 4540 |
--------------------------------
-- @module GridBase
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Set the size of the grid.
-- @function [parent=#GridBase] setGridSize
-- @param self
-- @param #size_table gridSize
-- @return GridBase#GridBase self (return value: cc.GridBase)
-----... | mit |
HuangYuNan/thcsvr | expansions/script/c25127.lua | 1 | 2785 | --心的轮盘
function c25127.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c25127.target)
e1:SetOperation(c25127.activate)
c:RegisterEffect(e1)
--to hand
local e2=Effect.CreateE... | gpl-2.0 |
bn7/darkstar | scripts/zones/The_Shrine_of_RuAvitau/npcs/qm2.lua | 14 | 1568 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: ??? (Spawn Kirin)
-- @pos -81 32 2 178
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Shrine_of_RuAvitau/TextIDs");
--... | gpl-3.0 |
bn7/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Shield.lua | 17 | 1494 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Shield
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEnga... | gpl-3.0 |
aymanhaider/Demonic_bot | plugins/lock_username.lua | 1 | 1108 | --[[
____ ___ _____
| __ ) / _ \_ _|
| _ \| | | || |
| |_) | |_| || |
|____/ \___/ |_|
Demonic bot (BY @Mostank_GT)
--]]
local function run(msg, matches)
if is_momod(msg) then
return
... | gpl-2.0 |
HuangYuNan/thcsvr | expansions/script/c15045.lua | 1 | 3155 | --天魔界的魔法使✿舞
function c15045.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(15045,0))
--e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCond... | gpl-2.0 |
bn7/darkstar | scripts/globals/spells/chocobo_mazurka.lua | 27 | 1162 | -----------------------------------------
-- Spell: Chocobo Mazurka
-- Gives party members enhanced movement
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cas... | gpl-3.0 |
bn7/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 |
bn7/darkstar | scripts/globals/items/bowl_of_shimmy_soup.lua | 12 | 1376 | -----------------------------------------
-- ID: 5931
-- Item: Bowl of Shimmy Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- MP 32
-- Mind 5
-- HP Recovered While Healing 5
-- Enmity -5
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.