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 |
|---|---|---|---|---|---|
beauli/kong | spec/03-plugins/98-ex-rate-limiting/02-daos_spec.lua | 1 | 2983 | local uuid = require("kong.tools.utils").uuid
local helpers = require "spec.helpers"
local timestamp = require "kong.tools.timestamp"
local ratelimiting_metrics = helpers.dao.ratelimiting_metrics
describe("Plugin: ex-rate-limiting (DAO)", function()
local api_id = uuid()
local identifier = uuid()
setup(functio... | apache-2.0 |
haste/muziq-rigor | libs/vstruct/fp.lua | 3 | 3194 | -- floating point module
-- Copyright © 2008 Peter "Corsix" Cawley and Ben "ToxicFrog" Kelly; see COPYING
local fp = {}
local name = (...):gsub('%.[^%.]+$', '')
local struct = require (name)
local common = require (name..".common")
local function reader(data, size_exp, size_fraction)
local fraction, exponent, sign
... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/tasks/hero_of_tatooine/conversations/heroOfTatBountyHunterConvoHandler.lua | 1 | 2521 | local ObjectManager = require("managers.object.object_manager")
heroOfTatBountyHunterConvoHandler = { }
-- 1 - Started farmer quest, 2 - Completed farmer quest
function heroOfTatBountyHunterConvoHandler:getNextConversationScreen(pConversationTemplate, pPlayer, selectedOption, pConversingNpc)
local pConversationSes... | agpl-3.0 |
sprunk/Zero-K | effects/cannons_misc.lua | 8 | 2470 | return {
["heavy_cannon_muzzle"] = {
muzzle = {
air = true,
class = [[CExpGenSpawner]],
count = 1,
ground = true,
water = true,
properties = {
delay = 0,
explosiongenerator = [[custom:RA... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/fambaa/objects.lua | 3 | 5464 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_bth_spynet_pilot_f_01.lua | 3 | 2232 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/tatooine_desert_demons_camp_large2.lua | 2 | 2298 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/faction/rebel/crackdown_rebel_comm_operator.lua | 1 | 1445 | crackdown_rebel_comm_operator = Creature:new {
objectName = "@mob/creature_names:crackdown_rebel_comm_operator",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "rebel",
faction = "rebel",
level = 1,
chanceHit = 0.36,
damageMin = 240,
damageMax = 250,
baseXp = 45,
baseHAM = 7200,
baseHAMm... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/quest/rori/raxa_stormtrooper_commando.lua | 1 | 1458 | raxa_stormtrooper_commando = Creature:new {
objectName = "@mob/creature_names:storm_commando",
randomNameType = NAME_STORMTROOPER,
randomNameTag = true,
socialGroup = "imperial",
faction = "imperial",
level = 29,
chanceHit = 0.38,
damageMin = 280,
damageMax = 290,
baseXp = 3005,
baseHAM = 8300,
baseHAMmax =... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/dungeon/death_watch_bunker/death_watch_scientist.lua | 1 | 1189 | death_watch_scientist = Creature:new {
objectName = "@mob/creature_names:scientist",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "death_watch",
faction = "",
level = 34,
chanceHit = 0.410000,
damageMin = 320,
damageMax = 350,
baseXp = 3279,
baseHAM = 8800,
baseHAMmax = 10800,
armor =... | agpl-3.0 |
cappiewu/luci | applications/luci-app-xware3/luasrc/model/cbi/xware3.lua | 4 | 3692 | local fs = require "nixio.fs"
local util = require "nixio.util"
local running=(luci.sys.call("pidof etm_xware > /dev/null") == 0)
local button=""
local xunleiinfo=""
local tblXLInfo={}
local detailInfo = "迅雷远程下载尚未运行。"
if running then
xunleiinfo = luci.sys.exec("wget http://localhost:19000/getsysinfo -qO-")
b... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/setprivacy.lua | 4 | 2123 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
sprunk/Zero-K | effects/pulverizer.lua | 25 | 4670 | -- pulvmuzzle
-- pulvback
return {
["pulvmuzzle"] = {
fire = {
air = true,
class = [[CSimpleParticleSystem]],
count = 10,
ground = true,
water = true,
properties = {
airdrag = 0.6,
col... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/bio_engineer/creature/creature_brackaset.lua | 1 | 3392 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_rebel_staff_corporal_human_male_01.lua | 3 | 2284 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/medicine/crafted/medpack_wound_constitution_d.lua | 3 | 2997 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sahab2/leader-bot | plugins/anti_spam.lua | 417 | 3978 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
TerraME/terrame | packages/base/lua/Directory.lua | 3 | 10288 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/armor/padded/armor_padded_s01_leggings.lua | 1 | 5827 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/weapon/wpn_freitek_cannoneer_mk1.lua | 3 | 2316 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/bio_engineer/bio_component/objects.lua | 3 | 57502 | --Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/wearables/shirt/shirt_s12.lua | 4 | 1252 | shirt_s12 = {
-- Flared Cuff Shirt
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/shirt/shirt_s12.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_color_2"},
cus... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/endor/grassland_raider.lua | 1 | 1819 | grassland_raider = Creature:new {
objectName = "@mob/creature_names:grassland_raider",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "endor_marauder",
faction = "endor_marauder",
level = 40,
chanceHit = 0.44,
damageMin = 345,
damageMax = 400,
baseXp = 4006,
baseHAM = 9300,
baseHAMmax = ... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_assassin_mission_giver_03.lua | 3 | 2248 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/food/dessert_blap_biscuit.lua | 1 | 3540 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/naboo/waterfall_naboo_theed_style_1.lua | 3 | 2256 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/food/dessert_para_roll.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/space_privateer_broker_fired_worker.lua | 3 | 2256 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/container/drum/poi_prize_box_on.lua | 3 | 2248 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/wearables/ithorian/ith_pants_s12.lua | 4 | 1090 | ith_pants_s12 = {
-- Ithorian Cargo Pants
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/ithorian/ith_pants_s12.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_colo... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/particle/pt_sonic_pulse.lua | 3 | 2208 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/base/serverobjects.lua | 3 | 2096 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/faction/imperial/fbase_stormtrooper_rifleman_hard.lua | 1 | 1461 | fbase_stormtrooper_rifleman_hard = Creature:new {
objectName = "@mob/creature_names:fbase_stormtrooper_rifleman_hard",
randomNameType = NAME_STORMTROOPER,
randomNameTag = true,
socialGroup = "imperial",
faction = "imperial",
level = 76,
chanceHit = 0.76,
damageMin = 525,
damageMax = 760,
baseXp = 7600,
baseH... | agpl-3.0 |
TerraME/terrame | ide/zerobrane/terrame-examples/introduction-to-terrame/12-model-life.lua | 3 | 1374 | --[[ [previous](11-model-sir-environment.lua) | [contents](00-contents.lua) | [next](00-contents.lua) ]]
Life = Model{
dim = 50,
probability = 0.5,
finalTime = 200,
init = function(self)
self.cell = Cell{
state = Random{alive = self.probability, dead = 1 - self.probability},
... | lgpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/armor/bone_armor_boots.lua | 4 | 1117 | bone_armor_boots = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "Bone Armor Boots",
directObjectTemplate = "object/tangible/wearables/armor/bone/armor_bone_s01_boots.iff",
craftingValues = {
{"armor_rating",1,1,0},
{"energyeffectiveness",10,35,10},
{"armor_effectiveness",4,19,10},
{"armor_inte... | agpl-3.0 |
sprunk/Zero-K | gamedata/modularcomms/weapons/lightninggun_improved.lua | 1 | 1283 | local name = "commweapon_lightninggun_improved"
local weaponDef = {
name = [[Heavy Lightning Gun]],
areaOfEffect = 8,
beamTTL = 12,
craterBoost = 0,
craterMult = 0,
customParams = {
is_unit_weapon = 1,
extra_damage_mult = 3.125... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/vir_vur_hue.lua | 3 | 2160 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/furniture/furniture_table_modern.lua | 1 | 3176 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/general/cave_stalactite_tato_s03_small.lua | 3 | 2308 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
allanice001/OpenWRT-Builder | feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/xwrt/util.lua | 18 | 3762 | require("webif2.addon.string")
require("webif2.xwrt.translator")
local string = string
local io = io
local os = os
local pairs, ipairs = pairs, ipairs
local table = table
local type = type
local print = print
local tostring, tonumber = tostring, tonumber
local __TOCHECK = __TOCHECK
local __UCI_CMD = __UCI_CMD
local _... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_armor_ithorian_guardian_boots.lua | 1 | 3963 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
ahmed112a/smart | plugins/kickme.lua | 1 | 1183 | local function run(msg, matches)
if matches[1] == 'مغادره' then
local hash = 'kick:'..msg.to.id..':'..msg.from.id
redis:set(hash, "waite")
return '😐 يا حبيبي ('..msg.from.print_name..')\nاذا تريد تطلع من المجموعه\nهل تريد المغادره : نعم .ام : لا 🖖🏿🌚'
end
if msg.text then
local hash = ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/tatooine/juvenile_canyon_krayt_dragon.lua | 1 | 1216 | juvenile_canyon_krayt_dragon = Creature:new {
objectName = "@mob/creature_names:juvenile_canyon_krayt",
socialGroup = "krayt",
faction = "",
level = 122,
chanceHit = 4.0,
damageMin = 745,
damageMax = 1200,
baseXp = 11577,
baseHAM = 54000,
baseHAMmax = 64000,
armor = 2,
resists = {170,170,15,15,110,15,15,15,... | agpl-3.0 |
sprunk/Zero-K | gamedata/modularcomms/weapons/shotgun_disrupt.lua | 1 | 1445 | local name = "commweapon_shotgun_disrupt"
local weaponDef = {
name = [[Disruptor Shotgun]],
areaOfEffect = 32,
burst = 3,
burstRate = 0.033,
coreThickness = 0.5,
craterBoost = 0,
craterMult = 0,
customParams ... | gpl-2.0 |
TeamCros/Cros-Project | fceux source/output/luaScripts/m_utils.lua | 9 | 5670 | --Used for scripts written by Miau such as Gradius-BulletHell
--[[
A Compilation of general-purpose functions.
-]]
M_UTILS_VERSION = 0
--initialization
if(FCEU) then
EMU = FCEU
elseif(snes9x) then
EMU = snes9x
elseif(gens) then
EMU = gens
end
if(EMU == nil) then
error("Unsupported environment. T... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/npcConversationSelect.lua | 4 | 2156 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/wearables/ithorian/ith_necklace_s01.lua | 4 | 1300 | ith_necklace_s01 = {
-- Ithorian Plated Necklace
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/ithorian/ith_necklace_s01.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/shared_owner/index_color_1","/sha... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/caves/endor_orphaned_marauder_cave.lua | 1 | 3848 | EndorOrphanedMarauderCaveScreenPlay = ScreenPlay:new {
numberOfActs = 1,
screenplayName = "EndorOrphanedMarauderCaveScreenPlay",
lootContainers = {
733413,
733416,
733422
},
lootLevel = 26,
lootGroups = {
{
groups = {
{group = "color_crystals", chance = 160000},
{group = "junk", chance = 6... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/tasks/tatooine/rakir_banai.lua | 1 | 2392 | rakir_banai_missions =
{
{
missionType = "assassinate",
primarySpawns =
{
{ npcTemplate = "triggo_binz", npcName = "Triggo Binz" }
},
secondarySpawns = {
{ npcTemplate = "thug", npcName = "" },
{ npcTemplate = "thug", npcName = "" }
},
itemSpawns = {},
rewards =
{
{ rewardT... | agpl-3.0 |
cappiewu/luci | applications/luci-app-splash/luasrc/model/cbi/splash/splash.lua | 68 | 3008 | -- Licensed to the public under the Apache License 2.0.
require("luci.model.uci")
m = Map("luci_splash", translate("Client-Splash"), translate("Client-Splash is a hotspot authentification system for wireless mesh networks."))
s = m:section(NamedSection, "general", "core", translate("General"))
s.addremove = false
s... | apache-2.0 |
aircross/OpenWrt-Firefly-LuCI | applications/luci-asterisk/luasrc/model/cbi/asterisk-sip-connections.lua | 80 | 3921 | --[[
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 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_herald_naboo_02.lua | 3 | 2208 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/corellia_meatlump_small2.lua | 2 | 2258 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/earring/earring_s11.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/endor/serverobjects.lua | 3 | 2290 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/tatooine_npc/nitra_vendallan.lua | 3 | 2228 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/hair/sullustan/sul_hair_s05_m.lua | 3 | 2240 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
thexamx/forgottenserver | data/npc/lib/npcsystem/keywordhandler.lua | 7 | 5709 | -- Advanced NPC System by Jiddo
if not KeywordHandler then
KeywordNode = {
keywords = nil,
callback = nil,
parameters = nil,
children = nil,
parent = nil
}
-- Created a new keywordnode with the given keywords, callback function and parameters and without any childNodes.
function KeywordNode:new(keys, fu... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/mission/quest_item/booto_lubble_q1_needed.lua | 3 | 2288 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/poi/naboo_tradefederationloyalist_small1.lua | 2 | 2306 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/meager_tortur.lua | 3 | 2168 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/plumed_rasp/serverobjects.lua | 3 | 2250 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_rebel_major_zabrak_male_01.lua | 3 | 2252 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/ship/decimator_tier2.lua | 3 | 2168 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/mission/bh_pirate_leader.lua | 1 | 1546 | bh_pirate_leader = Creature:new {
objectName = "@mob/creature_names:pirate_leader",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "pirate",
faction = "pirate",
level = 17,
chanceHit = 0.320000,
damageMin = 160,
damageMax = 170,
baseXp = 1257,
baseHAM = 3500,
baseHAMmax = 4300,
armor = ... | agpl-3.0 |
sprunk/Zero-K | lups/ParticleClasses/ShieldSphere.lua | 8 | 7112 | -- $Id: ShieldSphere.lua 3171 2008-11-06 09:06:29Z det $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local ShieldSphereParticle = {}
Sh... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/medicine/crafted/medpack_enhance_health_c.lua | 1 | 3076 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SbssTeam/Quick-v2 | plugins/lock_badword.lua | 1 | 1101 | local function run(msg, matches)
if msg.to.type == 'chat' then
if is_owner(msg) then
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)] then
if data[tostring(msg.to.id)]['settings'] then
if data[tostring(msg.to.id)]['settings']['lock_badw'... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/hondo/merchants/helper_u8l7.lua | 1 | 2284 | -- Legend of Hondo Merchant System
-- By R. Bassett Jr. (Tatwi) - www.tpot.ca
-- July 2015
local ObjectManager = require("managers.object.object_manager")
U8L7SP = ScreenPlay:new {
numberOfActs = 1,
relations = {
{name="townsperson", npcStanding=-9000, priceAdjust=10}, -- Adjust price only
},
goods = {
{op... | agpl-3.0 |
oubliette32/Torrent | entities/weapons/torrent_weapon_para/shared.lua | 1 | 1041 |
if SERVER then
AddCSLuaFile("shared.lua");
else
SWEP.PrintName = "M249 - 5m";
SWEP.Author = "Oubliette";
SWEP.Slot = 3;
SWEP.SlotPos = 1;
end
SWEP.Base = "torrent_weapon_base";
SWEP.Spawnable = true;
SWEP.AdminSpawnable = true;
SWEP.ViewModelFlip = false;SWEP.ViewModel = "models/weapons/v_mach_m249para.md... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/loot/loot_schematic/basket_closed_schematic.lua | 1 | 2599 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/fishing/fish/serverobjects.lua | 3 | 2497 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
mretegan/crispy | crispy/quanty/templates/3d_Td_XPS_3s.lua | 1 | 21072 | --------------------------------------------------------------------------------
-- Quanty input file generated using Crispy. If you use this file please cite
-- the following reference: http://dx.doi.org/10.5281/zenodo.1008184.
--
-- elements: 3d
-- symmetry: Td
-- experiment: XPS
-- edge: M1 (3s)
--------------------... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/dungeon/wall_terminal_s2.lua | 3 | 2220 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_selonian_f_03.lua | 3 | 2200 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_armor_mandalorian_bicep_r.lua | 3 | 2324 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
SpaceVim/SpaceVim | bundle/plenary.nvim/lua/luassert/matchers/composite.lua | 7 | 1825 | local assert = require('luassert.assert')
local match = require ('luassert.match')
local s = require('say')
local function none(state, arguments, level)
local level = (level or 1) + 1
local argcnt = arguments.n
assert(argcnt > 0, s("assertion.internal.argtolittle", { "none", 1, tostring(argcnt) }), level)
for ... | gpl-3.0 |
sprunk/Zero-K | scripts/cloakassault.lua | 1 | 7579 | local base = piece 'base'
local chest = piece 'chest'
local aim = piece 'aim'
local flare = piece 'flare'
local hips = piece 'hips'
local lthigh = piece 'lthigh'
local rthigh = piece 'rthigh'
local lforearm = piece 'lforearm'
local rforearm = piece 'rforearm'
local rshoulder = piece 'rshoulder'
local lshoulder = piece ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/dathomir/nsister_guard_tower_style_01.lua | 3 | 2304 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
thexamx/forgottenserver | data/scripts/actions/others/red_surprise_bag.lua | 7 | 1829 | local config = {
{chanceFrom = 0, chanceTo = 4760, itemId = 6576}, -- fireworks rocket
{chanceFrom = 4761, chanceTo = 6841, itemId = 6394}, -- cream cake
{chanceFrom = 6842, chanceTo = 7975, itemId = 6574}, -- bar of chocolate
{chanceFrom = 7976, chanceTo = 9007, itemId = 6578}, -- party hat
{chanceFrom = 9008, ch... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/food/dessert_vagnerian_canape.lua | 1 | 3504 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/intangible/pet/3po_protocol_droid_crafted.lua | 3 | 2252 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
sprunk/Zero-K | LuaRules/Gadgets/unit_target_features.lua | 1 | 5495 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Target Features",
desc = "Sets units to not avoid features when targeting the ground. This allows them ... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/structure/tatooine/skeleton_krayt_arm_style_02.lua | 3 | 2300 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
djarek/forgottenserver | data/migrations/4.lua | 58 | 1155 | function onUpdateDatabase()
print("> Updating database to version 5 (black skull & guild wars)")
db.query("ALTER TABLE `players` CHANGE `redskull` `skull` TINYINT(1) NOT NULL DEFAULT '0', CHANGE `redskulltime` `skulltime` INT(11) NOT NULL DEFAULT '0'")
db.query("CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` int(11)... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/caves/talus_giant_decay_mite_cave.lua | 2 | 6905 | TalusGiantDecayMiteCaveScreenPlay = ScreenPlay:new {
numberOfActs = 1,
screenplayName = "TalusGiantDecayMiteCaveScreenPlay",
lootContainers = {
5625575,
5625569,
5625579,
5625591,
5995655,
5995666,
5995665,
5995664
},
lootLevel = 25,
lootGroups = {
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/base/poi_all_lair_wooden_evil_fire_small.lua | 1 | 2347 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_spice_collective_eliteguard_zabrak_female_01.lua | 3 | 2324 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/wearables/ithorian/ith_belt_s15.lua | 3 | 2454 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/quest/tatooine/gramm_businessman.lua | 1 | 2644 | gramm_businessman = Creature:new {
objectName = "",
socialGroup = "townsperson",
faction = "townsperson",
level = 4,
chanceHit = 0.24,
damageMin = 40,
damageMax = 45,
baseXp = 62,
baseHAM = 113,
baseHAMmax = 138,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
meatType = "",
meatAmount = 0,
hideType = "",
h... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/building/player/city/hospital_naboo.lua | 1 | 4207 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/commands/melee2hHit2.lua | 1 | 2429 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/lok/blood_razor_scout.lua | 1 | 1699 | blood_razor_scout = Creature:new {
objectName = "@mob/creature_names:blood_razor_scout",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "bloodrazor",
faction = "bloodrazor",
level = 32,
chanceHit = 0.39,
damageMin = 310,
damageMax = 330,
baseXp = 3279,
baseHAM = 8400,
baseHAMmax = 10200,... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/armor/padded_armor_chest_plate.lua | 4 | 1769 | padded_armor_chest_plate = {
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "a Padded Armor Chest Plate",
directObjectTemplate = "object/tangible/wearables/armor/padded/armor_padded_s01_chest_plate.iff",
craftingValues = {
{"armor_rating",1,1,0},
{"blasteffectiveness",10,45,10},
{"armor_effectivenes... | agpl-3.0 |
motoschifo/mame | 3rdparty/genie/tests/actions/vstudio/vc2010/test_project_refs.lua | 54 | 1798 | --
-- tests/actions/vstudio/vc2010/test_project_refs.lua
-- Validate project references in Visual Studio 2010 C/C++ projects.
-- Copyright (c) 2011-2012 Jason Perkins and the Premake project
--
T.vstudio_vs2010_project_refs = { }
local suite = T.vstudio_vs2010_project_refs
local vc2010 = premake.vstudio.vc2010
--... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/static/creature/naboo_fambaa.lua | 3 | 2200 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
mehdimax/mega | plugins/filter.lua | 12 | 2478 | local function addword(msg, name)
local hash = 'chat:'..msg.to.id..':badword'
redis:hset(hash, name, 'newword')
return "کلمه جدید به فیلتر کلمات اضافه شد\n>"..name
end
local function get_variables_hash(msg)
return 'chat:'..msg.to.id..':badword'
end
local function list_variablesbad(msg)
local hash... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/loot/items/wearables/ithorian/ith_pants_s01.lua | 4 | 1276 | ith_pants_s01 = {
-- Ithorian Striped Pants
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/ithorian/ith_pants_s01.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_co... | agpl-3.0 |
shvaibhav/CNNDeepLearningHindiText | train/test.lua | 1 | 2940 | --[[ Tester for Crepe
By Xiang Zhang @ New York University
--]]
require("sys")
local Test = torch.class("Test")
-- Initialization of the testing script
-- data: Testing dataset
-- model: Testing model
-- loss: Loss used for testing
-- config: (optional) the configuration table
-- .confusion: (optional) whether to... | bsd-3-clause |
sprunk/Zero-K | effects/gundam_shotgunimpact.lua | 26 | 1772 | -- shotgunimpact
return {
["shotgunimpact"] = {
dirt01 = {
class = [[dirt]],
count = 3,
ground = true,
properties = {
alphafalloff = 2,
alwaysvisible = true,
color = [[0.2, 0.1, 0.05]],
pos ... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.