repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
geanux/darkstar | scripts/globals/spells/windstorm.lua | 31 | 1153 | --------------------------------------
-- Spell: Windstorm
-- Changes the weather around target party member to "windy."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------------------... | gpl-3.0 |
blackops97/SAJJAD.iq | plugins/ar-onservice.lua | 1 | 1360 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY SAJJAD HUSSIEN ▀▄ ▄▀
▀▄ ▄▀ BY SAJJADHUSSIEN (@sajjad_iq98) ▀▄ ▄▀
▀▄ ▄ JUST WRITED BY SAJJAD HUSSIEN ▀▄ ▄▀
▀▄ ▄▀ KICK BOT : طرد البوت ▀▄ ▄▀
▀▄... | gpl-2.0 |
geanux/darkstar | scripts/globals/abilities/scavenge.lua | 18 | 2406 | -----------------------------------
-- Ability: Scavenge
-- Searches the ground around user for items.
-- Obtained: Ranger Level 10
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-------------------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Northern_San_dOria/npcs/Madaline.lua | 36 | 1615 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Madaline
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
ModusCreateOrg/libOpenMPT-ios | libopenmpt-0.2.6401/build/premake/mpt-OpenMPT-VSTi.lua | 1 | 2745 |
project "OpenMPT-VSTi"
uuid "d1ad4072-c810-4eea-95d0-27fdfa764834"
language "C++"
location ( "../../build/" .. _ACTION )
objdir "../../build/obj/OpenMPT-VSTi"
dofile "../../build/premake/premake-defaults-DLL.lua"
dofile "../../build/premake/premake-defaults.lua"
includedirs {
"../../common",
"../.... | bsd-3-clause |
geanux/darkstar | scripts/globals/items/wizard_cookie.lua | 35 | 1345 | -----------------------------------------
-- ID: 4576
-- Item: wizard_cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- MP Recovered While Healing 7
-- Plantoid Killer 7
-- Slow Resist 7
-----------------------------------------
require("scripts/globals/status");
--------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Port_Windurst/npcs/Kuroido-Moido.lua | 17 | 3895 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kuriodo-Moido
-- Involved In Quest: Making Amends, Wonder Wands
-- Starts and Finishes: Making Amens!
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Sealions_Den/npcs/Jovial_Rat.lua | 38 | 1034 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Jovial Rat
-- Type: Past Event Watcher
-- @zone: 32
-- @pos
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---------------... | gpl-3.0 |
AliNiestani/ADMIN | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
amirh0211/shatelbot | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
omidtarh/wizard | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
sepehrpk/bot1 | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
kaen/Zero-K | LuaUI/Widgets/unit_start_state.lua | 2 | 26450 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Unit Start State",
desc = "Configurable starting unit states for units",
author = "Goog... | gpl-2.0 |
SirFrancisBillard/lua-projects | crimeplus/lua/entities/rp_pot.lua | 1 | 4815 | AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "base_gmodentity"
ENT.PrintName = "Pot"
ENT.Category = "Crime+"
ENT.Spawnable = true
ENT.Model = "models/props_c17/metalPot001a.mdl"
function ENT:Initialize()
self:SetModel(self.Model)
self:SetMoveType(MOVETYPE_VPHYSICS)
self:SetSolid(SOLID_VPHYSICS)
if SER... | gpl-3.0 |
kaen/Zero-K | scripts/carrydrone.lua | 17 | 3451 | include "constants.lua"
local spGetUnitVelocity = Spring.GetUnitVelocity
--local math = math
--pieces
local fuselage = piece "fuselage"
local rotor1 = piece "rotor1"
local rotor2 = piece "rotor2"
local engineL = piece "enginel"
local engineR = piece "enginer"
local tailL = piece "taill"
local tailR = piece "tailr"
lo... | gpl-2.0 |
gwx/tome-elementals-race | data/libs/auto-temps-0.lua | 5 | 1697 | -- 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 distributed in the hope that it will be useful... | gpl-3.0 |
sodzawic/tk | epan/wslua/dtd_gen.lua | 38 | 8369 | -- dtd_gen.lua
--
-- a DTD generator for wireshark
--
-- (c) 2006 Luis E. Garcia Ontanon <luis@ontanon.org>
--
-- Wireshark - Network traffic analyzer
-- By Gerald Combs <gerald@wireshark.org>
-- Copyright 1998 Gerald Combs
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms... | gpl-2.0 |
geanux/darkstar | scripts/globals/items/plate_of_sole_sushi.lua | 14 | 1743 | -----------------------------------------
-- ID: 5149
-- Item: plate_of_sole_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 20
-- Strength 5
-- Dexterity 6
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scrip... | gpl-3.0 |
forward619/luci | applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua | 68 | 2351 | -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ast = require("luci.asterisk")
--
-- SIP trunk info
--
if arg[2] == "info" then
form = SimpleForm("asterisk", "SIP Trunk Information")
form.reset = false
form.submit = "Back to overview"
local info,... | apache-2.0 |
geanux/darkstar | scripts/zones/Mhaura/npcs/Nomad_Moogle.lua | 34 | 1116 | -----------------------------------
-- Area: Mhaura
-- NPC: Nomad Moogle
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
------------------------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Lufaise_Meadows/mobs/Leshy.lua | 29 | 1618 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Leshy
-----------------------------------
function onMobRoam(mob)
local Colorful_Leshy = 16875762;
local Colorful_Leshy_PH = 0;
local Colorful_Leshy_PH_Table =
{
16875754,
16875755,
16875756,
16875757,
16875758,
... | gpl-3.0 |
geanux/darkstar | scripts/zones/Bastok_Mines/npcs/Crying_Wind_IM.lua | 28 | 4888 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Crying Wind, I.M.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Miss... | gpl-3.0 |
evilexecutable/ResourceKeeper | install/Lua/lib/luarocks/rocks/luasocket/3.0rc1-2/test/smtptest.lua | 44 | 5376 | local sent = {}
local from = "diego@localhost"
local server = "localhost"
local rcpt = "luasocket@localhost"
local files = {
"/var/spool/mail/luasocket",
"/var/spool/mail/luasock1",
"/var/spool/mail/luasock2",
"/var/spool/mail/luasock3",
}
local t = socket.time()
local err
dofile("mbox.lua")
local p... | gpl-2.0 |
kaen/Zero-K | units/destroyer.lua | 2 | 6543 | unitDef = {
unitname = [[destroyer]],
name = [[Daimyo]],
description = [[Destroyer (Riot/Antisub)]],
acceleration = 0.0417,
activateWhenBuilt = true,
brakeRate = 0.142,
buildAngle = 16384,
buildCostEnergy = 700,
... | gpl-2.0 |
geanux/darkstar | scripts/zones/Al_Zahbi/npcs/Zazarg.lua | 38 | 1028 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zazarg
-- Type: Stoneserpent General
-- @zone: 48
-- @pos -41.675 -8 104.452
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
---------------------... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/silken_squeeze.lua | 36 | 1215 | -----------------------------------------
-- ID: 5630
-- Item: Silken Squeeze
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recovered while healing +4
-- MP Recovered while healing +5
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
EinBaum/server | dep/recastnavigation/RecastDemo/premake4.lua | 82 | 3551 | --
-- premake4 file to build RecastDemo
-- http://industriousone.com/premake
--
local action = _ACTION or ""
local todir = "Build/" .. action
solution "recastnavigation"
configurations {
"Debug",
"Release"
}
location (todir)
-- extra warnings, no exceptions or rtti
flags {
"ExtraWarnings",
"FloatFast"... | gpl-2.0 |
Aarhus-BSS/Aarhus-Research-Rebuilt | lib/luaj-3.0.1/test/lua/errors.lua | 7 | 6006 | -- tostring replacement that assigns ids
local ts,id,nid,types = tostring,{},0,{table='tbl',thread='thr',userdata='uda',['function']='func'}
tostring = function(x)
if not x or not types[type(x)] then return ts(x) end
if not id[x] then nid=nid+1; id[x]=types[type(x)]..'.'..nid end
return id[x]
end
-- test of common ... | apache-2.0 |
geanux/darkstar | scripts/zones/Southern_San_dOria/npcs/Hinaree.lua | 19 | 1923 | -----------------------------------
-- Area: Southern San d'Oria@
-- NPC: Hinaree
-- Type: Standard NPC
-- @zone: 230
-- @pos -301.535 -10.199 97.698
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/purple_polypore.lua | 36 | 1156 | -----------------------------------------
-- ID: 5682
-- Item: Purple Polypore
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- Strength -6
-- Mind +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
geanux/darkstar | scripts/zones/Jugner_Forest/npcs/Alexius.lua | 17 | 1617 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Alexius
-- Involved in Quest: A purchase of Arms & Sin Hunting
-- @pos 105 1 382 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
geanux/darkstar | scripts/zones/Xarcabard/npcs/Pelogrant.lua | 17 | 1856 | -----------------------------------
-- Area: Xarcabard
-- NPC: Pelogrant
-- Type: Outpost Vendor
-- @pos 210 -22 -201 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals... | gpl-3.0 |
vvtam/vlc | share/lua/playlist/mpora.lua | 97 | 2565 | --[[
$Id$
Copyright © 2009 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.org)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your opt... | gpl-2.0 |
geanux/darkstar | scripts/zones/Southern_San_dOria/npcs/Foletta.lua | 36 | 1433 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Foletta
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
tonyshow/UniLua | Assets/StreamingAssets/LuaRoot/test/events.lua | 9 | 9663 | print('testing metatables')
X = 20; B = 30
_ENV = setmetatable({}, {__index=_G})
collectgarbage()
X = X+10
assert(X == 30 and _G.X == 20)
B = false
assert(B == false)
B = nil
assert(B == 30)
assert(getmetatable{} == nil)
assert(getmetatable(4) == nil)
assert(getmetatable(nil) == nil)
a={}; setmetatable(a, {__metat... | mit |
geanux/darkstar | scripts/zones/West_Ronfaure/npcs/Colmaie.lua | 19 | 1122 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Colmaie
-- Type: Standard NPC
-- @pos -133.627 -61.999 272.373 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade ... | gpl-3.0 |
legend18/dragonbone_cocos2dx-3.x | demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/cocos/scripting/lua-bindings/auto/api/ControlColourPicker.lua | 6 | 2337 |
--------------------------------
-- @module ControlColourPicker
-- @extend Control
-- @parent_module cc
--------------------------------
-- @function [parent=#ControlColourPicker] setEnabled
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#ControlColourPicker] getHu... | mit |
kaen/Zero-K | effects/gundam_prettypop.lua | 26 | 1976 | -- prettypop
return {
["prettypop"] = {
groundflash = {
air = true,
alwaysvisible = true,
circlealpha = 0.0,
circlegrowth = 8,
flashalpha = 0.9,
flashsize = 20,
ground = true,
ttl = 17,
... | gpl-2.0 |
geanux/darkstar | scripts/zones/Northern_San_dOria/npcs/Cauzeriste.lua | 17 | 1263 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Cauzeriste
-- Guild Merchant NPC: Woodworking Guild
-- @pos -175.946 3.999 280.301 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
geanux/darkstar | scripts/zones/Bastok_Mines/npcs/Odoba.lua | 19 | 1145 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Odoba
-- Guild Merchant NPC: Alchemy Guild
-- @pos 108.473 5.017 1.089 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
Schwertspize/cuberite | Server/Plugins/APIDump/Hooks/OnPlayerBreakingBlock.lua | 44 | 1596 | return
{
HOOK_PLAYER_BREAKING_BLOCK =
{
CalledWhen = "Just before a player breaks a block. Plugin may override / refuse. ",
DefaultFnName = "OnPlayerBreakingBlock", -- also used as pagename
Desc = [[
This hook is called when a {{cPlayer|player}} breaks a block, before the block is actually broken in
the ... | apache-2.0 |
kaen/Zero-K | LuaUI/Widgets/camera_recorder.lua | 17 | 8831 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "CameraRecorder",
desc = "v0.011 Record positions of the camera to a file and repath those posi... | gpl-2.0 |
sami2448/a | plugins/inpm.lua | 7 | 3011 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
kaen/Zero-K | LuaUI/Widgets/map_edge_barrier.lua | 7 | 7418 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Map Edge Barrier",
version = "v0.22",
desc = "Draws a vertical grid along map edge",
... | gpl-2.0 |
evilexecutable/ResourceKeeper | install/Lua/lib/lua/luarocks/tools/zip.lua | 2 | 8340 |
--- A Lua implementation of .zip file archiving (used for creating .rock files),
-- using only lua-zlib.
module("luarocks.tools.zip", package.seeall)
local zlib = require("zlib")
local fs = require("luarocks.fs")
local dir = require("luarocks.dir")
local function number_to_bytestring(number, nbytes)
local out = {... | gpl-2.0 |
mohammadclashclash/elll2014 | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
esn3s/3S_LUA | vrac/_esnFbaScreenshot/sfiii3-hitboxes_mame.lua | 1 | 13622 | --MAME-rrêphitbox.luaB
--ù¶Ìhitbox.luaðAȺÌlÉÏXB
--EPt[ãÌ»èð\¦µÄ¢½ ¨ »Ìt[Å̽è»èð\¦·éæ¤ÉÏX
--EÊíÌH碻èU»è¾¯\¦µÄ¢½ ¨ Uðoµ½ÌH碻èà\¦·éæ¤ÉÏX
--ELÌcÀWªOȺÉÈ鯻èª\¦³êÈ©Á½¨ \... | mit |
geanux/darkstar | scripts/zones/Mount_Zhayolm/TextIDs.lua | 7 | 1063 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6383; -- Obtained: <item>
GIL_OBTAINED = 6384; -- Obtained <number> gil
KEYITEM_OBTAINED = 6386; -- Obtain... | gpl-3.0 |
evilexecutable/ResourceKeeper | install/LuaRocks/lua/luarocks/repos.lua | 20 | 11978 |
--- Functions for managing the repository on disk.
--module("luarocks.repos", package.seeall)
local repos = {}
package.loaded["luarocks.repos"] = repos
local fs = require("luarocks.fs")
local path = require("luarocks.path")
local cfg = require("luarocks.cfg")
local util = require("luarocks.util")
local dir = require(... | gpl-2.0 |
kaen/Zero-K | LuaUI/Widgets/chili_new/themes/theme.lua | 18 | 1465 | --//=============================================================================
--// Theme
theme = {}
theme.name = "default"
--//=============================================================================
--// Define default skins
local defaultSkin = "Carbon"
--local defaultSkin = "DarkGlass"
theme.skin = {
... | gpl-2.0 |
geanux/darkstar | scripts/globals/items/porcupine_pie.lua | 35 | 1945 | -----------------------------------------
-- ID: 5156
-- Item: porcupine_pie
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 55
-- Strength 6
-- Vitality 2
-- Intelligence -3
-- Mind 3
-- MP recovered while healing 2
-- Accuracy 5
-- Attack % 18 (cap 95)
-- Ranged Attack % ... | gpl-3.0 |
kaen/Zero-K | LuaUI/Widgets/gui_epicmenu.lua | 2 | 86017 | function widget:GetInfo()
return {
name = "EPIC Menu",
desc = "v1.438 Extremely Powerful Ingame Chili Menu.",
author = "CarRepairer",
date = "2009-06-02", --2014-05-3
license = "GNU GPL, v2 or later",
layer = -100001,
handler = true,
experimental = false,
... | gpl-2.0 |
geanux/darkstar | scripts/globals/abilities/pets/stone_iv.lua | 20 | 1151 | ---------------------------------------------------
-- Stone 4
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
---------------------------------------------... | gpl-3.0 |
xXDarkBoyXx/Cloud_Tm | plugins/Anti-spam.lua | 30 | 4161 |
do
local NUM_MSG_MAX = 4
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..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end... | gpl-2.0 |
mullikine/vlc | share/lua/intf/dumpmeta.lua | 98 | 2125 | --[==========================================================================[
dumpmeta.lua: dump a file's meta data on stdout/stderr
--[==========================================================================[
Copyright (C) 2010 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Th... | gpl-2.0 |
tonylauCN/tutorials | lua/debugger/lualibs/lexers/yaml.lua | 4 | 3921 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- YAML LPeg lexer.
-- It does not keep track of indentation perfectly.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'yaml'}
-- Whitespace.
local indent = #l.... | apache-2.0 |
semyon422/lua-mania | src/lmfw/ui/classes/QuadTextButton.lua | 1 | 2112 | local init = function(classes, ui)
--------------------------------
local QuadTextButton = classes.UiObject:new()
QuadTextButton.layer = 2
QuadTextButton.textXAlign = "center"
QuadTextButton.textYAlign = "center"
QuadTextButton.textXPadding = 0
QuadTextButton.textYPadding = 0
QuadTextButton.textColor = {255, 255, 255... | gpl-3.0 |
johanburati/pushover | themes/aztec.lua | 1 | 1828 |
-- the 22 foreground tiles
foreground = {
1, 0, -- FgElementPlatformStart
2, 0, -- FgElementPlatformMiddle
3, 0, -- FgElementPlatformEnd
4, 0, -- FgElementPlatformLadderDown
5, 0, -- FgElementLadder
6, 0, -- FgElementPlatformLadderUp
7, 0, -- FgElementPlatformStep1
8, 0, -- FgElementPlatformSt... | gpl-3.0 |
esn3s/3S_LUA | vrac/_c_cube/3rd_training_20120212_esn_mod.lua | 1 | 73390 | -- 3rd_training.lua
-- auther c_cube
TIME = 0
--[[
XVð
2012/02/12(Sun) JvXQL[fBXvCðüÇBQPÎÔoßÅÁ¦éæ¤ÉB
2012/02/09(Thu) 02/07ÌL[fBXvCðíB02/08ÌdlÉí¹ÄìèȨ·\èB
2012/02/08(Wed) JvXQÁÛ¢L[fBXvCðÀBªòªÊ|LÄâÁÏ... | mit |
serl/vlc | share/lua/playlist/pluzz.lua | 105 | 3740 | --[[
$Id$
Copyright © 2011 VideoLAN
Authors: Ludovic Fauvet <etix at l0cal dot com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any l... | gpl-2.0 |
geanux/darkstar | scripts/zones/Windurst_Woods/npcs/Spare_Four.lua | 17 | 1507 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Spare Four
-- Working 100%
-- Involved in quest: A Greeting Cardian
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/globals/quests"] = nil;
require("scripts/globals/quests");
package.loaded[... | gpl-3.0 |
geanux/darkstar | scripts/commands/zone.lua | 24 | 13672 | ---------------------------------------------------------------------------------------------------
-- func: zone
-- desc: Teleports a player to the given zone.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = ... | gpl-3.0 |
geanux/darkstar | scripts/zones/Ranguemont_Pass/npcs/Perchond.lua | 19 | 1579 | -----------------------------------
-- Area: Ranguemont Pass
-- NPC: Perchond
-- @pos -182.844 4 -164.948 166
-----------------------------------
package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
----------------------------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Quicksand_Caves/npcs/_5s2.lua | 17 | 1275 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -574 0 -420 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Cav... | gpl-3.0 |
geanux/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/_5a0.lua | 17 | 2401 | -----------------------------------
-- Area: King Ranperre's Tomb
-- DOOR: _5a0 (Heavy Stone Door)
-- @pos -39.000 4.823 20.000 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
re... | gpl-3.0 |
geanux/darkstar | scripts/globals/spells/bluemagic/magic_fruit.lua | 18 | 1794 | -----------------------------------------
-- Spell: Magic Fruit
-- Restores HP for the target party member
-- Spell cost: 72 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+1 HP+5
-- Level: 58
-- Casting Time: 3.5 seconds
-- Recast Time: 6 seconds
--
-- ... | gpl-3.0 |
geanux/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 |
tonylauCN/tutorials | openresty/debugger/lualibs/luacheck/lua_fs.lua | 5 | 1954 | local utils = require "luacheck.utils"
local lua_fs = {}
-- Quotes an argument for a command for os.execute or io.popen.
-- Same code has been contributed to pl.
local function quote_arg(argument)
if utils.is_windows then
if argument == "" or argument:find('[ \f\t\v]') then
-- Need to quote the argu... | apache-2.0 |
geanux/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua | 34 | 1541 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Ezura-Romazura
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Wi... | gpl-3.0 |
geanux/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_ir7.lua | 17 | 1502 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _ir7 (Iron Gate)
-- @pos -70.800 -1.500 60.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scr... | gpl-3.0 |
geanux/darkstar | scripts/zones/Port_Jeuno/npcs/Challoux.lua | 37 | 1148 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Challoux
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-... | gpl-3.0 |
geanux/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 |
evilexecutable/ResourceKeeper | install/Lua/lib/lua/pl/data.lua | 12 | 18170 | --- Reading and querying simple tabular data.
--
-- data.read 'test.txt'
-- ==> {{10,20},{2,5},{40,50},fieldnames={'x','y'},delim=','}
--
-- Provides a way of creating basic SQL-like queries.
--
-- require 'pl'
-- local d = data.read('xyz.txt')
-- local q = d:select('x,y,z where x > 3 and z < 2 sort by y... | gpl-2.0 |
blackops97/SAJJAD.iq | tg/lock_media.lua | 14 | 1480 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# Developer : Aziz < @TH3_GHOST >
# our channel: @DevPointTeam
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
lo... | gpl-2.0 |
geanux/darkstar | scripts/zones/Vunkerl_Inlet_[S]/npcs/qm7.lua | 45 | 2168 | -----------------------------------
-- Area: Vunkerl Inlet (S) (H-6)
-- NPC: ???
-- Involved in Quests
-- @pos -26 -31 364
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
geanux/darkstar | scripts/globals/mobskills/Ill_Wind.lua | 15 | 1309 | ---------------------------------------------
-- Ill Wind
-- Description: Deals Wind damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes Shadows
-- Range: Unknown radial
-- Notes: Only used by Puks in Mamook, Besieged, and the following Noto... | gpl-3.0 |
kaen/Zero-K | LuaRules/Gadgets/mod_stats.lua | 7 | 7701 | -- $Id: unit_noselfpwn.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Mod statistics",
desc = "Gathers mo... | gpl-2.0 |
geanux/darkstar | scripts/zones/Port_Jeuno/npcs/Zona_Shodhun.lua | 34 | 3745 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Zona Shodhun
-- Starts and Finishes Quest: Pretty Little Things
-- @zone 246
-- @pos -175 -5 -4
-----------------------------------
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
tonylauCN/tutorials | lua/debugger/lualibs/lexers/rexx.lua | 5 | 3991 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Rexx LPeg lexer.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'rexx'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
local line_com... | apache-2.0 |
renchunxiao/sailor | src/remy/mod_plua.lua | 4 | 1934 | -- Remy - mod_pLua compatibility
-- Copyright (c) 2014 Felipe Daragon
-- License: MIT
-- TODO: implement all functions from mod_lua's request_rec
local request = {
-- ENCODING/DECODING FUNCTIONS
base64_decode = function(_,...) return string.decode64(...) end,
base64_encode = function(_,...) return string.encode64(.... | mit |
LiangMa/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 |
geanux/darkstar | scripts/zones/North_Gustaberg/TextIDs.lua | 7 | 1306 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED_TWICE = 6551; -- You cannot obtain the item <item>.
ITEM_CANNOT_BE_OBTAINED = 6552; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6555; -- You cannot obtain the #. Try tr... | gpl-3.0 |
legend18/dragonbone_cocos2dx-3.x | demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/cocos/scripting/lua-bindings/auto/api/Animate.lua | 6 | 1297 |
--------------------------------
-- @module Animate
-- @extend ActionInterval
-- @parent_module cc
--------------------------------
-- @overload self
-- @overload self
-- @function [parent=#Animate] getAnimation
-- @param self
-- @return Animation#Animation ret (retunr value: cc.Animation)
--------... | mit |
jcjohnson/torch-rnn | TemporalCrossEntropyCriterion.lua | 20 | 3816 | require 'nn'
local crit, parent = torch.class('nn.TemporalCrossEntropyCriterion', 'nn.Criterion')
--[[
A TemporalCrossEntropyCriterion is used for classification tasks that occur
at every point in time for a timeseries; it works for minibatches and has a
null token that allows for predictions at arbitrary timesteps t... | mit |
sunu/splash | splash/lua_modules/sandbox.lua | 4 | 6185 | -------------------
----- sandbox -----
-------------------
local sandbox = {}
sandbox.allowed_require_names = {}
sandbox.env = {
--
-- 6.1 Basic Functions
-- http://www.lua.org/manual/5.2/manual.html#6.1
assert = assert,
error = error,
ipairs = ipairs,
next = next,
pairs = pairs,
pcall = pcall,
p... | bsd-3-clause |
evilexecutable/ResourceKeeper | install/Lua/lib/lua/loop/object/Exception.lua | 12 | 2141 | --------------------------------------------------------------------------------
---------------------- ## ##### ##### ###### -----------------------
---------------------- ## ## ## ## ## ## ## -----------------------
---------------------- ## ## ## ## ## ###### --------------------... | gpl-2.0 |
forward619/luci | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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$
]]--
require("luci.i18n")
re... | apache-2.0 |
kobreu/compiler | testinput/lua5.1-tests/db.lua | 18 | 12088 | -- testing debug library
local function dostring(s) return assert(loadstring(s))() end
print"testing debug library and debug information"
do
local a=1
end
function test (s, l, p)
collectgarbage() -- avoid gc during trace
local function f (event, line)
assert(event == 'line')
local l = table.remove(l, ... | gpl-3.0 |
geanux/darkstar | scripts/globals/weaponskills/dragon_kick.lua | 30 | 1693 | -----------------------------------
-- Dragon Kick
-- Hand-to-Hand weapon skill
-- Skill Level: 225
-- Damage varies with TP.
-- Despite the name, Dragon Kick damage is not affected by Kick Attacks or equipment that enhances kick attacks such as Dune Boots. http://www.bluegartr.com/threads/121610-Rehauled-Weapon-S... | gpl-3.0 |
geanux/darkstar | scripts/zones/Port_Windurst/npcs/Kohlo-Lakolo.lua | 36 | 10182 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kohlo-Lakolo
-- Invloved In Quests: Truth, Justice, and the Onion Way!,
-- Know One's Onions,
-- Inspector's Gadget,
-- Onion Rings,
-- Crying Over Onions,
-- Wild Card,
-- ... | gpl-3.0 |
evilexecutable/ResourceKeeper | install/Lua/share/lua/5.1/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | gpl-2.0 |
semyon422/lua-mania | alpha/conf.lua | 1 | 1072 | --[[ lua-mania
Copyright (C) 2016 Semyon Jolnirov (semyon422)
This program licensed under the GNU GPLv3. ]]
function love.conf(t)
t.identity = nil
t.version = "0.10.1"
t.console = true
t.accelerometerjoystick = true
t.gammacorrect = false
t.window.title = "lua-mania"
t.window.icon = nil
t.window.width = 8... | gpl-3.0 |
geanux/darkstar | scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua | 21 | 1901 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Jazaraat's Headstone
-- Involved in mission: The Lost Kingdom (TOAUM 13)
-- @pos -389 6 -570 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
require("scripts/zones/Caedarva_Mire/TextIDs");
--------... | gpl-3.0 |
Pritchy96/OpenRA | lua/stacktraceplus.lua | 59 | 12006 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must be availa... | gpl-3.0 |
kaen/Zero-K | LuaUI/Widgets/gfx_halo.lua | 12 | 10613 | -- $Id: gfx_halo.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: gfx_halo.lua
-- brief:
-- author: jK
--
-- Copyright (C) 2008.
-- Licensed under ... | gpl-2.0 |
geanux/darkstar | scripts/zones/Port_Bastok/npcs/Sugandhi.lua | 30 | 1587 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sugandhi
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/shop");
-----------------------------------
-- onTra... | gpl-3.0 |
omidtarh/wizard | bot/bot.lua | 1 | 67257 | struct random2local {
long long random_id;
int local_id;
};
static int id_cmp (struct tgl_message *M1, struct tgl_message *M2);
#define peer_cmp(a,b) (tgl_cmp_peer_id (a->id, b->id))
#define peer_cmp_name(a,b) (strcmp (a->print_name, b->print_name))
static int random_id_cmp (struct random2local *L, struct random2... | gpl-2.0 |
kaen/Zero-K | units/roostfac.lua | 6 | 3153 | unitDef = {
unitname = [[roostfac]],
name = [[Roost]],
description = [[Spawns Big Chickens]],
acceleration = 0,
bmcode = [[0]],
brakeRate = 0,
buildAngle = 4096,
... | gpl-2.0 |
371816210/vlc_vlc | share/lua/playlist/vimeo.lua | 65 | 3213 | --[[
$Id$
Copyright © 2009-2013 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.org)
François Revol (revol@free.fr)
Pierre Ynard
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 S... | gpl-2.0 |
geanux/darkstar | scripts/zones/The_Eldieme_Necropolis/Zone.lua | 30 | 2110 | -----------------------------------
--
-- Zone: The_Eldieme_Necropolis (195)
--
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.