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
dalqak/slf
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
agpl-3.0
lichtl/darkstar
scripts/globals/weaponskills/heavy_swing.lua
25
1367
----------------------------------- -- Heavy Swing -- Staff weapon skill -- Skill Level: 5 -- Deacription:Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/summon.lua
10
9706
require("scripts/globals/common") require("scripts/globals/status") require("scripts/globals/msg") function getSummoningSkillOverCap(avatar) local summoner = avatar:getMaster() local summoningSkill = summoner:getSkillLevel(dsp.skill.SUMMONING_MAGIC) local maxSkill = summoner:getMaxSkillLevel(avatar:getMai...
gpl-3.0
thermofisherlsms/xcalibur-workbench
mdiNotebook.lua
1
9336
-- Copyright (c) 2016 Thermo Fisher Scientific -- -- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files -- (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, -- merge, ...
mit
RunAwayDSP/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Fire.lua
9
2176
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Fire -- Involved in Zilart Mission 7 -- !pos 199 -2 36 168 ------------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/z...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Bastok_Markets/npcs/Harmodios.lua
9
1815
----------------------------------- -- Area: Bastok Markets -- NPC: Harmodios -- Standard Merchant NPC -- !pos -79.928 -4.824 -135.114 235 ----------------------------------- local ID = require("scripts/zones/Bastok_Markets/IDs") require("scripts/globals/quests") require("scripts/globals/shop") function onTrigger(pla...
gpl-3.0
ld-test/lluv
examples/pipe_echo_srv.lua
4
1042
local uv = require "lluv" local function on_write(cli, err) if err then cli:close() if err:name() ~= "EOF" then print("************************************") print("ERROR: ", err) print("************************************") end return end end local function on_read(cli, err, ...
mit
RunAwayDSP/darkstar
scripts/globals/spells/bluemagic/jettatura.lua
12
1450
----------------------------------------- -- Spell: Jettatura -- Enemies within a fan-shaped area originating from the caster are frozen with fear -- Spell cost: 37 MP -- Monster Type: Birds -- Spell Type: Magical (Dark) -- Blue Magic Points: 4 -- Stat Bonus: MP+15 -- Level: 48 -- Casting Time: 0.5 seconds -- Recast Ti...
gpl-3.0
lichtl/darkstar
scripts/zones/AlTaieu/mobs/JoL_Qn_hpemde.lua
15
1512
----------------------------------- -- Area: Al'Taieu -- MOB: Qn'hpemde -- Jailor of Love Pet version ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) mob:AnimationSub(6); -- Mouth Closed end; --------------...
gpl-3.0
lichtl/darkstar
scripts/globals/items/dish_of_spaghetti_vongole_rosso_+1.lua
18
1650
----------------------------------------- -- ID: 5198 -- Item: Dish of Spaghetti Vongole Rosso +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health % 20 -- Health Cap 95 -- Vitality 2 -- Mind -1 -- Defense % 25 -- Defense Cap 35 -- Store TP 6 ----------------------------------------- ...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/cyclonic_torrent.lua
11
1102
--------------------------------------------- -- Cyclonic Torrent -- -- Description: Area of Effect damage plus Mute to those in range. -- Type: Enfeebling -- Utsusemi/Blink absorb: Wipes Shadows -- Range: 20' radial -- Notes: Only used by Urd, Verthandi, and Carabosse. -------------------------------------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Dangruf_Wadi/npcs/qm3.lua
9
2636
----------------------------------- -- NPC: ??? (QM3) -- Type: Saltvix (dice roll game part 1) -- !pos -367.367 2.999 229.020 191 -- Involved in quest "As Thick As Thieves" ----------------------------------- local ID = require("scripts/zones/Dangruf_Wadi/IDs") require("scripts/globals/npc_util") require("scripts/glob...
gpl-3.0
OctoEnigma/shiny-octo-system
lua/vgui/spawnicon.lua
1
7337
local PANEL = {} AccessorFunc( PANEL, "m_strModelName", "ModelName" ) AccessorFunc( PANEL, "m_iSkin", "SkinID" ) AccessorFunc( PANEL, "m_strBodyGroups", "BodyGroup" ) AccessorFunc( PANEL, "m_strIconName", "IconName" ) function PANEL:Init() self:SetDoubleClickingEnabled( false ) self:SetText( "" ) self.Icon = ...
mit
lichtl/darkstar
scripts/zones/Kazham/npcs/Vah_Keshura.lua
17
1073
----------------------------------- -- Area: Kazham -- NPC: Vah Keshura -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- fun...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/weaponskills/seraph_blade.lua
10
1346
----------------------------------- -- Seraph Blade -- Sword weapon skill -- Skill Level: 125 -- Deals light elemental damage to enemy. Damage varies with TP. -- Ignores shadows. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: Light -- Modifiers: STR:40% MND:40% -- 100%TP 200%TP 300%T...
gpl-3.0
amin1717/RivasBot
plugins/admin.lua
230
6382
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(rec...
gpl-2.0
lichtl/darkstar
scripts/zones/Aydeewa_Subterrane/mobs/Pandemonium_Warden.lua
12
11865
----------------------------------- -- Area: Aydeewa Subterrane -- ZNM: Pandemonium_Warden ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize Action ------------------------...
gpl-3.0
master00041/anti-self
plugins/silent_gp.lua
6
1276
do local function pre_process(msg) local hash = 'mate:'..msg.to.id if redis:get(hash) and msg.from.id and msg.to.type == 'channel' and not is_sudo(msg) then delete_msg(msg.id, ok_cb, false) return "silent all was locked" end return msg end local function run(...
gpl-2.0
DrYaling/eluna-trinitycore
src/server/scripts/Scripts-master/eluna_globals.lua
1
75340
--[[ 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> Eluna Globals Copyright (C) 2014 EmuDevs <http://www.emudevs.com/> --]] ----...
gpl-2.0
RunAwayDSP/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/mobs/Eoghrah.lua
9
2620
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- Mob: Eo'ghrah ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onMobSpawn(mob) -- Set core Skin and mob elemental resist/weakness; other elements set to 0. -- Set to non a...
gpl-3.0
lichtl/darkstar
scripts/zones/Misareaux_Coast/npcs/HomePoint#1.lua
18
1271
----------------------------------- -- Area: Misareaux Coast -- NPC: HomePoint#1 -- @pos -65 -17.5 563 25 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Misareaux_Coast/TextIDs"); require("scripts/globals/...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/sleep_bolt.lua
12
1175
----------------------------------------- -- ID: 18149 -- Item: Sleep Bolt -- Additional Effect: Sleep ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onAdditionalEffect(player...
gpl-3.0
lichtl/darkstar
scripts/zones/Palborough_Mines/npcs/Old_Toolbox.lua
17
1411
----------------------------------- -- Area: Palborough Mines -- NPC: Old Toolbox -- Continues Quest: The Eleventh's Hour ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
Gathros/algorithm-archive
contents/huffman_encoding/code/lua/huffman.lua
2
3078
local function frequency_array(str) -- Collect all frequency values into a dict local map = {} for c in str:gmatch(".") do -- Iterate over each character in str map[c] = (map[c] or 0) + 1 -- Increment map[c] (default 0) by 1 end -- We have a dict of frequencies but we want it in a sorted list -- Dump e...
mit
lichtl/darkstar
scripts/zones/Korroloka_Tunnel/npcs/qm2.lua
14
3352
----------------------------------- -- Area: Korroloka Tunnel -- NPC: ??? (qm2) -- Involved In Quest: Ayame and Kaede -- @pos -208 -9 176 173 ----------------------------------- package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/darkrp/gamemode/modules/money/sv_interface.lua
13
1964
DarkRP.PLAYER.addMoney = DarkRP.stub{ name = "addMoney", description = "Give money to a player.", parameters = { { name = "amount", description = "The amount of money to give to the player. A negative amount means you're substracting money.", type = "number", ...
mit
lichtl/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5c5.lua
14
2062
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Gate: Magical Gizmo -- Involved In Mission: The Horutoto Ruins Experiment -- @pos 419 0 -27 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
padrinoo/padrino15
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
RunAwayDSP/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua
9
1569
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Justinius -- Involved in mission : COP2-3 -- !pos 76 -34 68 26 ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); ----------------------------------- function onTrade(player,npc,trade) end;...
gpl-3.0
lichtl/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Romaa_Mihgo.lua
14
1060
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Romaa Mihgo -- Type: Standard NPC -- @zone 94 -- @pos -1.967 -3 -26.337 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----...
gpl-3.0
SendCroissant/ggut
game/dota_addons/barebones/scripts/vscripts/libraries/timers.lua
6
6434
TIMERS_VERSION = "1.03" --[[ -- A timer running every second that starts immediately on the next frame, respects pauses Timers:CreateTimer(function() print ("Hello. I'm running immediately and then every second thereafter.") return 1.0 end ) -- A timer which calls a function with a table cont...
apache-2.0
lichtl/darkstar
scripts/globals/spells/bio_iii.lua
26
2604
----------------------------------------- -- Spell: Bio III -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Bio III value per point is '30' This is a constant set in the ...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Dragons_Aery/mobs/Fafnir.lua
11
1693
----------------------------------- -- Area: Dragons Aery -- HNM: Fafnir ----------------------------------- local ID = require("scripts/zones/Dragons_Aery/IDs") mixins = {require("scripts/mixins/rage")} require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/titles") -----------...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Stellar_Fulcrum/Zone.lua
9
1365
----------------------------------- -- -- Zone: Stellar_Fulcrum -- ----------------------------------- local ID = require("scripts/zones/Stellar_Fulcrum/IDs") require("scripts/globals/conquest") require("scripts/globals/missions") ----------------------------------- function onInitialize(zone) zone:registerRegion...
gpl-3.0
taiha/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/df.lua
73
1370
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("DF Plugin Configuration"), translate( "The df plugin collects statistics about the disk space " .. "usage on different devices, mount points or file...
apache-2.0
lichtl/darkstar
scripts/zones/Port_Bastok/npcs/Agapito.lua
14
1947
----------------------------------- -- Area: Port Bastok -- NPC: Agapito -- Start & Finishes Quest: The Stars of Ifrit -- @zone 236 -- @pos -72.093 -3.097 9.309 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
punisherbot/he
plugins/Boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
sjznxd/lc-20130222
applications/luci-wshaper/luasrc/model/cbi/wshaper.lua
53
2056
--[[ LuCI - Lua Configuration Interface Copyright 2011 Manuel Munz <freifunk at somakoma dot de> 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 ]]-- r...
apache-2.0
RunAwayDSP/darkstar
scripts/zones/Waughroon_Shrine/bcnms/worms_turn.lua
9
1066
----------------------------------- -- The Worm's Turn -- Waughroon Shrine BCNM40, Star Orb -- !additem 1131 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function ...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/spells/kurayami_ni.lua
12
1357
----------------------------------------- -- Spell: Kurayami:Ni ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end funct...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/winterflower.lua
11
1056
----------------------------------------- -- ID: 5907 -- Item: Winterflower -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility +3 -- Intelligence +5 -- Charisma -5 -- Resist Virus +20 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/m...
gpl-3.0
lichtl/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Orias.lua
23
1532
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Marquis Orias ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngag...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/bowl_of_navarin.lua
11
1731
----------------------------------------- -- ID: 4439 -- Item: Bowl of Navarin -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 3 (cap 130) -- Strength 3 -- Agility 1 -- Vitality 1 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Evasion 5 -- Ranged ATT % 27 -- Ranged ATT Cap...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Windurst_Waters/npcs/Chomoro-Kyotoro.lua
9
1200
----------------------------------- -- Area: Windurst Waters -- NPC: Chomoro-Kyotoro -- Involved in Quest: Making the Grade -- !pos 133 -5 167 238 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); ---------------------------...
gpl-3.0
lichtl/darkstar
scripts/zones/Upper_Jeuno/npcs/Paya-Sabya.lua
14
1345
----------------------------------- -- Area: Upper Jeuno -- NPC: Paya-Sabya -- Involved in Mission: Magicite -- @zone 244 -- @pos 9 1 70 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0
lichtl/darkstar
scripts/zones/LaLoff_Amphitheater/Zone.lua
30
1744
----------------------------------- -- -- Zone: LaLoff_Amphitheater (180) -- ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/LaLoff_Amphitheater/TextIDs"); -----------...
gpl-3.0
lichtl/darkstar
scripts/globals/weaponskills/tachi_jinpu.lua
23
1422
----------------------------------- -- Tachi Jinpu -- Great Katana weapon skill -- Skill level: 150 -- Two-hit attack. Deals Physical and wind elemental damage to enemy. Additonal Effect Damage varies with TP. -- Will stack with Sneak Attack and Souleater. -- Aligned with the Breeze Gorget & Shadow Gorget. -- Aligned w...
gpl-3.0
wsmithril/awesome
luadoc/awesome.lua
2
2139
--- awesome core API -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008-2009 Julien Danjou module("awesome") --- awesome global table. -- @field version The version of awesome. -- @field release The release name of awesome. -- @field conffile The configuration file which has been loaded. -- @field ...
gpl-2.0
scscgit/scsc_wildstar_addons
BGChron/libs/PixiePlot/PixiePlot.lua
1
33878
----------------------------------------------------------------------------------------------------------------------- -- Plotter for WildStar. Supports line, stem, bar, scatter, polar, and parametric plots. -- Copyright (c) NCsoft. All rights reserved -- @author draftomatic -------------------------------------------...
mit
Benjarobbi/UzzBott
plugins/moderation.lua
2
6182
do local function modadd(msg) -- superuser and admins only (because sudo are always has privilege) if not is_admin(msg) then return "You're not admin" end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then return 'Group is already added.' end -- create dat...
gpl-2.0
lichtl/darkstar
scripts/zones/Nashmau/npcs/Kyokyoroon.lua
14
1755
----------------------------------- -- Area: Nashmau -- NPC: Kyokyoroon -- Standard Info NPC -- @pos 18.020 -6.000 10.467 53 ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/setting...
gpl-3.0
Benjarobbi/UzzBott
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
RunAwayDSP/darkstar
scripts/zones/Horlais_Peak/bcnms/rank_2_mission.lua
9
1630
----------------------------------- -- Rank 2 Final Mission -- Horlais Peak mission battlefield ----------------------------------- require("scripts/globals/battlefield") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/npc_util") ----------------------------------- func...
gpl-3.0
lichtl/darkstar
scripts/globals/items/serving_of_bavarois.lua
18
1192
----------------------------------------- -- ID: 5729 -- Item: serving_of_bavarois -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
taiha/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua
75
2451
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. if luci.http.formvalue("cbid.luci.1._list") then luci.http.redirect(luci.dispatcher.build_url("admin/system/flashops/backupfiles") .. "?display=list") elseif ...
apache-2.0
RunAwayDSP/darkstar
scripts/zones/Windurst_Woods/npcs/Ibwam.lua
9
4123
----------------------------------- -- Area: Windurst Woods -- NPC: Ibwam -- Type: Warp NPC -- !pos -25.655 1.749 -60.651 241 ----------------------------------- local ID = require("scripts/zones/Windurst_Woods/IDs") require("scripts/globals/teleports") require("scripts/globals/keyitems") require("scripts/globals/miss...
gpl-3.0
lichtl/darkstar
scripts/zones/Northern_San_dOria/npcs/Esqualea.lua
17
1452
----------------------------------- -- Area: Northern San d'Oria -- NPC: Esqualea -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/globals/...
gpl-3.0
lichtl/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm17.lua
14
1404
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm17 (???) -- Spawns Isgebind -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------...
gpl-3.0
lichtl/darkstar
scripts/globals/weaponskills/rudras_storm.lua
22
1737
----------------------------------- -- Rudra's Storm -- Dagger weapon skill -- Skill level: N/A -- Deals triple damage and weighs target down (duration: 60s). Damage varies with TP. -- Aligned with the Aqua Gorget, Snow Gorget & Shadow Gorget. -- Aligned with the Aqua Belt, Snow Belt & Shadow Belt. -- Element: None -- ...
gpl-3.0
lichtl/darkstar
scripts/globals/mobskills/Final_Retribution.lua
31
1048
--------------------------------------------- -- Final Retribution -- Family: Corse -- Description: Damages enemies in an area of effect. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1-3 shadows -- Range: Radial -- Notes: Only used by some notorious monsters like Xolotl. ------------------...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/terrortown/gamemode/init.lua
1
29345
---- Trouble in Terrorist Town AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") AddCSLuaFile("cl_hud.lua") AddCSLuaFile("cl_msgstack.lua") AddCSLuaFile("cl_hudpickup.lua") AddCSLuaFile("cl_keys.lua") AddCSLuaFile("cl_wepswitch.lua") AddCSLuaFile("cl_awards.lua") AddCSLuaFile("cl_scoring_events.lua") AddCSLuaFile...
mit
NiLuJe/koreader
frontend/ui/elements/menu_activate.lua
4
1859
local InfoMessage = require("ui/widget/infomessage") local UIManager = require("ui/uimanager") local _ = require("gettext") return { text = _("Activate menu"), sub_item_table = { { text = _("With a tap"), checked_func = function() return G_reader_settings:readSet...
agpl-3.0
teamactivebot/seed
plugins/stats.lua
79
4014
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
lichtl/darkstar
scripts/globals/items/bibikibo.lua
18
1308
----------------------------------------- -- ID: 4314 -- Item: Bibikibo -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/items/dish_of_homemade_carbonara.lua
11
1599
----------------------------------------- -- ID: 5706 -- Item: dish_of_homemade_carbonara -- Food Effect: 30Min, All Races ----------------------------------------- -- CHR +1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) -------------------------------...
gpl-3.0
lichtl/darkstar
scripts/globals/mobskills/Crosswind.lua
35
1039
--------------------------------------------- -- 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
RunAwayDSP/darkstar
scripts/globals/mobskills/tachi_yukikaze.lua
11
1087
--------------------------------------------- -- Tachi: Yukikaze -- -- Description: Blinds 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
lichtl/darkstar
scripts/zones/Cloister_of_Storms/Zone.lua
30
1738
----------------------------------- -- -- Zone: Cloister_of_Storms (202) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Storms/TextIDs"); --------------...
gpl-3.0
master00041/anti-self
bot/utils.lua
473
24167
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
yariplus/love-demos
love-slider/Clickables.lua
1
1081
-- A clickable area of an entity. local Clickable = {} Clickable.x = 0 Clickable.y = 0 Clickable.w = 64 Clickable.h = 64 Clickable.click = function() end function Clickable:new(o) o = o or {} setmetatable(o, {__index = self}) return o end -- A collection of clickable areas for an entity. local Clickables = {} fu...
cc0-1.0
teamactivebot/seed
plugins/supergroup.lua
2
97791
--Begin supergrpup.lua --Check members #Add supergroup local function check_member_super(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg if success == 0 then send_large_msg(receiver, "Promote me to admin first!") end for k,v in pairs(result)...
gpl-2.0
lichtl/darkstar
scripts/zones/Abyssea-Grauberg/Zone.lua
33
1488
----------------------------------- -- -- Zone: Abyssea - Grauberg -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-Grauberg...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/effects/tabula_rasa.lua
12
3502
----------------------------------- -- -- -- ----------------------------------- function onEffectGain(target,effect) local regen = effect:getSubPower() local helix = effect:getPower() if (target:hasStatusEffect(dsp.effect.LIGHT_ARTS) or target:hasStatusEffect(dsp.effect.ADDENDUM_WHITE)) then targ...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/West_Ronfaure/IDs.lua
8
3945
----------------------------------- -- Area: West_Ronfaure ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.WEST_RONFAURE] = { text = { ITEM_CANNOT_BE_OBTAINED = 6404, -- You cannot obtain the <item>. Come back...
gpl-3.0
lichtl/darkstar
scripts/zones/Port_Jeuno/npcs/Challoux.lua
17
1132
----------------------------------- -- Area: Port Jeuno -- NPC: Challoux -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade A...
gpl-3.0
lichtl/darkstar
scripts/zones/Abyssea-Vunkerl/npcs/qm11.lua
14
1345
----------------------------------- -- Zone: Abyssea-Vunkerl -- NPC: qm11 (???) -- Spawns Pascerpot -- @pos ? ? ? 217 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Norg/npcs/_700.lua
9
2624
----------------------------------- -- Area: Norg -- NPC: Oaken door (Gilgamesh's room) -- !pos 97 -7 -12 252 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/settings"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(pl...
gpl-3.0
lichtl/darkstar
scripts/globals/items/kalamar.lua
18
1307
----------------------------------------- -- ID: 5448 -- Item: Kalamar -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
lichtl/darkstar
scripts/zones/Valkurm_Dunes/npcs/Fighting_Ant_IM.lua
14
3326
----------------------------------- -- Area: Valkurm Dunes -- NPC: Fighting Ant, I.M. -- Border Conquest Guards -- @pos 908.245 -1.171 -411.504 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); ...
gpl-3.0
taiha/luci
modules/luci-base/luasrc/model/network.lua
4
36490
-- Copyright 2009-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local type, next, pairs, ipairs, loadfile, table, select = type, next, pairs, ipairs, loadfile, table, select local tonumber, tostring, math = tonumber, tostring, math local require = require local nxo ...
apache-2.0
RunAwayDSP/darkstar
scripts/globals/items/galette_des_rois.lua
11
1198
----------------------------------------- -- ID: 5875 -- Item: Galette Des Rois -- Food Effect: 180 Min, All Races ----------------------------------------- -- HP +8 -- MP +3% (cap13) -- Intelligence +2 -- Random Jewel ----------------------------------------- require("scripts/globals/status") require("scripts/globals/...
gpl-3.0
Startg/permag
plugins/lock-fosh.lua
24
2263
local function pre_process(msg) local chkfosh = redis:hget('settings:fosh',msg.chat_id_) if not chkfosh then redis:hset('settings:fosh',msg.chat_id_,'off') end end local function run(msg, matches) --Commands --دستورات فعال و غیرفعال کردن فحش if matches[1]:lower() == 'unlock' then if matches[2]:lower() == 'fo...
gpl-3.0
ld-test/phpass
src/phpass.lua
3
2740
-- lua-phpass, Lua implementation of the portable -- PHP password hashing framework -- Copyright (C) 2015 Boris Nagaev -- See the LICENSE file for terms of use. local phpass = {} -- Encoding. Not base64! local itoa64_ = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' .. 'abcdefghijklmnopqrstuvwxyz' local function itoa...
mit
arpanpal010/awesome
obvious/io/init.lua
1
2063
----------------------------------- -- Author: Uli Schlachter -- -- Copyright 2009 Uli Schlachter -- ----------------------------------- local io = io local setmetatable = setmetatable local tonumber = tonumber local pairs = pairs local lib = { widget = require("obvious.lib.widget") } module("obvious.io") l...
mit
RunAwayDSP/darkstar
scripts/globals/spells/bluemagic/cimicine_discharge.lua
12
1471
----------------------------------------- -- Spell: Cimicine Discharge -- Reduces the attack speed of enemies within range -- Spell cost: 32 MP -- Monster Type: Vermin -- Spell Type: Magical (Earth) -- Blue Magic Points: 3 -- Stat Bonus: DEX+1, AGI+2 -- Level: 78 -- Casting Time: 3 seconds -- Recast Time: 20 seconds --...
gpl-3.0
lichtl/darkstar
scripts/zones/Metalworks/npcs/Fariel.lua
15
2148
----------------------------------- -- Area: Metalworks -- NPC: Fariel -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); require("scripts/globals/pathfind"); local p...
gpl-3.0
lichtl/darkstar
scripts/zones/Temple_of_Uggalepih/mobs/Manipulator.lua
17
2255
---------------------------------- -- Area: Temple of Uggalipeh -- NM: Manipulator -- Notes: Paths around the 2 staircases ----------------------------------- local path = { -17.930, -8.500, -93.215, -18.553, -7.713, -91.224, -20.226, -6.250, -89.091, -21.651, -5.005, -87.401, -23.137, -3.917, ...
gpl-3.0
Benjarobbi/UzzBott
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
RunAwayDSP/darkstar
scripts/zones/Gustav_Tunnel/npcs/qm2.lua
9
1354
----------------------------------- -- Area: Gustav tunnel -- NPC: qm2 (???) -- Note: Part of mission "The Salt of the Earth" -- !pos -130 1.256 252.696 212 ----------------------------------- local ID = require("scripts/zones/Gustav_Tunnel/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/missions"...
gpl-3.0
lichtl/darkstar
scripts/zones/Norg/TextIDs.lua
7
2337
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6406; -- Obtained: <item>. GIL_OBTAINED = 6407; -- Obtained <number> gil. KEYITEM_OBTAINED = 6409; -- Obtai...
gpl-3.0
lichtl/darkstar
scripts/globals/weaponskills/gust_slash.lua
23
1283
----------------------------------- -- Gust Slash -- Dagger weapon skill -- Skill level: 40 -- Deals wind elemental damage. Damage varies with TP. -- Will not stack with Sneak Attack. -- Aligned with the Breeze Gorget. -- Aligned with the Breeze Belt. -- Element: Wind -- Modifiers: DEX:20% ; INT:20% -- 100%TP 200%TP...
gpl-3.0
lichtl/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm4.lua
14
1031
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm4 (???) -- Notes: Opens west door @ J-9 -- @pos 92.542 -25.907 26.548 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ...
gpl-3.0
lichtl/darkstar
scripts/zones/Castle_Zvahl_Keep/Zone.lua
19
3875
----------------------------------- -- -- Zone: Castle_Zvahl_Keep (162) -- ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep/TextIDs"); -----------------...
gpl-3.0
RunAwayDSP/darkstar
scripts/globals/mobskills/enervation.lua
12
1332
--------------------------------------------- -- Enervation -- -- Description: Lowers the defense and magical defense of enemies within range. -- Type: Magical (Dark) --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/stat...
gpl-3.0
we20/ping
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
lichtl/darkstar
scripts/zones/Sacrarium/Zone.lua
19
3611
----------------------------------- -- -- Zone: Sacrarium (28) -- ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); require("scripts/zones/Sacrarium/TextIDs"); -------...
gpl-3.0
RunAwayDSP/darkstar
scripts/zones/Yhoator_Jungle/npcs/qm3.lua
6
1078
----------------------------------- -- Area: Yhoator Jungle -- NPC: ??? (qm3) -- Involved in Quest: True will -- !pos 203 0.1 82 124 ----------------------------------- local ID = require("scripts/zones/Yhoator_Jungle/IDs") require("scripts/globals/keyitems") require("scripts/globals/npc_util") require("scripts/global...
gpl-3.0
OctoEnigma/shiny-octo-system
gamemodes/base/entities/entities/base_entity/outputs.lua
2
2376
-- This is called from ENT:KeyValue(key,value) to store the output from -- the map, it could also be called from ENT:AcceptInput I think, so if -- ent_fire addoutput is used, we can store that too (that hasn't been -- tested though). -- Usage: self:StoreOutput("<name of output>","<entities to fire>,<input name>,<param...
mit
RunAwayDSP/darkstar
scripts/zones/Temenos/mobs/Temenos_Aern.lua
9
1920
----------------------------------- -- Area: Temenos -- Mob: Temenos Aern ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- function onMobDeath(mob, player, isKiller) local mobID = mob:getID(); local mobX = mob:getXPos(); local mobY = mob:getYPos(); ...
gpl-3.0
lichtl/darkstar
scripts/globals/items/wild_pineapple.lua
18
1180
----------------------------------------- -- ID: 4598 -- Item: wild_pineapple -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -5 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0