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 |
|---|---|---|---|---|---|
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/faction/rebel/specforce_master_sergeant.lua | 2 | 1773 | specforce_master_sergeant = Creature:new {
objectName = "@mob/creature_names:specforce_master_sergeant",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "rebel",
faction = "rebel",
level = 22,
chanceHit = 0.35,
damageMin = 210,
damageMax = 220,
baseXp = 2219,
baseHAM = 5900,
baseHAMmax = 7200,
armor = 0,
... | agpl-3.0 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/commands/cityInfo.lua | 4 | 2117 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
nimaghorbani/ototo | bindings.lua | 6 | 5129 | local BASE_URL = 'https://api.telegram.org/bot' .. config.bot_api_key
if not config.bot_api_key then
error('You did not set your bot token in config.lua!')
end
sendRequest = function(url)
local dat, res = HTTPS.request(url)
local tab = JSON.decode(dat)
if res ~= 200 then
return false, res
end
if not tab.ok... | gpl-2.0 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/commands/tumbleToKneeling.lua | 4 | 2141 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
zorfmorf/ld28 | server/slither.lua | 4 | 6968 | --[[ zlib license:
Copyright (c) 2011 Bart van Strien
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercia... | gpl-2.0 |
lin-zhang/ubx_arduino | tests/test_struct_comm.lua | 4 | 2436 | #!/usr/bin/luajit
local ffi=require"ffi"
local lunit=require"lunit"
local ubx=require"ubx"
local utils=require"utils"
local cdata=require"cdata"
-- require"trace"
-- require"strict"
local code_str_len = 16*1024*1024
module("test_struct_comm", lunit.testcase, package.seeall)
local ni = ubx.node_create("test_struct_c... | gpl-2.0 |
mobilesolution2016/reeme | framework/resty/mongol/init.lua | 1 | 3338 | module("resty.mongol", package.seeall)
local mod_name = (...)
local assert , pcall = assert , pcall
local ipairs , pairs = ipairs , pairs
local setmetatable = setmetatable
local socket = ngx.socket.tcp
local connmethods = { }
local connmt = { __index = connmethods }
local dbmt = require ( mod_name .. ".dbmt" )
fu... | apache-2.0 |
garoose/eecs494.p2 | jni/external/freetype2/premake4.lua | 2 | 1898 | project "local_freetype2"
kind "SharedLib"
language "C"
defines { "BUILD_FREETYPE2_DLL" }
files { "src/autofit/autofit.c",
"src/bdf/bdf.c",
"src/cff/cff.c",
"src/base/ftbase.c",
"src/base/ftbitmap.c",
"src/cache/ftcache.c",
"src/ftdebug.c",
... | mit |
ThorsCrafter/Reactor-and-Turbine-control-program | turbineControl_v2/src/program/turbineControl.lua | 1 | 34127 | -- Reactor- und Turbine control by Thor_s_Crafter --
-- Version 2.6 --
-- Turbine control --
--Loads the touchpoint API
shell.run("cp /reactor-turbine-program/config/touchpoint.lua /touchpoint")
os.loadAPI("touchpoint")
shell.run("rm touchpoint")
--Loads the input API
shell.run("cp /reactor-turbine-program/config/inp... | mit |
garoose/eecs494.p2 | dev/premake/premake/tests/project/test_vpaths.lua | 3 | 3649 | --
-- tests/project/test_vpaths.lua
-- Automated test suite for the project support functions.
-- Copyright (c) 2011-2012 Jason Perkins and the Premake project
--
T.project_vpaths = { }
local suite = T.project_vpaths
local project = premake.project
--
-- Setup and teardown
--
local sln
function suite.setup()... | mit |
braydondavis/Nerd-Gaming-Public | resources/NGPhone/apps/waypoints.lua | 2 | 3350 | WaypointPage = "main"
WayPointLocs = {
['Jobs'] = {
-- Los Santos
{ "LS - Criminal 1", 1625.33, -1509.2, 13.6 },
{ "LS - Criminal 2", 2141.6, -1733.16, 17.29 },
{ "LS - Mechanic", 2277.06, -2359.07, 13.58 },
{ "LS - Medic", 1178.47, -1327.87, 14.12 },
{ "LS - Police", 1545.88, -1681.27, 13.56 },
},
... | mit |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/loot/groups/wearables/wearables_common.lua | 4 | 2901 | wearables_common = {
description = "",
minimumLevel = 0,
maximumLevel = 0,
lootItems = {
{itemTemplate = "bandolier_s07", weight = 256410}, -- Shoulder Strap
{itemTemplate = "bandolier_s08", weight = 256410}, -- Dark Sash
{itemTemplate = "belt_s07", weight = 256410}, -- Multipocket Belt
{itemTemplate = "bel... | agpl-3.0 |
szczukot/domoticz | scripts/dzVents/examples/check dead devices by desc.lua | 25 | 1272 | --Check dead device using their description
--This allow to configure device to be checked directly in domoticz GUI by accessing to device details and add "CDA:<delayInMinute>"
--You have to active http fetching !
return {
active = true,
on = {
['timer'] = {
'every 60 minutes'
}
},
execu... | gpl-3.0 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/commands/groupChat.lua | 4 | 2120 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program 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; either version 2 of the License,
--or (at your option) any later version.
... | agpl-3.0 |
braydondavis/Nerd-Gaming-Public | resources/[no_ng_tag]/scoreboard/dxscoreboard_http.lua | 12 | 2213 | -- Original file by jbeta
local httpColumns = {}
local httpRows = {}
local updateInterval = 1000
local lastUpdateTime = 0
function getScoreboardColumns()
-- Only update http data if someone is looking
if getTickCount() - lastUpdateTime > updateInterval then
lastUpdateTime = getTickCount()
refreshServerScoreboard... | mit |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/faction/imperial/civil_patrol_captain.lua | 2 | 1260 | civil_patrol_captain = Creature:new {
objectName = "@mob/creature_names:imperial_civil_patrol_captain",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "imperial",
faction = "imperial",
level = 9,
chanceHit = 0.27,
damageMin = 80,
damageMax = 90,
baseXp = 292,
baseHAM = 675,
baseHAMmax = 825,
armor = 0,
r... | agpl-3.0 |
Jabberie/WoW-Multibox | GSEMacros/Legion/Druid/Balance/Balance_ST.lua | 1 | 1241 | Sequences['Boomkin_ST'] = {
Author="Jabberie@Draka",
SpecID=102,
Talents = "3,1,3,1,1,1,3",
Default=1,
Icon='Spell_Nature_StarFall',
MacroVersions = {
[1] = {
StepFunction = "Sequential",
KeyPress={
"/cast [noform:4] Moonkin Form",
},
PreMacro={
},
"/castseq... | gpl-3.0 |
Chilastra-Reborn/Chilastra-source-code | bin/scripts/mobile/corellia/grecks_assassin.lua | 2 | 1742 | grecks_assassin = Creature:new {
objectName = "@mob/creature_names:greck_assassin",
randomNameType = NAME_GENERIC_TAG,
socialGroup = "olag_greck",
faction = "olag_greck",
level = 11,
chanceHit = 0.29,
damageMin = 140,
damageMax = 150,
baseXp = 514,
baseHAM = 675,
baseHAMmax = 825,
armor = 0,
resists = {0,0... | agpl-3.0 |
p0pr0ck5/lua-resty-waf | lib/resty/waf/load_ac.lua | 3 | 2305 | -- Helper wrappring script for loading shared object libac.so (FFI interface)
-- from package.cpath instead of LD_LIBRARTY_PATH.
--
local ffi = require 'ffi'
ffi.cdef[[
void* ac_create(const char** str_v, unsigned int* strlen_v,
unsigned int v_len);
int ac_match2(void*, const char *str, int len);... | gpl-3.0 |
kidaa/Algorithm-Implementations | Lempel_Ziv_Welch/Lua/Yonaba/lzw_test.lua | 26 | 1030 | -- Tests for lzw.lua
local lzw = require 'lzw'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok... | mit |
LeMagnesium/minetest-minetestforfun-server | mods/watershed/nodes.lua | 4 | 2134 | minetest.register_alias("watershed:appleleaf", "default:leaves")
minetest.register_alias("watershed:appling", "default:sapling")
minetest.register_alias("watershed:acaciatree", "moretrees:acacia_trunk")
minetest.register_alias("watershed:acacialeaf", "moretrees:acacia_leaves")
minetest.register_alias("watershed:acacial... | unlicense |
jchuang1977/my_packages | net/mwan3-luci/files/usr/lib/lua/luci/controller/mwan3.lua | 29 | 10831 | module("luci.controller.mwan3", package.seeall)
sys = require "luci.sys"
ut = require "luci.util"
function index()
if not nixio.fs.access("/etc/config/mwan3") then
return
end
entry({"admin", "network", "mwan"},
alias("admin", "network", "mwan", "overview"),
_("Load Balancing"), 600)
entry({"admin", "netwo... | gpl-2.0 |
shitz/InterruptCoordinator | libs/LibJSON-2.5.lua | 13 | 18391 | --[==[
David Kolf's JSON module for Lua 5.1/5.2
Version 2.5
For the documentation see the corresponding readme.txt or visit
<http://dkolf.de/src/dkjson-lua.fsl/>.
You can contact the author by sending an e-mail to 'david' at the
domain 'dkolf.de'.
Copyright (C) 2010-2013 David Heiko Kolf
Permission is hereby gr... | apache-2.0 |
rweichler/hostageidentity | addons/RCS/lua/entities/rcs_c4pack/cl_init.lua | 1 | 2531 | include( "shared.lua" )
ENT.Mat = Material( "sprites/redglow1" )
ENT.Mat2 = Material( "cable/redlaser" )
ENT.isactive = 1
function ENT:Initialize()
self.timeleft_cl = CurTime() + 35
timer.Simple(1, function() self:Beep_cl() end)
end
function ENT:Beep_cl()
if !self.isactive then return end
local btimelef... | mit |
helling34/skynet | lualib/sharemap.lua | 78 | 1496 | local stm = require "stm"
local sprotoloader = require "sprotoloader"
local sproto = require "sproto"
local setmetatable = setmetatable
local sharemap = {}
function sharemap.register(protofile)
-- use global slot 0 for type define
sprotoloader.register(protofile, 0)
end
local sprotoobj
local function loadsp()
if ... | mit |
braydondavis/Nerd-Gaming-Public | resources/NGWarpManager/warps_c.lua | 2 | 6209 | local warps = { }
local fadeScreen = fadeCamera
local hitWarp = nil
local warping = false
function makeWarp ( data )
if ( not data or type ( data ) ~= "table" or not data.pos or not data.toPos ) then
return false
end
local cInt = data.cInt or 0
local cDim = data.cDim or 0
local tInt = data.tInt or 0
local tDim... | mit |
excessive/obtuse-tanuki | libs/winapi/wglext.lua | 2 | 23164 |
--proc/wglext: opengl WGL API from wglext.h
--Written by Cosmin Apreutesei. Public Domain.
setfenv(1, require'winapi')
require'winapi.winuser'
require'gl_types'
WGL_WGLEXT_VERSION = 24
-- WGL_ARB_buffer_region
WGL_FRONT_COLOR_BUFFER_BIT_ARB = 0x00000001
WGL_BACK_COLOR_BUFFER_BIT_ARB = 0x00000002
WGL_DEPTH_BUFFER_B... | mit |
yimogod/boom | trunk/t-engine4/game/engines/engine/generator/map/Cavern.lua | 1 | 5158 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2015 Nicolas Casalini
--
-- 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 your option) any later version.... | apache-2.0 |
MikeMcShaffry/gamecode3 | Dev/Source/3rdParty/LuaPlus/Src/Modules/wxLua/Examples/gpeddler/options.lua | 1 | 3408 |
---------------------------------------------------------------------------
-- Options
---------------------------------------------------------------------------
Options = {
routeSize = 25, -- number of places in a route
poolSize = 3, -- number of routes in pool before growth
growthFactor = 30, ... | lgpl-2.1 |
Inquiryel/HPW_Rewrite-SBS | lua/hpwrewrite/spells/harrypotter/mimblewimble.lua | 2 | 1843 | local Spell = { }
Spell.LearnTime = 120
Spell.Category = HpwRewrite.CategoryNames.Fight
Spell.Description = [[
Prevents your opponent from
casting spells for 10
seconds and mutes them.
]]
Spell.ApplyDelay = 0.4
Spell.FlyEffect = "hpw_reducto_main" -- TODO: replace
Spell.ForceAnim = { ACT_VM_PRIMARYATTACK_5 }
Spel... | mit |
gilzoide/tuirm | src/app.lua | 1 | 2208 | --[[
-- Copyright (C) 2016 Gil Barbosa Reis
-- This file is part of Tuirm.
--
-- Tuirm 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 your option) any later versio... | gpl-3.0 |
LeMagnesium/minetest-minetestforfun-server | mods/item_drop/init.lua | 7 | 6045 | item_drop = {}
local enable_damage = minetest.setting_getbool("enable_damage")
local creative_mode = minetest.setting_getbool("creative_mode")
local TICK_UPDATE = 0.1
-- Following edits by gravgun
item_drop.drop_callbacks = {}
item_drop.pickup_callbacks = {}
-- on_drop(dropper, drop_entity, itemstack)
function item... | unlicense |
MildSpringLLC/JumpyGame | JumpyGame/level1.lua | 1 | 7846 | -----------------------------------------------------------------------------------------
--
-- level1.lua
--
-----------------------------------------------------------------------------------------
local storyboard = require( "storyboard" )
local scene = storyboard.newScene()
local actor = {}
local touchedPoint = ... | apache-2.0 |
DBarney/luvit | tests/test-fs.lua | 14 | 6353 | --[[
Copyright 2014 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 or agr... | apache-2.0 |
edge2054/Fae | dialogs/CharacterSheet.lua | 1 | 3345 | -- Fae
-- Copyright (C) 2012 Eric Wykoff
--
-- 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 your option) any later version.
--
-- This program is di... | gpl-3.0 |
LomoX-Offical/nginx-openresty-windows | src/LuaJIT/src/jit/dis_ppc.lua | 59 | 20301 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | bsd-2-clause |
zynjec/darkstar | scripts/zones/Apollyon/bcnms/cs_apollyon.lua | 9 | 1394 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/battlefield")
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBattlefieldTick(battlefield, tick)
ds... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Sacrarium/npcs/Large_Keyhole.lua | 27 | 1422 | -----------------------------------
-- Area: Sacrarium
-- NPC: Large Keyhole
-- Notes: Used to open R. Gate
-- @pos 100.231 -1.414 51.700 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/TextIDs"); ... | gpl-3.0 |
PhearZero/phear-scanner | bin/nmap-openshift/nselib/bittorrent.lua | 3 | 43040 | --- Bittorrent and DHT protocol library which enables users to read
-- information from a torrent file, decode bencoded (bittorrent
-- encoded) buffers, find peers associated with a certain torrent and
-- retrieve nodes discovered during the search for peers.
--
-- For more information on the Bittorrent and DHT protoco... | mit |
zynjec/darkstar | scripts/globals/spells/bluemagic/feather_storm.lua | 2 | 1803 | -----------------------------------------
-- Spell: Feather Storm
-- Additional effect: Poison. Chance of effect varies with TP
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+2, HP+5
-- Level: 12
-- Casting Time: 0.5 seconds
-- Recast Time: 1... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/Grounds_Tome.lua | 30 | 1115 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player... | gpl-3.0 |
pedja1/aNmap | dSploit/jni/nmap/nselib/ospf.lua | 3 | 8527 | ---
-- A minimalistic OSPF (Open Shortest Path First routing protocol) library, currently supporting IPv4 and the following
-- OSPF message types: HELLO
--
-- The library consists of an OSPF class that contains code to handle OSPFv2 packets.
--
-- @author "Patrik Karlsson <patrik@cqure.net>"
-- @copyright Same as Nmap-... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Cattah_Pamjah.lua | 13 | 1065 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Cattah Pamjah
-- Type: Title Changer
-- @zone: 94
-- @pos -13.564 -2 10.673
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/mobskills/Vorpal_Wheel.lua | 37 | 1063 | ---------------------------------------------
-- Vorpal Wheel
--
-- Description: Throws a slicing wheel at a single target.
-- Type: Physical
-- Utsusemi/Blink absorb: No
-- Range: Unknown
-- Notes: Only used by Gulool Ja Ja, and will use it as a counterattack to any spells cast on him. Damage increases as his he... | gpl-3.0 |
tsdfsetatata/xserver | config/server/RewardTable.lua | 1 | 24630 | local RewardTable = {
[327000001] = {
['ID'] = 327000001, --索引
['LowCost'] = 10000, --高
['MidCost'] = 1000, --中
['HighCost'] = 100, --低
['RewardType'] = {201010006,201010023}, --额外给予类型
['RewardValue'] = {1,1}, --类型值
['ExpCoefficient'] = .00, --惩戒等级经验值
['CoinReward'] = 360.00 --惩戒奖励货币值
},
... | gpl-3.0 |
darklost/quick-ng | quick/samples/coinflip/src/app/MyApp.lua | 8 | 1055 |
require("cocos.init")
require("config")
require("framework.init")
require("framework.shortcodes")
require("framework.cc.init")
local MyApp = class("MyApp", cc.mvc.AppBase)
function MyApp:ctor()
MyApp.super.ctor(self)
self.objects_ = {}
end
function MyApp:run()
cc.FileUtils:getInstance():addSearchPath("r... | mit |
darklost/quick-ng | cocos/scripting/lua-bindings/script/cocos2d/OpenglConstants.lua | 100 | 27127 |
if not gl then return end
gl.GCCSO_SHADER_BINARY_FJ = 0x9260
gl._3DC_XY_AMD = 0x87fa
gl._3DC_X_AMD = 0x87f9
gl.ACTIVE_ATTRIBUTES = 0x8b89
gl.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a
gl.ACTIVE_PROGRAM_EXT = 0x8259
gl.ACTIVE_TEXTURE = 0x84e0
gl.ACTIVE_UNIFORMS = 0x8b86
gl.ACTIVE_UNIFORM_MAX_LENGTH = 0x8b87... | mit |
Colettechan/darkstar | scripts/globals/items/soft-boiled_egg.lua | 18 | 1174 | -----------------------------------------
-- ID: 4532
-- Item: soft-boiled_egg
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/effects/warcry.lua | 34 | 1037 | -----------------------------------
--
-- EFFECT_WARCRY
--
-- Notes:
-- Savagery TP bonus not cut in half like ffxclopedia says.
-- ffxiclopedia is wrong, bg wiki right. See link where testing was done.
-- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464
-----------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/effects/warcry.lua | 34 | 1037 | -----------------------------------
--
-- EFFECT_WARCRY
--
-- Notes:
-- Savagery TP bonus not cut in half like ffxclopedia says.
-- ffxiclopedia is wrong, bg wiki right. See link where testing was done.
-- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464
-----------... | gpl-3.0 |
tsdfsetatata/xserver | config/server/RankingRewardTable.lua | 1 | 9218 | local RankingRewardTable = {
[400201001] = {
['ID'] = 400201001, --索引
['RankStart'] = 1, --起始排名
['RankEnd'] = 1, --结束排名
['Reward'] = {201061027,201061028,201061029}, --奖励ID
['RewardNum'] = {3,2,1}, --奖励数量
['RankingTableId'] = {101}, --排名榜标签
['RankingTableIdName'] = {'个人-等级-综合'} --排名榜标签
},
[4... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/cinna-cookie.lua | 18 | 1325 | -----------------------------------------
-- ID: 4397
-- Item: cinna-cookie
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Magic Regen While Healing 4
-- Vermin Killer 5
-- Poison Resist 5
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
apache/thrift | test/lua/test_basic_server.lua | 11 | 3618 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may n... | apache-2.0 |
zynjec/darkstar | scripts/globals/items/plate_of_ikra_gunkan.lua | 11 | 1458 | -----------------------------------------
-- ID: 5219
-- Item: plate_of_ikra_gunkan
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 30
-- Magic 10
-- Dexterity 3
-- Mind -2
-- Accuracy % 18
-- Accuracy Cap 28
-- Ranged ACC % 18
-- Ranged ACC Cap 28
----------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/serving_of_flint_caviar.lua | 18 | 1422 | -----------------------------------------
-- ID: 4276
-- Item: serving_of_flint_caviar
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-- Dexterity 4
-- Mind -1
-- Charisma 4
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Al_Zahbi/npcs/Devonte.lua | 14 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Devonte
-- Type: Standard NPC
-- @zone 48
-- @pos 29.449 -1 142.671
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
zynjec/darkstar | scripts/zones/Al_Zahbi/npcs/Numaaf.lua | 12 | 1736 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Numaaf
-- Type: Cooking Normal/Adv. Image Support
-- !pos 54.966 -7 8.328 48
-----------------------------------
require("scripts/globals/status")
require("scripts/globals/crafting")
local ID = require("scripts/zones/Al_Zahbi/IDs")
-------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Valkurm_Dunes/mobs/Valkurm_Emperor.lua | 4 | 1124 | ----------------------------------
-- Area: Valkurm Dunes
-- NM: Valkurm Emperor
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player, isKiller)
-- Set VE's Window Open Time
SetServerVariable("[POP]Valkurm_... | gpl-3.0 |
zynjec/darkstar | scripts/zones/QuBia_Arena/bcnms/undying_promise.lua | 9 | 1217 | -----------------------------------
-- Undying Promise
-- Qu'Bia Arena BCNM40, Star Orb
-- !additem 1131
-----------------------------------
require("scripts/globals/battlefield")
-----------------------------------
function onBattlefieldInitialise(battlefield)
battlefield:setLocalVar("loot", 1)
battlefield:se... | gpl-3.0 |
pedja1/aNmap | dSploit/jni/nmap/nselib/ipOps.lua | 3 | 25091 | ---
-- Utility functions for manipulating and comparing IP addresses.
--
-- @copyright Same as Nmap--See http://nmap.org/book/man-legal.html
local bin = require "bin"
local bit = require "bit"
local stdnse = require "stdnse"
local string = require "string"
local table = require "table"
local type = type
local tabl... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Prillaure.lua | 14 | 1054 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Prillaure
-- Type: Event Scene Replayer
-- @pos -143.000 0.999 9.000 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Ur... | gpl-3.0 |
zynjec/darkstar | scripts/globals/abilities/aspir_samba_ii.lua | 12 | 1340 | -----------------------------------
-- Ability: Aspir Samba II
-- Inflicts the next target you strike with Aspir daze, allowing all those engaged in battle with it to drain its MP.
-- Obtained: Dancer Level 60
-- Recast Time: 1:00
-- TP Cost: 25%
-- Duration: 1:30
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Rabao/npcs/Maryoh_Comyujah.lua | 13 | 2086 | -----------------------------------
-- Area: Rabao
-- NPC: Maryoh Comyujah
-- Involved in Mission: The Mithra and the Crystal (Zilart 12)
-- @pos 0 8 73 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");... | gpl-3.0 |
smithmid/CQUI_Community-Edition | Assets/UI/Choosers/civicschooser.lua | 2 | 18306 | -- ===========================================================================
--
-- CivicsChooser
-- Slideout panel containing available civic options.
--
-- ===========================================================================
-- Include self contained additional tabs
g_ExtraIconData = {};
include("CivicsTreeIc... | mit |
Vadavim/jsr-darkstar | scripts/zones/RuLude_Gardens/npcs/Trail_Markings.lua | 7 | 2902 | -----------------------------------
-- Area: Rulude Gardens
-- NPC: Trail Markings
-- Dynamis-Jeuno Enter
-- @pos 35 9 -51 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
LedeDBProxy/resurgence | hscale-0.2/src/optivo/hscale/admin.lua | 2 | 4372 | --[[
Copyright (C) 2008 optivo GmbH
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 distributed in the hope that it will be useful,
but WI... | gpl-2.0 |
zynjec/darkstar | scripts/globals/items/slice_of_grilled_black_hare.lua | 11 | 1095 | -----------------------------------------
-- ID: 4516
-- Item: slice_of_grilled_black_hare
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 2
-- Intelligence -1
-- Attack % 20
-- Attack Cap 30
-----------------------------------------
require("scripts/globals/status")
require("scr... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm14.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 |
Colettechan/darkstar | scripts/zones/Marjami_Ravine/npcs/HomePoint#1.lua | 27 | 1266 | -----------------------------------
-- Area: Marjami Ravine
-- NPC: HomePoint#1
-- @pos -23 0 174 266
-----------------------------------
package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Marjami_Ravine/TextIDs");
require("scripts/globals/homep... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Southern_San_dOria/npcs/Dahjal.lua | 14 | 1242 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Dahjal
-- first in conquest Npc
-- @zone 230
-- @pos
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/The_Colosseum/Zone.lua | 17 | 1094 | -----------------------------------
--
-- Zone: The_Colosseum
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/The_Colosseum/TextIDs"] = nil;
require("scripts/zones/The_Colosseum/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
zynjec/darkstar | scripts/globals/spells/suiton_san.lua | 12 | 1401 | -----------------------------------------
-- Spell: Suiton: San
-- Deals water damage to an enemy and lowers its resistance against lightning.
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
-----------------------------------------
function onMagicCastingCh... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua | 50 | 5024 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Miah Riyuh
-- @pos 5.323 -2 37.462 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyite... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/weaponskills/stringing_pummel.lua | 19 | 1733 | -----------------------------------
-- Stringing Pummel
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a sixfold attack. Damage varies with TP. Kenkonken: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Puppetmaster) quest.
-- Aligned with the Shadow Gorget, Soil Gorget... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Promyvion-Holla/mobs/Memory_Receptacle.lua | 6 | 7500 | -----------------------------------
-- 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 |
zynjec/darkstar | scripts/zones/QuBia_Arena/mobs/Ghul-I-Beaban.lua | 9 | 1497 | -----------------------------------
-- Area: Qu'Bia Arena
-- Mob: Ghul-I-Beaban
-- BCNM: Undying Promise
-----------------------------------
require("scripts/globals/status")
-----------------------------------
function reraiseGhul(mob, reraises, target)
mob:setLocalVar("RERAISES", reraises)
mob:setMod(dsp.mo... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/plate_of_patlican_salata_+1.lua | 18 | 1203 | -----------------------------------------
-- ID: 5583
-- Item: plate_of_patlican_salata_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Agility 4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/mobskills/Sand_Blast.lua | 24 | 1154 | ---------------------------------------------------
-- Sand Blast
-- Deals Earth damage to targets in a fan-shaped area of effect. Additional effect: Blind
-- Range: 8' cone
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
reaperrr/OpenRA | mods/cnc/maps/gdi08b/gdi08b-AI.lua | 5 | 9466 | --[[
Copyright 2007-2022 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later vers... | gpl-3.0 |
zynjec/darkstar | scripts/globals/weaponskills/vorpal_blade.lua | 10 | 1478 | -----------------------------------
-- Vorpal Blade
-- Sword weapon skill
-- Skill Level: 200
-- Delivers a four-hit attack. Chance of params.critical varies with TP.
-- Stacks with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
-- Modifier... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Asrahd.lua | 27 | 3066 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Asrahd
-- Type: Imperial Gate Guard
-- @pos 0.011 -1 10.587 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requir... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Asrahd.lua | 27 | 3066 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Asrahd
-- Type: Imperial Gate Guard
-- @pos 0.011 -1 10.587 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requir... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Lower_Jeuno/npcs/_6tc.lua | 25 | 4144 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Door: "Neptune's Spire"
-- Starts and Finishes Quest: Beat Around the Bushin
-- @zone 245
-- @pos 35 0 -15
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua | 17 | 1498 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Claymore
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEn... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/effects/sigil.lua | 32 | 3008 | -----------------------------------
--
-- EFFECT_SIGIL
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower(); -- Tracks which bonus effects are in use.
local sub... | gpl-3.0 |
zevv/lgi | samples/giostream.lua | 1 | 2919 | #! /usr/bin/env lua
--
-- Sample LGI application for Gio Streams.
--
local lgi = require 'lgi'
local bytes = require 'bytes'
local GLib = lgi.GLib
local Gio = lgi.Gio
local log = lgi.log.domain('lgiostream')
local app = Gio.Application.new('org.lgi.samples.giostream', 0)
local function read_sync(file)
local inf... | mit |
zynjec/darkstar | scripts/zones/Ordelles_Caves/npcs/qm3.lua | 9 | 1097 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: ??? (qm3)
-- Involved in Quest: A Squire's Test II
-- !pos -139 0.1 264 193
-------------------------------------
local ID = require("scripts/zones/Ordelles_Caves/IDs")
require("scripts/globals/keyitems")
-----------------------------------
function... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/abilities/wind_maneuver.lua | 19 | 1605 | -----------------------------------
-- Ability: Wind Maneuver
-- Enhances the effect of wind attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Windurst_Woods/npcs/Mheca_Khetashipah.lua | 14 | 1059 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mheca Khetashipah
-- Type: Standard NPC
-- @zone 241
-- @pos 66.881 -6.249 185.752
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/pitcher_of_homemade_herbal_tea.lua | 18 | 1116 | -----------------------------------------
-- ID: 5221
-- Item: pitcher_of_homemade_herbal_tea
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Charisma 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/RuLude_Gardens/npcs/Pursuivant.lua | 14 | 1047 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pursuivant
-- Type: Pursuivant
-- @zone 243
-- @pos 52.020 -1 -17.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Kazham/npcs/Kakapp.lua | 13 | 3339 | -----------------------------------
-- Area: Kazham
-- NPC: Kakapp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
-- item ... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/spells/advancing_march.lua | 27 | 1451 | -----------------------------------------
-- Spell: Advancing March
-- Gives party members Haste
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,s... | gpl-3.0 |
zynjec/darkstar | scripts/commands/setskill.lua | 14 | 1982 | ---------------------------------------------------------------------------------------------------
-- func: setskill <skill name or ID> <skill level> <target>
-- desc: sets target's level of specified skill
---------------------------------------------------------------------------------------------------
require("scr... | gpl-3.0 |
Colettechan/darkstar | scripts/zones/Nashmau/npcs/Abihaal.lua | 15 | 1045 | -----------------------------------
-- Area: Nashmau
-- NPC: Abihaal
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
-----------------------------------
-- onTrade Action
-----... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/zones/Open_sea_route_to_Mhaura/npcs/Map.lua | 14 | 1030 | -----------------------------------
-- Area: Open_sea_route_to_Mhaura
-- NPC: Map
-- @pos 0.340 -12.232 -4.120 47
-----------------------------------
package.loaded["scripts/zones/Open_sea_route_to_Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Open_sea_route_to_Mhaura/TextIDs");
... | gpl-3.0 |
zynjec/darkstar | scripts/globals/spells/sword_madrigal.lua | 10 | 1567 | -----------------------------------------
-- Spell: Sword Madrigal
-- Gives party members accuracy
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
fun... | gpl-3.0 |
mining-visualizer/Mining-Visualizer | Rainmeter/Skins/MVis/@Resources/MVis.lua | 1 | 4569 |
function Initialize()
-- colorCycle is used in the context of Measure_SetBalanceColor measure.
colorCycle = 0
end
function Update()
local BLOCK_TIME_ALERT = 180
if SELF:GetName() == "Measure_BlockTimeCounter" then
-- read the value of Measure_BlockTime and display it as minutes:seconds. after 120 seconds, tu... | gpl-3.0 |
Vadavim/jsr-darkstar | scripts/globals/items/plate_of_salmon_sushi.lua | 18 | 1467 | -----------------------------------------
-- ID: 5663
-- Item: plate_of_salmon_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-- Accuracy % 14
-- Ranged ACC % 14
-----------------------------------------
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
Colettechan/darkstar | scripts/globals/items/plate_of_salmon_sushi.lua | 18 | 1467 | -----------------------------------------
-- ID: 5663
-- Item: plate_of_salmon_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-- Accuracy % 14
-- Ranged ACC % 14
-----------------------------------------
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.