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 |
|---|---|---|---|---|---|
djarek/forgottenserver | data/actions/scripts/other/constructionkits.lua | 23 | 1464 | local constructionKits = {
[3901] = 1666, [3902] = 1670, [3903] = 1652, [3904] = 1674, [3905] = 1658,
[3906] = 3813, [3907] = 3817, [3908] = 1619, [3909] = 12799, [3910] = 2105,
[3911] = 1614, [3912] = 3806, [3913] = 3807, [3914] = 3809, [3915] = 1716,
[3916] = 1724, [3917] = 1732, [3918] = 1775, [3919] = 1774, [39... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/components/shield_generator/shd_mission_reward_imperial_rendili_dual_projector.lua | 3 | 2456 | --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/base/poi_all_lair_nest_small_fog_red.lua | 1 | 2331 | --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_imperial_medic3_human_male_01.lua | 3 | 2264 | --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/space/story_loot/loot_tatooine_blacksun.lua | 3 | 2280 | --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/flewt/serverobjects.lua | 3 | 2215 | --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 |
mortezamosavy999/nn | plugins/Off-on.lua | 2 | 1642 | -- Checks if bot was disabled on specific chat
local function is_channel_disabled( receiver )
if not _config.disabled_channels then
return false
end
if _config.disabled_channels[receiver] == nil then
return false
end
return _config.disabled_channels[receiver]
end
local function enable_channel(receiver)
if... | gpl-2.0 |
leafvmaple/LM | LM_Tip/src/LM_TipPanel.lua | 1 | 2448 | --------------------------------------------------------
-- This file is part of the JX3 LM Plugin.
-- @link : https://leafvmaple.com/
-- @desc :
-- @author : Áã¶È·ãÓ°
-- @modifier : Emile Zhai (root@derzh.com)
-- @copyright: Copyright (c) 2016 Leafvmaple Kingsoft Co., Ltd.
-----------------------------------... | bsd-3-clause |
ouyangruoxue/pokerServer | server/lua/netease/msg/fileUpload.lua | 1 | 1392 | --[[
-- 作者:左笑林
-- 日期:2017-03-31
-- 文件名:fileUpload.lua
-- 功能:文件上传(multipart方式)
-- 版权说明:南京正溯网络科技有限公司.版权所有©copy right.
-- 文件上传,最大15M。
--]]
-- 参数说明
-- 参数 类型 必须 说明
-- content Multipart 是 最大15M的字符流
-- type String 否 上传文件类型
local cjson = require "cjson"
local reqArgs = require "common.request_args"
local http =... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_commoner_naboo_twilek_male_02.lua | 3 | 2264 | --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/human/hair_human_female_s14.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/tangible/ship/crafted/droid_interface/ddi_mk1.lua | 2 | 3117 | --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/transport/transport.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/tangible/component/food/container_large_glass.lua | 3 | 2649 | --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/twilek/base/hair_twilek_base.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/ship/components/weapon_capacitor/cap_sorosuub_dynamo_mk3.lua | 3 | 2348 | --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/awards.lua | 2 | 22668 | function gadget:GetInfo()
return {
name = "Awards",
desc = "v1.002 Awards players at end of battle with shiny trophies.",
author = "CarRepairer",
date = "2008-10-15", --2013-09-05
license = "GNU GPL, v2 or later",
layer = 1000000, -- Must be after all other build steps and before unit_spawner.l... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/corellia/corsec_trooper.lua | 1 | 1315 | corsec_trooper = Creature:new {
objectName = "@mob/creature_names:corsec_trooper",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "corsec",
faction = "corsec",
level = 14,
chanceHit = 0.3,
damageMin = 150,
damageMax = 160,
baseXp = 714,
baseHAM = 2000,
baseHAMmax = 2400,
armor = 0,
res... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/corellia/flail_executioner.lua | 1 | 1804 | flail_executioner = Creature:new {
objectName = "@mob/creature_names:flail_executioner",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "flail",
faction = "flail",
level = 25,
chanceHit = 0.36,
damageMin = 280,
damageMax = 290,
baseXp = 2637,
baseHAM = 5900,
baseHAMmax = 7200,
armor = 0... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/base/poi_all_lair_dead_log_small_evil_fire_green.lua | 1 | 2379 | --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 |
cappiewu/luci | modules/luci-base/luasrc/http/protocol/conditionals.lua | 68 | 3024 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
-- This class provides basic ETag handling and implements most of the
-- conditional HTTP/1.1 headers specified in RFC2616 Sct. 14.24 - 14.28 .
module("luci.http.protocol.conditionals", packag... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/base/base_dna_sample.lua | 3 | 2244 | --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/commands/throwTrap.lua | 4 | 2120 | --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/object/tangible/lair/npc/lair_npc_general.lua | 1 | 2267 | --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 |
llnoverll/NOVER | plugins/tagall.lua | 5 | 1407 |
local function tagall(cb_extra, success, result)
local receiver = cb_extra.receiver
local text = ''
local msgss = 0
for k,v in pairs(result.members) do
if v.username then
msgss = msgss + 1
text = text..msgss.."- @"..v.username.."\n"
end
end
text = text.."\n"..cb_extra.ms... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/skeleton/elephant.lua | 3 | 2184 | --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 |
cappiewu/luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua | 68 | 7107 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ip = require "luci.ip"
local fs = require "nixio.fs"
if arg[1] then
mp = Map("olsrd6", translate("OLSR - Plugins"))
p = mp:section(TypedSection, "Loa... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/ship/ykl37r_tier4.lua | 3 | 2156 | --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_capacitor/cap_corellian_cruiser_grade_cap2.lua | 3 | 2384 | --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/factory/factory_crate_weapon.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 |
masoudre11/cafebot | plugins/twitter.lua | 632 | 2555 | local OAuth = require "OAuth"
-- EDIT data/twitter.lua with the API keys
local twitter_config = load_from_file('data/twitter.lua', {
-- DON'T EDIT HERE.
consumer_key = "", consumer_secret = "",
access_token = "", access_token_secret = ""
})
local client = OAuth.new(twitter_config.consumer_key, twitter_c... | gpl-2.0 |
SbssTeam/Quick-v2 | plugins/twitter.lua | 632 | 2555 | local OAuth = require "OAuth"
-- EDIT data/twitter.lua with the API keys
local twitter_config = load_from_file('data/twitter.lua', {
-- DON'T EDIT HERE.
consumer_key = "", consumer_secret = "",
access_token = "", access_token_secret = ""
})
local client = OAuth.new(twitter_config.consumer_key, twitter_c... | gpl-2.0 |
djarek/forgottenserver | data/talkactions/scripts/remove_tutor.lua | 2 | 1026 | function onSay(player, words, param)
if player:getAccountType() <= ACCOUNT_TYPE_TUTOR then
return true
end
local resultId = db.storeQuery("SELECT `name`, `account_id`, (SELECT `type` FROM `accounts` WHERE `accounts`.`id` = `account_id`) AS `account_type` FROM `players` WHERE `name` = " .. db.escapeString(param))
... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/mobile/dungeon/warren/warren_irradiated_worker.lua | 1 | 1198 | warren_irradiated_worker = Creature:new {
objectName = "@mob/creature_names:warren_irradiated_worker",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "warren_imperial_worker",
faction = "",
level = 13,
chanceHit = 0.3,
damageMin = 140,
damageMax = 150,
baseXp = 514,
baseHAM = 1500,
baseH... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/creature/base/base_creature.lua | 3 | 2380 | --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_ith_shirt_casual_09.lua | 1 | 3371 | --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/item/wp_mle_lance_lightsaber_s01.lua | 3 | 2244 | --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_tieykna_mercenary_human_male_03.lua | 3 | 2272 | --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/cgi.lua | 18 | 1815 | require("lua-xwrt.addon.string")
local string = string
local io = io
local ipairs = ipairs
local print = print
local arg = arg
module("lua-xwrt.xwrt.cgi")
local function get_env()
local t = {}
local myenv = io.popen("env")
for line in myenv:lines() do
_, _, key, value = string.find(line, "([A-Z_0-9a-z]+)[%=]+(.*... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/chassis/blacksun_medium_s01_deed.lua | 3 | 2488 | --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/event_perk/imperial_3x10_honorguard.lua | 1 | 4691 | --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 |
antogerva/PcsxrrWorkflow | lib/lua_test/socket/smtp.lua | 142 | 7961 | -----------------------------------------------------------------------------
-- SMTP client support for the Lua language.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: smtp.lua,v 1.46 2007/03/12 04:08:40 diego Exp $
-----------------------------------------------------------------------------
---------... | mit |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/zucca_boar/objects.lua | 3 | 9462 | --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 |
bittner/geany | data/filetypes.lua | 1 | 3767 | # For complete documentation of this file, please see Geany's main documentation
[styling]
# Edit these in the colorscheme .conf file instead
default=default
comment=comment
commentline=comment_line
commentdoc=comment_line_doc
number=number_1
word=keyword_1
string=string_1
character=character
literalstring=string_2
pre... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/deed/faction_perk/turret/tower_sm_deed.lua | 3 | 2472 | --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/installation/battlefield/destructible/antenna_tatt_style_1.lua | 3 | 2320 | --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/component/weapon/blaster_barrel_wp_muzzle_m_s05_lg.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/ship/components/droid_interface/ddi_rss_imperial_1.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 |
sousoux/luvit | tests/test-dgram.lua | 3 | 1320 | --[[
Copyright 2012 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agr... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/weapon/missile/base_countermeasure.lua | 3 | 2312 | --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 |
aircross/OpenWrt-Firefly-LuCI | protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua | 58 | 4064 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Jo-Philipp Wich <xm@subsignal.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
]]--
local ma... | apache-2.0 |
ld-test/kong | kong/plugins/response-ratelimiting/access.lua | 2 | 1729 | local timestamp = require "kong.tools.timestamp"
local responses = require "kong.tools.responses"
local utils = require "kong.tools.utils"
local _M = {}
local function get_identifier()
local identifier
-- Consumer is identified by ip address or authenticated_credential id
if ngx.ctx.authenticated_credential th... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/component/droid/droid_brain_advanced.lua | 3 | 2789 | --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/fbase_rebel_first_lieutenant_hard.lua | 1 | 1843 | fbase_rebel_first_lieutenant_hard = Creature:new {
objectName = "@mob/creature_names:fbase_rebel_first_lieutenant_hard",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "rebel",
faction = "rebel",
level = 60,
chanceHit = 0.6,
damageMin = 445,
damageMax = 600,
baseXp = 6000,
baseHAM = 11500... | agpl-3.0 |
cappiewu/luci | applications/luci-app-statistics/luasrc/statistics/datatree.lua | 58 | 4177 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.datatree", package.seeall)
local util = require("luci.util")
local sys = require("luci.sys")
local fs = require("nixio.fs")
local uci = require("luci.model.uci").c... | apache-2.0 |
amirik22/tgcli | plugins/trivia.lua | 647 | 6784 | do
-- Trivia plugin developed by Guy Spronck
-- Returns the chat hash for storing information
local function get_hash(msg)
local hash = nil
if msg.to.type == 'chat' then
hash = 'chat:'..msg.to.id..':trivia'
end
if msg.to.type == 'user' then
hash = 'user:'..msg.from.id..':trivia'
end
return hash
en... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_pants_field_29.lua | 1 | 3536 | --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_pants_field_21.lua | 1 | 3539 | --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_mercenary_messanger_hum_f.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/ai/actions/gettarget.lua | 1 | 7075 | require("ai.actions.gettargetbase")
function GetTargetCreaturePet:doAction(pAgent)
if (pAgent ~= nil) then
--print("1")
local agent = AiAgent(pAgent)
local command = agent:getLastCommand()
if (command ~= PET_ATTACK and command ~= PET_GUARD and command ~= PET_SPECIAL_ATTACK1 and command ~= PET_SPECIAL_ATTAC... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/ship/crafted/weapon/min_damage_intensifier_mk4.lua | 3 | 2777 | --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_liberation_patriot_rodian_female_01.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/draft_schematic/droid/droid_wound_repair_kit_c.lua | 1 | 3584 | --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/space/weapon/wpn_medium_blaster.lua | 1 | 3467 | --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/tatooine/cloning_facility_tatooine_small.lua | 2 | 3325 | --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 |
beauli/kong | spec/03-plugins/16-ssl/fixtures.lua | 29 | 1779 | return {
cert = [[-----BEGIN CERTIFICATE-----
MIICSTCCAbICCQDZ7lxm1iUKmDANBgkqhkiG9w0BAQsFADBpMQswCQYDVQQGEwJV
UzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzEN
MAsGA1UECgwES29uZzELMAkGA1UECwwCSVQxETAPBgNVBAMMCHNzbDEuY29tMB4X
DTE1MDUxOTAwNTAzNloXDTE1MDYxODAwNTAzNlowaTELMAkGA1UEBhMCVVMxEzAR
BgNVBAgMCkNh... | apache-2.0 |
sprunk/Zero-K | units/chicken_pigeon.lua | 1 | 4323 | unitDef = {
unitname = [[chicken_pigeon]],
name = [[Pigeon]],
description = [[Flying Spore Scout]],
activateWhenBuilt = true,
acceleration = 0.8,
brakeRate = 0.32,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
buil... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/screenplays/themepark/imperial/themeParkImperial.lua | 1 | 19218 | THEME_PARK_IMPERIAL_BADGE = 106
kaja_orzee_missions =
{
{
missionType = "escort",
primarySpawns =
{
{ npcTemplate = "theme_park_imperial_escort_moff", npcName = "an Imperial Moff" }
},
secondarySpawns =
{
},
itemSpawns = {},
rewards =
{
{ rewardType = "credits", amount = 75 }... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/weapon/melee/sword/crafted_saber/sword_lightsaber_one_handed_gen1.lua | 1 | 6240 | --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/pugoriss_hue.lua | 3 | 2196 | --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/endor/vicious_donkuwah_battlelord.lua | 1 | 1139 | vicious_donkuwah_battlelord = Creature:new {
objectName = "@mob/creature_names:vicious_donkuwah_battlelord",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "donkuwah_tribe",
faction = "donkuwah_tribe",
level = 51,
chanceHit = 0.51,
damageMin = 425,
damageMax = 560,
baseXp = 5007,
baseHAM ... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/lair/base/cave_small_dark.lua | 1 | 2267 | --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/furniture/all/frn_all_table_s02.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/mobile/gungan_male.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/tangible/deed/pet_deed/dewback_deed.lua | 2 | 2741 | --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/lair/npc_theater/global_imperial_large_base_imperial_large_theater.lua | 1 | 1077 | global_imperial_large_base_imperial_large_theater = Lair:new {
mobiles = {
{"imperial_colonel",1},
{"imperial_major",1},
{"imperial_second_lieutenant",2},
},
spawnLimit = 15,
buildingsVeryEasy = {"object/building/poi/lok_imperial_large2.iff","object/building/poi/anywhere_imperial_base_large_1.iff"},
building... | agpl-3.0 |
ld-test/kong | kong/tools/utils.lua | 4 | 3686 | ---
-- Module containing some general utility functions
local uuid = require "uuid"
-- This is important to seed the UUID generator
uuid.seed()
local _M = {}
--- Generates a random unique string
-- @return string The random string (a uuid without hyphens)
function _M.random_string()
return uuid():gsub("-", "")
e... | apache-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/mobile/dressed_herald_lok_02.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/tangible/ship/crafted/shields/base_shields.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 |
greeshmab/vlc | share/lua/meta/art/03_lastfm.lua | 71 | 1912 | --[[
Gets an artwork from last.fm
$Id$
Copyright © 2010 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 of the License, or
(at your option) any later versio... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/SharedMissionDataObjectTemplate.lua | 3 | 2140 | --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 versi... | agpl-3.0 |
sprunk/Zero-K | LuaRules/Gadgets/unit_attributes_generic.lua | 2 | 14710 |
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Attributes Generic",
desc = "Handles UnitRule... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/tangible/food/fruit_melon.lua | 3 | 2188 | --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_medic1_bothan_male_01.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/mobile/tatooine/settler.lua | 1 | 1186 | settler = Creature:new {
objectName = "@mob/creature_names:settler",
randomNameType = NAME_GENERIC,
randomNameTag = true,
socialGroup = "thug",
faction = "thug",
level = 6,
chanceHit = 0.250000,
damageMin = 50,
damageMax = 55,
baseXp = 113,
baseHAM = 180,
baseHAMmax = 220,
armor = 0,
resists = {0,0,0,0,0,... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/droid/navicomputer_5.lua | 1 | 3291 | --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/huurton.lua | 3 | 2144 | --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_kobola_assassin_zabrak_female_01.lua | 3 | 2276 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | agpl-3.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/clothing/clothing_jewelry_necklace_05.lua | 1 | 3355 | --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/hutt_medium_s02_tier5.lua | 3 | 2192 | --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 | lups/ParticleClasses/ShieldSphereColor.lua | 8 | 5968 | -- $Id: ShieldSphereColor.lua 3171 2008-11-06 09:06:29Z det $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local ShieldSphereColorPartic... | gpl-2.0 |
LuaDist2/lua-cbor | cbor.bignum.lua | 1 | 1148 | -- Bignum support using luaossl
local cbor = require "cbor";
local bignum = require "openssl.bignum";
local big_zero = bignum.new(0);
local big_negatives_one = bignum.new(-1);
local function bignum_to_cbor(n)
local tag = 2;
if n < big_zero then
tag = 3;
n = big_negatives_one - n;
end
local as_binary = n:tobin... | mit |
sprunk/Zero-K | lups/ParticleClasses/OverdriveParticles.lua | 8 | 11147 | -- $Id: OverdriveParticles.lua 3345 2008-12-02 00:03:50Z jk $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local OverdriveParticles = {}... | gpl-2.0 |
Tatwi/legend-of-hondo | MMOCoreORB/bin/scripts/object/draft_schematic/furniture/furniture_lamp_free_s04_on.lua | 1 | 3339 | --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/ewok_female_01.lua | 3 | 2172 | --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/data_item/droid_command.lua | 3 | 2224 | --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/loot/loot_schematic/stove_schematic.lua | 1 | 2554 | --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_tatooine_jabba_henchman.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 |
mretegan/crispy | crispy/quanty/templates/3d_C3v_RIXS_1s2p.lua | 1 | 26282 | --------------------------------------------------------------------------------
-- 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: C3v
-- experiment: RIXS
-- edge: K-L2,3 (1s2p)
------------... | mit |
sprunk/Zero-K | LuaRules/Configs/StartBoxes/Ternion.lua | 8 | 3382 | return {
[0] = {
boxes = {
{
{1160.1470947266, 1332.4475097656},
{1080.9378662109, 782.46862792969},
{1254.1547851563, 762.81616210938},
{1433.8986816406, 802.04943847656},
{1545.7746582031, 895.00073242188},
{1614.8273925781, 1006.1153564453},
{1649.9974365234, 1134.2902832031},
{... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.