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 |
|---|---|---|---|---|---|
salamader/ffxi-a | scripts/globals/items/loaf_of_iron_bread.lua | 2 | 1136 | -----------------------------------------
-- ID: 4499
-- Item: loaf_of_iron_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 4
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
nickbock/ElvUI_Enhanced_Again | locales/german.lua | 1 | 10858 | -- German localisation file for deDE
local L = ElvUI[1].Libs.ACL:NewLocale("ElvUI", "deDE")
if not L then return end
-- Translation by: Kaltzifar
-- Init
L["ENH_LOGIN_MSG"] = "Sie verwenden |cff1784d1ElvUI Enhanced Again|r |cffff8000(Shadowlands)|r Version %s%s|r."
L["ENH_LOGIN_MSG_WRATH"] = "You are using |c... | mit |
ddumont/darkstar | scripts/zones/Nashmau/npcs/Poporoon.lua | 16 | 1242 | -----------------------------------
-- Area: Nashmau
-- NPC: Poporoon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
aqasaeed/xbot | plugins/stats.lua | 7 | 4000 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ActionTimelineNode.lua | 11 | 1809 |
--------------------------------
-- @module ActionTimelineNode
-- @extend Node
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ActionTimelineNode] getRoot
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [paren... | mit |
ddumont/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Calliope_IM.lua | 14 | 3350 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Calliope, I.M.
-- Outpost Conquest Guards
-- @pos -40.079 -0.642 -148.785 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/East_Ronfaure/npcs/Logging_Point.lua | 13 | 1065 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/East_Ronfaure/TextIDs");
---------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/heat_rod.lua | 41 | 1097 | -----------------------------------------
-- ID: 17071
-- Item: Heat Rod
-- Additional Effect: Lightning Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
jlcvp/otxserver | data/monster/humans/acolyte_of_darkness.lua | 2 | 2911 | local mType = Game.createMonsterType("Acolyte of Darkness")
local monster = {}
monster.description = "an acolyte of darkness"
monster.experience = 200
monster.outfit = {
lookType = 9,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 578
monster.Bestiary =... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/WebEngine/006_SetAppProperties_success_flow.lua | 1 | 1768 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0240-sdl-js-pwa.md
--
-- Description:
-- Processing of the SetAppProperties request from HMI
--
-- Precondition:
-- 1. SDL and HMI are s... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/CLIMATE_RADIO/Capabilities/012_Sent_capabilities_if_HMI_doesnt_respond_to_RC_IsReady_and_responds_to_RC_GetCapabilities_RADIO.lua | 1 | 3508 | ---------------------------------------------------------------------------------------------------
-- User story: https://github.com/smartdevicelink/sdl_requirements/issues/1
-- Use case: https://github.com/smartdevicelink/sdl_requirements/blob/master/detailed_docs/detailed_info_GetSystemCapability.md
-- Item: Use Cas... | bsd-3-clause |
maddox/vlc | share/lua/intf/telnet.lua | 2 | 7964 | --[==========================================================================[
telnet.lua: VLM interface plugin
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This program is free so... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Upper_Delkfutts_Tower/Zone.lua | 12 | 2557 | -----------------------------------
--
-- Zone: Upper_Delkfutts_Tower (158)
--
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/common");
require("scripts/globals/zone");
require("scripts/globals/settin... | gpl-3.0 |
reveller/trafficserver | plugins/experimental/ts_lua/example/test_fetch.lua | 17 | 1604 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); y... | apache-2.0 |
Squeakz/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rt.lua | 13 | 1620 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Protocol/Enable_OEM_exclusive_apps_support/007_2_GetVT_no_response_initial_cap.lua | 1 | 3046 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0293-vehicle-type-filter.md
---------------------------------------------------------------------------------------------------
-- Descr... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/AppServices/SystemCapabilities/001_GetSystemCapability_success.lua | 1 | 3852 | ---------------------------------------------------------------------------------------------------
-- Precondition:
-- 1) Application 1 with <appID> is registered on SDL.
-- 2) Application 2 with <appID2> is registered on SDL.
-- 3) AppServiceProvider permissions are assigned for <appID> with PublishAppService
--... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Davoi/npcs/Bernal.lua | 13 | 1132 | -----------------------------------
-- Area: Davoi
-- NPC: Bernal
-- @pos 177 -3 -127 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/zones/Davoi/... | gpl-3.0 |
mcolmant/likwid | src/applications/likwid-setFrequencies.lua | 1 | 12005 | #!<INSTALLED_BINPREFIX>/likwid-lua
--[[
* =======================================================================================
*
* Filename: likwid-setFrequencies.lua
*
* Description: A application to set the CPU frequency of CPU cores and domains.
*
* Version: <VERSION>
* Released: ... | gpl-3.0 |
urzds/Penlight | tests/test-stringx.lua | 1 | 13831 | local stringx = require 'pl.stringx'
local utils = require 'pl.utils'
local asserteq = require 'pl.test' . asserteq
local T = require 'pl.test'.tuple
local function FIX(s)
io.stderr:write('FIX:' .. s .. '\n')
end
-- isalpha
asserteq(T(stringx.isalpha''), T(false))
asserteq(T(stringx.isalpha' '), T(false))
asserteq... | mit |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/External_UCS/External_Consent_ON/014_ATF_Policies_External_Consent_ON_disallowed_change_to_OFF_allowed.lua | 1 | 9891 | require('user_modules/script_runner').isTestApplicable({ { extendedPolicy = { "EXTERNAL_PROPRIETARY" } } })
-------------------------------------- Requirement summary -------------------------------------------
-- [Policies] External UCS: "ON" updates in userDisallowed "consent_groups" and "external_consent_status_grou... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Port_San_dOria/npcs/Meinemelle.lua | 14 | 1146 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Meinemelle
-- Type: Standard NPC
-- @zone 232
-- @pos -8.289 -9.3 -146.093
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("s... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Dynamis-Jeuno/npcs/qm1.lua | 13 | 1216 | -----------------------------------
-- Area: Dynamis Jeuno
-- NPC: ??? (Spawn when mega is defeated)
-----------------------------------
package.loaded["scripts/zones/Dynamis-Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Dynamis-Jeuno/TextIDs");... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Walls/npcs/Zokima-Rokima.lua | 14 | 2914 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Zokima-Rokima
-- Starts Windurst Missions
-- @pos 0 -16 124 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-----------------------------------
re... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Manaclipper/npcs/Gniyah_Mischatt.lua | 13 | 1029 | -----------------------------------
-- Area: Manaclipper
-- NPC: Gniyah Mischatt
-- Type: Adventurer's Assistant
-- @pos 0.033 -4 2.725 3
-----------------------------------
package.loaded["scripts/zones/Manaclipper/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Manaclipper/TextIDs");... | gpl-3.0 |
lshain-android-source/external-skia | tools/lua/scrape.lua | 145 | 2246 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Metalworks/npcs/Mighty_Fist.lua | 12 | 2683 | -----------------------------------
-- Area: Metalworks
-- NPC: Mighty Fist
-- Starts & Finishes Quest: The Darksmith (R)
-- Involved in Quest: Dark Legacy
-- @pos -47 2 -30 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/VehicleData/GenericNetworkSignalData/023_VehicleDataItems_only_mandatory.lua | 1 | 2992 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0173-Read-Generic-Network-Signal-data.md
--
-- Description: Processing of the custom VD item only with mandatory parameters
-- Precondi... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Batallia_Downs/mobs/Stalking_Sapling.lua | 14 | 1076 | -----------------------------------
-- Area: Batallia Downs
-- MOB: Stalking Sapling
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/Batallia_Downs/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/roshamuul/minion_of_gaz'haragoth.lua | 2 | 2251 | local mType = Game.createMonsterType("Minion of Gaz'haragoth")
local monster = {}
monster.description = "a minion of Gaz'haragoth"
monster.experience = 0
monster.outfit = {
lookType = 590,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 5500
monster.maxH... | gpl-2.0 |
ddumont/darkstar | scripts/globals/abilities/pets/flaming_crush.lua | 29 | 1356 | ---------------------------------------------------
-- Flaming Crush M=10, 2, 2? (STILL don't know)
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/summon");
require("scripts/globals/magic");
require("scripts/globals/m... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/build_options/100_ATF_PTU_Transfer_Several_Apps_Different_HMI_Levels_PROPRIETARY.lua | 1 | 7639 | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [PolicyTableUpdate] Requirements for HMILevel of the application(s) taking part in Policy Update
--
-- Description:
-- Policies Manager must randomly select the application through which to send the ... | bsd-3-clause |
jlcvp/otxserver | data/scripts/actions/other/costume_bags.lua | 2 | 1117 | local config = {
[653] = {'orc warrior', 'pirate cutthroat', 'dworc voodoomaster', 'dwarf guard', 'minotaur mage', 'ogre shaman', 'ogre brute', 'rat'}, -- common
[655] = {'serpent spawn', 'demon', 'juggernaut', 'behemoth', 'ashmunrah', 'vexclaw', 'grimeleech', 'hellflayer', 'black sheep'}, -- uncommon
[654] = {'quar... | gpl-2.0 |
jlcvp/otxserver | data/monster/quests/cults_of_tibia/animated_rhino.lua | 2 | 2318 | local mType = Game.createMonsterType("Animated Stone Rhino")
local monster = {}
monster.description = "an animated stone rhino"
monster.experience = 1800
monster.outfit = {
lookType = 936,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 3000
monster.maxH... | gpl-2.0 |
reveller/trafficserver | plugins/experimental/ts_lua/example/test_global_hook.lua | 17 | 1783 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); y... | apache-2.0 |
jlcvp/otxserver | data/scripts/spells/attack/brutal_strike.lua | 2 | 1169 | local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WEAPONTYPE)
combat:setParameter(COMBAT_PARAM_BLOCKARMOR, 1)
combat:setParameter(COMBAT_PARAM_USECHARGES, 1)
functio... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ghatsad.lua | 14 | 29298 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ghatsad
-- Standard Info NPC
-- Involved in quest: No String Attached
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/common");
... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/Treasure_Chest.lua | 14 | 3746 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Treasure Chest
-- Involved In Quest: Wings of Gold
-- @pos -380 -143 23 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua | 50 | 5024 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Miah Riyuh
-- @pos 5.323 -2 37.462 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyite... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Chest.lua | 17 | 3798 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Treasure Chest
-- Involved In Quest: The Goblin Tailor
-- @zone 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requi... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/ogre_eel.lua | 12 | 1398 | -----------------------------------------
-- ID: 4481
-- Item: ogre_eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Port_San_dOria/npcs/Rielle.lua | 17 | 1399 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Rielle
-- 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 |
mc-server/MCServer | Server/Plugins/Debuggers/Inject.lua | 14 | 1275 | -- Inject.lua
-- This file gets injected into the Core plugin when testing the inter-plugin calls with the "testcall" command
-- However, since this is a .lua file, it also gets loaded into the Debuggers plugin, so we need to distinguish the two
--- Prints the specified table to the log, using the specified inden... | apache-2.0 |
Squeakz/darkstar | scripts/globals/items/grape_daifuku+1.lua | 35 | 1864 | -----------------------------------------
-- ID: 6344
-- Item: grape_daifuku+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP + 30 (Pet & Master)
-- Vitality + 4 (Pet & Master)
-- Master MAB + 4 , Pet MAB + 15
-- Accuracy + 11% Cap: 70 (Pet & Master) Pet Cap: 81
----------------------... | gpl-3.0 |
miladb79/fox | plugins/map.lua | 13 | 2262 | do
local api_key = nil
local base_api = "https://maps.googleapis.com/maps/api"
local function get_staticmap(area)
local api = base_api.."/staticmap?"
local lat,lng,acc,types = get_latlong(area)
local scale = types[1]
if scale=="locality" then
zoom=8
elseif scale=="country" then
zoom=4
else
zoom = 13
end
l... | gpl-2.0 |
jlcvp/otxserver | data/monster/quests/the_secret_library/rift_breacher.lua | 2 | 2213 | local mType = Game.createMonsterType("Rift Breacher")
local monster = {}
monster.description = "a rift breacher"
monster.experience = 0
monster.outfit = {
lookType = 875,
lookHead = 0,
lookBody = 38,
lookLegs = 91,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 10000
monster.maxHealth = 10000
m... | gpl-2.0 |
mohammad24/newtinx | plugins/sticker_lock.lua | 39 | 19259 | -- data saved to data/moderation.json
do
local administrators_only = 'For administrator only!'
local moderators_only = 'For moderators only!'
local function create_group(msg)
if not is_admin(msg) then return administrators_only end
local group_creator = msg.from.print_name
create_group_chat (group_creator, grou... | gpl-2.0 |
DeinFreund/Zero-K-Infrastructure | Benchmarker/Benchmarks/games/ca-benchmark.sdd/LuaRules/main.lua | 12 | 2372 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file:
-- brief:
-- author: jK
--
-- Copyright (C) 2007.
-- Licensed under the terms of the GNU GPL, v2 or later.
--
--------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Carpenters_Landing/npcs/relic.lua | 14 | 1880 | -----------------------------------
-- Area: Carpenter's Landing
-- NPC: <this space intentionally left blank>
-- @pos -99 -0 -514 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Carpenters_Landing/TextI... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | user_modules/shared_testcases/testCasesForFloatParameter.lua | 1 | 2594 | --This script contains all test cases to verify Float parameter
--How to use:
--1. local integerParameter = require('user_modules/shared_testcases/testCasesForFloatParameter')
--2. integerParameter:verify_Float_Parameter(Request, Parameter, Boundary, Mandatory)
--------------------------------------------------------... | bsd-3-clause |
jorgifumi/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua | 29 | 3928 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local util = require "nixio.util"
local has_fscheck = fs.access("/usr/sbin/e2fsck")
local block = io.popen("block info", "r")
local ln, dev, devices = nil, nil, {}
repeat
ln =... | apache-2.0 |
ShaPOC/iamlimitless.nl-portfolio | munchy-in-lua/src/System/device.lua | 1 | 1652 | ---[[
-- @package Monster Munchies
-- @author Jimmy Aupperlee <jimmy@moustachegames.net>
-- @copyright 2014 Jimmy Aupperlee
-- @license http://moustachegames.net/code-license
-- @version 0.1.0
-- @since File available since Release 0.1.0
--]]
local device = {}
device.__index = device
device._... | lgpl-3.0 |
ddumont/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fp.lua | 14 | 2654 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: West Plate
-- @pos 128 -34 20 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- ... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/cults_of_tibia/bosses/pillars/pillar_of_draining.lua | 2 | 1694 | local mType = Game.createMonsterType("Pillar Of Draining")
local monster = {}
monster.description = "a pillar of draining"
monster.experience = 0
monster.outfit = {
lookTypeEx = 11427
}
monster.health = 20000
monster.maxHealth = 20000
monster.race = "undead"
monster.corpse = 0
monster.speed = 0
monster.manaCost = 0
... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/effects/sigil.lua | 32 | 3008 | -----------------------------------
--
-- EFFECT_SIGIL
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower(); -- Tracks which bonus effects are in use.
local sub... | gpl-3.0 |
jchuang1977/luci-1 | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua | 68 | 3021 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
local function find_outgoing_contexts(uci)
local c = { }
local h = { }
-- uci:foreach("asterisk", "dialplan",
-- function(s)
-- if not h[s['.name']] then
-- c[#c+1]... | apache-2.0 |
ddumont/darkstar | scripts/zones/Kazham/npcs/Mitti_Haplihza.lua | 17 | 1072 | -----------------------------------
-- Area: Kazham
-- NPC: Mitti Haplihza
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
jlcvp/otxserver | data/scripts/spells/monster/feroxa_summon.lua | 2 | 1533 | local summons = {
[1] = {name = "Werewolf"}
}
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_NONE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_TELEPORT)
arr = {
{0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0... | gpl-2.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/extension/DeprecatedExtensionFunc.lua | 61 | 1351 | if nil == cc.Control then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of CCControl will be deprecated end
local CCControlDeprecated = { }
function CCControlDeprecated.ad... | mit |
elverion/rom-bot | gitupdate.lua | 1 | 4529 |
local gitForWindowsUrl = 'https://git-scm.com/download/win';
local url = 'https://github.com/SolarStrike-Software/rom-bot.git';
local branch = nil; -- Leave as nil to use master, or specify another branch here.
local scriptName = fixSlashes(args[1]);
local options = {
force = false;
};
for i = 2,#args do
local arg... | mit |
Squeakz/darkstar | scripts/zones/Kazham-Jeuno_Airship/Zone.lua | 32 | 1399 | -----------------------------------
--
-- Zone: Kazham-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
-----------------------------------
fu... | gpl-3.0 |
jlcvp/otxserver | data/monster/humanoids/orc_rider.lua | 2 | 2801 | local mType = Game.createMonsterType("Orc Rider")
local monster = {}
monster.description = "an orc rider"
monster.experience = 110
monster.outfit = {
lookType = 4,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 4
monster.Bestiary = {
class = "Humanoid"... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/External_UCS/Informing_HMI/019_ATF_N_GetListofPermissions_empty_due_to_invalid_param_entityType_OnAppPermissionChange.lua | 1 | 7351 | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [Policies] [External UCS] SDL informs HMI about <externalConsentStatus> via GetListOfPermissions response
-- [HMI API] GetListOfPermissions request/response
-- [HMI API] ExternalConsentStatus struct ... | bsd-3-clause |
evgeni/sysdig | userspace/sysdig/chisels/around.lua | 12 | 3605 | --[[
Copyright (C) 2014 Draios inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even t... | gpl-2.0 |
ff-kbu/fff-luci | applications/luci-polipo/luasrc/model/cbi/polipo.lua | 79 | 5961 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
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
$Id$... | apache-2.0 |
ddumont/darkstar | scripts/zones/Horlais_Peak/bcnms/under_observation.lua | 30 | 1739 | -----------------------------------
-- Area: Horlias peak
-- Name: under_observation
-- BCNM40
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXAMP... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Dynamis-Windurst/mobs/Xoo_Kaza_the_Solemn.lua | 17 | 1160 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Xoo Kaza the Solemn
-- Boss Trigger for RDM NM
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- o... | gpl-3.0 |
vorbi123/testt | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
ddumont/darkstar | scripts/globals/abilities/pets/glittering_ruby.lua | 26 | 1148 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(pla... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/abilities/pets/glittering_ruby.lua | 26 | 1148 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(pla... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/CLIMATE_RADIO/GetInteriorVehicleData/007_GENERIC_ERROR_in_case_HMI_did_not_respond.lua | 1 | 1986 | ---------------------------------------------------------------------------------------------------
-- User story: https://github.com/smartdevicelink/sdl_requirements/issues/2
-- Use case: https://github.com/smartdevicelink/sdl_requirements/blob/master/detailed_docs/RC/current_module_status_data.md
-- Item: Use Case 1:... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Castle_Oztroja/npcs/_47m.lua | 13 | 1612 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47m (Torch Stand)
-- Notes: Opens door _471 near password #3
-- @pos -45.230 -17.832 17.668 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
KnightHawk3/awesome | themes/brs/theme.lua | 1 | 5316 | -------------------------------
-- "Zenburn" awesome theme --
-- By Adrian C. (anrxc) --
-------------------------------
-- Alternative icon sets and widget icons:
-- * http://awesome.naquadah.org/wiki/Nice_Icons
-- {{{ Main
theme = {}
-- theme.wallpaper = "/usr/share/awesome/themes/zenburn/zenburn-background... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/rolanberry_(874_ce).lua | 18 | 1184 | -----------------------------------------
-- ID: 4530
-- Item: rolanberry_874_ce)
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
ddumont/darkstar | scripts/zones/La_Theine_Plateau/Zone.lua | 9 | 8508 | -----------------------------------
--
-- Zone: La_Theine_Plateau (102)
--
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/La_Theine_Plateau/TextIDs")... | gpl-3.0 |
djkamran021/wadertg-api | plugins/info.lua | 10 | 9279 | --[[
Add phone by : @WaderTGTeam tnx to : @WaderTGTeam
]]
do
local sudo = 136888679 --put your id here(BOT OWNER ID)
local function setrank(msg, name, value) -- setrank function
local hash = nil
if msg.to.type == 'channel' then
hash = 'rank:variables'
end
if hash then
redis:hset(hash, name, value)
ret... | gpl-2.0 |
mc-server/MCServer | Server/Plugins/APIDump/Classes/Plugins.lua | 3 | 30011 | return
{
cPlugin =
{
Desc = "cPlugin describes a Lua plugin. Each plugin has its own cPlugin object.",
Functions =
{
GetDirectory =
{
Returns =
{
{
Type = "string",
},
},
Notes = "<b>OBSOLETE</b>, use GetFolderName() instead!",
},
GetFolderName =
{
Returns =
... | apache-2.0 |
Planimeter/grid-sdk | game/client/gui/hudchat.lua | 1 | 4198 | --=========== Copyright © 2019, Planimeter, All rights reserved. ===========--
--
-- Purpose: Chat HUD
--
--==========================================================================--
class "gui.hudchat" ( "gui.hudframe" )
local hudchat = gui.hudchat
function hudchat:hudchat( parent )
local name = "HUD Chat"
gui.... | mit |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/Expanded_proprietary_data_exchange/007_System_onSystemRequest_without_requestSubType_in_ptu.lua | 1 | 2558 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0083-Expandable-design-for-proprietary-data-exchange.md
-- User story:TBD
-- Use case:TBD
--
-- Requirement summary:
-- TBD
--
-- Descri... | bsd-3-clause |
WebShark025/NortTM | plugins/anti_spam.lua | 191 | 5291 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- 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... | mit |
jlcvp/otxserver | data/monster/constructs/orewalker.lua | 2 | 4316 | local mType = Game.createMonsterType("Orewalker")
local monster = {}
monster.description = "an orewalker"
monster.experience = 4800
monster.outfit = {
lookType = 490,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 883
monster.Bestiary = {
class = "Cons... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/items/serving_of_crimson_jelly.lua | 18 | 1411 | -----------------------------------------
-- ID: 5144
-- Item: serving_of_crimson_jelly
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 12
-- Magic Cap 85
-- Intelligence 6
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Port_Windurst/npcs/Honorio.lua | 13 | 1388 | -----------------------------------
-- Area: Port Windurst
-- NPC: Honorio
-- @zone 240
-- @pos 218 -5 114
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/IsReady/TTS_IsReady/NotUsed/ATF_TTS_IsReady_NotRespond_RegisterApp.lua | 1 | 49909 | config.defaultProtocolVersion = 2
---------------------------------------------------------------------------------------------
---------------------------- Required Shared libraries --------------------------------------
---------------------------------------------------------------------------------------------
lo... | bsd-3-clause |
mcolmant/likwid | src/applications/likwid-genTopoCfg.lua | 1 | 6081 | #!<INSTALLED_BINPREFIX>/likwid-lua
--[[
* =======================================================================================
*
* Filename: likwid-genTopoCfg.lua
*
* Description: A application to create a file of the underlying system configuration
* that is used by likwid to av... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/plate_of_vegan_sautee.lua | 18 | 1386 | -----------------------------------------
-- ID: 5184
-- Item: plate_of_vegan_sautee
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-- Ranged ACC % 7
-- Ranged ACC Cap 20
-----------------------------------------
require("scripts/globals/status");
-------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Waters/npcs/Yuli_Yaam.lua | 14 | 1915 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yuli Yaam
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -61 -4 23
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Resauchamet.lua | 17 | 1028 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Resauchamet
-- Standard Info NPC
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- onTrig... | gpl-3.0 |
jlcvp/otxserver | data/monster/vermins/lancer_beetle.lua | 2 | 3191 | local mType = Game.createMonsterType("Lancer Beetle")
local monster = {}
monster.description = "a lancer beetle"
monster.experience = 275
monster.outfit = {
lookType = 348,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 633
monster.Bestiary = {
class =... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/8_0/2810_2_unexpected_disconnect_during_video_streaming.lua | 1 | 1772 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/2810
---------------------------------------------------------------------------------------------------
-- Description: Check that SDL sends required messages... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ozzmo-Mazmo.lua | 14 | 1066 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ozzmo-Mazmo
-- Type: Standard NPC
-- @zone 94
-- @pos -61.677 -13.311 106.400
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Kazham/TextIDs.lua | 7 | 1973 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6385; -- Obtained: <item>.
GIL_OBTAINED = 6386; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6388; -- Obtai... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/AppServices/PublishAppService/003_Nav_success_flow.lua | 1 | 3220 | ---------------------------------------------------------------------------------------------------
-- Precondition:
-- 1) Application with <appID> is registered on SDL.
-- 2) AppServiceProvider permissions are assigned for <appID> with PublishAppService
--
-- Steps:
-- 1) Application sends a PublishAppService RP... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Rolanberry_Fields/npcs/Legion_Tome.lua | 29 | 1134 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Legion Tome
-- Legion NPC
-- @pos 238 24 469 110
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/weaponskills/blade_ten.lua | 11 | 1400 | -----------------------------------
-- Blade Ten
-- Katana weapon skill
-- Skill Level: 225
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers: STR:30% ; DEX:... | gpl-3.0 |
alireza98/z | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
satanoff/testantispam | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Disserond_RK.lua | 13 | 1082 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Disserond, R.K.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos 76.178 -60.763 -48.775
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Western_Adoulin/npcs/Berstrogus.lua | 14 | 1069 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Berstrogus
-- Type: Standard NPC
-- @zone 256
-- @pos -44 4 -10
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(p... | gpl-3.0 |
ddumont/darkstar | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.