repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
RedeMinas/portal | lib_main.lua | 1 | 3013 | --- main global parameteres
SCREEN_WIDTH, SCREEN_HEIGHT = canvas:attrSize()
GRID = SCREEN_WIDTH/32
--review!!!
tcpresult = ""
MENUON = false
PGMON = false
ICON = {}
ICON.state = 1
ICON.pos =1
DEBUG = true
VERSION = "1.4.12"
START = false
--- tcp metrics
require 'lib_tcp'
--- Send Info over tcpip
function countMetric... | agpl-3.0 |
Armin041/antiflood | plugins/inrealm.lua | 228 | 16974 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_group_ch... | gpl-2.0 |
DEVll190ll/DEV_HR | plugins/DEV_4.lua | 1 | 8423 | --[[
الملف يحتوي ع 11 ملفات مدموجة سوة
وصايرة عبارة عن سوبر كروب ؟
تقريبا للمطورين الي يفتهمون !!
وتم صنع الملف من قبل حسين محمد
اختصرت الكم الملفات اهنا علمود ميوكف البوت بسرعة
ولسهولة تغيير الحقوق
]]
do
-- هذا ملف المطور وتغيير حقوقة سهلة حييل شيل اسمي وخلي اسمك وشيل معرفي وخلي معرفك وقناتي اذا ع... | gpl-2.0 |
Ninjistix/darkstar | scripts/zones/Lower_Jeuno/npcs/Aldo.lua | 5 | 1622 | -----------------------------------
-- 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/globals/ke... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/spells/absorb-int.lua | 4 | 1565 | --------------------------------------
-- Spell: Absorb-INT
-- Steals an enemy's intelligence.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
funct... | gpl-3.0 |
premake/premake-4.x | src/actions/xcode/_xcode.lua | 15 | 2759 | --
-- _xcode.lua
-- Define the Apple XCode action and support functions.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
premake.xcode = { }
newaction
{
trigger = "xcode3",
shortname = "Xcode 3",
description = "Generate Apple Xcode 3 project files (experimental)",
os ... | bsd-3-clause |
Ninjistix/darkstar | scripts/zones/Bastok_Markets/npcs/Wulfnoth.lua | 3 | 1477 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Wulfnoth
-- Type: Goldsmithing Synthesis Image Support
-- !pos -211.937 -7.814 -56.292 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
jokersso3/joker | plugins/supergroup.lua | 3 | 124287 | local function check_member_super(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
if success == 0 then
send_large_msg(receiver, "Promote me to admin first!")
end
for k,v in pairs(result) do
local member_id = v.peer_id
if member_id ~=... | gpl-2.0 |
frugalware/frugalware-current | source/xapps-extra/texlive/texmfcnf.lua | 9 | 8268 | -- public domain
-- ConTeXt needs a properly expanded TEXMFLOCAL, so here is a
-- bit of lua code to make that happen
local texmflocal = resolvers.prefixes.selfautoparent();
texmflocal = string.gsub(texmflocal, "20%d%d$", "texmf-local");
return {
type = "configuration",
version = "1.1.0",
date = "... | gpl-2.0 |
wounds1/zaza2 | plugins/lock_fwd.lua | 4 | 1716 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# Developer : Aziz < @TH3_GHOST >
# our channel: @DevPointTeam
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ ... | gpl-2.0 |
Ninjistix/darkstar | scripts/zones/Quicksand_Caves/npcs/qm6.lua | 7 | 1569 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm6)
-- Bastok Mission 8.1 "The Chains That Bind Us"
-- !pos -469 0 620 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_C... | gpl-3.0 |
jagu-sayan/42Premake | src/base/table.lua | 7 | 2374 | --
-- table.lua
-- Additions to Lua's built-in table functions.
-- Copyright (c) 2002-2008 Jason Perkins and the Premake project
--
--
-- Returns true if the table contains the specified value.
--
function table.contains(t, value)
for _,v in pairs(t) do
if (v == value) then
return true
end
end
retu... | bsd-3-clause |
BooM-amour/bomb | plugins/music.lua | 1 | 2325 | do
-- Base search URL
local BASE_URL = 'http://pleer.com/mobile/search?q='
-- Base download URL
local BASE_DL_URL = 'http://pleer.com/mobile/files_mobile/'
local htmlparser = require 'htmlparser'
-- Provide download link
local function getDownloadLink(id)
return BASE_DL_URL .. id .. '.mp3'
end
... | gpl-2.0 |
Ninjistix/darkstar | scripts/globals/spells/meteor.lua | 4 | 2084 | -----------------------------------------
-- Spell: Meteor
-- Deals non-elemental damage to an enemy.
-----------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts/globals/settings");
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/ms... | gpl-3.0 |
wangyi0226/skynet | service/wsgate.lua | 1 | 2433 | local skynet = require "skynet"
local gateserver = require "snax.wsgateserver"
local netpack = require "websocketnetpack"
local watchdog
local connection = {} -- fd -> connection : { fd , client, agent , ip, mode }
local forwarding = {} -- agent -> connection
skynet.register_protocol {
name = "client",
id = skynet... | mit |
Ninjistix/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Buliame_RK.lua | 3 | 2992 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Buliame, R.K.
-- Type: Border Conquest Guards
-- !pos -120.393 -25.822 -592.604 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Heavens_Tower/Zone.lua | 5 | 2310 | -----------------------------------
--
-- Zone: Heavens_Tower
--
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Heavens_Tower/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/missions");
... | gpl-3.0 |
premake/premake-4.x | tests/actions/vstudio/vc2010/test_config_props.lua | 52 | 2040 | --
-- tests/actions/vstudio/vc2010/test_config_props.lua
-- Validate generation of the configuration property group.
-- Copyright (c) 2011-2013 Jason Perkins and the Premake project
--
T.vstudio_vs2010_config_props = { }
local suite = T.vstudio_vs2010_config_props
local vc2010 = premake.vstudio.vc2010
local projec... | bsd-3-clause |
garlick/flux-sched | rdl/RDL/types/Socket.lua | 2 | 2433 | --/***************************************************************************\
-- Copyright (c) 2014 Lawrence Livermore National Security, LLC. Produced at
-- the Lawrence Livermore National Laboratory (cf, AUTHORS, DISCLAIMER.LLNS).
-- LLNL-CODE-658032 All rights reserved.
--
-- This file is part of the Flux res... | gpl-2.0 |
Ninjistix/darkstar | scripts/zones/Qufim_Island/npcs/Matica_RK.lua | 3 | 2965 | -----------------------------------
-- Area: Qufim Island
-- NPC: Matica, R.K.
-- Type: Border Conquest Guards
-- !pos 179.093 -21.575 -15.282 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/magic_maps.lua | 35 | 9801 | ---------------------------------------------
--
-- Function that all map NPCS use.
-- SE updated the map NPCs to sell maps from the normal areas, RoZ, and CoP areas (Update was in Nov 5, 2013)
---------------------------------------------
require("scripts/globals/keyitems");
local Maps = {MAP_OF_THE_SAN_DORIA_... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/items/ragnarok.lua | 3 | 2848 | -----------------------------------------
-- ID: 18282, 18283, 18640, 18654, 18668, 19749, 19842, 20745, 20746, 21683
-- Item: Ragnarok
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/msg");
require("scripts/globals/weaponskills");
require("scripts/globals/weaponski... | gpl-3.0 |
jinks/LuaMeat | plugin/seen.lua | 1 | 1331 | DB:exec([[CREATE TABLE IF NOT EXISTS seen (
nick VARCHAR(100) PRIMARY KEY,
channel VARCHAR(100) NOT NULL,
action VARCHAR(20) NOT NULL,
time INTEGER NOT NULL)]])
local function update (channel, from, action)
local stmt = DB:prepare("INSERT OR REPLACE INTO seen VALUES (?, ?, ?, ?)")
stmt:bind_values(from, ch... | apache-2.0 |
nimaghorbani/dozdi7 | plugins/slap.lua | 17 | 4304 | local command = 'slap [target]'
local doc = [[```
/slap [target]
Slap somebody.
```]]
local triggers = {
'^/slap[@'..bot.username..']*'
}
local slaps = {
'$victim was shot by $victor.',
'$victim was pricked to death.',
'$victim walked into a cactus while trying to escape $victor.',
'$victim drowned.',
'$victim ... | gpl-2.0 |
Ninjistix/darkstar | scripts/zones/Metalworks/npcs/Grohm.lua | 5 | 2645 | -----------------------------------
-- Area: Metalworks
-- NPC: Grohm
-- Involved In Mission: Journey Abroad
-- !pos -18 -11 -27 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zo... | gpl-3.0 |
blackman1380/antispam | libs/dateparser.lua | 502 | 6212 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-2.0 |
amirb8/telepersian | libs/dateparser.lua | 502 | 6212 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-2.0 |
ehrenbrav/FCEUX_Learning_Environment | output/luaScripts/SMB-AreaScrambler.lua | 9 | 2561 | --SMB area scrambler
--Randomly changes the level contents. Doesn't garuantee a winnable level (nor does it guarantee it won't crash the game)
--Written by XKeeper
require("x_functions");
if not x_requires then
-- Sanity check. If they require a newer version, let them know.
timer = 1;
while (true) do
... | gpl-2.0 |
Ninjistix/darkstar | scripts/zones/Metalworks/npcs/Wise_Owl.lua | 3 | 1550 | -----------------------------------
-- Area: Metalworks
-- NPC: Wise Owl
-- Type: Smithing Adv. Image Support
-- !pos -106.336 2.000 26.117 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("s... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Mount_Zhayolm/npcs/Waudeen.lua | 5 | 2407 | -----------------------------------
-- Area: Mount_Zhayolm
-- NPC: Waudeen
-- Type: Assault
-- !pos 673.882 -23.995 367.604 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
premake/premake-4.x | tests/tools/test_gcc.lua | 12 | 1818 | --
-- tests/test_gcc.lua
-- Automated test suite for the GCC toolset interface.
-- Copyright (c) 2009-2011 Jason Perkins and the Premake project
--
T.gcc = { }
local suite = T.gcc
local cfg
function suite.setup()
cfg = { }
cfg.basedir = "."
cfg.location = "."
cfg.language = "C++"
cfg.project =... | bsd-3-clause |
Ninjistix/darkstar | scripts/zones/Port_Jeuno/npcs/Kochahy-Muwachahy.lua | 5 | 1866 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Kochahy-Muwachahy
-- !pos 40 0 6 246
-------------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scrip... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/mobskills/foxfire.lua | 25 | 1186 | ---------------------------------------------
-- Foxfire
--
-- Description: Damage varies with TP. Additional effect: "Stun."
-- Type: Physical (Blunt)
-- RDM, THF, PLD, BST, BRD, RNG, NIN, and COR fomors).
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
Ninjistix/darkstar | scripts/commands/addmission.lua | 10 | 1563 | ---------------------------------------------------------------------------------------------------
-- func: addmission <logID> <missionID> <player>
-- desc: Adds a mission to the GM or target players log.
---------------------------------------------------------------------------------------------------
require("scri... | gpl-3.0 |
dinodeck/ninety_nine_days_of_dev | 005_bitmap_text/map/map_world.lua | 8 | 14367 | function CreateWorldMap(state)
local id = "world"
local worldState = state.maps[id]
local encountersWorld =
{
-- 1. yellow / plains
{
{
oddment = 100,
item = {}
},
{
oddment = 3,
item =
{
... | mit |
dafei2015/hugular_cstolua | Client/tools/netProtocal/parseMsgEntity.lua | 8 | 1380 | require("helperFunction")
io.output("../../Assets/Lua/net/netMsgHelper.lua")
function genParseFunction(startLine)
local structName = string.match(startLine, "(%S+)=")
local nextLine = getNextValidLine()
print("NetMsgHelper model name" , structName)
local funStr = ""
local parStr=""
lo... | mit |
dinodeck/ninety_nine_days_of_dev | 003_combat_numbers/code/PlanStrollState.lua | 10 | 1628 |
PlanStrollState = { mName = "plan_stroll" }
PlanStrollState.__index = PlanStrollState
function PlanStrollState:Create(character, map)
local this =
{
mCharacter = character,
mMap = map,
mEntity = character.mEntity,
mController = character.mController,
mFrameRe... | mit |
dinodeck/ninety_nine_days_of_dev | 007_map_cure/code/PlanStrollState.lua | 10 | 1628 |
PlanStrollState = { mName = "plan_stroll" }
PlanStrollState.__index = PlanStrollState
function PlanStrollState:Create(character, map)
local this =
{
mCharacter = character,
mMap = map,
mEntity = character.mEntity,
mController = character.mController,
mFrameRe... | mit |
Ninjistix/darkstar | scripts/globals/items/dish_of_spaghetti_boscaiola.lua | 3 | 1547 | -----------------------------------------
-- ID: 5192
-- Item: dish_of_spaghetti_boscaiola
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 18
-- Health Cap 120
-- Magic 35
-- Strength -5
-- Dexterity -2
-- Vitality 2
-- Mind 4
-- Store TP +6
-- Magic Regen While Healing 1
--------... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Northern_San_dOria/npcs/Coullene.lua | 5 | 1355 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Coullene
-- Type: Involved in Quest (Flyers for Regine)
-- @zone 231
-- !pos 146.420 0.000 127.601
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Hall_of_the_Gods/Zone.lua | 5 | 1337 | -----------------------------------
--
-- Zone: Hall_of_the_Gods (251)
--
-----------------------------------
package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Hall_of_the_Gods/TextIDs");
----------------------... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/npc_util.lua | 3 | 14265 | --[[
Helper functions for common NPC tasks.
npcUtil.pickNewPosition(npc, positionTable, allowCurrentPosition)
npcUtil.giveItem(player, items)
npcUtil.giveKeyItem(player, keyitems)
npcUtil.completeQuest(player, area, quest, params)
npcUtil.tradeHas(trade, items)
npcUtil.genTmask(player,t... | gpl-3.0 |
scan-bot/scan-bot | plugins/isX.lua | 605 | 2031 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local api_key = mashape.api_key
if ... | gpl-2.0 |
mohammad25253/persianguard12 | plugins/isX.lua | 605 | 2031 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local api_key = mashape.api_key
if ... | gpl-2.0 |
Ninjistix/darkstar | scripts/zones/Windurst_Waters/npcs/Jourille.lua | 5 | 1249 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jourille
-- Only sells when Windurst controlls Ronfaure Region
-- Confirmed shop stock, August 2013
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
PetarTilevRusev/EndlessWar | game/scripts/vscripts/gamemode.lua | 1 | 10987 | -- This is the primary barebones gamemode script and should be used to assist in initializing your game mode
-- Set this to true if you want to see a complete debug output of all events/processes done by barebones
-- You can also change the cvar 'barebones_spew' at any time to 1 or 0 for output/no output
BAREBONES_DE... | mit |
ccyphers/kong | kong/dao/db/postgres.lua | 3 | 14466 | local pgmoon = require "pgmoon-mashape"
local Errors = require "kong.dao.errors"
local utils = require "kong.tools.utils"
local cjson = require "cjson"
local get_phase = ngx.get_phase
local timer_at = ngx.timer.at
local tostring = tostring
local ngx_log = ngx.log
local concat = table.concat
local ipairs = ipairs
local... | apache-2.0 |
Ninjistix/darkstar | scripts/zones/Norg/npcs/Heizo.lua | 5 | 2877 | -----------------------------------
-- Area: Norg
-- NPC: Heizo
-- Starts and Ends Quest: Like Shining Leggings
-- !pos -1 -5 25 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
s-d-a/DCS-ExportScripts | Scripts/DCS-ExportScript/ExportsModules/SA342M.lua | 1 | 44848 | -- SA342M
ExportScript.FoundDCSModule = true
ExportScript.Version.SA342M = "1.2.1"
ExportScript.ConfigEveryFrameArguments =
{
--[[
every frames arguments
based of "mainpanel_init.lua"
Example (http://www.lua.org/manual/5.1/manual.html#pdf-string.format)
[DeviceID] = "Format"
[4] = "%.4f", <- floating-point ... | lgpl-3.0 |
Ninjistix/darkstar | scripts/zones/Kazham-Jeuno_Airship/npcs/Joosef.lua | 5 | 2002 | -----------------------------------
-- Area: Kazham-Jeuno Airship
-- NPC: Joosef
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham-Jeuno_Airship/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Kazham-Jeuno_Airship/TextIDs");
----------------------... | gpl-3.0 |
chappers/refresh-love | _book/images/main.lua | 2 | 1205 | function love.load()
Tileset = love.graphics.newImage('countryside.png')
TileW, TileH = 32,32
local tilesetW, tilesetH = Tileset:getWidth(), Tileset:getHeight()
local quadInfo = {
{'.', 0, 0}, -- grass
{'#', 32, 0}, -- box
{'*', 0, 32}, -- flowers
{'^',32, 32} -- boxtop
}
... | mit |
chappers/refresh-love | images/main.lua | 2 | 1205 | function love.load()
Tileset = love.graphics.newImage('countryside.png')
TileW, TileH = 32,32
local tilesetW, tilesetH = Tileset:getWidth(), Tileset:getHeight()
local quadInfo = {
{'.', 0, 0}, -- grass
{'#', 32, 0}, -- box
{'*', 0, 32}, -- flowers
{'^',32, 32} -- boxtop
}
... | mit |
codedash64/Urho3D | Source/ThirdParty/LuaJIT/src/jit/dis_x86.lua | 41 | 32726 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | mit |
Ninjistix/darkstar | scripts/globals/items/bunch_of_pamamas.lua | 3 | 1046 | -----------------------------------------
-- ID: 4468
-- Item: Bunch of Pamamas
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength -3
-- Intelligence 1
-- Additional Effect with Opo-Opo Crown
-- HP 50
-- MP 50
-- CHR 14
-- Additional Effect with Kinkobo or
-- Primate Staff
-- DELAY ... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Quicksand_Caves/npcs/Treasure_Coffer.lua | 5 | 4149 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Treasure Coffer
-- @zone 208
-- !pos 615 -6 -681
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Konschtat_Highlands/npcs/qm1.lua | 4 | 1045 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: qm1 (???)
-- Continues Quests: Past Perfect
-- !pos -201 16 80 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requi... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/mobskills/vitriolic_spray.lua | 33 | 1046 | ---------------------------------------------
-- Vitriolic Spray
-- Family: Wamouracampa
-- Description: Expels a caustic stream at targets in a fan-shaped area of effect. Additional effect: Burn
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadow
-- Range: Cone
-- Notes: Burn is 10-30/tic
------------------... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Mount_Zhayolm/npcs/Bapokk.lua | 5 | 1146 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Bapokk
-- Handles access to Alzadaal Ruins
-- !pos -20 -6 276 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
------... | gpl-3.0 |
dafei2015/hugular_cstolua | Client/tools/luaTools/lua/jit/dis_x86.lua | 74 | 29330 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | mit |
ccyphers/kong | spec/02-integration/05-proxy/05-balancer_spec.lua | 1 | 13983 | -- these tests only apply to the ring-balancer
-- for dns-record balancing see the `dns_spec` files
local helpers = require "spec.helpers"
local cache = require "kong.tools.database_cache"
local dao_helpers = require "spec.02-integration.02-dao.helpers"
local PORT = 21000
-- modified http-server. Accepts (sequential... | apache-2.0 |
Ninjistix/darkstar | scripts/zones/Port_Bastok/npcs/Paujean.lua | 5 | 2259 | -----------------------------------
-- Area: Port Bastok
-- NPC: Paujean
-- Starts & Finishes Quest: Silence of the Rams
-- !pos -93.738 4.649 34.373 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Bastok... | gpl-3.0 |
eugenesan/openwrt-luci | applications/luci-coovachilli/luasrc/model/cbi/coovachilli_auth.lua | 79 | 2235 | --[[
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 |
Ninjistix/darkstar | scripts/zones/Upper_Jeuno/npcs/Osker.lua | 5 | 2608 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Osker
-- Involved in Quest: Chocobo's Wounds
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requir... | gpl-3.0 |
jamiepg1/MCServer | lib/tolua++/src/bin/lua/operator.lua | 42 | 6043 | -- tolua: operator class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enhancement... | apache-2.0 |
Ninjistix/darkstar | scripts/zones/Rabao/Zone.lua | 5 | 1039 | -----------------------------------
--
-- Zone: Rabao (247)
--
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
function onInitial... | gpl-3.0 |
dinodeck/ninety_nine_days_of_dev | 002_bitmap_numbers/code/CombatChoiceState.lua | 1 | 12958 | CombatChoiceState = {}
CombatChoiceState.__index = CombatChoiceState
function CombatChoiceState:Create(context, actor)
local this =
{
mStack = context.mStack,
mCombatState = context,
mActor = actor,
mCharacter = context.mActorCharMap[actor],
mUpArrow = gWorld.mIcons:Get('... | mit |
Ninjistix/darkstar | scripts/globals/items/bowl_of_salt_ramen.lua | 3 | 1656 | -----------------------------------------
-- ID: 6462
-- Item: bowl_of_salt_ramen
-- Food Effect: 30Min, All Races
-----------------------------------------
-- DEX +5
-- VIT +5
-- AGI +5
-- Accuracy +5% (cap 90)
-- Ranged Accuracy +5% (cap 90)
-- Evasion +5% (cap 90)
-- Resist Slow +10
---------------------------------... | gpl-3.0 |
abosalah22/zak | plugins/ingroup.lua | 156 | 60323 | do
-- Check Member
local function check_member_autorealm(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.peer_id
if member_id ~= our_id then
-- Group configuration
data[... | gpl-2.0 |
Ninjistix/darkstar | scripts/globals/spells/burst_ii.lua | 4 | 1264 | -----------------------------------------
-- Spell: Burst II
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
----------... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Port_San_dOria/npcs/Coribalgeant.lua | 5 | 1075 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coribalgeant
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests")... | gpl-3.0 |
hvbommel/domoticz | dzVents/runtime/lodash.lua | 9 | 67279 | ---
-- lodash for lua
-- @module lodash
-- @author Ted Moghimi
-- @license MIT
-- 20200120; added _.isEqual ( http://lua-users.org/lists/lua-l/2014-09/msg00463.html )
local _ = {
_VERSION = '0.03'
}
--- Array
-- @section Array
---
-- Creates an array of elements split into groups the length of size.
-- If colle... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/spells/valor_minuet_ii.lua | 5 | 1536 | -----------------------------------------
-- Spell: Valor Minuet II
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0... | gpl-3.0 |
carnalis/Urho3D | bin/Data/LuaScripts/15_Navigation.lua | 11 | 22134 | -- Navigation example.
-- This sample demonstrates:
-- - Generating a navigation mesh into the scene
-- - Performing path queries to the navigation mesh
-- - Rebuilding the navigation mesh partially when adding or removing objects
-- - Visualizing custom debug geometry
-- - Raycasting drawable... | mit |
dinodeck/ninety_nine_days_of_dev | 004_stat_numbers/code/Scrollbar.lua | 10 | 2903 | Scrollbar = {}
Scrollbar.__index = Scrollbar
function Scrollbar:Create(texture, height)
local this =
{
mX = 0,
mY = 0,
mHeight = height or 300,
mTexture = texture,
mValue = 0,
mUpSprite = Sprite.Create(),
mDownSprite = Sprite.Create(),
... | mit |
Ninjistix/darkstar | scripts/zones/Mhaura/npcs/Tya_Padolih.lua | 4 | 1212 | -----------------------------------
-- Area: Mhaura
-- NPC: Tya Padolih
-- Standard Merchant NPC
-- !pos -48 -4 30 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/shop");
... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/spells/bluemagic/seedspray.lua | 31 | 2112 | -----------------------------------------
-- Spell: Seedspray
-- Delivers a threefold attack. Additional effect: Weakens defense. Chance of effect varies with TP
-- Spell cost: 61 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: VIT+1
-- Level: 61
-- Casting Time: ... | gpl-3.0 |
Xamla/torch-ros | lua/NodeHandle.lua | 1 | 19359 | --- Interface class to create subscribers, publishers, etc.
-- @classmod NodeHandle
local ffi = require 'ffi'
local torch = require 'torch'
local ros = require 'ros.env'
local utils = require 'ros.utils'
local std = ros.std
local NodeHandle = torch.class('ros.NodeHandle', ros)
function init()
local NodeHandle_metho... | bsd-3-clause |
aqasaeed/hesamm | plugins/inrealm.lua | 10 | 24043 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
Ninjistix/darkstar | scripts/globals/weaponskills/detonator.lua | 10 | 1667 | -----------------------------------
-- Detonator
-- Marksmanship weapon skill
-- Skill Level: 250
-- Delivers a single-hit attack. Damage varies with TP.
-- In order to obtain Detonator, the quest Shoot First, Ask Questions Later must be completed.
-- Despite the lack of a STR weaponskill mod, STR is still the most pot... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/items/ukonvasara.lua | 3 | 3322 | -----------------------------------------
-- ID: 19461
-- Item: Ukonvasara
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/msg");
require("scripts/globals/weaponskills");
require("scripts/globals/weaponskillids");
-----------------------------------
local NAME_WEAP... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Northern_San_dOria/Zone.lua | 4 | 3995 | -----------------------------------
--
-- Zone: Northern_San_dOria (231)
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Periqia/IDs.lua | 7 | 6561 | Periqia = {
text = {
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6381, -- You cannot obtain the <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6385, -- You cannot obtain the <item>. Try trading again after sorting your inventory.
ITEM_OBTAINED ... | gpl-3.0 |
blackman1380/antispam | plugins/plugins.lua | 4 | 5891 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
jamiepg1/MCServer | MCServer/Plugins/APIDump/Hooks/OnChunkUnloading.lua | 8 | 1082 | return
{
HOOK_CHUNK_UNLOADING =
{
CalledWhen = " A chunk is about to be unloaded from the memory. Plugins may refuse the unload.",
DefaultFnName = "OnChunkUnloading", -- also used as pagename
Desc = [[
MCServer calls this function when a chunk is about to be unloaded from the memory. A plugin may
force ... | apache-2.0 |
hvbommel/domoticz | dzVents/runtime/tests/testLodash.lua | 9 | 21814 | local scriptPath = ''
package.path = ";../?.lua;" .. scriptPath .. '/?.lua;../device-adapters/?.lua;../../../scripts/lua/?.lua;' .. package.path
describe('lodash:', function()
local _ = require 'lodash'
local utils = require('Utils')
setup(function()
_G.logLevel = 1
_G.log = function() end
_G.globalvariabl... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Windurst_Waters/npcs/Machitata.lua | 5 | 1336 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Machitata
-- Involved in Quest: Hat in Hand
-- !pos 163 0 -22 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");... | gpl-3.0 |
Xagul/forgottenserver | data/creaturescripts/scripts/droploot.lua | 19 | 1207 | function onDeath(player, corpse, killer, mostDamage, unjustified, mostDamage_unjustified)
if getPlayerFlagValue(player, PlayerFlag_NotGenerateLoot) or player:getVocation():getId() == VOCATION_NONE then
return true
end
local amulet = player:getSlotItem(CONST_SLOT_NECKLACE)
if amulet and amulet.itemid == ITEM_AMUL... | gpl-2.0 |
Ninjistix/darkstar | scripts/globals/mobskills/guillotine.lua | 4 | 1026 | ---------------------------------------------
-- Guillotine
--
-- Description: Delivers a four-hit attack. Silences enemy. Duration of effect varies with TP.
-- Type: Physical
-- Number of hits
-- Range: Melee
---------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts... | gpl-3.0 |
carnalis/Urho3D | bin/Data/LuaScripts/07_Billboards.lua | 24 | 11790 | -- Billboard example.
-- This sample demonstrates:
-- - Populating a 3D scene with billboard sets and several shadow casting spotlights
-- - Parenting scene nodes to allow more intuitive creation of groups of objects
-- - Examining rendering performance with a somewhat large object and light count
re... | mit |
dan-cleinmark/nodemcu-firmware | lua_examples/make_phone_call.lua | 75 | 3145 | --[[
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,
sublicense, and/or sell copies... | mit |
eugenesan/openwrt-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 |
Ninjistix/darkstar | scripts/globals/spells/poison_ii.lua | 3 | 1555 | -----------------------------------------
-- Spell: Poison
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
funct... | gpl-3.0 |
mt246/mt24679 | plugins/exchange.lua | 352 | 2076 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local function comma_value(n) -- credit http://richard.warburton.it
local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$')
return left..(num:reverse():gsub('... | gpl-2.0 |
mamad-ali/xilibot | plugins/exchange.lua | 352 | 2076 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local function comma_value(n) -- credit http://richard.warburton.it
local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$')
return left..(num:reverse():gsub('... | gpl-2.0 |
disslove85/NOVA-BOT | plugins/anti_bot.lua | 369 | 3064 |
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, ch... | gpl-2.0 |
RedeMinas/portal | main.lua | 1 | 1941 | --- Portal Institucional Rede Minas
-- @author: Carlos Henrique G. Paulino
-- @copyright: Aphero GPL - Fundação TV Minas Cultural e Educativa
-- ginga - ncl / lua
--- reads functions
dofile("lib_main.lua")
dofile("lib_icon.lua")
dofile("lib_tables.lua")
dofile("lib_menu.lua")
m=MainMenu:new{}
countMetric()
--- dea... | agpl-3.0 |
eugenesan/openwrt-luci | applications/luci-firewall/luasrc/tools/firewall.lua | 59 | 6016 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-2012 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
]]--
mo... | apache-2.0 |
Ninjistix/darkstar | scripts/globals/mobskills/gravitic_horn.lua | 6 | 1626 | ---------------------------------------------------
-- Gravitic Horn
-- Family: Antlion (Only used by Formiceros subspecies)
-- Description: Heavy wind, Throat Stab-like damage in a fan-shaped area of effect. Resets enmity.
-- Type: Magical
-- Can be dispelled: N/A
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Co... | gpl-3.0 |
Ninjistix/darkstar | scripts/zones/Arrapago_Reef/npcs/Runic_Portal.lua | 5 | 1428 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Runic Portal
-- Arrapago Reef Teleporter Back to Aht Urgan Whitegate
-- !pos 15 -7 627 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapa... | gpl-3.0 |
ehrenbrav/FCEUX_Learning_Environment | output/luaScripts/luabot_framework.lua | 9 | 22517 | -- LuaBot, concept bot for FCEU and snes9x and any other emu that has compatible Lua engine
-- qFox, 2 August 2008
-- version 1.07
-- Botscript data following:
-- Rom: -- ROMNAME
-- Comment: -- COMMENT
-- Version: -- VERSION
local maxvalue = 100; -- always "true", yes, pressed
local minvalue = 0; --... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.