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 |
|---|---|---|---|---|---|
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Alaune.lua | 13 | 1495 | -----------------------------------
-- Area: Southern San d`Oria
-- NPC: Alaune
-- Type: Tutorial NPC
-- @zone: 230
-- @pos -90 1 -56
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ampiro-Mapiro.lua | 13 | 1068 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ampiro-Mapiro
-- Type: Standard NPC
-- @zone: 94
-- @pos 131.380 -6.75 174.169
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/weapons/gmod_tool/stools/wire_rfid_reader_act.lua | 4 | 4847 | TOOL.Category = "Wire Extras/RFID"
TOOL.Name = "User Reader"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.Tab = "Wire"
if CLIENT then
language.Add("Tool.wire_rfid_reader_act.name", "RFID User Reader Tool (Wire)")
language.Add("Tool.wire_rfid_reader_act.desc", "Spawn/link a Wire RFID User Reader.")
langua... | gpl-3.0 |
nesstea/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 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/cloudsplitter.lua | 30 | 1393 | -----------------------------------
-- Cloudsplitter
-- Axe weapon skill
-- Skill level: NA
-- Description: Deals lightning elemental damage. Damage varies with TP. Farsha: Aftermath.
-- Available only when equipped with Farsha (85), Farsha (90) or Alard's Axe +1.
-- Elemental gorgets do not affect damage. Rairin... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Upper_Jeuno/npcs/Mhao_Kehtsoruho.lua | 13 | 1056 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mhao Kehtsoruho
-- Type: Past Event Watcher
-- @zone: 244
-- @pos -73.032 -1 146.919
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
--------... | gpl-3.0 |
dpino/snabbswitch | src/program/ipfix/probe/probe.lua | 4 | 5971 | -- This module implements the `snabb flow_export` command
module(..., package.seeall)
local now = require("core.app").now
local lib = require("core.lib")
local link = require("core.link")
local basic = require("apps.basic.basic_apps")
local arp = require("apps.ipv4.arp")
local ipfix = require... | apache-2.0 |
nesstea/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 |
nesstea/darkstar | scripts/zones/Bastok_Mines/npcs/Azima.lua | 29 | 1886 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Azima
-- Alchemy Adv. Synthesis Image Support
-- @pos 123.5 2 1 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/c0a0157a-e685-4d05-9dc9-9340cf29f413/lib/buffer.lua | 15 | 11304 | local computer = require("computer")
local unicode = require("unicode")
local buffer = {}
function buffer.new(mode, stream)
local result = {
mode = {},
stream = stream,
bufferRead = "",
bufferWrite = "",
bufferSize = math.max(512, math.min(8 * 1024, computer.freeMemory() / 8)),
bufferMode = ... | mit |
MoonTeamDev/TeleMoon | 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... | agpl-3.0 |
padrinoo1/vagir3 | 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 |
p00ria/Signal | 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 |
nesstea/darkstar | scripts/globals/items/plate_of_piscators_paella.lua | 18 | 1482 | -----------------------------------------
-- ID: 5969
-- Item: Plate of Piscator's Paella
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 45
-- Dexterity 6
-- Accuracy % 16 (cap 85)
-- Undead Killer 6
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Sravan2j/DIGITS | tools/torch/logmessage.lua | 1 | 1095 | -- Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved.
-- This file contains the logic of printing log messgages
local logmessage = torch.class('logmessage')
-------------------------------------------------------------------------------------------------------------
-- display function accepts two input par... | bsd-3-clause |
nesstea/darkstar | scripts/globals/items/felicifruit.lua | 18 | 1191 | -----------------------------------------
-- ID: 5964
-- Item: Felicifruit
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mount_Zhayolm/Zone.lua | 11 | 1794 | -----------------------------------
--
-- Zone: Mount_Zhayolm (61)
--
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mount_Zhayolm/TextIDs");
------------------------------... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/HPCounter.lua | 8 | 2969 | local HPCounter = class("HPCounter",function()
return cc.Node:create()
end)
function HPCounter:create()
self._isBlooding = false
self._num = 0
return HPCounter.new()
end
function HPCounter:showBloodLossNum(damage,actor,attack)
local time = 1
local function getRandomXYZ()
local rand_x =... | mit |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria/npcs/Hae_Jakhya.lua | 19 | 1856 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Hae Jakhya
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/que... | gpl-3.0 |
nesstea/darkstar | scripts/zones/San_dOria-Jeuno_Airship/npcs/Nigel.lua | 30 | 2316 | -----------------------------------
-- Area: San d'Oria-Jeuno Airship
-- NPC: Nigel
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mamook/npcs/qm2.lua | 30 | 1323 | -----------------------------------
-- Area: Mamook
-- NPC: ??? (Spawn Iriri Samariri(ZNM T2))
-- @pos -118 7 -80 65
-----------------------------------
package.loaded["scripts/zones/Mamook/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mamook/TextIDs");
require("scripts/globals/status");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Metalworks/npcs/Hungry_Wolf.lua | 19 | 2040 | -----------------------------------
-- Area: Metalworks
-- NPC: Hungry Wolf
-- Type: Quest Giver
-- @pos -25.861 -11 -30.172 237
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-- Updated for "Smoke on the Mountain" by EccentricAnata 03.22.13
-----------------------------------
package.loaded["scri... | gpl-3.0 |
hadi9090/celassicalteam | serpent.lua | 1 | 7898 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | unlicense |
cmassiot/vlc-broadcast | share/lua/playlist/bbc_co_uk.lua | 112 | 1468 | --[[
$Id$
Copyright © 2008 the VideoLAN team
Authors: Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
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 Licens... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Cloister_of_Flames/bcnms/sugar-coated_directive.lua | 13 | 1727 | ----------------------------------------
-- Area: Cloister of Flames
-- BCNM: Sugar Coated Directive (ASA-4)
-- @pos -721 0 -598 207
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
r... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Telepoint.lua | 13 | 1692 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Telepoint
-- @pos 100.000 35.150 340.000 117
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Tahrongi_... | gpl-3.0 |
ld-test/fun-alloyed | tests/slicing.lua | 3 | 4705 | --------------------------------------------------------------------------------
-- nth
--------------------------------------------------------------------------------
print(nth(2, range(5)))
--[[test
2
--test]]
print(nth(10, range(5)))
--[[test
nil
--test]]
print(nth(2, range(0)))
--[[test
nil
--test]]
print(nth(... | mit |
vonflynee/opencomputersserver | world/opencomputers/6d437cc7-8fe8-4147-8a29-4c8b62fcedc7/lib/package.lua | 15 | 3021 | local package = {}
package.path = "/lib/?.lua;/usr/lib/?.lua;/home/lib/?.lua;./?.lua;/lib/?/init.lua;/usr/lib/?/init.lua;/home/lib/?/init.lua;./?/init.lua"
local loading = {}
local loaded = {
["_G"] = _G,
["bit32"] = bit32,
["coroutine"] = coroutine,
["math"] = math,
["os"] = os,
["package"] = package,
... | mit |
vonflynee/opencomputersserver | world/opencomputers/3f9e70c3-6961-48bd-bbb9-5c4b3888a254/lib/package.lua | 15 | 3021 | local package = {}
package.path = "/lib/?.lua;/usr/lib/?.lua;/home/lib/?.lua;./?.lua;/lib/?/init.lua;/usr/lib/?/init.lua;/home/lib/?/init.lua;./?/init.lua"
local loading = {}
local loaded = {
["_G"] = _G,
["bit32"] = bit32,
["coroutine"] = coroutine,
["math"] = math,
["os"] = os,
["package"] = package,
... | mit |
vonflynee/opencomputersserver | world/opencomputers/a3abb948-eba5-4c6b-9388-1bb1f150ed2b/lib/package.lua | 15 | 3021 | local package = {}
package.path = "/lib/?.lua;/usr/lib/?.lua;/home/lib/?.lua;./?.lua;/lib/?/init.lua;/usr/lib/?/init.lua;/home/lib/?/init.lua;./?/init.lua"
local loading = {}
local loaded = {
["_G"] = _G,
["bit32"] = bit32,
["coroutine"] = coroutine,
["math"] = math,
["os"] = os,
["package"] = package,
... | mit |
Mashape/kong | spec/02-integration/04-admin_api/10-services_routes_spec.lua | 1 | 27798 | local cjson = require "cjson"
local utils = require "kong.tools.utils"
local helpers = require "spec.helpers"
local Errors = require "kong.db.errors"
local unindent = helpers.unindent
local function it_content_types(title, fn)
local test_form_encoded = fn("application/x-www-form-urlencoded")
local test_mul... | apache-2.0 |
vonflynee/opencomputersserver | world/opencomputers/7c9ad1a8-61e1-4046-a969-190bd5607730/bin/redstone.lua | 16 | 2807 | local colors = require("colors")
local component = require("component")
local shell = require("shell")
local sides = require("sides")
if not component.isAvailable("redstone") then
io.stderr:write("This program requires a redstone card or redstone I/O block.")
return
end
local rs = component.redstone
local args, o... | mit |
vonflynee/opencomputersserver | world/opencomputers/506bbd88-8247-4944-9b91-7506cac9fcb5/bin/redstone.lua | 16 | 2807 | local colors = require("colors")
local component = require("component")
local shell = require("shell")
local sides = require("sides")
if not component.isAvailable("redstone") then
io.stderr:write("This program requires a redstone card or redstone I/O block.")
return
end
local rs = component.redstone
local args, o... | mit |
shayanchabok007/antispamteleseed | plugins/help.lua | 1 | 5080 | do
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 |
UnfortunateFruit/darkstar | scripts/globals/equipment.lua | 14 | 3323 | require("scripts/globals/status");
-----------------------------------
-- Author: bluekirby0
-- Place convenience functions
-- related to equipment here
-----------------------------------
function isArtifactArmor(itemid)
retval = false;
if ((itemid >= 12511 and itemid <= 12520) or (itemid >= 13855 an... | gpl-3.0 |
nesstea/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 |
nesstea/darkstar | scripts/globals/items/serving_of_karni_yarik.lua | 18 | 1376 | -----------------------------------------
-- ID: 5588
-- Item: serving_of_karni_yarik
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
DavisDev/OneInstaller | system/langs/fre.lua | 1 | 4628 | lang = {
oi = "OneInstaller", -- Name App
menu = {-- ## Menu ##
"CONTENUS", -- Contents For PSP/PSVITA
"EXPLORATEUR", -- Explorer Files
"GERER PLUGIN", -- Manager Of Plugins
"CONTACT", -- Send/Read Comments
"CONFIGURER", -- Configs
"A PROPOS", -- History App
"QUITTER" -- Out App
},
cats = ... | cc0-1.0 |
nesstea/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 |
dpino/snabbswitch | src/apps/test/match.lua | 12 | 2823 | module(...,package.seeall)
local ffi = require("ffi")
local C = ffi.C
local lib = require("core.lib")
local function dump (p)
return lib.hexdump(ffi.string(p.data, p.length))
end
Match = {
config = {
fuzzy = {}, modest = {}
}
}
function Match:new (conf)
return setmetatable({ fuzzy = conf.fuzzy,
... | apache-2.0 |
nesstea/darkstar | scripts/commands/checkvar.lua | 38 | 1130 | ---------------------------------------------------------------------------------------------------
-- func: @checkvar <varType> <varName>
-- desc: checks player or server variable and returns result value.
---------------------------------------------------------------------------------------------------
cmdprops =
{... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Kazham/npcs/Mitti_Haplihza.lua | 15 | 1054 | -----------------------------------
-- Area: Kazham
-- NPC: Mitti Haplihza
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Toraimarai_Canal/npcs/Transporter.lua | 13 | 1278 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Transporter
-- Involved In Windurst Mission 7-1
-- @zone 169
-- @pos 182 11 -60 169
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
require("scripts/zones/Toraimarai_Canal/TextIDs");
--------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Akkeke.lua | 36 | 1418 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Akkeke
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 135 -6 165
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Al_Zahbi/npcs/Bjibar.lua | 13 | 1039 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Bjibar
-- Type: Standard NPC
-- @zone: 48
-- @pos -105.178 0.999 60.115
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
hussian/hell_iraq | plugins/voice.lua | 8 | 1050 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Selbina/npcs/Mendoline.lua | 17 | 1184 | -----------------------------------
-- Area: Selbina
-- NPC: Mendoline
-- Guild Merchant NPC: Fishing Guild
-- @pos -13.603 -7.287 10.916 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/culinarians_belt.lua | 30 | 1201 | -----------------------------------------
-- ID: 15451
-- Item: Culinarian's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Alchemy Skill +3
-----------------------------------------
requi... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Gustav_Tunnel/MobIDs.lua | 28 | 1592 | -----------------------------------
-- Area: Gustav Tunnel (212)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
Goblinsavior_Heronox = 17645609;
Goblinsavior_Heronox_PH =
{
[17645592] = '1', -- 153.000, -10.000, -53.000
[17645605] = '1', -- 152.325... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Grounds_Tome.lua | 34 | 1146 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onT... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/HomePoint#3.lua | 12 | 1200 | -----------------------------------
-- Area: Windurst Waters
-- NPC: HomePoint#3
-- @pos: 4 -4 -174 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/ho... | gpl-3.0 |
ymauray/Skym_PetCodex | Lib/AceGUI-3.0/widgets/AceGUIContainer-SimpleGroup.lua | 1 | 2780 | -- Copyright (c) 2014 Yannick Mauray.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distr... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Dynamis-Tavnazia/npcs/qm1.lua | 13 | 2478 | -----------------------------------
-- Area: Dynamis-Tavnazia
-- NPC: ???
-- @pos
-----------------------------------
package.loaded["scripts/zones/Dynamis-Tavnazia/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Tavnazia/TextIDs");
---------... | gpl-3.0 |
MuhammadWang/MCServer | MCServer/Plugins/APIDump/Hooks/OnCollectingPickup.lua | 8 | 1179 | return
{
HOOK_COLLECTING_PICKUP =
{
CalledWhen = "Player is about to collect a pickup. Plugin can refuse / override behavior. ",
DefaultFnName = "OnCollectingPickup", -- also used as pagename
Desc = [[
This hook is called when a player is about to collect a pickup. Plugins may refuse the action.</p>
<p>
... | apache-2.0 |
Mashape/kong | kong/db/strategies/connector.lua | 1 | 3418 | local fmt = string.format
local Connector = {}
function Connector:init()
-- nop by default
return true
end
function Connector:init_worker()
-- nop by default
return true
end
do
local past_init
local ngx = ngx
function Connector:store_connection(conn)
if not past_init and ngx and ngx.get_phas... | apache-2.0 |
nesstea/darkstar | scripts/zones/Windurst_Woods/npcs/Kuzah_Hpirohpon.lua | 27 | 1199 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Kuzah Hpirohpon
-- Guild Merchant NPC: Clothcrafting Guild
-- @pos -80.068 -3.25 -127.686 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Khonzon.lua | 13 | 1054 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Khonzon
-- Type: Item Deliverer
-- @zone: 235
-- @pos -323.744 -16.001 -88.698
--
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
----------------... | gpl-3.0 |
plajjan/snabbswitch | lib/ljsyscall/syscall/ffitypes.lua | 24 | 2200 | -- these are types which are currently the same for all ports
-- in a module so rump does not import twice
-- note that even if type is same (like pollfd) if the metatype is different cannot be here due to ffi
-- TODO not sure we want these long term, merge to individual OS files.
local require, error, assert, tonumb... | apache-2.0 |
nesstea/darkstar | scripts/zones/AlTaieu/npcs/Dimensional_Portal.lua | 15 | 1626 | -----------------------------------
-- Area: AlTaieu
-- NPC: Dimensional Portal
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
-----------------------------------
-- onTrade Action
--------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Talacca_Cove/Zone.lua | 20 | 1261 | -----------------------------------
--
-- Zone: Talacca_Cove (57)
--
-----------------------------------
package.loaded["scripts/zones/Talacca_Cove/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Talacca_Cove/TextIDs");
---------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Naruru.lua | 24 | 3874 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Naruru
-- Starts and Finishes Quests: Cook's Pride
-- @pos -56 0.1 -138 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
dpino/snabbswitch | src/lib/interlink.lua | 4 | 10113 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
-- INTERLINK: packet queue optimized for inter-process links
--
-- An “interlink” is a thread safe single-producer/single-consumer queue
-- implemented as a ring buffer with a memory layout that is carefully
-- o... | apache-2.0 |
abasshacker/extreme | plugins/admin.lua | 46 | 6101 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
Cycloneteam/CycloneTg | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
fegimanam/sss | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
nesstea/darkstar | scripts/globals/abilities/animated_flourish.lua | 26 | 2177 | -----------------------------------
-- Ability: Animated Flourish
-- Provokes the target. Requires at least one, but uses two Finishing Moves.
-- Obtained: Dancer Level 20
-- Finishing Moves Used: 1-2
-- Recast Time: 00:30
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/actors/Slime.lua | 9 | 4882 | require "GlobalVariables"
require "MessageDispatchCenter"
require "Helper"
require "AttackCommand"
local file = "model/slime/slime.c3b"
Slime = class("Slime", function()
return require "Actor".create()
end)
function Slime:ctor()
copyTable(ActorCommonValues, self)
copyTable(SlimeValues,self)
self._ang... | mit |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/cocos2d/DrawPrimitives.lua | 98 | 12024 |
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 = cc.Application:getInstance():getTargetPlatform()
lo... | mit |
nesstea/darkstar | scripts/globals/pets/wyvern.lua | 6 | 6597 | -----------------------------------
-- PET: Wyvern
-----------------------------------
require("scripts/globals/status");
WYVERN_OFFENSIVE = 1
WYVERN_DEFENSIVE = 2
WYVERN_MULTI = 3
local wyvernTypes = {
[JOB_WAR] = WYVERN_OFFENSIVE,
[JOB_MNK] = WYVERN_OFFENSIVE,
[JOB_WHM] = WYVERN_DEFENSIVE,
[JOB_BLM]... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/huton_san.lua | 21 | 1271 | -----------------------------------------
-- Spell: Huton: San
-- Deals wind damage to an enemy and lowers its resistance against ice.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/feather_tickle.lua | 25 | 1164 | -----------------------------------------
-- Spell: Feather Tickle
-- Reduces an enemy's TP
-- Spell cost: 48 MP
-- Monster Type: Birds
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: 64
-- Casting Time: 4 seconds
-- Recast Time: 26 seconds
-- Magic Bursts on: Detonation, Fragmentat... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_San_dOria/npcs/Nazar.lua | 12 | 1266 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Nazar
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
---------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/plate_of_squid_sushi.lua | 17 | 1612 | -----------------------------------------
-- ID: 5148
-- Item: plate_of_squid_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 30
-- Dexterity 6
-- Agility 5
-- Mind -1
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scr... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/watermelon.lua | 35 | 1197 | -----------------------------------------
-- ID: 4491
-- Item: watermelon
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Davoi/npcs/Disused_Well.lua | 13 | 1333 | -----------------------------------
-- Area: Davoi
-- NPC: Disused Well
-- Involved in Quest: A Knight's Test
-- @pos -221 2 -293 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/smoldering_salisbury_steak.lua | 36 | 1686 | -----------------------------------------
-- ID: 5924
-- Item: Smoldering Salisbury Steak
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- HP +30
-- Strength +7
-- Intelligence -5
-- Attack % 20 Cap 160
-- Ranged Attack %20 Cap 160
-- Dragon Killer +5
-------------------------------------... | gpl-3.0 |
VurtualRuler98/kswep2-NWI | lua/ins_sounds/sounds_sks.lua | 1 | 1075 | if (SERVER) then
AddCSLuaFile()
end
--SKS
sound.Add({
name="Weapon_SKS.Single",
volume = 1.0,
pitch = {100,105},
sound = "weapons/SKS/SKS_fp.wav",
level = 145,
channel = CHAN_STATIC
})
sound.Add({
name="Weapon_SKS.SingleSilenced",
volume = 1.0,
pitch = {100,105},
sound = "weapons/SKS/SKS_suppressed_fp.wav",
... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Rabao/npcs/Waylea.lua | 38 | 1048 | -----------------------------------
-- Area: Rabao
-- NPC: Waylea
-- Type: Reputation
-- @zone: 247
-- @pos 12.384 4.658 -32.392
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Zeruhn_Mines/npcs/Drake_Fang.lua | 13 | 2334 | -----------------------------------
-- Area: Zeruhn Mines
-- NPC: Drake Fang
-- Involved in Mission: Bastok 6-1, 8-2
-- @pos -74 0.1 58 172
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Ifrits_Cauldron/Zone.lua | 13 | 2695 | -----------------------------------
--
-- Zone: Ifrits_Cauldron (205)
--
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Ifrits_Cauldron/Te... | gpl-3.0 |
plajjan/snabbswitch | src/lib/virtio/net_device.lua | 1 | 15387 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- Implements virtio-net device
module(...,package.seeall)
local freelist = require("core.freelist")
local lib = require("core.lib")
local link = require("core.link")
local memory = require("core.memory")
local packet =... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua | 23 | 1776 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Heruze-Moruze
-- Involved in Mission: 2-3 Windurst
-- @pos -56 -3 36 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems"... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Jeanvirgaud.lua | 12 | 1937 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Jeanvirgaud
-- Outpost Teleporter NPC
-- @pos 45.559 -0.199 26.300 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Porter_Moogle.lua | 41 | 1560 | -----------------------------------
-- Area: Southern San d'Oria [S]
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 80
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/So... | gpl-3.0 |
error454/SteamShiva | Resources/Scripts/Steam_Function_submitHighscore.lua | 1 | 1582 | --------------------------------------------------------------------------------
-- Function......... : submitHighscore
-- Author........... :
-- Description...... :
--------------------------------------------------------------------------------
-------------------------------------------------------------------... | mit |
nesstea/darkstar | scripts/zones/Mount_Zhayolm/mobs/Brass_Borer.lua | 29 | 1544 | -----------------------------------
-- Area: Mount Zhayolm
-- MOB: Brass Borer
-----------------------------------
require("scripts/globals/status");
-- TODO: Damage resistances in streched and curled stances. Halting movement during stance change.
-----------------------------------
-- OnMobSpawn Action
-----------... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/plugin-interface.lua | 1 | 1611 | -----------------------------------------------------------------------------
-- Name: plugin_interface.lua
-- Purpose: Plugin Interface library project script.
-- Author: Andrea Zanellato zanellato.andrea@gmail.com
-- Modified by:
-- Created: 2011/10/20
-- Copyright: (c) wxFormBuilder... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Bastok/npcs/Romilda.lua | 36 | 2365 | -----------------------------------
-- Area: Port Bastok
-- NPC: Romilda
-- Involved in Quest: Forever to Hold
-- Starts & Ends Quest: Till Death Do Us Part
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria/npcs/Foletta.lua | 36 | 1433 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Foletta
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Cloister_of_Tides/bcnms/trial-size_trial_by_water.lua | 29 | 2207 | -----------------------------------
-- Area: Cloister of Tides
-- BCNM: Trial by Water
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/shop");
require("scripts/globals/q... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Castle_Oztroja/TextIDs.lua | 5 | 2162 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6564; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6566; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6567; -- Ob... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Kazham/npcs/Nenepp.lua | 27 | 4251 | -----------------------------------
-- Area: Kazham
-- NPC: Nenepp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
29.014000, -11.00000, -183.884000,
31.023000, -... | gpl-3.0 |
plajjan/snabbswitch | lib/ljsyscall/syscall/netbsd/types.lua | 24 | 22649 | -- NetBSD types
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local function init(types)
local abi = requi... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Beaucedine_Glacier/mobs/Tundra_Tiger.lua | 23 | 1425 | -----------------------------------
-- Area: Beaucedine Glacier
-- MOB: Tundra Tiger
-- Note: PH for Nue, Kirata
-----------------------------------
require("scripts/globals/fieldsofvalor");
require("scripts/zones/Beaucedine_Glacier/MobIDs");
-----------------------------------
-- onMobDeath
----... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/dish_of_spaghetti_peperoncino_+1.lua | 35 | 1403 | -----------------------------------------
-- ID: 5197
-- Item: dish_of_spaghetti_peperoncino_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 30
-- Health Cap 75
-- Vitality 2
-- Store TP 6
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/radiant_breath.lua | 25 | 2259 | -----------------------------------------
-- Spell: Radiant Breath
-- Deals light damage to enemies within a fan-shaped area of effect originating from the caster. Additional effect: Slow and Silence.
-- Spell cost: 116 MP
-- Monster Type: Wyverns
-- Spell Type: Magical (Light)
-- Blue Magic Points: 4
-- Stat Bonus: CH... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/plate_of_sea_spray_risotto.lua | 18 | 1627 | -----------------------------------------
-- ID: 4268
-- Item: plate_of_sea_spray_risotto
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 45
-- Dexterity 6
-- Agility 3
-- Mind -4
-- HP Recovered While Healing 1
-- Accuracy % 6 (cap 20)
-----------------------------------------
require(... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Apollyon/mobs/Water_Elemental.lua | 119 | 2423 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/death_blossom.lua | 6 | 2843 | -----------------------------------
-- Death Blossom
-- Sword weapon skill (RDM main only)
-- Description: Delivers a threefold attack that lowers target's magic evasion. Chance of lowering target's magic evasion varies with TP. Murgleis: Aftermath effect varies with TP.
-- Lowers magic evasion by up to 10.
-- Effect l... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Gusgen_Mines/npcs/qm4.lua | 8 | 1434 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: qm4 (???)
-- Involved In Quest: Ghosts of the Past
-- @pos -174 0 369 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.