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 |
|---|---|---|---|---|---|
nasomi/darkstar | scripts/zones/Provenance/Zone.lua | 17 | 1256 | -----------------------------------
--
-- Zone: Provenance (222)
--
-----------------------------------
package.loaded["scripts/zones/Provenance/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Provenance/TextIDs");
-----------------------------------
-- onInitialize
-----------... | gpl-3.0 |
thesabbir/luci | applications/luci-app-pbx/luasrc/model/cbi/pbx.lua | 146 | 4360 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
... | apache-2.0 |
shakfu/start-vm | config/artful/awesome/vicious/widgets/weather_all.lua | 4 | 3831 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, Adrian C. <anrxc@sysphere.org>
---------------------------------------------------
-- {{{ Grab environment
local tonumber = tonumber
local io = { popen = io.popen }
local setmetatable = setmetatable
... | mit |
nicholas-leonard/nn | Transpose.lua | 5 | 1080 | local Transpose, parent = torch.class('nn.Transpose', 'nn.Module')
-- transpose dimensions:
-- n = nn.Transpose({1,4},{1,3})
-- will transpose dims 1 and 4, then 1 and 3...
function Transpose:__init(...)
parent.__init(self)
self.permutations = {...}
self.numInputDims = nil
end
function Transpose:setNumInput... | bsd-3-clause |
nasomi/darkstar | scripts/globals/spells/diaga_iii.lua | 18 | 1873 | -----------------------------------------
-- Spell: Diaga III
-- Lowers an enemy's defense and gradually deals light elemental damage.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
--------------------------... | gpl-3.0 |
znek/xupnpd | src/plugins/xupnpd_ag.lua | 6 | 3196 | -- Copyright (C) 2011-2013 Anton Burdinuk
-- clark15b@gmail.com
-- https://tsdemuxer.googlecode.com/svn/trunk/xupnpd
-- 720pd - 720p 60fps
-- 720p - 720p
-- 400pd - 400p 60fps
-- 400p - 400p
-- 200p - 200p
cfg.ag_fmt='400p'
-- videos, videos/top100pop, videos/top100best, videos/s... | gpl-2.0 |
nasomi/darkstar | scripts/zones/GM_Home/Zone.lua | 25 | 1251 | -----------------------------------
--
-- Zone: GM Home (210)
--
-- Some cs event info:
-- 0 = Abyssea Debug
-- 1 = Mogsack Debug
-- ...
-- 139 = Janken challenges player to "Rock, Paper, Scissors"
-- ...
-- 140 = Camera test.
-- 141 = "Press confirm button to proceed" nonworking test.
--
-----------------... | gpl-3.0 |
OneRom/external_skia | resources/test.lua | 68 | 1921 |
local r = { left = 10, top = 10, right = 100, bottom = 80 }
local x = 0;
local paint = Sk.newPaint();
paint:setAntiAlias(true);
local image -- = Sk.loadImage('/skia/sailboat.jpg');
function setImageFilename(filename)
image = Sk.loadImage(filename)
end
local color = {a = 1, r = 1, g = 0, b = 0};
function r... | bsd-3-clause |
nasomi/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Thierride.lua | 17 | 3067 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Thierride
-- @zone 80
-- @pos -124 -2 14
-----------------------------------
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
-----------------------------------
-- Item 1019 = Lufet Salt... | gpl-3.0 |
aqasaeed/zeus | plugins/MemberManager.lua | 44 | 9652 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
nasomi/darkstar | scripts/globals/mobskills/Dominion_Slash.lua | 18 | 1571 | ---------------------------------------------
-- Domionion Slash
--
-- Description: Performs an area of effect slashing weaponskill. Additional effect: Silence
-- Type: Physical
-- 2-3 Shadows
-- Range: Unknown radial
-- One source also mentions that it "can dispel important buffs."
------------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Lower_Jeuno/npcs/_l03.lua | 36 | 1560 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -81.310 0 -109.947
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Tavnazian_Safehold/TextIDs.lua | 9 | 2115 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Ob... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mearuru.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mearuru
-- Type: Standard NPC
-- @zone: 94
-- @pos 153.798 -1 153.712
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27002028.lua | 1 | 2417 | --BT2-025 Grand Evil Absorption Majin Buu
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,CHARACTER_MAJIN_BUU,SPECIAL_TRAIT_MAJIN)
ds.AddPlayProcedure(c,COLOR_RED,2,5)
--evolve
ds.EnableEvolve(c,aux.FilterBoolFuncti... | gpl-3.0 |
nasomi/darkstar | scripts/globals/spells/utsusemi_ni.lua | 31 | 1528 | -----------------------------------------
-- Spell: Utsusemi: Ni
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
end;
... | gpl-3.0 |
nasomi/darkstar | scripts/zones/RuLude_Gardens/npcs/Pursuivant.lua | 38 | 1034 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pursuivant
-- Type: Pursuivant
-- @zone: 243
-- @pos 52.020 -1 -17.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
---------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Arrapago_Reef/npcs/qm10.lua | 17 | 2987 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ???
-- Starts: Corsair Af1 ,AF2 ,AF3
-- @pos 457.128 -8.249 60.795 54
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/titles");
require("scripts/zones/Arrapag... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/blade_ku.lua | 30 | 1680 | -----------------------------------
-- Blade Ku
-- Katana weapon skill
-- Skill level: N/A
-- Description: Delivers a five-hit attack. params.accuracy varies with TP.
-- In order to obtain Blade: Ku, the quest Bugi Soden must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget, Soil ... | gpl-3.0 |
nasomi/darkstar | scripts/globals/spells/yurin_ichi.lua | 18 | 1597 | -----------------------------------------
-- Spell: Yurin: Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/blade_yu.lua | 18 | 1553 | -----------------------------------
-- Blade Yu
-- Katana weapon skill
-- Skill Level: 290
-- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: Water
-- Modifiers: DEX:50% ;... | gpl-3.0 |
nasomi/darkstar | scripts/globals/mobskills/Ill_Wind.lua | 10 | 1508 | ---------------------------------------------
-- Ill Wind
-- Description: Deals Wind damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes Shadows
-- Range: Unknown radial
-- Notes: Only used by Puks in Mamook, Besieged, and the following Noto... | gpl-3.0 |
codeacula/achaea-neko | Objects/Mapper/Area.lua | 1 | 3017 | -- Area class
Area = {}
-- Metatables
Area.__index = Area
Area.__eq = function(t1, t2)
return t1.name == t2.name
end
Area.__le = function(t1, t2)
return t1:cleanName() <= t2:cleanName()
end
Area.__lt = function(t1, t2)
return t1:cleanName() <= t2:cleanName()
end
-- Makes a new area!
function Area.new(i... | mit |
nasomi/darkstar | scripts/globals/weaponskills/seraph_strike.lua | 30 | 1314 | -----------------------------------
-- Seraph Strike
-- Club weapon skill
-- Skill level: 40
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:40% ; MND:40%
-- 100%TP 200%TP 300%TP
-- ... | gpl-3.0 |
nasomi/darkstar | scripts/zones/East_Ronfaure/npcs/Stone_Monument.lua | 32 | 1284 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 77.277 -2.894 -517.376 101
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/applications/luci-statistics/luasrc/model/cbi/luci_statistics/interface.lua | 78 | 1325 | --[[
Luci configuration model for statistics - collectd interface plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the Lic... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Temenos/npcs/Armoury_Crate.lua | 25 | 8574 | -----------------------------------
-- Area: Temenos
-- NPC: Armoury Crate
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/Temenos/Text... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Mevreauche.lua | 44 | 2103 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Mevreauche
-- Type: Smithing Guild Master
-- @pos -193.584 10 148.655 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status")... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c2700021.lua | 1 | 1093 | --P-015_PR02 Joyful Strike Goku Black Rosé
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_SAIYAN,CHARACTER_GOKU_BLACK,SPECIAL_TRAIT_GOD)
ds.AddPlayProcedure(c,COLOR_BLUE,2,4)
--double strike
ds.Enable... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Sahgygy_WW.lua | 30 | 3067 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Sahgygy, W.W.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/c... | gpl-3.0 |
telergybot/kelidestan5454 | plugins/all.lua | 264 | 4202 | 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... | gpl-2.0 |
Nelarius/wren | test/benchmark/binary_trees.lua | 15 | 1395 | -- The Computer Language Benchmarks Game
-- http://shootout.alioth.debian.org/
-- contributed by Mike Pall
local function BottomUpTree(item, depth)
if depth > 0 then
local i = item + item
depth = depth - 1
local left, right = BottomUpTree(i-1, depth), BottomUpTree(i, depth)
return { item, left, right... | mit |
nasomi/darkstar | scripts/zones/Bastok_Markets/npcs/Reet.lua | 34 | 1352 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Reet
-- Adventurer's Assistant
-- @zone 235
-- @pos -237 -12 -41
-------------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
Hello23-Ygopro/ygopro-ds | expansions/script/c27004164.lua | 1 | 1232 | --EX03-12 Indiscriminate Obliteration Sidra
local ds=require "expansions.utility_dbscg"
local scard,sid=ds.GetID()
function scard.initial_effect(c)
ds.EnableBattleAttribute(c)
ds.AddSetcode(c,SPECIAL_TRAIT_GOD,SPECIAL_TRAIT_UNIVERSE_9,SPECIAL_TRAIT_INCLUDES_UNIVERSE)
ds.AddPlayProcedure(c,COLOR_BLUE,1,2)
--blocker
... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Porter_Moogle.lua | 41 | 1553 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 50
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urh... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Port_Windurst/npcs/Honorio.lua | 17 | 1385 | -----------------------------------
-- Area: Port Windurst
-- NPC: Honorio
-- @zone 240
-- @pos 218 -5 114
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyite... | gpl-3.0 |
m13790115/eset | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/modules/admin-full/luasrc/controller/admin/uci.lua | 85 | 1975 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://w... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kubhe_Ijyuhla.lua | 17 | 2433 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kubhe Ijyuhla
-- Standard Info NPC
-- @pos 23.257 0.000 21.532 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quest... | gpl-3.0 |
icplus/OP-SDK | package/ramips/ui/luci-mtk/src/modules/base/luasrc/model/ipkg.lua | 82 | 5778 | --[[
LuCI - Lua Configuration Interface
(c) 2008-2011 Jo-Philipp Wich <xm@subsignal.org>
(c) 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apach... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Xarcabard/npcs/Pilcha_RK.lua | 30 | 3043 | -----------------------------------
-- Area: Xarcabard
-- NPC: Pilcha, R.K.
-- Type: Border Conquest Guards
-- @pos -133.678 -22.517 112.224 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/black_halo.lua | 30 | 1536 | -----------------------------------
-- Black Halo
-- Club weapon skill
-- Skill level: 230
-- In order to obtain Black Halo, the quest Orastery Woes must be completed.
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget, Thunder Gorget & Breeze ... | gpl-3.0 |
thesabbir/luci | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua | 29 | 2536 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.interface", package.seeall)
function rrdargs( graph, plugin, plugin_instance )
--
-- traffic diagram
--
local traffic = {
-- draw this diag... | apache-2.0 |
nasomi/darkstar | scripts/globals/weaponskills/spinning_attack.lua | 30 | 1357 | -----------------------------------
-- Spinning Attack
-- Hand-to-Hand weapon skill
-- Skill Level: 150
-- Delivers an area attack. Radius varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Thunder Gorget.
-- Aligned with the Flame Belt & Thunder Belt.
-- Element: None
-- Modif... | gpl-3.0 |
EricssonResearch/scott-eu | simulated-enviroment/logistics_multiple_robots_vehicleControl.lua | 1 | 4200 | --**************************
-- Target following script for the mobile robot
-- @author Klaus Raizer
-- @date 23-01-2017
--
-- This script takes care of the YouBot mobile platform:
-- The platform will try to follow the position and orientation of the 'youBot_vehicleTargetPosition' object
--****************************... | apache-2.0 |
nasomi/darkstar | scripts/globals/items/dish_of_spaghetti_ortolana_+1.lua | 36 | 1403 | -----------------------------------------
-- ID: 5659
-- Item: Dish of Spafhetti Ortolana
-- Food Effect: 1 Hr, All Races
-----------------------------------------
-- Agility 2
-- Vitality 2
-- HP +30% Cap 75
-- StoreTP +6
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Promyvion-Vahzl/npcs/_0md.lua | 17 | 1400 | -----------------------------------
-- Area: Promyvion vahzl
-- NPC: Memory flux (2)
-----------------------------------
package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Promyvion-Vahzl/TextIDs");
re... | gpl-3.0 |
nasomi/darkstar | scripts/zones/FeiYin/npcs/Treasure_Chest.lua | 19 | 3069 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Treasure Chest
-- @zone 204
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/trea... | gpl-3.0 |
nasomi/darkstar | scripts/globals/mobskills/Benthic_Typhoon.lua | 25 | 1031 | ---------------------------------------------
-- Benthic Typhoon
--
-- Description: Delivers an area attack that lowers target's defense and magic defense. Damage varies with TP.
-- Type: Physical (Piercing)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
EnjoyHacking/nn | Reshape.lua | 42 | 1801 | local Reshape, parent = torch.class('nn.Reshape', 'nn.Module')
function Reshape:__init(...)
parent.__init(self)
local arg = {...}
self.size = torch.LongStorage()
self.batchsize = torch.LongStorage()
if torch.type(arg[#arg]) == 'boolean' then
self.batchMode = arg[#arg]
table.remove(arg, #arg... | bsd-3-clause |
dageq/Dage-Aliraqi | plugins/ar-lock-bot.lua | 1 | 2916 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY Dage Aliraqi ▀▄ ▄▀
▀▄ ▄▀ BY Dage Aliraqi (@dageq) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY Dage Aliraqi ▀▄ ▄▀
▀▄ ▄▀ Anti bot : منع بوتات ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Port_Windurst/npcs/Degong.lua | 53 | 1826 | -----------------------------------
-- Area: Port Windurst
-- NPC: Degong
-- Type: Fishing Synthesis Image Support
-- @pos -178.400 -3.835 60.480 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Sealions_Den/npcs/_0w0.lua | 12 | 1945 | -----------------------------------
-- Area: Sealion's Den
-- NPC: Iron Gate
-- @pos 612 132 774 32
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");
requir... | gpl-3.0 |
shangjiyu/luci-with-extra | libs/luci-lib-json/luasrc/json.lua | 47 | 11035 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local nixio = require "nixio"
local util = require "luci.util"
local table = require "table"
local string = require "string"
local coroutine = ... | apache-2.0 |
nasomi/darkstar | scripts/zones/Lower_Jeuno/npcs/Faursel.lua | 38 | 7011 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Faursel
-- Type: Aht Urhgan Quest NPC
-- Involved in Quests: The Road to Aht Urhgan
-- @pos 37.985 3.118 -45.208 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/setti... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Metalworks/npcs/Nogga.lua | 34 | 1203 | -----------------------------------
-- Area: Metalworks
-- NPC: Nogga
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Metalworks/TextIDs");
---... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Crawlers_Nest/npcs/qm4.lua | 14 | 1045 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Drown Crawler (Spawn area 2)
-- @pos -74.939 -2.606 244.139 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/Te... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Metalworks/npcs/Cid.lua | 17 | 11184 | -----------------------------------
-- Area: Metalworks
-- NPC: Cid
-- Starts & Finishes Quest: Cid's Secret, The Usual, Dark Puppet (start)
-- Involved in Mission: Bastok 7-1
-- @pos -12 -12 1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Walls/npcs/_6n8.lua | 17 | 1309 | -----------------------------------
-- Area: Windurst Walls
-- Door: Priming Gate
-- Involved in quest: Toraimarai Turmoil
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
-----------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ef.lua | 17 | 3319 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #2 (F out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
aikon-com-cn/NoxicDB | other/calendar_events/Brewfest/Brewfest/boss_coren_direbrew.lua | 2 | 2511 | local BOSS_DIREBREW = 23872
local NPC_ILSA = 26764
local NPC_URSULA = 26822
local NPC_MINION = 26776
local SPELL_DISARM = 47310
local SPELL_SUMMON_MINION = 47375
local self = getfenv(1)
function OnGossip(pUnit, event, pPlayer)
pUnit:GossipCreateMenu(15858, pPlayer, 0)
pUnit:GossipMenuAddItem(0, "Insult Coren Direb... | agpl-3.0 |
actboy168/YDWE | Development/Component/plugin/w3x2lni/script/core/slk/backend_wtg.lua | 2 | 5419 | local lang = require 'lang'
local w2l
local wtg
local wts
local state
local hex
local pack_eca
local CALL = lang.lml.CALL:match '^(.-)%s*$'
local DISABLE = lang.lml.DISABLE:match '^(.-)%s*$'
local PRESET = lang.lml.PRESET:match '^(.-)%s*$'
local VARIABLE = lang.lml.VARIABLE:match '^(.-)%s*$'
local CONSTANT = l... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Upper_Jeuno/npcs/Migliorozz.lua | 38 | 1033 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Migliorozz
-- Type: Standard NPC
-- @zone: 244
-- @pos -37.760 -2.499 12.924
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
----------------... | gpl-3.0 |
TeamHypersomnia/Augmentations | hypersomnia/content/official/gfx/console_light_3.meta.lua | 6 | 2024 | return {
extra_loadables = {
enabled_generate_neon_map = {
alpha_multiplier = 1,
amplification = 60,
light_colors = {
"95 205 228 255",
"0 211 255 255",
"0 255 255 255",
"0 255 255 255",
"0 255 255 255",
"92 172 172 255"
},
radius = {
... | agpl-3.0 |
dani-sj/abbasdani | plugins/music.lua | 19 | 2325 | do
-- Base search URL
local BASE_URL = 'http://pleer.com/mobile/search?q='
-- Base download URL
local BASE_DL_URL = 'http://pleer.com/mobile/files_mobile/'
local htmlparser = require 'htmlparser'
-- Provide download link
local function getDownloadLink(id)
return BASE_DL_URL .. id .. '.mp3'
end
... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Metalworks/npcs/Franziska.lua | 17 | 1172 | -----------------------------------
-- Area: Metalworks
-- NPC: Franziska
-- Type: Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
-------------------------------... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/tachi_gekko.lua | 30 | 1747 | -----------------------------------
-- Tachi Gekko
-- Great Katana weapon skill
-- Skill Level: 225
-- Silences target. Damage varies with TP.
-- Silence effect duration is 60 seconds when unresisted.
-- Will stack with Sneak Attack.
-- Tachi: Gekko has a high attack bonus of +100%. [1]
-- Aligned with the Aqua... | gpl-3.0 |
nasomi/darkstar | scripts/globals/effects/magic_shield.lua | 17 | 1752 | -----------------------------------
--
-- Magic Shield BLOCKS all magic attacks
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if (effect:get... | gpl-3.0 |
thesabbir/luci | modules/luci-mod-admin-full/luasrc/controller/admin/status.lua | 21 | 4404 | -- 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.
module("luci.controller.admin.status", package.seeall)
function index()
entry({"admin", "status"}, alias("admin", "status", "overview"), _("Status"), 20).ind... | apache-2.0 |
nasomi/darkstar | scripts/globals/abilities/devotion.lua | 44 | 1670 | -----------------------------------
-- Ability: Devotion
-- Sacrifices HP to grant a party member the same amount in MP.
-- Obtained: White Mage Level 75
-- Recast Time: 0:10:00
-- Duration: Instant
-- Target: Party member, cannot target self.
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Crawlers_Nest_[S]/Zone.lua | 28 | 1329 | -----------------------------------
--
-- Zone: Crawlers_Nest_[S] (171)
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Crawlers_Nest_[S]/TextIDs");
------... | gpl-3.0 |
dageq/Dage-Aliraqi | libs/fakeredis.lua | 650 | 40405 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-2.0 |
nasomi/darkstar | scripts/globals/items/ulbukan_lobster.lua | 18 | 1342 | -----------------------------------------
-- ID: 5960
-- Item: Ulbukan Lobster
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity -3
-- Vitality 1
-- Defense +9%
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
sugao516/gltron-code | scripts/menu.lua | 1 | 22666 | MainGameMenu = {
-- menu after startup
current = "RootMenu",
active = 1,
-- Menu definitions
RootMenu = { type = MenuC.type.menu, caption = "" },
GameMenu = { type = MenuC.type.menu, caption = "Game" },
ControlsMenu = { type = MenuC.type.menu, caption = "Controls" },
GameRulesMenu = { type = Me... | gpl-2.0 |
nasomi/darkstar | scripts/globals/items/demonic_sword.lua | 41 | 1080 | -----------------------------------------
-- ID: 16936
-- Item: Demonic Sword
-- Additional Effect: Darkness Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------------------------... | gpl-3.0 |
Maxsteam/99998888 | plugins/wiki.lua | 735 | 4364 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
amirik22/i4bot | plugins/wiki.lua | 735 | 4364 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
coolflyreg/gs | client/client.lua | 1 | 4196 | --package.cpath = "luaclib/?.so"
--package.path = "lualib/?.lua;examples/?.lua"
package.cpath = package.cpath .. ";../3rd/skynet/luaclib/?.so;../server/luaclib/?.so"
package.path = package.path .. ";../3rd/skynet/lualib/?.lua;../common/?.lua;../common/lualib/?.lua"
if _VERSION ~= "Lua 5.3" then
error "Use lua 5.3"
e... | gpl-2.0 |
MatthewDwyer/botman | mudlet/profiles/newbot/scripts/mysql.lua | 1 | 145002 | --[[
Botman - A collection of scripts for managing 7 Days to Die servers
Copyright (C) 2020 Matthew Dwyer
This copyright applies to the Lua source code in this Mudlet profile.
Email smegzor@gmail.com
URL http://botman.nz
Source https://bitbucket.org/mhdwyer/botman
--]]
--... | gpl-3.0 |
nico57c/love2d-lualib | LoveMenu/Menu.lua | 1 | 2524 | -- LovePage/Page.lua
module("LoveMenu.Menu", package.seeall)
require "LoveMenu/Page"
require "LoveMenu/PageObject"
require "Math/Position"
local Menu = {}
function Menu.initialize(id)
local obj = { id=id or nil, pages={}, mouseEnabled = true, hidden=false, customCursor=nil }
return Ncr7.tObject.New._object(Menu,... | mit |
nasomi/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/GentleTiger.lua | 31 | 1775 | ----------------------------------
-- Area: Bastok Markets [S]
-- NPC: GentleTiger
-- Type: Quest
-- @pos -203 -10 1
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
---... | gpl-3.0 |
nasomi/darkstar | scripts/globals/weaponskills/tachi_jinpu.lua | 30 | 1400 | -----------------------------------
-- 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.
-- Al... | gpl-3.0 |
minaevmike/rspamd | test/lua/unit/redis_stat.lua | 8 | 2126 |
context("Redis statistics unit tests", function()
local task = require("rspamd_task")
local ffi = require("ffi")
local rspamd_util = require("rspamd_util")
ffi.cdef[[
struct rspamd_statfile_config {
const char *symbol;
const char *label;
void *opts;
int is_spam;
const char *backend;
... | apache-2.0 |
actboy168/YDWE | Development/Component/script/ydwe/gui_thanks.lua | 2 | 5762 | local gui = require 'yue.gui'
local fontDefault = gui.app:getdefaultfont()
local fontName = fontDefault:getname()
local fontSize = fontDefault:getsize()
local function guiThanksMain(contentCallback)
local win = gui.Window.create { frame = false }
local view = gui.Container.create()
local caption = gui.Co... | gpl-3.0 |
nasomi/darkstar | scripts/globals/items/bunch_of_wild_pamamas.lua | 36 | 2224 | -----------------------------------------
-- ID: 4596
-- Item: Bunch of Wild Pamamas
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength -3
-- Intelligence 1
-- Additional Effect with Opo-Opo Crown
-- HP 50
-- MP 50
-- CHR 14
-- Additional Effect with Kinkobo or
-- Primate Staff
-- D... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Windurst_Waters/npcs/Jack_of_Hearts.lua | 35 | 1243 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jack of Hearts
-- Adventurer's Assistant
-- Working 100%
-------------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/zones/Windurst_Waters/TextIDs... | gpl-3.0 |
Etehadmarg/margbot | plugins/media.lua | 297 | 1590 | do
local function run(msg, matches)
local receiver = get_receiver(msg)
local url = matches[1]
local ext = matches[2]
local file = download_to_file(url)
local cb_extra = {file_path=file}
local mime_type = mimetype.get_content_type_no_sub(ext)
if ext == 'gif' then
print('send_file')
send_docum... | gpl-2.0 |
dani-sj/abbasdani | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
ioiasff/pqrw | libs/JSON.lua | 3765 | 34843 | -- -*- coding: utf-8 -*-
--
-- Simple JSON encoding and decoding in pure Lua.
--
-- Copyright 2010-2014 Jeffrey Friedl
-- http://regex.info/blog/
--
-- Latest version: http://regex.info/blog/lua/json
--
-- This code is released under a Creative Commons CC-BY "Attribution" License:
-- http://creativecommons.org/licenses... | gpl-2.0 |
nasomi/darkstar | scripts/zones/Ship_bound_for_Selbina/npcs/Maera.lua | 34 | 1355 | -----------------------------------
-- Area: Ship bound for Selbina
-- NPC: Maera
-- Type: Standard Merchant NPC
-- @pos -1.139 -2.101 -9.000 220
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Northern_San_dOria/npcs/Chapal-Afal_WW.lua | 30 | 4774 | -----------------------------------
-- Area: Northern Sand Oria
-- NPC: Chapal-Afal, W.W.
-- @pos -55 -2 31 231
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X St... | gpl-3.0 |
nasomi/darkstar | scripts/zones/QuBia_Arena/mobs/Maat.lua | 27 | 1127 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/QuBia_Arena/TextIDs");
-----------------------------------
-- o... | gpl-3.0 |
nasomi/darkstar | scripts/zones/RuLude_Gardens/npcs/Archanne.lua | 38 | 1047 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Archanne
-- Type: Event Scene Replayer
-- @zone: 243
-- @pos -54.104 10.999 -34.144
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
--... | gpl-3.0 |
adminerror/mmmmmm | plugins/ingroup.lua | 527 | 44020 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
jotson/1gam-jan2013 | zoetrope/core/class.lua | 4 | 2943 | -- Class: Class
-- This is a simple OOP single-inheritance implementation based
-- on the one suggested by <Programming in Lua at http://www.lua.org/pil/16.html>.
-- One big difference from what you may be expecting is that there are no
-- constructors per se; all subclasses share the same constructor method,
-- which ... | mit |
nasomi/darkstar | scripts/zones/Windurst_Walls/TextIDs.lua | 9 | 1405 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6543; -- Obtained:
ITEMS_OBTAINED = 6552; -- You obtain
GIL_OBTAINED = 6544;... | gpl-3.0 |
DevTeam-Co/maximus | plugins/tools.lua | 1 | 23186 | --Begin Tools.lua :)
local SUDO = 274807882 -- put Your ID here! <===
local function index_function(user_id)
for k,v in pairs(_config.admins) do
if user_id == v[1] then
print(k)
return k
end
end
-- If not found
return false
end
local function getindex(t,id)
for i,v in pairs(t) do
if v == i... | gpl-3.0 |
DarkSupremo/Multiplier | Workshop/base/game/dota_addons/power_multiplier/scripts/vscripts/lib/md5.lua | 7 | 9581 | local md5 = {
_VERSION = "md5.lua 0.5.0",
_DESCRIPTION = "MD5 computation in Lua (5.1)",
_URL = "https://github.com/kikito/md5.lua",
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota + Adam Baldwin + hanzao + Equi 4 Software
Permission is hereby granted, free of char... | gpl-3.0 |
nasomi/darkstar | scripts/zones/Ordelles_Caves/npcs/Ruillont.lua | 17 | 2186 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: Ruillont
-- Involved in Mission: The Rescue Drill
-- @pos -70 1 607 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions")... | gpl-3.0 |
nasomi/darkstar | scripts/zones/PsoXja/npcs/_09c.lua | 17 | 1614 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09c (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.