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
dtrip/awesome
tests/examples/awful/notification/box_corner.lua
5
1042
--DOC_HIDE --DOC_GEN_IMAGE --DOC_NO_USAGE local naughty = require("naughty") --DOC_HIDE screen[1]._resize {width = 640, height = 480} --DOC_HIDE require("_date") --DOC_HIDE require("_default_look") --DOC_HIDE local function ever_longer_messages(iter) --DOC_HIDE local ret = "content! " --DOC_HIDE for _=1, iter...
gpl-2.0
nyczducky/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ryo.lua
30
1239
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ryo -- Type: ZNM assistant -- @pos -127.086 0.999 22.693 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/T...
gpl-3.0
xamgeis/project_vulcan
models/openface/resnet1.def.lua
14
5514
-- Model: resnet1.def.lua -- Description: ResNet model for face recognition with OpenFace, v1. -- Input size: 3x96x96 -- Number of Parameters from net:getParameters() with embSize=128: TODO -- Components: Mostly `nn` -- Devices: CPU and CUDA -- -- Brandon Amos <http://bamos.github.io> -- 2016-06-19 -- -- Copyright 2016...
apache-2.0
nyczducky/darkstar
scripts/zones/Western_Adoulin/npcs/Theophylacte.lua
14
1284
----------------------------------- -- Area: Western Adoulin -- NPC: Theophylacte -- Type: Shop NPC -- @zone 256 -- @pos 154 4 -33 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scr...
gpl-3.0
HalosGhost/irc_bot
src/plugins/play.lua
1
6015
-- fun but pointless games local modules = modules local invalid_num = function (n) return not (math.type(n) == 'integer' and n >= 1) end local plugin = {} plugin.commands = {} plugin.commands.test = function (args) local _, _, message = args.message:find('test%s+(.*)') local prob = math.random() l...
gpl-2.0
nyczducky/darkstar
scripts/commands/exec.lua
54
1121
--------------------------------------------------------------------------------------------------- -- func: exec -- desc: Allows you to execute a Lua string directly from chat. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 4, para...
gpl-3.0
TheHipster/cwlourp
plugins/books/plugin/items/sh_book_ha.lua
1
2664
--[[ © 2013 CloudSixteen.com do not share, re-distribute or modify without permission of its author (kurozael@gmail.com). --]] ITEM = Clockwork.item:New("book_base"); ITEM.name = "Headcrab Anatomy"; ITEM.cost = 6; ITEM.model = "models/props_lab/binderredlabel.mdl"; ITEM.uniqueID = "book_ha"; ITEM.business ...
unlicense
ruleless/skynet
service/sharedatad.lua
23
2745
local skynet = require "skynet" local sharedata = require "sharedata.corelib" local table = table local NORET = {} local pool = {} local pool_count = {} local objmap = {} local function newobj(name, tbl) assert(pool[name] == nil) local cobj = sharedata.host.new(tbl) sharedata.host.incref(cobj) local v = { value =...
mit
jbeich/Aquaria
files/scripts/entities/roundvirus-bg.lua
6
2965
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/crab_stewpot.lua
12
1753
----------------------------------------- -- ID: 5544 -- Item: Crab Stewpot -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 50 -- MP +10 -- HP Recoverd while healing 5 -- MP Recovered while healing 1 -- Defense +20% Cap 50 -- Evasion +5 -------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Telepoint.lua
17
1706
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Eastern_Altepa_Desert/TextIDs");...
gpl-3.0
nyczducky/darkstar
scripts/zones/Nashmau/npcs/Yoyoroon.lua
17
1709
----------------------------------- -- Area: Nashmau -- NPC: Yoyoroon -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Nashmau/TextIDs"); require("scripts/globals/shop"); ---------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Al_Zahbi/npcs/Macici.lua
53
2304
----------------------------------- -- Area: Al Zahbi -- NPC: Macici -- Type: Smithing Normal/Adv. Image Support -- @pos -35.163 -1 -31.351 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scr...
gpl-3.0
ScottHamper/ChatSuey
ChatSuey-WebLinks/Main.lua
1
2482
local _G = getfenv(); local ChatSuey = _G.ChatSuey; local hooks = ChatSuey.HookTable:new(); local LS = ChatSuey.Locales[_G.GetLocale()].Strings; local DIALOG_NAME = "ChatSuey_WebLinkDialog"; local URL_PATTERN = "(|?%a[%w+.%-]-://[%w%-._~:/?#%[%]@!$&'()*+,;=%%]+)"; local LINK_COLOR = ChatSuey.Colors.TOKEN; local parse...
unlicense
ahmedjabbar/uor
plugins/supergroup.lua
7
104172
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] --...
gpl-2.0
nyczducky/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm8.lua
57
2181
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm8 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- @pos 105.275 -32 92.551 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
mynameiscraziu/mycaty
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
Shayan123456/bottttttt
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
nyczducky/darkstar
scripts/zones/Bastok_Mines/npcs/Proud_Beard.lua
17
1688
----------------------------------- -- Area: Bastok Mines -- NPC: Proud Beard -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); require("scripts/globals/events/harvest_...
gpl-3.0
nyczducky/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/Old_Casket.lua
14
1557
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Old casket -- Obtaining 'Paintbrush of Souls' -- @pos 61 0 17 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); req...
gpl-3.0
nyczducky/darkstar
scripts/zones/Lower_Jeuno/npcs/Chetak.lua
17
1423
----------------------------------- -- Area: Lower Jeuno -- NPC: Chetak -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- -- onTrade ...
gpl-3.0
nyczducky/darkstar
scripts/zones/Ranguemont_Pass/npcs/Perchond.lua
14
1698
----------------------------------- -- Area: Ranguemont Pass -- NPC: Perchond -- @pos -182.844 4 -164.948 166 ----------------------------------- package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); -----------------------------------...
gpl-3.0
oldstylejoe/vlc-timed
share/lua/playlist/koreus.lua
57
4037
--[[ Copyright © 2009 the VideoLAN team 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 2 of the License, or (at your option) any later version. This program is distributed in ...
gpl-2.0
nyczducky/darkstar
scripts/globals/weaponskills/stardiver.lua
22
1598
----------------------------------- -- Stardiver -- Polearm weapon skill -- Skill Level: MERIT -- Delivers a fourfold attack. Damage varies with TP. -- Will stack with Sneak Attack. reduces params.crit hit evasion by 5% -- Element: None -- Modifiers: STR:73~85% -- 100%TP 200%TP 300%TP -- 0.75 1.25 ...
gpl-3.0
nyczducky/darkstar
scripts/zones/Zeruhn_Mines/npcs/Zelman.lua
17
1793
----------------------------------- -- Area: Zeruhn Mines -- NPC: Zelman -- Involved In Quest: Groceries ----------------------------------- package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Zeruhn_Mines/TextIDs"); require("scripts/globals/keyitems")...
gpl-3.0
hadess/libquvi-scripts-iplayer
share/lua/website/redtube.lua
4
2325
-- libquvi-scripts -- Copyright (C) 2012 quvi project -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; ei...
lgpl-2.1
jbeich/Aquaria
files/scripts/maps/node_naija_openwaters.lua
6
1105
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
oldstylejoe/vlc-timed
share/lua/modules/dkjson.lua
95
25741
--[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.1* This module writes no global values, not even the module table. Import it using json = require ("dkjson") Exported functions and values: `json.encode (object [, state])` -------------------------------- ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Arrapago_Remnants/instances/arrapago_remnants.lua
29
3716
----------------------------------- -- -- Salvage: Arrapago Remnants -- ----------------------------------- require("scripts/globals/instance") package.loaded["scripts/zones/Arrapago_Remnants/IDs"] = nil; local Arrapago = require("scripts/zones/Arrapago_Remnants/IDs"); ----------------------------------- -- afterI...
gpl-3.0
JohnWich/MEGA-john-wich
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
moltafet35/senatorv2
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
forivall/dotfiles
wezterm.lua
1
1549
local wezterm = require 'wezterm'; return { default_prog = {"/usr/local/bin/zsh"}, freetype_load_target = "Light", freetype_load_flags = "NO_HINTING", font = wezterm.font("FantasqueSansMono Nerd Font", {}), font_size=12.24, line_height=1.1, font_antialias="Subpixel", color_scheme = "Tomorrow Night", -...
isc
hanikk/tele-you
plugins/weather.lua
274
1531
do local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) location = string.gsub(location," ","+") local url = BASE_URL url = url..'?q='..location url = url..'&units=metric' url = url..'&appid=bd82977b86bf27fb59a04b61b6...
gpl-2.0
vorbi123/x
plugins/add.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
naxiwer/Atlas
lib/admin-sql.lua
40
8858
--[[ $%BEGINLICENSE%$ Copyright (c) 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 distribut...
gpl-2.0
MasterKia/xyself
libs/redis.lua
566
1214
local Redis = require 'redis' local FakeRedis = require 'fakeredis' local params = { host = os.getenv('REDIS_HOST') or '127.0.0.1', port = tonumber(os.getenv('REDIS_PORT') or 6379) } local database = os.getenv('REDIS_DB') local password = os.getenv('REDIS_PASSWORD') -- Overwrite HGETALL Redis.commands.hgetall = ...
gpl-2.0
hanikk/tele-you
libs/redis.lua
566
1214
local Redis = require 'redis' local FakeRedis = require 'fakeredis' local params = { host = os.getenv('REDIS_HOST') or '127.0.0.1', port = tonumber(os.getenv('REDIS_PORT') or 6379) } local database = os.getenv('REDIS_DB') local password = os.getenv('REDIS_PASSWORD') -- Overwrite HGETALL Redis.commands.hgetall = ...
gpl-2.0
skaasj/MemNN
MemN2N-lang-model/main.lua
18
5587
-- Copyright (c) 2015-present, 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. require('xlua') r...
bsd-3-clause
nyczducky/darkstar
scripts/globals/spells/kurayami_ni.lua
27
1143
----------------------------------------- -- Spell: Kurayami:Ni ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
nyczducky/darkstar
scripts/zones/Waughroon_Shrine/bcnms/rank_2_mission.lua
26
2002
----------------------------------- -- Area: Waughroon Shrine -- Name: Mission Rank 2 -- @pos -345 104 -260 144 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); -------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Promyvion-Holla/mobs/Memory_Receptacle.lua
15
7516
----------------------------------- -- Area: Promyvion-Holla -- MOB: Memory Receptacle -- Todo: clean up disgustingly bad formatting ----------------------------------- package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil; ----------------------------------- require( "scripts/zones/Promyvion-Holla/TextIDs" );...
gpl-3.0
wenhulove333/ScutServer
Sample/Koudai/Client/lua/scenes/HeroLvUp.lua
1
14046
------------------------------------------------------------------ -- HeroLvUp.lua -- Author : Zonglin Liu -- Version : 1.0 -- Date : -- Description: Ó¶±øÉý¼¶ ------------------------------------------------------------------ module("HeroLvUp", package.seeall) require("layers.HeroLvUpChoiceL...
mit
nyczducky/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/mobs/Myxomycete.lua
13
2044
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- MOB: Myxomycete ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/globals/weather"); function onMobRoam(mob) local Noble_Mold = 17273278; local Noble_Mold_PH = 0; local Noble_Mold_PH_Tabl...
gpl-3.0
liloman/awesome
rc/widgets.lua
1
15422
-- Widgets local wibox=require("wibox") local vicious=require("vicious") local vlayout = require("wibox.layout") local common = require("awful.widget.common") local icons = loadrc("icons", "vbe/icons") local pomodoro = loadrc("pomodoro") pomodoro.init() -- Separators local sepopen = wibox.widget.imagebox(beautiful.icon...
gpl-2.0
nyczducky/darkstar
scripts/zones/Upper_Jeuno/npcs/_6s2.lua
14
4089
----------------------------------- -- Area: Upper Jeuno -- NPC: Galmut's door -- Starts and Finishes Quest: A Clock Most Delicate, Save the Clock Tower, The Clockmaster -- @zone 244 -- @pos -80 0 104 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; package.loaded["scripts/...
gpl-3.0
nyczducky/darkstar
scripts/zones/Abyssea-Misareaux/npcs/qm11.lua
14
1348
----------------------------------- -- Zone: Abyssea-Misareaux -- NPC: qm11 (???) -- Spawns Tuskertrap -- @pos ? ? ? 216 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/burning_blade.lua
23
1317
----------------------------------- -- Burning Blade -- Sword weapon skill -- Skill Level: 30 -- Desription: Deals Fire elemental damage to enemy. Damage varies with TP. -- Aligned with the Flame Gorget. -- Aligned with the Flame Belt. -- Element: Fire -- Modifiers: STR:20% ; INT:20% -- 100%TP 200%TP 300%TP -- 1....
gpl-3.0
nyczducky/darkstar
scripts/zones/Riverne-Site_B01/bcnms/storms_of_fate.lua
29
2594
----------------------------------- -- Area: Riverne Site #B01 -- Name: Storms of Fate -- @pos 299 -123 345 146 ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Riverne-Sit...
gpl-3.0
sjznxd/lc-20121231
applications/luci-tinyproxy/luasrc/model/cbi/tinyproxy.lua
80
7364
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-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 htt...
apache-2.0
nyczducky/darkstar
scripts/zones/The_Boyahda_Tree/mobs/Voluptuous_Vivian.lua
14
1126
----------------------------------- -- Area: The Boyahda Tree -- NM: Voluptuous Vivian (NM) ----------------------------------- require("scripts/zones/The_Boyahda_Tree/MobIDs"); require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize ----------------------------------- function on...
gpl-3.0
nyczducky/darkstar
scripts/zones/Abyssea-La_Theine/npcs/qm18.lua
14
1844
----------------------------------- -- Zone: Abyssea-LaTheine -- NPC: qm18 (???) -- Spawns Hadhayosh -- @pos ? ? ? 132 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action -----------------------------------...
gpl-3.0
yiliaofan/sha2
test_sha2.lua
9
1259
require 'luarocks.require' require 'sha2' require 'lfs' print(sha2._VERSION) sha = { SHA256 = sha2.sha256, SHA384 = sha2.sha384, SHA512 = sha2.sha512, } shahex = { SHA256 = sha2.sha256hex, SHA384 = sha2.sha384hex, SHA512 = sha2.sha512hex, } local function bintohex(s) return (s:gsub('(.)', function(c) retu...
mit
Goodzilam/Goodzila-bot_v1.3
plugins/inv.lua
46
1079
do local function callbackres(extra, success, result) local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then send_large_msg(chat, 'User is globaly banned.') ...
gpl-2.0
nyczducky/darkstar
scripts/zones/Toraimarai_Canal/npcs/Transporter.lua
14
1296
----------------------------------- -- Area: Toraimarai Canal -- NPC: Transporter -- Involved In Windurst Mission 7-1 -- @zone 169 -- @pos 182 11 -60 169 ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; require("scripts/zones/Toraimarai_Canal/TextIDs"); --------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Mount_Zhayolm/npcs/qm1.lua
30
1334
----------------------------------- -- Area: Mount Zhayolm -- NPC: ??? (Spawn Brass Borer(ZNM T1)) -- @pos 399 -27 120 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); require("scripts...
gpl-3.0
nyczducky/darkstar
scripts/zones/Lower_Jeuno/npcs/Ruslan.lua
14
2119
----------------------------------- -- Area: Lower Jeuno -- NPC: Ruslan -- Involved In Quest: Wondering Minstrel -- Working 100% -- @zone = 245 -- @pos = -19 -1 -58 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
nyczducky/darkstar
scripts/zones/Yhoator_Jungle/npcs/Telepoint.lua
17
1694
----------------------------------- -- Area: Yhoator Jungle -- NPC: Telepoint ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Yhoator_Jungle/TextIDs"); -------------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/weaponskills/shijin_spiral.lua
22
1836
----------------------------------- -- Shijin Spiral -- Hand-to-Hand weapon skill -- Skill Level: N/A -- Delivers a fivefold attack that Plagues the target. Chance of inflicting Plague varies with TP. -- In order to obtain Shijin Spiral, the quest Martial Mastery must be completed. -- Aligned with the Flame Gorget, Lig...
gpl-3.0
nyczducky/darkstar
scripts/zones/Rabao/npcs/Agado-Pugado.lua
14
5701
----------------------------------- -- Area: Rabao -- NPC: Agado-Pugado -- Starts and Finishes Quest: Trial by Wind -- @pos -17 7 -10 247 ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/g...
gpl-3.0
nyczducky/darkstar
scripts/zones/AlTaieu/mobs/Aw_euvhi.lua
21
1552
----------------------------------- -- Area: AlTaieu -- MOB: Aw_euvhi ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts/globals/keyitems"); ----------------------------------- -- on...
gpl-3.0
LexLoki/Udemy-LOVE_game_development
Snake/main.lua
1
1618
local snake = require 'snake' require 'audio' local cell_size = 32 local grid_size = {x=15,y=15} local world_size = {width = cell_size*grid_size.x,height = cell_size*grid_size.y} local origin local checkCollision local gameIsOver function love.load() love.graphics.setNewFont(14) audio.load() snake.load(cell_size)...
mit
mehrpouya81/giantbot
plugins/vote.lua
615
2128
do local _file_votes = './data/votes.lua' function read_file_votes () local f = io.open(_file_votes, "r+") if f == nil then print ('Created voting file '.._file_votes) serialize_to_file({}, _file_votes) else print ('Values loaded: '.._file_votes) f:close() end return loadfile (_file_votes)()...
gpl-2.0
dtrip/awesome
lib/wibox/widget/piechart.lua
2
7300
--------------------------------------------------------------------------- -- Display percentage in a circle. -- -- Note that this widget makes no attempts to prevent overlapping labels or -- labels drawn outside of the widget boundaries. -- --@DOC_wibox_widget_defaults_piechart_EXAMPLE@ -- @author Emmanuel Lepage Val...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/seito.lua
42
1047
----------------------------------------- -- ID: 17797 -- Item: Seito -- Additional Effect: Silence -- TODO: Enchantment: Ensilence ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------...
gpl-3.0
wenhulove333/ScutServer
Sample/Koudai/Client/lua/scenes/CompetitiveBattle.lua
1
3387
------------------------------------------------------------------ -- CompetitiveBattle.lua -- Author : Zonglin Liu -- Version : 1.0 -- Date : -- Description: ------------------------------------------------------------------ module("CompetitiveBattle", package.seeall) function setB...
mit
nyczducky/darkstar
scripts/zones/Spire_of_Holla/bcnms/ancient_flames_beckon.lua
29
4222
----------------------------------- -- Area: Spire_of_Holla -- Name: ancient_flames_backon -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scrip...
gpl-3.0
nyczducky/darkstar
scripts/zones/Kazham/npcs/Hozie_Naharaf.lua
17
1071
----------------------------------- -- Area: Kazham -- NPC: Hozie Naharaf -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- f...
gpl-3.0
ahmedjabbar/uor
plugins/help.lua
1
1104
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Ahmed < @ahmedjabbar1 > # our channel: @p444p # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] do l...
gpl-2.0
oldstylejoe/vlc-timed
share/lua/playlist/france2.lua
113
2115
--[[ $Id$ Copyright © 2008 the VideoLAN team Authors: Antoine Cellerier <dionoea at videolan dot org> 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 2 of the License, or (at ...
gpl-2.0
catinred2/some-mmorpg
server/test/test_srp.lua
8
1138
local skynet = require "skynet" local srp = require "srp" local function protect (...) local ok = pcall (...) assert (ok == false) end skynet.start (function () local I = "jintiao" local p = "123abc*()DEF" -- call at server side when user register new user protect (srp.create_verifier) protect (srp.create_ver...
mit
AquariaOSE/Aquaria
files/scripts/entities/vine.lua
5
2527
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
ichiinisanshi/Learning-with-Penny-the-Pony
tagalog_alphabet.lua
1
47692
local storyboard = require("storyboard") local scene = storyboard.newScene() local widget = require("widget") local external = require("external") function scene:willEnterScene( event ) local group = self.view storyboard.removeAll() storyboard.removeScene("balloonGame") end function scene:createScene( eve...
mit
nyczducky/darkstar
scripts/zones/Port_San_dOria/npcs/Nogelle.lua
16
2431
----------------------------------- -- Area: Port San d'Oria -- NPC: Nogelle -- Starts Lufet's Lake Salt ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_Jeuno/npcs/Sanosuke.lua
14
1563
----------------------------------- -- Area: Port Jeuno -- NPC: Sanosuke -- Involved in Quest: A Thief in Norg!? -- @pos -63 7 0 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zon...
gpl-3.0
nyczducky/darkstar
scripts/zones/Abyssea-Altepa/npcs/qm12.lua
10
1394
----------------------------------- -- Zone: Abyssea-Altepa -- NPC: qm12 (???) -- Spawns Dragua -- @pos ? ? ? 218 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- fun...
gpl-3.0
aminba/bot
plugins/weather.lua
11
1255
function get_weather(location) print("Finding weather in ", location) b, c, h = http.request("http://api.openweathermap.org/data/2.5/weather?q=" .. location .. "&units=metric") weather = json:decode(b) print("Weather returns", weather) local city = weather.name local country = weather.sys.country ...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Windurst_Walls/npcs/Tsuaora-Tsuora.lua
38
1043
----------------------------------- -- Area: Windurst Walls -- NPC: Tsuaora-Tsuora -- Type: Standard NPC -- @zone: 239 -- @pos 71.489 -3.418 -67.809 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ------...
gpl-3.0
Lord-Mohammad/uzzy
plugins/banhammer.lua
294
10470
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
noooway/love2d_arkanoid_tutorial
3-08_LifeAndNextLevelBonuses/balls.lua
8
9287
local vector = require "vector" local sign = math.sign or function(x) return x < 0 and -1 or x > 0 and 1 or 0 end local balls = {} balls.image = love.graphics.newImage( "img/800x600/ball.png" ) local x_tile_pos = 0 local y_tile_pos = 0 local tile_width = 18 local tile_height = 18 local tileset_width = 18 local tileset...
mit
Quenty/NevermoreEngine
src/scoredactionservice/src/Client/InputList/InputListScoreHelper.lua
1
2889
--[=[ Distributes the scored action to the correct providers based upon input mode @class InputListScoreHelper ]=] local require = require(script.Parent.loader).load(script) local BaseObject = require("BaseObject") local InputKeyMapList = require("InputKeyMapList") local InputKeyMapListUtils = require("InputKeyMapL...
mit
Quenty/NevermoreEngine
src/camera/src/Client/Utility/CameraFrame.lua
1
4515
--[=[ Represents a camera state at a certain point. Can perform math on this state. @class CameraFrame ]=] local require = require(script.Parent.loader).load(script) local QFrame = require("QFrame") local CameraFrame = {} CameraFrame.ClassName = "CameraFrame" CameraFrame.__index = CameraFrame --[=[ Constructs a ...
mit
ffxiphoenix/darkstar
scripts/zones/Dynamis-Tavnazia/bcnms/dynamis_Tavnazia.lua
16
1139
----------------------------------- -- Area: dynamis_Tavnazia -- Name: dynamis_Tavnazia ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[DynaTavnazia]UniqueID",player:getDynamisUniqueID(1289)); SetServerVariable...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/weaponskills/shadowstitch.lua
18
1531
----------------------------------- -- Shadowstitch -- Dagger weapon skill -- Skill level: 70 -- Binds target. Chance of binding varies with TP. -- Does stack with Sneak Attack. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: None -- Modifiers: CHR:100% -- 100%TP 200%TP 300%T...
gpl-3.0
ffxiphoenix/darkstar
scripts/zones/Den_of_Rancor/npcs/_4g6.lua
17
2120
----------------------------------- -- Area: Den of Rancor -- NPC: Lantern (SE) -- @pos -59 45 24 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/...
gpl-3.0
AfuSensi/Mr.Green-MTA-Resources
resources/[gameplay]/gcshop/items/coloredprojectiles/customcorona/customcorona_c_helper_functions.lua
4
4135
-- -- c_helper_functions.lua -- --------------------------------------------------------------------------------------------------- -- Version check --------------------------------------------------------------------------------------------------- function isMTAUpToDate() local mtaVer = getVersion().sortable -- out...
mit
Quenty/NevermoreEngine
src/playerthumbnailutils/src/Shared/PlayerThumbnailUtils.lua
1
2280
--[=[ Reimplementation of Player:GetUserThumbnailAsync but as a promise with retry logic. @class PlayerThumbnailUtils ]=] local require = require(script.Parent.loader).load(script) local Players = game:GetService("Players") local Promise = require("Promise") local MAX_TRIES = 5 local PlayerThumbnailUtils = {} ...
mit
bgarrels/vlc-2.1
share/lua/modules/simplexml.lua
103
3732
--[==========================================================================[ simplexml.lua: Lua simple xml parser wrapper --[==========================================================================[ Copyright (C) 2010 Antoine Cellerier $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> This progra...
gpl-2.0
azekillDIABLO/Voxellar
mods/NODES/xtend/xfurniture/system/get_nodes.lua
1
1427
local table_contains = function(table, element) for i,v in pairs(table) do if v == element then return true end end return false end local to_be_ignored = function(name) for _,regex in pairs(_xtend.v.xfurniture.blacklist) do if name:match(regex) ~= nil then return true end end ...
lgpl-2.1
ffxiphoenix/darkstar
scripts/zones/Rabao/npcs/Porter_Moogle.lua
41
1509
----------------------------------- -- Area: Rabao -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 247 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Rabao/TextIDs"); require("scripts/gl...
gpl-3.0
RockySeven3161/POWERNEW
plugins/id.lua
12
5756
--[[ Print user identification/informations by replying their post or by providing their username or print_name. !id <text> is the least reliable because it will scan trough all of members and print all member with <text> in their print_name. chat_info can be displayed on group, send it into PM, or save as file then...
gpl-2.0
Quenty/NevermoreEngine
src/deathreport/src/Server/Stats/PlayerKillTrackerAssigner.lua
1
2240
--[=[ @class PlayerKillTrackerAssigner ]=] local require = require(script.Parent.loader).load(script) local Players = game:GetService("Players") local BaseObject = require("BaseObject") local Maid = require("Maid") local PlayerKillTrackerUtils = require("PlayerKillTrackerUtils") local DeathReportBindersServer = req...
mit
guker/nn
SpatialFullConvolution.lua
42
1589
local SpatialFullConvolution, parent = torch.class('nn.SpatialFullConvolution','nn.Module') function SpatialFullConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH) parent.__init(self) dW = dW or 1 dH = dH or 1 self.nInputPlane = nInputPlane self.nOutputPlane = nOutputPlane self.kW = kW ...
bsd-3-clause
ffxiphoenix/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Coffer.lua
17
4063
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Treasure Coffer -- @zone 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/pets.lua
37
36137
----------------------------------- -- -- PETS ID -- ----------------------------------- ----------------------------------- -- PETTYPE ----------------------------------- PETTYPE_AVATAR = 0; PETTYPE_WYVERN = 1; PETTYPE_JUGPET = 2; PETTYPE_CHARMED_MOB = 3; PETTYPE...
gpl-3.0
azekillDIABLO/Voxellar
mods/NODES/stairs/init.lua
1
14778
-- Minetest 0.4 mod: stairs -- See README.txt for licensing and other information. -- Global namespace for functions stairs = {} -- Register aliases for new pine node names minetest.register_alias("stairs:stair_pinewood", "stairs:stair_pine_wood") minetest.register_alias("stairs:slab_pinewood", "stairs:slab_pine_...
lgpl-2.1
ffxiphoenix/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Kabihyam.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Kabihyam -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
ffxiphoenix/darkstar
scripts/globals/items/bastore_sardine.lua
18
1337
----------------------------------------- -- ID: 5792 -- Item: Bastore Sardine -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
bgarrels/vlc-2.1
share/lua/playlist/pluzz.lua
105
3740
--[[ $Id$ Copyright © 2011 VideoLAN Authors: Ludovic Fauvet <etix at l0cal dot com> 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 2 of the License, or (at your option) any l...
gpl-2.0
ayub-mahabadi/anti-spam-bot
plugins/clash.lua
3
3062
--[[ # # @GPMod # @dragon_born # ]] local apikey = 'Enter Your Clash API here' local function run(msg, matches) if matches[1]:lower() == 'clan' or matches[1]:lower() == 'clash' or matches[1]:lower() == 'clantag' or matches[1]:lower() == 'tag' then local clantag = matches[2] if string.match(matches[2],...
gpl-2.0
ffxiphoenix/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Geltpix.lua
36
1165
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Geltpix -- @zone 80 -- @pos 154 -2 103 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); -------------------------------...
gpl-3.0