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 |
|---|---|---|---|---|---|
CopierTeam/Umbrella-Cp | plugins/Moderation.lua | 2 | 9969 | local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
local username = v.username
data[tostring(msg.t... | gpl-2.0 |
pedishield/Persian_King | plugins/webshot.lua | 14 | 3715 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua | 17 | 1474 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Hammer
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functi... | gpl-3.0 |
kiarash14/be | plugins/xkcd.lua | 628 | 1374 | do
function get_last_id()
local res,code = https.request("http://xkcd.com/info.0.json")
if code ~= 200 then return "HTTP ERROR" end
local data = json:decode(res)
return data.num
end
function get_xkcd(id)
local res,code = http.request("http://xkcd.com/"..id.."/info.0.json")
if code ~= 200 then return "HT... | gpl-2.0 |
ZenityRTS/Zenity | libs/chonsole/exts/rules.lua | 1 | 2944 | commands = {
{
command = "gamerules",
description = i18n("gamerules_desc", {default="Sets values of specific gamerules variables"}),
cheat = true,
suggestions = function(cmd, cmdParts)
local suggestions = {}
local param = cmdParts[2]
for name, value in pairs(Spring.GetGameRulesParams()) do
if par... | gpl-2.0 |
kitala1/darkstar | scripts/globals/spells/battlefield_elegy.lua | 11 | 1700 | -----------------------------------------
-- Spell: Battlefield Elegy
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,tar... | gpl-3.0 |
stevelacy/conky-seamod | seamod_rings_dark.lua | 1 | 20181 | --==============================================================================
-- seamod_rings.lua
--
-- Date : 05/02/2012
-- Author : SeaJey
-- Version : v0.1
-- License : Distributed under the terms of GNU GPL version 2 or later
--
-- This version is a modification of lunatico_ri... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/bowl_of_dragon_soup.lua | 35 | 2018 | -----------------------------------------
-- ID: 4549
-- Item: Bowl of Dragon Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Strength 7
-- Agility 2
-- Vitality 2
-- Intelligence -3
-- Health Regen While Healing 8
-- Attack % 22
-- Attack Cap 150
-- Ranged ... | gpl-3.0 |
pedishield/Persian_King | plugins/me.lua | 12 | 2913 | do
local function run(msg, matches)
if matches[1]:lower() == 'me' or "wai" then
if is_sudo(msg) then
send_document(get_receiver(msg), "./data/me/sudo.webp", ok_cb, false)
return "Your Rank is : SuDo"
elseif is_admin(msg) then
send_document(get_receiver(msg), "./data/me/admin.webp", ok_cb, false... | gpl-2.0 |
kitala1/darkstar | scripts/zones/PsoXja/npcs/_i9y.lua | 17 | 1307 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _i9y (Crystal Receptor)
-- @pos -389.980 -3.198 -203.595 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs");
--------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Castle_Oztroja/npcs/Tebhi.lua | 19 | 1065 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Tebhi
-- @pos -136 24 -21 151
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if(trade:hasItemQty(13121,1) and trade:getI... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/roast_turkey.lua | 35 | 1197 | -----------------------------------------
-- ID: 5620
-- Item: roast_turkey
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 4
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
MrUnknownGamer/pointshop | lua/pointshop/providers/flatfile.lua | 8 | 1744 | function PROVIDER:GetData(ply, callback)
if not file.IsDir('pointshop', 'DATA') then
file.CreateDir('pointshop')
end
local points, items
local filename = string.Replace(ply:SteamID(), ':', '_')
if not file.Exists('pointshop/' .. filename .. '.txt', 'DATA') then
file.Write('pointshop/' .. filename .. '.tx... | mit |
kitala1/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/CeraneIVirgaut1.lua | 36 | 1082 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Cerane I Virgaut
-- @zone 80
-- @pos -268 -4 100
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
---------------------... | gpl-3.0 |
crabman77/minetest-minetestforfun-server | mods/homedecor_modpack/lrfurn/endtable.lua | 13 | 1383 | minetest.register_node("lrfurn:endtable", {
description = "End Table",
drawtype = "nodebox",
tiles = {"lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png", "lrfurn_coffeetable_back.png"},
paramtype = "light",
p... | unlicense |
kitala1/darkstar | scripts/globals/spells/bluemagic/sub-zero_smash.lua | 9 | 2048 | -----------------------------------------
-- Spell: Sub-zero Smash
-- Additional Effect: Paralysis. Damage varies with TP
-- Spell cost: 44 MP
-- Monster Type: Aquans
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: HP+10 VIT+3
-- Level: 72
-- Casting Time: 1 second
-- Recast Time: 30 se... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Middle_Delkfutts_Tower/npcs/Grounds_Tome.lua | 34 | 1144 | -----------------------------------
-- Area: Middle Delkfutt's Tower
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function... | gpl-3.0 |
kaustavha/rackspace-monitoring-agent | tests/mysql.lua | 4 | 6050 | --[[
Copyright 2015 Rackspace
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 agreed to in writing, software
dis... | apache-2.0 |
kitala1/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Kunai.lua | 17 | 1476 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Kunai
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
liangjixunz/imgupload | bin/conf/zimg.lua | 1 | 3673 | --zimg server config
--server config
--是否后台运行
is_daemon = 1
--绑定IP
ip = '0.0.0.0'
--端口
port = 4860
--运行线程数,默认值为服务器CPU数
--thread_num = 4
backlog_num = 1024
max_keepalives = 1
retry = 3
system = io.popen('uname -sn'):read('*l')
pwd = io.popen('pwd'):re... | bsd-3-clause |
zorun/packages-1 | net/smartsnmpd/files/mibs/system.lua | 158 | 6428 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- 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 optio... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Selbina/npcs/Valgeir.lua | 17 | 4972 | -----------------------------------
-- Area: Selbina
-- NPC: Valgeir
-- involved in his name is his name is Valgeir quest
-- involved in expertise quest
-- involved in the basics quest
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
fqrouter/luci | contrib/luasrcdiet/lua/optparser.lua | 122 | 23598 | --[[--------------------------------------------------------------------
optparser.lua: does parser-based optimizations
This file is part of LuaSrcDiet.
Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net>
The COPYRIGHT file describes the conditions
under which this software may be distributed.
See the ... | apache-2.0 |
Sulunia/beatfever | modules/objectParsing.lua | 1 | 7748 | -- HitObject parsing for BeatfFever
-- This is where all note related calculations will be done
moduleName = "[ObjectParser]"
objectParser = {}
hitcircleGraphic = nil
slidertickGraphic = nil
local fileTimingPointsInherited = {}
local fileTimingPointsBPM = {}
local fileTimingPoints = {}
local timingPointIndex = 1
local... | mit |
Eternym/psychoactive2 | data/global.lua | 1 | 5489 | dofile('data/lib/lib.lua')
STORAGEVALUE_PROMOTION = 30018
ropeSpots = {384, 418, 8278, 8592}
doors = {
[1209] = 1211, [1210] = 1211, [1212] = 1214, [1213] = 1214, [1214] = 1212, [1219] = 1220, [1221] = 1222, [1231] = 1233,
[1232] = 1233, [1234] = 1236, [1235] = 1236, [1237] = 1238, [1239] = 1240, [1249] = 1251, [1... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/uskumru.lua | 18 | 1255 | -----------------------------------------
-- ID: 5452
-- Item: Uskumru
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Batallia_Downs/mobs/Weeping_Willow.lua | 11 | 1354 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Weeping Willow
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
------------------------... | gpl-3.0 |
tetoali605/THETETOO_A7A | plugins/owners.lua | 6 | 24349 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : help ar ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀... | gpl-2.0 |
Naragath/OpenComputersRobotMiner | lib/moveTo.lua | 1 | 7755 | --Move to library
--Created by Brad "Naragath" Jewell
--Copyright © 2017, Brad "Naragath" Jewell, All Rights Reserved
--You may modify this file as long as you don't claim this to be your own work and give me credit.
--[[
TODO(General, not limited to this library): As of version 0.0.40
-Add comms with controller s... | mit |
d-o/LUA-LIB | C500Examples/ioTest.lua | 2 | 8156 | -------------------------------------------------------------------------------
-- IOTest
-- Drive IO1 to IO8 using functions from the setpoint library. Please note that
-- the operator must set the remote key settings to NONE for this app to work
--
-- @author Luke Allison
-- @copyright 2016 Rinstrum Pty Ltd
---------... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/Bad_Breath.lua | 25 | 1255 | ---------------------------------------------
-- Bad Breath
--
-- Description: Deals earth damage that inflicts multiple status ailments on enemies within a fan-shaped area originating from the caster.
-- Type: Magical (Earth)
--
--
---------------------------------------------
require("scripts/globals/setti... | gpl-3.0 |
d-o/LUA-LIB | tests/network/buzzer.lua | 2 | 1079 | -------------------------------------------------------------------------------
-- Buzzer network test.
-- @author Pauli
-- @copyright 2014 Rinstrum Pty Ltd
-------------------------------------------------------------------------------
local silent = true
if not silent then
describe("Beep #beep", function ()
... | gpl-3.0 |
BluePentagram/rp_disguiser | lua/weapons/rp_disguiser/shared.lua | 1 | 1174 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "init.lua" )
SWEP.DrawAmmo = false
SWEP.DrawCrosshair = false
SWEP.ViewModel = "models/weapons/v_crowbar.mdl"
SWEP.WorldModel = "models/weapons/w_crowbar.mdl"
SWEP.HoldType = "normal"
SWEP.Author = "Bluey"
SWEP.Instructions = "Left click to disguise yourself"
SWEP.Conta... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Upper_Jeuno/npcs/Olgald.lua | 38 | 1028 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Olgald
-- Type: Standard NPC
-- @zone: 244
-- @pos -53.072 -1 103.380
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
---------------------... | gpl-3.0 |
mkottman/lqt | generator/enums.lua | 1 | 3124 | module("enums", package.seeall)
local print_enum = fprint(assert(io.open(module_name.._src..module_name..'_enum.cpp', 'w')))
local function filter(enum)
local n = enum.xarg.name
if n~=string.lower(n) and not string.match(n, '_') then
return false
end
return true
end
local enum_list = {}
local function copy_en... | mit |
kitala1/darkstar | scripts/zones/Davoi/npcs/Quemaricond.lua | 19 | 1774 | -----------------------------------
-- Area: Davoi
-- NPC: Quemaricond
-- Involved in Mission: Infiltrate Davoi
-- @pos 23 0.1 -23 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/glob... | gpl-3.0 |
kitala1/darkstar | scripts/commands/addquest.lua | 25 | 1136 | ---------------------------------------------------------------------------------------------------
-- func: @addquest <logID> <questID> <player>
-- desc: Adds a quest to the given targets log.
---------------------------------------------------------------------------------------------------
cmdprops =
{
p... | gpl-3.0 |
tetoali605/THETETOO_A7A | plugins/tagall.lua | 5 | 2026 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : تـــــــاك للـكل ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Empyreal_Paradox/Zone.lua | 15 | 2098 | -----------------------------------
--
-- Zone: Empyreal_Paradox
--
-----------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-------------... | gpl-3.0 |
crabman77/minetest-minetestforfun-server | mods/WorldEdit/worldedit_gui/init.lua | 4 | 8752 | worldedit = worldedit or {}
--[[
Example:
worldedit.register_gui_function("worldedit_gui_hollow_cylinder", {
name = "Make Hollow Cylinder",
privs = {worldedit=true},
get_formspec = function(name) return "some formspec here" end,
on_select = function(name) print(name .. " clicked the button!") ... | unlicense |
kitala1/darkstar | scripts/zones/Oldton_Movalpolos/npcs/Mining_Point.lua | 29 | 1108 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Oldton_Movalpolos/TextIDs")... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Northern_San_dOria/npcs/Telmoda.lua | 19 | 1621 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Telmoda
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests"... | gpl-3.0 |
bmcAD/Apache | modules/log.lua | 1 | 1970 | --
-- log.lua
--
-- Copyright (c) 2016 rxi
--
-- This library is free software; you can redistribute it and/or modify it
-- under the terms of the MIT license. See LICENSE for details.
--
local _os = require('os')
local _io = require('io')
local log = { _version = "0.1.0" }
log.usecolor = true
log.outfile = process.c... | apache-2.0 |
skywind3000/language | lua/zm.lua | 1 | 14429 | --=====================================================================
--
-- zm.lua - z.sh implementation for lua
--
-- Created by skywind on 2018/03/19
-- Last Modified: 2018/03/19 11:11:47
--
--=====================================================================
local string = string
local table = table
... | mit |
kitala1/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_ghrah.lua | 11 | 2668 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- MOB: Aw'ghrah
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- OnMobSpawn Action
-- Set core Skin and mob elemental bonus
-- Set to non aggro.
-----------------------------------
functio... | gpl-3.0 |
apletnev/koreader | plugins/evernote.koplugin/main.lua | 3 | 18670 | local InputContainer = require("ui/widget/container/inputcontainer")
local LoginDialog = require("ui/widget/logindialog")
local InfoMessage = require("ui/widget/infomessage")
local NetworkMgr = require("ui/network/manager")
local DataStorage = require("datastorage")
local DocSettings = require("docsettings")
local UIMa... | agpl-3.0 |
kitala1/darkstar | scripts/globals/effects/dex_down.lua | 19 | 1086 | -----------------------------------
--
-- EFFECT_DEX_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if((target:getStat(MOD_DEX) - effect... | gpl-3.0 |
kitala1/darkstar | scripts/globals/abilities/drachen_roll.lua | 11 | 2167 | -----------------------------------
-- Ability: Drachen Roll
-- Enhances pet accuracy for party members within area of effect
-- Optimal Job: Dragoon
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 23
--
-- Die Roll |No DRG |With DRG
-- -------- ------- -----------
-- 1 |+10 |+25
-- 2... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Northern_San_dOria/npcs/Ramua.lua | 53 | 1884 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ramua
-- Type: Woodworking Synthesis Image Support
-- @pos -183.750 10.999 255.770 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
crabman77/minetest-minetestforfun-server | mods/mesecons/mesecons/actionqueue.lua | 9 | 3389 | mesecon.queue.actions={} -- contains all ActionQueue actions
function mesecon.queue:add_function(name, func)
mesecon.queue.funcs[name] = func
end
-- If add_action with twice the same overwritecheck and same position are called, the first one is overwritten
-- use overwritecheck nil to never overwrite, but just add t... | unlicense |
kitala1/darkstar | scripts/zones/Throne_Room/bcnms/shadow_lord_battle.lua | 13 | 2020 | -----------------------------------
-- Area: Throne Room
-- Name: Mission 5-2
-- @pos -111 -6 0.1 165
-----------------------------------
package.loaded["scripts/zones/Throne_Room/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("s... | gpl-3.0 |
kidaa/MoonGen | examples/benchmark/packet-sizes.lua | 9 | 1249 | local dpdk = require "dpdk"
local memory = require "memory"
local device = require "device"
local stats = require "stats"
local timer = require "timer"
memory.enableCache()
-- TODO: this
function master(port1, port2)
if not port1 or not port2 then
return print("Usage: port1 port2")
end
local dev2 = device.con... | mit |
kitala1/darkstar | scripts/globals/items/black_eel.lua | 17 | 1402 | -----------------------------------------
-- ID: 4429
-- Item: Black Eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
apletnev/koreader | frontend/ui/widget/verticalscrollbar.lua | 3 | 1148 | local Blitbuffer = require("ffi/blitbuffer")
local Geom = require("ui/geometry")
local Size = require("ui/size")
local Widget = require("ui/widget/widget")
local VerticalScrollBar = Widget:new{
enable = true,
low = 0,
high = 1,
width = Size.padding.default,
height = Size.item.height_large,
bord... | agpl-3.0 |
kitala1/darkstar | scripts/globals/weaponskills/wheeling_thrust.lua | 9 | 1561 | -----------------------------------
-- Wheeling Thrust
-- Polearm weapon skill
-- Skill Level: 225
-- Ignores enemy's defense. Amount ignored varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifi... | gpl-3.0 |
jjimenezg93/ai-state_machines | moai/src/lua-modules/moai/apsalar.lua | 4 | 13029 | --==============================================================
-- Copyright (c) 2010-2011 Zipline Games, Inc.
-- All Rights Reserved.
-- http://getmoai.com
--==============================================================
----------------------------------------------------------------
-- apsalar.lua - version 1.2 ... | mit |
libcg/gSquare | game/levels/easy3.lua | 1 | 2035 | function getInfo()
-- Title
local title = {
"Day 3.",
"Jour 3." }
levelText(title[getLanguageID()+1])
end
function setGame()
-- Music
setMusic("./audio/c418-itscomplicated.mp3")
-- Player
varPlayerX(16)
varPlayerY(240)
-- Gravity
varGravityDir(2)
end
function setLevel()
-- Temporary level... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Behemoths_Dominion/Zone.lua | 21 | 1830 | -----------------------------------
--
-- Zone: Behemoths_Dominion (127)
--
-----------------------------------
package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Be... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Temenos/bcnms/Central_Temenos_1st_Floor.lua | 13 | 1074 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[C_Temenos_1st]UniqueID",GenerateLimbusKey());
HideArmouryCrates(GetInstanceRegion(1303),TEMENOS); ... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Empyreal_Paradox/mobs/Selh'teus.lua | 25 | 1570 | -----------------------------------
-- Area: Empyreal Paradox
-- NPC: Selh'teus
-- Chains of Promathia 8-4 BCNM Fight
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/zones/Empyreal_Paradox/TextIDs");
function onMobInitialize(mob)
mob:addMo... | gpl-3.0 |
aminkinghakerlifee/wolf-team | plugins/anti_spam.lua | 3 | 3816 | 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 == our_id then
return msg
end
-- Save user on Redis
if msg.from.t... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Waters/npcs/Pechiru-Mashiru.lua | 36 | 1776 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Pechiru-Mashiru
-- Involved in Quests: Hat in Hand
-- Working 100%
-- @zone = 238
-- @pos = 162 -2 159
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
kitala1/darkstar | scripts/globals/items/slice_of_grilled_black_hare.lua | 35 | 1403 | -----------------------------------------
-- ID: 4516
-- Item: slice_of_grilled_black_hare
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 30
-- Attack Cap 20
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
Roblox/Core-Scripts | PlayerScripts/StarterPlayerScripts/ControlScript/MasterControl/DPad.lua | 2 | 4955 | --[[
// FileName: DPad
// Version 1.0
// Written by: jmargh
// Description: Implements DPad controls for touch devices
--]]
local Players = game:GetService('Players')
local GuiService = game:GetService('GuiService')
local DPad = {}
local MasterControl = require(script.Parent)
--[[ Script Variables ]]--
while no... | apache-2.0 |
fqrouter/luci | applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua | 68 | 1501 | --[[
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 |
kitala1/darkstar | scripts/zones/Lower_Jeuno/npcs/Aldo.lua | 17 | 1932 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Aldo
-- Involved in Mission: Magicite, Return to Delkfutt's Tower (Zilart)
-- @pos 20 3 -58 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ShuffleTiles.lua | 3 | 1286 |
--------------------------------
-- @module ShuffleTiles
-- @extend TiledGrid3DAction
--------------------------------
-- @function [parent=#ShuffleTiles] placeTile
-- @param self
-- @param #cc.Vec2 vec2
-- @param #cc.Tile tile
--------------------------------
-- @function [parent=#ShuffleTiles] shuffle
--... | mit |
kidaa/MoonGen | examples/inter-arrival-times.lua | 5 | 1947 | local dpdk = require "dpdk"
local memory = require "memory"
local device = require "device"
local ts = require "timestamping"
local dpdkc = require "dpdkc"
local ffi = require "ffi"
-- TODO: this does not work properly if the system receives packets before this script is started
-- this happens because the nic then r... | mit |
1Ridav/Bridge-OpenComputers | bridgeLIB.lua | 1 | 3858 | local HOST = "bridge.computercraft.ru:1111"
local commandIdent = "+#"
local deviceCommandIdent = "+$"
local internet
local socket, connectedToBridge, connectedToDevice, KEY
local msgBuffer = {}
local BR = {}
function BR.split(source, delimiters)
local elements = {}
local pattern = '([^'..delimiters..']+)'
string... | gpl-3.0 |
kitala1/darkstar | scripts/globals/mobskills/PW_Thundris_Shriek.lua | 13 | 1172 | ---------------------------------------------
-- Thundris Shriek
--
-- Description: Deals heavy lightning damage to targets in area of effect. Additional effect: Terror
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Players will begin to be intimidated by the dvergr after th... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Toraimarai_Canal/npcs/Transporter.lua | 19 | 1262 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Transporter
-- Involved In Windurst Mission 7-1
-- @zone 169
-- @pos 182 11 -60 169
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
require("scripts/zones/Toraimarai_Canal/TextIDs");
--------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Southern_San_dOria/npcs/Amaura.lua | 20 | 2895 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Amaura
-- Involved in Quest: The Medicine Woman, To Cure a Cough
-- @zone 230
-- @pos -85 -6 89
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Spire_of_Holla/bcnms/ancient_flames_beckon.lua | 7 | 3827 | -----------------------------------
-- Area: Spire_of_Holla
-- Name: ancient_flames_backon
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Mushosho.lua | 17 | 1883 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Mushosho
-- Type: Outpost Vendor
-- @pos -290 16 415 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
re... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Southern_San_dOria/npcs/Kipopo.lua | 53 | 1843 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Kipopo
-- Type: Leathercraft Synthesis Image Support
-- @pos -191.050 -2.15 12.285 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Arrapago_Reef/npcs/qm1.lua | 8 | 1169 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (Spawn Lil'Apkallu(ZNM T1))
-- @pos 488 -1 166 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
---------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Woods/npcs/Nalta.lua | 38 | 1033 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nalta
-- Type: Conquest Troupe
-- @zone: 241
-- @pos 19.140 1 -51.297
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------------... | gpl-3.0 |
kaustavha/rackspace-monitoring-agent | tests/test-hostinfo.lua | 2 | 7955 | --[[
Copyright 2015 Rackspace
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 agreed to in writing, software
dis... | apache-2.0 |
kitala1/darkstar | scripts/globals/items/broiled_eel.lua | 35 | 1278 | -----------------------------------------
-- ID: 4588
-- Item: Broiled Eel
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Rabao/npcs/Generoit.lua | 37 | 1363 | -----------------------------------
-- Area: Rabao
-- NPC: Generoit
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-- onTrade Actio... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Port_Bastok/npcs/Ominous_Cloud.lua | 19 | 5262 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ominous Cloud
-- Type: Traveling Merchant NPC
-- @zone: 236
-- @pos 146.962 7.499 -63.316
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
--... | gpl-3.0 |
hwsyy/Atlas | examples/tutorial-routing.lua | 47 | 1829 | --[[ $%BEGINLICENSE%$
Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
Eternym/psychoactive2 | data/globalevents/scripts/startup.lua | 3 | 2109 | function onStartup()
math.randomseed(os.mtime())
db.query("TRUNCATE TABLE `players_online`")
db.asyncQuery("DELETE FROM `guild_wars` WHERE `status` = 0")
db.asyncQuery("DELETE FROM `players` WHERE `deletion` != 0 AND `deletion` < " .. os.time())
db.asyncQuery("DELETE FROM `ip_bans` WHERE `expires_at` != 0 AND `ex... | gpl-2.0 |
kitala1/darkstar | scripts/zones/The_Garden_of_RuHmet/bcnms/when_angels_fall.lua | 13 | 2243 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- Name: when_angels_fall
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Davoi/npcs/Village_Well.lua | 27 | 1849 | -----------------------------------
-- Area: Davoi
-- NPC: Village Well
-- Involved in Quest: Under Oath
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts... | gpl-3.0 |
kaustavha/rackspace-monitoring-agent | check/filesystem.lua | 3 | 3375 | --[[
Copyright 2012 Rackspace
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 agreed to in writing, software
dis... | apache-2.0 |
DangerCove/libquvi-scripts | share/lua/website/101greatgoals.lua | 1 | 5084 |
-- libquvi-scripts
-- Copyright (C) 2012 quvi project
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This library 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; ei... | lgpl-2.1 |
mahdi1062/avira | plugins/Anti_Bot.lua | 28 | 3358 | local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, cha... | gpl-2.0 |
paulosalvatore/maruim_server | data/actions/scripts/flores.lua | 1 | 2143 | function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local plantas = {
7681,
7683,
7685,
7687,
9983,
9987,
7689,
7691,
7693,
7695,
9991,
9989,
15443
}
local plantasRegar = {
[7674] = 7681,
[7675] = 7683,
[7676] = 7685,
[7677] = 7687,
[9984] = 7683,
[9985] = ... | gpl-2.0 |
kitala1/darkstar | scripts/zones/Dangruf_Wadi/npcs/qm2.lua | 29 | 1455 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: ??? (QM2)
-- Type: Item Giver
-- @pos -120.041 2.621 415.989 191
-- Starts and Finishes: Breaking Stones, An Empty Vessel
-- Only spawns if the weather is SUNNY or CLEAR
-----------------------------------
package.loaded["scripts/zones/Dan... | gpl-3.0 |
kitala1/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pelsey-Holsey.lua | 38 | 1052 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pelsey-Holsey
-- Type: Standard NPC
-- @zone: 94
-- @pos 119.755 -4.5 209.754
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni... | gpl-3.0 |
fqrouter/luci | modules/niu/luasrc/model/cbi/niu/network/wlanwan.lua | 50 | 9208 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Steven Barth <steven@midlink.org>
Copyright 2009 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://w... | apache-2.0 |
JavidTeam/TeleJavid | libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute,... | gpl-3.0 |
king98tm/mohammadking98 | libs/url.lua | 567 | 9183 | --[[
Copyright 2004-2007 Diego Nehab.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute,... | gpl-3.0 |
fqrouter/luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/disk.lua | 78 | 1202 | --[[
Luci configuration model for statistics - collectd disk plugin configuration
(c) 2008 Freifunk Leipzig / 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 ... | apache-2.0 |
kitala1/darkstar | scripts/globals/mobskills/Lethe_Arrows.lua | 25 | 1095 | ---------------------------------------------
-- Lethe Arrows
--
-- Description: Deals a ranged attack to target. Additional effect: Knockback, Bind, and Amnesia
-- Type: Ranged
-- Utsusemi/Blink absorb: Ignores Utsusemi
-- Range: Unknown
-- Notes:
---------------------------------------------
require(... | gpl-3.0 |
hanxi/cocos2d-x-v3.1 | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ControlStepper.lua | 3 | 4045 |
--------------------------------
-- @module ControlStepper
-- @extend Control
--------------------------------
-- @function [parent=#ControlStepper] setMinusSprite
-- @param self
-- @param #cc.Sprite sprite
--------------------------------
-- @function [parent=#ControlStepper] getMinusLabel
-- @param self
... | mit |
mrbot001/WorkSuperGroup | plugins/id.lua | 31 | 6231 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
kitala1/darkstar | scripts/globals/items/meatloaf_+1.lua | 39 | 1388 | -----------------------------------------
-- ID: 5690
-- Item: Meatloaf +1
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Needs verification
-- Strength 6
-- Agility 2
-- Intelligence -2
-- Attack 25% Cap 85
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
MiBShidobu/GM-Libraries | lua/includes/modules/entity.ext.lua | 1 | 1437 | --[[
GM-Libraries :: Entity Extension
by MiBShidobu
]]--
local ENT = FindMetaTable("Entity")
--[[
Name: ENT:PlayAnimation(string Animation[, function Callback])
Desc: Helper function to animate an entity. Calls function when complete.
State: SERVER
]]--
function ENT:PlayAnimation(animation, c... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.