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
DarkstarProject/darkstar
scripts/globals/items/prominence_axe.lua
12
1253
----------------------------------------- -- ID: 18220 -- Item: Prominence Axe -- Additional Effect: Fire Damage -- Enchantment: Enfire ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- functio...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Bearclaw_Pinnacle/npcs/Armoury_Crate.lua
9
5731
----------------------------------- -- Area: Bearclaw Pinnacle -- NPC: Armoury Crate ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- local loot = { -- ENM: Follow the White Rabbit [641] = { { {itemid = 0, droprate = 5...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/doton_san.lua
5
1583
----------------------------------------- -- Spell: Doton: San -- Deals earth damage to an enemy and lowers its resistance against wind. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -------------...
gpl-3.0
davidbz/trafficserver
plugins/lua/example/test_global_hdr.lua
17
1176
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); y...
apache-2.0
DarkstarProject/darkstar
scripts/zones/Kazham/npcs/Dodmos.lua
9
2692
----------------------------------- -- Area: Kazham -- NPC: Dodmos -- Starts Quest: Trial Size Trial By Fire -- !pos 102.647 -14.999 -97.664 250 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/telep...
gpl-3.0
8devices/carambola2-luci
applications/luci-pbx/luasrc/model/cbi/pbx-advanced.lua
99
14473
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 ...
apache-2.0
asdofindia/prosody-modules
mod_checkcerts/mod_checkcerts.lua
29
2809
local ssl = require"ssl"; local datetime_parse = require"util.datetime".parse; local load_cert = ssl.loadcertificate; local st = require"util.stanza" -- These are in days. local nag_time = module:get_option_number("checkcerts_notify", 7) * 86400; if not load_cert then module:log("error", "This version of LuaSec (%s)...
mit
DarkstarProject/darkstar
scripts/globals/mobskills/crosswind.lua
11
1102
--------------------------------------------- -- Crosswind -- -- Description: Deals Wind damage to enemies within a fan-shaped area. Additional effect: Knockback -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: --------------------------------------------- require("script...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Giddeus/npcs/Quu_Bokye.lua
13
2020
----------------------------------- -- Area: Giddeus -- NPC: Quu Bokye -- Involved in Quest: Dark Legacy -- @pos -159 16 181 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Giddeus/TextIDs"); -------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters/TextIDs.lua
1
5604
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory. ITEM_OBTAINED = 6543; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>> GIL_OBTAINED = 6544; -- Obtaine...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/orange_kuchen.lua
18
1209
----------------------------------------- -- ID: 4393 -- Item: orange_kuchen -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 13 -- Magic Cap 75 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Giorox/AngelionOT-Repo
data/movements/scripts/alterstp.lua
1
2388
function onStepIn(cid, item, pos) local ice = {x=32369, y=32241, z=7} local fire = {x=1043, y=1011, z=7} local energy = {x=1043, y=1011, z=7} local earth = {x=1043, y=1011, z=7} local esc = {x=1032, y=999, z=7} if getPlayerLookDir(cid) == 0 then newdir = 2 newdir2 = 2 elseif getPlayerLookDir(cid) == 1 the...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Meriphataud_Mountains/npcs/Chegourt_RK.lua
13
3343
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Chegourt, R.K. -- Type: Outpost Conquest Guards -- @pos -295 16 418 119 ------------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; -------------------------------------- require("scripts/globals/...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Mog_Garden/npcs/GreenThumbMo.lua
15
2319
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil; require("scripts/zones/Mog_Garden/TextIDs"); require("scripts/globals/moghouse") require("scripts/globals/shop"); local BRONZE_PIECE_ITEMID = 2184; ----------------------------------- -- onTrade ----------------------------------- function onTrade(player, n...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/bluemagic/regeneration.lua
46
1483
----------------------------------------- -- Spell: Regeneration -- Gradually restores HP -- Spell cost: 36 MP -- Monster Type: Aquans -- Spell Type: Magical (Light) -- Blue Magic Points: 2 -- Stat Bonus: MND+2 -- Level: 78 -- Casting Time: 2 Seconds -- Recast Time: 60 Seconds -- Spell Duration: 30 ticks, 90 Seconds --...
gpl-3.0
crunchuser/prosody-modules
mod_openid/mod_openid.lua
32
15176
local usermanager = require "core.usermanager" local httpserver = require "net.httpserver" local jidutil = require "util.jid" local hmac = require "hmac" local base64 = require "util.encodings".base64 local humane = require "util.serialization".serialize -- Configuration local base = "openid" local openidns = "http:...
mit
synthein/synthein
src/saveMenu.lua
1
2373
local utf8 = require("utf8") local SaveMenu = class() -- Make a menu in the center of the screen from a list of buttons. function SaveMenu:__create(dir, currentName) self.y = 250 self.width = 300 self.height = 60 self.dir = dir self.currentName = currentName or "filename" self:resetName() --if love.graphics...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/The_Boyahda_Tree/npcs/HomePoint#1.lua
27
1273
----------------------------------- -- Area: The Boyahda Tree -- NPC: HomePoint#1 -- @pos 88 -15 -217 153 ----------------------------------- package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/The_Boyahda_Tree/TextIDs"); require("scripts/global...
gpl-3.0
ungarscool1/HL2RP
hl2rp/gamemode/modules/chat/sh_chatcommands.lua
4
3585
local plyMeta = FindMetaTable("Player") DarkRP.chatCommands = DarkRP.chatCommands or {} local validChatCommand = { command = isstring, description = isstring, condition = fn.FOr{fn.Curry(fn.Eq, 2)(nil), isfunction}, delay = isnumber, tableArgs = fn.FOr{fn.Curry(fn.Eq, 2)(nil), isbool}, } local che...
agpl-3.0
8devices/carambola2-luci
libs/nixio/lua/nixio/util.lua
179
5824
--[[ nixio - Linux I/O library for lua Copyright 2009 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$ ]]-- local...
apache-2.0
imazen/CppSharp
examples/SDL/premake4.lua
8
1388
project "SDL" SetupExampleProject() if config.ExampleTests then project "SDL.Tests" kind "ConsoleApp" language "C#" location "." dependson "SDL" files { libdir .. "/SDL/SDL.cs", libdir .. "/SDL/SDL_assert.cs", libdir .. "/SDL/SDL_audio.cs", libdir .. "/SDL/SDL_blendmode....
mit
Fenix-XI/Fenix
scripts/zones/Port_Jeuno/npcs/Najib.lua
30
1385
----------------------------------- -- Area: Port Jeuno -- NPC: Najib -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action ---------------------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Bastok_Markets/npcs/Salimah.lua
11
2867
----------------------------------- -- Area: Bastok Markets -- NPC: Salimah -- Notes: Start & Finishes Quest: Gourmet -- !pos -31.687 -6.824 -73.282 235 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/titles"); local ID = require("scripts/zones/Bastok_Markets/IDs"); requ...
gpl-3.0
mrgloom/gtsrb.torch
Optim.lua
2
8051
--[[ That would be the license for Optim.lua BSD License For fbcunn software Copyright (c) 2014, Facebook, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistri...
mit
Fenix-XI/Fenix
scripts/zones/Lower_Jeuno/npcs/_l04.lua
13
1553
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -73.039 6 -95.633 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Horlais_Peak/bcnms/eye_of_the_tiger.lua
9
1064
----------------------------------- -- Eye of the Tiger -- Horlais Peak BCNM50, Comet Orb -- !additem 1177 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function on...
gpl-3.0
wez2020/nwewew
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/Teleseed
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
oTibia/UnderLight-AK47
data/actions/scripts/shrines.lua
2
1707
local HOTA_WEAK = 2342 local HOTA_FULL = 2343 local SHRINES = { -- Fire Shrine [SMALL_RUBY] = {7504, 7505, 7506, 7507}, -- Ice Shrine [SMALL_SAPPHIRE]= {7508, 7509, 7510, 7511}, -- Energy Shrine [SMALL_AMETHYST]= {7512, 7513, 7514, 7515}, -- Earth Shrine [SMALL_EMERALD] = {7516, 7517, 7518, 7519} } local E...
gpl-2.0
DarkstarProject/darkstar
scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua
9
2635
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Radeivepart -- Starts and Finishes Quest: Northward -- Involved in Quests: Save the Clock Tower -- !pos 5 9 -39 243 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/s...
gpl-3.0
Ghorbani-Roozbahan-Gholipoor-Dashti/Snort
piglet/tests/interface/packet.lua
4
2025
plugin = { type = "piglet", name = "piglet::packet", test = function() dofile(SCRIPT_DIR .. "/../common.lua") return run_tests(tests) end } DEFAULT_VALUES = { packet_flags = 0, xtradata_mask = 0, proto_bits = 0, application_protocol_ordinal = 0, alt_dsize = 0, nu...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Toraimarai_Canal/npcs/_4pc.lua
13
1843
----------------------------------- -- Area: Toraimarai Canal -- NPC: Marble Door -- Involved In Windurst Mission 7-1 -- @pos 132 12 -19 169 169 ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; require("scripts/zones/Toraimarai_Canal/TextIDs"); -----------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Castle_Zvahl_Baileys/npcs/Torch.lua
9
1596
----------------------------------- -- Area: Castle Zvahl Baileys -- NPC: Torch (x4) -- Involved in Quests: Borghertz's Hands (AF Hands, Many job) -- !pos 63 -24 21 161 ----------------------------------- local ID = require("scripts/zones/Castle_Zvahl_Baileys/IDs") require("scripts/globals/keyitems") require("scripts/...
gpl-3.0
soheildiscover/soheil
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
RockySeven3161/P_O_W_E_R_B_O_T
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
DarkstarProject/darkstar
scripts/globals/mobskills/warm-up.lua
12
1751
--------------------------------------------- -- Warm-Up -- -- Description: Enhances accuracy and evasion. -- Type: Magical (Earth) --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") ------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/dish_of_spaghetti_tonno_rosso.lua
18
1376
----------------------------------------- -- ID: 5623 -- Item: Dish of Spaghetti Tonno Rosso -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Health % 13 -- Health Cap 180 -- Dexterity 1 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
ysfox/MonaServer
FunctionalTests/www/FunctionalTests/LUATests/Serializers/main.lua
7
2010
local _dateTime = {__time=1412082917000} local _bytes = {__raw="\xFF\x00\x14"} local _array = {2.7,true,{__type="test",key="val"}} local _map = { map="map", __size=1 } setmetatable(_map,{__mode="v"}) local _mixed = { prop="prop", "elt1" } local _notmixed = { { prop="prop" }, "elt1" } local Object = { -- o...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Lower_Jeuno/npcs/Chetak.lua
13
1405
----------------------------------- -- Area: Lower Jeuno -- NPC: Chetak -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrade ...
gpl-3.0
Fenix-XI/Fenix
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
asdofindia/prosody-modules
mod_mam/mamprefsxml.lib.lua
36
1467
-- XEP-0313: Message Archive Management for Prosody -- Copyright (C) 2011-2013 Kim Alvefur -- -- This file is MIT/X11 licensed. local st = require"util.stanza"; local xmlns_mam = "urn:xmpp:mam:0"; local global_default_policy = module:get_option("default_archive_policy", false); local default_attrs = { always = true...
mit
abasshacker/abbasend
bot/creedbot.lua
1
15613
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/items/plate_of_squid_sushi.lua
11
1515
----------------------------------------- -- 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 1 ----------------------------------------- require("scri...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Aht_Urhgan_Whitegate/npcs/Matifa.lua
13
1041
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Matifa -- Type: Standard NPC -- @pos -10.583 -1 -8.820 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegat...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/weaponskills/realmrazer.lua
11
1448
----------------------------------- -- Realmrazer -- Club weapon skill -- Skill Level: 357 -- Delivers a seven-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers: MND:73~...
gpl-3.0
Fenix-XI/Fenix
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
RQWorldblender/ethereal
sealife.lua
1
4185
local S = ethereal.intllib -- Seaweed minetest.register_node("ethereal:seaweed", { description = S("Seaweed"), drawtype = "plantlike", tiles = {"seaweed.png"}, inventory_image = "seaweed.png", wield_image = "seaweed.png", paramtype = "light", walkable = false, climbable = true, drowning = 1, selection_box =...
mit
spamn/lain
helpers.lua
2
3734
--[[ Licensed under GNU General Public License v2 * (c) 2013, Luke Bonham --]] local easy_async = require("awful.spawn").easy_async local timer = require("gears.timer") local debug = require("debug") local io = { lines = io.lines, open = io.open } local rawget =...
gpl-2.0
DarkstarProject/darkstar
scripts/zones/Windurst_Waters/npcs/Piketo-Puketo.lua
12
1605
----------------------------------- -- Area: Windurst Waters -- NPC: Piketo-Puketo -- Type: Cooking Guild Master -- !pos -124.012 -2.999 59.998 238 ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); require("scripts/globals/crafting"); require("scripts/globals/status"); ------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Carpenters_Landing/npcs/qm8.lua
13
2803
----------------------------------- -- Area: Carpenters' Landing -- NPC: ??? (qm2) -- Involved in Missions: Calm Before the Storm (CoP 7-4) -- @pos 120.615 -5.457 -390.133 2 ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ----------------------------------- --...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Bastok_Markets/npcs/Visala.lua
13
1195
----------------------------------- -- Area: Bastok Markets -- NPC: Visala -- Guild Merchant NPC: Goldsmithing Guild -- @pos -202.000 -7.814 -56.823 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
ungarscool1/HL2RP
hl2rp/gamemode/modules/f1menu/cl_htmlcontrols.lua
12
3854
surface.CreateFont("F1AddressBar", { size = 14, weight = 400, antialias = true, shadow = false, font = "Coolvetica"}) local PANEL = {} -- Remove any Javascript warnings function PANEL:ConsoleMessage() end function PANEL:Init() self.BaseClass.Init(self) self.history = ...
agpl-3.0
jeiboor/nod32bot
plugins/lock_eng.lua
10
1421
local function run(msg, matches) if msg.to.type == 'chat' then if is_momod(msg) then return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings'] then if data[tostring(msg.to.id)]['settings']['lock_eng'...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Port_Bastok/npcs/Kurando.lua
12
2343
----------------------------------- -- Area: Port Bastok -- NPC: Kurando -- Type: Quest Giver -- @zone: 236 -- @pos -23.887 3.898 0.870 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------...
gpl-3.0
dongjoon-hyun/DIGITS
tools/torch/utils.lua
8
8567
-- Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved. require 'torch' -- torch require 'image' -- for color transforms package.path = debug.getinfo(1, "S").source:match[[^@?(.*[\/])[^\/]-$]] .."?.lua;".. package.path require 'logmessage' ------------- UTILITY FUNCTIONS ---------------------------...
bsd-3-clause
Fenix-XI/Fenix
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Earth.lua
13
2385
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Earth -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"...
gpl-3.0
gvela024/kata
lua/spec/sorting/selection_sort_spec.lua
1
2187
--[[ The algorithm divides the input list into two parts: the sublist of items already sorted, which is built up from left to right at the front (left) of the list, and the sublist of items remaining to be sorted that occupy the rest of the list. Initially, the sorted sublist is empty and the unsorted sublist is the en...
mit
DarkstarProject/darkstar
scripts/globals/items/remedy.lua
12
1152
----------------------------------------- -- ID: 4155 -- Item: Remedy -- Item Effect: This potion remedies status ailments. -- Works on paralysis, silence, blindness, poison, and disease. ----------------------------------------- require("scripts/globals/status") ----------------------------------------- function onIt...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_Windurst/npcs/Ten_of_Clubs.lua
13
1054
----------------------------------- -- Area: Port Windurst -- NPC: Ten of Clubs -- Type: Standard NPC -- @zone: 240 -- @pos -229.393 -9.2 182.696 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------...
gpl-3.0
crunchuser/prosody-modules
mod_client_certs/mod_client_certs.lua
27
13872
-- XEP-0257: Client Certificates Management implementation for Prosody -- Copyright (C) 2012 Thijs Alkemade -- -- This file is MIT/X11 licensed. local st = require "util.stanza"; local jid_bare = require "util.jid".bare; local jid_split = require "util.jid".split; local xmlns_saslcert = "urn:xmpp:saslcert:1"; local dm...
mit
Fenix-XI/Fenix
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
Fenix-XI/Fenix
scripts/zones/Xarcabard/npcs/Cavernous_Maw.lua
58
1897
----------------------------------- -- Area: Xarcabard -- NPC: Cavernous Maw -- @pos 270 -9 -70 -- Teleports Players to Abyssea - Uleguerand ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Windurst_Walls/npcs/Pakke-Pokke.lua
13
1055
----------------------------------- -- 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
Fenix-XI/Fenix
scripts/zones/Windurst_Woods/npcs/Mheca_Khetashipah.lua
13
1061
----------------------------------- -- Area: Windurst Woods -- NPC: Mheca Khetashipah -- Type: Standard NPC -- @zone: 241 -- @pos 66.881 -6.249 185.752 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ---...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Lufaise_Meadows/npcs/Ghost_Talker_IM.lua
13
3327
----------------------------------- -- Area: Lufaise Meadows -- NPC: Ghost Talker, I.M. -- Border Conquest Guards -- @pos 414.659 0.905 -52.417 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/reishi_mushroom.lua
18
1174
----------------------------------------- -- ID: 4449 -- Item: reishi_mushroom -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -6 -- Mind 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------...
gpl-3.0
punisherbot/-
plugins/anti-flood.lua
281
2422
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 5 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
Fenix-XI/Fenix
scripts/globals/items/ice_brand.lua
41
1056
----------------------------------------- -- ID: 16937 -- Ice Brand -- Additional Effect: Ice Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------- func...
gpl-3.0
marcel-sch/luci
build/luadoc/luadoc/taglet/standard/tags.lua
46
5543
------------------------------------------------------------------------------- -- Handlers for several tags -- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $ ------------------------------------------------------------------------------- local luadoc = require "luadoc" local util = require "luadoc.util"...
apache-2.0
devFRIND/TAEMNEW
plugins/dev.lua
1
1094
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Bakury ▀▄ ▄▀ ▀▄ ▄▀ BY Bakury (@illOlli) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY Bakury ▀▄ ▄▀ ▀▄ ▄▀ dev1 : dev ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄...
gpl-2.0
maikerumine/extreme_survival_mini
mods/es/technodrem.lua
1
20058
--Extreme Survival created by maikerumine -- Minetest 0.4.13 mod: "Extreme Survival" -- namespace: es --https://github.com/maikerumine --License: --~~~~~~~~ --Code: --(c) Copyright 2015 maikerumine; modified zlib-License --see "LICENSE.txt" for details. --Media(if not stated differently): --(c) Copyright (2014-2015) ...
lgpl-2.1
Fenix-XI/Fenix
scripts/zones/Abyssea-Altepa/npcs/Cavernous_Maw.lua
29
1099
----------------------------------- -- Area: Abyssea Altepa -- NPC: Cavernous Maw -- @pos 444.000 -0.500 320.000 218 -- Notes Teleports Players to South Gustaberg ----------------------------------- package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil; ----------------------------------- ---------------------...
gpl-3.0
8devices/carambola2-luci
applications/luci-pbx/luasrc/model/cbi/pbx-google.lua
146
5490
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 ...
apache-2.0
eugeneia/snabbswitch
src/core/main.lua
3
8041
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(...,package.seeall) -- Default to not using any Lua code on the filesystem. -- (Can be overridden with -P argument: see below.) package.path = '' local STP = require("lib.lua.StackTracePlus") local ffi = require("ffi") local zone =...
apache-2.0
Fenix-XI/Fenix
scripts/zones/Rolanberry_Fields/Zone.lua
10
4860
----------------------------------- -- -- Zone: Rolanberry_Fields (110) -- ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Rolanberry_Fields/TextIDs"); require("scripts/globals/icanheararainbow"); require("s...
gpl-3.0
RockySeven3161/P_O_W_E_R_B_O_T
plugins/banhammer.lua
294
10470
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
DarkstarProject/darkstar
scripts/globals/mobskills/tachi_kasha.lua
11
1025
--------------------------------------------- -- Tachi: Kasha -- -- Description: Paralyzes target. Damage varies with TP. -- Type: Physical -- Shadow per hit -- Range: Melee --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Abyssea-Konschtat/npcs/Cruor_Prospector.lua
29
10716
----------------------------------- -- Area: Abyssea - Konschtat -- NPC: Cruor Prospector -- Type: Cruor NPC -- @pos 132.000,-75.856,-822.000 15 ----------------------------------- package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Abyssea-Konsch...
gpl-3.0
Giorox/AngelionOT-Repo
data/npc/scripts/Halvar.lua
4
2569
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, m...
gpl-3.0
Giorox/AngelionOT-Repo
data/actions/scripts/other/inq4.lua
1
2128
function onUse(cid, item, frompos, item2, topos) wall1 = {x=33241, y=31724, z=11, stackpos=1} wall2 = {x=33241, y=31725, z=11, stackpos=1} wall3 = {x=33241, y=31726, z=11, stackpos=1} wall4 = {x=33241, y=31727, z=11, stackpos=1} wall5 = {x=33241, y=31728, z=11, stackpos=1} wall6 = {x=33241, y=31729, z=11, stackpo...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Caedarva_Mire/mobs/Verdelet.lua
1
1098
----------------------------------- -- Area: Caedarva Mire -- NPC: Verdelet -- ID: 17101202 -- @pos 417 -19.3 -70 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInit...
gpl-3.0
trap000d/lain
layout/cascade.lua
7
5411
--[[ Licensed under GNU General Public License v2 * (c) 2014, projektile * (c) 2013, Luca CPZ * (c) 2010-2012, Peter Hofmann --]] local floor = math.floor local screen = screen local cascade = { name = "cascade", nmaster = 0, offset_x = 32, offset_y = 8, ti...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters_[S]/npcs/Khea_Mhyyih.lua
13
1066
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Khea Mhyyih -- Type: Standard NPC -- @zone: 94 -- @pos -53.927 -4.499 56.215 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/chocobo_mazurka.lua
27
1162
----------------------------------------- -- Spell: Chocobo Mazurka -- Gives party members enhanced movement ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(cas...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua
11
1530
----------------------------------------- -- ID: 5202 -- Item: Dish of Spaghetti Nero Di Seppia +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- HP % 17 (cap 140) -- Dexterity 3 -- Vitality 2 -- Agility -1 -- Mind -2 -- Charisma -1 -- Double Attack 1 -- Store TP 6 ---------------------...
gpl-3.0
ArchonTeam/MohammadNBG
plugins/ctrl.lua
1
2251
local function reload_plugins( ) plugins = {} return load_plugins() end function run_bash(command) local cmd = io.popen(command) local result = cmd:read('*all') cmd:close() return result end local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if...
gpl-2.0
DarkstarProject/darkstar
scripts/zones/Northern_San_dOria/npcs/Boncort.lua
9
1504
----------------------------------- -- Area: Northern San d'Oria -- NPC: Boncort -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs") require("scripts/globals/npc_util") require("scripts/globals/settings") require("scripts/globals/quests") require("scr...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/RuLude_Gardens/npcs/Dabih_Jajalioh.lua
12
1452
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Dabih Jajalioh -- Standard Merchant NPC -- TODO: Add support for occasional stock. ----------------------------------- local ID = require("scripts/zones/RuLude_Gardens/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end fun...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/mobskills/Stormwind.lua
30
2237
--------------------------------------------- -- Stormwind -- -- Description: Creates a whirlwind that deals Wind damage to targets in an area of effect. -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown radial -- Notes: --------------------------------------------- require("scripts/glob...
gpl-3.0
8devices/carambola2-luci
applications/luci-ahcp/luasrc/model/cbi/ahcp.lua
36
3895
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id: init.lua...
apache-2.0
DarkstarProject/darkstar
scripts/globals/mobskills/bomb_toss_suicide.lua
10
1104
--------------------------------------------------- -- Bomb Toss - Suicide -- Throws a bomb at an enemy. Sometimes backfires. --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") ------------------------------------...
gpl-3.0
U-MA/mal
lua/stepA_mal.lua
40
6064
#!/usr/bin/env lua local table = require('table') local readline = require('readline') local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local Env = require('env') local core = require('core') local List, Vector, HashMap = types.List, typ...
mpl-2.0
Fenix-XI/Fenix
scripts/zones/Port_San_dOria/npcs/Ambleon.lua
13
1061
----------------------------------- -- Area: Port San d'Oria -- NPC: Ambleon -- Type: NPC World Pass Dealer -- @zone: 232 -- @pos 71.622 -17 -137.134 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ---...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/La_Theine_Plateau/npcs/Chocobo_Tracks.lua
27
1348
----------------------------------- -- Area: La Theine Plateau -- NPC: Chocobo Tracks -- Involved in quest: Chocobo on the Loose! -- @pos -556 0 523 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/La_Th...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/RoMaeve/IDs.lua
6
3051
----------------------------------- -- Area: RoMaeve ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.ROMAEVE] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after sorti...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_Jeuno/npcs/Red_Ghost.lua
13
2080
----------------------------------- -- Area: Port Jeuno -- NPC: Red Ghost -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals/quests"); require("scrip...
gpl-3.0
jkprg/prosody-modules
mod_limits/mod_limits.lua
31
3206
-- mod_limits: Rate-limiting for Prosody -- Version: Alpha -- Author: Matthew Wild <mwild1@gmail.com> -- Because we deal we pre-authed sessions and streams we can't be host-specific module:set_global(); local filters = require "util.filters"; local throttle = require "util.throttle"; local timer = require "util.timer...
mit
DarkstarProject/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p2.lua
9
1724
----------------------------------- -- Area: Misareaux Coast -- NPC: Dilapidated Gate -- Entrance to Riverne Site #B01 -- !pos -259 -30 276 178 ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/Misareaux_Coast/IDs"); ----------------------------------- function...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Kazham/IDs.lua
9
2731
----------------------------------- -- Area: Kazham ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.KAZHAM] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after sortin...
gpl-3.0
jeiboor/nod32bot
plugins/setstick.lua
7
1261
local function tosticker(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'sticker.webp' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) send_document(get_receiver(msg), file, ok_cb, false) send_large_msg(receiver, ...
gpl-2.0