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 |
|---|---|---|---|---|---|
OctoEnigma/shiny-octo-system | addons/advdupe2-master/lua/advdupe2/sv_file.lua | 1 | 2918 | --[[
Title: Adv. Dupe 2 Filing Clerk (Serverside)
Desc: Reads/writes AdvDupe2 files.
Author: AD2 Team
Version: 1.0
]]
file.CreateDir("advdupe2")
local PlayerMeta = FindMetaTable("Player")
function PlayerMeta:SteamIDSafe()
return self:SteamID():gsub(":","_")
end
--[[
Name: WriteAdvDupe2File
Desc: Writes ... | mit |
RunAwayDSP/darkstar | scripts/globals/abilities/curing_waltz_iv.lua | 12 | 2467 | -----------------------------------
-- Ability: Curing Waltz IV
-- Heals HP to target player.
-- Obtained: Dancer Level 70
-- TP Required: 65%
-- Recast Time: 00:17
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/msg")
------------------... | gpl-3.0 |
KSDaemon/lua-websockets | src/websocket/sync.lua | 3 | 5386 | local frame = require'websocket.frame'
local handshake = require'websocket.handshake'
local tools = require'websocket.tools'
local ssl = require'ssl'
local tinsert = table.insert
local tconcat = table.concat
local receive = function(self)
if self.state ~= 'OPEN' and not self.is_closing then
return nil,nil,false,... | mit |
taiha/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua | 53 | 2738 | -- 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("Network Plugin Configuration"),
translate(
"The network plugin provides network based communication between " ..
"different collectd instances. Coll... | apache-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/fadmin/playeractions/voicemute/cl_init.lua | 10 | 3196 | hook.Add("PlayerBindPress", "FAdmin_voicemuted", function(ply, bind, pressed)
if ply:FAdmin_GetGlobal("FAdmin_voicemuted") and string.find(string.lower(bind), "voicerecord") then return true end
-- The voice muting is not done clientside, this is just so people know they can't talk
end)
FAdmin.StartHooks["Voic... | mit |
RunAwayDSP/darkstar | scripts/globals/abilities/pets/attachments/tension_spring_iii.lua | 11 | 1329 | -----------------------------------
-- Attachment: Tension Spring III
-----------------------------------
require("scripts/globals/automaton")
require("scripts/globals/status")
-----------------------------------
function onEquip(pet)
onUpdate(pet, 0)
end
function onUnequip(pet)
updateModPerformance(pet, dsp.... | gpl-3.0 |
DrYaling/eluna-trinitycore | src/server/scripts/Scripts-master/Extensions/ObjectCooldownExtension.lua | 1 | 1093 | local cooldowns = {};
function Player:SetLuaCooldown(seconds, opt_id)
assert(type(self) == "userdata");
seconds = assert(tonumber(seconds));
opt_id = opt_id or 1;
local guid, source = self:GetGUIDLow(), debug.getinfo(2, 'S').short_src;
if (not cooldowns[guid]) then
cooldowns[guid] = { [source] = {}; };
end
... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Port_Jeuno/npcs/Horst.lua | 29 | 3441 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Horst
-- Type: Abyssea Warp NPC
-- @pos -54.379 0.001 -10.061 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Jugner_Forest/npcs/Signpost.lua | 17 | 2835 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Signpost
-- Involved in Quest: Grimy Signposts
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Dynamis-Tavnazia/IDs.lua | 9 | 4410 | -----------------------------------
-- Area: Dynamis-Tavnazia
-----------------------------------
require("scripts/globals/keyitems")
require("scripts/globals/dynamis")
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.DYNAMIS_TAVNAZIA] =
{
text =
{
... | gpl-3.0 |
scscgit/scsc_wildstar_addons | NoisyQ/NoisyQ.lua | 1 | 7013 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for NoisyQ
-- Created by boe2. For questions/comments, mail me at apollo@boe2.be
-----------------------------------------------------------------------------------------------
require "Window"
require "... | mit |
OctoEnigma/shiny-octo-system | lua/vgui/dnumslider.lua | 1 | 5287 |
local PANEL = {}
function PANEL:Init()
self.TextArea = self:Add( "DTextEntry" )
self.TextArea:Dock( RIGHT )
self.TextArea:SetPaintBackground( false )
self.TextArea:SetWide( 45 )
self.TextArea:SetNumeric( true )
self.TextArea.OnChange = function( textarea, val ) self:SetValue( self.TextArea:GetText() ) end
-- ... | mit |
RunAwayDSP/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Knuckles.lua | 9 | 1185 | -----------------------------------
-- Area: Dynamis - Xarcabard
-- Mob: Animated Knuckles
-----------------------------------
require("scripts/globals/status");
local ID = require("scripts/zones/Dynamis-Xarcabard/IDs");
-----------------------------------
function onMobEngaged(mob,target)
if (mob:AnimationSub()... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Bearclaw_Pinnacle/bcnms/flames_for_the_dead.lua | 9 | 1404 | -----------------------------------
-- Flames for the Dead
-- Bearclaw Pinnacle mission battlefield
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/missions")
-----------------------------------
function onBattlefieldTick(battlefield, tick)
dsp.battlefield.onBatt... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/fadmin/messaging/cl_init.lua | 7 | 5817 | local showChat = CreateClientConVar("FAdmin_ShowChatNotifications", 1, true, false)
local HUDNote_c = 0
local HUDNote_i = 1
local HUDNotes = {}
--Notify ripped off the Sandbox notify, changed to my likings
function FAdmin.Messages.AddMessage(MsgType, Message)
local tab = {}
tab.text = Message
tab.recv ... | mit |
lichtl/darkstar | scripts/globals/items/bowl_of_ulbuconut_milk_+1.lua | 18 | 1195 | -----------------------------------------
-- ID: 5977
-- Item: Bowl of Ulbuconut Milk +1
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Charisma +4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/beluga.lua | 12 | 1066 | -----------------------------------------
-- ID: Beluga
-- Beluga
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player,target,da... | gpl-3.0 |
ShahriyarB/Warcraft-Lua-Engine-2 | luasocket-master/test/testmesg.lua | 45 | 2957 | -- load the smtp support and its friends
local smtp = require("socket.smtp")
local mime = require("mime")
local ltn12 = require("ltn12")
function filter(s)
if s then io.write(s) end
return s
end
source = smtp.message {
headers = { ['content-type'] = 'multipart/alternative' },
body = {
[1] = {
... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/blade_to.lua | 10 | 1417 | -----------------------------------
-- Blade To
-- Katana weapon skill
-- Skill Level: 100
-- Deals ice elemental damage. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% INT:30%
-- 100%TP 200%TP 300%TP
-- 0... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_San_dOria/npcs/Portaure.lua | 9 | 1160 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Portaure
-- Standard Info NPC
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs");
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,trade)
if (player:getQue... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/bowl_of_goulash.lua | 11 | 1252 | -----------------------------------------
-- ID: 5750
-- Item: bowl_of_goulash
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- VIT +3
-- INT -2
-- Accuracy +10% (cap 54)
-- DEF +10% (cap 30)
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/weaponskills/avalanche_axe.lua | 10 | 1392 | -----------------------------------
-- Avalanche Axe
-- Axe weapon skill
-- Skill level: 100
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- ... | gpl-3.0 |
mertaytore/koding | go/src/vendor/github.com/caglar10ur/lxc/src/lxc/lxc-top.lua | 62 | 7453 | #!/usr/bin/env lua
--
-- top(1) like monitor for lxc containers
--
-- Copyright © 2012 Oracle.
--
-- Authors:
-- Dwight Engen <dwight.engen@oracle.com>
--
-- This library is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License version 2, as
-- published by the Fre... | agpl-3.0 |
lichtl/darkstar | scripts/zones/RaKaznar_Inner_Court/Zone.lua | 33 | 1290 | -----------------------------------
--
-- Zone: Ra’Kanzar Inner Court (276)
--
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Inner_Court/TextIDs");
-------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | lua/vgui/dcolorbutton.lua | 1 | 1552 |
local PANEL = {}
local matGrid = Material( "gui/alpha_grid.png", "nocull" )
AccessorFunc( PANEL, "m_bBorder", "DrawBorder", FORCE_BOOL )
AccessorFunc( PANEL, "m_bSelected", "Selected", FORCE_BOOL )
AccessorFunc( PANEL, "m_Color", "Color" )
AccessorFunc( PANEL, "m_PanelID", "ID" )
function PANEL:Init()
self:SetSi... | mit |
lichtl/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Travonce.lua | 14 | 1060 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Travonce
-- Type: Standard NPC
-- @zone 26
-- @pos -89.068 -14.367 -0.030
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
----... | gpl-3.0 |
grehujt/RestfulApiServer | ngx/lua/handle_tables.lua | 1 | 2173 |
local lbs = lbs
local find = string.find
local method = ngx.req.get_method()
if method == "GET" then
local getArgs = ngx.ctx.qs
if getArgs==nil then
getArgs = ngx.req.get_uri_args()
end
local proj = "*"
if getArgs.proj then
proj = getArgs.proj
if find(proj," ") then
... | mit |
lichtl/darkstar | scripts/zones/Port_Bastok/npcs/Numa.lua | 17 | 1786 | -----------------------------------
-- Area: Port Bastok
-- NPC: Numa
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Crawlers_Nest/npcs/qm10.lua | 57 | 2127 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm10 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- @pos -83.391 -8.222 79.065 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
lichtl/darkstar | scripts/zones/PsoXja/npcs/_09a.lua | 14 | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09a (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 261.600 -1.925 -50.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Selbina/npcs/Gabwaleid.lua | 14 | 1534 | -----------------------------------
-- Area: Selbina
-- NPC: Gabwaleid
-- Involved in Quest: Riding on the Clouds
-- @pos -17 -7 11 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scrip... | gpl-3.0 |
lichtl/darkstar | scripts/globals/mobskills/Calcifying_Deluge.lua | 18 | 1056 | ---------------------------------------------
-- Calcifying Deluge
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
----------------------... | gpl-3.0 |
PUMpITapp/getsmart | src/gfx.lua | 2 | 2294 | local gfx = {}
--------------------------------------------------------------------------------
--- Surface Class
--------------------------------------------------------------------------------
Surface = {}
function Surface:new(w, h)
o = { cref=surface_new(w, h) }
self.__index = self
return setmetatable(o, se... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Arrapago_Reef/npcs/_1ie.lua | 12 | 2591 | -----------------------------------
-- Area: Arrapago Reef
-- Door: Iron Gate (Lamian Fang Key)
-- !pos 580 -17 120
-----------------------------------
local ID = require("scripts/zones/Arrapago_Reef/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/status")
-----------------------------------
functio... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Excaliace.lua | 30 | 4512 | -----------------------------------
-- Area: Periqia
-- NPC: Excaliace
-----------------------------------
require("scripts/zones/Periqia/IDs");
require("scripts/globals/pathfind");
local start = {-322,-16.5,380};
local startToChoice1 = {
-320.349548, -16.046591, 379.684570
-318.312317, -16.046591, 379.5798... | gpl-3.0 |
omid1212/avint | plugins/groupmanager.lua | 3 | 11505 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "Hi\nI Don't Create Groups!\n For Creating Group You Have To Pay 2000 Tomans\nEACH MONTH\nThe Smart Bot I... | gpl-2.0 |
lichtl/darkstar | scripts/zones/RuLude_Gardens/npcs/Tillecoe.lua | 14 | 1050 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Tillecoe
-- Type: Standard NPC
-- @zone 243
-- @pos 38.528 -0.997 -6.363
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
--------------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/roll_of_sylvan_excursion.lua | 18 | 1574 | -----------------------------------------
-- ID: 5551
-- Item: Roll of Sylvan Excursion
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +3% Cap 15
-- Intelligence +3
-- HP Recovered while healing +2
-- MP Recovered while healing +5
-----------------------... | gpl-3.0 |
NiLuJe/koreader | frontend/ui/widget/pathchooser.lua | 4 | 6442 | local BD = require("ui/bidi")
local ButtonDialog = require("ui/widget/buttondialog")
local ButtonDialogTitle = require("ui/widget/buttondialogtitle")
local Device = require("device")
local Event = require("ui/event")
local FileChooser = require("ui/widget/filechooser")
local UIManager = require("ui/uimanager")
local ff... | agpl-3.0 |
lichtl/darkstar | scripts/zones/Norg/npcs/Achika.lua | 14 | 1299 | -----------------------------------
-- Area: Norg
-- NPC: Achika
-- Type: Tenshodo Merchant
-- @pos 1.300 0.000 19.259 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");... | gpl-3.0 |
sdkbox/sdkbox-facebook-sample-v2 | samples/Lua/TestLua/Resources/luaScript/TouchesTest/TouchesTest.lua | 6 | 3339 | require "luaScript/testResource"
require "luaScript/TouchesTest/Ball"
require "luaScript/TouchesTest/Paddle"
require "luaScript/VisibleRect"
local kHighPlayer = 0
local kLowPlayer = 1
local kStatusBarHeight = 0.0
local kSpriteTag = 0
local m_ball = nil
local m_ballStartingVelocity = nil
local m_paddles = {}
local ... | mit |
lichtl/darkstar | scripts/zones/Lower_Jeuno/npcs/_l10.lua | 7 | 1569 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -19 0 -4.625
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
ld-test/loop | lua/precompiler.lua | 6 | 6255 | #!/usr/bin/env lua
--------------------------------------------------------------------------------
-- @script Lua Script Pre-Compiler
-- @version 1.1
-- @author Renato Maia <maia@tecgraf.puc-rio.br>
--
local assert = assert
local error = error
local ipairs = ipairs
local loadfile = loadfile
local pairs = ... | mit |
lichtl/darkstar | scripts/zones/Throne_Room/mobs/Shadow_Lord.lua | 23 | 5454 | -----------------------------------
-- Area: Throne Room
-- MOB: Shadow Lord
-- Mission 5-2 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMob... | gpl-3.0 |
NiLuJe/koreader | frontend/device/sdl/device.lua | 3 | 14342 | local Event = require("ui/event")
local Generic = require("device/generic/device")
local SDL = require("ffi/SDL2_0")
local ffi = require("ffi")
local logger = require("logger")
local time = require("ui/time")
-- SDL computes WM_CLASS on X11/Wayland based on process's binary name.
-- Some desktop environments rely on W... | agpl-3.0 |
ryuslash/avandu-lua | spec/helpers.lua | 1 | 3386 | local avandu = require 'avandu'
local https = require 'ssl.https'
local posix = require 'posix'
local helpers = {}
function helpers.yes () return true end
function helpers.no () return false end
function helpers.goreadable () return 'rw-rw-rw-' end
function helpers.ureadable () return 'rw-------' end
function helper... | gpl-3.0 |
taiha/luci | protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua | 18 | 2363 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local netmod = luci.model.network
local _, p
for _, p in ipairs({"ppp", "pptp", "pppoe", "pppoa", "3g", "l2tp", "pppossh"}) do
local proto = netmod:register_protocol(p)
function proto.get_i18n(self)
if p ... | apache-2.0 |
RunAwayDSP/darkstar | scripts/zones/Horlais_Peak/bcnms/under_observation.lua | 9 | 1064 | -----------------------------------
-- Under Observation
-- Horlais Peak BCNM40, Star Orb
-- !additem 1131
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function on... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Torino-Samarino.lua | 9 | 2648 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Torino-Samarino
-- Type: Quest NPC
-- Involved in Quests: Curses, Foiled A-Golem!?, Tuning Out
-- !pos 105 -20 140 111
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
local ID = requi... | gpl-3.0 |
punisherbot/he | plugins/Gp_Moderator.lua | 4 | 11328 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "Only Global admins can use it!"
end
local group_creator = msg.from.print_name
create_group_c... | gpl-2.0 |
lichtl/darkstar | scripts/globals/items/piece_of_witch_nougat.lua | 18 | 1272 | -----------------------------------------
-- ID: 5645
-- Item: piece_of_witch_nougat
-- Food Effect: 1hour, All Races
-----------------------------------------
-- HP 50
-- Intelligence 3
-- Agility -3
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/wild_steak.lua | 18 | 1371 | -----------------------------------------
-- ID: 4519
-- Item: wild_steak
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 4
-- Intelligence -2
-- Attack % 25
-- Attack Cap 50
-----------------------------------------
require("scripts/globals/status");
--------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Beadeaux/npcs/_43b.lua | 11 | 1312 | -----------------------------------
-- Area: Beadeaux
-- NPC: Jail Door
-- Involved in Quests: The Rescue
-- !pos 56 0.1 -23 147
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/globals/keyitems");
local ID = require("scripts/zones/Beadeaux/ID... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/rock_crusher.lua | 23 | 1258 | -----------------------------------
-- Rock Crusher
-- Staff weapon skill
-- Skill Level: 40
-- Delivers an earth elemental attack. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: Earth
-- Modifiers: STR:40% ; INT:40%
-- 100%TP 200%TP 300%TP
-- 1.00 2.... | gpl-3.0 |
scscgit/scsc_wildstar_addons | LUI_Holdem/libs/LibJSON/LibJSON-2.5.lua | 13 | 18391 | --[==[
David Kolf's JSON module for Lua 5.1/5.2
Version 2.5
For the documentation see the corresponding readme.txt or visit
<http://dkolf.de/src/dkjson-lua.fsl/>.
You can contact the author by sending an e-mail to 'david' at the
domain 'dkolf.de'.
Copyright (C) 2010-2013 David Heiko Kolf
Permission is hereby gr... | mit |
RunAwayDSP/darkstar | scripts/globals/items/slice_of_ziz_meat.lua | 11 | 1070 | -----------------------------------------
-- ID: 5581
-- Item: Slice of Ziz Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- Strength +4
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
----------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_San_dOria/npcs/Vounebariont.lua | 11 | 1647 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Vounebariont
-- Starts and Finishes Quest: Thick Shells
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/quests");
local ID = require("scripts/zones/Port_San_dOria/ID... | gpl-3.0 |
scscgit/scsc_wildstar_addons | Threat/Modules/List.lua | 1 | 11591 | require "Apollo"
require "GameLib"
require "GroupLib"
local Threat = Apollo.GetPackage("Gemini:Addon-1.1").tPackage:GetAddon("Threat")
local List = Threat:NewModule("List")
List.nBarSlots = 0
List.bInPreview = false
--[[ Initial functions ]]--
function List:OnInitialize()
self.oXml = XmlDoc.CreateFromFile("Forms/L... | mit |
we20/ping | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
lichtl/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_1.lua | 17 | 1165 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/valor_minuet_iii.lua | 10 | 1567 | -----------------------------------------
-- Spell: Valor Minuet III
-- Grants Attack bonus to all allies.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Northern_San_dOria/npcs/Vichuel.lua | 11 | 1281 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Vichuel
-- Only sells when San d'Oria controlls Fauregandi Region
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs")
require("scripts/globals/events/harvest_festivals")
require("scripts/gl... | gpl-3.0 |
pandoc-scholar/pandoc-scholar | lua-filters/section-refs/section-refs.lua | 1 | 4012 | -- pandoc.utils.make_sections exists since pandoc 2.8
if PANDOC_VERSION == nil then -- if pandoc_version < 2.1
error("ERROR: pandoc >= 2.1 required for section-refs filter")
else
PANDOC_VERSION:must_be_at_least {2,8}
end
local utils = require 'pandoc.utils'
local run_json_filter = utils.run_json_filter
--- The do... | gpl-2.0 |
scscgit/scsc_wildstar_addons | Interruptor/Libs/GeminiAddon.lua | 5 | 25272 | --- GeminiAddon-1.1
-- Formerly DaiAddon
-- Inspired by AceAddon
-- Modules and packages embeds are based heavily on AceAddon's functionally, so credit goes their authors.
--
-- Allows the addon to have modules
-- Allows for packages to be embedded (if supported) into the addon and it's modules
--
-- The core callbacks... | mit |
arpanpal010/awesome | obvious/lib/widget/graph.lua | 1 | 1397 | -----------------------------------
-- Author: Uli Schlachter --
-- Copyright 2009 Uli Schlachter --
-----------------------------------
local beautiful = require("beautiful")
local awful = {
widget = require("awful.widget")
}
local setmetatable = setmetatable
module("obvious.lib.widget.graph")
function gra... | mit |
RunAwayDSP/darkstar | scripts/globals/abilities/fighters_roll.lua | 12 | 2893 | -----------------------------------
-- Ability: Fighter's Roll
-- Improves "Double Attack" rate for party members within area of effect
-- Optimal Job: Warrior
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 49
-- Phantom Roll +1 Value: 1
--
-- Die Roll |No WAR |With WAR
-- -------- -------- -----------
-- 1 ... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/armys_paeon_iii.lua | 12 | 1374 | -----------------------------------------
-- Spell: Army's Paeon III
-- Gradually restores target's HP.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/blind.lua | 20 | 1377 | -----------------------------------------
-- Spell: Blind
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/QuBia_Arena/bcnms/die_by_the_sword.lua | 9 | 1062 | -----------------------------------
-- Die by the Sword
-- Qu'Bia Arena BCNM30, Sky Orb
-- !additem 1552
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
end
function onBa... | gpl-3.0 |
taiha/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-app.lua | 22 | 15547 | cbimap = Map("asterisk", "asterisk", "")
module = cbimap:section(TypedSection, "module", "Modules", "")
module.anonymous = true
app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "")
app_alarmreceiver:value("yes", "Load")
app_alarmreceiver:value("no", "Do Not Load")
app_al... | apache-2.0 |
scscgit/scsc_wildstar_addons | RaidCore/RaidCore_GUI.lua | 1 | 24117 | ----------------------------------------------------------------------------------------------------
-- Client Lua Script for RaidCore Addon on WildStar Game.
--
-- Copyright (C) 2015 RaidCore
----------------------------------------------------------------------------------------------------
--------------------------... | mit |
lichtl/darkstar | scripts/zones/Abyssea-Altepa/npcs/qm11.lua | 14 | 1541 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: qm11 (???)
-- Spawns Rani
-- @pos ? ? ? 218
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
funct... | gpl-3.0 |
GPUOpen-Effects/ShadowFX | amd_lib/shared/d3d11/premake/premake5.lua | 1 | 2372 | dofile ("../../../../premake/amd_premake_util.lua")
workspace "AMD_LIB"
configurations { "Debug", "Release", "Release_MT" }
platforms { "Win32", "x64" }
location "../build"
filename ("AMD_LIB" .. _AMD_VS_SUFFIX)
startproject "AMD_LIB"
filter "platforms:Win32"
system "Windows"
architectur... | mit |
lichtl/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Treasure_Coffer.lua | 13 | 4653 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Treasure Coffer
-- @zone 159
-- @pos -219 0 32
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/frazzle.lua | 12 | 1626 | -----------------------------------------
-- Spell: Frazzle
-----------------------------------------
require("scripts/globals/magic")
require("scripts/globals/msg")
require("scripts/globals/status")
require("scripts/globals/utils")
-----------------------------------------
function onMagicCastingCheck(caster, target,... | gpl-3.0 |
april-org/parxe | test/generic_test.lua | 1 | 3841 | --[[
PARalel eXecution Engine (PARXE) for APRIL-ANN
Copyright (C) 2015 Francisco Zamora-Martinez
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 y... | gpl-3.0 |
da03/OpenNMT | onmt/utils/ExtendedCmdLine.lua | 1 | 18667 | ---------------------------------------------------------------------------------
-- Local utility functions
---------------------------------------------------------------------------------
local function wrapIndent(text, size, pad)
text = pad .. text
local p = 0
while true do
local q = text:find(" ", size+... | mit |
ld-test/loop | lua/loop/serial/FileStream.lua | 8 | 1828 | --------------------------------------------------------------------------------
---------------------- ## ##### ##### ###### -----------------------
---------------------- ## ## ## ## ## ## ## -----------------------
---------------------- ## ## ## ## ## ###### --------------------... | mit |
google-code/bitfighter | exe/scripts/robot_helper_functions.lua | 1 | 4670 | -------------------------------------------------------------------------------
--
-- Bitfighter - A multiplayer vector graphics space game
-- Based on Zap demo released for Torque Network Library by GarageGames.com
--
-- Copyright (C) 2008-2009 Chris Eykamp
-- Other code copyright as noted
--
-- This program i... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Southern_San_dOria/npcs/Andecia.lua | 13 | 3192 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Andecia
-- Starts and Finishes Quest: Grave Concerns
-- @zone 230
-- @pos 167 0 45
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/So... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/entities/weapons/unarrest_stick/shared.lua | 2 | 3057 | AddCSLuaFile()
if CLIENT then
SWEP.PrintName = "Unarrest Baton"
SWEP.Slot = 1
SWEP.SlotPos = 3
end
DEFINE_BASECLASS("stick_base")
SWEP.Instructions = "Left click to unarrest\nRight click to switch batons"
SWEP.IsDarkRPUnarrestStick = true
SWEP.Spawnable = true
SWEP.Category = "DarkRP (Utility)"
SWEP.St... | mit |
lichtl/darkstar | scripts/zones/Northern_San_dOria/npcs/Cauzeriste.lua | 14 | 1241 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Cauzeriste
-- Guild Merchant NPC: Woodworking Guild
-- @pos -175.946 3.999 280.301 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
MightyPirates/OC-LuaJ | luaj-test/src/test/resources/lua5.2.1-tests/errors.lua | 9 | 10405 | print("testing errors")
local debug = require"debug"
-- avoid problems with 'strict' module (which may generate other error messages)
local mt = getmetatable(_G) or {}
local oldmm = mt.__index
mt.__index = nil
function doit (s)
local f, msg = load(s)
if f == nil then return msg end
local cond, msg = pcall(f)
... | mit |
RunAwayDSP/darkstar | scripts/zones/Metalworks/npcs/Alois.lua | 9 | 1624 | -----------------------------------
-- Area: Metalworks
-- NPC: Alois
-- Involved in Missions: Wading Beasts
-- !pos 96 -20 14 237
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)
i... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle1.lua | 28 | 1049 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Achtelle
-- @zone 80
-- @pos 108 2 -11
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Sea_Puk.lua | 12 | 1367 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Sea Puk
-- Note: Place holder Nis Puk
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player, isK... | gpl-3.0 |
scscgit/scsc_wildstar_addons | Wingman/Wingman.lua | 1 | 5464 | -----------------------------------------------------------------------------------------------
-- Client Lua Script for Wingman
-- Copyright (c) NCsoft. All rights reserved
-----------------------------------------------------------------------------------------------
require "Window"
require "GroupLib"
require "Cha... | mit |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fpp/pp/server/settings.lua | 3 | 38987 | FPP = FPP or {}
util.AddNetworkString("FPP_Groups")
util.AddNetworkString("FPP_GroupMembers")
util.AddNetworkString("FPP_RestrictedToolList")
util.AddNetworkString("FPP_BlockedModels")
FPP.Blocked = FPP.Blocked or {}
FPP.Blocked.Physgun1 = FPP.Blocked.Physgun1 or {}
FPP.Blocked.Spawning1 = FPP.Blocked.Spawnin... | mit |
lichtl/darkstar | scripts/zones/Konschtat_Highlands/mobs/Highlander_Lizard.lua | 19 | 1385 | -----------------------------------
-- Area: Konschtat Highlands
-- NM: Highlander Lizard
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitial... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/high_breath_mantle.lua | 12 | 1077 | -----------------------------------------
-- ID: 15487
-- Item: High Breath Mantle
-- Item Effect: HP+38 / Enmity+5
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
-----------------------------------------
function onItemCheck(target)
local effect = ... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/chant_du_cygne.lua | 26 | 1307 | -----------------------------------
-- Chant du Cygne
-- Sword weapon skill
-- Skill level: EMPYREAN
-- Delivers a three-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Element: None
-- Modifiers: DEX:60%
-- 100%TP 200%TP 300%TP
-- ALL 2.25
-----------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Lufaise_Meadows/mobs/Padfoot.lua | 13 | 2699 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Padfoot
-- @pos 260.445 -1.761 -27.862 24 (True Copy) 16875578
-- @pos 412.447 -0.057 -200.161 24 (Fake Copies) 16875615
-- @pos -378.950 -15.742 144.215 24 || 16875703
-- @pos -43.689 0.487 -328.028 24 || 16875552
-- @pos -1... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Cloister_of_Flames/bcnms/trial-size_trial_by_fire.lua | 26 | 2164 | -----------------------------------
-- Area: Cloister of Flames
-- BCNM: Trial-size Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/glo... | gpl-3.0 |
yariplus/love-demos | love-slider/main.lua | 1 | 1230 | require "game"
g = {}
g.entities = {}
g.State = require "states/state"
g.statePlay = require "states/statePlay"
g.stateMenu = require "states/stateMenu"
require "load"
function love.update(dt)
game.tick = game.tick + 1
game.state:update(dt)
if game.matching then
if game.matching + 40 < game.tick then
ga... | cc0-1.0 |
lichtl/darkstar | scripts/globals/items/bowl_of_witch_stew.lua | 18 | 1449 | -----------------------------------------
-- ID: 4344
-- Item: witch_stew
-- Food Effect: 4hours, All Races
-----------------------------------------
-- Magic Points 45
-- Strength -1
-- Mind 4
-- MP Recovered While Healing 4
-- Enmity -4
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
appwilldev/moochine | lualibs/ltp/template.lua | 3 | 5946 | --
-- Copyright 2007-2008 Savarese Software Research Corporation.
--
-- 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.savarese.com/software/ApacheLicense-2.0
--
-- Unless... | apache-2.0 |
Mudlet-cn/mudlet | src/old_mudlet-lua/lua/Other.lua | 6 | 16089 | ----------------------------------------------------------------------------------
--- Mudlet Unsorted Stuff
----------------------------------------------------------------------------------
-- Extending default libraries makes Babelfish happy.
setmetatable( _G, {
["__call"] = function(func, ...)
if type(func) ==... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/zones/Bastok_Markets/npcs/Cleades.lua | 9 | 3556 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Cleades
-- Type: Mission Giver
-- !pos -358 -10 -168 235
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
local ID = require("scripts/zones/Bastok_Market... | gpl-3.0 |
taiha/luci | applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua | 68 | 7091 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ip = require "luci.ip"
local fs = require "nixio.fs"
if arg[1] then
mp = Map("olsrd", translate("OLSR - Plugins"))
p = mp:section(TypedSection, "Load... | apache-2.0 |
lichtl/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0ro.lua | 14 | 1644 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.