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 |
|---|---|---|---|---|---|
Vivitarut/darkstar | scripts/globals/spells/bluemagic/hecatomb_wave.lua | 4 | 1292 | -----------------------------------------
-- Blastbomb
-- http://wiki.ffxiclopedia.org/wiki/Calculating_Blue_Magic_Damage
--
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
---------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Woods/npcs/Gioh_Ajihri.lua | 36 | 2813 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gioh Ajihri
-- Starts & Finishes Repeatable Quest: Twinstone Bonding
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
requ... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/abilities/building_flourish.lua | 2 | 2058 | -----------------------------------
-- Ability: Building Flourish
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
if (pl... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Newton_Movalpolos/npcs/Sleakachiq.lua | 19 | 1793 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Sleakachiq
-- @pos 162.504 14.999 136.901 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Newton_Movalpolos/TextIDs");
---------... | gpl-3.0 |
olax/prosody-modules | mod_incidents_handling/incidents_handling/incidents_handling.lib.lua | 32 | 16333 | -- This contains the auxiliary functions for the Incidents Handling module.
-- (C) 2012-2013, Marco Cirillo (LW.Org)
local pairs, ipairs, os_date, string, table, tonumber = pairs, ipairs, os.date, string, table, tonumber
local dataforms_new = require "util.dataforms".new
local st = require "util.stanza"
local xmlns_... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Rolanberry_Fields/TextIDs.lua | 5 | 1197 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6396; -- Obtained: <item>.
GIL_OBTAINED = 6397; -- Obtained <number> gil.
NOT_ENOUGH_GIL = 6401; -- You do n... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Aydeewa_Subterrane/Zone.lua | 4 | 2367 | -----------------------------------
--
-- Zone: Aydeewa_Subterrane (68)
--
-----------------------------------
package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/titles")... | gpl-3.0 |
arya5123/power | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
Gwynthell/FFDB | scripts/globals/items/bowl_of_riverfin_soup.lua | 3 | 1761 | -----------------------------------------
-- ID: 6069
-- Item: Bowl of Riverfin Soup
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Accuracy % 14 Cap 90
-- Ranged Accuracy % 14 Cap 90
-- Attack % 18 Cap 80
-- Ranged Attack % 18 Cap 80
-- Amorph Killer 5
-----------------------------------... | gpl-3.0 |
UPenn-RoboCup/UPennalizers | Lib/Modules/Util/Jpeg/test_jpeg.lua | 1 | 1917 | local pwd = os.getenv('PWD')
package.cpath = pwd..'/../../../Player/Lib/?.so;'..package.cpath
local jpeg = require 'jpeg'
w = 320
h = 240
ch = 3;
nbytes = w* h* ch;
if webots then
ch = 4;--bgra for webots
end
print('Filling a '..w..' by '..h..' image',ch..' channels.')
--if using_luajit then
-- ffi = require 'f... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Giddeus/npcs/Harvesting_Point.lua | 29 | 1095 | -----------------------------------
-- Area: Giddeus
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Giddeus/TextIDs");
-----------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Inner_Horutoto_Ruins/npcs/_5c0_.lua | 36 | 1765 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Mahogany Door
-- Involved In Quest: Making Headlines
-- Working 100%
-- Unable to find EventID for Making Headlines quest. Used dialog ID instead.
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/Te... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Monastic_Cavern/npcs/Magicite.lua | 19 | 1595 | -----------------------------------
-- Area: Monastic Cavern
-- NPC: Magicite
-- Involved in Mission: Magicite
-- @pos -22 1 -66 150
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/rarab_meatball.lua | 35 | 1731 | -----------------------------------------
-- ID: 4507
-- Item: rarab_meatball
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 10
-- Strength 2
-- Vitality 2
-- Intelligence -1
-- Attack % 30
-- Attack Cap 20
-- Ranged ATT % 30
-- Ranged ATT Cap 20
---------------------... | gpl-3.0 |
czanyou/node.lua | modules/rtsp/lua/codec.lua | 1 | 7938 | --[[
Copyright 2016-2020 The Node.lua Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | apache-2.0 |
Gwynthell/FFDB | scripts/zones/Riverne-Site_B01/npcs/_0t2.lua | 4 | 1283 | -----------------------------------
-- 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/TextIDs");
... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Waters/npcs/Kerutoto.lua | 17 | 11536 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kerutoto
-- Starts Quest Food For Thought
-- Involved in Quest: Riding on the Clouds
-- @zone 238
-- @pos 13 -5 -157
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loaded["scripts/g... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/blade_retsu.lua | 6 | 1846 | -----------------------------------
-- Blade Retsu
-- Katana weapon skill
-- Skill Level: 30
-- Delivers a two-hit attack. Paralyzes enemy. Duration of paralysis varies with TP.
-- Proc rate of Paralyze seems to be based on your level in comparison to the targets level. The higher level you are compared to your ta... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Port_Bastok/npcs/Nokkhi_Jinjahl.lua | 1 | 9788 | -----------------------------------
-- Area: Port Bastok
-- NPC: Nokkhi Jinjahl
-- Type: Traveling Merchant NPC
-- @zone: 236
-- @pos 112.667 7.455 -46.174
--
-- Author: Codiddle, the man, the myth, the addict.
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
---------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Western_Altepa_Desert/npcs/relic.lua | 38 | 1869 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: <this space intentionally left blank>
-- @pos -152 -16 20 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_De... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua | 148 | 11934 | -- This is the DeprecatedEnum
DeprecatedClass = {} or DeprecatedClass
_G.GL_RENDERBUFFER_INTERNAL_FORMAT = gl.RENDERBUFFER_INTERNAL_FORMAT
_G.GL_LINE_WIDTH = gl.LINE_WIDTH
_G.GL_CONSTANT_ALPHA = gl.CONSTANT_ALPHA
_G.GL_BLEND_SRC_ALPHA = gl.BLEND_SRC_ALPHA
_G.GL_GREEN_BITS = gl.GREEN_BITS
_G.GL_STENCIL_REF = gl.STENCI... | apache-2.0 |
msafin/luci | libs/nixio/docsrc/nixio.File.lua | 173 | 4457 | --- Large File Object.
-- Large file operations are supported up to 52 bits if the Lua number type is
-- double (default).
-- @cstyle instance
module "nixio.File"
--- Write to the file descriptor.
-- @class function
-- @name File.write
-- @usage <strong>Warning:</strong> It is not guaranteed that all data
-- in the bu... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Selbina/npcs/Porter_Moogle.lua | 41 | 1520 | -----------------------------------
-- Area: Selbina
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 248
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scri... | gpl-3.0 |
dddaaaddd/zarin | plugins/gif.lua | 15 | 1758 | do
local BASE_URL = 'http://api.giphy.com/v1'
local API_KEY = 'dc6zaTOxFJmzC' -- public beta key
local function get_image(response)
local images = json:decode(response).data
if #images == 0 then return nil end -- No images
local i = math.random(#images)
local image = images[i] -- A random one
if image.ima... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Qudamahf.lua | 38 | 1136 | -----------------------------------
-- Area: Silver_Sea_route_to_Nashmau
-- NPC: Qudamahf
-- Notes: Tells ship ETA time
-- @pos 0.340 -12.232 -4.120 58
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/The_Garden_of_RuHmet/npcs/HomePoint#1.lua | 16 | 1202 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scripts/globals... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Northern_San_dOria/npcs/Jufaue.lua | 38 | 1052 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Jufaue
-- Type: Past Event Watcher
-- @zone: 231
-- @pos 13.221 -1.199 -19.231
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = ni... | gpl-3.0 |
czanyou/node.lua | core/lua/init.lua | 1 | 10206 | --[[
Copyright 2016-2020 The Node.lua Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable la... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Northern_San_dOria/npcs/Bertenont.lua | 19 | 1660 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Bertenont
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -165 0.1 226 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
bgourlie/madrust-oxide-plugins | plugins/madrust-announce.lua | 1 | 13677 | PLUGIN = PLUGIN or {} -- accommodates testing
PLUGIN.Title = "madrust-announce"
PLUGIN.Description = "Announcment broadcaster with optional reddit integration."
PLUGIN.Version = "0.1"
PLUGIN.Author = "W. Brian Gourlie"
function PLUGIN:Init()
print("init madrust-announce")
self.config = self:InitConfig()
self.su... | mit |
iOSTestApps/vlc | share/lua/modules/common.lua | 54 | 4986 | --[[ This code is public domain (since it really isn't very interesting) ]]--
module("common",package.seeall)
-- Iterate over a table in the keys' alphabetical order
function pairs_sorted(t)
local s = {}
for k,_ in pairs(t) do table.insert(s,k) end
table.sort(s)
local i = 0
return function () i = ... | gpl-2.0 |
Vivitarut/darkstar | scripts/zones/Stellar_Fulcrum/npcs/_4z3.lua | 12 | 1311 | -----------------------------------
-- Area: Stellar Fulcrum
-- NPC: Qe'Lov Gate
-------------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------... | gpl-3.0 |
jdhk94/DarkRP | entities/weapons/weapon_p2282/shared.lua | 12 | 1089 | AddCSLuaFile()
if CLIENT then
SWEP.PrintName = "P228"
SWEP.Author = "DarkRP Developers"
SWEP.Slot = 1
SWEP.SlotPos = 1
SWEP.IconLetter = "y"
killicon.AddFont("weapon_p2282", "CSKillIcons", SWEP.IconLetter, Color(255, 80, 0, 255))
end
SWEP.Base = "weapon_cs_base2"
SWEP.Spawnable = true
SWEP.A... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Northern_San_dOria/npcs/Macuillie.lua | 10 | 2673 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Macuillie
-- Type: Guildworker's Union Representative
-- @zone: 231
-- @pos -191.738 11.001 138.656
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/keyit... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Green.lua | 48 | 2440 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Magian Moogle (Green Bobble)
-- Type: Magian Trials NPC (Job Emotes)
-- @pos -4.558 2.451 111.305 64
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
msafin/luci | applications/luci-commands/luasrc/controller/commands.lua | 76 | 5959 | --[[
LuCI - Lua Configuration Interface
Copyright 2012 Jo-Philipp Wich <jow@openwrt.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
module("... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Valley_of_Sorrows/npcs/qm1.lua | 6 | 2355 | -----------------------------------
-- Area: Valley of Sorrows
-- NPC: qm1 (???)
-- Note: Used to spawn Adamantoise and Aspidochelone
-- @pos 91 -3 -16 128
-----------------------------------
package.loaded["scripts/zones/Valley_of_Sorrows/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Al_Zahbi/npcs/Ndego.lua | 19 | 1139 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Ndego
-- Guild Merchant NPC: Smithing Guild
-- @pos -37.192 0.000 -33.949 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
dddaaaddd/zarin | msg_checks.lua | 1 | 40108 | --Begin msg_checks.lua
--Begin pre_process function
local function pre_process(msg)
-- Begin 'RondoMsgChecks' text checks by @rondoozle
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.data... | gpl-2.0 |
cornernote/minetest-deploy_nodes | deploy_pyramid/init.lua | 1 | 7064 | --[[
Deploy Nodes for Minetest
Copyright (c) 2012 cornernote, Brett O'Donnell <cornernote@gmail.com>
Source Code: https://github.com/cornernote/minetest-deploy_nodes
License: BSD-3-Clause https://raw.github.com/cornernote/minetest-deploy_nodes/master/LICENSE
Shape based on WorldEdit mod by Temperest: http://minetest... | bsd-3-clause |
jdhk94/DarkRP | gamemode/modules/base/sv_jobmodels.lua | 10 | 1039 | util.AddNetworkString("DarkRP_preferredjobmodels")
util.AddNetworkString("DarkRP_preferredjobmodel")
local preferredJobModels = {}
local plyMeta = FindMetaTable("Player")
local received = {}
net.Receive("DarkRP_preferredjobmodels", function(len, ply)
preferredJobModels[ply] = {}
for i, job in ipairs(RPExtraT... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Hall_of_the_Gods/Zone.lua | 32 | 1936 | -----------------------------------
--
-- Zone: Hall_of_the_Gods (251)
--
-----------------------------------
package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Hall_of_the_Gods/TextIDs");
---------... | gpl-3.0 |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua | 6 | 1139 |
--------------------------------
-- @module LinearLayoutParameter
-- @extend LayoutParameter
-- @parent_module ccui
--------------------------------
-- @function [parent=#LinearLayoutParameter] setGravity
-- @param self
-- @param #int lineargravity
--------------------------------
-- @function [parent=#Line... | apache-2.0 |
olax/prosody-modules | mod_mam_muc/mod_mam_muc.lua | 20 | 11013 | -- XEP-0313: Message Archive Management for Prosody MUC
-- Copyright (C) 2011-2014 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local xmlns_mam = "urn:xmpp:mam:0";
local xmlns_delay = "urn:xmpp:delay";
local xmlns_forward = "urn:xmpp:forward:0";
local muc_form_enable_logging = "muc#roomconfig_enablelogging"
... | mit |
emachasal/GoupBot | plugins/settings.lua | 2 | 9093 | local function disable_set(field, msg, ln)
local hash = 'chat:'..msg.chat.id..':settings'
local field_lower = field:lower()
local now = db:hget(hash, field)
if now == 'yes' then
api.sendReply(msg, make_text(lang[ln].settings.disable[field_lower..'_already']), true)
else
db:hse... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Maze_of_Shakhrami/npcs/qm2.lua | 2 | 1777 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: qm2
-- Type: Quest NPC
-- @pos 143 9 -219 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Maze_of_Shakhrami/TextIDs");
require(... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/AlTaieu/npcs/qm1.lua | 8 | 1474 | -----------------------------------
-- Area: Al'Taieu
-- NPC: ??? (Jailer of Hope Spawn)
-- Allows players to spawn the Jailer of Hope by trading the First Virtue, Deed of Placidity and HQ Phuabo Organ to a ???.
-- @pos , -693 -1 -62
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] =... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Lower_Jeuno/npcs/Sniggnix.lua | 19 | 2170 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Sniggnix
-- Type: Standard NPC
-- @zone: 245
-- @pos -45.832 4.498 -135.029
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Waters_[S]/npcs/Mearuru.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mearuru
-- Type: Standard NPC
-- @zone: 94
-- @pos 153.798 -1 153.712
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Upper_Jeuno/npcs/_6s2.lua | 17 | 3818 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Galmut's door
-- Starts and Finishes Quest: A Clock Most Delicate, Save the Clock Tower, The Clockmaster
-- @zone 244
-- @pos -80 0 104
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
package.loaded["... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Lower_Jeuno/npcs/Gurdern.lua | 34 | 1374 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Gurdern
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/quests");
-... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/RuLude_Gardens/npcs/Pursuivant.lua | 38 | 1034 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pursuivant
-- Type: Pursuivant
-- @zone: 243
-- @pos 52.020 -1 -17.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
---------------... | gpl-3.0 |
pmachowski/coronasdk-project-seed | TheProject/src/utils/promise.lua | 2 | 3869 | --====================================================================--
--
-- Code by Piotr Machowski <piotr@machowski.co>
--
-- inspired by DMC Lua Library: Promises
--====================================================================--
local VERSION = "0.1.0"
--===================================================... | mit |
czanyou/node.lua | core/tests/net/test-net-leak.lua | 1 | 2366 | local tap = require('util/tap')
local net = require('net')
local HOST = "127.0.0.1"
local PORT = process.env.PORT or 10083
local test = tap.test
local function bench(uv, p, count, fn)
collectgarbage()
local before
local notify = count / 8
for i = 1, count do
fn()
if (i % notify) == 0... | apache-2.0 |
MandoGamal/gamecode4 | Extra/UtilityDemo/PreInit.lua | 44 | 2196 | -- PreInit.lua
-- Note: This file only defines the class() function from assets\scripts\PreInit.lua. The other stuff isn't needed
-- for this simple demo.
-----------------------------------------------------------------------------------------------------------------------
-- Classes & Inheritance
------------... | lgpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/dragon_fruit.lua | 36 | 1148 | -----------------------------------------
-- ID: 5662
-- Item: Dragon Fruit
-- Food Effect: 5 Mins, All Races
-----------------------------------------
-- Intelligence 4
-- Agility -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/abilities/rogues_roll.lua | 11 | 2159 | -----------------------------------
-- Ability: Rogue's Roll
-- Improves critical hit rate for party members within area of effect
-- Optimal Job: Thief
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 43
--
-- Die Roll |No THF |With THF
-- -------- ------- -----------
-- 1 |2% |8%
--... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/North_Gustaberg/TextIDs.lua | 3 | 1123 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED_TWICE = 6550; -- You cannot obtain the item <item>.
ITEM_CANNOT_BE_OBTAINED = 6551; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6553; -- You cannot obtain the #. Try tr... | gpl-3.0 |
UPenn-RoboCup/UPennalizers | Player/GameFSM/gamePlaying.lua | 1 | 1255 | module(..., package.seeall);
require('Body')
require('walk')
require('BodyFSM')
require('HeadFSM')
require('Speak')
require('vector')
require('gcm')
require('BodyFSM')
require('HeadFSM')
t0 = 0;
function entry()
print(_NAME..' entry');
t0 = Body.get_time();
if Config.game.role == 5 then --COACH
-- HeadFS... | gpl-3.0 |
focusworld/teletmamal | plugins/Boobs.lua | 150 | 1613 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
Vivitarut/darkstar | scripts/globals/abilities/dark_arts.lua | 6 | 1206 | -----------------------------------
-- Ability: Dark Arts
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
if ... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Mount_Zhayolm/npcs/Mining_Point.lua | 4 | 1052 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Mount_Zhayolm/TextIDs");
-----------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Ilrusi_Atoll/Zone.lua | 36 | 1453 | -----------------------------------
--
-- Zone: Ilrusi_Atoll
-- zone 55
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
require("scripts/zones/Ilrusi_Atoll/TextIDs");
require("scripts/globals/settings");
------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Yhoator_Jungle/npcs/Ilieumort_RK.lua | 8 | 2940 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Ilieumort, R.K.
-- Outpost Conquest Guards
-- @pos 200.254 -1 -80.324 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/abilities/pets/stone_iv.lua | 6 | 1153 | ---------------------------------------------------
-- Stone 4
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
-----------------------------------------... | gpl-3.0 |
alagoutte/ntopng | scripts/lua/get_filter_host.lua | 4 | 6226 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
sendHTTPHeader('text/html; charset=iso-8859-1')
-- Table parameters
all = _GET["all"]
host = _GET["host"]
vlan = _GET["vlan"]
key = _GET["key... | gpl-3.0 |
3scale/nginx-oauth-templates | oauth2/authorization-code-flow/token-generation/authorized_callback.lua | 1 | 4098 | -- authorized_callback.lua
-- Once the client has been authorized by the API provider in their
-- login, the provider is supposed to send the client (via redirect)
-- to this endpoint, with the same status code that we sent him at the
-- moment of the first redirect
local random = require 'resty.random'
local ts = req... | mit |
Vivitarut/darkstar | scripts/zones/Windurst_Walls/npcs/Pakke-Pokke.lua | 38 | 1040 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Pakke-Pokke
-- Type: Standard NPC
-- @zone: 239
-- @pos -3.464 -17.25 125.635
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
---------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Northern_San_dOria/npcs/Mevreauche.lua | 44 | 2103 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Mevreauche
-- Type: Smithing Guild Master
-- @pos -193.584 10 148.655 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status")... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Kazham/npcs/Gatih_Mijurabi.lua | 21 | 1030 | -----------------------------------
-- Area: Kazham
-- NPC: Gatih Mijurabi
-- Type: Standard NPC
-- @zone: 250
-- @pos 58.249 -13.086 -49.084
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Temenos/mobs/Telchines_White_Mage.lua | 17 | 1139 | -----------------------------------
-- Area: Temenos N T
-- NPC: Telchines_White_Mage
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
----------------... | gpl-3.0 |
czanyou/node.lua | modules/devices/lua/hal/uart.lua | 1 | 5198 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
Copyright 2016-2020 The Node.lua Authors. All Rights Reserved.
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.apach... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/items/plate_of_sole_sushi.lua | 3 | 1336 | -----------------------------------------
-- ID: 5149
-- Item: plate_of_sole_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Dexterity 6
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
ypengju/skynet_comment | examples/login/client.lua | 67 | 3950 | package.cpath = "luaclib/?.so"
local socket = require "clientsocket"
local crypt = require "crypt"
if _VERSION ~= "Lua 5.3" then
error "Use lua 5.3"
end
local fd = assert(socket.connect("127.0.0.1", 8001))
local function writeline(fd, text)
socket.send(fd, text .. "\n")
end
local function unpack_line(text)
loca... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Southern_San_dOria/npcs/Exoroche.lua | 12 | 2974 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Exoroche
-- Involved in Quests: Father and Son, A Boy's Dream
-- @zone 230
-- @pos 72 -1 60
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Dynamis-Windurst/mobs/Tzee_Xicu_Idol.lua | 2 | 1300 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Tzee Xicu Idol
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnMobSpawn... | gpl-3.0 |
jdhk94/DarkRP | entities/weapons/weapon_mp52/shared.lua | 12 | 1074 | AddCSLuaFile()
if CLIENT then
SWEP.PrintName = "MP5"
SWEP.Author = "DarkRP Developers"
SWEP.Slot = 2
SWEP.SlotPos = 0
SWEP.IconLetter = "x"
killicon.AddFont("weapon_mp52", "CSKillIcons", SWEP.IconLetter, Color(255, 80, 0, 255))
end
SWEP.Base = "weapon_cs_base2"
SWEP.Spawnable = true
SWEP.Adm... | mit |
Gwynthell/FFDB | scripts/zones/PsoXja/npcs/_090.lua | 2 | 1691 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _090 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-- TODO: The spawned Gargoyle should spawn as claimed to the trigger target.
-- Text Message not displaying players name before the text at all.
---------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/weaponskills/wildfire.lua | 29 | 1550 | -----------------------------------
-- Skill Level: N/A
-- Description: Deals fire elemental damage. Enmity generation varies with TP. Armageddon: Aftermath.
-- Acquired permanently by completing the appropriate Walk of Echoes Weapon Skill Trials.
-- Can also be used by equipping Armageddon (85)/(90)/(95)/(99) or Bedla... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/bowl_of_sopa_de_pez_blanco.lua | 35 | 1549 | -----------------------------------------
-- 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
-----------------------------------------
requir... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Kuftal_Tunnel/Zone.lua | 1 | 1266 | -----------------------------------
--
-- Zone: Kuftal_Tunnel (174)
--
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Kuftal_Tunnel/TextIDs");
-----------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Port_San_dOria/npcs/Ilgusin.lua | 38 | 1038 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ilgusin
-- Type: Standard NPC
-- @zone: 232
-- @pos -68.313 -6.5 -36.985
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Metalworks/npcs/Pius.lua | 23 | 1832 | -----------------------------------
-- Area: Metalworks
-- NPC: Pius
-- Involved In Mission: Journey Abroad
-- @pos 99 -21 -12 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zon... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/Treasure_Chest.lua | 19 | 2590 | -----------------------------------
-- Area: Horutoto Ruins
-- NPC: Treasure Chest
-- @zone 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require(... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/kurayami_san.lua | 18 | 1142 | -----------------------------------------
-- Spell: Kurayami: San
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
Python1320/wire | lua/wire/client/hlzasm/hc_compiler.lua | 6 | 26826 | --------------------------------------------------------------------------------
-- HCOMP / HL-ZASM compiler
--
-- This is a high-level assembly language compiler, based on ZASM2 and C syntax.
--
-- I tried to make the compiler as understandable as possible, but you will need
-- to read the source files in this order t... | apache-2.0 |
n0xus/darkstar | scripts/zones/Kazham/npcs/Majjih_Bakrhamab.lua | 17 | 1388 | -----------------------------------
-- Area: Kazham
-- NPC: Majjih Bakrhamab
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
----------------------... | gpl-3.0 |
Python1320/wire | lua/entities/gmod_wire_expression2/core/serverinfo.lua | 7 | 1485 | /******************************************************************************\
Server Information
\******************************************************************************/
e2function string map()
return game.GetMap()
end
local hostname = GetConVar("hostname")
e2function string hostname()
return hostname:... | apache-2.0 |
n0xus/darkstar | scripts/zones/Qulun_Dome/npcs/_441.lua | 19 | 1531 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Door
-- Involved in Mission: Limit Break 3
-- @pos 299.999 37.864 47.067 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("s... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua | 38 | 1026 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Eumoa-Tajimoa
-- Type: Standard NPC
-- @zone: 48
-- @pos 19.275 -1 55.182
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j0.lua | 19 | 1390 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos 299 0.1 349 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Ulduar/Ignis.lua | 1 | 1560 | local mod = DBM:NewMod("Ignis", "DBM-Ulduar")
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 142 $"):sub(12, -3))
mod:SetCreatureID(33118)
mod:SetEncounterID(1136)
mod:SetModelID(29185)
mod:SetUsedIcons(8)
mod:RegisterCombat("combat")
mod:RegisterEventsInCombat(
"SPELL_CAST_START",
"SPELL_AURA_A... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-EyeOfEternity/Malygos.lua | 1 | 5427 | local mod = DBM:NewMod("Malygos", "DBM-EyeOfEternity")
local L = mod:GetLocalizedStrings()
mod:SetRevision(("$Revision: 182 $"):sub(12, -3))
mod:SetCreatureID(28859)
mod:SetEncounterID(1094)
mod:SetModelID(26752)
mod:RegisterCombat("combat")
mod:SetWipeTime(45)
mod:RegisterEvents(
"CHAT_MSG_MONSTER_YELL"
)
mod:Re... | gpl-2.0 |
alexandre-mbm/SimTools | RandomWeather/Lua/socket/ftp.lua | 144 | 9120 | -----------------------------------------------------------------------------
-- FTP support for the Lua language
-- LuaSocket toolkit.
-- Author: Diego Nehab
-- RCS ID: $Id: ftp.lua,v 1.45 2007/07/11 19:25:47 diego Exp $
-----------------------------------------------------------------------------
-------------------... | mit |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/penlight/lua/pl/stringx.lua | 3 | 9765 | --- Python-style string library. <p>
-- see 3.6.1 of the Python reference. <p>
-- If you want to make these available as string methods, then say
-- <code>stringx.import()</code> to bring them into the standard <code>string</code>
-- table.
-- @class module
-- @name pl.stringx
local string = string
local find = string.... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Spire_of_Mea/bcnms/ancient_flames_backon.lua | 17 | 3854 | -----------------------------------
-- Area: Spire_of_Mea
-- Name: ancient_flames_backon
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/g... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/phalanx_ii.lua | 25 | 1173 | -----------------------------------------
-- Spell: PHALANX
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Phalanx II value per point is '3' This is a constant set in the table 'merits'
-----------------------------------------
require("scripts/globa... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Western_Altepa_Desert/npcs/qm2.lua | 17 | 1702 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: qm2 (???)
-- Involved in Mission: Bastok 6-1
-- @pos -325 0 -111 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/orange_kuchen.lua | 35 | 1230 | -----------------------------------------
-- ID: 4393
-- Item: orange_kuchen
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic % 13
-- Magic Cap 75
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
sixin-zh/mpiT | BiCNN/optim-eamsgd.lua | 2 | 2118 | -- Async EASGD/EAMSGD
-- Author: Sixin Zhang (zsx@cims.nyu.edu)
-- when mom==0, it is the easgd
require 'optim'
function optim.eamsgd(opfunc, w, config, state)
local config = config or {}
local state = state or config
local lr = config.lr or 0 -- learning rate \eta
local lrd = config.lrd or 0 -- le... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.