repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
Vadavim/jsr-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 |
PhearZero/phear-scanner | bin/nmap-openshift/nselib/xdmcp.lua | 8 | 12184 | ---
-- Implementation of the XDMCP (X Display Manager Control Protocol) based on:
-- x http://www.xfree86.org/current/xdmcp.pdf
--
-- @author "Patrik Karlsson <patrik@cqure.net>"
local bin = require "bin"
local ipOps = require "ipOps"
local nmap = require "nmap"
local stdnse = require "stdnse"
local table = require ... | mit |
zynjec/darkstar | scripts/zones/Nyzul_Isle/mobs/Alexander.lua | 9 | 2658 | -----------------------------------
-- Area: Nyzul Isle (Nashmeira's Plea)
-- Mob: Alexander
-----------------------------------
local ID = require("scripts/zones/Nyzul_Isle/IDs")
require("scripts/globals/status");
-----------------------------------
function onMobSpawn(mob)
mob:setMobMod(dsp.mobMod.NO_MOVE, 1);
... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Jugner_Forest/npcs/Taumiale_RK.lua | 14 | 3326 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Taumiale, R.K.
-- Border Conquest Guards
-- @pos 570.732 -2.637 553.508 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
hedgewars/hw | share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua | 1 | 13705 | HedgewarsScriptLoad("/Scripts/Params.lua")
local overrideFeatureSize = true
local paramPadding = 0
local ObjectList = {}
-- Overall padding for roping freedom
local Padding = 430
-- If true, rope assumes team color
local TeamRope = false
function onParameters()
parseParams()
if params["teamrope"] ~= nil then
... | gpl-2.0 |
Colettechan/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Chest.lua | 13 | 2985 | -----------------------------------
-- Area: King Ranperres Tomb
-- NPC: Treasure Chest
-- @zone 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
requ... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/PsoXja/npcs/_097.lua | 13 | 2831 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _097 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 290.000 -1.925 -81.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs... | gpl-3.0 |
reaperrr/OpenRA | mods/ra/maps/soviet-03/soviet03.lua | 7 | 14349 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Port_Windurst/npcs/Gomada-Vulmada.lua | 13 | 2863 | -----------------------------------
-- Area: Port Windurst
-- NPC: Gomada-Vulmada
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_Wind... | gpl-3.0 |
sirinsidiator/ESO-LibPromises | test/2_2_4.lua | 1 | 5466 | require 'setup/setup'
local dummy = { dummy = "dummy" } -- we fulfill or reject with this when we don't intend to test against it
describe("2.2.4: `onFulfilled` or `onRejected` must not be called until the execution context stack contains only platform code.", function()
describe("`then` returns before the promis... | artistic-2.0 |
zynjec/darkstar | scripts/zones/Ifrits_Cauldron/mobs/Bomb_Queen.lua | 11 | 1619 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NM: Bomb Queen
-- Vid: https://www.youtube.com/watch?v=AVsEbYjSAHM
-----------------------------------
local ID = require("scripts/zones/Ifrits_Cauldron/IDs")
require("scripts/globals/status")
-----------------------------------
function onMobInitiali... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/BaseLight.lua | 10 | 1196 |
--------------------------------
-- @module BaseLight
-- @extend Node
-- @parent_module cc
--------------------------------
-- light enabled getter and setter.
-- @function [parent=#BaseLight] setEnabled
-- @param self
-- @param #bool enabled
--------------------------------
-- intensity getter and setter ... | mit |
Colettechan/darkstar | scripts/zones/Port_San_dOria/npcs/Noquerelle.lua | 13 | 1358 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Noquerelle
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm9.lua | 14 | 1354 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm9 (???)
-- Spawns Chillwing Hwitti
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Windurst_Waters/npcs/Ohbiru-Dohbiru.lua | 28 | 12066 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ohbiru-Dohbiru
-- Involved in quest: Food For Thought, Say It with Flowers
-- Starts and finishes quest: Toraimarai Turmoil
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globa... | gpl-3.0 |
dkogan/notion-scripts | scripts/app.lua | 2 | 3817 | --
-- By Jeremy Hankins <nowan@nowan.org>
-- Multi-head support added by Johannes Segitz
-- Cycling contributed by
-- Antti Kaihola <antti.kaihola@linux-aktivaattori.org>
--
-- Time-stamp: <2005-11-16 12:02:46 Jeremy Hankins>
-- <2005-08-26 11:35:00 kaihola>
--
-- With these functions you can bind a key t... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sorrowful_Sage.lua | 14 | 2481 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sorrowful Sage
-- Type: Assault Mission Giver
-- @pos 134.096 0.161 -30.401 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
darklost/quick-ng | cocos/scripting/lua-bindings/script/cocostudio/DeprecatedCocoStudioFunc.lua | 61 | 3456 | if nil == ccs then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of GUIReader will be deprecated begin
local GUIReaderDeprecated = { }
function GUIReaderDeprecated.shareRe... | mit |
zynjec/darkstar | scripts/globals/mobskills/eye_scratch.lua | 11 | 1051 | ---------------------------------------------
-- Eye Scratch
--
-- Description: Scratches a single target right in the eyes. Additional effect: Blind
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
req... | gpl-3.0 |
JarnoVgr/InfectedWars | gamemode/init.lua | 1 | 76863 | --[[-----------------------------------------------------------------------------
* Infected Wars, an open source Garry's Mod game-mode.
*
* Infected Wars is the work of multiple authors,
* a full list can be found in CONTRIBUTORS.md.
* For more information, visit https://github.com/JarnoVgr/InfectedWars
*
* Inf... | mit |
Colettechan/darkstar | scripts/globals/mobskills/Wind_Shear.lua | 36 | 1145 | ---------------------------------------------
-- Wind Shear
--
-- Description: Deals damage to enemies within an area of effect. Additional effect: Knockback
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 10' radial
-- Notes: The knockback is rather severe. Vulpangue uses an enhanced version th... | gpl-3.0 |
ridrogo/ModeradorBot | bot.lua | 1 | 15719 | sis = require('posix')
HTTP = require('socket.http')
HTTPS = require('ssl.https')
URL = require('socket.url')
JSON = require('dkjson')
redis = require('redis')
clr = require 'term.colors'
db = Redis.connect('127.0.0.1', 6379)
--db:select(0)
serpent = require('serpent')
existe_apikey = io.open("./data/key","r")
bot_in... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Yhoator_Jungle/Zone.lua | 17 | 4099 | -----------------------------------
--
-- Zone: Yhoator_Jungle (124)
--
-----------------------------------
package.loaded[ "scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Yhoator_Jungle/TextIDs");
requir... | gpl-3.0 |
padrinoo1/telefork | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
Colettechan/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/Gebhardt.lua | 13 | 1257 | -----------------------------------
-- Area: North Gustaberg (S) (I-6)
-- NPC: Gebhardt
-- Involved in Quests: The Fighting Fourth
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
r... | gpl-3.0 |
pedja1/aNmap | dSploit/jni/nmap/nselib/membase.lua | 3 | 9997 | ---
-- A smallish implementation of the Couchbase Membase TAP protocol
-- Based on the scarce documentation from the Couchbase Wiki:
-- x http://www.couchbase.org/wiki/display/membase/SASL+Authentication+Example
--
-- @author "Patrik Karlsson <patrik@cqure.net>"
--
local bin = require "bin"
local match = require "mat... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Castle_Oztroja/npcs/_47j.lua | 14 | 1628 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Chamber_of_Oracles/TextIDs.lua | 7 | 1386 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Abyssea-Altepa/Zone.lua | 33 | 1470 | -----------------------------------
--
-- Zone: Abyssea - Altepa
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Altepa/TextIDs... | gpl-3.0 |
hossein5251/hossein5251bot | plugins/moderation.lua | 336 | 9979 | 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
local username = v.username
data[tostring(m... | gpl-2.0 |
BradSharp/miscellaneous | fenv/fenv.lua | 1 | 1100 | if not (setfenv or getfenv) then
local envs = setmetatable({}, {__mode = "k"}) -- Annoying work around
local getinfo = debug.getinfo
local getupvalue = debug.getupvalue
local upvaluejoin = debug.upvaluejoin
setfenv = function (fn, env)
fn = type(fn) == "function" and fn or
getinfo(fn and fn + 1 or 1, "f").... | mit |
zynjec/darkstar | scripts/globals/effects/magic_shield.lua | 12 | 1748 | -----------------------------------
--
-- Magic Shield BLOCKS all magic attacks
--
-----------------------------------
require("scripts/globals/status")
function onEffectGain(target,effect)
if effect:getPower() == 3 then -- arcane stomp
target:addMod(dsp.mod.FIRE_ABSORB, 100)
target:addMod(dsp.mod... | gpl-3.0 |
vatanambib/uzzbot | plugins/id.lua | 355 | 2795 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
Colettechan/darkstar | scripts/globals/effects/battlefield.lua | 13 | 1136 | -----------------------------------
--
-- EFFECT_BATTLEFIELD
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if (target:getPet()) then
target:getPet():addStatusEffect(effect);
... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Northern_San_dOria/npcs/Arnau.lua | 9 | 1245 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arnau
-- Involved in Mission: Save the Children
-- !pos 148 0 139 231
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(playe... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/weaponskills/nightmare_scythe.lua | 1 | 2220 | -----------------------------------
-- Nightmare Scythe
-- Scythe weapon skill
-- Skill Level: 100
-- Blinds enemy. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers: STR:60% ; M... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Lower_Jeuno/npcs/_l07.lua | 13 | 1554 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -45.148 0 -47.279
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
rocval/gamecode4 | Assets/Scripts/LevelInit.lua | 44 | 3469 | --========================================================================
-- LevelInit.lua : A script that's executed when the level is initializing
--
-- Part of the GameCode4 Application
--
-- GameCode4 is the sample application that encapsulates much of the source code
-- discussed in "Game Coding Complete - ... | lgpl-3.0 |
davidcarlisle/luaotfload | src/luaotfload-diagnostics.lua | 1 | 21558 | #!/usr/bin/env texlua
-----------------------------------------------------------------------
-- FILE: luaotfload-diagnostics.lua
-- DESCRIPTION: functionality accessible by the --diagnose option
-- REQUIREMENTS: luaotfload-tool.lua
-- AUTHOR: Philipp Gesang (Phg), <phg42.2a@gmail.com>
--------------... | gpl-2.0 |
Vadavim/jsr-darkstar | scripts/zones/The_Boyahda_Tree/npcs/Grounds_Tome.lua | 30 | 1095 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Balgas_Dais/bcnms/early_bird_catches_the_wyrm.lua | 30 | 1807 | -----------------------------------
-- Area: Balgas_Dais
-- Name: early bird catches the wyrm
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones... | gpl-3.0 |
zynjec/darkstar | scripts/globals/mobskills/hydro_canon.lua | 11 | 1388 | ---------------------------------------------------
-- Hydro_Canon
-- Description:
-- Type: Magical
-- additional effect : 40hp/tick Poison
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
-----------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Kazham/npcs/Thali_Mhobrum.lua | 15 | 1659 | -----------------------------------
-- Area: Kazham
-- NPC: Thali Mhobrum
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
local path = {
55.816410, -11.000000, -43.992680,
54.761787, -11.000000, -44.046181,
51.8058... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/West_Ronfaure/npcs/Harvetour.lua | 14 | 1917 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Harvetour
-- Type: Outpost Vendor
-- @pos -448 -19 -214 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/... | gpl-3.0 |
tsdfsetatata/xserver | config/server/map_tjzd_002Table.lua | 1 | 14121 | local map_tjzd_002 = {
[1000001] = {
['uid'] = 1000001,
['ID'] = 152020001,
['ResType'] = "Npc",
['PointPosX'] = 96.03,
['PointPosY'] = 12.642,
['PointPosZ'] = 153.51,
['Yaw'] = 54.90001,
['Level'] = 1,
['TargetInfoList'] = {
}
},... | gpl-3.0 |
Choumiko/BlueprintMirror | migrations/2015-04-04_BlueprintMirror_0.0.4.lua | 1 | 1333 |
function getMirroredRecipes(force)
local mirrored = {}
for i,recipe in pairs(force.recipes) do
if (type(recipe.ingredients) == "table" and recipe.ingredients[1] and recipe.ingredients[1].type) or
(type(recipe.products) == "table" and recipe.products[1] and recipe.products[1].type) then
local keysI... | mit |
Colettechan/darkstar | scripts/globals/weaponskills/victory_smite.lua | 11 | 1661 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget, Breez... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Xarcabard/TextIDs.lua | 13 | 1203 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6392; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6397; -- Obtained: <item>.
GIL_OBTAINED = 6398; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6400; -- Obtained... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Port_Windurst/npcs/Shanruru.lua | 14 | 2904 | -----------------------------------
-- Area: Port Windurst
-- NPC: Shanruru
-- Involved in Quest: Riding on the Clouds
-- @zone 240
-- @pos -1 -6 187
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm18.lua | 17 | 1550 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns: Lacovie
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Abyssea-Altepa/mobs/Rani.lua | 17 | 1277 | -----------------------------------
-- Area: Abyssea - Altepa
-- Mob: Rani
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob)
end;
---------... | gpl-3.0 |
darklost/quick-ng | quick/samples/tests/src/tests/framework/cryptoTest.lua | 8 | 2190 |
local CryptoTestScene = game.createSceneClass("CryptoTestScene")
function CryptoTestScene:ctor()
cc.FileUtils:getInstance():addSearchPath("src/")
self:prepare({
description = "Please check console output"
})
local items = {
"AES256",
"XXTEA",
"Base64",
"MD5Fil... | mit |
Colettechan/darkstar | scripts/zones/Rolanberry_Fields/npcs/Stone_Monument.lua | 13 | 1283 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 362.479 -34.894 -398.994 110
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Field_Manual.lua | 29 | 1067 | -----------------------------------
-- Field Manual
-- Area: Eastern Altepa Desert
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
----------------------------... | gpl-3.0 |
berinhard/newfies-dialer | lua/libs/fsm.lua | 15 | 7426 | -- ==========================================================================================
--
-- Finite State Machine Class for Lua 5.1 & Corona SDK
--
-- Written by Erik Cornelisse, inspired by Luiz Henrique de Figueiredo
-- E-mail: e.cornelisse@gmail.com
--
-- Version 1.0 April 27, 2011
--
-- Class is MIT Lice... | mpl-2.0 |
Vadavim/jsr-darkstar | scripts/zones/Selbina/npcs/Vobo.lua | 14 | 1535 | -----------------------------------
-- Area: Selbina
-- NPC: Vobo
-- Involved in Quest: Riding on the Clouds
-- @pos 37 -14 81 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/... | gpl-3.0 |
Disslove77777/33334444 | bot/bot.lua | 1 | 6858 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
Colettechan/darkstar | scripts/globals/items/mug_of_honeyed_egg.lua | 18 | 1276 | -----------------------------------------
-- ID: 5739
-- Item: mug_of_honeyed_egg
-- Food Effect: 30Min, All Races
-----------------------------------------
-- MP 8
-- Intelligence 1
-- MP recovered while healing 1
-----------------------------------------
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
darklost/quick-ng | quick/samples/touch/src/app/MyApp.lua | 8 | 1490 |
require("config")
require("framework.init")
local MyApp = class("MyApp", cc.mvc.AppBase)
local TESTS_LIST = {
"TestSingleTouch1Scene",
"TestSingleTouch2Scene",
"TestSingleTouch3Scene",
"TestSingleTouch4Scene",
"TestMultiTouches1Scene",
"TestMultiTouches2Scene",
"TestMultiTouches3Scene",
}... | mit |
Vadavim/jsr-darkstar | scripts/globals/mobskills/Netherspikes.lua | 1 | 1136 | ---------------------------------------------
-- Netherspikes
--
-- Description: Deals damage to a single target. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Inner_Horutoto_Ruins/IDs.lua | 9 | 2622 | -----------------------------------
-- Area: Inner Horutoto Ruins (192)
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.INNER_HORUTOTO_RUINS] =
{
text =
{
PORTAL_SEALED_BY_3_MAGIC = 8, -- The Sealed Portal ... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Morimar_Basalt_Fields/Zone.lua | 17 | 1243 | -----------------------------------
--
-- Zone: Morimar Basalt Fields
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Morimar_Basalt_Fields/TextIDs"] = nil;
require("scripts/zones/Morimar_Basalt_Fields/TextIDs");
-----------------------------------
-- onIni... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/spells/bluemagic/eyes_on_me.lua | 1 | 1661 | -----------------------------------------
-- Spell: Eyes On Me
-- Deals dark damage to an enemy
-- Spell cost: 112 MP
-- Monster Type: Demons
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+15
-- Level: 61
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 seconds
-- Magic Bursts on: Compr... | gpl-3.0 |
xiaq/luarocks | src/luarocks/fs/win32/tools.lua | 15 | 12541 |
--- fs operations implemented with third-party tools for Windows platform abstractions.
-- Download http://unxutils.sourceforge.net/ for Windows GNU utilities
-- used by this module.
--module("luarocks.fs.win32.tools", package.seeall)
local tools = {}
local fs = require("luarocks.fs")
local dir = require("luarocks.di... | mit |
Colettechan/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm4.lua | 13 | 1036 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm4 (???)
-- Involved in quest: Pirate's Chart
-- @pos -160 4 -131 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");... | gpl-3.0 |
izaquias/Asteroides | asteroides/Start.lua | 1 | 1475 | --Code Here
--Start.lua
local composer = require("composer")
local widget = require("widget")
local scene = composer.newScene()
local botao
local function scene:create(evento)
local grupoCena = self.view
local phase = evento.phase
botao = widget.newButton( {label = "Jogar", width = 40, height = 80, y =... | mit |
IMCG/RamCloud | ft/wireshark_rpc.lua | 20 | 5693 | -- (c) 2010 Stanford University
-- Wireshark is under the GPL, so I think this script has to be as well.
print("hello world!")
require "luabit/bit"
----------------
-- from http://ricilake.blogspot.com/2007/10/iterating-bits-in-lua.html:
function getbit(p)
return 2 ^ (p - 1) -- 1-based indexing
end
-- Typical call... | isc |
Vadavim/jsr-darkstar | scripts/zones/East_Ronfaure/npcs/Andelain.lua | 14 | 2191 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Andelain
-- Type: Standard NPC
-- @pos 664.231 -12.849 -539.413 101
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
------------------------... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Southern_San_dOria/npcs/Paouala.lua | 11 | 1729 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Paouala
-- Starts and Finishes Quest: Sleepless Nights
-- !pos 158 -6 17 230
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/shop");
require("scripts/globals/q... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/PsoXja/npcs/_09c.lua | 13 | 2831 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09c (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 290.000 -1.925 -18.400 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Qufim_Island/Zone.lua | 12 | 2785 | -----------------------------------
--
-- Zone: Qufim_Island (126)
--
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/quests");
require("sc... | gpl-3.0 |
Colettechan/darkstar | scripts/commands/area.lua | 1 | 13401 | ---------------------------------------------------------------------------------------------------
-- func: areagm
-- auth: <Unknown> :: Modded by kernel.
-- desc: Teleports a player to the given zone.
---------------------------------------------------------------------------------------------------
cmdprops =
{
... | gpl-3.0 |
zynjec/darkstar | scripts/globals/items/bowl_of_miso_soup_+1.lua | 11 | 1853 | -----------------------------------------
-- ID: 6467
-- Item: bowl_of_miso_soup_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP +8% (cap 55)
-- DEX +5
-- AGI +5
-- Accuracy +11% (cap 45)
-- Attack +11% (cap 45)
-- Ranged Accuracy +11% (cap 45)
-- Ranged Attack +11% (cap 45)
--------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/serving_of_zaru_soba.lua | 18 | 1295 | -----------------------------------------
-- ID: 5727
-- Item: serving_of_zaru_soba
-- Food Effect: 30Min?, All Races
-----------------------------------------
-- Agility 3
-- HP % 12 (cap 180)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/SkeletonAnimation.lua | 10 | 1885 |
--------------------------------
-- @module SkeletonAnimation
-- @extend SkeletonRenderer
-- @parent_module sp
--------------------------------
--
-- @function [parent=#SkeletonAnimation] setStartListener
-- @param self
-- @param #function listener
--------------------------------
--
-- @function [parent=... | mit |
Colettechan/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm13.lua | 13 | 1364 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm13 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -194.166 -5.500 139.969 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
danielcabralsilveira/puzzles | luaunit-master/doc/test_something.lua | 5 | 2526 |
luaunit = require('luaunit')
function add(v1,v2)
-- add positive numbers
-- return 0 if any of the numbers are 0
-- error if any of the two numbers are negative
if v1 < 0 or v2 < 0 then
error('Can only add positive or null numbers, received '..v1..' and '..v2)
end
if v1 == 0 or v2 == 0... | mit |
springning/Atlas | lib/histogram.lua | 40 | 5165 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
lcf8858/Sample_Lua | frameworks/cocos2d-x/external/lua/luasocket/script/socket/url.lua | 31 | 11037 | -----------------------------------------------------------------------------
-- URI parsing, composition and relative URL resolution
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
--------------------------------------------------------------... | mit |
Vadavim/jsr-darkstar | scripts/zones/Riverne-Site_A01/mobs/Heliodromos.lua | 13 | 2198 | -----------------------------------
-- Area: Riverne Site A01
-- MOB: Heliodromos
-----------------------------------
-----------------------------------
-- onMobRoam
-----------------------------------
function onMobRoam(mob)
local Heliodromos_Table =
{
16900110,
16900111,
16900112... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Cloister_of_Storms/bcnms/trial_by_lightning.lua | 30 | 2230 | -----------------------------------
-- Area: Cloister of Storms
-- BCNM: Trial by Lightning
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("script... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/margherita_pizza.lua | 18 | 1199 | -----------------------------------------
-- ID: 5695
-- Item: margherita_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Attack 10
-- Health Points 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
scholzd/libmoon | lua/pipe.lua | 3 | 6772 | --- Inter-task communication via pipes
local mod = {}
local memory = require "memory"
local ffi = require "ffi"
local serpent = require "Serpent"
local libmoon = require "libmoon"
local log = require "log"
local S = require "syscall"
ffi.cdef [[
// dummy
struct spsc_ptr_queue { };
struct mpmc_ptr_qu... | mit |
zynjec/darkstar | scripts/globals/mobskills/chemical_bomb.lua | 12 | 1125 | ---------------------------------------------
-- Chemical_Bomb
--
-- Description: slow + elegy
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/status")
---------------------------------------------
function onMobSkillC... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/zone.lua | 30 | 3876 | ------------------------------------
--
-- Contains global functions and variables
-- related to area specific things
--
------------------------------------
------------------------------------
-- zone related IDs
------------------------------------
-- Zone Types
ZONETYPE_NONE = 0
ZONETYPE_CI... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/mobskills/Dragon_Breath.lua | 34 | 1375 | ---------------------------------------------
-- Dragon Breath
--
-- Description: Deals Fire damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Fafnir, Nidhogg, Cynoprosopi, and Wyrm. Because of the high damage output... | gpl-3.0 |
lingkeyang/2DPlatformer-SLua | Assets/StreamingAssets/Lua/Logic/LgBackgroundParallax.lua | 3 | 3371 | --
-- Back ground parallax class.
--
-- @filename LgBackgroundParallax.lua
-- @copyright Copyright (c) 2015 Yaukey/yaukeywang/WangYaoqi (yaukeywang@gmail.com) all rights reserved.
-- @license The MIT License (MIT)
-- @author Yaukey
-- @date 2015-09-02
--
local DLog = YwDebug.Log
local DLogWarn = YwDebug.Log... | mit |
clashman/vlc | share/lua/meta/art/00_musicbrainz.lua | 71 | 3091 | --[[
Gets an artwork from the Cover Art Archive or Amazon
$Id$
Copyright © 2007-2010 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 ... | gpl-2.0 |
Akamaru/Mikubot | plugins/img_google.lua | 1 | 2465 | -- This is a proprietary plugin, property of Andreas Bielawski, (c) 2015 <andi (dot) b (at) outlook (dot) de>
-- DO NOT USE WITHOUT PERMISSION
do
local _blacklist
local function getGoogleImage(text)
local apikey = cred_data.google_apikey
local cseid = cred_data.google_cse_id
local url = 'https://www.googleapis... | gpl-2.0 |
anthrotype/sile | languages/tr.lua | 3 | 5004 | SILE.hyphenator.languages["tr"] = {};
SILE.hyphenator.languages["tr"].patterns =
{
"2a1",
"2â1",
"2e1",
"2ı1",
"2i1",
"2î1",
"2o1",
"2ö1",
"2u1",
"2ü1",
"2û1",
-- allow hyphen either side of consonants
"1b1",
"1c1",
"1ç1",
"1d1",
"1f1",
"1g1",
"1ğ1",
"1h1",
"1j1",
"1k1",
"1l1",
"1m1",
"1n1",
"1p1",
"1r1",
"1s1",
"1ş... | mit |
Colettechan/darkstar | scripts/zones/Mhaura/TextIDs.lua | 15 | 1944 | -- 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 = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/mobskills/Slam_Dunk.lua | 1 | 1274 | ---------------------------------------------------
-- Slam Dunk
-- Deals damage to a single target. Additional effect: bind
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
--------------------------... | gpl-3.0 |
jrgdiz/NewtonsRevenge | hump/ringbuffer.lua | 4 | 2810 | --[[
Copyright (c) 2010-2012 Matthias Richter
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 |
Vadavim/jsr-darkstar | scripts/zones/Bostaunieux_Oubliette/npcs/Novalmauge.lua | 1 | 4467 | -----------------------------------
-- Area: Bostaunieux Obliette
-- NPC: Novalmauge
-- Starts and Finishes Quest: The Rumor
-- Involved in Quest: The Holy Crest, Trouble at the Sluice
-- @pos 70 -24 21 167
-----------------------------------
package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil;
-------... | gpl-3.0 |
rzetterberg/alven | src/test/static/lua/examples/page_list/lustache/scanner.lua | 3 | 1377 | local string_find, string_match, string_sub =
string.find, string.match, string.sub
local scanner = {}
-- Returns `true` if the tail is empty (end of string).
function scanner:eos()
return self.tail == ""
end
-- Tries to match the given regular expression at the current position.
-- Returns the ma... | mit |
darklost/quick-ng | tools/cocos2d-console/plugins/plugin_luacompile/bin/jit/bcsave.lua | 28 | 18091 | ----------------------------------------------------------------------------
-- LuaJIT module to save/list bytecode.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
Vadavim/jsr-darkstar | scripts/zones/Northern_San_dOria/npcs/Ishwar.lua | 14 | 1035 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ishwar
-- Type: Standard Dialogue NPC
-- @zone 231
-- @pos -47.103 -1.999 -19.582
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
-... | gpl-3.0 |
actboy168/MoeHero | scripts/maps/spring/box_buff_4.lua | 1 | 1506 | local buff = ac.buff['奥能涌动']
buff.tip = '你的Q技能会代替普通攻击,但伤害只有%damage%%,持续%time%秒'
buff.send_tip = true
buff.damage = 40
buff.time = 30
buff.q_passive = false
function buff:on_add()
local hero = self.target
self.eff = hero:add_effect('origin', [[222.mdl]])
self.trg1 = hero:event '单位-发动攻击' (function(trg, damage)
lo... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm3.lua | 30 | 1360 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Armed Gears(ZNM T3))
-- @pos -42 -4 -169 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Rui... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/qm9.lua | 57 | 2181 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: qm9 (??? - Ancient Papyrus Shreds)
-- Involved in Quest: In Defiant Challenge
-- @pos 92.272 -32 -64.676 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.