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 |
|---|---|---|---|---|---|
Tech-IT-Easy/Teach-IT-Easy | Project/tests/example/tests/test.lua | 1 | 2518 | --[[TEACH IT EASY, an educational games platform
Copyright (C) 2015 Linköping University
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at y... | gpl-3.0 |
martin-traverse/premake-core | tests/actions/vstudio/vc200x/test_build_steps.lua | 16 | 1278 | --
-- tests/actions/vstudio/vc200x/test_build_steps.lua
-- Test generation of custom build step elements.
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
local suite = test.declare("vs200x_build_steps")
local vc200x = premake.vstudio.vc200x
--
-- Setup/teardown
--
local wks, prj
function suite.s... | bsd-3-clause |
Kosmos82/kosmosdarkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/_4e1.lua | 13 | 1189 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Door
-- @pos 315 16 20 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Upper_Delkfutt... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/spells/yurin_ichi.lua | 27 | 1606 | -----------------------------------------
-- Spell: Yurin: Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Norg/npcs/Achika.lua | 13 | 1300 | -----------------------------------
-- Area: Norg
-- NPC: Achika
-- Type: Tenshodo Merchant
-- @pos 1.300 0.000 19.259 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop")... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Abyssea-Konschtat/npcs/Cavernous_Maw.lua | 29 | 1200 | -----------------------------------
-- Area: Abyssea - Konschatat
-- NPC: Cavernous Maw
-- @pos 159.943 -72.109 -839.986 15
-- Teleports Players to Konschatat Highlands
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
Spartan322/Oppression | oppression/gamemode/vgui/hud_base.lua | 1 | 2319 | local HUDbase = {}
--Fonts
surface.CreateFont(
"OPPbasefont",
{
font = "ScoreboardText",
size = 60,
weight = 400,
antialias = false,
shadow = false
})
--Hide Hud function (found on Facepunch)
local function hidehud(name)
for k, v in pairs({"CHudHealth", "CHudBattery", "CHudAmmo", "CHudSecondaryAmmo", }... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Hall_of_Transference/npcs/_0e4.lua | 43 | 1699 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Large Apparatus (Right) - Holla
-- @pos -242.301 -1.849 269.867 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Hall_of_Transf... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Quicksand_Caves/npcs/Fountain_of_Kings.lua | 13 | 1479 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Fountain of Kings
-- @pos 567 18 -939 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/TextIDs");
require("scripts/globa... | gpl-3.0 |
firebaugh/Digitowls | Player/sim_vision.lua | 4 | 1187 | module(... or "", package.seeall)
-- Add the required paths
--local cwd = unix.getcwd();
local cwd = os.getenv('PWD');
computer = os.getenv('COMPUTER') or "";
if (string.find(computer, "Darwin")) then
-- MacOS X uses .dylib:
package.cpath = cwd.."/Lib/?.dylib... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Kilhwch1.lua | 19 | 1082 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Kilhwch
-- @zone 80
-- @pos -63 2 -50
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
squeek502/luvit | deps/pathjoin.lua | 20 | 2808 | --[[lit-meta
name = "creationix/pathjoin"
description = "The path utilities that used to be part of luvi"
version = "2.0.0"
tags = {"path"}
license = "MIT"
author = { name = "Tim Caswell" }
]]
local getPrefix, splitPath, joinParts
local isWindows
if _G.jit then
isWindows = _G.jit.os == "Windows"
else
... | apache-2.0 |
mamaddeveloper/crdo | plugins/Boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/globals/mobskills/Tachi_Yukikaze.lua | 27 | 1047 | ---------------------------------------------
-- Tachi: Yukikaze
--
-- Description: Blinds target. Damage varies with TP.
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm20.lua | 17 | 1888 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns: Glavoid
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Northern_San_dOria/npcs/Guilerme.lua | 13 | 2054 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Guillerme
-- Involved in Quest: Rosel the Armorer
-- @zone: 231
-- @pos -4.500 0.000 99.000
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Bastok_Markets_[S]/npcs/Adelbrecht.lua | 53 | 4980 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Adelbrecht
-- Starts Quests: The Fighting Fourth
-- Involved in Missions: Back to the Beginning
-- CS IDs:
-- 139 = 0x008B = Greetings, civilian. The Seventh Cohors of the Republican Legion's Fourth Division is currently recruiting new troops.
-- ... | gpl-3.0 |
tinymins/MY | MY_Toolbox/src/MY_AutoDialogue.lua | 1 | 17839 | --------------------------------------------------------
-- This file is part of the JX3 Mingyi Plugin.
-- @link : https://jx3.derzh.com/
-- @desc : ×Ô¶¯¶Ô»°£¨for ̨·þ£©
-- @author : ÜøÒÁ @Ë«ÃÎÕò @×··çõæÓ°
-- @modifier : Emil Zhai (root@derzh.com)
-- @copyright: Copyright (c) 2013 EMZ Kingsoft Co., Ltd.
-----... | bsd-3-clause |
nye678/OD | assets/scenes/scene0.lua | 1 | 10405 | return {
version = "1.1",
luaversion = "5.1",
orientation = "orthogonal",
width = 30,
height = 10,
tilewidth = 16,
tileheight = 16,
properties = {},
tilesets = {
{
name = "mininicular",
firstgid = 1,
tilewidth = 16,
tileheight = 16,
spacing = 0,
margin = 0,
... | mit |
aStonedPenguin/fprp | gamemode/modules/f1menu/cl_searchbox.lua | 1 | 1454 | local PANEL = {}
function PANEL:Init()
self:SetWide(300);
self:SetKeyBoardInputEnabled(true);
self.BaseClass.Init(self);
self.SleekF1Down = true
self:SetFont("fprpHUD2");
self:SetTextColor(Color(255,255,255,255));
self:SetCursorColor(Color(255,255,255,255));
self.lblSearch = vgui.Create("DLabel", self);
self... | mit |
Kosmos82/kosmosdarkstar | scripts/globals/abilities/pets/spring_water.lua | 25 | 1137 | ---------------------------------------------------
-- Spring Water
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(player... | gpl-3.0 |
martin-traverse/premake-core | tests/actions/vstudio/cs2005/test_build_events.lua | 7 | 2033 | --
-- tests/actions/vstudio/cs2005/test_build_events.lua
-- Check generation of pre- and post-build commands for C# projects.
-- Copyright (c) 2012-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_cs2005_build_events")
local cs2005 = premake.vstudio.cs2005
--
-- Setup
--
local wk... | bsd-3-clause |
Kosmos82/kosmosdarkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Wind.lua | 13 | 2381 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Wind
-- 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 |
crazyhamedboy/123123 | plugins/add_bot.lua | 189 | 1492 | --[[
Bot can join into a group by replying a message contain an invite link or by
typing !add [invite link].
URL.parse cannot parsing complicated message. So, this plugin only works for
single [invite link] in a post.
[invite link] may be preceeded but must not followed by another characters.
--]]
do
local function... | gpl-2.0 |
wingo/snabbswitch | src/program/snabbmark/snabbmark.lua | 2 | 14868 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local usage = require("program.snabbmark.README_inc")
local basic_apps = require("apps.basic.basic_apps")
local pci = require("lib.hardware.pci")
local ethernet = require("lib.protocol.ethernet")... | apache-2.0 |
jasonschroeder/luasalesforce | salesforce.lua | 1 | 7853 | -----------------------------------------------------------------------------
-- luaSalesforce: Salesforce REST API support for the Lua language.
-- salesforce Module.
-- Author: Jason Schroeder
-- Version: 1.0
-- This module is released under the MIT License (MIT).
-- Please see LICENCE.txt for details.
--
-- USAGE:
... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Kuftal_Tunnel/npcs/qm5.lua | 13 | 1458 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ???
-- Involved in Mission: Bastok 8-2
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
mikesimb/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
Tech-IT-Easy/Teach-IT-Easy | Project/src/Config/server.lua | 1 | 2119 | --[[TEACH IT EASY, an educational games platform
Copyright (C) 2015 Linköping University
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at y... | gpl-3.0 |
raindev/dotfiles | nvim/lua/raindev/opts.lua | 1 | 2086 | -- Enable true color support
vim.opt.termguicolors = true
vim.opt.background = 'light'
require('onedark').load()
-- Enable syntax highlighting without touching color scheme
vim.cmd('syntax enable')
-- Use spaces instead of tabs
vim.opt.expandtab = true
-- Use space as vertical split character
vim.opt.fillchars:append... | mit |
Kosmos82/kosmosdarkstar | scripts/globals/mobskills/Final_Retribution.lua | 31 | 1048 | ---------------------------------------------
-- Final Retribution
-- Family: Corse
-- Description: Damages enemies in an area of effect. Additional effect: Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1-3 shadows
-- Range: Radial
-- Notes: Only used by some notorious monsters like Xolotl.
------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/slice_of_cockatrice_meat.lua | 18 | 1349 | -----------------------------------------
-- ID: 4435
-- Item: slice_of_cockatrice_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 4
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- ... | gpl-3.0 |
rhysd/mal | lua/core.lua | 11 | 5196 | local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local readline = require('readline')
local Nil, List, _pr_str = types.Nil, types.List, printer._pr_str
local M = {}
-- string functions
function pr_str(...)
return table.concat(
... | mpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/globals/weaponskills/gust_slash.lua | 11 | 1259 | -----------------------------------
-- Gust Slash
-- Dagger weapon skill
-- Skill level: 40
-- Deals wind elemental damage. Damage varies with TP.
-- Will not stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: DEX:20% ; INT:20%
-- 100%TP 200%TP... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Windurst_Woods/npcs/Hauh_Colphioh.lua | 13 | 2715 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Hauh Colphioh
-- Type: Guildworker's Union Representative
-- @zone: 241
-- @pos -38.173 -1.25 -113.679
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Windurst_Walls/npcs/Ojha_Rhawash.lua | 26 | 3747 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Ojha Rhawash
-- Starts and Finishes Quest: Flower Child
-- @zone 239
-- @pos -209 0 -134
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windu... | gpl-3.0 |
harveyhu2012/luci | applications/luci-meshwizard/luasrc/model/cbi/freifunk/meshwizard.lua | 92 | 6917 | -- wizard rewrite wip
local uci = require "luci.model.uci".cursor()
local sys = require "luci.sys"
local util = require "luci.util"
local ip = require "luci.ip"
local community = "profile_" .. (uci:get("freifunk", "community", "name") or "Freifunk")
local mesh_network = ip.IPv4(uci:get_first(community, "community", "... | apache-2.0 |
hadow/OpenRA | mods/d2k/maps/atreides-01a/atreides01a.lua | 6 | 4914 |
HarkonnenReinforcements = { }
HarkonnenReinforcements["easy"] =
{
{ "light_inf", "light_inf" }
}
HarkonnenReinforcements["normal"] =
{
{ "light_inf", "light_inf" },
{ "light_inf", "light_inf", "light_inf" },
{ "light_inf", "trike" },
}
HarkonnenReinforcements["hard"] =
{
{ "light_inf", "light_inf" },
{ "trike"... | gpl-3.0 |
aStonedPenguin/fprp | gamemode/modules/doorsystem/sh_interface.lua | 1 | 7351 | fprp.doorToEntIndex = fprp.stub{
name = "doorToEntIndex",
description = "Get an ENT index from a door index.",
parameters = {
{
name = "index",
description = "The door index",
type = "number",
optional = false
}
},
returns = {
{
name = "index",
description = "The ENT index",
type = "numb... | mit |
Igalia/snabb | src/lib/lpm/ip6.lua | 9 | 3597 | module(..., package.seeall)
local ffi = require("ffi")
local C = ffi.C
local lib = require("core.lib")
local htons = lib.htons
local ntohs = lib.ntohs
IP6 = {}
ip6_t = ffi.typeof([[
union {
uint64_t u64[2];
uint16_t u16[8];
uint8_t u8[16];
}
]])
local function colons (str)
local i = 0
for _ in string.g... | apache-2.0 |
Kosmos82/kosmosdarkstar | scripts/globals/mobskills/Fulmination.lua | 27 | 1503 | ---------------------------------------------
-- Fulmination
--
-- Description: Deals heavy magical damage in an area of effect. Additional effect: Paralysis + Stun
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes Shadows
-- Range: 30 yalms
---------------------------------------------
require("scripts/globals/set... | gpl-3.0 |
harveyhu2012/luci | applications/luci-asterisk/luasrc/model/cbi/asterisk/dialzones.lua | 91 | 3529 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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://www.apache.org/licenses/LICENSE-2.0
$Id: trunks.l... | apache-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Windurst_Waters/npcs/Piketo-Puketo.lua | 37 | 2135 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Piketo-Puketo
-- Type: Cooking Guild Master
-- @pos -124.012 -2.999 59.998 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
firebaugh/Digitowls | WebotsController/Player/World/gcm.lua | 2 | 1054 | module(..., package.seeall);
require('shm');
require('util');
require('vector');
require('Config');
require('Speak');
-- shared properties
shared = {};
shsize = {};
shared.game = {};
shared.game.state = vector.zeros(1);
shared.game.nplayers = vector.zeros(1);
shared.game.kickoff = vector.zeros(1);
shared.game.half =... | gpl-3.0 |
Hiale/HellbaneHelper | Localization.enUS.lua | 1 | 1071 | HellbaneHelperLocals = {}
local L = HellbaneHelperLocals
local addon = ...
SLASH_HELLBANEHELPER1 = "/hh"
SLASH_HELLBANEHELPER2 = "/hellbane"
SLASH_HELLBANEHELPER2 = "/hellbanehelper"
L.UNITS = {
[39287] = { keywords = {}, subzones = {"Aktar's Post", "Ruins of Kra'nak"} }, --deathtalon
[39288] = { keywords = {}, sub... | mit |
DorianScholz/eiskaltdcpp | data/luascripts/kml_geoip.lua | 5 | 5697 | kml_geoip = {}
function kml_geoip.find_record(ip_addr)
local offset = 0
local mask = 2147483648 -- 1<<31
local depth = 31
local record_length = 3
local x
repeat
local branch_offset
if ip_addr > mask then
-- Take the right-hand branch
ip_addr = ip_addr - mask
branch_offset = record_length
else
... | gpl-3.0 |
dtsund/dtsund-crawl-mod | source/dat/clua/lm_trig.lua | 1 | 24363 | ------------------------------------------------------------------------------
-- lm_trig.lua:
-- DgnTriggerers and triggerables:
--
-- This is similar to the observable/observer design pattern: a triggerable
-- class which does something and a triggerer which sets it off. As an
-- example, the ChangeFlags class (clua... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/moogle_pie.lua | 18 | 1701 | -----------------------------------------
-- ID: 5561
-- Item: Moogle Pie
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 20
-- MP 20
-- Strength 1
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- Intelligence 1
-- Mind 1
-- Charisma 1
-----------------------------------------
require("scr... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua | 13 | 3618 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Yahsra
-- Type: Assault Mission Giver
-- @pos 120.967 0.161 -44.002 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyi... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Batallia_Downs_[S]/npcs/Cavernous_Maw.lua | 29 | 2133 | -----------------------------------
-- Area: Batallia Downs [S]
-- NPC: Cavernous Maw
-- @pos -48 0 435 84
-- Teleports Players to Batallia Downs
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/teleports... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Abyssea-Konschtat/Zone.lua | 33 | 1801 | -----------------------------------
--
-- Zone: Abyssea - Konschtat
--
-----------------------------------
-- Research
-- EventID 0x0400-0x0405 aura of boundless rage
-- EventID 0x0800-0x0883 The treasure chest will disappear is 180 seconds menu.
-- EventID 0x0884 Teleport?
-- EventID 0x0885 DEBUG Menu
--------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Port_Jeuno/npcs/Leyla.lua | 13 | 1496 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Leyla
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Acti... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/Grounds_Tome.lua | 30 | 1107 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(play... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Riverne-Site_B01/npcs/Unstable_Displacement.lua | 27 | 2180 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-- ENM Battlefield
-- @pos -612 4 693
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scrip... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Dragons_Aery/mobs/Fafnir.lua | 7 | 1452 | -----------------------------------
-- Area: Dragons Aery
-- HNM: Fafnir
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize
-----------------------------------
function ... | gpl-3.0 |
wingo/snabbswitch | src/program/lwaftr/loadtest/loadtest.lua | 2 | 7315 | module(..., package.seeall)
local engine = require("core.app")
local counter = require("core.counter")
local config = require("core.config")
local pci = require("lib.hardware.pci")
local Intel82599 = require("apps.intel.intel_app").Intel82599
local basic_apps = require("apps.basic.basic_apps")
local loadgen = require(... | apache-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j4.lua | 13 | 1420 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos 300 30 -324 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
hawkthorne/hawkthorne-client-lua | src/vendor/hardoncollider/spatialhash.lua | 4 | 4305 | --[[
Copyright (c) 2011 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/King_Ranperres_Tomb/npcs/Treasure_Chest.lua | 13 | 2985 | -----------------------------------
-- Area: King Ranperres Tomb
-- NPC: Treasure Chest
-- @zone 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
requ... | gpl-3.0 |
Luanluan/skynet_test | lualib/mqueue.lua | 115 | 1798 | -- This is a deprecated module, use skynet.queue instead.
local skynet = require "skynet"
local c = require "skynet.core"
local mqueue = {}
local init_once
local thread_id
local message_queue = {}
skynet.register_protocol {
name = "queue",
-- please read skynet.h for magic number 8
id = 8,
pack = skynet.pack,
u... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Valkurm_Dunes/npcs/Tsunashige_IM.lua | 13 | 3317 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Tsunashige, I.M.
-- Outpost Conquest Guards
-- @pos 139.394 -7.885 100.384 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
tinymins/MY | MY_!Base/src/lib/UI.Utils.lua | 1 | 6136 | --------------------------------------------------------
-- This file is part of the JX3 Plugin Project.
-- @desc : ½çÃæ¹¤¾ß¿â
-- @copyright: Copyright (c) 2009 Kingsoft Co., Ltd.
--------------------------------------------------------
-------------------------------------------------------------------------------... | bsd-3-clause |
mynameiscraziu/body | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Southern_San_dOria/npcs/Andecia.lua | 11 | 3170 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Andecia
-- Starts and Finishes Quest: Grave Concerns
-- @zone 230
-- @pos 167 0 45
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
firebaugh/Digitowls | Player/BodyFSM/NaoPlayer/bodyKick.lua | 12 | 1226 | module(..., package.seeall);
require('Body')
require('vector')
require('Motion');
require('kick');
require('HeadFSM')
require('Config')
require('wcm')
require('walk');
t0 = 0;
timeout = 20.0;
started = false;
kickable = true;
function entry()
print(_NAME.." entry");
t0 = Body.get_time();
-- set kick depe... | gpl-3.0 |
firebaugh/Digitowls | WebotsController/Player/BodyFSM/NaoDemo/bodyKick.lua | 12 | 1226 | module(..., package.seeall);
require('Body')
require('vector')
require('Motion');
require('kick');
require('HeadFSM')
require('Config')
require('wcm')
require('walk');
t0 = 0;
timeout = 20.0;
started = false;
kickable = true;
function entry()
print(_NAME.." entry");
t0 = Body.get_time();
-- set kick depe... | gpl-3.0 |
Igalia/snabb | src/lib/fibers/channel.lua | 6 | 4486 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- Concurrent ML channels.
module(..., package.seeall)
local op = require('lib.fibers.op')
local Fifo = {}
Fifo.__index = Fifo
local function new_fifo() return setmetatable({}, Fifo) end
function Fifo:push(x) table.insert(self, x) end
fu... | apache-2.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Upper_Jeuno/npcs/Khe_Chalahko.lua | 13 | 1264 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Khe Chalahko
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/plate_of_piscators_paella.lua | 18 | 1482 | -----------------------------------------
-- ID: 5969
-- Item: Plate of Piscator's Paella
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- HP 45
-- Dexterity 6
-- Accuracy % 16 (cap 85)
-- Undead Killer 6
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/spells/jubaku_ichi.lua | 27 | 1733 | -----------------------------------------
-- Spell: Jubaku: Ichi
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-------------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/West_Sarutabaruta/npcs/Darumomo_WW.lua | 13 | 3341 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Darumomo, W.W.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Western_Altepa_Desert/npcs/_3h0.lua | 13 | 1174 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: _3h0 (Altepa Gate)
-- @pos -19 12 131 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_Desert/TextIDs");
---... | gpl-3.0 |
Igalia/snabb | lib/ljsyscall/test/osx.lua | 5 | 1757 | -- OSX specific tests
local function init(S)
local helpers = require "test.helpers"
local types = S.types
local c = S.c
local abi = S.abi
local bit = require "syscall.bit"
local ffi = require "ffi"
local t, pt, s = types.t, types.pt, types.s
local assert = helpers.assert
local function fork_assert(cond, err, ...)... | apache-2.0 |
gulafaran/awesome | src/lib/wibox/widget/imagebox.lua | 1 | 3710 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @release @AWESOME_VERSION@
---------------------------------------------------------------------------
local base = require("wibox.widget.base")
local surface = require("gears.surf... | gpl-2.0 |
mhmjhamyargroup44233/hamyar_finall | plugins/location.lua | 185 | 1565 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
firebaugh/Digitowls | Player/Motion/sit.lua | 5 | 2959 | module(..., package.seeall);
name = ...;
require('vector')
require('Kinematics')
require('Body')
require('walk')
active = true;
t0 = 0;
-- These values should be in the Config file!
-- Old values from LC/HP2 days...
--bodyHeight = 0.23;
--footY = 0.0475;
bodyHeight = 0.18;--for OP sitting pose
footY = 0.0375;
suppo... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/dish_of_spaghetti_arrabbiata_+1.lua | 18 | 1754 | -----------------------------------------
-- ID: 5212
-- Item: dish_of_spaghetti_arrabbiata_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health % 15
-- Health Cap 150
-- Strength 5
-- Vitality 2
-- Intelligence -7
-- Attack % 22
-- Attack Cap 120
-- Store TP 5
-----------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua | 13 | 1166 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fayeewah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("scripts... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Temenos/mobs/Cryptonberry_Charmer.lua | 7 | 1128 | -----------------------------------
-- Area: Temenos N T
-- NPC: Cryptonberry_Charmer
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/cone_of_seraphs_kiss.lua | 18 | 1385 | -----------------------------------------
-- ID: 5556
-- Item: cone_of_seraphs_kiss
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- HP 15
-- MP % 16 (cap 85)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
AmirPGA/AmirPGA | plugins/id.lua | 355 | 2795 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
mynameiscraziu/body | plugins/id.lua | 355 | 2795 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
sumory/orange | dashboard/routes/node.lua | 1 | 9118 | local pairs = pairs
local smatch = string.match
local slen = string.len
local http = require("resty.http")
local json = require("orange.utils.json")
local encode_base64 = ngx.encode_base64
local string_format = string.format
local lor = require("lor.index")
local socket = require("socket")
local orange_db = require("or... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/Batallia_Downs/npcs/qm3.lua | 13 | 1875 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm3 (???)
-- Involved in Mission 9-1 (San dOria)
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextIDs");
require("scrip... | gpl-3.0 |
april-org/april-ann | packages/tied_model_manager/lua_src/tied_model_manager.lua | 3 | 2782 | local tied_model_manager,tied_model_manager_methods =
class("tied_model_manager")
_G.tied_model_manager = tied_model_manager -- global environment
----------------------------
-- Constructor
----------------------------
function tied_model_manager:constructor(tiedlist_file)
self.tiedlist = {}
self.name2id = {}
... | gpl-3.0 |
B-UMMI/INNUca | src/samtools-1.3.1/misc/r2plot.lua | 28 | 2877 | #!/usr/bin/env luajit
function string:split(sep, n)
local a, start = {}, 1;
sep = sep or "%s+";
repeat
local b, e = self:find(sep, start);
if b == nil then
table.insert(a, self:sub(start));
break
end
a[#a+1] = self:sub(start, b - 1);
start = e... | gpl-3.0 |
Vrixyz/Dota2Soccer | scripts/vscripts/candysoccer_game_round.lua | 1 | 3209 | --[[
CCandySoccerGameRound - A single round of Holdout
]]
if CCandySoccerGameRound == nil then
CCandySoccerGameRound = class({})
end
function CCandySoccerGameRound:ReadConfiguration( kv, gameMode, roundNumber )
self._gameMode = gameMode
self._nRoundNumber = roundNumber
self._vSpawners = {}
for k, v in pairs( ... | mit |
Kosmos82/kosmosdarkstar | scripts/zones/The_Boyahda_Tree/npcs/qm2.lua | 13 | 2453 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: qm2 (???)
-- Involved in Quest: Searching for the Right Words
-- @pos 34.651 -20.183 -61.647 153
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/spells/bluemagic/digest.lua | 3 | 1796 | -----------------------------------------
-- Spell: Digest
-- Steals an enemy's HP. Ineffective against undead
-- Spell cost: 20 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 36
-- Casting Time: 4 seconds
-- Recast Time: 90 seconds
-- Magic Bursts ... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Port_Bastok/npcs/_6k8.lua | 13 | 1400 | -----------------------------------
-- Area: Port Bastok
-- NPC: Door: Departures Exit
-- @zone 236
-- @pos -62 1 -8
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Tavnazian_Safehold/npcs/Nilerouche.lua | 13 | 1300 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Nilerouche
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
----------------------... | gpl-3.0 |
shahabsaf1/MEGA-SATAN | plugins/id.lua | 226 | 4260 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, result)
local re... | gpl-2.0 |
Kosmos82/kosmosdarkstar | scripts/globals/spells/bluemagic/memento_mori.lua | 2 | 1297 | -----------------------------------------
-- Spell: Memento Mori
-- Enhances magic attack
-- Spell cost: 46 MP
-- Monster Type: Undead
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 4
-- Stat Bonus: INT+1
-- Level: 62
-- Casting Time: 6 seconds
-- Recast Time: 2 minutes
--
-- Combos: Magic Attack Bonus
-----------... | gpl-3.0 |
firebaugh/Digitowls | WebotsController/Player.old/Motion/keyframes/km_Nao_StandupFromFrontFaster.lua | 5 | 5530 | local mot = {};
mot.servos = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22};
mot.keyframes = {
{
angles = {0.000, 0.175, 1.571, 0.262, -1.571, 0.000, 0.000, 0.000, -0.349, 0.000, 0.000, 0.000, 0.000, 0.000, -0.349, 0.000, 0.000, 0.000, 1.571, -0.262, 1.571, 0.000, },
stiffnesses = {0.800, 0.800, 0... | gpl-3.0 |
DorianScholz/eiskaltdcpp | data/luascripts/antispam.lua | 6 | 16477 | --based on some parts of lwolf's & BottledHate's scripts, created by Patch for both ApexDC++ and BCDC++
local pmcount = 0
local totalpmcount = 0
local ignorelist = 0
local nicklist = 0
local favnick
local client = 0
local text
local text1
local nick
local nick
local nicks
local action
filterfile = DC():G... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/bowl_of_shimmy_soup.lua | 18 | 1362 | -----------------------------------------
-- ID: 5931
-- Item: Bowl of Shimmy Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- MP 32
-- Mind 5
-- HP Recovered While Healing 5
-- Enmity -5
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Abyssea-Vunkerl/Zone.lua | 33 | 1491 | -----------------------------------
--
-- Zone: Abyssea - Vunkerl
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Vunkerl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Vunkerl/Te... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/serving_of_karni_yarik.lua | 18 | 1376 | -----------------------------------------
-- ID: 5588
-- Item: serving_of_karni_yarik
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
--------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/globals/items/cube_of_cotton_tofu.lua | 18 | 1409 | -----------------------------------------
-- ID: 5233
-- Item: cube_of_cotton_tofu
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health % 10
-- Health Cap 30
-- Magic % 10
-- Magic Cap 30
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
Kosmos82/kosmosdarkstar | scripts/zones/Cloister_of_Storms/bcnms/trial_by_lightning.lua | 30 | 2230 | -----------------------------------
-- Area: Cloister of Storms
-- BCNM: Trial by Lightning
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("script... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.