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 |
|---|---|---|---|---|---|
ricker75/Global-Server | data/npc/scripts/Elane.lua | 2 | 6719 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, ms... | gpl-2.0 |
GENRALVS/GENRAL-VS | plugins/anti_spam.lua | 191 | 5291 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 2 -- seconds
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id == our_id then
return msg
end
-- Save... | gpl-2.0 |
LegionXI/darkstar | scripts/globals/spells/bluemagic/metallic_body.lua | 45 | 1520 | -----------------------------------------
-- Spell: Metallic Body
-- Absorbs an certain amount of damage from physical and magical attacks
-- Spell cost: 19 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 1
-- Stat Bonus: None
-- Level: 8
-- Casting Time: 7 seconds
-- Recast Time: 60 sec... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/temper.lua | 27 | 1135 | -----------------------------------------
--
-- Spell: Temper
--
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/Damnation_Dive.lua | 7 | 1350 | ---------------------------------------------
-- Damnation Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 3 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
---------------------------... | gpl-3.0 |
teslamint/packages | net/acme/files/acme-cbi.lua | 3 | 5143 | --[[
LuCI - Lua Configuration Interface
Copyright 2016 Toke Høiland-Jørgensen <toke@toke.dk>
# 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 3 of the License, or (at your option... | gpl-2.0 |
naclander/tome | game/modules/tome/data/zones/town-zigur/zone.lua | 1 | 2076 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
naclander/tome | game/modules/tome/data/quests/paradoxology.lua | 1 | 5061 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
siktirmirza/supergp | plugins/plugmanager.lua | 22 | 3691 | do
local function run(msg, matches)
if not is_sudo(msg) then
return "you have not accsess to filemanager"
end
local receiver = get_receiver(msg)
if matches[1] == 'بفرس' then
local file = matches[3]
if matches[2] == 'sticker' and not matches[4] then
send_document(receiver, "./media/"... | gpl-2.0 |
ibm2431/darkstar | scripts/zones/Vunkerl_Inlet_[S]/Zone.lua | 12 | 1428 | -----------------------------------
--
-- Zone: Vunkerl_Inlet_[S] (83)
--
-----------------------------------
local ID = require("scripts/zones/Vunkerl_Inlet_[S]/IDs");
require("scripts/globals/weather");
require("scripts/globals/status");
-----------------------------------
function onInitialize(zone)
end;
function ... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/angler_stewpot.lua | 11 | 1608 | -----------------------------------------
-- ID: 5611
-- Item: Angler's Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% (cap 200)
-- MP +10
-- HP Recoverd while healing 5
-- MP Recovered while healing 1
-- Accuracy +15% Cap 15
-- Ranged Accuracy 15% Ca... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/broiled_trout.lua | 12 | 1385 | -----------------------------------------
-- ID: 4587
-- Item: Broiled Trout
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -1
-- Ranged ATT % 14 (cap 55)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Dynamis-Xarcabard/IDs.lua | 9 | 8606 | -----------------------------------
-- Area: Dynamis-Xarcabard
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/dynamis")
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.DYNAMIS_XARCABARD] =
{
text =
{
... | gpl-3.0 |
gwlim/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-format.lua | 80 | 3636 | --[[
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... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Al_Zahbi/npcs/Chochoroon.lua | 14 | 1035 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Chochoroon
-- Type: Appraiser
-- @zone 48
-- @pos -42.739 -1 -45.987
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------... | gpl-3.0 |
gwlim/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 |
u20024804/skynet | examples/client.lua | 67 | 2101 | package.cpath = "luaclib/?.so"
package.path = "lualib/?.lua;examples/?.lua"
if _VERSION ~= "Lua 5.3" then
error "Use lua 5.3"
end
local socket = require "clientsocket"
local proto = require "proto"
local sproto = require "sproto"
local host = sproto.new(proto.s2c):host "package"
local request = host:attach(sproto.n... | mit |
naclander/tome | game/modules/tome/data/zones/town-elvala/objects.lua | 3 | 1173 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
naclander/tome | game/modules/tome/data/gfx/particles/generic_ball.lua | 1 | 1890 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
naclander/tome | game/modules/tome/data/gfx/particles/bolt_slime.lua | 3 | 1580 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Shepherd.lua | 23 | 1059 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Goblin Shepherd
-- Note: Place holder Soulstealer Skullnix
-----------------------------------
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
... | gpl-3.0 |
Startg/security | plugins/msg-checks.lua | 1 | 11979 | --Begin msg_checks.lua By @sudo_star
local TIME_CHECK = 2
local function pre_process(msg)
local data = load_data(_config.moderation.data)
local chat = msg.to.id
local user = msg.from.id
local is_channel = msg.to.type == "channel"
local is_chat = msg.to.type == "chat"
local auto_leave = 'auto_leave_bot'
local hash = "gp... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Kazham/npcs/Hari_Pakhroib.lua | 29 | 3020 | -----------------------------------
-- Area: Kazham
-- NPC: Hari Pakhroib
-- Starts and Finishes Quest: Greetings to the Guardian
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/t... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/abilities/feral_howl.lua | 58 | 3525 | ---------------------------------------------------
-- Ability: Feral Howl
-- Terrorizes the target.
-- Obtained: Beastmaster Level 75
-- Recast Time: 0:05:00
-- Duration: Apprx. 0:00:01 - 0:00:10
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status")... | gpl-3.0 |
naclander/tome | game/modules/tome/data/zones/blighted-ruins/grids.lua | 3 | 1406 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
rigeirani/btg | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
shadog/shado | admin.lua | 27 | 10309 | 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 |
greasydeal/darkstar | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
ciarand/luvit.io | libs/controllers/blog.lua | 3 | 1650 | local renderTemplate = require('render-template')
local pathJoin = require('luvi').path.join
local fs = require('coro-fs').chroot(pathJoin(module.dir, "../.."))
local loadContent = require('load-content')
local function loadArticles()
local articles = {}
for entry in fs.scandir("articles") do
if entry.type == ... | apache-2.0 |
lichtl/darkstar | scripts/zones/Sacrarium/npcs/Large_Keyhole.lua | 27 | 1422 | -----------------------------------
-- Area: Sacrarium
-- NPC: Large Keyhole
-- Notes: Used to open R. Gate
-- @pos 100.231 -1.414 51.700 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/TextIDs"); ... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/asuran_fists.lua | 10 | 1711 | -----------------------------------
-- Asuran Fists
-- Hand-to-Hand weapon skill
-- Skill Level: 250
-- Delivers an eightfold attack. params.accuracy varies with TP.
-- In order to obtain Asuran Fists, the quest The Walls of Your Mind must be completed.
-- Due to the 95% params.accuracy cap there is only a 66% chance o... | gpl-3.0 |
NiLuJe/koreader | frontend/ui/widget/screensaverwidget.lua | 3 | 7785 | local Device = require("device")
local Event = require("ui/event")
local Geom = require("ui/geometry")
local GestureRange = require("ui/gesturerange")
local FrameContainer = require("ui/widget/container/framecontainer")
local InfoMessage = require("ui/widget/infomessage")
local InputContainer = require("ui/widget/conta... | agpl-3.0 |
inmatarian/bronxcombat1999 | color.lua | 1 | 4739 | -- Color flyweights
local color
local unpack = unpack or table.unpack
local function clamp(x, min, max)
if x < min then return min end
if x > max then return max end
return x
end
local function hsl2rgb(hue, sat, lit)
hue = clamp(hue or 360, 0, 360)
sat = clamp(sat or 1, 0, 1)
lit = clamp(lit or 1, 0, 1)
... | mit |
RunAwayDSP/darkstar | scripts/globals/spells/bluemagic/grand_slam.lua | 4 | 1517 | -----------------------------------------
-- Spell: Grand Slam
-- Delivers an area attack. Damage varies with TP
-- Spell cost: 24 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 30
-- Casting Time: 1 seconds
-- Recast Time: 14.25 seconds
-- Skillchain... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/darkrpmodification-master/lua/darkrp_modules/tcb_f4menu/cl_panel_vehicles.lua | 1 | 1909 | /*---------------------------------------------------------------------------
Creator: TheCodingBeast - TheCodingBeast.com
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-n... | mit |
RunAwayDSP/darkstar | scripts/globals/mobskills/hex_palm.lua | 11 | 1024 | ---------------------------------------------
-- Hex Palm
-- Family: Qutrub
-- Description: Steals HP from targets in front.
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Front cone
-- Notes: Used only when wielding no weapon.
---------------------------------------------
require("scripts/globals/m... | gpl-3.0 |
lichtl/darkstar | scripts/globals/mobskills/Vorpal_Wheel.lua | 37 | 1063 | ---------------------------------------------
-- Vorpal Wheel
--
-- Description: Throws a slicing wheel at a single target.
-- Type: Physical
-- Utsusemi/Blink absorb: No
-- Range: Unknown
-- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as his he... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/kayabaligi.lua | 11 | 1049 | -----------------------------------------
-- ID: 5460
-- Item: Kayabaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-------------------------------------... | gpl-3.0 |
DrYaling/eluna-trinitycore | src/server/scripts/Scripts-master/Blizzlike/EasternKingdoms/zone_eastern_plaguelands.lua | 1 | 3173 | --[[
EmuDevs <http://emudevs.com/forum.php>
Eluna Lua Engine <https://github.com/ElunaLuaEngine/Eluna>
Eluna Scripts <https://github.com/ElunaLuaEngine/Scripts>
Eluna Wiki <http://wiki.emudevs.com/doku.php?id=eluna>
-= Script Information =-
* Zone: Eastern Plaugelands
* QuestId: 5742 / 6164... | gpl-2.0 |
lichtl/darkstar | scripts/globals/items/cinna-cookie.lua | 18 | 1325 | -----------------------------------------
-- ID: 4397
-- Item: cinna-cookie
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Magic Regen While Healing 4
-- Vermin Killer 5
-- Poison Resist 5
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
sjznxd/lc-20130222 | modules/admin-full/luasrc/controller/admin/index.lua | 79 | 1245 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.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
$Id$
]]--
mod... | apache-2.0 |
RunAwayDSP/darkstar | scripts/globals/items/plate_of_ikra_gunkan.lua | 11 | 1458 | -----------------------------------------
-- ID: 5219
-- Item: plate_of_ikra_gunkan
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 30
-- Magic 10
-- Dexterity 3
-- Mind -2
-- Accuracy % 18
-- Accuracy Cap 28
-- Ranged ACC % 18
-- Ranged ACC Cap 28
----------------------------------... | gpl-3.0 |
blackguardtm/blackguardtm | plugins/banhammer.lua | 34 | 11497 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
lichtl/darkstar | scripts/globals/items/serving_of_flint_caviar.lua | 18 | 1422 | -----------------------------------------
-- ID: 4276
-- Item: serving_of_flint_caviar
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-- Dexterity 4
-- Mind -1
-- Charisma 4
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Rockwell.lua | 9 | 1129 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Rockwell
-- Quest: Your Crystal Ball
-- !pos -18 -13 181 198
-----------------------------------
local ID = require("scripts/zones/Maze_of_Shakhrami/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
-----------------------... | gpl-3.0 |
Zariel/bollo2 | lib/AceGUI-3.0/widgets/AceGUIWidget-TreeGroup.lua | 2 | 18219 | local AceGUI = LibStub("AceGUI-3.0")
-- Recycling functions
local new, del
do
local pool = setmetatable({},{__mode='k'})
function new()
local t = next(pool)
if t then
pool[t] = nil
return t
else
return {}
end
end
function del(t)
for k in pairs(t) do
t[k] = nil
end
pool[t] = true
end
end... | bsd-3-clause |
lichtl/darkstar | scripts/zones/Kazham/npcs/Bhi_Telifahgo.lua | 17 | 1071 | -----------------------------------
-- Area: Kazham
-- NPC: Bhi Telifahgo
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Throne_Room/bcnms/shadow_lord_battle.lua | 8 | 2156 | -----------------------------------
-- Area: Throne Room
-- Name: Mission 5-2
-- !pos -111 -6 0.1 165
-----------------------------------
local ID = require("scripts/zones/Throne_Room/IDs")
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-------------------... | gpl-3.0 |
GPUOpen-Effects/ShadowFX | amd_shadowfx/premake/premake5.lua | 1 | 3542 | _AMD_LIBRARY_NAME = "ShadowFX"
_AMD_LIBRARY_NAME_ALL_CAPS = string.upper(_AMD_LIBRARY_NAME)
_AMD_D3D_VERSION = "d3d11"
-- Set _AMD_LIBRARY_NAME and _AMD_D3D_VERSION before including amd_premake_util.lua
dofile ("../../premake/amd_premake_util.lua")
workspace ("AMD_" .. _AMD_LIBRARY_NAME .. "11")
configurations { "... | mit |
lichtl/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/Ebon_Panel.lua | 14 | 3785 | -----------------------------------
-- Area: The Garden of RuHmet
-- NPC: Ebon_Panel
-- @pos 100.000 -5.180 -337.661 35 | Mithra Tower
-- @pos 740.000 -5.180 -342.352 35 | Elvaan Tower
-- @pos 257.650 -5.180 -699.999 35 | Tarutaru Tower
-- @pos 577.648 -5.180 -700.000 35 | Galka Tower
-------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Mhaura/npcs/Bihoro-Guhoro.lua | 14 | 1538 | -----------------------------------
-- Area: Mhaura
-- NPC: Bihoro-Guhoro
-- Involved in Quest: Riding on the Clouds
-- @pos -28 -8 41 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/abilities/pets/eraser.lua | 12 | 1808 | ---------------------------------------------
-- Eraser
---------------------------------------------
require("scripts/globals/automatonweaponskills")
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/msg")
---------------------------------------------
function onMobSkillCh... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm7.lua | 14 | 1348 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm7 (???)
-- Spawns Veri Selen
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Carpenters_Landing/npcs/relic.lua | 14 | 1880 | -----------------------------------
-- Area: Carpenter's Landing
-- NPC: <this space intentionally left blank>
-- @pos -99 -0 -514 2
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Carpenters_Landing/TextI... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Parukoko.lua | 14 | 1061 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Parukoko
-- Type: Standard NPC
-- @zone 94
-- @pos -32.400 -3.5 -103.666
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
---... | gpl-3.0 |
lichtl/darkstar | scripts/globals/mobskills/Sand_Blast.lua | 24 | 1154 | ---------------------------------------------------
-- Sand Blast
-- Deals Earth damage to targets in a fan-shaped area of effect. Additional effect: Blind
-- Range: 8' cone
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
scscgit/scsc_wildstar_addons | RaidCore/Encounters/TEST/HousingTest.lua | 1 | 20436 | ----------------------------------------------------------------------------------------------------
-- Client Lua Script for RaidCore Addon on WildStar Game.
--
-- Copyright (C) 2015 RaidCore
----------------------------------------------------------------------------------------------------
--------------------------... | mit |
ShahriyarB/Warcraft-Lua-Engine-2 | luasocket-master/test/urltest.lua | 30 | 17349 | local socket = require("socket")
socket.url = require("socket.url")
dofile("testsupport.lua")
local check_build_url = function(parsed)
local built = socket.url.build(parsed)
if built ~= parsed.url then
print("built is different from expected")
print(built)
print(expected)
os.exi... | gpl-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/fadmin/playeractions/teleport/cl_init.lua | 6 | 2349 |
FAdmin.StartHooks["zz_Teleport"] = function()
FAdmin.Messages.RegisterNotification{
name = "goto",
hasTarget = true,
message = {"instigator", " teleported to ", "targets"}
}
FAdmin.Messages.RegisterNotification{
name = "bring",
hasTarget = true,
message = {"... | mit |
RunAwayDSP/darkstar | scripts/globals/items/strip_of_bison_jerky.lua | 11 | 1077 | -----------------------------------------
-- ID: 5207
-- Item: strip_of_bison_jerky
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 5
-- Mind -2
-- Attack % 18
-- Attack Cap 70
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua | 17 | 1498 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Claymore
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEn... | gpl-3.0 |
lichtl/darkstar | scripts/globals/abilities/wind_maneuver.lua | 19 | 1605 | -----------------------------------
-- Ability: Wind Maneuver
-- Enhances the effect of wind attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
lichtl/darkstar | scripts/zones/East_Ronfaure/npcs/Field_Manual.lua | 29 | 1057 | -----------------------------------
-- Field Manual
-- Area: East Ronfaure
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Al_Zahbi/npcs/Bjibar.lua | 14 | 1037 | -----------------------------------
-- 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 |
lichtl/darkstar | scripts/zones/RuLude_Gardens/npcs/Pursuivant.lua | 14 | 1047 | -----------------------------------
-- 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 |
lichtl/darkstar | scripts/zones/Horlais_Peak/bcnms/under_observation.lua | 30 | 1739 | -----------------------------------
-- Area: Horlias peak
-- Name: under_observation
-- BCNM40
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXAMP... | gpl-3.0 |
misterfish/fish-pines | coro.lua | 1 | 3299 | needs ({ me = 'coro' }, '__imported_util')
local _, k, v
-- resume coroutines sequentially until they all finish.
--
-- hashooks means the yields give a 'how' object, which gives info about
-- whether the coro is waiting, done, or failed.
local pool
pool = (function ()
local function new (args)
local sel... | gpl-2.0 |
da03/OpenNMT | onmt/scorers/tercom.lua | 3 | 13718 | -- implementation based on tercom v6 perl
----------------------- DEFAULT PARAMETERS -----------------------
-- standard costs
local MATCH_COST = 0
local INSERT_COST = 1
local DELETE_COST = 1
local SUB_COST = 1
local SHIFT_COST = 1
-- Super high value used to mark an impossible path
local INF = 99999999999
-- Maxim... | mit |
lichtl/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/Zone.lua | 4 | 4466 | -----------------------------------
--
-- Zone: The_Sanctuary_of_ZiTah (121)
--
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/The_Sanctuary_of_... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/freeze_ii.lua | 6 | 1201 | -----------------------------------------
-- Spell: Freeze II
-- Deals ice damage to an enemy and lowers its resistance against fire.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCheck(caste... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm17.lua | 14 | 1904 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns Glavoid
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
function... | gpl-3.0 |
Mudlet-cn/mudlet | src/mudlet-lua/lua/geyser/GeyserContainer.lua | 11 | 10164 | --------------------------------------
-- --
-- The Geyser Layout Manager by guy --
-- --
--------------------------------------
--- Represents a generic container with positional information.
-- Has no notion of contents and is used to contain other wi... | gpl-2.0 |
OctoEnigma/shiny-octo-system | lua/includes/modules/player_manager.lua | 1 | 17556 | local hook = hook
local player = player
local pairs = pairs
local Msg = Msg
local ErrorNoHalt = ErrorNoHalt
local baseclass = baseclass
local setmetatable = setmetatable
local SERVER = SERVER
local string = string
local util = util
module( "player_manager" )
-- Stores a table of valid player models
local ModelList =... | mit |
lichtl/darkstar | scripts/globals/items/prized_angler_stewpot.lua | 18 | 2003 | -----------------------------------------
-- ID: 5613
-- Item: Prized Angler's Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10%
-- MP +20
-- Dexterity 4
-- Agility 2
-- Mind 2
-- HP Recovered while healing 9
-- MP Recovered while healing 3
-- Accuracy 1... | gpl-3.0 |
da03/OpenNMT | test/onmt/TerTest.lua | 3 | 2406 | require('onmt.init')
local tester = ...
local terTest = torch.TestSuite()
local ref1 = {
[[After 60 days of hard work , the scientists from Xi ' an Satellite Testing and Monitoring Center overcame various technical difficulties and successfully solved the malfunction of the Beidou Navigation Experimental Satellites ... | mit |
bogvak/nodemcu-firmware | lua_modules/http/http.lua | 89 | 6624 | ------------------------------------------------------------------------------
-- HTTP server module
--
-- LICENCE: http://opensource.org/licenses/MIT
-- Vladimir Dronnikov <dronnikov@gmail.com>
------------------------------------------------------------------------------
local collectgarbage, tonumber, tostring = col... | mit |
lichtl/darkstar | scripts/zones/Port_Bastok/npcs/Rosswald.lua | 17 | 1648 | -----------------------------------
-- Area: Port Bastok
-- NPC: Rosswald
-- Only sells when Bastok controlls Zulkheim Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/TextIDs"... | gpl-3.0 |
lichtl/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Kasim.lua | 14 | 1909 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: Kasim
-- @pos -46 0 -148 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_Zitah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
r... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Konschtat/npcs/qm20.lua | 10 | 1349 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: qm20 (???)
-- Spawns Siranpa-Kamuy
-- @pos ? ? ? 15
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/West_Ronfaure/npcs/Zovriace.lua | 9 | 41586 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Zovriace
-- Type: Patrol NPC
-- !pos -436.356 -15.851 -258.168 100
-----------------------------------
local ID = require("scripts/zones/West_Ronfaure/IDs")
require("scripts/globals/pathfind")
-----------------------------------
local path =
{
-43... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/dragon_steak.lua | 18 | 1866 | -----------------------------------------
-- ID: 4350
-- Item: dragon_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 25
-- Strength 7
-- Intelligence -3
-- Health Regen While Healing 2
-- Attack % 20
-- Attack Cap 150
-- Ranged ATT % 20
-- Ranged ATT Cap 150
-- Demon Killer ... | gpl-3.0 |
raingloom/yaoui | examples/anime/yaoui/Dropdown.lua | 4 | 4408 | local yui_path = (...):match('(.-)[^%.]+$')
local Object = require(yui_path .. 'UI.classic.classic')
local Dropdown = Object:extend('Dropdown')
function Dropdown:new(yui, settings)
self.yui = yui
self.timer = self.yui.Timer()
self.x, self.y = 0, 0
self.name = settings.name
self.size = settings.size... | mit |
RunAwayDSP/darkstar | scripts/globals/shop.lua | 7 | 24263 | -----------------------------------
--
-- Functions for Shop system
--
-----------------------------------
require("scripts/globals/conquest")
require("scripts/globals/settings")
require("scripts/globals/crafting")
-----------------------------------
dsp = dsp or {}
dsp.shop =
{
--[[ **************************... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Beaucedine_Glacier/TextIDs.lua | 4 | 1124 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6562; -- You cannot obtain the item. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6564; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6565; -- Obtained:... | gpl-3.0 |
lichtl/darkstar | scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Orange.lua | 14 | 2327 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Magian Moogle (Orange Bobble)
-- Type: Magian Trials NPC (Weapon/Empyrean Armor)
-- @pos -11 2.453 118 64
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Western_Adoulin/npcs/Preterig.lua | 14 | 1184 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Preterig
-- Type: Shop NPC
-- @zone 256
-- @pos 6 0 -53 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/z... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Metalworks/npcs/Elayne.lua | 33 | 1375 | -----------------------------------
-- Area: Metalworks
-- NPC: Elayne
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Metalworks/TextIDs");
---... | gpl-3.0 |
scscgit/scsc_wildstar_addons | RaidCore/Encounters/DS/miniboss/Earth_Fully_Optimized_Canimid.lua | 1 | 3437 | ----------------------------------------------------------------------------------------------------
-- Client Lua Script for RaidCore Addon on WildStar Game.
--
-- Copyright (C) 2015 RaidCore
----------------------------------------------------------------------------------------------------
--------------------------... | mit |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/tipjar/sv_communication.lua | 2 | 3840 | util.AddNetworkString("DarkRP_TipJarUI")
util.AddNetworkString("DarkRP_TipJarDonate")
util.AddNetworkString("DarkRP_TipJarUpdate")
util.AddNetworkString("DarkRP_TipJarExit")
util.AddNetworkString("DarkRP_TipJarDonatedList")
net.Receive("DarkRP_TipJarDonate", function(_, ply)
local tipjar = net.ReadEntity()
lo... | mit |
Benjarobbi/UzzBott | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
JocysCom/TextToSpeech | TextToSpeech/WoW/JocysCom-TextToSpeech-WoW/JocysCom-TextToSpeech-WoW.lua | 1 | 80186 | -- Extract current TOC Version (Interface) in chat window: /run print((select(4, GetBuildInfo())));
-- Show errors (1) or hide errors (0): /console scriptErrors 1
-- Show or hide frame names: /fstack
-- Show events: /eventtrace
-- Blizzard > Settings > Game Settings > Game Name > [v] Additional command line argume... | lgpl-3.0 |
NiLuJe/koreader | spec/unit/readerhighlight_spec.lua | 4 | 14277 | describe("Readerhighlight module", function()
local DocumentRegistry, ReaderUI, UIManager, Screen, Geom, Event
setup(function()
require("commonrequire")
package.unloadAll()
require("document/canvascontext"):init(require("device"))
DocumentRegistry = require("document/documentregi... | agpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Stellar_Fulcrum/npcs/_4z1.lua | 27 | 1030 | -----------------------------------
-- Area: Stellar Fulcrum
-- NPC: Qe'Lov Gate
-------------------------------------
require("scripts/globals/status");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
player:startEvent(32003);
return 1;
end;
functi... | gpl-3.0 |
lichtl/darkstar | scripts/globals/events/harvest_festivals.lua | 3 | 11444 | ---------------------------------------------------------
---------------------------------------------------------
------------ Harvest Festivals --------------------
---------------------------------------------------------
---------------------------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Southern_San_dOria/npcs/Melledanne.lua | 14 | 1537 | -----------------------------------
-- Area: Southern San dOria
-- NPC: Melledanne
-- Type: Melody Minstrel NPC
-- @zone 230
-- @pos -33.194 0.000 34.662
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
mbattersby/LiteBag | LiteBagBank.lua | 1 | 4665 | --[[----------------------------------------------------------------------------
LiteBag/BankFrame.lua
Copyright 2013-2020 Mike Battersby
Released under the terms of the GNU General Public License version 2 (GPLv2).
See the file LICENSE.txt.
------------------------------------------------------------------... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Bastok_Mines/npcs/Deadly_Spider.lua | 33 | 1388 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Deadly Spider
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Bastok_Mines/Tex... | gpl-3.0 |
lc412/skynet | lualib/mysql.lua | 31 | 15725 | -- Copyright (C) 2012 Yichun Zhang (agentzh)
-- Copyright (C) 2014 Chang Feng
-- This file is modified version from https://github.com/openresty/lua-resty-mysql
-- The license is under the BSD license.
-- Modified by Cloud Wu (remove bit32 for lua 5.3)
local socketchannel = require "socketchannel"
local mysqlaux = req... | mit |
taiha/luci | applications/luci-app-shairplay/luasrc/model/cbi/shairplay.lua | 78 | 1789 | -- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
-- Licensed to the public under the Apache License 2.0.
m = Map("shairplay", "Shairplay", translate("Shairplay is a simple AirPlay server implementation, here you can configure the settings."))
s = m:section(TypedSection, "shairplay", "")
s.addremove = true... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.