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 |
|---|---|---|---|---|---|
kidaa/Awakening-Core3 | bin/scripts/screenplays/cities/corellia_kor_vella.lua | 1 | 36866 | CorelliaKorVellaScreenPlay = ScreenPlay:new {
numberOfActs = 1,
screenplayName = "CorelliaKorVellaScreenPlay"
}
registerScreenPlay("CorelliaKorVellaScreenPlay", true)
function CorelliaKorVellaScreenPlay:start()
if (isZoneEnabled("corellia")) then
self:spawnMobiles()
end
end
function CorelliaKorVellaScreenPlay... | lgpl-3.0 |
ArchiveTeam/orkut-grab | orkut.lua | 1 | 4939 | dofile("urlcode.lua")
dofile("table_show.lua")
local url_count = 0
local tries = 0
local item_type = os.getenv('item_type')
local item_value = os.getenv('item_value')
local downloaded = {}
local addedtolist = {}
read_file = function(file)
if file then
local f = assert(io.open(file))
local data = f:read("*a... | unlicense |
eraffxi/darkstar | scripts/zones/Bhaflau_Thickets/npcs/Kamih_Mapokhalam.lua | 2 | 1389 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Kamih Mapokhalam
-- 20 -30 597 z 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Bhaflau_Thickets/... | gpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/mobile/dressed_corsec_officer_human_male_01.lua | 3 | 2260 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/draft_schematic/clothing/clothing_shoes_casual_07.lua | 2 | 3446 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/misc/picture_handheld_s01.lua | 3 | 2244 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/inventory/creature_inventory_2.lua | 1 | 2244 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
hayword/tfatf_epgp | modules/ui.lua | 2 | 46096 | --[[ EPGP User Interface ]]--
local mod = EPGP:NewModule("ui")
local L = LibStub("AceLocale-3.0"):GetLocale("EPGP")
local GS = LibStub("LibGuildStorage-1.2")
local GP = LibStub("LibGearPoints-1.2")
local DLG = LibStub("LibDialog-1.0")
local GUI = LibStub("AceGUI-3.0")
local EPGPWEB = "http://www.epgpweb.com"
local B... | bsd-3-clause |
Vivitarut/darkstar | scripts/globals/items/prime_angler_stewpot.lua | 36 | 1919 | -----------------------------------------
-- ID: 5612
-- Item: Prime Angler Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10%
-- MP +15
-- Dexterity 2
-- Agility 1
-- Mind 1
-- HP Recovered while healing 7
-- MP Recovered while healing 2
-- Accuracy 15% ... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Mhaura/npcs/Zexu.lua | 17 | 1287 | -----------------------------------
-- Area: Mhaura
-- NPC: Zexu
-- Involved in Quests: The Sand Charm
-- @pos 30 -8 25 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Mhaura/npcs/Zexu.lua | 17 | 1287 | -----------------------------------
-- Area: Mhaura
-- NPC: Zexu
-- Involved in Quests: The Sand Charm
-- @pos 30 -8 25 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Cloister_of_Gales/bcnms/sugar-coated_directive.lua | 13 | 1705 | ----------------------------------------
-- Area: Cloister of Gales
-- BCNM: Sugar Coated Directive (ASA-4)
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/qu... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/faerie_apple.lua | 35 | 1211 | -----------------------------------------
-- ID: 4363
-- Item: faerie_apple
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -4
-- Intelligence 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
kepler155c/opus-apps | milo/plugins/jobMonitor.lua | 1 | 5929 | local Craft = require('milo.craft2')
local Event = require('opus.event')
local itemDB = require('core.itemDB')
local Milo = require('milo')
local Sound = require('opus.sound')
local UI = require('opus.ui')
local Util = require('opus.util')
local colors = _G.colors
local context = Milo:getContext()
l... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Temenos/mobs/Enhanced_Tiger.lua | 12 | 1044 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Tiger
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
msafin/luci | contrib/luasrcdiet/lua/optlex.lua | 125 | 31588 | --[[--------------------------------------------------------------------
optlex.lua: does lexer-based optimizations
This file is part of LuaSrcDiet.
Copyright (c) 2008 Kein-Hong Man <khman@users.sf.net>
The COPYRIGHT file describes the conditions
under which this software may be distributed.
See the Chan... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/silken_sash.lua | 36 | 1212 | -----------------------------------------
-- ID: 5632
-- Item: Silken Sash
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recovered while healing +3
-- MP Recovered while healing +5
-----------------------------------------
require("scripts/globals/status");
---... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/silken_sash.lua | 36 | 1212 | -----------------------------------------
-- ID: 5632
-- Item: Silken Sash
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recovered while healing +3
-- MP Recovered while healing +5
-----------------------------------------
require("scripts/globals/status");
---... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Cloister_of_Frost/npcs/Ice_Protocrystal.lua | 12 | 1847 | -----------------------------------
-- Area: Cloister of Frost
-- NPC: Ice Protocrystal
-- Involved in Quests: Trial by Ice, Trial Size Trial by Ice
-- @pos 558 0 596 203
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil;
-------------------------------------
... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tsih_Kolgimih.lua | 38 | 1045 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tsih Kolgimih
-- Type: Event Scene Replayer
-- @pos -143.000 0.999 11.000 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
Telewild/telewild2 | plugins/stats.lua | 16 | 3988 | 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 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Northern_San_dOria/npcs/Guilberdrier.lua | 19 | 1626 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Guilberdrier
-- Type: Standard Info NPC
-- Involved in Quest: Flyers for Regine, Exit the Gambler
-- @zone: 231
-- @pos -159.082 12.000 253.794
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = ... | gpl-3.0 |
evanphx/gopher-lua | _lua5.1-tests/gc.lua | 19 | 7014 | print('testing garbage collection')
collectgarbage()
_G["while"] = 234
limit = 5000
contCreate = 0
print('tables')
while contCreate <= limit do
local a = {}; a = nil
contCreate = contCreate+1
end
a = "a"
contCreate = 0
print('strings')
while contCreate <= limit do
a = contCreate .. "b";
a = string.gsub... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/effects/chr_down.lua | 19 | 1084 | -----------------------------------
--
-- EFFECT_CHR_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if((target:getStat(MOD_CHR) - effect... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/PsoXja/npcs/_093.lua | 8 | 1608 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _093 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Aht_Urhgan_Whitegate/Zone.lua | 13 | 3762 | -----------------------------------
--
-- Zone: Aht_Urhgan_Whitegate (50)
--
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Tavnazian_Safehold/npcs/Elysia.lua | 4 | 2305 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Elysia
-- Starts Quest: Unforgiven
-- @zone 26
-- @pos -50.410 -22.204 -41.640
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs")
require("script... | gpl-3.0 |
cryptotoad/prosody-modules | mod_swedishchef/mod_swedishchef.lua | 32 | 1690 | -- Copyright (C) 2009 Florian Zeitz
-- Copyright (C) 2009 Matthew Wild
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local trigger_string = module:get_option_string("swedishchef_trigger");
trigger_string = (trigger_string and trigger_string .. " "... | mit |
alagoutte/ntopng | third-party/LuaJIT-2.0.3/dynasm/dynasm.lua | 60 | 30989 | ------------------------------------------------------------------------------
-- DynASM. A dynamic assembler for code generation engines.
-- Originally designed and implemented for LuaJIT.
--
-- Copyright (C) 2005-2014 Mike Pall. All rights reserved.
-- See below for full copyright notice.
----------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/mobskills/Enervation.lua | 6 | 1111 | ---------------------------------------------
-- Enervation
--
-- Description: Lowers the defense and magical defense of enemies within range.
-- Type: Magical (Dark)
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/gl... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Xarcabard/TextIDs.lua | 3 | 1171 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6391; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6394; -- Obtained: <item>.
GIL_OBTAINED = 6395; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6397; -- Obtained... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Southern_San_dOria/npcs/Shilah.lua | 36 | 1992 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Shilah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop")... | gpl-3.0 |
crodrigues96/mtasa-blue | vendor/lua/src/premake.lua | 38 | 6155 | ----------------------------------------------------
-- The main porpouse of this file is to build linux gcc makefiles.
-- Must have Premake version 3 installed.
-- Original Premake was changed to remove some parameters and add others.
-- Default parameters:
-- premake3s --target gnu --os linux
-- But it can build wi... | gpl-3.0 |
cdd990/skynet | examples/login/gated.lua | 57 | 2201 | local msgserver = require "snax.msgserver"
local crypt = require "crypt"
local skynet = require "skynet"
local loginservice = tonumber(...)
local server = {}
local users = {}
local username_map = {}
local internal_id = 0
-- login server disallow multi login, so login_handler never be reentry
-- call by login server
... | mit |
Vivitarut/darkstar | scripts/zones/Southern_San_dOria/npcs/Chanpau.lua | 19 | 2054 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Chanpau
-- Optional Involvement in Quest: A Squire's Test II
-- @zone 230
-- @pos -152 -2 55
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
maz-1/openwrt-extra | luci/applications/luci-ngrokc/luasrc/model/cbi/ngrokc/detail.lua | 2 | 2817 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2013 Manuel Munz <freifunk at somakoma dot de>
-- Copyright 2014-2015 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
-- Licensed to the public under the Apache License 2.0.
local UCI... | gpl-2.0 |
kyranf/robotarmyfactorio | robolib/Squad.lua | 1 | 37700 | require("config.config")
require("util")
require("robolib.util")
require("robolib.statistics")
require("stdlib/log/logger")
require("stdlib/game")
require("prototypes.DroidUnitList")
commands = {
assemble = 1, -- starting state, and post-retreat/pre-hunt state
move = 2, -- not really useful, don't use ... | mit |
nanomsg/luajit-nanomsg | examples/reqrep.lua | 1 | 1464 | -- Request/Reply
-- Ported from: https://github.com/dysinger/nanomsg-examples
local usage = [[
USAGE:
luajit reqrep.lua node0 <URL>
luajit reqrep.lua node1 <URL>
EXAMPLE:
luajit reqrep.lua node0 'ipc:///tmp/reqrep.ipc' & node0=$! && sleep 1
luajit reqrep.lua node1 'ipc:///tmp/reqrep.ipc'
kill $node0
]]
loca... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/mug_of_honeyed_egg.lua | 35 | 1294 | -----------------------------------------
-- 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 |
asgty/teleashraf | plugins/stats.lua | 3 | 4014 | 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 |
msafin/luci | applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua | 68 | 4034 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-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
htt... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/items/serving_of_salmon_meuniere_+1.lua | 3 | 1292 | -----------------------------------------
-- ID: 4347
-- Item: serving_of_salmon_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -2
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Riverne-Site_B01/npcs/_0t3.lua | 19 | 1339 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_B01/Text... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/GUIReader.lua | 7 | 1210 |
--------------------------------
-- @module GUIReader
-- @extend Ref
-- @parent_module ccs
--------------------------------
-- @function [parent=#GUIReader] setFilePath
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#GUIReader] widgetFromJsonFile
-- @param self
-... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/items/bowl_of_sopa_de_pez_blanco.lua | 3 | 1428 | -----------------------------------------
-- ID: 4601
-- Item: Bowl of Sopa de Pez Blanco
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 12
-- Dexterity 6
-- Mind -4
-- Accuracy 3
-- Ranged ACC % 7
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/gl... | gpl-3.0 |
UPenn-RoboCup/UPennalizers | Player/Motion/keyframes/km_WebotsNao_StandupFromFront.lua | 2 | 11855 | local mot = {};
mot.servos = {
1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,
};
mot.keyframes = {
{
angles = vector.new({
0.0, 0.0,
-90.0, 90.0, -90.0, -90.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
-90.0, -90.0, 90.0, 90.0,
... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/carpenters_belt.lua | 5 | 1213 | -----------------------------------------
-- ID: 15444
-- Item: Carpenter's belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Woodworking Skill +1
-----------------------------------------
re... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Open_sea_route_to_Mhaura/Zone.lua | 34 | 1477 | -----------------------------------
--
-- Zone: Open_sea_route_to_Mhaura (47)
--
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Open_sea_route_to_Mhaura/TextIDs");
----------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Southern_San_dOria_[S]/npcs/MieuseloirBEnchelles1.lua | 36 | 1055 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Miuseloir B Enchelles
-- @zone 80
-- @pos 120 0 104
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
------------------... | gpl-3.0 |
Telegram-CN/GroupButler | plugins/extra.lua | 4 | 4293 | local function is_locked(chat_id)
local hash = 'chat:'..chat_id..':settings'
local current = db:hget(hash, 'Extra')
if current == 'off' then
return true
else
return false
end
end
local action = function(msg, blocks)
if msg.chat.type == 'private' then return end
if blocks[1] == 'extra' then... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Port_Windurst/npcs/Pherchabalet.lua | 38 | 1039 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pherchabalet
-- Type: Standard NPC
-- @zone: 240
-- @pos 34.683 -5.999 137.447
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Residential_Area/Zone.lua | 4 | 1253 | -----------------------------------
--
-- Zone: Residential_Area
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Residential_Area/TextIDs"] = nil;
require("scripts/zones/Residential_Area/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Dynamis-Qufim/Zone.lua | 15 | 2350 | -----------------------------------
--
-- Zone: Dynamis-Qufim
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil;
require("scripts/zones/Dynamis-Qufim/TextIDs");
-----------------------------------
-- onInitialize
----... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Wahraga.lua | 19 | 1177 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Wahraga
-- Guild Merchant: Alchemist Guild
-- @pos -76.836 -6.000 140.331 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Woods/npcs/Valeriano.lua | 17 | 1692 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Valeriano
-- Standard Merchant NPC
-- Working 100%
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Karlotte.lua | 38 | 1069 | ----------------------------------
-- Area: Bastok Markets [S]
-- NPC: Karlotte
-- Type: Item Deliverer
-- @pos -191.646 -8 -36.349 87
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Upper_Jeuno/TextIDs.lua | 2 | 1699 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6541; -- Obtained: <item>.
GIL_OBTAINED = 6542; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6544; -- Obtained... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Lufaise_Meadows/mobs/Padfoot.lua | 18 | 2228 | -----------------------------------
-- Area: Lufaise Meadows
-- Mob: Padfoot
-- @pos 260.445 -1.761 -27.862 24 (True Copy) 16875578
-- @pos 412.447 -0.057 -200.161 24 (Fake Copies) 16875615
-- @pos -378.950 -15.742 144.215 24 || 16875703
-- @pos -43.689 0.487 -328.028 24 || 16875552
-- @pos -1... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Southern_San_dOria/npcs/Carautia.lua | 6 | 1986 | -----------------------------------
-- Area: Carautia
-- NPC: Southern San d'Oria
-- Standard Merchant NPC
-- @zone 230
-- @pos 70 0 39
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/West_Sarutabaruta_[S]/npcs/Cavernous_Maw.lua | 4 | 1332 | -----------------------------------
-- Cavernous Maw
-- Teleports Players to West Sarutabaruta
-- @pos 0 0 -165 95
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/t... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/tropical_clam.lua | 18 | 1266 | -----------------------------------------
-- ID: 5124
-- Item: Tropical Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Vitality 4
-- Dexterity -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/effects/curse.lua | 39 | 1034 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--NOTE: The power amount dictates the amount to REDU... | gpl-3.0 |
transitd/transitd | src/monitor.lua | 3 | 1951 | --[[
@file monitor.lua
@license The MIT License (MIT)
@author Alex <alex@maximum.guru>
@copyright 2016 Alex
--]]
--- @module monitor
local monitor = {}
local threadman = require("threadman")
local network = require("network")
local online = nil
function monitor.check()
monitor.onlineCheck()
-- TODO: do other ... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Waters_[S]/npcs/Lutete.lua | 38 | 1110 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Lutete
-- Type: Standard NPC
-- @zone: 94
-- @pos 169.205 -0.879 -9.107
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Inner_Horutoto_Ruins/npcs/_5ch.lua | 4 | 1035 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5ch (Gate of Thunder)
-- @pos -331 0 139 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");
-... | gpl-3.0 |
kepler155c/opus-apps | common/multiMiner.lua | 1 | 13574 | local Event = require('opus.event')
local GPS = require('opus.gps')
local itemDB = require('core.itemDB')
local Point = require('opus.point')
local Socket = require('opus.socket')
local Sound = require('opus.sound')
local Util = require('opus.util')
local UI = require('opus.ui')
local colors = _G.... | mit |
szorfein/dotfiles | awesomewm/.config/awesome/helpers.lua | 1 | 2353 | local beautiful = require("beautiful")
local awful = require("awful")
local wibox = require("wibox")
local gears = require("gears")
-- Get screen geometry
local screen_width = awful.screen.focused().geometry.width
local screen_height = awful.screen.focused().geometry.height
local helpers = {}
-- Create rounded recta... | mit |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/script/DrawPrimitives.lua | 57 | 12038 | local dp_initialized = false
local dp_shader = nil
local dp_colorLocation = -1
local dp_color = { 1.0, 1.0, 1.0, 1.0 }
local dp_pointSizeLocation = -1
local dp_pointSize = 1.0
local SHADER_NAME_POSITION_U_COLOR = "ShaderPosition_uColor"
local targetPlatform = CCApplication:getInstance():getTargetPlatform()
loca... | apache-2.0 |
Mia2b/Code-N-Slash | Code&Slash/luaj-3.0.1/test/lua/perf/fannkuch.lua | 6 | 1518 | -- The Computer Language Benchmarks Game
-- http://shootout.alioth.debian.org/
-- contributed by Mike Pall
local function fannkuch(n)
local p, q, s, odd, check, maxflips = {}, {}, {}, true, 0, 0
for i=1,n do p[i] = i; q[i] = i; s[i] = i end
repeat
-- Print max. 30 permutations.
if check < 30 then
i... | apache-2.0 |
olax/prosody-modules | mod_captcha_registration/util/dataforms.lua | 33 | 6601 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local setmetatable = setmetatable;
local pairs, ipairs = pairs, ipairs;
local tostring, type, next = tost... | mit |
Gwynthell/FFDB | scripts/zones/Silver_Sea_route_to_Nashmau/Zone.lua | 2 | 1379 | -----------------------------------
--
-- Zone: Silver_Sea_route_to_Nashmau
--
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs");
require("scripts/globals/sett... | gpl-3.0 |
jdhk94/DarkRP | gamemode/modules/fadmin/fadmin/playeractions/ragdoll/sv_init.lua | 5 | 14525 | local HangProps = {
[1] = {model = "models/props_docks/dock02_pole02a_256.mdl", pos = Vector(100, 0, 39), ang = Angle(0,0,0)},
[2] = {model = "models/props_docks/dock01_pole01a_128.mdl", pos = Vector(43, 0, 135), ang = Angle(0, -90, 90)}
}
local VictimPos1 = {
Vector(0.08349609375, 4.9041748046875, 10.3585... | mit |
maz-1/openwrt-extra | luci/applications/luci-webshell/luasrc/controller/webshell.lua | 7 | 1453 | module("luci.controller.webshell", package.seeall)
function index()
luci.i18n.loadc("webshell")
local i18n = luci.i18n.translate
page = entry({"admin", "system", "cmd_run"}, call("cmd_run"), nil)
page.leaf = true
page = node("admin", "system", "WebShell")
page.target = template("webshell")
page.title = i18n("We... | gpl-2.0 |
focusworld/teletmamal | plugins/inpm.lua | 243 | 3007 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Walls/npcs/Zayhi-Bauhi.lua | 19 | 5249 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-91 Y:-9 Z:109
-- NPC: Zayhi-Bauhi
-- Working 100%
-- Starts and Finishes Quest: To Bee or Not to Bee?
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Windurst/npcs/Dehn_Harzhapan.lua | 38 | 1037 | -----------------------------------
-- Area: Port Windurst
-- NPC: Dehn Harzhapan
-- Type: Standard NPC
-- @zone: 240
-- @pos -7.974 -7 152.633
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
------------... | gpl-3.0 |
shkan/DB | plugins/spanish_lang.lua | 1 | 18956 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
WilliamO7/Sunshell | LUA/modules/mail.lua | 1 | 1480 | -- Set private "Mail" mode
mode = "Mail"
-- Internal module settings
if Network.isWifiEnabled() then
object = "Mail Object"
to = "sample@gmail.com"
body = "This is my e-mail body."
else
ShowError("You need to be connected on Internet to send mails.")
CallMainMenu()
end
-- Module main cycle
function AppMainCycle(... | gpl-3.0 |
xderhan/LuaLB | code-base/lualb/test/utils.lua | 1 | 2227 | -- Helper routines
report_progress = function(start_wtime, t0, t1, t)
local secs = lb.wtime() - start_wtime
local steps = t - t0
local sps = secs/steps
print()
io.write(string.format("<>> %d steps done in %f seconds (%f sec/step)\n",
steps, secs, sps))
io.write(string.format("<>> ETA: %s\n", lb.wtime_... | gpl-3.0 |
Windower/Resources | resources_data/spells.lua | 1 | 262846 | -- Automatically generated file: Spells
return {
[1] = {id=1,en="Cure",ja="ケアル",cast_time=2,element=6,icon_id=86,icon_id_nq=6,levels={[3]=1,[5]=3,[7]=5,[20]=5},mp_cost=8,prefix="/magic",range=12,recast=5,recast_id=1,requirements=1,skill=33,targets=63,type="WhiteMagic"},
[2] = {id=2,en="Cure II",ja="ケアルII",... | bsd-3-clause |
maz-1/openwrt-extra | luci/applications/luci-syncy/luasrc/model/cbi/syncy.lua | 2 | 11927 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Sauromugue_Champaign/npcs/Cavernous_Maw.lua | 5 | 2222 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- Teleports Players to Sauromugue_Champaign_S
-- @pos 369 8 -227 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/slice_of_ziz_meat.lua | 18 | 1283 | -----------------------------------------
-- ID: 5581
-- Item: Slice of Ziz Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- Strength +4
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/AlTaieu/npcs/Dimensional_Portal.lua | 9 | 1673 | -----------------------------------
-- Area: AlTaieu
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
-----------------------------------
-- onTrade Action
---... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/stringing_pummel.lua | 4 | 4474 | -----------------------------------
-- Stringing Pummel
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a sixfold attack. Damage varies with TP. Kenkonken: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Puppetmaster) quest.
-- Aligned with the Shadow Gorget, ... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/steamed_catfish.lua | 3 | 1384 | -----------------------------------------
-- ID: 4557
-- Item: steamed_catfish
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 30
-- Magic % 1
-- Vitality 3
-- Intelligence 1
-- Mind -3
-- Earth Res 10
-----------------------------------------
require("scripts/globals/status");
-... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Woods/npcs/Abby_Jalunshi.lua | 38 | 1042 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Abby Jalunshi
-- Type: Moghouse Renter
-- @zone: 241
-- @pos -101.895 -5 36.172
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_San_dOria/npcs/Deguerendars.lua | 36 | 2054 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Deguerendars
-- Only sells when San d'Oria contrls Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/warm_egg.lua | 3 | 1077 | -----------------------------------------
-- ID: 4602
-- Item: warm_egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 18
-- Magic 18
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/The_Garden_of_RuHmet/npcs/_0zv.lua | 19 | 1079 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: particle gate
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
---------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Bastok/npcs/Talib.lua | 19 | 2852 | -----------------------------------
-- Area: Port Bastok
-- NPC: Talib
-- Starts Quest: Beauty and the Galka
-- Starts & Finishes Quest: Shady Business
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
BurmistrovJ/prosody-modules | mod_s2s_idle_timeout/mod_s2s_idle_timeout.lua | 32 | 1590 | local now = os.time;
local s2smanager = require "core.s2smanager";
local timer = require "util.timer";
local s2s_sessions = setmetatable({}, { __mode = "kv" });
local idle_timeout = module:get_option("s2s_idle_timeout") or 300;
local check_interval = math.ceil(idle_timeout * 0.75);
local function install_checks(ses... | mit |
Gwynthell/FFDB | scripts/zones/Mhaura/npcs/Rycharde.lua | 2 | 15618 | -----------------------------------
-- Area: Mhaura
-- NPC: Rycharde
-- Standard Info NPC
-- Starts & Finishes non Repeatable Quest: Rycharde the Chef,
-- WAY_OF_THE_COOK, UNENDING_CHASE
-- his name is Valgeir (not completed correctly, ferry not implemented)
-- the clue (100%)
-- the basics (not completed correct... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Windurst/npcs/Sheia_Pohrichamaha.lua | 36 | 1535 | -----------------------------------
-- Area: Port Windurst
-- NPC: Sheia Pohrichamaha
-- Only sells when Windurst controlls Fauregandi Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/z... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Crawlers_Nest_[S]/Zone.lua | 4 | 1239 | -----------------------------------
--
-- Zone: Crawlers_Nest_[S] (171)
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Crawlers_Nest_[S]/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
nagyistoce/cardpeek | dot_cardpeek_dir/scripts/etc/ravkav-strings.lua | 16 | 27069 | RAVKAV_ISSUERS = {
[1] = "Service Center (Postal Bank)",
[2] = "Israel Rail",
[3] = "Egged",
[4] = "Egged Transport",
[5] = "Dan",
[6] = "NTT (Nazereth Consolidated Bus Services)",
[7] = "NTT (Nazereth Travel & Tourism)",
[8] = "JB Tours",
[9] = "Omni (Nazrin Express)",
[10] = "A... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Port_Bastok/npcs/Valeriano.lua | 17 | 1664 | -----------------------------------
-- Area: Port Bastok
-- NPC: Valeriano
-- 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 |
Vivitarut/darkstar | scripts/globals/abilities/pets/zantetsuken.lua | 4 | 1391 | ---------------------------------------------------
-- Zantetsuken
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
-------------------------------------... | gpl-3.0 |
msafin/luci | applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua | 78 | 1344 | --[[
Luci configuration model for statistics - collectd dns plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License a... | apache-2.0 |
olax/prosody-modules | mod_mamsub/mod_mamsub.lua | 16 | 1948 | -- MAM Subscriptions prototype
-- Copyright (C) 2015 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local mt = require"util.multitable";
local st = require"util.stanza";
local xmlns_mamsub = "http://prosody.im/protocol/mamsub";
module:add_feature(xmlns_mamsub);
local host_sessions = prosody.hosts[module.host].ses... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.