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 |
|---|---|---|---|---|---|
Jumpscale/jumpscale6_core | lib/JumpScale/baselib/jobhander/job.lua | 1 | 1107 | local jobraw=ARGV[2]
if redis.call("HEXISTS", "job.objects",ARGV[1])==1 then
local job=cjson.decode()
local jobrawdb=redis.call("HGET", "job.objects",ARGV[1])
local jobdb=cjson.decode(jobrawdb)
job["lasttime"]=job["epoch"]
job["epoch"]=jobdb["epoch"]
redis.call("HSET", "job.objects",ARGV[1],jobraw... | bsd-2-clause |
Kosmos82/kosmosdarkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Disserond_RK.lua | 13 | 1082 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Disserond, R.K.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos 76.178 -60.763 -48.775
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]... | gpl-3.0 |
hawkthorne/hawkthorne-client-lua | src/nodes/projectile.lua | 1 | 10441 | local anim8 = require 'vendor/anim8'
local game = require 'game'
local utils = require 'utils'
local Timer = require 'vendor/timer'
local window = require 'window'
local Player = require 'player'
local sound = require 'vendor/TEsound'
local Projectile = {}
Projectile.__index = Projectile
Projectile.isProjectile = true... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/West_Ronfaure/npcs/qm1.lua | 13 | 1477 | -----------------------------------
-- Area: West Ronfaure
-- NPC: qm1 (???)
-- Involved in Quest: The Dismayed Customer
-- @pos -453 -20 -230 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings"... | gpl-3.0 |
mahdib9/kp | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
shahabsaf1/MEGA-SATAN | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Metalworks/npcs/Raibaht.lua | 26 | 3265 | -----------------------------------
-- Area: Metalworks
-- NPC: Raibaht
-- Starts and Finishes Quest: Dark Legacy
-- Involved in Quest: The Usual, Riding on the Clouds
-- @pos -27 -10 -1 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/abilities/light_maneuver.lua | 35 | 1609 | -----------------------------------
-- Ability: Light Maneuver
-- Enhances the effect of light attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/mobskills/Turbofan.lua | 33 | 1281 | ---------------------------------------------------
-- Turbofan
-- Description:
-- Type: Magical
-- additional effect : Silence.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Hall_of_the_Gods/Zone.lua | 30 | 1883 | -----------------------------------
--
-- Zone: Hall_of_the_Gods (251)
--
-----------------------------------
package.loaded["scripts/zones/Hall_of_the_Gods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Hall_of_the_Gods/TextIDs");
--------------------... | gpl-3.0 |
mynameiscraziu/body | plugins/nerkh.lua | 4 | 173992 | do
function run(msg, matches)
return "fuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuckfuc... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Bastok_Mines/npcs/Deadly_Spider.lua | 33 | 1388 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Deadly Spider
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Bastok_Mines/Tex... | gpl-3.0 |
codeaudit/neuralart | models/vgg19.lua | 14 | 2853 | --
-- VGG-19 model (http://arxiv.org/abs/1409.1556)
-- Max pooling layers have been replaced with average pooling
--
function create_vgg(weights_file, backend)
local nnlib
local lrn -- local response normalization module
if backend == 'cudnn' then
require 'cudnn'
print('using cudnn backen... | mit |
firebaugh/Digitowls | WebotsController/Player.old/Lib/WebotsNaoGameControl.lua | 8 | 2832 | module(..., package.seeall);
require('controller')
require('GameControlPacket')
require('Config')
require('vector')
require('util')
require('gcm')
require('Speak')
require('Comm')
teamNumber = Config.game.teamNumber;
playerID = gcm.get_team_player_id();
teamIndex = 0;
nPlayers = Config.game.nPlayers;
teamColor = -1;... | gpl-3.0 |
harveyhu2012/luci | applications/luci-statistics/luasrc/statistics/rrdtool.lua | 69 | 15320 | --[[
Luci statistics - rrdtool interface library / diagram model interpreter
(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 License at
... | apache-2.0 |
squeek502/luvit | deps/timer.lua | 3 | 6241 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
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 required by applicable law o... | apache-2.0 |
Kosmos82/kosmosdarkstar | scripts/globals/mobskills/Mijin_Gakure.lua | 7 | 1342 | ---------------------------------------------------
-- Mijin Gakure
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(targe... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/weaponskills/tachi_yukikaze.lua | 11 | 1731 | -----------------------------------
-- 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://www.b... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/bowl_of_seafood_stew.lua | 18 | 1455 | -----------------------------------------
-- ID: 4561
-- Item: Bowl of Seafood Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 1
-- Vitality 5
-- Defense % 25
-- Defense Cap 120
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Temple_of_Uggalepih/npcs/_4fz.lua | 13 | 1510 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- Leads to painbrush room @ F-7
-- @pos 60 0.1 8 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
re... | gpl-3.0 |
dtsund/dtsund-crawl-mod | source/contrib/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Lower_Jeuno/npcs/Alrauverat.lua | 14 | 3677 | -----------------------------------
-- Area: Lower Jeuno
-- NPC:Alrauverat
-- @pos -101 0 -182 245
-------------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scrip... | gpl-3.0 |
Igalia/snabb | lib/luajit/testsuite/test/trace/phi/rotate.lua | 6 | 4635 | do --- rot8
local function rot8r(n)
local a,b,c,d,e,f,g,h=1,2,3,4,5,6,7,8
for x=1,n do
a,b,c,d,e,f,g,h=h,a,b,c,d,e,f,g
end
return table.concat{a,b,c,d,e,f,g,h}
end
local function rot8l(n)
local a,b,c,d,e,f,g,h=1,2,3,4,5,6,7,8
for x=1,n do
a,b,c,d,e,f,g,h=b,c,d,e,f,g,h,a
en... | apache-2.0 |
Nax/citizenhack | dat/tower2.lua | 1 | 1532 | -- NetHack 3.7 tower.des $NHDT-Date: 1432512784 2015/05/25 00:13:04 $ $NHDT-Branch: master $:$NHDT-Revision: 1.9 $
-- Copyright (c) 1989 by Jean-Christophe Collet
-- NetHack may be freely redistributed. See license for details.
--
des.level_init({ style = "solidfill", fg = " " });
des.level_flags("mazelevel", "notel... | mit |
april-org/april-ann | profile_build_scripts/build_debug_mkl.lua | 3 | 3144 | dofile("luapkg/formiga.lua")
local postprocess = dofile("luapkg/postprocess.lua")
formiga.build_dir = "build_debug_mkl"
local packages = dofile "profile_build_scripts/package_list.lua"
-- table.insert(packages, "rlcompleter") -- AUTOCOMPLETION => needs READLINE
local metadata = dofile "profile_build_scripts/METADATA.l... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Water.lua | 13 | 2386 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Water
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles"... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Southern_San_dOria/npcs/Diary.lua | 13 | 2150 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Diary
-- Involved in Quest: To Cure a Cough
-- @zone 230
-- @pos -75 -12 65
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Valley_of_Sorrows/npcs/Field_Manual.lua | 29 | 1049 | -----------------------------------
-- Area: Valley of Sorrows
-- Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------------... | gpl-3.0 |
Nax/citizenhack | dat/earth.lua | 1 | 6185 | -- NetHack 3.7 endgame.des $NHDT-Date: 1546303680 2019/01/01 00:48:00 $ $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.14 $
-- Copyright (c) 1989 by Jean-Christophe Collet
-- Copyright (c) 1992,1993 by Izchak Miller, David Cohrs,
-- and Timo Hakulinen
-- NetHack may be freely redistributed... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Dynamis-Xarcabard/mobs/Tombstone_Prototype.lua | 6 | 1247 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Tombstone Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zo... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Dynamis-Bastok/npcs/qm1.lua | 13 | 1302 | -----------------------------------
-- Area: Dynamis Bastok
-- NPC: qm1 (???)
-- Notes: Spawns when Megaboss is defeated
-----------------------------------
package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/D... | gpl-3.0 |
ZDragonKNight/ZZZZ | plugins/time.lua | 94 | 3004 | -- 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 |
Kosmos82/kosmosdarkstar | scripts/globals/weaponskills/earth_crusher.lua | 11 | 1287 | -----------------------------------
-- Earth Crusher
-- Staff weapon skill
-- Skill Level: 70
-- Delivers an area of effect earth elemental attack. Damage varies with TP.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
-- Element: Earth
-- Modifiers: STR:30% ; INT:30%... | gpl-3.0 |
King098/LuaFramework-ToLua-FairyGUI | LuaEncoder/luajit_ios/x86_64/jit/bc.lua | 78 | 5620 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
Kosmos82/kosmosdarkstar | scripts/globals/items/silken_siesta.lua | 18 | 1238 | -----------------------------------------
-- ID: 5626
-- Item: Silken Siesta
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recoverd while healing 2
-- MP Recovered while healing 5
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
crazyhamedboy/123123 | plugins/sudoers.lua | 86 | 2292 | 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 |
Kosmos82/kosmosdarkstar | scripts/zones/Windurst_Waters/npcs/Moari-Kaaori.lua | 12 | 3975 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Moari-Kaaori
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/quests");
r... | gpl-3.0 |
aStonedPenguin/fprp | gamemode/modules/sleep/sv_sleep.lua | 1 | 6043 | -- very old sleep module
local KnockoutTime = 5
local function ResetKnockouts(player)
player.SleepRagdoll = nil
player.KnockoutTimer = 0
end
hook.Add("PlayerSpawn", "Knockout", ResetKnockouts);
local function stopSleep(ply)
if ply.Sleeping then
fprp.toggleSleep(ply, "force");
end
end
function fprp.toggleSleep(... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Kazham/npcs/Nti_Badolsoma.lua | 15 | 1053 | -----------------------------------
-- Area: Kazham
-- NPC: Nti Badolsoma
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Monarch_Linn/bcnms/ancient_vows.lua | 13 | 1921 | -----------------------------------
-- Area: Monarch Linn
-- Name: Ancient Vows
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/missions");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
end;
-- Physically entering the ... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/RuAun_Gardens/npcs/relic.lua | 13 | 1848 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: <this space intentionally left blank>
-- @pos -241 -12 332 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
-----... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/spells/blade_madrigal.lua | 27 | 1568 | -----------------------------------------
-- Spell: Blade Madrigal
-- Gives party members accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/North_Gustaberg/TextIDs.lua | 15 | 1306 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED_TWICE = 6559; -- You cannot obtain the item <item>.
ITEM_CANNOT_BE_OBTAINED = 6560; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6564; -- You cannot obtain the #. Try tr... | gpl-3.0 |
april-org/april-ann | tools/HMM_ANN/recognition/recog.lua | 3 | 43589 | dir = string.gsub(arg[0], string.basename(arg[0]), "")
dir = (dir~="" and dir) or "./"
loadfile(dir .. "utils.lua")()
fprintf(io.stderr,"# HOST:\t %s\tload avg: %s\n",
(io.popen("hostname", "r"):read("*l")),
(io.open("/proc/loadavg"):read("*l")))
fprintf(io.stderr,"# DATE:\t %s\n", (io.popen("date", "r"):read("*l"))... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Full_Moon_Fountain/npcs/Moon_Spiral.lua | 27 | 1442 | -----------------------------------
-- Area: Full Moon Fountain
-- NPC: Moon Spiral
-- Involved in Quests: The Moonlit Path
-- @pos -302 9 -260 170
-----------------------------------
package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm"... | gpl-3.0 |
justincormack/snabbswitch | lib/ljsyscall/syscall/linux/mips/constants.lua | 24 | 9285 | -- mips specific constants
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local h = require "syscall.helpers... | apache-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Ceizak_Battlegrounds/npcs/HomePoint#1.lua | 27 | 1286 | -----------------------------------
-- Area: Ceizak Battlegrounds
-- NPC: HomePoint#1
-- @pos -107 3.2 295 261
-----------------------------------
package.loaded["scripts/zones/Ceizak_Battlegrounds/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Ceizak_Battlegrounds/TextIDs");
require("s... | gpl-3.0 |
tinymins/MY | MY_LifeBar/src/MY_LifeBar.lua | 1 | 33870 | --------------------------------------------------------
-- This file is part of the JX3 Mingyi Plugin.
-- @link : https://jx3.derzh.com/
-- @desc : ±âƽѪÌõ
-- @author : ÜøÒÁ @Ë«ÃÎÕò @×··çõæÓ°
-- @modifier : Emil Zhai (root@derzh.com)
-- @copyright: Copyright (c) 2013 EMZ Kingsoft Co., Ltd.
-----------------... | bsd-3-clause |
ahmed-jasim/alobaidy | plugins/taks.lua | 3 | 1481 | do
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather"
local function get_weather(location)
print("Finding weather in ", location)
local url = BASE_URL
url = url..'?q='..location..'&APPID=5f5d8da1984bd84dcff8ee7cb1abebb5'
url = url..'&units=metric'
local b, c, h = http.request(url)
if c ~= ... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Port_San_dOria/npcs/HomePoint#3.lua | 27 | 1266 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#3
-- @pos -6 -13 -150 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/home... | gpl-3.0 |
hawkthorne/hawkthorne-client-lua | src/positions/abed.lua | 2 | 3081 | return {
hand_left = {
{ {6, 38}, {-8, 34}, {1, 38}, {12, 35}, {6, 38}, {6, 38}, {14, 29}, {6, 38}, {-5, 29}, },
{ {6, 38}, {-14, 34}, {4, 37}, {8, 34}, {6, 38}, {6, 38}, {13, 26}, {6, 38}, {10, 33}, },
{ {7, 38}, {8, 34}, {7, 36}, {12, 31}, {-8, 38}, {-1, 38}, {14, 29}, {14, 29}, {6, 31}, },
... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Ship_bound_for_Selbina/npcs/Maera.lua | 13 | 1343 | -----------------------------------
-- 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/globals/setti... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/rabbit_pie.lua | 18 | 1844 | -----------------------------------------
-- ID: 5685
-- Item: rabbit_pie
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Strength 5
-- Vitality 5
-- Attack 25% (caps @ 100)
-- Ranged Attack 25% (caps @ 100)
-- Defense 25% (caps @ 100)
-- Intelligence -2
-------------------------------... | gpl-3.0 |
King098/LuaFramework-ToLua-FairyGUI | LuaEncoder/luajit_ios/x86/jit/dis_ppc.lua | 78 | 20318 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Mhaura/npcs/Pikini-Mikini.lua | 13 | 1471 | -----------------------------------
-- Area: Mhaura
-- NPC: Pikini-Mikini
-- Standard Merchant NPC
-- @pos -48 -4 30 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Mha... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Arrapago_Reef/npcs/qm3.lua | 30 | 1351 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (Spawn Zareehkl the Jubilant(ZNM T2))
-- @pos 176 -4 182 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
require... | gpl-3.0 |
aqasaeed/fixed | plugins/ingroup.lua | 10 | 39219 | 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 |
april-org/april-ann | packages/basics/stats/test/test-gs-pca.lua | 3 | 4018 | local check = utest.check
local T = utest.test
--
local base_dir = string.get_path(arg[0])
--------------------------------------------------------------------------
local ok,m = pcall(matrix.fromTabFilename, "/tmp/sample.txt.gz")
if not ok then
ok=os.execute("curl --connect-timeout 60 -0 http://cafre.dsic.upv.es:... | gpl-3.0 |
AmirPGA/AmirPGA | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
ld-test/hdf5 | gcc-lua/test/tree-cp.lua | 5 | 4248 | --
-- Lua plugin for the GNU Compiler Collection.
-- Copyright © 2012–2015 Peter Colberg.
-- Distributed under the MIT license. (See accompanying file LICENSE.)
--
local gcc = require("gcc")
local test = {}
gcc.set_asm_file_name(gcc.HOST_BIT_BUCKET)
gcc.register_callback(gcc.PLUGIN_FINISH_UNIT, function()
local v... | mit |
martin-traverse/premake-core | tests/actions/make/workspace/test_group_rule.lua | 16 | 1141 | --
-- tests/actions/make/workspace/test_group_rule.lua
-- Validate generation of group rules
-- Copyright (c) 2012-2015 Jason Perkins and the Premake project
--
local suite = test.declare("make_group_rule")
local make = premake.make
--
-- Setup/teardown
--
local wks
function suite.setup()
wks = test.createWo... | bsd-3-clause |
Kosmos82/kosmosdarkstar | scripts/zones/Northern_San_dOria/npcs/Greubaque.lua | 53 | 1967 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Greubaque
-- Type: Smithing Adv. Synthesis Image Support
-- @pos -179.400 10.999 150.000 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fm.lua | 13 | 2638 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: East Plate
-- @pos 210 -32 25 195
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-- ... | gpl-3.0 |
Basylle/wow-battle-res | BResAssist/Libs/AceGUI-3.0/AceGUI-3.0.lua | 47 | 23674 | --- **AceGUI-3.0** provides access to numerous widgets which can be used to create GUIs.
-- AceGUI is used by AceConfigDialog to create the option GUIs, but you can use it by itself
-- to create any custom GUI. There are more extensive examples in the test suite in the Ace3
-- stand-alone distribution.
--
-- **Note**:... | mit |
ychoucha/minetest-game-mineclone | mods/beds/init.lua | 4 | 7785 | local player_in_bed = 0
local guy
local hand
local old_yaw = 0
local function get_dir(pos)
local btop = "beds:bed_top"
if minetest.env:get_node({x=pos.x+1,y=pos.y,z=pos.z}).name == btop then
return 7.9
elseif minetest.env:get_node({x=pos.x-1,y=pos.y,z=pos.z}).name == btop then
return 4.75
elseif min... | lgpl-2.1 |
Kosmos82/kosmosdarkstar | scripts/zones/Eastern_Adoulin/Zone.lua | 16 | 1192 | -----------------------------------
--
-- Zone: Eastern Adoulin
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/zones/Eastern_Adoulin/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Metalworks/npcs/Lorena.lua | 13 | 2543 | -----------------------------------
-- Area: Metalworks
-- NPC: Lorena
-- Type: Blacksmithing Guildworker's Union Representative
-- @zone: 237
-- @pos -104.990 1 30.995
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zones/Metalworks/TextIDs");
requir... | gpl-3.0 |
vinzenz/premake | tests/actions/vstudio/test_vs200x_vcproj.lua | 1 | 12940 | --
-- tests/test_vs200x_vcproj.lua
-- Automated test suite for Visual Studio 2002-2008 C/C++ project generation.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.vs200x_vcproj = { }
local suite = T.vs200x_vcproj
--
-- Configure a solution for testing
--
local sln, prj
function suite.setup()
_A... | gpl-2.0 |
Igalia/snabb | lib/luajit/src/host/genlibbc.lua | 37 | 4965 | ----------------------------------------------------------------------------
-- Lua script to dump the bytecode of the library functions written in Lua.
-- The resulting 'buildvm_libbc.h' is used for the build process of LuaJIT.
----------------------------------------------------------------------------
-- Copyright (... | apache-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Castle_Oztroja/npcs/_47j.lua | 13 | 1608 | -----------------------------------
-- 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("scripts/... | gpl-3.0 |
King098/LuaFramework-ToLua-FairyGUI | Assets/LuaFramework/ToLua/Lua/protobuf/protobuf.lua | 8 | 36644 | --
--------------------------------------------------------------------------------
-- FILE: protobuf.lua
-- DESCRIPTION: protoc-gen-lua
-- Google's Protocol Buffers project, ported to lua.
-- https://code.google.com/p/protoc-gen-lua/
--
-- Copyright (c) 2010 , 林卓毅 (Zhuoyi Lin) netsnail@gmail.com
-- ... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Altar_Room/npcs/Hooknox.lua | 13 | 1048 | -----------------------------------
-- Area: Altar Room
-- NPC: Hooknox
-- Type: Standard NPC
-- @zone: 152
-- @pos -265.248 11.693 -102.547
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
----------------... | gpl-3.0 |
hadow/OpenRA | lua/sandbox.lua | 84 | 5098 | local sandbox = {
_VERSION = "sandbox 0.5",
_DESCRIPTION = "A pure-lua solution for running untrusted Lua code.",
_URL = "https://github.com/kikito/sandbox.lua",
_LICENSE = [[
MIT LICENSE
Copyright (c) 2013 Enrique García Cota
Permission is hereby granted, free of charge, to an... | gpl-3.0 |
april-org/april-ann | packages/ann/optimizer/lua_src/optimizer_rprop.lua | 3 | 5067 | local assert = assert
local ipairs = ipairs
local math = math
local pairs = pairs
local string = string
local table = table
local type = type
--
local april_assert = april_assert
local get_table_fields = get_table_fields
local iterator = iterator
local mop = matrix.op
local md = matrix.dict
local MAX_UPDATES_WITHOUT_P... | gpl-3.0 |
aqasaeed/fixed | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/globals/spells/deodorize.lua | 27 | 1133 | -----------------------------------------
-- Spell: Deodorize
-- Lessens chance of being detected by smell.
-- Duration is random number between 30 seconds and 5 minutes
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
squeek502/luvit | tests/test-process.lua | 8 | 4086 | local spawn = require('childprocess').spawn
local los = require('los')
local net = require('net')
local uv = require('uv')
require('tap')(function(test)
test('process getpid', function()
p('process pid', process.pid)
assert(process.pid)
end)
test('process argv', function()
p('process argv', process... | apache-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua | 17 | 1689 | -----------------------------------
-- Area: Port Windurst
-- NPC: Hohbiba-Mubiba
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs"... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Port_Bastok/npcs/Gudav.lua | 12 | 1990 | -----------------------------------
-- Area: Port Bastok
-- NPC: Gudav
-- Starts Quests: A Foreman's Best Friend
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
re... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Open_sea_route_to_Al_Zahbi/npcs/Cehn_Teyohngo.lua | 13 | 1212 | -----------------------------------
-- Area: Open sea route to Al Zahbi
-- NPC: Cehn Teyohngo
-- Guild Merchant NPC: Fishing Guild
-- @zone 4.986 -2.101 -12.026 46
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
gulafaran/awesome | src/lib/awful/prompt.lua | 1 | 20447 | ---------------------------------------------------------------------------
-- @author Julien Danjou <julien@danjou.info>
-- @copyright 2008 Julien Danjou
-- @release @AWESOME_VERSION@
---------------------------------------------------------------------------
-- Grab environment we need
local assert = assert
lo... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/plate_of_coeurl_sautee.lua | 18 | 1759 | -----------------------------------------
-- ID: 4548
-- Item: plate_of_coeurl_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 20
-- Attack Cap 75
-- Ranged ATT % 20
-- Ranged ATT Cap 75
-- Stun Resist 5
-----------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Silver_Sea_route_to_Al_Zahbi/npcs/Shadeeu.lua | 13 | 1142 | -----------------------------------
-- Area: Silver_Sea_route_to_Al_Zahbi
-- NPC: Shadeeu
-- Notes: Tells ship ETA time
-- @pos 0.340 -12.232 -4.120 58
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Abyssea-Tahrongi/npcs/Cavernous_Maw.lua | 29 | 1190 | -----------------------------------
-- Area: Abyssea - Tahrongi
-- NPC: Cavernous Maw
-- @pos -31.000, 47.000, -681.000 45
-- Teleports Players to Tahrongi Canyon
-----------------------------------
package.loaded["scripts/zones/Abyssea-Tahrongi/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/weaponskills/blade_metsu.lua | 7 | 2014 | -----------------------------------
-- Blade Metsu
-- Katana weapon skill
-- Skill Level: N/A
-- Additional effect: Paralysis
-- Hidden effect: temporarily enhances Subtle Blow effect.
-- One hit weapon skill, despite non single-hit animation.
-- This weapon skill is only available with the stage 5 relic Katana Kikoku ... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Al_Zahbi/npcs/Opococo.lua | 13 | 1028 | ----------------------------------
-- Area: Al Zahbi
-- NPC: Opococo
-- Type: Item Deliverer
-- @zone: 48
-- @pos -24.702 0 -139.982
--
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Windurst_Waters_[S]/npcs/Wenonah_CA.lua | 13 | 1067 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Wenonah, C.A.
-- Type: Campaign Arbiter
-- @zone: 94
-- @pos -2.175 -2 10.184
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Windurst_Waters/Zone.lua | 24 | 3310 | -----------------------------------
--
-- Zone: Windurst_Waters (238)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/events/harvest_festivals");
require("... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/AlTaieu/mobs/Jailer_of_Prudence.lua | 7 | 3140 | -----------------------------------
-- Area: Al'Taieu
-- NM: Jailer of Prudence
-- IDs: 16912846, 16912847
-- AnimationSubs: 0 - Normal, 3 - Mouth Open
-- Wiki: http://ffxiclopedia.wikia.com/wiki/Jailer_of_Prudence
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/AlTaieu/m... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle.lua | 38 | 1029 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Achtelle
-- @zone 80
-- @pos 108 2 -11
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----------------------------------
-... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/vongola_clam.lua | 18 | 1673 | -----------------------------------------
-- ID: 5131
-- Item: Vongola Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 4
-- Defense +17% - 50 Cap
-- HP 5% - 50 Cap
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/prime_beef_stewpot.lua | 18 | 1971 | -----------------------------------------
-- ID: 5548
-- Item: Prime Beef Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 75
-- MP +15
-- Strength +2
-- Agility +1
-- Mind +1
-- HP Recovered while healing +7
-- MP Recovered while healing +2
-- Atta... | gpl-3.0 |
King098/LuaFramework-ToLua-FairyGUI | LuaEncoder/luajit_ios/x86/jit/v.lua | 78 | 5755 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
ejayimperial/papercrop | nmake.lua | 15 | 2612 | require('mylib')
function detectVC()
local VC8_path="c:\\Program Files\\Microsoft Visual Studio 8"
local VC9_path="c:\\Program Files\\Microsoft Visual Studio 9.0"
if os.isFileExist(VC8_path.."\\readme.htm") then
print("VC8 detected")
devenvExe=VC8_path.."\\Common7\\IDE\\devenv.com"
setVa... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Temenos/mobs/Temenos_Aern.lua | 7 | 2346 | -----------------------------------
-- Area: Temenos
-- NPC: Temenos_Aern
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/spells/bio.lua | 26 | 2084 | -----------------------------------------
-- Spell: Bio
-- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/magic");
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
dtsund/dtsund-crawl-mod | source/dat/clua/lm_door.lua | 1 | 3248 | -------------------------------------------------------------------------------
-- lm_door.lua
-- Markers for doors.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- This marker can be applied to a door t... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Wajaom_Woodlands/Zone.lua | 15 | 3515 | -----------------------------------
--
-- Zone: Wajaom_Woodlands (51)
--
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
mynameiscraziu/body | 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 |
Kosmos82/kosmosdarkstar | scripts/zones/Jugner_Forest/npcs/Cavernous_Maw.lua | 29 | 1443 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Cavernous Maw
-- @pos -118 -8 -518 104
-- Teleports Players to Jugner Forest [S]
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.