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 |
|---|---|---|---|---|---|
n0xus/darkstar | scripts/zones/Port_Windurst/Zone.lua | 17 | 2414 | -----------------------------------
--
-- Zone: Port_Windurst (240)
--
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/TextIDs");
---------------------... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/FriendListColors/libs/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua | 24 | 5432 | --[[-----------------------------------------------------------------------------
ColorPicker Widget
-------------------------------------------------------------------------------]]
local Type, Version = "ColorPicker", 22
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(... | gpl-2.0 |
n0xus/darkstar | scripts/zones/FeiYin/TextIDs.lua | 9 | 2354 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6558; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6563; -- Obtained: <item>
GIL_OBTAINED = 6564; -- Obtained <number> gil
KEYITEM_OBTAINED = 6566; -- Obtain... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Windurst_Woods/npcs/Tesch_Garanjy.lua | 36 | 4446 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Tesch_Garanjy
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage"... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Upper_Jeuno/npcs/Turlough.lua | 41 | 1446 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Turlough
-- Mission NPC
-- @pos
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
require("scripts/globals/missions");
require(... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-WorldEvents/localization.kr.lua | 1 | 5074 | if GetLocale() ~= "koKR" then return end
local L
------------
-- Omen --
------------
L = DBM:GetModLocalization("Omen")
L:SetGeneralLocalization({
name = "오멘"
})
------------------------------
-- The Crown Chemical Co. --
------------------------------
L = DBM:GetModLocalization("d288")
L:SetTimerLocalizatio... | gpl-2.0 |
Python1320/wire | lua/wire/stools/egp.lua | 9 | 13008 | -- Wire EGP by Divran
WireToolSetup.setCategory( "Visuals/Screens" )
WireToolSetup.open( "egp", "EGP v3", "gmod_wire_egp", nil, "EGPs" )
TOOL.ClientConVar["model"] = "models/kobilica/wiremonitorbig.mdl"
TOOL.ClientConVar["type"] = 1
TOOL.ClientConVar["createflat"] = 1
TOOL.ClientConVar["weld"] = 0
TOOL.ClientConVar["w... | apache-2.0 |
n0xus/darkstar | scripts/zones/Rolanberry_Fields/npcs/Saarlan.lua | 17 | 8643 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Saarlan
-- Legion NPC
-- @pos 242 24.395 468
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/g... | gpl-3.0 |
n0xus/darkstar | scripts/globals/spells/vivacious_etude.lua | 45 | 1815 | -----------------------------------------
-- Spell: Vivacious Etude
-- Static VIT Boost, BRD 30
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function on... | gpl-3.0 |
n0xus/darkstar | scripts/globals/items/balik_sis.lua | 35 | 1661 | -----------------------------------------
-- ID: 5600
-- Item: Balik Sis
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -2
-- Attack % 13
-- Attack Cap 40
-- Ranged ACC 1
-- Ranged ATT % 13
-- Ranged ATT Cap 40
-----------------------------------------
r... | gpl-3.0 |
alishbully6528/bully | plugins/owners.lua | 68 | 12477 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sulbahn.lua | 24 | 2069 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sulbahn
-- Type: Alchemy Adv. Image Support
-- @pos -10.470 -6.25 -141.700 241
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
sam1i/Turres-Monacorum | love2d/data/map/tutorial1.lua | 1 | 2996 | map = {
width = 11,
height = 11,
baseX = 3,
baseY = 5,
waves = {
{
disableUI =
{
massDisplayDisabled = false,
energyDisplayDisabled = false,
laserTowerDisplayDisabled = false,
energyTowerDisplayDisabled = true,
massTowerDisplayDisabled = true
}... | mit |
ducseb/RelayPilot | src/LuaDomoticzCode/Time_Script.lua | 1 | 1057 | commandArray = {}
main_item =' - Chauffage - Main'
etat_item =' - Chauffage - Etat'
ThermostatActifInactif = 'Chauffage actif' -- Nom du device pour la consigne de temperature
LesChauffages={'Bureau','Salon','Chambre'}
for i,nomItem in ipairs(LesChauffages) do
print('Test item'..nomItem)
if (otherdevi... | gpl-2.0 |
Python1320/wire | lua/entities/gmod_wire_expression2/core/bone.lua | 9 | 12409 | local isOwner = E2Lib.isOwner
local IsValid = IsValid
registerCallback("e2lib_replace_function", function(funcname, func, oldfunc)
if funcname == "isOwner" then
isOwner = func
elseif funcname == "IsValid" then
IsValid = func
end
end)
local bone2entity = {}
local bone2index = {}
local entity2bone = {}
hook.Add(... | apache-2.0 |
n0xus/darkstar | scripts/globals/items/alchemists_belt.lua | 30 | 1200 | -----------------------------------------
-- ID: 15450
-- Item: Alchemist's belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Alchemy Skill +3
-----------------------------------------
requir... | gpl-3.0 |
sini370/telelife | plugins/google.lua | 94 | 1176 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Port_San_dOria/npcs/Leonora.lua | 17 | 1498 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Leonora
-- Involved in Quest:
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
ArmanIr/loloamad | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
Arashbrsh/lifeiran | plugins/meme.lua | 637 | 5791 | local helpers = require "OAuth.helpers"
local _file_memes = './data/memes.lua'
local _cache = {}
local function post_petition(url, arguments)
local response_body = {}
local request_constructor = {
url = url,
method = "POST",
sink = ltn12.sink.table(response_body),
headers = {},
red... | gpl-2.0 |
shayanchabok007/antispamfox | 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 |
n0xus/darkstar | scripts/globals/weaponskills/tachi_yukikaze.lua | 30 | 1722 | -----------------------------------
-- Tachi Yukikaze
-- Great Katana weapon skill
-- Skill Level: 200 (Samurai only.)
-- Blinds target. Damage varies with TP.
-- Blind effect duration is 60 seconds when unresisted.
-- Will stack with Sneak Attack.
-- Tachi: Yukikaze appears to have an attack bonus of 50%. http:... | gpl-3.0 |
alexandre-mbm/SimTools | RandomWeather/Lua/vstruct/io/endianness.lua | 2 | 1653 | -- the actual endianness controls. These should not be used directly, but
-- are instead invoked by the <=> formats (bigendian, littleendian, and
-- hostendian) to do the actual work.
-- FIXME: endianness flag should be operation-local rather than VM-local; at
-- present packunpack operations are atomic, but if in the... | mit |
n0xus/darkstar | scripts/zones/Southern_San_dOria/npcs/Femitte.lua | 17 | 3110 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Femitte
-- Involved in Quest: Lure of the Wildcat (San d'Oria), Distant Loyalties
-- @pos -17 2 10 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Valkurm_Dunes/npcs/Prunilla_RK.lua | 30 | 3052 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Prunilla, R.K.
-- Type: 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 |
n0xus/darkstar | scripts/zones/Hall_of_Transference/npcs/_0e4.lua | 43 | 1699 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Right) - Holla
-- @pos -242.301 -1.849 269.867 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Hall_of_Transf... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Stellar_Fulcrum/mobs/Kam_lanaut.lua | 27 | 1401 | -----------------------------------
-- Area: Stellar Fulcrum
-- NPC: Kam'lanaut
-- Zilart Mission 8 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
local blades = {567, 570, 572, 569, 568, 571};
------... | gpl-3.0 |
dmccuskey/dmc-netstream | dmc_corona/lib/dmc_lua/json.lua | 49 | 2030 | --====================================================================--
-- dmc_lua/json.lua
--
-- consistent method which which to load json on various systems
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Cop... | mit |
Azmaedus/GarrisonJukeBox | libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua | 8 | 58035 | --- AceConfigDialog-3.0 generates AceGUI-3.0 based windows based on option tables.
-- @class file
-- @name AceConfigDialog-3.0
-- @release $Id: AceConfigDialog-3.0.lua 1169 2018-02-27 16:18:28Z nevcairiel $
local LibStub = LibStub
local gui = LibStub("AceGUI-3.0")
local reg = LibStub("AceConfigRegistry-3.0")
local MA... | gpl-2.0 |
Nasias/GBRadio | GBRadio/GBRadio.lua | 1 | 32703 | -- Delay function courtesy of http://wowwiki.wikia.com/wiki/USERAPI_wait
local waitTable = {};
local waitFrame = nil;
-- Variables used to stop message received spammage
GBRadio.CurrentTime = 0;
GBRadio.LastTime = 0;
function GBRadio:DelayFunction(delay, func, ...)
if(type(delay)~="number" or type(func)~="functi... | gpl-3.0 |
coderpunch/evolvemod | lua/evolve/menu/tab_players.lua | 1 | 3304 | --[[-----------------------------------------------------------------------------------------------------------------------
Tab with player commands
-----------------------------------------------------------------------------------------------------------------------]]--
include( "tab_players_controls.lua" )
local ... | apache-2.0 |
cosmonawt/lua-multipart-post | multipart-post.lua | 1 | 2062 | local ltn12 = require "ltn12"
local fmt = function(p, ...)
if select('#', ...) == 0 then
return p
else return string.format(p, ...) end
end
local tprintf = function(t, p, ...)
t[#t+1] = fmt(p, ...)
end
local append_data = function(r, k, data, extra)
tprintf(r, "content-disposition: form-data; name=\"%s\"... | mit |
n0xus/darkstar | scripts/zones/Castle_Zvahl_Keep_[S]/npcs/HomePoint#1.lua | 17 | 1205 | -----------------------------------
-- Area: Castle Zvahl Keep [S]
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Keep_[S]/TextIDs");
require("scripts/global... | gpl-3.0 |
xennygrimmato/nmt | src/OpenNMT/onmt/modules/CNNEncoder.lua | 7 | 3930 | --[[ Convolutional Encoder similar to the one described in https://arxiv.org/abs/1611.02344.
--]]
local CNNEncoder, parent = torch.class('onmt.CNNEncoder', 'nn.Container')
local options = {
{
'-cnn_layers', 2,
[[Number of convolutional layers in the encoder.]],
{
valid = onmt.utils.ExtendedCmdL... | lgpl-3.0 |
n0xus/darkstar | scripts/globals/abilities/ebullience.lua | 28 | 1132 | -----------------------------------
-- Ability: Ebullience
-- Enhances the potency of your next black magic spell.
-- Obtained: Scholar Level 55
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- ---... | gpl-3.0 |
n0xus/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f6.lua | 34 | 1105 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 260 -34 110 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");... | gpl-3.0 |
mway08/Atlas | lib/proxy/tokenizer.lua | 41 | 6215 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
n0xus/darkstar | scripts/globals/weaponskills/keen_edge.lua | 30 | 1342 | -----------------------------------
-- Keen Edge
-- Great Axe weapon skill
-- Skill level: 150
-- Delivers a single hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget.
-- Aligned with the Shadow Belt.
-- Element: None
-- Modifiers: STR:35%
... | gpl-3.0 |
chengyi818/openwrt | customer/packages/luci/modules/rpc/luasrc/jsonrpcbind/uci.lua | 81 | 1914 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
ht... | gpl-2.0 |
feiying1460/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/rpc/luasrc/jsonrpcbind/uci.lua | 81 | 1914 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
ht... | gpl-2.0 |
n0xus/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0zv.lua | 19 | 1082 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: particle gate
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
---------------------... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/Skada/lib/AceGUI-3.0-SharedMediaWidgets/AceGUI-3.0-SharedMediaWidgets/FontWidget.lua | 8 | 6008 | -- Widget is based on the AceGUIWidget-DropDown.lua supplied with AceGUI-3.0
-- Widget created by Yssaril
local AceGUI = LibStub("AceGUI-3.0")
local Media = LibStub("LibSharedMedia-3.0")
local AGSMW = LibStub("AceGUISharedMediaWidgets-1.0")
do
local widgetType = "LSM30_Font"
local widgetVersion = 10
local conten... | gpl-2.0 |
n0xus/darkstar | scripts/globals/mobskills/Necrobane.lua | 43 | 1075 | ---------------------------------------------
-- Necrobane
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------
function onMobSkillCheck(target,mob,skill)
if(mob:g... | gpl-3.0 |
arianne/stendhal | data/script/region/deniran/city/interior/pawn_shop/AnimalMaterialsBuyer.lua | 3 | 2151 | --[[
***************************************************************************
* Copyright © 2020 - Arianne *
***************************************************************************
***************************************************************************
* ... | gpl-2.0 |
shizhz/dotfiles | conky/conky_sysinfo.lua | 1 | 2335 | conky.config = {
background = true,
use_xft = true,
font = 'Sans:size=10',
xftalpha = 1,
update_interval = 1.0,
total_run_times = 0,
own_window = true,
own_window_transparent = true,
own_window_type = 'desktop',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
min... | mit |
RockySeven3161/Unknown.. | 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 |
n0xus/darkstar | scripts/zones/Bastok_Markets/npcs/Enu.lua | 31 | 2454 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Enu
-- Type: Quest NPC
-- @zone: 235
-- @pos -253.673 -13 -92.326
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/globals/quests"... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Horlais_Peak/bcnms/hostile_herbivores.lua | 19 | 1703 | -----------------------------------
-- Area: Horlias peak
-- Name: Hostile Herbivores
-- BCNM50
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXAM... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Bastok_Mines/npcs/Deidogg.lua | 19 | 4762 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Deidogg
-- Starts and Finishes Quest: The Talekeeper's Truth, The Talekeeper's Gift (start)
-- @pos -13 7 29 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
deezl/homedecor_lite | homedecor/lighting.lua | 1 | 1140 | --glow lights removed, kept lattice lanterns
local S = homedecor.gettext
minetest.register_node('homedecor:lattice_lantern_large', {
description = S("Lattice lantern (large)"),
tiles = { 'homedecor_lattice_lantern_large.png' },
sunlight_propagates = false,
paramtype = "light",
walkable = true,
groups = { snappy... | unlicense |
n0xus/darkstar | scripts/globals/spells/bluemagic/feather_barrier.lua | 18 | 1353 | -----------------------------------------
-- Spell: Feather Barrier
-- Enhances evasion
-- Spell cost: 29 MP
-- Monster Type: Birds
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 2
-- Stat Bonus: None
-- Level: 56
-- Casting Time: 2 seconds
-- Recast Time: 120 seconds
-- Duration: 30 Seconds
--
-- Co... | gpl-3.0 |
mpeterv/luacheck | src/luacheck/stages/detect_unused_fields.lua | 3 | 2419 | local core_utils = require "luacheck.core_utils"
local stage = {}
local function unused_field_value_message_format(warning)
local target = warning.index and "index" or "field"
return "value assigned to " .. target .. " {field!} is overwritten on line {overwritten_line} before use"
end
stage.warnings = {
["3... | mit |
misterdustinface/gamelib-common-polyglot | src/try-to-make-a-language/sets/sets_runtime.lua | 1 | 2243 | local forever = false
local sets = {
help = function(xSetChain, xStack)
for ii, v in ipairs(xStack) do
print(ii, v)
end
end,
functions = {
print = function(xSetChain, xStack)
local strs = {}
for ii = xSetChain.top, 1, -1 do
strs[#strs+1] = tostring(xSetChain[ii])
end
... | gpl-2.0 |
mahdidoraj/secretbot | plugins/bot_manager.lua | 89 | 6427 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
n0xus/darkstar | scripts/globals/spells/archers_prelude.lua | 18 | 1491 | -----------------------------------------
-- Spell: Archer's Prelude
-- Gives party members ranged attack accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChe... | gpl-3.0 |
davymai/CN-QulightUI | Interface/Aurora/FrameXML/QueueStatusFrame.lua | 1 | 3246 |
local F, C = unpack(select(2, ...))
tinsert(C.modules["Aurora"], function()
for i = 1, 9 do
select(i, QueueStatusFrame:GetRegions()):Hide()
end
F.CreateBD(QueueStatusFrame)
hooksecurefunc("QueueStatusFrame_GetEntry", function(self, entryIndex)
local entry = self.StatusEntries[entryIndex]
if not entry.sty... | gpl-2.0 |
LuaDist2/hotswap-http | src/hotswap/http.lua | 8 | 3352 | local http = require "socket.http"
local https = pcall (require, "ssl.https") and require "ssl.https" or nil
local lfs = require "lfs"
local ltn12 = require "ltn12"
local Hotswap = getmetatable (require "hotswap")
local Http = {}
--[[
Send: {
name = {
etag = "...", -- optional
},
}
Receive: {
... | mit |
n0xus/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Zorchorevi_RK.lua | 30 | 3059 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Zorchorevi, R.K.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
... | gpl-3.0 |
misterdustinface/gamelib-common-polyglot | src/param-adjuster/layout-partials/parent-tab.lua | 1 | 3561 | local datastore = require 'datastore'
local widgets = require 'widgets'
local style = require 'style'
local icons = require 'icons'
local fonts = require 'fonts'
local rects = require 'rects'
local new_action = require 'touch-action'
local text_hint = require 'layout-partials.text-hint'
local dropdownName = {
family... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Chest.lua | 19 | 3506 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- NPC: Treasure Chest
-- @zone 213
-----------------------------------
package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
imashiam/new | 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 |
n0xus/darkstar | scripts/zones/Metalworks/TextIDs.lua | 9 | 3817 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6434; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6438; -- You cannot obtain the item <item>. Try trading again after sorting your inventory.
ITEM_OBTAINED =... | gpl-3.0 |
a113n/bcbio-nextgen | config/vcfanno/hg38-gemini.lua | 4 | 3618 | function mean(vals)
local sum=0
for i=1,#vals do
sum = sum + vals[i]
end
return sum / #vals
end
function loc(chrom, start, stop)
return chrom .. ":" .. start .. "-" .. stop
end
CLINVAR_LOOKUP = {}
CLINVAR_LOOKUP['0'] = 'unknown'
CLINVAR_LOOKUP['1'] = 'germline'
CLINVAR_LOOKUP['2'] = 'somatic'
CLINVAR_LOO... | mit |
linmajia/dlbench | synthetic/experiments/torch/cnn/resnet/models/preresnet.lua | 7 | 7263 | --
-- Copyright (c) 2016, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
--
-- The full pre... | mit |
n0xus/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Uphra-Kophra_WW.lua | 30 | 3061 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Uphra-Kophra, W.W.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
adamlerer/nn | Sequential.lua | 33 | 3921 | local Sequential, _ = torch.class('nn.Sequential', 'nn.Container')
function Sequential:__len()
return #self.modules
end
function Sequential:add(module)
if #self.modules == 0 then
self.gradInput = module.gradInput
end
table.insert(self.modules, module)
self.output = module.output
return self
en... | bsd-3-clause |
n0xus/darkstar | scripts/globals/items/felicifruit.lua | 36 | 1158 | -----------------------------------------
-- ID: 5964
-- Item: Felicifruit
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
qllpa/TAEFWN | plugins/lock_bot.lua | 4 | 2931 | --[[
_____ _ _ _ _____ Dev @lIMyIl
|_ _|__| |__ / \ | | _| ____| Dev @li_XxX_il
| |/ __| '_ \ / _ \ | |/ / _| Dev @h_k_a
| |\__ \ | | |/ ___ \| <| |___ Dev @Aram_omar22
|_||___/_| |_/_/ \_\_|\_\_____| Dev @IXX_I_XXI
CH > @lTSHAKEl_CH
--]]
l... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Sealions_Den/npcs/Airship_Door.lua | 11 | 1823 | -----------------------------------
-- Area:
-- NPC: Airship_Door
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");
require("scripts/zones/Sealions_Den/TextIDs");
... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/Skada/modules/DamageTaken.lua | 1 | 9948 |
Skada:AddLoadableModule("DamageTaken", function(Skada, L)
if Skada.db.profile.modulesBlocked.DamageTaken then return end
local mod = Skada:NewModule(L["Damage taken"])
local playermod = Skada:NewModule(L["List of damaging spells"])
local spelloverview = Skada:NewModule(L["Damage taken by spell"])
local spellplay... | gpl-2.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-DMF/localization.de.lua | 1 | 2199 | if GetLocale() ~= "deDE" then return end
local L
--------------------------
-- Blastenheimer 5000 --
--------------------------
L = DBM:GetModLocalization("Cannon")
L:SetGeneralLocalization({
name = "Kanonendonner"
})
-------------
-- Gnoll --
-------------
L = DBM:GetModLocalization("Gnoll")
L:SetGeneralLoca... | gpl-2.0 |
n0xus/darkstar | scripts/globals/mobskills/Fanatic_Dance.lua | 45 | 1037 | ---------------------------------------------------
-- Fanatic Dance
-- Family: Orc
-- Description: Charms all targets in an area of effect.
-- Type: Enfeebling
-- Utsusemi/Blink absorb: N/A
-- Range: AoE around user
-- Notes: Dynamis NM Orcs only
---------------------------------------------------
require("scri... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/QulightUI/Addons/Actionbars/BarShift.lua | 1 | 4456 |
if not Qulight["actionbar"].enable == true then return end
---------------------------------------------------------------------------
-- Setup Shapeshift Bar
---------------------------------------------------------------------------
-- used to update shift action bar buttons
ShiftBarUpdate = function(self)
local nu... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Castle_Oztroja/npcs/_47j.lua | 17 | 1570 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
n0xus/darkstar | scripts/zones/West_Sarutabaruta/npcs/Cavernous_Maw.lua | 29 | 1519 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Cavernous Maw
-- Teleports Players to West Sarutabaruta [S]
-- @pos -2.229 0.001 -162.715 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
davymai/CN-QulightUI | Interface/AddOns/DBM-Coliseum/localization.kr.lua | 1 | 5716 | if GetLocale() ~= "koKR" then return end
local L
------------------------
-- Northrend Beasts --
------------------------
L = DBM:GetModLocalization("NorthrendBeasts")
L:SetGeneralLocalization{
name = "노스렌드의 야수"
}
L:SetWarningLocalization{
WarningSnobold = "스노볼트 부하 생성 : >%s<"
}
L:SetTimerLocalization{
Timer... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Heavens_Tower/npcs/Chumimi.lua | 17 | 5934 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Chumimi
-- Starts and Finishes Quest: The Three Magi, Recollections
-- @pos 0.1 30 21 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
ArmanIr/ProFbOt | 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 |
shayanchabok007/antispamfox | 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 |
n0xus/darkstar | scripts/zones/Southern_San_dOria/npcs/Adaunel.lua | 13 | 1604 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Adaunel
-- General Info NPC
-- @zone 230
-- @pos 80 -7 -22
------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
DemonSinusa/SiemanC | LibsUser/luajit2/build/nsg/lib/draw.lua | 4 | 3619 |
local ffi = require('ffi')
local _draw = ffi.load(sys.libDir()..'core\\draw.so')
local rettable = {}
ffi.cdef [[
void ldrawLine(int x, int y, int x2, int y2, int type, const char *pen);
void ldrawRectangle(int, int, int, int, int, const char *, const char *);
void ldrawArc(int x1, int y1, int x2, int y2, int... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/cgilua/src/cgilua/dispatcher.lua | 4 | 2152 | -- CGILua dispatcher module
-- @release $Id: dispatcher.lua,v 1.8 2007/12/07 18:49:49 carregal Exp $
module(..., package.seeall)
-- Checks if an URL matches a route pattern
local function route_match(url, pattern)
local params = {}
local captures = string.gsub(pattern, "(/$[%w_-]+)", "/([^/]*)")
local ur... | lgpl-3.0 |
MHPG/MHP | 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 |
Yevano/weegui | weegui/element/Container.lua | 1 | 2364 | --@import weegui.util.GuiManager
--@import weegui.element.Element
--@import weegui.graphics.ImageDrawContext
--@extends weegui.element.Element
function Container:init(parent, x, y, w, h)
self:super(Element).init(parent, x, y, w, h)
self.children = Array:new()
self:addListener(Element.UNFOCUS, function()... | mit |
n0xus/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Spondulix.lua | 37 | 1195 | -----------------------------------
-- Area: Fort Karugo-Narugo
-- NPC: Spondulix
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
-----... | gpl-3.0 |
ArmanIr/loloamad | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
ArmanIr/ProFbOt | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
n0xus/darkstar | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cc.lua | 34 | 1074 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cc (Gate of Ice)
-- @pos -228 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");... | gpl-3.0 |
n0xus/darkstar | scripts/globals/weaponskills/ruinator.lua | 30 | 1646 | -----------------------------------
-- Ruinator
-- Axe weapon skill
-- Skill level: 357
-- Description: Delivers a four-hit attack. params.accuracy varies with TP
-- In order to obtain Ruinator, the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all addition... | gpl-3.0 |
rekotc/game-engine-demo | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/wsapi/src/wsapi/common.lua | 2 | 25881 | -----------------------------------------------------------------------------
-- wsapi.common - common functionality for adapters and launchers
--
-- Author: Fabio Mascarenhas
-- Copyright (c) 2007 Kepler Project
--
-----------------------------------------------------------------------------
local lfs = require "lfs"... | lgpl-3.0 |
n0xus/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Wise_Turtle_IM.lua | 30 | 3062 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Wise Turtle, I.M.
-- Border Conquest Guards
-- @pos -599.903 -41.441 165.776 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
Python1320/wire | lua/entities/gmod_wire_teleporter.lua | 9 | 10340 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Teleporter"
ENT.WireDebugName = "Teleporter"
ENT.Author = "Divran"
if CLIENT then return end -- No more client
CreateConVar("wire_teleporter_cooldown","1",{FCVAR_ARCHIVE,FCVAR_NOTIFY})
function ENT:Initialize()
self:PhysicsInit( SOLID_V... | apache-2.0 |
n0xus/darkstar | scripts/zones/Crawlers_Nest/npcs/qm3.lua | 14 | 1043 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Drown Crawler (Spawn area 1)
-- @pos 4.045 -2.703 285.026 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/Text... | gpl-3.0 |
ArmanIr/loloamad | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
ArmanIr/ProFbOt | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
n0xus/darkstar | scripts/globals/items/moon_ball.lua | 35 | 1183 | -----------------------------------------
-- ID: 4568
-- Item: moon_ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 3
-- Magic 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
n0xus/darkstar | scripts/zones/Port_Bastok/npcs/Agapito.lua | 19 | 1868 | -----------------------------------
-- 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/s... | gpl-3.0 |
bnk-iitb/torch7 | torchcwrap.lua | 8 | 17892 | local wrap = require 'cwrap'
local types = wrap.types
types.Tensor = {
helpname = function(arg)
if arg.dim then
return string.format("Tensor~%dD", arg.dim)
else
return "Tensor"
end
end,
declare = function(arg... | bsd-3-clause |
ddysher/turbo | turbo/sockutil.lua | 8 | 10788 | --- Turbo.lua Socket Utils
--
-- Copyright 2011, 2012, 2013 John Abrahamsen
--
-- 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
--
-- Unless r... | apache-2.0 |
davymai/CN-QulightUI | Interface/AddOns/QulightUI/Addons/UF/lib.lua | 1 | 54811 | local addon, ns = ...
local cast = ns.cast
local _, playerClass = UnitClass("player")
local cast = CreateFrame("Frame")
local oUF = ns.oUF or oUF
oUF.colors.runes = {{0.87, 0.12, 0.23};{0.40, 0.95, 0.20};{0.14, 0.50, 1};{.70, .21, 0.94};}
---------------------------------------------------------------------------------... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.