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 |
|---|---|---|---|---|---|
Squeakz/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 |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/framework/display.lua | 41 | 21283 | --[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | mit |
ddumont/darkstar | scripts/globals/mobskills/Pleiades_Ray.lua | 33 | 1751 | ---------------------------------------------
-- Pleiades Ray
--
-- Description: Fires a magical ray at nearby targets. Additional effects: Paralysis + Blind + Poison + Plague + Bind + Silence + Slow
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Only used by Gurfurlur the Me... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/7_0/3532_OnSCU_after_Show_main_IGN_OFF_ON_Cycle.lua | 1 | 3655 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/3532
--
-- Description: Check that SDL transfers `OnSystemCapabilitiesUpdated` notification from HMI to an App
-- in next ignition cycle in case App sent Show ... | bsd-3-clause |
lemonkit/VisualCocos | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Director.lua | 5 | 18156 |
--------------------------------
-- @module Director
-- @parent_module cc
--------------------------------
-- Pauses the running scene.<br>
-- The running scene will be _drawed_ but all scheduled timers will be paused.<br>
-- While paused, the draw rate will be 4 FPS to reduce CPU consumption.
-- @function [parent=#... | mit |
felipejfc/n-wax | examples/States/scripts/CapitalsTable.lua | 34 | 1030 | waxClass{"CapitalsTable", UITableViewController, protocols = {"UITableViewDataSource"}}
function init(self, state)
self.super:initWithStyle(UITableViewStyleGrouped)
self.state = state
self:setTitle(state.name)
return self
end
function viewDidLoad(self)
self:tableView():setDataSource(self)
end
-- DataSourc... | mit |
Squeakz/darkstar | scripts/zones/Kazham/npcs/Kobhi_Sarhigamya.lua | 13 | 1039 | ----------------------------------
-- Area: Kazham
-- NPC: Kobhi Sarhigamya
-- Type: Item Deliverer
-- @zone: 250
-- @pos -115.29 -11 -22.609
--
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Bibiki_Bay/npcs/Pohka_Chichiyowahl.lua | 13 | 1236 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Pohka Chichiyowahl
-- Type: Standard Merchant NPC
-- @pos -415 -2 -430 4
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
require("scripts/zones/Bibiki_Bay/TextIDs");
require("scripts/globals/shop");
-------... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/the_elemental_spheres/slick_water_elemental.lua | 2 | 2828 | local mType = Game.createMonsterType("Slick Water Elemental")
local monster = {}
monster.description = "a slick water elemental"
monster.experience = 450
monster.outfit = {
lookType = 286,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 550
monster.maxHe... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/items/la_theine_cabbage.lua | 18 | 1180 | -----------------------------------------
-- ID: 4366
-- Item: la_theine_cabbage
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/qm.lua | 14 | 1640 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: ???
-- Involved In Quest: A Craftsman's Work
-- @pos 113 -7.972 -72 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setti... | gpl-3.0 |
operutka/alzw | samtools-0.1.19/misc/vcfutils.lua | 42 | 21028 | #!/usr/bin/env luajit
-----------------------------------
-- BEGIN: routines from klib.lua --
-----------------------------------
-- Description: getopt() translated from the BSD getopt(); compatible with the default Unix getopt()
--[[ Example:
for o, a in os.getopt(arg, 'a:b') do
print(o, a)
end
]]--
function os... | mit |
maddox/vlc | share/lua/meta/10_googleimage.lua | 1 | 1619 | --[[
Gets an artwork from images.google.com
$Id$
Copyright © 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any la... | gpl-2.0 |
cp1337/devland | data/actions/scripts/construction/construction_kits.lua | 1 | 2495 | function onUse(cid, item, frompos, item2, topos)
if frompos.x == 65535 then
doPlayerSendCancel(cid, "Put the construction kit on the ground first.")
return 1
end
doSendMagicEffect(topos,2)
if item.itemid == 3901 then
doTransformItem(item.uid,1652)
elseif item.itemid == 3902 then
doTransformItem(it... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/_1e9.lua | 29 | 1155 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: _1e9 (Gate: The Pit)
-- @pos 80 -1.949 -107.94
-- Used to enter "The Colosseum" zone.
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Yhoator_Jungle/npcs/qm3.lua | 13 | 1837 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm3)
-- Involved in Quest: True will
-- @pos 203 0.1 82 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
ddumont/darkstar | scripts/zones/RuAun_Gardens/mobs/Genbu.lua | 10 | 1553 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NM: Genbu
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/weaponskills/catastrophe.lua | 9 | 2090 | -----------------------------------
-- Catastrophe
-- Scythe weapon skill
-- Skill Level: N/A
-- Drain target's HP. Bec de Faucon/Apocalypse: Additional effect: Haste
-- This weapon skill is available with the stage 5 relic Scythe Apocalypse or within Dynamis with the stage 4 Bec de Faucon.
-- Also available without Af... | gpl-3.0 |
ddumont/darkstar | scripts/zones/PsoXja/npcs/_09g.lua | 17 | 1205 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Avatars Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyitems");
--... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/West_Sarutabaruta/npcs/Mahien-Uhien.lua | 13 | 1791 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Mahien-Uhien
-- Type: Outpost Vendor
-- @pos -13 -12 311 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Cloister_of_Tides/Zone.lua | 30 | 1736 | -----------------------------------
--
-- Zone: Cloister_of_Tides (211)
--
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Cloister_of_Tides/TextIDs");
-----------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Lower_Jeuno/npcs/_l01.lua | 7 | 2721 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @pos -108 0 -158 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Western_Adoulin/npcs/Clemmar.lua | 14 | 1586 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Clemmar
-- Type: Standard NPC and Quest NPC
-- Involved with Quest: 'A Certain Substitute Patrolman'
-- @zone 256
-- @pos -12 0 12
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/quests");
------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Kazham/npcs/Jakoh_Wahcondalo.lua | 14 | 1783 | -----------------------------------
-- Area: Kazham
-- NPC: Jakoh Wahcondalo
-- @pos 101 -16 -115 250
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Kazham/TextIDs");
-----------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/TheSameApp/Registration/016_Register_multiple_apps_with_same_appName_diff_appID_from_DIFF_devices.lua | 1 | 3367 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0204-same-app-from-multiple-devices.md
-- Description: Registration of multiple mobile applications with the same appName
-- and dif... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/TheSameApp/Policies/CountersValidation/002_Check_count_of_rejected_rpc_calls_counter_diff_appID_same_appName.lua | 1 | 7758 | ---------------------------------------------------------------------------------------------------
-- Proposal:
-- https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0204-same-app-from-multiple-devices.md
-- Description: Check "count_of_rejected_rpc_calls" counter in case two consented mobile devic... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Port_Jeuno/npcs/HomePoint#2.lua | 27 | 1254 | -----------------------------------
-- Area: Port Jeuno
-- NPC: HomePoint#2
-- @pos -155 -1 -4 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/homepoint");
---... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Windurst_Waters/npcs/Kenapa-Keppa.lua | 13 | 11771 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kenapa Keppa
-- Involved in Quest: Food For Thought, Hat in Hand
-- Working 100%
-- @zone = 238
-- @pos = 27 -6 -199
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Port_Bastok/npcs/Mine_Konte.lua | 13 | 1104 | -----------------------------------
-- Area: Port Bastok
-- NPC: Mine Konte
-- Involved in Quest: Out of One's Shell
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;... | gpl-3.0 |
roysc/awesome | spec/wibox/layout/fixed_spec.lua | 9 | 2759 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2014 Uli Schlachter
---------------------------------------------------------------------------
local fixed = require("wibox.layout.fixed")
local utils = require("wibox.test_utils")
describe("wibox.layo... | gpl-2.0 |
Squeakz/darkstar | scripts/globals/spells/bluemagic/blood_saber.lua | 21 | 1690 | -----------------------------------------
-- Spell: Blood Saber
-- Steals HP from enemies within range. Ineffective against undead
-- Spell cost: 25 MP
-- Monster Type: Undead
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 48
-- Casting Time: 4 seconds
-- Recast Time: 90 secon... | gpl-3.0 |
kennethlombardi/moai-graphics | engine/resources/scenes/SceneManagerBackup.lua | 1 | 7813 | local Scene = {}
local MessageManager = require("MessageManager");
local LayerManager = require("LayerManager");
local Factory = require("Factory");
local UserDataManager = require("UserDataManager");
local GameVariables = require("GameVariables");
GameVariables:set("HighScore", UserDataManager:get("highScore"));
fun... | mit |
Squeakz/darkstar | scripts/zones/RuLude_Gardens/npcs/Morlepiche.lua | 14 | 3641 | -----------------------------------
-- Area: Rulude Gardens
-- NPC: Morlepiche
-- @pos -95 0 160 243
-------------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/conquest");
require... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/WidgetSupport/OnHMIStatus/010_Successful_changes_in_widgets_level_from_different_apps.lua | 1 | 2576 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0216-widget-support.md
--
-- Description: Check "OnHMIStatus" notifications for 2 apps in case of changes of widget's level
--
-- Precon... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/Qulun_Dome/npcs/_440.lua | 13 | 1586 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Door
-- Involved in Mission: Magicite
-- @pos 60 24 -2 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Qulun... | gpl-3.0 |
jlcvp/otxserver | data/monster/quests/heart_of_destruction/rupture.lua | 2 | 4303 | local mType = Game.createMonsterType("Rupture")
local monster = {}
monster.description = "Rupture"
monster.experience = 112000
monster.outfit = {
lookType = 875,
lookHead = 77,
lookBody = 79,
lookLegs = 3,
lookFeet = 85,
lookAddons = 0,
lookMount = 0
}
monster.health = 290000
monster.maxHealth = 290000
monster... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Bastok_Markets/npcs/Fatimah.lua | 53 | 2085 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Fatimah
-- Type: Goldsmithing Adv. Synthesis Image Support
-- @pos -193.849 -7.824 -56.372 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
jorgifumi/luci | applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua | 61 | 1933 | -- Copyright 2009 Daniel Dickinson
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.luci_diag.luci_diag_devinfo", package.seeall)
function index()
local e
e = entry({"admin", "voice", "diag", "phones"}, arcombine(cbi("luci_diag/smap_devinfo"), cbi("luci_diag/smap_devinfo_config")... | apache-2.0 |
ddumont/darkstar | scripts/zones/Bastok_Markets/npcs/Khonzon.lua | 14 | 1052 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Khonzon
-- Type: Item Deliverer
-- @zone 235
-- @pos -323.744 -16.001 -88.698
--
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
------------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/AlTaieu/npcs/Auroral_Updraft.lua | 30 | 1713 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Auroral Updraft
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/VeLugannon_Palace/Zone.lua | 13 | 2000 | -----------------------------------
--
-- Zone: VeLugannon_Palace (177)
--
-----------------------------------
package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/VeLugannon_Pal... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Port_San_dOria/npcs/Joulet.lua | 11 | 3462 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Joulet
-- Starts The Competition
-- @zone: 232
-- @pos -18 -2 -45
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs"... | gpl-3.0 |
Planimeter/grid-sdk | engine/client/gui/autoloader.lua | 1 | 1301 | --=========== Copyright © 2019, Planimeter, All rights reserved. ===========--
--
-- Purpose: GUI autoloader
--
--==========================================================================--
local error = error
local ipairs = ipairs
local pcall = pcall
local rawget = rawget
local require ... | mit |
Squeakz/darkstar | scripts/globals/spells/bluemagic/ice_break.lua | 25 | 1919 | -----------------------------------------
-- Spell: Ice Break
-- Deals ice damage to enemies within range. Additional Effect: "Bind"
-- Spell cost: 142 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 3
-- Stat Bonus: INT+1
-- Level: 50
-- Casting Time: 5.25 seconds
-- Recast Time: 33.75 se... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/5_0/1006/008_Slider_UNSUPPORTED_RESOURCE_UI_isReady_false.lua | 1 | 1598 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/smartdevicelink/sdl_core/issues/1006
---------------------------------------------------------------------------------------------------
-- Description: SDL sends Slider response with UNSUPPO... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Smoke/API/023_UnsubscribeButton_PositiveCase_SUCCESS.lua | 1 | 3441 | ---------------------------------------------------------------------------------------------------
-- User story: Smoke
-- Use case: UnsubscribeButton
-- Item: Happy path
--
-- Requirement summary:
-- [UnsubscribeButton] SUCCESS: getting SUCCESS:UnsubscribeButton()
--
-- Description:
-- Mobile application sends valid ... | bsd-3-clause |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Smoke/Resumption/007_Resumption_FULL_IGNITION_OFF.lua | 1 | 3130 | -- Requirement summary:
-- [HMILevel Resumption]: Send BC.ActivateApp to HMI for the app resumed to FULLs
-- [HMILevel Resumption]: Conditions to resume app to FULL in the next ignition cycle
--
-- Description:
-- Any application that is the last one in FULL HMILevel
-- and it registers during 30 sec after BC.OnR... | bsd-3-clause |
EnigmaTeam/EnigmaBot | plugins/msg_checks.lua | 1 | 11190 | --Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by enigma
if is_chat_msg(msg) or is_super_group(msg) then
if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user
local data = load_data(_config.moderation.da... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Castle_Oztroja/npcs/_m74.lua | 14 | 2244 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m74 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- @pos -59.525 -72.320 -62.379 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/East_Sarutabaruta/npcs/Field_Manual.lua | 29 | 1059 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------... | gpl-3.0 |
maddox/vlc | share/lua/playlist/joox.lua | 113 | 1637 | --[[
$Id$
Copyright © 2007 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distribut... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Temenos/mobs/Airi.lua | 26 | 1273 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Airi
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | user_modules/shared_testcases/testCasesForArrayStringParameter.lua | 1 | 4398 | --This script contains all test cases to array String Parameter
--How to use:
--1. local arrayStringParameter = require('user_modules/shared_testcases/testCasesForArrayStringParameter')
--2. arrayStringParameter:verify_Array_String_Parameter(Request, Parameter, Boundary, ElementBoundary, Mandatory)
-----------------... | bsd-3-clause |
ddumont/darkstar | scripts/globals/mobskills/Thundris_Shriek.lua | 30 | 1355 | ---------------------------------------------
-- Thundris Shriek
--
-- Description: Deals heavy lightning damage to targets in area of effect. Additional effect: Terror
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown
-- Notes: Players will begin to be intimidated by the dvergr after this atta... | gpl-3.0 |
ied206/jvbeacon-tg | bconfig_public.lua | 1 | 1385 | --[[
JovelBeacon Configuration File
--]]
---- administrators
-- You should put your own phone number (must, used for auth) and own telegram id number (recommended).
-- Your Telegram Id number can be found by running JovelBeacon not in daemon mode, and throw a message to bot.
-- Bot will print your telegram id numb... | mit |
Squeakz/darkstar | scripts/zones/Bastok_Markets/npcs/Cleades.lua | 13 | 3701 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Cleades
-- Type: Mission Giver
-- @pos -358 -10 -168 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
NickSavage/koreader | plugins/goodreads.koplugin/doublekeyvaluepage.lua | 1 | 11848 | local InputContainer = require("ui/widget/container/inputcontainer")
local FrameContainer = require("ui/widget/container/framecontainer")
local VerticalGroup = require("ui/widget/verticalgroup")
local VerticalSpan = require("ui/widget/verticalspan")
local OverlapGroup = require("ui/widget/overlapgroup")
local LeftConta... | agpl-3.0 |
kennethlombardi/moai-graphics | engine/resources/lua/MOAIOBBPCACreator.lua | 1 | 2283 | local MOAIOBBPCACreator = require("./Factory/Creator"):new();
local Factory = nil;
local Math = require("Math");
local SphereCreator = require("SphereCreator");
local Matrix = require("Matrix");
function createOBB(vertices)
local m = Matrix.identity({});
local v = Matrix.identity({});
local s = {r... | mit |
Squeakz/darkstar | scripts/zones/Northern_San_dOria/npcs/Daveille.lua | 13 | 1411 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Daveille
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requi... | gpl-3.0 |
ddumont/darkstar | scripts/globals/weaponskills/mistral_axe.lua | 25 | 1597 | -----------------------------------
-- Mistral Axe
-- Axe weapon skill
-- Skill level: 225 (Beastmasters and Warriors only.)
-- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Damage varies with TP.
-- Despite being able to be used from a distance it is considered a melee attack and can be stacked w... | gpl-3.0 |
Brokentrojan/tmanasaf | src/server/scripts/Custom/GoMove/GOMove/GOMoveScripts.lua | 8 | 15071 | GOMove.FavL = {NameWidth = 17}
function GOMove.FavL:Add(name, guid)
self:Del(guid)
table.insert(self, 1, {name, guid})
GOMoveSV.FavL = self
end
function GOMove.FavL:Del(guid)
for k,v in ipairs(self) do
if(v[2] == guid) then
table.remove(self, k)
break
end
end
... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Lower_Jeuno/npcs/Garnev.lua | 13 | 2265 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Garnev
-- Starts and Finishes Quest: Deal with Tenshodo
-- @zone 245
-- @pos 30 4 -36
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----------------------... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Selbina/npcs/Aleria.lua | 17 | 1066 | -----------------------------------
-- Area: Selbina
-- NPC: Aleria
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
-----------------------------------
-- onTrade Action
------... | gpl-3.0 |
ShaPOC/iamlimitless.nl-portfolio | munchy-in-lua/src/Objects/Actors/munchy.lua | 1 | 17892 | ---[[
-- @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
--]]
-- 'Mother / Base / Parent' Class
local object = do... | lgpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/InteriorVehicleData_cache/015_GetInteriorVD_with_subscription_after_OnInteriorVD_2_apps.lua | 1 | 1893 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0178-GetInteriorVehicleData.md
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary: TBD
--
-- Description:
-- In case
-- 1. Mo... | bsd-3-clause |
jlcvp/otxserver | data/monster/quests/cults_of_tibia/bosses/the_unarmored_voidborn.lua | 2 | 4171 | local mType = Game.createMonsterType("The Unarmored Voidborn")
local monster = {}
monster.description = "The Unarmored Voidborn"
monster.experience = 15000
monster.outfit = {
lookType = 987,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.health = 250000
monster.... | gpl-2.0 |
winddyhe/WindGE | ThirdLib/glslang/External/spirv-tools/external/spirv-headers/include/spirv/1.2/spirv.lua | 7 | 26728 | -- Copyright (c) 2014-2017 The Khronos Group Inc.
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and/or associated documentation files (the "Materials"),
-- to deal in the Materials without restriction, including without limitation
-- the rights to use, copy, mod... | mit |
hfjgjfg/seed42 | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Southern_San_dOria/npcs/Baunise.lua | 14 | 1465 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Baunise
-- Involved in Quest: A Knight's Test
-- @zone 230
-- @pos -55 -8 -32
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
jorgifumi/luci | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/dns.lua | 68 | 2109 | -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.dns", package.seeall)
function rrdargs( graph, plugin, plugin_instance )
local traffic = {
title = "%H: DNS traffic", vlabel = "Bit/s",
data = {
sou... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/MobileProjection/Phase1/015_Restore_video_streaming_from_NONE.lua | 1 | 3761 | ---------------------------------------------------------------------------------------------------
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary:
-- TBD
--
-- Description:
-- In case:
-- 1) Application is registered with PROJECTION appHMIType
-- 2) and starts video streaming
-- 3)user performs 'user ex... | bsd-3-clause |
Squeakz/darkstar | scripts/zones/RuAun_Gardens/npcs/Treasure_Coffer.lua | 13 | 3837 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Treasure Coffer
-- @zone 130
-- @pos
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requi... | gpl-3.0 |
urzds/Penlight | lua/pl/tablex.lua | 1 | 27432 | --- Extended operations on Lua tables.
--
-- See @{02-arrays.md.Useful_Operations_on_Tables|the Guide}
--
-- Dependencies: `pl.utils`, `pl.types`
-- @module pl.tablex
local utils = require ('pl.utils')
local types = require ('pl.types')
local getmetatable,setmetatable,require = getmetatable,setmetatable,require
local t... | mit |
8devices/luci | modules/admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua | 96 | 2209 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 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
]]--
local ma... | apache-2.0 |
jchuang1977/luci-1 | applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua | 68 | 1310 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.colors", package.seeall)
require("luci.util")
Instance = luci.util.class()
function Instance.from_string( self, s )
return {
tonumber(s:sub(1,2), 16),
... | apache-2.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Defects/7_0/1862_SDL_does_not_validate_invalid_characters_in_HMI_requests.lua | 1 | 2621 | ---------------------------------------------------------------------------------------------------
-- Issue: https://github.com/SmartDeviceLink/sdl_core/issues/1862
--
-- In case:
-- 1) HMI sends SDL.GetUserFriendlyMessage request to SDL
-- and this request has at least one String parameter with '\n' and/or '\t'
-- an... | bsd-3-clause |
alireza98/z | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
mehrpouya81/Master-bot | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
REZATITAN/PowerTG | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
ddumont/darkstar | scripts/globals/logging.lua | 9 | 6394 | -------------------------------------------------
-- Logging functions
-- Info from:
-- http://wiki.ffxiclopedia.org/wiki/Logging
-------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-------------------------------------------------
-- npcid ... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/items/slice_of_coeurl_meat.lua | 18 | 1345 | -----------------------------------------
-- ID: 4377
-- Item: slice_of_coeurl_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/Capabilities/UpdateVideoStreamingCapabilities/OnSystemCapabilityUpdated/009_OnSystemCapabilityUpdated_no_appid.lua | 1 | 2268 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0296-Update-video-streaming-capabilities-during-ignition-cycle.md
--
-- Description: Processing of OnSystemCapabilityUpdated notificatio... | bsd-3-clause |
ddumont/darkstar | scripts/zones/Al_Zahbi/npcs/Kahah_Hobichai.lua | 17 | 1360 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Kahah Hobichai
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-- onTrade A... | gpl-3.0 |
TeleBeta/self | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-3.0 |
satanevil/The-Great-satan | libs/dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | gpl-2.0 |
Squeakz/darkstar | scripts/zones/Al_Zahbi/npcs/Danaaba.lua | 13 | 1040 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Danaaba
-- Type: Standard NPC
-- @zone: 48
-- @pos -17.375 -6.999 59.161
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------... | gpl-3.0 |
ddumont/darkstar | scripts/globals/mobskills/Cyclonic_Turmoil.lua | 9 | 1174 | ---------------------------------------------
-- Cyclonic Turmoil
--
-- Deals Wind damage in an area of effect. Additional effect: Knockback & Dispel
-- Notes: Dispels multiple buffs. Wipes shadows.
---------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts/globals/setting... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/La_Theine_Plateau/npcs/qm3.lua | 29 | 2086 | -----------------------------------
-- Area: La Theine Plateau
-- NPC:??? (qm3)
-- Involved in Quest: I Can Hear A Rainbow
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/La_Theine_Plateau/TextIDs");
requir... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Boneyard_Gully/bcnms/like_the_wind.lua | 30 | 1652 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: like_the_wind
-- BCNM: 673
-- Mask: 1
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
tigran123/kindlepdfviewer | picviewer.lua | 3 | 2508 | require "unireader"
PICViewer = UniReader:new{}
function PICViewer:setDefaults()
self.show_overlap_enable = DPICVIEWER_SHOW_OVERLAP_ENABLE
self.show_links_enable = DPICVIEWER_SHOW_LINKS_ENABLE
self.comics_mode_enable = DPICVIEWER_COMICS_MODE_ENABLE
self.rtl_mode_enable = DPICVIEWER_RTL_MODE_ENABLE
self.page_mode... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Southern_San_dOria/npcs/Phamelise.lua | 12 | 2168 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Phamelise
-- Only sells when San d'Oria controlls Zulkheim Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ev... | gpl-3.0 |
Squeakz/darkstar | scripts/globals/moghouse.lua | 29 | 4979 | --
-- Mog House related functions
--
require("scripts/globals/status")
------------------------------------
-- Mog Locker constants
------------------------------------
MOGLOCKER_START_TS = 1009810800 -- unix timestamp for 2001/12/31 15:00
MOGLOCKER_ALZAHBI_VALID_DAYS = 7
MOGLOCKER_ALLAREAS_VALID_DAYS = 5
MOGLOCKER_A... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Quicksand_Caves/mobs/Triarius_IV-XIV.lua | 11 | 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 |
Squeakz/darkstar | scripts/zones/Southern_San_dOria/npcs/Legata.lua | 24 | 2064 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Legata
-- Starts and Finishes Quest: Starting a Flame (R)
-- @zone 230
-- @pos 82 0 116
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
smartdevicelink/sdl_atf_test_scripts | test_scripts/RC/InteriorVehicleData_cache/003_GetInteriorVD_without_subscribe_2_apps.lua | 1 | 1781 | ---------------------------------------------------------------------------------------------------
-- Proposal: https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0178-GetInteriorVehicleData.md
-- User story: TBD
-- Use case: TBD
--
-- Requirement summary: TBD
--
-- Description:
-- In case
-- 1. Mo... | bsd-3-clause |
jlcvp/otxserver | data/monster/aquatics/quara_hydromancer.lua | 2 | 3991 | local mType = Game.createMonsterType("Quara Hydromancer")
local monster = {}
monster.description = "a quara hydromancer"
monster.experience = 800
monster.outfit = {
lookType = 47,
lookHead = 0,
lookBody = 0,
lookLegs = 0,
lookFeet = 0,
lookAddons = 0,
lookMount = 0
}
monster.raceId = 243
monster.Bestiary = {
... | gpl-2.0 |
ddumont/darkstar | scripts/zones/Apollyon/bcnms/NE_Apollyon.lua | 35 | 1113 | -----------------------------------
-- Area: Appolyon
-- Name: NE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[NE_Apollyon]... | gpl-3.0 |
Squeakz/darkstar | scripts/zones/Apollyon/bcnms/NE_Apollyon.lua | 35 | 1113 | -----------------------------------
-- Area: Appolyon
-- Name: NE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[NE_Apollyon]... | gpl-3.0 |
ddumont/darkstar | scripts/zones/Rabao/npcs/Waylea.lua | 14 | 1061 | -----------------------------------
-- Area: Rabao
-- NPC: Waylea
-- Type: Reputation
-- @zone 247
-- @pos 12.384 4.658 -32.392
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
satanoff/testantispam | plugins/banhammer.lua | 175 | 5896 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.