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 |
|---|---|---|---|---|---|
Enignite/darkstar | scripts/globals/items/sandfish.lua | 18 | 1318 | -----------------------------------------
-- ID: 4291
-- Item: sandfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
weinyzhou/ffmpegAutoBuild | ffmpegAutoBuild/ffmpeg/project/ffmpeg_proj_android.lua | 1 | 1263 | --[[
描述: ffmpeg 生成android工程模块
作者: weiny zhou
创建日期: 2012-07-05
修改日期: 2012-07-05
版权: 版权所有,未经授权不得擅自拷贝复制或传播本代码的部分或全部.违者必究!
]]--
function create_ffmpeg_android_project(szFileName,projName,tblfile,includes)
local vcProjinc="LOCAL_C_INCLUDES += \\\n";
for index,value in pairs(includes) do
vcProjinc=vcProjinc..value.."... | gpl-2.0 |
florian-shellfire/luci | applications/luci-app-radvd/luasrc/model/cbi/radvd/route.lua | 61 | 2294 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sid = arg[1]
local utl = require "luci.util"
m = Map("radvd", translatef("Radvd - Route"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and sends... | apache-2.0 |
doofus-01/wesnoth | data/campaigns/World_Conquest/lua/map/postgeneration_utils/noise.lua | 6 | 4213 | function world_conquest_tek_map_noise_proxy(radius, fraction, terrain)
local terrain_to_change = map:find(f.terrain(terrain))
local nop_filter = wesnoth.map.filter(f.all())
mathx.shuffle(terrain_to_change)
for terrain_i = 1, math.ceil(#terrain_to_change / fraction) do
local loc_a = terrain_to_change[terrain_i]
... | gpl-2.0 |
araeisy/araeisy | plugins/fwd.lua | 4 | 1051 | do
local function pre_process(msg)
--Checking mute
local hash = 'mate:'..msg.to.id
if redis:get(hash) and msg.fwd_from and not is_sudo(msg) and not is_owner(msg) and not is_momod(msg) and not is_admin1(msg) then
delete_msg(msg.id, ok_cb, true)
return "done"
en... | mit |
fhaoquan/luasocket | test/ltn12test.lua | 31 | 9500 | local ltn12 = require("ltn12")
dofile("testsupport.lua")
local function format(chunk)
if chunk then
if chunk == "" then return "''"
else return string.len(chunk) end
else return "nil" end
end
local function show(name, input, output)
local sin = format(input)
local sout = format(output... | mit |
jlcvp/otxserver | data/monster/bosses/bullwark.lua | 2 | 4390 | local mType = Game.createMonsterType("Bullwark")
local monster = {}
monster.description = "Bullwark"
monster.experience = 16725
monster.outfit = {
lookType = 607,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 65000
monster.maxHealth = 65000
monster.rac... | gpl-2.0 |
JanMarvin/rstudio | src/cpp/session/resources/xref.lua | 1 | 5918 |
-- lua patterns (including capture) used in various handlers
local chunk_begin_pattern = "^{([a-zA-Z0-9_]+)[%s,]+"
local chunk_end_pattern = ".*}.*$"
local xref_label_pattern = "([a-zA-Z0-9/%-]+)"
local param_pattern = "%s*=%s*[\"']([^\"']+)[\"']"
-- state indicating whether an xref write is pending (some of the func... | agpl-3.0 |
asoracarbuncle/gearswap | run.lua | 1 | 13495 | function get_sets()
----------------------------------------------------------------------
-- Bind the keys you wish to use with GearSwap
----------------------------------------------------------------------
send_command('bind f9 gs c equip idle set')
send_command('bind f10 gs c cycle engaged modes')
-... | gpl-3.0 |
shadowmint/moai-lua-tests | src/n/terminal.lua | 1 | 5968 | -- Copyright 2012 Douglas Linder
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICEnsE-2.0
--
-- Unless required by applicable law or agreed to ... | apache-2.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ToggleVisibility.lua | 11 | 1239 |
--------------------------------
-- @module ToggleVisibility
-- @extend ActionInstant
-- @parent_module cc
--------------------------------
-- Allocates and initializes the action.<br>
-- return An autoreleased ToggleVisibility object.
-- @function [parent=#ToggleVisibility] create
-- @param self
-- @return ToggleV... | mit |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua | 8 | 4258 |
--------------------------------
-- @module ClippingNode
-- @extend Node
-- @parent_module cc
--------------------------------
-- If stencil has no children it will not be drawn.<br>
-- If you have custom stencil-based node with stencil drawing mechanics other then children-based,<br>
-- then this method should retu... | mit |
jlcvp/otxserver | data/monster/raids/xenia.lua | 2 | 2320 | local mType = Game.createMonsterType("Xenia")
local monster = {}
monster.description = "Xenia"
monster.experience = 255
monster.outfit = {
lookType = 137,
lookHead = 95,
lookBody = 116,
lookLegs = 39,
lookFeet = 76,
lookAddons = 0,
lookMount = 0
}
monster.health = 200
monster.maxHealth = 200
monster.race = "bl... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Kamihr_Drifts/npcs/HomePoint#1.lua | 27 | 1267 | -----------------------------------
-- Area: Kamihr Drifts
-- NPC: HomePoint#1
-- @pos 210 20.299 315 267
-----------------------------------
package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Kamihr_Drifts/TextIDs");
require("scripts/globals/home... | gpl-3.0 |
jchuang1977/luci-1 | applications/luci-app-qos_gargoyle/luasrc/model/cbi/qos_gargoyle/global.lua | 7 | 2970 |
local wa = require "luci.tools.webadmin"
local fs = require "nixio.fs"
require "luci.sys"
local qos_gargoyle_enabled=luci.sys.init.enabled("qos_gargoyle")
m = Map("qos_gargoyle", translate("Global"),translate("Global set"))
s = m:section(TypedSection, "global", translate("Global"), translate("<b><font color=\"#FF00... | apache-2.0 |
Squeakz/darkstar | scripts/zones/Port_San_dOria/npcs/Avandale.lua | 13 | 1054 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Avandale
-- Type: Standard NPC
-- @zone: 232
-- @pos -105.524 -9 -125.274
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
----------... | gpl-3.0 |
jlcvp/otxserver | data/monster/traps/mimic.lua | 2 | 1728 | local mType = Game.createMonsterType("Mimic")
local monster = {}
monster.description = "a mimic"
monster.experience = 0
monster.outfit = {
lookType = 92,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 30
monster.maxHealth = 30
monster.race = "blood"
mon... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Port_Bastok/npcs/Galvin.lua | 17 | 1434 | -----------------------------------
-- Area: Port Bastok
-- NPC: Galvin
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
----------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/spells/bluemagic/triumphant_roar.lua | 27 | 1280 | -----------------------------------------
-- Spell: Triumphant Roar
-- Enhances Attack
-- Spell cost: 36 MP
-- Monster Type: Demon
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 3
-- Stat Bonus: STR+3
-- Level: 71
-- Casting Time: 3 seconds
-- Recast Time: 90 seconds
--
-- Combos: None
---------------------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/RuAun_Gardens/npcs/Field_Manual.lua | 29 | 1067 | -----------------------------------
-- Field Manual
-- Area: RuAun Gardens
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Qulun_Dome/Zone.lua | 30 | 1586 | -----------------------------------
--
-- Zone: Qulun_Dome (148)
--
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
--... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/cherry_muffin_+1.lua | 12 | 1304 | -----------------------------------------
-- ID: 5654
-- Item: Cherry Muffin
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Intelligence 2
-- MP % 10 (cap 85)
-- Agility -1
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/spells/bluemagic/infrasonics.lua | 26 | 1391 | -----------------------------------------
-- Spell: Infrasonics
-- Lowers the evasion of enemies within a fan-shaped area originating from the caster
-- Spell cost: 42 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 4
-- Stat Bonus: INT+1
-- Level: 65
-- Casting Time: 5 seconds
-- Recast ... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Windurst_Woods/npcs/Samigo-Pormigo.lua | 13 | 2594 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Samigo-Pormigo
-- Type: Guildworker's Union Representative
-- @zone: 241
-- @pos -9.782 -5.249 -134.432
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/keyitems");
require... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Port_Bastok/npcs/Argus.lua | 13 | 3697 | -----------------------------------
-- Area: Port Bastok
-- NPC: Argus
-- Type: Mission Giver
-- @pos 132.157 7.496 -2.187 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Walls/npcs/Yoran-Oran.lua | 13 | 6089 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Yoran-Oran
-- Type: Standard NPC
-- @zone 239
-- @pos -109.987 -14 203.338
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
--------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Quicksand_Caves/mobs/Triarius_IV-XIV.lua | 10 | 1427 | -----------------------------------
-- Area: Quicksand Caves
-- MOB: Tribunus_IV-XIV
-- Pops in Bastok mission 8-1 "The Chains that Bind Us"
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/Text... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/ATF_BasicCommunication_OnPhoneCall.lua | 1 | 5446 | Test = require('connecttest')
require('cardinalities')
local events = require('events')
local mobile_session = require('mobile_session')
---------------------------------------------------------------------------------------------
-----------------------------Required Shared Libraries---------------------------... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Cloister_of_Gales/Zone.lua | 30 | 1734 | -----------------------------------
--
-- Zone: Cloister_of_Gales (201)
--
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Cloister_of_Gales/TextIDs");
-----------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/spells/bluemagic/jet_stream.lua | 33 | 1738 | -----------------------------------------
-- Spell: Jet Stream
-- Delivers a threefold attack. Accuracy varies with TP
-- Spell cost: 47 MP
-- Monster Type: Birds
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+2
-- Level: 38
-- Casting Time: 0.5 seconds
-- Recast Time: 23 seconds
-- Skillcha... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/CLIMATE_RADIO/SetInteriorVehicleData/011_Cut-off_read-only_parameters_in_case_request_with_read-only_and_not_read-only_parameters.lua | 1 | 3902 | ---------------------------------------------------------------------------------------------------
-- User story: https://github.com/smartdevicelink/sdl_requirements/issues/3
-- Use case: https://github.com/smartdevicelink/sdl_requirements/blob/master/detailed_docs/SetInteriorVehicleData.md
-- Item: Use Case 1: Except... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Garlaige_Citadel/npcs/_5k0.lua | 13 | 1380 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: Banishing Gate #1
-- @pos -201.000 -2.994 220 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Garlaige_Citadel/TextIDs");
----------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Bastok_Mines/npcs/Roh_Latteh.lua | 28 | 2511 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Roh Latteh
-- Involved in Quest: Mom, The Adventurer?
-- Finishes Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Windurst_Waters/npcs/Kopopo.lua | 13 | 1162 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kopopo
-- Guild Merchant NPC: Cooking Guild
-- @pos -103.935 -2.875 74.304 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
jlcvp/otxserver | data/monster/humans/acolyte_of_the_cult.lua | 2 | 3599 | local mType = Game.createMonsterType("Acolyte of the Cult")
local monster = {}
monster.description = "an acolyte of the cult"
monster.experience = 300
monster.outfit = {
lookType = 194,
lookHead = 95,
lookBody = 100,
lookLegs = 100,
lookFeet = 19,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 253
monster.Be... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/5_0/2405/003_omitted_param_SUCCESS.lua | 1 | 1515 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/2405
---------------------------------------------------------------------------------------------------
--[[ Required Shared libraries ]]
local runner = requi... | bsd-3-clause |
shadowmint/moai-lua-tests | src/n/assets/pngLoader.lua | 2 | 1189 | -- Copyright 2012 Douglas Linder
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICEnsE-2.0
--
-- Unless required by applicable law or agreed to ... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/AppServices/RPCPassThrough/WayPoints/005_WayPointsSubscription_Service_Unpublished_While_Subscribed.lua | 1 | 5458 | ---------------------------------------------------------------------------------------------------
-- Precondition:
-- 1) app1 and app2 are registered on SDL.
-- 2) AppServiceProvider permissions (with NAVIGATION AppService permissions to handle rpc GetWayPoints) are assigned for <app1ID>
-- 3) WayPoints permissi... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Yurim.lua | 17 | 20091 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Yurim
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/zones/Tavnazian_Safehold/TextI... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Sea_Serpent_Grotto/Zone.lua | 12 | 1758 | -----------------------------------
--
-- Zone: Sea_Serpent_Grotto (176)
--
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Sea_Serpent_... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Temenos/npcs/Particle_Gate.lua | 64 | 3548 | -----------------------------------
-- Area: Temenos
-- NPC: Particle_Gate
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
require("scripts/zones/Temenos/TextIDs");
-... | gpl-3.0 |
slyon/MoonGen | lua/include/utils.lua | 1 | 8164 | ---------------------------------
--- @file utils.lua
--- @brief Defines general utility functions.
--- @todo TODO docu
--- @todo local unpackers ... crashes lua2dox parser
---------------------------------
local bor, band, bnot, rshift, lshift, bswap = bit.bor, bit.band, bit.bnot, bit.rshift, bit.lshift, bit.bswap
lo... | mit |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/PixelDensityAndScale/001_Get_VideoStreamCapability_with_scale_pixelPerInch_diagonalScreenSize_SUCCESS.lua | 1 | 1809 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0179-pixel-density-and-scale.md
-- Description:
-- In case:
-- 1) During start HMI provides VideoStreamingCapability for parameters: ... | bsd-3-clause |
ddumont/darkstar | scripts/globals/mobskills/PW_Acheron_Flame.lua | 33 | 1565 | ---------------------------------------------
-- Acheron Flame
--
-- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn
-- Type: Magical
--
--
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' radial
-- Notes: Only used when a cerberus's health is 25% or lower (may n... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/mobskills/PW_Acheron_Flame.lua | 33 | 1565 | ---------------------------------------------
-- Acheron Flame
--
-- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn
-- Type: Magical
--
--
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' radial
-- Notes: Only used when a cerberus's health is 25% or lower (may n... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Disserond_RK.lua | 14 | 1080 | -----------------------------------
-- 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]/T... | gpl-3.0 |
WebShark025/NortTM | plugins/owners.lua | 194 | 23755 | 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)]['settings'... | mit |
mohamadmtf/norton | plugins/invite.lua | 197 | 1336 | do
local function callbackres(extra, success, result)
--vardump(result)
local user = 'user#id'..result.peer_id
local chat = 'chat#id'..extra.chatid
local channel = 'channel#id'..extra.chatid
if is_banned(result.id, extra.chatid) then
send_large_msg(chat, 'User is banned.')
send_large_msg(c... | gpl-2.0 |
jorgifumi/luci | applications/luci-app-statistics/luasrc/statistics/datatree.lua | 58 | 4177 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.datatree", package.seeall)
local util = require("luci.util")
local sys = require("luci.sys")
local fs = require("nixio.fs")
local uci = require("luci.model.uci").c... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Policies/Validation_of_PolicyTables/234_ATF_preloaded_pt_validation_rules_for_omited_parameters_exist.lua | 1 | 3380 | ---------------------------------------------------------------------------------------------
-- Requirement summary:
-- [Policies]: PreloadedPolicyTable: Validation rules for omited parameters - exists
--
-- Description:
-- Behavior of SDL during start SDL in case when PreloadedPT has omited parameters
-- 1. Used prec... | bsd-3-clause |
jlcvp/otxserver | data/monster/quests/killing_in_the_name_of/tiquandas_revenge.lua | 2 | 2946 | local mType = Game.createMonsterType("Tiquandas Revenge")
local monster = {}
monster.description = "Tiquandas Revenge"
monster.experience = 2635
monster.outfit = {
lookType = 120,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 1800
monster.maxHealth = 1... | gpl-2.0 |
mohamadmtf/norton | plugins/filterw.lua | 2 | 3513 | local function save_filter(msg, name, value)
local hash = nil
if msg.to.type == 'channel' then
hash = 'chat:'..msg.to.id..':filters'
end
if msg.to.type == 'user' then
return 'SUPERGROUPS only'
end
if hash then
redis:hset(hash, name, value)
return "Successfull!"
end
end
local function get_filter_hash(msg... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Port_San_dOria/npcs/_6g7.lua | 14 | 1134 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Door: Arrivals Entrance
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/... | gpl-3.0 |
ddumont/darkstar | scripts/globals/mobskills/Damnation_Dive.lua | 15 | 1387 | ---------------------------------------------
-- Damnation Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 3 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
---------------------------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/East_Sarutabaruta/npcs/Taby_Canatahey.lua | 14 | 1041 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Taby Canatahey
-- @pos -119.119 -4.106 -524.347 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs");
----... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/HomePoint#1.lua | 13 | 1295 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: HomePoint#3
-- @pos -12 0.5 -288 34
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
r... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/API/KeyboardEnhancements/SetGlobalProperties/002_App_masks_input_characters.lua | 1 | 1835 | ----------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0238-Keyboard-Enhancements.md
----------------------------------------------------------------------------------------------------
-... | bsd-3-clause |
DeinFreund/Zero-K-Infrastructure | MissionEditor/MissionEditor2/MissionBase/LuaUI/Widgets/gui_api_hide_hax.lua | 2 | 1830 | function widget:GetInfo()
return {
name = "GUI Hide Hax",
desc = "Allows hiding of non-registered GUI elements",
author = "KingRaptor (L.J. Lim)",
date = "2012.10.26",
license = "GNU GPL v2",
layer = -math.huge,
enabled = true,
handler = true,
api = true,
}
end
local... | gpl-3.0 |
zonque/wireshark | test/lua/field.lua | 12 | 4331 | -- test script for wslua Field/FieldInfo functions
-- use with dhcp.pcap in test/captures directory
------------- helper funcs ------------
local packet_count = 0
local function incPktCount(name)
packet_count = packet_count + 1
end
local function testing(...)
print("---- Testing "..tostring(...).." for packe... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/items/bowl_of_pumpkin_soup.lua | 18 | 1652 | -----------------------------------------
-- ID: 4430
-- Item: bowl_of_pumpkin_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 1
-- Vitality -1
-- Agility 3
-- HP Recovered While Healing 5
-- Ranged Accuracy % 8 (cap 20)
-----------------------------------------
require("scripts/... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Riverne-Site_A01/npcs/_0u4.lua | 17 | 1368 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/mobskills/Amplification.lua | 28 | 1256 | ---------------------------------------------------
-- Amplification
-- Enhances Magic Attack and Magic Defense. Bonus stacks when used by mobs.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
------... | gpl-3.0 |
NickSavage/koreader | frontend/ui/network/manager.lua | 1 | 7552 | local InfoMessage = require("ui/widget/infomessage")
local ConfirmBox = require("ui/widget/confirmbox")
local UIManager = require("ui/uimanager")
local LuaSettings = require("luasettings")
local DataStorage = require("datastorage")
local Device = require("device")
local T = require("ffi/util").template
local _ = requir... | agpl-3.0 |
ddumont/darkstar | scripts/globals/effects/spirit_surge.lua | 33 | 1440 | -----------------------------------
--
-- EFFECT_SPIRIT_SURGE
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
-- The dragoon's MAX HP increases by % of wyvern MaxHP
target:addMod(MOD_HP,e... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/WidgetSupport/DeleteWindow/006_GENERIC_ERROR_in_case_HMI_respond_with_invalid_data.lua | 1 | 2388 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0216-widget-support.md
--
-- Description: Check app will receive "GENERIC_ERROR" to the "DeleteWindow" request if HMI response is invali... | bsd-3-clause |
slyon/MoonGen | lua/include/lpm.lua | 2 | 5690 | local ffi = require "ffi"
--require "utils"
local band, lshift, rshift = bit.band, bit.lshift, bit.rshift
local dpdkc = require "dpdkc"
local dpdk = require "dpdk"
local serpent = require "Serpent"
require "memory"
--local burst = require "burst"
ffi.cdef [[
struct rte_table_lpm_params {
uint32_t n_rules;
uint32_t... | mit |
Squeakz/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ulamaal.lua | 27 | 2448 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ulamaal
-- Type: Standard NPC
-- @pos 93.512 -7.5 -128.530 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require... | gpl-3.0 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/AnchorPointFrame.lua | 19 | 1088 |
--------------------------------
-- @module AnchorPointFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#AnchorPointFrame] setAnchorPoint
-- @param self
-- @param #vec2_table point
-- @return AnchorPointFrame#AnchorPointFrame self (return value: ccs.AnchorPointFr... | mit |
jomanmuk/vlc-2.1 | share/lua/sd/librivox.lua | 108 | 3015 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Rémi Duraffort <ivoire at videolan dot org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at ... | lgpl-2.1 |
ddumont/darkstar | scripts/zones/Lower_Jeuno/npcs/Muckvix.lua | 14 | 1542 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Muckvix
-- Involved in Mission: Magicite
-- @zone 245
-- @pos -26.824 3.601 -137.082
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
ddumont/darkstar | scripts/globals/weaponskills/earth_crusher.lua | 23 | 1311 | -----------------------------------
-- Earth Crusher
-- Staff weapon skill
-- Skill Level: 70
-- Delivers an area of effect earth elemental attack. Damage varies with TP.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
-- Element: Earth
-- Modifiers: STR:30% ; INT:30%... | gpl-3.0 |
mentor81/TeleK2H | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
REZATITAN/PowerTG | plugins/anti_spam.lua | 923 | 3750 |
--An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id =... | gpl-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Resumption/Handling_errors_from_HMI/044_Another_RPC_VD_delayed_response_from_HMI.lua | 1 | 4047 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0190-resumption-data-error-handling.md
--
-- Description:
-- Check vehicle data resumption is failed in case if HMI responds with error ... | bsd-3-clause |
evgeni/sysdig | userspace/sysdig/chisels/v_procs_fd_usage.lua | 8 | 2790 | --[[
Copyright (C) 2013-2015 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... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Port_Windurst/npcs/Kunchichi.lua | 13 | 1466 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kunchichi
-- Type: Standard NPC
-- @pos -115.933 -4.25 109.533 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
jlcvp/otxserver | data/monster/plants/omnivora.lua | 2 | 3441 | local mType = Game.createMonsterType("Omnivora")
local monster = {}
monster.description = "an omnivora"
monster.experience = 750
monster.outfit = {
lookType = 717,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 1141
monster.Bestiary = {
class = "Plant"... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/items/slab_of_ruszor_meat.lua | 18 | 1340 | -----------------------------------------
-- ID: 5755
-- Item: Slab of Ruszor Meat
-- Food Effect: 30Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Quicksand_Caves/npcs/Goblin_Geologist.lua | 13 | 1040 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Goblin Geologist
-- Type: Mission
-- @pos -737.000 -11.125 -550.000 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves... | gpl-3.0 |
ddumont/darkstar | scripts/globals/items/black_bubble-eye.lua | 12 | 1344 | -----------------------------------------
-- ID: 4311
-- Item: Black Bubble-Eye
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
jorgifumi/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua | 47 | 5384 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sys = require "luci.sys"
local zones = require "luci.sys.zoneinfo"
local fs = require "nixio.fs"
local conf = require "luci.config"
local m, s, o
... | apache-2.0 |
ddumont/darkstar | scripts/globals/items/kohlrouladen.lua | 12 | 1819 | -----------------------------------------
-- ID: 5760
-- Item: kohlrouladen
-- Food Effect: 3hr, All Races
-----------------------------------------
-- Strength 3
-- Agility 3
-- Intelligence -5
-- RACC +8% (cap 60)
-- RATT +14% (cap 65)
-- Enmity -4
-- Subtle Blow +5
-----------------------------------------
require(... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Port_San_dOria/npcs/Albinie.lua | 17 | 1473 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Albinie
-- Standard Merchant NPC
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Port_San_dO... | gpl-3.0 |
jlcvp/otxserver | data/monster/vermins/slug.lua | 2 | 2412 | local mType = Game.createMonsterType("Slug")
local monster = {}
monster.description = "a slug"
monster.experience = 70
monster.outfit = {
lookType = 407,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 731
monster.Bestiary = {
class = "Vermin",
race = ... | gpl-2.0 |
NickSavage/koreader | spec/unit/dbg_spec.lua | 2 | 2054 | describe("Dbg module", function()
local dbg, dbg_on
setup(function()
package.path = "?.lua;common/?.lua;rocks/share/lua/5.1/?.lua;frontend/?.lua;" .. package.path
dbg = require("dbg")
dbg_on = dbg.is_on
end)
after_each(function()
if dbg_on then
dbg:turnOn()
... | agpl-3.0 |
8devices/luci | modules/niu/luasrc/model/cbi/niu/wireless/brdevice.lua | 51 | 1132 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
loca... | apache-2.0 |
ddumont/darkstar | scripts/zones/Southern_San_dOria/npcs/Poudoruchant.lua | 17 | 1463 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Poudoruchant
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/glo... | gpl-3.0 |
jorgifumi/luci | protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua | 68 | 1416 | -- Copyright 2013 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local mode = section:taboption("general", ListValue, "mode", translate("Category"))
mode:value("auto", translate("Automatic"))
mode:value("external", translate("External"))
mode:va... | apache-2.0 |
ddumont/darkstar | scripts/zones/Bastok_Markets/TextIDs.lua | 5 | 5341 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; --Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; --Try trading again after sorting your inventory.
ITEM_OBTAINED = 6385; --Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Spec... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | to_clarify/Policies/001_P_ATF_Policies_MemoryFor_PTS.lua | 1 | 3766 | -- UNREADY---
-- Iliana as I understand, we need create a function witch will be return How much memory Policy Manager have.
-- I have problems with it. I just send sdl_preloaded json size near 1 mb, and done PTU with it. Please help me with this function for check avaliable memory.
-- Thanks a lot. Please rename attac... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/SEAT/GetInteriorVehicleData/012_Absence_of_subscribe_parameter_in_request_for_HMI_in_case_of_2nd_Subscription_UnSubscription.lua | 1 | 4173 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0105-remote-control-seat.md
-- User story:
-- Use case:
-- Item:
--
-- Description: TRS: GetInteriorVehicleData, #12
-- In case:
-- 1) R... | bsd-3-clause |
jlcvp/otxserver | data/monster/quests/heart_of_destruction/the_hunger.lua | 2 | 2826 | local mType = Game.createMonsterType("The Hunger")
local monster = {}
monster.description = "The Hunger"
monster.experience = 0
monster.outfit = {
lookType = 876,
lookHead = 77,
lookBody = 80,
lookLegs = 85,
lookFeet = 94,
lookAddons = 0,
lookMount = 0
}
monster.health = 250000
monster.maxHealth = 250000
monst... | gpl-2.0 |
ddumont/darkstar | scripts/globals/items/kayabaligi.lua | 12 | 1326 | -----------------------------------------
-- ID: 5460
-- Item: Kayabaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Aht_Urhgan_Whitegate/TextIDs.lua | 15 | 4950 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 218; -- You cannot obtain the item. Come back after sorting your inventory.?Prompt?
ITEM_CANNOT_BE_OBTAINEDX = 220; -- You cannot obtain the ?Possible Special Code: 01??Possible Special Code: 05?#?BAD CHAR: 8280??BAD CHAR: 80??BAD CHAR: 8... | gpl-3.0 |
rodoviario/wordgrinder | src/lua/import/opendocument.lua | 3 | 7086 | -- © 2008-2013 David Given.
-- WordGrinder is licensed under the MIT open source license. See the COPYING
-- file in this distribution for the full text.
local ITALIC = wg.ITALIC
local UNDERLINE = wg.UNDERLINE
local BOLD = wg.BOLD
local ParseWord = wg.parseword
local WriteU8 = wg.writeu8
local ReadFromZip = wg.readfro... | mit |
ddumont/darkstar | scripts/zones/Windurst_Woods/npcs/Gottah_Maporushanoh.lua | 17 | 1152 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gottah Maporushanoh
-- Working 100%
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-------... | gpl-3.0 |
zonque/wireshark | test/lua/int64.lua | 37 | 12964 |
-- This is a test script for tshark/wireshark.
-- This script runs inside tshark/wireshark, so to run it do:
-- wireshark -X lua_script:<path_to_testdir>/lua/int64.lua
-- tshark -r bogus.cap -X lua_script:<path_to_testdir>/lua/int64.lua
-- Tests Int64/UInt64 functions
local function testing(...)
print("---- Test... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_1.lua | 13 | 1157 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/WidgetSupport/Templates/SetDisplayLayout/003_SetDisplayLayout_unsuccessful_HMI_response.lua | 1 | 3080 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0216-widget-support.md
--
-- Description: Check that SDL proceed with "SetDisplayLayout" RPC according to req-ts
-- in case if HMI respo... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Wajaom_Woodlands/mobs/Percipient_Zoraal_Ja.lua | 23 | 1119 | -----------------------------------
-- Area: Wajaom Woodlands
-- Mob: Percipient Zoraal Ja
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/MobIDs");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
mob:set... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.