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 |
|---|---|---|---|---|---|
legatvs/libquvi-scripts | share/lua/website/tcmag.lua | 4 | 2776 |
-- libquvi-scripts
-- Copyright (C) 2011 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... | agpl-3.0 |
ddumont/darkstar | scripts/zones/Dynamis-San_dOria/mobs/Overlord_s_Tombstone.lua | 22 | 1435 | -----------------------------------
-- Area: Dynamis San d'Oria
-- MOB: Overlord's Tombstone
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob... | gpl-3.0 |
8devices/luci | applications/luci-radvd/luasrc/model/cbi/radvd/rdnss.lua | 4 | 2640 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 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
$Id$
]]--
lo... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/TheSameApp/Policies/FunctionalGroups_RPC/001_Send_RPC_two_apps_with_same_appName_appID_DIFF_devices.lua | 1 | 4047 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0204-same-app-from-multiple-devices.md
-- Description:
-- Check of sending RPC on different functional groups by two mobile applicati... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Port_Bastok/npcs/Agapito.lua | 14 | 1947 | -----------------------------------
-- Area: Port Bastok
-- NPC: Agapito
-- Start & Finishes Quest: The Stars of Ifrit
-- @zone 236
-- @pos -72.093 -3.097 9.309
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cg.lua | 13 | 1055 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cg (Gate of Fire)
-- @pos -332 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");
... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/dhalmel_steak.lua | 18 | 1376 | -----------------------------------------
-- ID: 4438
-- Item: dhalmel_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -1
-- Attack % 25
-- Attack Cap 45
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/dish_of_spaghetti_peperoncino.lua | 12 | 1487 | -----------------------------------------
-- ID: 5188
-- Item: dish_of_spaghetti_peperoncino
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 30
-- Health Cap 70
-- Vitality 2
-- Store TP +6
-- Resist virus +5
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
aqasaeed/spartair | plugins/owners.lua | 284 | 12473 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
sogandmusic/sogbot | plugins/owners.lua | 284 | 12473 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
satanoff/testantispam | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/items/holy_maul_+1.lua | 41 | 1077 | -----------------------------------------
-- ID: 17114
-- Item: Holy Maul +1
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/SDL5_0/Handling_VR_help_requests/030_SetGlobalProp_only_without_successful_deleted_commands.lua | 1 | 2473 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0122-New_rules_for_providing_VRHelpItems_VRHelpTitle.md
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary: TBD
--
-- Descrip... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Adelbrecht.lua | 53 | 4980 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Adelbrecht
-- Starts Quests: The Fighting Fourth
-- Involved in Missions: Back to the Beginning
-- CS IDs:
-- 139 = 0x008B = Greetings, civilian. The Seventh Cohors of the Republican Legion's Fourth Division is currently recruiting new troops.
-- ... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/SDL5_0/TemplateColorSchemes/003_TemplateColorSchemes_setDisplayWithSameColorsSuccess.lua | 1 | 3113 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0147-template-color-scheme.md
--
-- Description:
-- SDL Core should track the number of attempted SetDisplayLayout requests with the cur... | bsd-3-clause |
cp1337/devland | data/npc/scripts/lib/npc.lua | 1 | 6111 | do
doPlayerAddStackable = doPlayerAddItem
--Returns table with UIDs of added items
doPlayerAddItem = function(cid, itemid, subType, amount)
local amount = amount or 1
local subAmount = 0
local subType = subType or 0
if(isItemStackable(itemid) == TRUE) then
return doPlayerAddStackable(cid, itemid... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Dallus-Mallus.lua | 13 | 1074 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Dallus-Mallus
-- Type: Campaign Intel Advisor
-- @zone: 94
-- @pos -13.666 -2 26.180
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/The_Shrouded_Maw/npcs/MementoCircle.lua | 13 | 1441 | -----------------------------------
-- Area: The_Shrouded_Maw
-- NPC: MementoCircle
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/missi... | gpl-3.0 |
kennethlombardi/moai-graphics | engine/editor/createHorseLayer.lua | 1 | 1146 | dofile("Pickle.lua")
layer1 = {
type = "Layer",
name = "horseLayer.lua",
visible = "true",
propContainer = {},
position = {x = 0, y = 0, z = 0},
scripts = {"3DCameraMovement.lua"}
};
--horse
scale = 2.5;
for i = 1, 1, 1 do
horse = {
type = "Model",
fileName ... | mit |
tigran123/kindlepdfviewer | unireader.lua | 1 | 111579 | require "keys"
require "settings"
require "selectmenu"
require "commands"
require "helppage"
require "dialog"
require "defaults"
UniReader = {
-- "constants":
ZOOM_BY_VALUE = 0,
ZOOM_FIT_TO_PAGE = -1,
ZOOM_FIT_TO_PAGE_WIDTH = -2,
ZOOM_FIT_TO_PAGE_HEIGHT = -3,
ZOOM_FIT_TO_CONTENT = -4,
ZOOM_FIT_TO_CONTENT_WIDTH ... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Apollyon/mobs/Cornu.lua | 4 | 1134 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Sirins
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Repeat.lua | 11 | 2502 |
--------------------------------
-- @module Repeat
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- Sets the inner action.<br>
-- param action The inner action.
-- @function [parent=#Repeat] setInnerAction
-- @param self
-- @param #cc.FiniteTimeAction action
-- @return Repeat#Repea... | mit |
Squeakz/darkstar | scripts/globals/mobskills/Necrobane.lua | 43 | 1075 | ---------------------------------------------
-- Necrobane
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMobSkillCheck(target,mob,skill)
if(mob:g... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/weaponskills/blade_hi.lua | 2 | 1653 | -----------------------------------
-- Blade Hi
-- Katana weapon skill
-- Skill level: N/A
-- Description: Deals quadruple damage. Chance of params.critical hit varies with TP. Kannagi: Aftermath.
-- Available only when equipped with Kannagi (85)/(90)/(95)/(99) or Tobi +1/+2/+3.
-- Aligned with the Shadow Gorget & Soil... | gpl-3.0 |
cp1337/devland | data/npc/scripts/Olfera/book.lua | 1 | 6119 | local focus = 0
local talk_start = 0
local focuses = {}
local function isFocused(cid)
for i, v in pairs(focuses) do
if(v == cid) then
return true
end
end
return false
end
local function addFocus(cid)
if(not isFocused(cid)) then
table.insert(focuses, cid)
end
end
local function removeFocu... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Bastok_Markets/npcs/Somn-Paemn.lua | 12 | 1581 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Somn-Paemn
-- Only sells when Bastok has control of Sarutabaruta
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.lo... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/user_consent_of_Policies/199_ATF_appPermissionsConsentNeeded_true.lua | 1 | 5184 | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [Policies]: User consent required on permissions change
-- [Policies] GetListOfPermissions with appID
-- [HMI API] OnAppPermissionChanged notification
--
-- Description:
-- Local PT is successfully u... | bsd-3-clause |
8devices/luci | applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua | 11 | 1043 | --[[
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 |
fegimanam/spm1 | plugins/sp.lua | 42 | 75166 | local function run(msg)
if msg.text == "[!/]spam" then
return "".. [[
... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Port_Windurst/npcs/Aroro.lua | 17 | 1675 | -----------------------------------
-- Area: Port Windurst
-- NPC: Aroro
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
-----... | gpl-3.0 |
jlcvp/otxserver | data/monster/magicals/flying_book.lua | 2 | 2237 | local mType = Game.createMonsterType("Flying Book")
local monster = {}
monster.description = "a flying book"
monster.experience = 200
monster.outfit = {
lookType = 1060,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1654
monster.Bestiary = {
class = "... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/items/serving_of_bavarois.lua | 18 | 1192 | -----------------------------------------
-- ID: 5729
-- Item: serving_of_bavarois
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP 20
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Apollyon/Zone.lua | 31 | 11702 | -----------------------------------
--
-- Zone: Apollyon
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/limbus");
-----------------------------------
-- onInitiali... | gpl-3.0 |
ddumont/darkstar | scripts/zones/The_Boyahda_Tree/TextIDs.lua | 7 | 1397 | -- 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; -- Obtained k... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/MultipleModules/ModulesAllocation/036_MultipleAccess_default_RA_userLocation_not_within_serviceArea.lua | 1 | 4776 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0221-multiple-modules.md
-- Description:
-- Check allocation/reallocation of RC module to mobile application in case:
-- - RC modul... | bsd-3-clause |
ff-kbu/fff-luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-app.lua | 137 | 15546 | cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "")
app_alarmreceiver:value("yes", "Load")
app_alarmreceiver:value("no", "Do Not Load")
app_al... | apache-2.0 |
ddumont/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fubruhn.lua | 17 | 5863 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fubruhn
-- Mog Locker NPC
--
-- Event IDs:
-- 0x0258 = Not a mercenary + mog locker options
-- 1st arg = Amount of time left on lease, as seconds past 2001/12/31 15:00:00.
-- If this is 0, it shows the not a mecenary message instead.
-- ... | gpl-3.0 |
jlcvp/otxserver | data/monster/mammals/dromedary.lua | 2 | 2384 | local mType = Game.createMonsterType("Dromedary")
local monster = {}
monster.description = "a dromedary"
monster.experience = 0
monster.outfit = {
lookType = 404,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 733
monster.Bestiary = {
class = "Mammal",... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/abilities/curing_waltz_iii.lua | 19 | 2193 | -----------------------------------
-- Ability: Curing Waltz III
-- Heals HP to target player.
-- Obtained: Dancer Level 45
-- TP Required: 50%
-- Recast Time: 00:10
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAb... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/dangerous_depth/bosses/the_duke_of_the_depths.lua | 2 | 4796 | local mType = Game.createMonsterType("The Duke Of The Depths")
local monster = {}
monster.description = "The Duke Of The Depths"
monster.experience = 40000
monster.outfit = {
lookType = 1047,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 50000
monster.... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Castle_Oztroja/mobs/Moo_Ouzi_the_Swiftblade.lua | 4 | 1054 | -----------------------------------
-- Area: Castle Oztroja (151)
-- MOB: Moo_Ouzi_the_Swiftblade
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player, isKiller)
if (math.random(1,100) <= 14) then -- Hardcoded "... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Port_Bastok/npcs/Ominous_Cloud.lua | 14 | 6572 | -----------------------------------
-- 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 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EaseBounceOut.lua | 9 | 1262 |
--------------------------------
-- @module EaseBounceOut
-- @extend EaseBounce
-- @parent_module cc
--------------------------------
-- brief Create the action with the inner action.<br>
-- param action The pointer of the inner action.<br>
-- return A pointer of EaseBounceOut action. If creation failed, return nil.
... | mit |
slyon/MoonGen | lua/include/proto/tcp.lua | 1 | 15069 | ------------------------------------------------------------------------
--- @file tcp.lua
--- @brief Transmission control protocol (TCP) utility.
--- Utility functions for the tcp_header struct
--- defined in \ref headers.lua . \n
--- Includes:
--- - TCP constants
--- - TCP header utility
--- - Definition of TCP packe... | mit |
smartdevicelink/sdl_atf_test_scripts | user_modules/shared_testcases/commonSteps.lua | 1 | 16452 | --This script contains common steps that are used in many test cases:
--1. ActivationApp
--2. DeactivateAppToNoneHmiLevel
--3. ChangeHMIToLimited
--4. RegisterTheSecondMediaApp
--5. ActivateTheSecondMediaApp_TheFirstAppIsBACKGROUND
--6. PutFile
--7. Unregister application
--8. Register application
--9. StartSession
--1... | bsd-3-clause |
Squeakz/darkstar | scripts/globals/mobskills/Crosswind.lua | 35 | 1039 | ---------------------------------------------
-- Crosswind
--
-- Description: Deals Wind damage to enemies within a fan-shaped area. Additional effect: Knockback
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
require("script... | gpl-3.0 |
behzadrkn/Fire-Bot | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Abyssea-Altepa/npcs/qm4.lua | 14 | 1386 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: qm4 (???)
-- Spawns Emperor de Altepa
-- @pos ? ? ? 218
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trad... | gpl-3.0 |
jlcvp/otxserver | data/monster/mammals/polar_bear.lua | 2 | 2225 | local mType = Game.createMonsterType("Polar Bear")
local monster = {}
monster.description = "a polar bear"
monster.experience = 28
monster.outfit = {
lookType = 42,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 42
monster.Bestiary = {
class = "Mammal"... | gpl-2.0 |
iNavFlight/LuaTelemetry | src/iNav/load.lua | 1 | 1204 | local config, data, FILE_PATH = ...
-- Load config for model
fh = io.open(FILE_PATH .. "cfg/" .. model.getInfo().name .. ".dat")
if fh ~= nil then
for i = 1, #config do
local tmp = io.read(fh, config[i].c)
if tmp ~= "" then
config[i].v = config[i].d == nil and math.min(tonumber(tmp), config[i].x == nil and 1 o... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Abyssea-Grauberg/Zone.lua | 33 | 1488 | -----------------------------------
--
-- Zone: Abyssea - Grauberg
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Grauberg... | gpl-3.0 |
antsago/awesome | lib/freedesktop/menu.lua | 8 | 3706 | -- Grab environment
local utils = require("freedesktop.utils")
local io = io
local string = string
local table = table
local os = os
local ipairs = ipairs
local pairs = pairs
module("freedesktop.menu")
all_menu_dirs = {
'/usr/share/applications/',
'/usr/local/share/applications/',
'~/.local/share/applicat... | mit |
mohamadmtf/norton | plugins/groupLimiter.lua | 1 | 2093 | local filename='data/expire.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, file... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/Policy_Table_Update/140_ATF_timeout_countdown_start.lua | 1 | 6140 | ---------------------------------------------------------------------------------------------
-- Requirements summary:
-- [PolicyTableUpdate] "timeout" countdown start
--
-- Description:
-- SDL must forward OnSystemRequest(request_type=PROPRIETARY, url, appID) with encrypted PTS
-- snapshot as a hybrid data to mobile a... | bsd-3-clause |
ff-kbu/fff-luci | applications/luci-p910nd/luasrc/model/cbi/p910nd.lua | 74 | 1512 | --[[
LuCI p910nd
(c) 2008 Yanira <forum-2008@email.de>
(c) 2012 Jo-Philipp Wich <jow@openwrt.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... | apache-2.0 |
Squeakz/darkstar | scripts/globals/items/serving_of_mushroom_sautee.lua | 18 | 1291 | -----------------------------------------
-- ID: 5676
-- Item: serving_of_mushroom_sautee
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- MP 60
-- Mind 6
-- MP Recovered While Healing 6
-----------------------------------------
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
evgeni/sysdig | userspace/sysdig/chisels/topfiles_errors.lua | 12 | 1637 | --[[
Copyright (C) 2013-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 e... | gpl-2.0 |
jorgifumi/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua | 73 | 1191 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("Unixsock Plugin Configuration"),
translate(
"The unixsock plugin creates a unix socket which can be used " ..
"to read collected data from a running... | apache-2.0 |
albmarvil/The-Eternal-Sorrow | Exes/media/LUA/Scripts/triggerTutorialScript.lua | 2 | 1035 | -- author: Cesar Manuel Paz Guzman
class 'triggerTutorialScript' (CScriptEntity)
--Atributo privado __init. Se trata del constructor de esa clase
function triggerTutorialScript:__init()
--super(self, "hoa")
CScriptEntity.__init(self)
end
function triggerTutorialScript:spawn(entityInfo)
return true
end
function ... | apache-2.0 |
jchuang1977/luci-1 | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/interface.lua | 68 | 1060 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
m = Map("luci_statistics",
translate("Interface Plugin Configuration"),
translate(
"The interface plugin collects traffic statistics on " ..
"selected interfaces."
... | apache-2.0 |
Planimeter/grid-sdk | game/client/gui/hudmoveindicator.lua | 1 | 9898 | --=========== Copyright © 2019, Planimeter, All rights reserved. ===========--
--
-- Purpose: Move Indicator HUD
--
--==========================================================================--
class "gui.hudmoveindicator" ( "gui.box" )
local hudmoveindicator = gui.hudmoveindicator
function hudmoveindicator:hudmove... | mit |
mentor81/TeleK2H | plugins/ingroup.lua | 202 | 31524 | do
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
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
aqasaeed/spartair | plugins/ingroup.lua | 202 | 31524 | do
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
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/VehicleData/UnsubscribeVehicleData/010_UnsubscribeVD_for_2_apps_Expected_Disconnect.lua | 1 | 2822 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/2283
--
-- Description: Check that SDL processes UnsubscribeVehicleData RPC for two Apps with <vd_param> parameters
-- during an unregistration of App
--
-- P... | bsd-3-clause |
ForrestMarkX/glua-ZombieMaster | entities/weapons/weapon_zm_revolver.lua | 1 | 3569 | AddCSLuaFile()
DEFINE_BASECLASS("weapon_zm_base")
if CLIENT then
SWEP.PrintName = "Revolver"
SWEP.ViewModelFlip = false
SWEP.ViewModelFOV = 50
SWEP.WeaponSelectIconLetter = "e"
end
SWEP.Author = "Mka0207 & Forrest Mark X"
SWEP.Slot ... | apache-2.0 |
ddumont/darkstar | scripts/globals/weaponskills/raiden_thrust.lua | 23 | 1302 | -----------------------------------
-- Raiden Thrust
-- Polearm weapon skill
-- Skill Level: 70
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: Lightning
-- Modifiers: STR:40% ; INT:40%
-- ... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm18.lua | 17 | 1692 | -----------------------------------
-- Zone: Abyssea-Misereaux
-- NPC: ???
-- Spawns: Amhuluk
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(pla... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fh.lua | 13 | 1077 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 110 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
-----... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/spells/armys_paeon.lua | 27 | 1361 | -----------------------------------------
-- Spell: Army's Paeon
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Luck_Rune.lua | 14 | 1060 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos -95.486 11.188 418.153 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Yuht... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Kazham/npcs/Ronta-Onta.lua | 14 | 4485 | -----------------------------------
-- Area: Kazham
-- NPC: Ronta-Onta
-- Starts and Finishes Quest: Trial by Fire
-- @pos 100 -15 -97 250
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
reveller/trafficserver | lib/luajit/src/jit/dis_ppc.lua | 88 | 20319 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | apache-2.0 |
ddumont/darkstar | scripts/zones/Metalworks/npcs/Fariel.lua | 15 | 2148 | -----------------------------------
-- Area: Metalworks
-- NPC: Fariel
-- Type: Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
require("scripts/globals/pathfind");
local p... | gpl-3.0 |
ddumont/darkstar | scripts/globals/mobs.lua | 22 | 1782 | -----------------------------------
-- Global version of onMobDeath
-----------------------------------
package.loaded["scripts/globals/conquest"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("scripts/globals/missions");
require("scripts/globals/quests");
require("scripts/glob... | gpl-3.0 |
imashkan/IMHAUL | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
AwrmawnTg-Cli/Uzzbot | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
alireza98/z | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
mehrpouya81/Master-bot | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
jlcvp/otxserver | data/monster/humans/priestess.lua | 2 | 3836 | local mType = Game.createMonsterType("Priestess")
local monster = {}
monster.description = "a priestess"
monster.experience = 420
monster.outfit = {
lookType = 58,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 58
monster.Bestiary = {
class = "Human",
... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Protocol/NACKReason/006_Wrong_HMI_level_Video_Audio_Services_NACK.lua | 1 | 2446 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0308-protocol-nak-reason.md
--
-- Description: SDL provides reason information in NACK message
-- in case NACK received because of wrong... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm19.lua | 57 | 2137 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm19 (??? - Bomb Coal Fragments)
-- Involved in Quest: In Defiant Challenge
-- @pos -50.175 6.264 251.669 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
ddumont/darkstar | scripts/globals/weaponskills/gust_slash.lua | 23 | 1283 | -----------------------------------
-- Gust Slash
-- Dagger weapon skill
-- Skill level: 40
-- Deals wind elemental damage. Damage varies with TP.
-- Will not stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: DEX:20% ; INT:20%
-- 100%TP 200%TP... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Lower_Jeuno/npcs/Guttrix.lua | 11 | 4141 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Guttrix
-- Starts and Finishes Quest: The Goblin Tailor
-- @zone: 245
-- @pos -36.010 4.499 -139.714
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
ShaPOC/iamlimitless.nl-portfolio | munchy-in-lua/src/System/Foundation/datatypes.lua | 1 | 3704 | ---[[
-- @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
--]]
Vector2 = {}
Vector2.__index = Vector2
function V... | lgpl-3.0 |
UberWaffe/ScienceCostTweaker | tweaks/bobsmods/tweakedscience.lua | 1 | 2610 | -- Make technology research enable the new BobsMods tiers
-- ===================================================================
-- Tier BobsMod 4, enabled by the "Advanced Research" research
table.insert(data.raw.technology["advanced-research"].effects,{type = "unlock-recipe", recipe = "sct-bm4-plating"})
table.insert... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Valley_of_Sorrows/npcs/relic.lua | 14 | 1876 | -----------------------------------
-- Area: Valley of Sorrows
-- NPC: <this space intentionally left blank>
-- @pos -14 -3 56 128
-----------------------------------
package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valley_of_Sorrows/TextIDs")... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Castle_Zvahl_Keep/Zone.lua | 19 | 3875 | -----------------------------------
--
-- Zone: Castle_Zvahl_Keep (162)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep/TextIDs");
-----------------... | gpl-3.0 |
jlcvp/otxserver | data/monster/undeads/blood_beast.lua | 2 | 3556 | local mType = Game.createMonsterType("Blood Beast")
local monster = {}
monster.description = "a blood beast"
monster.experience = 1000
monster.outfit = {
lookType = 602,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1040
monster.Bestiary = {
class = "... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Mhaura/npcs/Mololo.lua | 14 | 1157 | -----------------------------------
-- Area: Mhaura
-- NPC: Mololo
-- Guild Merchant NPC: Blacksmithing Guild
-- @pos -64.278 -16.624 34.120 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
jlcvp/otxserver | data/monster/raids/ocyakao.lua | 2 | 3209 | local mType = Game.createMonsterType("Ocyakao")
local monster = {}
monster.description = "Ocyakao"
monster.experience = 490
monster.outfit = {
lookType = 259,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 700
monster.maxHealth = 700
monster.race = "blo... | gpl-2.0 |
jlcvp/otxserver | data/monster/constructs/iron_servant.lua | 2 | 2775 | local mType = Game.createMonsterType("Iron Servant")
local monster = {}
monster.description = "an iron servant"
monster.experience = 210
monster.outfit = {
lookType = 395,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 700
monster.Bestiary = {
class = ... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/6_1/2966_SDL_incorrectly_assigned_default_permissions.lua | 1 | 2462 | ---------------------------------------------------------------------------------------------------
-- User story: https://github.com/smartdevicelink/sdl_core/issues/2966
--
-- Description:
-- SDL incorrectly assigned default permissions for an app if they were defined in preloaded
-- Steps to reproduce:
-- 1) Update S... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Bhaflau_Thickets/npcs/Hamta-Iramta.lua | 14 | 1918 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Hamta-Iramta
-- Type: Alzadaal Undersea Ruins
-- @zone 52
-- @pos -459.942 -20.048 -4.999
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"]... | gpl-3.0 |
ddumont/darkstar | scripts/commands/zone.lua | 23 | 13403 | ---------------------------------------------------------------------------------------------------
-- func: zone
-- desc: Teleports a player to the given zone.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
};
... | gpl-3.0 |
GuardOscar/Starbound_RU | translations/others/items/buildscripts/buildweapon.lua | 8 | 9186 | require "/scripts/util.lua"
require "/scripts/vec2.lua"
require "/scripts/versioningutils.lua"
require "/scripts/staticrandom.lua"
require "/items/buildscripts/abilities.lua"
function build(directory, config, parameters, level, seed)
local configParameter = function(keyName, defaultValue)
if parameters[keyName] ... | apache-2.0 |
ddumont/darkstar | scripts/zones/Bastok_Markets/npcs/Zaira.lua | 15 | 1895 | -----------------------------------
-- Area: Batok Markets
-- NPC: Zaira
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zone... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/OnRCStatus/029_notification_by_revoking_several_modules_by_policy.lua | 1 | 2567 | ---------------------------------------------------------------------------------------------------
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary:
-- [SDL_RC] TBD
--
-- Description:
-- In case:
-- 1) RC app is registered
-- 2) App allocates module CLIMATE, RADIO
-- 3) PTU for app is performed with revok... | bsd-3-clause |
ddumont/darkstar | scripts/globals/items/roast_carp.lua | 12 | 1370 | -----------------------------------------
-- ID: 4537
-- Item: roast_carp
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ATT % 14 (cap 40)
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
kennethlombardi/moai-graphics | engine/resources/lua/Pickle.lua | 2 | 2127 | ----------------------------------------------
-- Pickle.lua
-- A table serialization utility for lua
-- Steve Dekorte, http://www.dekorte.com, Apr 2000
-- Freeware
----------------------------------------------
function pickle(t)
return Pickle:clone():pickle_(t)
end
Pickle = {
clone = function (t) local nt={}; f... | mit |
ddumont/darkstar | scripts/zones/Metalworks/npcs/Pius.lua | 14 | 1976 | -----------------------------------
-- Area: Metalworks
-- NPC: Pius
-- Involved In Mission: Journey Abroad
-- @pos 99 -21 -12 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zon... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.