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 |
|---|---|---|---|---|---|
Gobaan/PZSmashAndGrab | SmashAndGrab/Contents/mods/SmashAndGrab/media/lua/client/ISUI/01CustomEvents.lua | 1 | 1384 | SmashAndGrabCustomEvent = {}
SmashAndGrabCustomEvent.registeredFunctions = {}
SmashAndGrabCustomEvent.prelisteners = {}
SmashAndGrabCustomEvent.postlisteners = {}
function SmashAndGrabCustomEvent.addListener(funcName)
local name = string.gsub(funcName, ":", ".")
local names = luautils.split(name, ".")
loca... | apache-2.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[gameplay]/mapratings/mapratings_sql.lua | 1 | 5987 | local theCon = false
addEventHandler('onResourceStart', resourceRoot,
function()
theCon = dbConnect( 'mysql', 'host=' .. get"*gcshop.host" .. ';dbname=' .. get"*gcshop.dbname", get("*gcshop.user"), get("*gcshop.pass"))
dbExec( theCon, "CREATE TABLE IF NOT EXISTS `mapratings` ( `forumid` INT, `serial` TINYTEXT, `p... | mit |
ffxiphoenix/darkstar | scripts/zones/Giddeus/npcs/HomePoint#1.lua | 17 | 1234 | -----------------------------------
-- Area: Giddeus
-- NPC: HomePoint#1
-- @pos -132 -3 -303 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Giddeus/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
ld-test/gumbo | gumbo/dom/Element.lua | 2 | 9662 | local util = require "gumbo.dom.util"
local Node = require "gumbo.dom.Node"
local ChildNode = require "gumbo.dom.ChildNode"
local ParentNode = require "gumbo.dom.ParentNode"
local AttributeList = require "gumbo.dom.AttributeList"
local Attribute = require "gumbo.dom.Attribute"
local ElementList = require "gumbo.dom.Ele... | isc |
ffxiphoenix/darkstar | scripts/globals/spells/raiton_ichi.lua | 17 | 1257 | -----------------------------------------
-- Spell: Raiton: Ichi
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCa... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/cup_of_healing_tea.lua | 35 | 1373 | -----------------------------------------
-- ID: 4286
-- Item: cup_of_healing_tea
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 10
-- Vitality -1
-- Charisma 3
-- Magic Regen While Healing 2
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Valkurm_Dunes/npcs/Hieroglyphics.lua | 17 | 2399 | -----------------------------------
-- Area: Valkurm_Dunes
-- NPC: Hieroglyphics
-- Dynamis Valkurm_Dunes Enter
-- @pos 117 -10 133 172 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
WUTiAM/uLua2 | Assets/LuaScripts/depends/protobuf/descriptor.lua | 1 | 1956 | --
--------------------------------------------------------------------------------
-- FILE: descriptor.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 |
vilarion/Illarion-Content | monster/race_60_fox/default.lua | 3 | 1153 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
ld-test/gumbo | test/dom/Element-classList.lua | 3 | 12634 | local gumbo = require "gumbo"
local DOMTokenList = require "gumbo.dom.DOMTokenList"
local type, assert, pcall = type, assert, pcall
local getmetatable = getmetatable
local _ENV = nil
local input = [[
<!doctype html>
<html>
<head class="test test">
<title class=" ">Element.classList in case-sensitive docume... | isc |
federicodotta/proxmark3 | client/lualibs/mf_default_keys.lua | 7 | 5016 |
local _keys = {
--[[
These keys are from the pm3 c-codebase.
--]]
'ffffffffffff', -- Default key (first key used by program if no user defined key)
'000000000000', -- Blank key
'a0a1a2a3a4a5', -- NFCForum MAD key
'b0b1b2b3b4b5',
'aabbccddeeff',
'4d3a99c351dd',
'1a982c7e... | gpl-2.0 |
Quenty/NevermoreEngine | src/ik/src/Shared/Grip/IKGripBase.lua | 1 | 1623 | --[=[
Meant to be used with a binder
@class IKGripBase
]=]
local require = require(script.Parent.loader).load(script)
local RunService = game:GetService("RunService")
local BaseObject = require("BaseObject")
local promisePropertyValue = require("promisePropertyValue")
local Promise = require("Promise")
local IKGr... | mit |
RodneyMcKay/x_hero_siege | game/scripts/vscripts/abilities/heroes/hero_paladin.lua | 1 | 15129 | --[[Author: Pizzalol
Date: 09.02.2015.
Chains from target to target, healing them and dealing damage to enemies in a small
radius around them
Jump priority is
1. Hurt heroes
2. Hurt units
3. Heroes
4. Units]]
function ShadowWave( keys )
local caster = keys.caster
local caster_location = caster:GetAbsOrigin()... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/globals/items/pickled_herring.lua | 35 | 1360 | -----------------------------------------
-- ID: 4490
-- Item: Pickled Herring
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Mind -3
-- Attack % 12
-- Ranged ATT % 12
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
Quenty/NevermoreEngine | src/binder/src/Shared/BinderUtils.lua | 1 | 4675 | --[=[
Utility methods for the binder object.
@class BinderUtils
]=]
local CollectionService = game:GetService("CollectionService")
local BinderUtils = {}
--[=[
Finds the first ancestor that is bound with the current child.
Skips the child class, of course.
@param binder Binder<T>
@param child Instance
@retur... | mit |
ffxiphoenix/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Orias.lua | 16 | 1255 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Orias
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
moonlight/blues-brothers-rpg | data/scripts/Character.lua | 2 | 3939 | --
-- A character is a pawn with a specific animation scheme
-- By Bjorn Lindeijer
import("Pawn.lua")
import("Shadow.lua")
Character = Pawn:subclass
{
name = "Character";
init = function(self, char)
self.inventory = {}
self:updateBitmap()
Pawn.init(self)
end;
beginPlay = function(self)
Actor.beginPla... | gpl-2.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[race]/race_random/duel_s.lua | 1 | 2217 | local function getAlivePlayers()
local players = {}
for _, player in ipairs(getElementsByType('player')) do
if getElementData(player, 'state') == 'alive' then
table.insert(players, player)
end
end
table.sort(players,sortFunction)
return players
end
-- <spawnpoint id="spawnpoint (NRG-500) (1)" vehicle=... | mit |
ffxiphoenix/darkstar | scripts/zones/Southern_San_dOria/npcs/Ailevia.lua | 30 | 1902 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ailevia
-- Adventurer's Assistant
-- Only recieving Adv.Coupon and simple talk event are scripted
-- This NPC participates in Quests and Missions
-- @zone 230
-- @pos -8 1 1
-------------------------------------
package.loaded["scripts/z... | gpl-3.0 |
vilarion/Illarion-Content | item/id_3110_scroll.lua | 3 | 2396 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
amiranony/anonybot | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
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.... | gpl-2.0 |
noooway/love2d_arkanoid_tutorial | 3-15_MoreSounds/lives_display.lua | 4 | 1368 | local vector = require "vector"
local lives_display = {}
lives_display.lives = 5
lives_display.lives_added_from_score = 0
local position = vector( 620, 500 )
local width = 170
local height = 65
local bungee_font = love.graphics.newFont(
"/fonts/Bungee_Inline/BungeeInline-Regular.ttf", 30 )
function lives_display... | mit |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters/npcs/Ahyeekih.lua | 30 | 1695 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ahyeekih
-- Only sells when Windurst controls Kolshushu
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
require("scripts/globals/c... | gpl-3.0 |
vilarion/Illarion-Content | scheduled/market.lua | 2 | 3412 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
kirmir/WowAddons | Cooldowns/Cooldowns.lua | 1 | 5643 | local Timer = {};
local UIParent = _G['UIParent']
local GetTime = _G['GetTime']
local round = function(x) return math.floor(x + 0.5) end
local ICON_SIZE = 36
local DAY, HOUR, MINUTE = 86400, 3600, 60
local DAYISH, HOURISH, MINUTEISH = 3600 * 23.5, 60 * 59.5, 59.5
local HALFDAYISH, HALFHOURISH, HALFMINUTEISH = DAY / ... | gpl-3.0 |
Quenty/NevermoreEngine | src/selectionutils/src/Shared/RxSelectionUtils.lua | 1 | 4133 | --[=[
@class RxSelectionUtils
]=]
local Selection = game:GetService("Selection")
local require = require(script.Parent.loader).load(script)
local Observable = require("Observable")
local Maid = require("Maid")
local Brio = require("Brio")
local ValueObject = require("ValueObject")
local RxBrioUtils = require("RxBri... | mit |
guker/nn | SparseLinear.lua | 2 | 1758 | local SparseLinear, parent = torch.class('nn.SparseLinear', 'nn.Module')
function SparseLinear:__init(inputSize, outputSize)
parent.__init(self)
self.weightDecay = 0
self.weight = torch.Tensor(outputSize, inputSize)
self.bias = torch.Tensor(outputSize)
self.gradWeight = torch.Tensor(outputSize, inputSi... | bsd-3-clause |
vilarion/Illarion-Content | quest/lilith_needlehand_73_runewick.lua | 3 | 4503 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
Quenty/NevermoreEngine | src/gameconfig/src/Server/Mantle/MantleConfigProvider.lua | 1 | 3489 | --[=[
@class MantleConfigProvider
]=]
local require = require(script.Parent.loader).load(script)
local GameConfigAssetTypes = require("GameConfigAssetTypes")
local GameConfigAssetUtils = require("GameConfigAssetUtils")
local GameConfigBindersServer = require("GameConfigBindersServer")
local GameConfigService = requi... | mit |
ffxiphoenix/darkstar | scripts/zones/Al_Zahbi/npcs/Chayaya.lua | 34 | 1603 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Chayaya
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Al_Zahbi/TextIDs");
--------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Zarfhid.lua | 34 | 1034 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Zarfhid
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/items/bowl_of_delicious_puls.lua | 35 | 1320 | -----------------------------------------
-- ID: 4533
-- Item: Bowl of Delicious Puls
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity -1
-- Vitality 3
-- Health Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_San_dOria/npcs/Apstaule.lua | 36 | 1764 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Apstaule
-- Not used cutscenes: 541
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/quests");
r... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Woods/npcs/Quesse.lua | 36 | 1672 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Quesse
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/Tex... | gpl-3.0 |
moteus/lua-lcurl | examples/lcurl/fnmatch.lua | 2 | 1166 | --
-- Example of how to download multiple files in single perform
--
local curl = require "lcurl"
local function printf(...)
io.stderr:write(string.format(...))
end
local function pat2pat(s)
return "^" .. string.gsub(s, ".", {
["*"] = '[^%.]*';
["."] = '%.';
}) .. "$"
end
local c = curl.easy{
url = ... | mit |
ffxiphoenix/darkstar | scripts/globals/items/bowl_of_ambrosia.lua | 35 | 2277 | -----------------------------------------
-- ID: 4511
-- Item: Bowl of Ambrosia
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 7
-- Magic 7
-- Strength 7
-- Dexterity 7
-- Agility 7
-- Vitality 7
-- Intelligence 7
-- Mind 7
-- Charisma 7
-- Health Regen While Healing... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Mhoti_Pyiahrs.lua | 38 | 1045 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Mhoti Pyiahrs
-- Type: Allegiance
-- @zone: 94
-- @pos 6.356 -2 26.677
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
VoxelDavid/echo-ridge | src/ReplicatedStorage/Level/World.module.lua | 1 | 3778 | --[[
World
=====
A World allows you to easily move Players between the Cells in your game.
Conceptually, a World can be thought of as the game itself, and the Cells it
has access to are all the areas the Player can travel to.
You should limit yourself to a single World instance, they're intended to be
... | mit |
vilarion/Illarion-Content | quest/daniel_brock_713_runewick.lua | 3 | 9177 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
ProjectSkyfire/SkyFire-Community-Tools | FireAdmin/Libraries/Tablet-2.0/Tablet-2.0.lua | 3 | 82998 | --[[
Name: Tablet-2.0
Revision: $Rev: 64130 $
Author(s): ckknight (ckknight@gmail.com)
Website: http://ckknight.wowinterface.com/
Documentation: http://www.wowace.com/index.php/Tablet-2.0
SVN: http://svn.wowace.com/wowace/trunk/TabletLib/Tablet-2.0
Description: A library to provide an efficient, featureful tooltip-styl... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Jugner_Forest/npcs/Pure_Heart_IM.lua | 30 | 3050 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Pure Heart, I.M.
-- Type: Border Conquest Guards
-- @pos 570.732 -2.637 553.508 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest"... | gpl-3.0 |
Phrohdoh/OpenRA | mods/d2k/maps/harkonnen-01a/harkonnen01a.lua | 8 | 5015 | --[[
Copyright 2007-2020 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 |
ffxiphoenix/darkstar | scripts/zones/Mhaura/npcs/Emyr.lua | 19 | 1051 | -----------------------------------
-- Area: Mhaura
-- NPC: Emyr
-- Type: Standard NPC
-- @pos 45.021 -9 37.095 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
----------------------------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Cloister_of_Tides/mobs/Leviathan_Prime.lua | 16 | 1908 | -----------------------------------
-- Area: Cloister of Tides
-- NPC: Leviathan Prime
-- Involved in Quest: Trial by Water, Trial Size Trial by Water
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Nashmau/npcs/Yoyoroon.lua | 34 | 1613 | -----------------------------------
-- Area: Nashmau
-- NPC: Yoyoroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------... | gpl-3.0 |
vilarion/Illarion-Content | craft/final/magicgemming.lua | 3 | 1724 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
vilarion/Illarion-Content | monster/race_76_green_skeleton/id_764_mysticswamphorror.lua | 3 | 1303 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
klausklapper/love2dgame | lib/hump/camera.lua | 20 | 6067 | --[[
Copyright (c) 2010-2015 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, dis... | gpl-3.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[race]/race/racemap.lua | 1 | 8529 | g_MapObjAttrs = {
spawnpoint = { 'position', 'rotation', 'vehicle', 'paintjob', 'upgrades', 'team' },
checkpoint = { 'id', 'nextid', 'position', 'size', 'color', 'type', 'vehicle', 'paintjob', 'upgrades', 'nts' },
object = { 'position', 'rotation', 'model' },
pickup = { 'position', 'type', 'vehicle', 'paintjob', 'u... | mit |
bungle/lua-resty-xxhash | lib/resty/xxhash.lua | 3 | 2600 | local ffi = require "ffi"
local ffi_gc = ffi.gc
local ffi_cdef = ffi.cdef
local ffi_load = ffi.load
local tonumber = tonumber
local setmetatable = setmetatable
ffi_cdef[[
typedef enum { XXH_OK=0, XXH_ERROR } XXH_errorcode;
typedef struct { long long ll[ 6]; } XXH32_state_t;
typedef struct { ... | bsd-2-clause |
Quenty/NevermoreEngine | src/idleservice/src/Client/IdleServiceClient.lua | 1 | 6033 | --[=[
Helps track whether or not a player is idle and if so, then can show UI or other cute things.
@client
@class IdleServiceClient
]=]
local require = require(script.Parent.loader).load(script)
local RunService = game:GetService("RunService")
local VRService = game:GetService("VRService")
local Maid = require(... | mit |
ffxiphoenix/darkstar | scripts/globals/items/bowl_of_tender_navarin.lua | 35 | 1884 | -----------------------------------------
-- ID: 4284
-- Item: Bowl of Tender Navarin
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 3
-- Strength 3
-- Agility 1
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-- Evasion 6
-- Ranged ATT % 27
-- Ran... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Colibri.lua | 29 | 1752 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Colibri
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobFight Action
-----------------------------------
function onMobFight(mob, target)
loc... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Jeuno/npcs/Chudigrimane.lua | 29 | 1189 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Chudigrimane
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
--------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Ishin_IM.lua | 30 | 3058 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Ishin, I.M.
-- Outpost Conquest Guards
-- @pos -481.164 -32.858 49.188 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest... | gpl-3.0 |
ajtao/my_ccn2_t | SpatialResponseNormalization.lua | 1 | 2229 | local C = ccn2.C
local SpatialResponseNormalization, parent = torch.class('ccn2.SpatialResponseNormalization', 'nn.Module')
function SpatialResponseNormalization:__init(size, addScale, powScale, minDiv)
parent.__init(self)
self.size = size
self.addScale = addScale or 0.001
-- dic['scale'] /= dic['size'] if... | apache-2.0 |
obi-two/Unofficial_Hope | data/script/TutorialPart_1_9.lua | 3 | 71333 | -- TutorialPart_1_9
-- Get access to Tutorial via ScriptEngine
local script = LuaScriptEngine.getScriptObj();
local SE = ScriptEngine:Init();
local tutorial = SE:getTutorial(script);
-- wait for client to become ready.
while tutorial:getReady() == false do
LuaScriptEngine.WaitMSec(500)
end
-- We will start to use g... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/North_Gustaberg/npcs/Shigezane_IM.lua | 28 | 3150 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Shigezane, I.M.
-- Type: Outpost Conquest Guards
-- @pos -584.687 39.107 54.281 106
-------------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-------------------------------------
require("scripts/... | gpl-3.0 |
vilarion/Illarion-Content | triggerfield/labour_camp_dumping.lua | 3 | 4836 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
Quenty/NevermoreEngine | src/playerinputmode/src/Server/PlayerInputModeService.lua | 1 | 1750 | --[=[
@class PlayerInputModeService
]=]
local require = require(script.Parent.loader).load(script)
local GetRemoteEvent = require("GetRemoteEvent")
local Maid = require("Maid")
local PlayerInputModeServiceConstants = require("PlayerInputModeServiceConstants")
local PlayerInputModeUtils = require("PlayerInputModeUti... | mit |
keshwans/vlc | share/lua/playlist/anevia_streams.lua | 112 | 3664 | --[[
$Id$
Parse list of available streams on Anevia Toucan servers.
The URI http://ipaddress:554/list_streams.idp describes a list of
available streams on the server.
Copyright © 2009 M2X BV
Authors: Jean-Paul Saman <jpsaman@videolan.org>
This program is free software; you can redistribute it and/or modify
... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/RuLude_Gardens/npcs/Albiona.lua | 34 | 1387 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Albiona
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/que... | gpl-3.0 |
Quenty/NevermoreEngine | src/ik/src/Shared/Arm/ArmIKBase.story.lua | 1 | 1323 | --[[
@class ArmIKBase.story
]]
local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).load(script)
local Workspace = game:GetService("Workspace")
local RunService = game:GetService("RunService")
local Maid = require("Maid")
local RigBuilderUtils = require("RigBuil... | mit |
amiranony/anonybot | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
hughperkins/cltorch | src/FFI.lua | 1 | 1168 | local ok, ffi = pcall(require, 'ffi')
if ok then
local cdefs = [[
typedef struct THClStorage
{
int device;
float *data;
void *cl;
void *wrapper;
long size;
int refcount;
char flag;
void *allocator;
void *allocatorContext;
struct THClStorage *view;
} THClStorage;
typedef struct THClTensor
{
... | bsd-3-clause |
ffxiphoenix/darkstar | scripts/globals/weaponskills/sniper_shot.lua | 30 | 1451 | -----------------------------------
-- Sniper Shot
-- Marksmanship weapon skill
-- Skill Level: 80
-- Lowers enemy's INT. Chance of params.critical varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:70%
-- 100%TP 2... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Port_Jeuno/npcs/_6u4.lua | 17 | 1390 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Door: Departures Exit (for San D'Oria)
-- @zone 246
-- @pos -76 8 54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[race]/race/edf/edf_client_cp_lines.lua | 4 | 6019 | --
-- edf_client_cp_lines.lua
--
-- Visualization of checkpoint connections for race
-- Use command 'cplines' to toggle display
--
local showHelpText = true
local showCheckpointLines = true
local updatesPerFrame = 10 -- How many checkpoints to update per frame
local lineList = {}
local curIdx = 0
local startTime = ... | mit |
hewei-chn/resurgence | lib/proxy/commands.lua | 2 | 3636 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is dis... | gpl-2.0 |
thisisali/gbbot | plugins/about.lua | 1 | 2506 | local action = function(msg, blocks, ln)
--ignore if via pm
if msg.chat.type == 'private' then
api.sendMessage(msg.from.id, lang[ln].pv)
return nil
end
local hash = 'chat:'..msg.chat.id..':about'
if blocks[1] == 'about' then
local out = cross.getAbout(msg.chat.id, ln)
if is_locked(msg, 'A... | gpl-2.0 |
sbraitbart/darktable | tools/lua_doc/old_api/dt_api300.lua | 7 | 247785 | API = {
["__text"] = [==[This documentation is for the *development* version of darktable. for the stable version, please visit the user manual
To access the darktable specific functions you must load the darktable environment:<code>darktable = require "darktable"</code>All functions and data are accessed through the d... | gpl-3.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[admin]/anti/camp_c.lua | 4 | 1818 | -- Global variable to check if a DD map is running --
local minDistance = 5
local interval = 1000
local maxCounter = 15
local warning = 8
local running = nil
local previousPosition = nil
local counter = 0
function mapRunning(isRunning)
if isRunning then
running = setTimer(campTimer, interval, 0)
-- outputDebugS... | mit |
ffxiphoenix/darkstar | scripts/zones/Temenos/mobs/Goblin_Slaughterman.lua | 16 | 1072 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Slaughterman
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------... | gpl-3.0 |
Quenty/NevermoreEngine | src/sprites/src/Shared/Sprite/AnimatedSpritesheet.lua | 1 | 2041 | --[=[
A spritesheet that is animated. See [AnimatedSpritesheetPlayer] for playback.
@class AnimatedSpritesheet
]=]
local require = require(script.Parent.loader).load(script)
local Spritesheet = require("Spritesheet")
local AnimatedSpritesheet = setmetatable({}, Spritesheet)
AnimatedSpritesheet.ClassName = "Animate... | mit |
ffxiphoenix/darkstar | scripts/zones/Port_Windurst/npcs/Mojo-Pojo.lua | 38 | 1037 | -----------------------------------
-- Area: Port Windurst
-- NPC: Mojo-Pojo
-- Type: Standard NPC
-- @zone: 240
-- @pos -108.041 -4.25 109.545
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mazween.lua | 34 | 1639 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mazween
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require(... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Northern_San_dOria/npcs/Olbergieut.lua | 17 | 2258 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Olbergieut
-- Type: Quest NPC
-- @zone 231
-- @pos 91 0 121
--
-- Starts and Finishes Quest: Gates of Paradise
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---------------------... | gpl-3.0 |
GmodStarfall/Starfall | lua/starfall/instance.lua | 1 | 7846 | ---------------------------------------------------------------------
-- SF Instance class.
-- Contains the compiled SF script and essential data. Essentially
-- the execution context.
---------------------------------------------------------------------
SF.Instance = {}
SF.Instance.__index = SF.Instance
--- Instance... | bsd-3-clause |
ffxiphoenix/darkstar | scripts/zones/The_Boyahda_Tree/npcs/Mandragora_Warden.lua | 19 | 1951 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: Mandragora Warden
-- Type: Mission NPC
-- @pos 81.981 7.593 139.556 153
-----------------------------------
package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil;
-----------------------------------
-----------------------------------
... | gpl-3.0 |
dail8859/ScintilluaPlusPlus | ext/scintillua/lexers/sml.lua | 2 | 3293 | -- Copyright 2017 Murray Calavera. See LICENSE.
-- Standard ML LPeg lexer.
local l = require('lexer')
local token = l.token
function mlword(words)
return l.word_match(words, "'")
end
local ws = token(l.WHITESPACE, l.space^1)
-- single line comments are valid in successor ml
local cl = '(*)' * l.nonnewline^0
local... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/globals/spells/slow.lua | 18 | 1498 | -----------------------------------------
-- Spell: Slow
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- Slow's potency is calculated with the formula (150 + dMND*2)/1024, and caps at 300/1024 (~29.3%).
-- And MND of 75 is neccessary to reach the hardcap of Slow.
--... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Temenos/mobs/Temenos_Cleaner.lua | 16 | 1289 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Temenos_Cleaner
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/_6eo.lua | 31 | 1367 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Door:House
-- @zone 80
-- @pos 148 0 27
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/globals/quests");
require("scripts/globals/settings");
---------------------------... | gpl-3.0 |
vilarion/Illarion-Content | monster/race_63_bone_dragon/id_636_ice.lua | 3 | 1688 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
vilarion/Illarion-Content | quest/hummi_olaficht_604.lua | 3 | 3392 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/La_Theine_Plateau/npcs/Yaucevouchat.lua | 17 | 1570 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Yaucevouchat
-- Involved in Mission: The Rescue Drill
-- @pos -318 39 183 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
Mhdl80/daredevil_mental11 | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
ffxiphoenix/darkstar | scripts/zones/Windurst_Waters/npcs/Kerutoto.lua | 17 | 11600 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kerutoto
-- Starts Quest Food For Thought
-- Involved in Quest: Riding on the Clouds
-- @zone 238
-- @pos 13 -5 -157
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loaded["scripts/g... | gpl-3.0 |
crzang/awesome-config | pl/OrderedMap.lua | 8 | 4507 | --- OrderedMap, a map which preserves ordering.
--
-- Derived from `pl.Map`.
--
-- Dependencies: `pl.utils`, `pl.tablex`, `pl.List`
-- @classmod pl.OrderedMap
local tablex = require 'pl.tablex'
local utils = require 'pl.utils'
local List = require 'pl.List'
local index_by,tsort,concat = tablex.index_by,table.sort,tabl... | apache-2.0 |
ffxiphoenix/darkstar | scripts/zones/Temenos/mobs/Enhanced_Tiger.lua | 16 | 1046 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Tiger
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
amiranony/anonybot | plugins/media.lua | 376 | 1679 | do
local function run(msg, matches)
local receiver = get_receiver(msg)
local url = matches[1]
local ext = matches[2]
local file = download_to_file(url)
local cb_extra = {file_path=file}
local mime_type = mimetype.get_content_type_no_sub(ext)
if ext == 'gif' then
print('send_file')
send_docum... | gpl-2.0 |
AfuSensi/Mr.Green-MTA-Resources | resources/[race]/race_playerstats/s_database.lua | 1 | 6656 |
-- defined in s_util.lua
--resourceRoot = getResourceRootElement()
--local resourceName = getResourceName(getThisResource())
dbSchemaPlayers = {
Name = "PlayerStats_Players",
Columns = {
{ Name="nick", Type="VARCHAR", Constraint="NOT NULL COLLATE NOCASE" },
{ Name="serial", Type="VARCHAR", Constraint="COLLATE ... | mit |
ffxiphoenix/darkstar | scripts/globals/items/sleepshroom.lua | 35 | 1191 | -----------------------------------------
-- ID: 4374
-- Item: sleepshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -3
-- Mind 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/spells/impact.lua | 25 | 3681 | -----------------------------------------
-- Spell: Impact
-- Deals dark damage to an enemy and
-- decreases all 7 base stats by 20%
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- onMagicCastingCheck... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Bibiki_Bay/mobs/Shen.lua | 16 | 1239 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Shen
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobFight Action
-----------------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Qudamahf.lua | 38 | 1136 | -----------------------------------
-- Area: Silver_Sea_route_to_Nashmau
-- NPC: Qudamahf
-- Notes: Tells ship ETA time
-- @pos 0.340 -12.232 -4.120 58
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/mobskills/Sickle_Slash.lua | 12 | 1266 | ---------------------------------------------------
-- Sickle Slash
-- Deals critical damage. Chance of critical hit varies with TP.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------... | gpl-3.0 |
vilarion/Illarion-Content | item/id_271_scythe.lua | 1 | 2046 | --[[
Illarion Server
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero 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 distributed in the hope that it wi... | agpl-3.0 |
ffxiphoenix/darkstar | scripts/globals/abilities/call_beast.lua | 18 | 1073 | -----------------------------------
-- Ability: Call Beast
-- Calls a beast to fight by your side.
-- Obtained: Beastmaster Level 23
-- Recast Time: 5:00
-- Duration: Dependent on jug pet used.
-----------------------------------
require("scripts/globals/common");
require("scripts/globals/status");
---------... | gpl-3.0 |
ffxiphoenix/darkstar | scripts/zones/Cape_Teriggan/npcs/Dultwa_IM.lua | 28 | 3120 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Dulwa, I.M.
-- Type: Border Conquest Guards
-- @pos 119 0 282 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.