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 |
|---|---|---|---|---|---|
ferriswheel/mongrel2 | examples/bbs/engine.lua | 96 | 1958 | local print = print
local pcall = pcall
local coroutine = coroutine
local ui = require 'ui'
local db = require 'db'
module 'engine'
local STATE = {}
function run(conn, engine)
while true do
-- Get a message from the Mongrel2 server
local good, request = pcall(conn.recv_json, conn)
if goo... | bsd-3-clause |
kidaa/Awakening-Core3 | bin/scripts/mobile/faction/imperial/coa3_information_imperial.lua | 1 | 1179 | coa3_information_imperial = Creature:new {
objectName = "@mob/creature_names:coa3_information_imperial",
socialGroup = "imperial",
pvpFaction = "imperial",
faction = "imperial",
level = 25,
chanceHit = 0.36,
damageMin = 240,
damageMax = 250,
baseXp = 2443,
baseHAM = 7200,
baseHAMmax = 8800,
armor = 0,
resi... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/weapon/ranged/pistol/pistol_dl44.lua | 2 | 6187 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/camp/camp_chair_s1.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... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/East_Ronfaure_[S]/npcs/qm4.lua | 2 | 1163 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: qm4 "???"
-- Involved in Quests: Steamed Rams
-- !pos 541.425 -49.83 178.563
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/furniture/imperial/serverobjects.lua | 3 | 2952 | --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... | lgpl-3.0 |
houqp/koreader | frontend/ui/data/keyboardlayouts/fr_keyboard.lua | 1 | 1759 | -- Start with the english keyboard layout
local fr_keyboard = dofile("frontend/ui/data/keyboardlayouts/en_keyboard.lua")
-- Swap the four AZWQ keys (only in the lowercase and
-- uppercase letters layouts) to change it from QWERTY to AZERTY
local keys = fr_keyboard.keys
keys[1][1][1], keys[2][1][1] = keys[2][1][1], key... | agpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/poi/dathomir_freedprisonerscamp_medium2.lua | 1 | 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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/droid/droid_vitapack_c.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/dungeon/death_watch_bunker/fuel_dispersion_unit.lua | 3 | 2332 | --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... | lgpl-3.0 |
birkett/cuberite | Server/Plugins/APIDump/Classes/WebAdmin.lua | 28 | 2144 | return
{
cWebAdmin =
{
Desc = "",
Functions =
{
GetHTMLEscapedString = { Params = "string", Return = "string", Notes = "(STATIC) Gets the HTML-escaped representation of a requested string. This is useful for user input and game data that is not guaranteed to be escaped already." },
},
}, -- cWebAdmin
... | apache-2.0 |
devlopers1/th3-stun | plugins/delete.lua | 2 | 1635 | --[[
โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ โโ โโ โโ
โโ โโ Team name : ( โกth3_stunโก )โโ โโ
โโ โโ โโ โโ
โโ โโ File name : ( #deletemsg ) โโ โโ
โโ โโ โโ โโ
โโ โโ Guenat team: ( @DEV_the_stun ) โโ โโ... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/weapon_capacitor/cap_moncal_heavy.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/base/poi_all_lair_leaf_large_evil_fire_red.lua | 2 | 2364 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/item/item_container_armor.lua | 3 | 2216 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_corsec_captain_human_male_01.lua | 3 | 2260 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/dress/dress_s32.lua | 3 | 4087 | --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... | lgpl-3.0 |
NezzKryptic/Wire | lua/wire/zvm/zvm_core.lua | 9 | 19962 | --------------------------------------------------------------------------------
-- Zyelios VM (Zyelios CPU/GPU virtual machine)
--
-- Virtual machine implementation core
--------------------------------------------------------------------------------
ZVM = {}
if not SERVER and not CLIENT then
ZVM.MicrocodeDebug = tr... | apache-2.0 |
eraffxi/darkstar | scripts/zones/Xarcabard/npcs/qm3.lua | 2 | 1147 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm3 (???)
-- Involved in Quests: Atop the Highest Mountains (for Boreal Coeurl)
-- !pos 580 -9 290 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/X... | gpl-3.0 |
zj831007/some-mmorpg | 3rd/lua-cjson/tests/test.lua | 32 | 17977 | #!/usr/bin/env lua
-- Lua CJSON tests
--
-- Mark Pulford <mark@kyne.com.au>
--
-- Note: The output of this script is easier to read with "less -S"
local json = require "cjson"
local json_safe = require "cjson.safe"
local util = require "cjson.util"
local function gen_raw_octets()
local chars = {}
for i = 0, ... | mit |
dlannan/funLuaJit | byt3d/framework/byt3dTexture.lua | 1 | 16765 | ------------------------------------------------------------------------------------------------------------
--/*
-- * Created by David Lannan
-- * User: David Lannan
-- * Date: 5/31/2012
-- * Time: 9:57 PM
-- *
-- */
------------------------------------------------------------------------------------------------------... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/droid/droid_probot.lua | 2 | 4090 | --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... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/mobskills/pit_ambush.lua | 7 | 1186 | ---------------------------------------------
-- Pit Ambush
--
-- Description: Only used by black antlions when they emerge to attack a player overhead.
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
eraffxi/darkstar | scripts/globals/mobskills/feather_maelstrom.lua | 2 | 1025 | ---------------------------------------------
-- Feather Maelstrom
-- Sends a storm of feathers to a single target.
-- Additional effect: Bio & Amnesia
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-------... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/weapon/melee/sword/base/sword_base.lua | 1 | 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... | lgpl-3.0 |
fhaoquan/skynet | service/cslave.lua | 50 | 6448 | local skynet = require "skynet"
local socket = require "socket"
require "skynet.manager" -- import skynet.launch, ...
local table = table
local slaves = {}
local connect_queue = {}
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_service
local monitor = {}
local monitor_master_set = {}
local ... | mit |
kidaa/Awakening-Core3 | bin/scripts/object/building/player/city/garden_dathomir_lrg_01.lua | 3 | 2802 | --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... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/weaponskills/quietus.lua | 26 | 1684 | -----------------------------------
-- Quietus
-- Scythe weapon skill
-- Skill Level: N/A
-- Delivers a triple damage attack that ignores target's defense. Amount ignored varies with TP. Redemption: Aftermath.
-- Available only when equipped with Redemption (85)/(90)/(95)/(99) or Penitence +1/+2/+3/Umiliati.
-- Aligned... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/loot/items/wearables/necklace/necklace_s12.lua | 4 | 1087 | necklace_s12 = {
-- Elegant Gemstone Necklace
minimumLevel = 0,
maximumLevel = -1,
customObjectName = "",
directObjectTemplate = "object/tangible/wearables/necklace/necklace_s12.iff",
craftingValues = {},
skillMods = {},
customizationStringNames = {"/private/index_color_1","/private/index_c... | lgpl-3.0 |
meshr-net/meshr_tomato-RT-N | usr/lib/lua/luci/ip.lua | 2 | 18194 | --[[
LuCI ip calculation libarary
(c) 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
(c) 2008 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.a... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ui/ui_planet_corellia.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... | lgpl-3.0 |
widelands/widelands | data/txts/README.lua | 1 | 2707 | include "txts/help/common_helptexts.lua"
push_textdomain("texts")
local r = {
rt(fs_color(
p_font("align=center", "size=38 face=Widelands/Widelands.ttf color=2F9131", img("images/logos/wl-ico-32.png") .. "Widelands") ..
p_font("align=center", "size=14 italic=1 color=D1D1D1", _("an open source strategy ... | gpl-2.0 |
isdom/kong | spec/plugins/ip-restriction/access_spec.lua | 1 | 3404 | local spec_helper = require "spec.spec_helpers"
local http_client = require "kong.tools.http_client"
local cjson = require "cjson"
local STUB_GET_URL = spec_helper.STUB_GET_URL
describe("IP Restriction", function()
setup(function()
spec_helper.prepare_db()
spec_helper.insert_fixtures {
api = {
... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/lok/nym_pirate_weak.lua | 1 | 1377 | nym_pirate_weak = Creature:new {
objectName = "@mob/creature_names:nym_pirate_weak",
socialGroup = "nym",
pvpFaction = "nym",
faction = "nym",
level = 26,
chanceHit = 0.36,
damageMin = 250,
damageMax = 260,
baseXp = 2730,
baseHAM = 7700,
baseHAMmax = 9400,
armor = 0,
resists = {25,10,25,25,25,-1,-1,-1,-1},... | lgpl-3.0 |
tectronics/saitohud | src/SaitoHUD/lua/saitohud/friends.lua | 3 | 3550 | -- SaitoHUD
-- Copyright (c) 2009-2010 sk89q <http://www.sk89q.com>
-- Copyright (c) 2010 BoJaN
--
-- 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
... | gpl-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/naboo/nboo_imprv_pillar_wall_ornate_small_s01.lua | 3 | 2336 | --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... | lgpl-3.0 |
isdom/kong | kong/plugins/response-transformer/header_filter.lua | 18 | 1441 | local utils = require "kong.tools.utils"
local stringy = require "stringy"
local _M = {}
local APPLICATION_JSON = "application/json"
local CONTENT_TYPE = "content-type"
local CONTENT_LENGTH = "content-length"
local function get_content_type()
local header_value = ngx.header[CONTENT_TYPE]
if header_value then
... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/building/military/outpost_starport.lua | 2 | 2818 | --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... | lgpl-3.0 |
Fighter19/cuberite | Server/Plugins/APIDump/Classes/BlockEntities.lua | 8 | 18966 | return
{
cBlockEntity =
{
Desc = [[
Block entities are simply blocks in the world that have persistent data, such as the text for a sign
or contents of a chest. All block entities are also saved in the chunk data of the chunk they reside in.
The cBlockEntity class acts as a common ancestor for all the indi... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/guild_deed/generic_guild_deed.lua | 3 | 2828 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/general/streetlamp_small_blue_style_02_on.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/belt/belt_s05_quest.lua | 3 | 5006 | --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... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/ability.lua | 2 | 19025 | -----------------------------------
--
-- ABILITIES
--
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/msg");
dsp = dsp or {};
dsp.jobAbility =
{
MIGHTY_STRIKES = 0,
HUNDRED_FISTS = 1,
BENEDICTION = 2,
MANAFONT = 3,
CHAINSPE... | gpl-3.0 |
ds84182/daeOS | module/service.lua | 1 | 3543 | --service module: run things in daemons on startup--
local service = {}
--read /svc/autostart.conf--
local filesystem = require "filesystem"
local ipc = require "ipc"
local suc, autostart = pcall(function()
return assert(load(filesystem.read("/svc/autostart.conf")))()
end)
local services = {}
local returnIPC = ipc... | mit |
NezzKryptic/Wire | lua/entities/gmod_wire_egp/lib/egplib/umsgsystem.lua | 18 | 1133 | --------------------------------------------------------
-- Custom umsg System
--------------------------------------------------------
local EGP = EGP
local CurSender
local LastErrorTime = 0
--[[ Transmit Sizes:
Angle = 12
Bool = 1
Char = 1
Entity = 2
Float = 4
Long = 4
Short = 2
String = string length
Vecto... | apache-2.0 |
YUPlayGodDev/platform_external_skia | tools/lua/skia.lua | 207 | 1863 | -- Experimental helpers for skia --
function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
Sk = {}
function Sk.isFinite(x)
return x * 0 == 0
end
----------------... | bsd-3-clause |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_lergo_brazee.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/lok/serverobjects.lua | 3 | 2176 | --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... | lgpl-3.0 |
Akuukis/RobotColorWars-Minecraft | lib/thread.lua | 1 | 19804 | -- Credits to RoCoWa @ github.com/Akuukis/RobotColorWars
local thread = {}
-- Sanitization happens here
function thread.spawn(fn, ...)
local err
if type(fn) == "function" then
fn = fn
elseif type(fn) == "string" then
fn, err = load(fn)
if not fn then return false, err end
elseif false then -- TOD... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/component/clothing_fiberplast_panel.lua | 2 | 3213 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/dantooine/dantari_raider.lua | 1 | 1200 | dantari_raider = Creature:new {
objectName = "@mob/creature_names:dantari_raider",
socialGroup = "dantari_raiders",
pvpFaction = "dantari_raiders",
faction = "dantari_raiders",
level = 25,
chanceHit = 0.36,
damageMin = 240,
damageMax = 250,
baseXp = 2637,
baseHAM = 7200,
baseHAMmax = 8800,
armor = 0,
resis... | lgpl-3.0 |
NezzKryptic/Wire | lua/wire/client/wiremenus.lua | 18 | 1365 | local Categories = {
"Favourites",
"Chips, Gates",
"Visuals",
"Detection",
"Input, Output",
"Vehicle Control",
"Physics",
"Other",
"Memory",
"Advanced",
"Tools",
"Options",
}
hook.Add( "AddToolMenuCategories", "WireCategories", function()
for i=1,#Categories do
local Category = Categories[i]
spawnmenu... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/object/weapon/melee/2h_sword/crafted_saber/sword_lightsaber_two_handed_s2_gen2.lua | 1 | 6210 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/weapon/ranged/rifle/rifle_bowcaster.lua | 2 | 5329 | --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... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/spells/bluemagic/cimicine_discharge.lua | 2 | 1499 | -----------------------------------------
-- Spell: Cimicine Discharge
-- Reduces the attack speed of enemies within range
-- Spell cost: 32 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+1, AGI+2
-- Level: 78
-- Casting Time: 3 seconds
-- Recast Time: 20 seconds
--... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/collectible/collectible_parts/gong_skin_back.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/bageraset_hue.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/clothing_shirt_casual_34.lua | 2 | 3233 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/chemistry/medpack_disease_area_health_a.lua | 2 | 3748 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/robe/robe_jedi_dark_s03.lua | 1 | 3589 | --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... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j4.lua | 2 | 1134 | -----------------------------------
-- 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 |
mramir8274/x.ybot | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
hadishadow/--_--BBQ | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
mahdibagheri/smteem | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
imitah/lionbotsor | plugins/info.lua | 1 | 8310 | --Begin info.lua
local Solid = 79391132
local function setrank(msg, user_id, value,chat_id)
local hash = nil
hash = 'rank:'..msg.to.id..':variables'
if hash then
redis:hset(hash, user_id, value)
return tdcli.sendMessage(chat_id, '', 0, '_set_ *Rank* _for_ *[ '..user_id..' ]* _To :_ *'..value..'*', 0, "m... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Donmo-Boronmo_WW.lua | 2 | 2964 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Donmo-Boronmo, W.W.
-- Type: Outpost Conquest Guards
-- !pos -294.470 15.806 420.117 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
eraffxi/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Wyatt.lua | 2 | 1612 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Wyatt
-- @zone 80
-- !pos 124 0 84
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("s... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/static/structure/naboo/enclosed_walkway_s02.lua | 3 | 2260 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/item/quest/hero_of_tatooine/serverobjects.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_tatooine_mos_eisley_police_officer.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/rodian_female.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... | lgpl-3.0 |
Richard857/BadRotations | Rotations/_NonClass/PokeRotation/PokeSwapper.lua | 6 | 4577 | function PokeSwapper()
--[[ Swap Config ]]
if not swapperLoaded then
swapperLoaded = true;
-- Disable all filters in Pet Journal --
if IsSwapping == nil then IsSwapping = GetTime() end
function SuperPetSwapper()
... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/loot_schematic/tatooine_tapestry_schematic.lua | 2 | 2627 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/components/engine/engine_kuat_a9x.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_herald_tatooine_01.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... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/Heavens_Tower/npcs/Zubaba.lua | 2 | 2580 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Zubaba
-- Involved in Mission 3-2
-- !pos 15 -27 18 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/m... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/deed/event_perk/bantha_static_deed.lua | 1 | 2260 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_rebel_lieutenant_colonel_zabrak_male_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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/shirt/objects.lua | 3 | 62196 | --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.
... | lgpl-3.0 |
widelands/widelands | data/tribes/buildings/productionsites/atlanteans/ferry_yard/init.lua | 1 | 1400 | push_textdomain("tribes")
dirname = path.dirname(__file__)
wl.Descriptions():new_productionsite_type {
name = "atlanteans_ferry_yard",
-- TRANSLATORS: This is a building name used in lists of buildings
descname = pgettext("atlanteans_building", "Ferry Yard"),
icon = dirname .. "menu.png",
size = "mediu... | gpl-2.0 |
eraffxi/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e4.lua | 2 | 1238 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Right) - Holla
-- !pos -242.301 -1.849 269.867 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Hall_of_Transfe... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/thug/bodyguard_zabrak_female.lua | 1 | 1138 | bodyguard_zabrak_female = Creature:new {
objectName = "@mob/creature_names:bodyguard",
socialGroup = "thug",
pvpFaction = "thug",
faction = "thug",
level = 18,
chanceHit = 0.32,
damageMin = 170,
damageMax = 180,
baseXp = 1257,
baseHAM = 4100,
baseHAMmax = 5000,
armor = 0,
resists = {0,0,0,0,0,0,0,-1,-1},
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/lok/blood_razor_elite_pirate.lua | 1 | 1616 | blood_razor_elite_pirate = Creature:new {
objectName = "@mob/creature_names:blood_razor_pirate_elite",
socialGroup = "bloodrazor",
pvpFaction = "bloodrazor",
faction = "bloodrazor",
level = 33,
chanceHit = 0.39,
damageMin = 325,
damageMax = 360,
baseXp = 3370,
baseHAM = 8100,
baseHAMmax = 9900,
armor = 0,
... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_nym_guard_elite_rod_m.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... | lgpl-3.0 |
eraffxi/darkstar | scripts/zones/West_Ronfaure/npcs/Tottoto_WW.lua | 2 | 2934 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Tottoto, W.W.
-- Type: Border Conquest Guards
-- !pos -560.292 -0.961 -576.655 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/medicine/crafted/medpack_disease_willpower_b.lua | 1 | 3308 | --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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/ship/attachment/engine/tiebomber_engine_s01.lua | 3 | 2296 | --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... | lgpl-3.0 |
freem/fceuxLuaScripts | connectedNES/test.lua | 1 | 7782 | -- hacky fceux lua script (by freem) for testing connectedNES input.
-- more info at https://github.com/hxlnt/connectednes and http://www.nobadmemories.com/connectednes
-- controller inputs
-- $01 = right
-- $02 = left
-- $04 = down
-- $08 = up
-- $10 = start
-- $20 = select
-- $40 = B button
-- $80 = A button
-- inp... | unlicense |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/wearables/armor/kashyyykian_ceremonial/serverobjects.lua | 3 | 2471 | --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... | lgpl-3.0 |
palmettos/cnLuCI | applications/luci-asterisk/luasrc/controller/asterisk.lua | 69 | 7498 | --[[
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 |
kidaa/Awakening-Core3 | bin/scripts/mobile/yavin4/crazed_geonosian_guard.lua | 1 | 1176 | crazed_geonosian_guard = Creature:new {
objectName = "@mob/creature_names:geonosian_crazed_guard",
socialGroup = "self",
pvpFaction = "",
faction = "",
level = 65,
chanceHit = 0.64,
damageMin = 480,
damageMax = 670,
baseXp = 6288,
baseHAM = 11000,
baseHAMmax = 14000,
armor = 1,
resists = {25,35,-1,65,0,25,... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/lair/crowned_rasp/lair_crowned_rasp.lua | 2 | 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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/king_terak.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... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/endor/wandering_desert_marauder.lua | 1 | 1646 | wandering_desert_marauder = Creature:new {
objectName = "@mob/creature_names:wandering_desert_marauder",
socialGroup = "endor_marauder",
pvpFaction = "endor_marauder",
faction = "endor_marauder",
level = 47,
chanceHit = 0.49,
damageMin = 385,
damageMax = 480,
baseXp = 4643,
baseHAM = 10000,
baseHAMmax = 1220... | lgpl-3.0 |
Joker-Developer/Joker-Developer | plugins/insta.lua | 10 | 4264 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
local access_token = "3084249803.280d5d7.999310365c8248f8948ee0f6929c2f02" -- your api key
local function instagramUser(msg, query)
local receiver = get_receiver(msg)
local url = "https://api.instagram.com/... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/mission/quest_item/karrek_film_q3_needed.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... | lgpl-3.0 |
isdom/kong | spec/unit/tools/faker_spec.lua | 3 | 3707 | local uuid = require "uuid"
local Faker = require "kong.tools.faker"
local DaoError = require "kong.dao.error"
describe("Faker", function()
local ENTITIES_TYPES = { "api", "consumer", "plugin" }
local factory_mock = {}
local insert_spy
local faker
before_each(function()
insert_spy = spy.new(function(s... | apache-2.0 |
kidaa/Awakening-Core3 | bin/scripts/mobile/dantooine/kunga_harvester.lua | 1 | 1244 | kunga_harvester = Creature:new {
objectName = "@mob/creature_names:kunga_harvester",
socialGroup = "kunga_tribe",
pvpFaction = "kunga_tribe",
faction = "kunga_tribe",
level = 28,
chanceHit = 0.37,
damageMin = 260,
damageMax = 270,
baseXp = 2822,
baseHAM = 8100,
baseHAMmax = 9900,
armor = 0,
resists = {15,4... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/space/weapon/missile/basic_chaff_pack.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... | lgpl-3.0 |
eraffxi/darkstar | scripts/globals/spells/luminohelix.lua | 2 | 2154 | --------------------------------------
-- Spell: Luminohelix
-- Deals light damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/m... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.