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/zones/Northern_San_dOria/npcs/Shakir.lua
38
1046
----------------------------------- -- Area: Northern San d'Oria -- NPC: Shakir -- Type: Standard NPC -- @zone: 231 -- @pos 48.952 -2.999 -16.687 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ---...
gpl-3.0
tonylauCN/tutorials
lua/debugger/lualibs/lexers/groovy.lua
5
3177
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Groovy 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 = 'groovy'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local line...
apache-2.0
hellotomfan/v8-coroutine
deps/v8/tools/gcmole/gccause.lua
157
2313
-- Copyright 2011 the V8 project authors. All rights reserved. -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are -- met: -- -- * Redistributions of source code must retain the above copyright -- notice, this list of ...
gpl-2.0
mirkix/ardupilot
libraries/AP_Scripting/examples/copter-deadreckon-home.lua
8
17148
-- Copter attempts to fly home using dead reckoning if the GPS quality deteriorates or an EKF failsafe triggers -- -- CAUTION: This script only works for Copter 4.3 (and higher) -- this script checks for low GPS quality and/or an EKF failsafe and if either occurs, flies in the last known direction towards home -- -- DR...
gpl-3.0
kaen/Zero-K
LuaUI/chat_preprocess.lua
10
7376
--Chat preprocessor. Provide preprocessed chat message for Chili Chat widget --last update: 20 May 2014 local myName = Spring.GetPlayerInfo(Spring.GetMyPlayerID()) local transmitMagic = "> ["..myName.."]!transmit" -- Lobby is sending to LuaUI local voiceMagic = "> ["..myName.."]!transmit voice" -- Lobby is sending a v...
gpl-2.0
meysam-kurd/TabChi-master
lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-3.0
geanux/darkstar
scripts/globals/items/m&p_doner_kabob.lua
36
1132
----------------------------------------- -- ID: 5717 -- Item: M&P Doner Kabob -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 5% -- MP 5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
hughperkins/nngraph
test/speed.lua
1
4021
require 'nngraph' function time_benchmark(model, input, n) local forward_timer = torch.Timer():stop():reset() local backward_timer = torch.Timer():stop():reset() local total_timer = torch.Timer():stop():reset() local gradOut total_timer:resume() for i = 1, n do forward_timer:resume() local out = model:forw...
bsd-3-clause
boyska/chdkripto
CHDK/SCRIPTS/TEST/romlog.lua
5
1525
--[[ @title save ROM crash log to ROMLOG.LOG requires CHDK built with native function call support @param a remove old files 1=yes, 0=no @default a 1 --]] LOG_NAME="A/ROMLOG.LOG" ERR_NAME="A/RomLogErr.txt" function printf(...) print(string.format(...)) end if (type(call_event_proc) ~= "function") then error(...
gpl-2.0
geanux/darkstar
scripts/zones/Windurst_Waters/npcs/Baehu-Faehu.lua
36
1615
----------------------------------- -- Area: Windurst Waters -- NPC: Baehu-Faehu -- Only sells when Windurst has control of Sarutabaruta -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones...
gpl-3.0
geanux/darkstar
scripts/zones/Northern_San_dOria/npcs/HomePoint#1.lua
17
1273
----------------------------------- -- Area: Northern San dOria -- NPC: HomePoint#1 -- @pos -178.101 4.000 71.279 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Northern_San_dOria/TextIDs")...
gpl-3.0
evilexecutable/ResourceKeeper
install/LuaRocks/lua/luarocks/fetch.lua
12
15290
--- Functions related to fetching and loading local and remote files. --module("luarocks.fetch", package.seeall) local fetch = {} package.loaded["luarocks.fetch"] = fetch local fs = require("luarocks.fs") local dir = require("luarocks.dir") local type_check = require("luarocks.type_check") local path = require("luaro...
gpl-2.0
boyska/chdkripto
CHDK/SCRIPTS/TEST/setmode.lua
2
5652
--[[ @title set cap mode test @param a 0=batch 1=menu 2=single @default a 0 @param b batch: 0=valid only 1=all @default b 0 @param c single: 0=by prop 1=by CHDK @default c 0 @param d single: mode value @default d 0 @param e mode change delay, ms @default e 10 --]] action=a batchtype=b singletype=c reqmode=d function m...
gpl-2.0
forward619/luci
modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua
15
17116
-- Licensed to the public under the Apache License 2.0. module "luci.sys.zoneinfo.tzdata" TZ = { { 'Africa/Abidjan', 'GMT0' }, { 'Africa/Accra', 'GMT0' }, { 'Africa/Addis Ababa', 'EAT-3' }, { 'Africa/Algiers', 'CET-1' }, { 'Africa/Asmara', 'EAT-3' }, { 'Africa/Bamako', 'GMT0' }, { 'Africa/Bangui', 'WAT-1' }, ...
apache-2.0
kaen/Zero-K
LuaUI/Configs/nubtron_config.lua
12
8942
--[[ INSTRUCTIONS Choose names for the unitClass table and use those names in conditions. For example if you use "Con" then you must use "ConSelected" not "conSelected": local unitClasses = { Con = { 'armrectr' }, } local steps = { selectCon = { image = unitClasses.Con[1] ..'.png', passIfAny = { 'ConSelecte...
gpl-2.0
geanux/darkstar
scripts/zones/Mhaura/npcs/Porter_Moogle.lua
41
1512
----------------------------------- -- Area: Mhaura -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 249 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts...
gpl-3.0
geanux/darkstar
scripts/zones/Northern_San_dOria/npcs/Tavourine.lua
36
1864
----------------------------------- -- Area: Northern San d'Oria -- NPC: Tavourine -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/sh...
gpl-3.0
tonylauCN/tutorials
lua/debugger/lualibs/lexers/pkgbuild.lua
5
2764
-- Copyright 2006-2013 gwash. See LICENSE. -- Archlinux PKGBUILD 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 = 'pkgbuild'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local comment = token(l....
apache-2.0
tonylauCN/tutorials
lua/1.5-serialize.lua
1
1081
-- serialize Serialize= {} function Serialize.basicSerialize(o) if type(o) == "number" then return tostring(o) else return string.format("%q", o) end end function Serialize.save(name, value, saved) saved = saved or {} io.write(name, " = ") if type(value) == "number" or type(val...
apache-2.0
evilexecutable/ResourceKeeper
install/Lua/share/lua/5.1/lapis/nginx/context.lua
1
1378
local insert insert = table.insert local make_callback make_callback = function(name) local add add = function(callback) local current = ngx.ctx[name] local t = type(current) local _exp_0 = t if "nil" == _exp_0 then ngx.ctx[name] = callback elseif "function" == _exp_0 then ngx.ctx[na...
gpl-2.0
SirFrancisBillard/lua-projects
workshop/nathaniel_rp_hud/nathaniel_rp_hud/lua/entities/billard_weed_plant/init.lua
3
1175
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include("shared.lua") function ENT:Initialize() self:SetModel("models/props_lab/cactus.mdl") //Because who needs custom models, amirite? self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) local phys =...
gpl-3.0
tonylauCN/tutorials
openresty/debugger/lualibs/lexers/eiffel.lua
5
2037
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Eiffel 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 = 'eiffel'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local comm...
apache-2.0
Some-T/Lua
Games/TemplateForNewGame/main.lua
1
4471
--io.stdout:setvbuf("no") --require = "conf.lua" io.write("Console output test \n") -- Taken from: https://love2d.org/wiki/Tutorial:Physics function love.load() local xWindowSize = 650 local yWindowSize = 650 local title = "Template For New Game" local icon = "icon.png" love.window.setTitle(title) l...
unlicense
geanux/darkstar
scripts/globals/items/bunch_of_pamamas.lua
36
2212
----------------------------------------- -- ID: 4468 -- Item: Bunch of Pamamas -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength -3 -- Intelligence 1 -- Additional Effect with Opo-Opo Crown -- HP 50 -- MP 50 -- CHR 14 -- Additional Effect with Kinkobo or -- Primate Staff -- DELAY ...
gpl-3.0
geanux/darkstar
scripts/globals/items/balik_sis.lua
35
1661
----------------------------------------- -- ID: 5600 -- Item: Balik Sis -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -2 -- Attack % 13 -- Attack Cap 40 -- Ranged ACC 1 -- Ranged ATT % 13 -- Ranged ATT Cap 40 ----------------------------------------- r...
gpl-3.0
xeranas/happy_weather
light_snow.lua
1
2677
------------------------------ -- Happy Weather: Light Rain -- License: MIT -- Credits: xeranas ------------------------------ local light_snow = {} -- Weather identification code light_snow.code = "light_snow" -- Manual triggers flags local manual_trigger_start = false local manual_trigger_end = false -- Skycolo...
mit
geanux/darkstar
scripts/zones/Port_Windurst/npcs/Ten_of_Clubs.lua
38
1039
----------------------------------- -- Area: Port Windurst -- NPC: Ten of Clubs -- Type: Standard NPC -- @zone: 240 -- @pos -229.393 -9.2 182.696 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------...
gpl-3.0
geanux/darkstar
scripts/zones/Bastok_Markets/npcs/Porter_Moogle.lua
41
1536
----------------------------------- -- Area: Bastok Markets -- NPC: Porter Moogle -- Type: Storage Moogle -- @zone 235 -- @pos TODO ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets/Tex...
gpl-3.0
h0tw1r3/mame
scripts/extlib.lua
4
2233
-- license:BSD-3-Clause -- copyright-holders:MAMEdev Team,Jeffrey Clark local extlibs = { -- -- 3rdparty system 3rdparty -- lib name: lib name, include dir -- expat = { "expat", "3rdparty/expat/lib" }, zlib = { "z", "3rdparty/zlib" }, jpeg = { "jpeg", ...
gpl-2.0
forward619/luci
applications/luci-app-wshaper/luasrc/model/cbi/wshaper.lua
56
1848
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") m = Map("wshaper", translate("Wondershaper"), translate("Wondershaper shapes traffic to ensure low latencies for interactive traffic even when your " .. "internet connec...
apache-2.0
geanux/darkstar
scripts/zones/Yuhtunga_Jungle/Zone.lua
25
4227
----------------------------------- -- -- Zone: Yuhtunga_Jungle (123) -- ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Yuhtunga_Jungle/TextID...
gpl-3.0
geanux/darkstar
scripts/zones/PsoXja/npcs/_09f.lua
17
1614
----------------------------------- -- Area: Pso'Xja -- NPC: _09f (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pso...
gpl-3.0
ld-test/luchia
src/luchia/core/server.lua
2
14193
--- Core server handler class. -- -- Note that for most cases, the methods in the higher-level @{luchia.database}, -- @{luchia.document}, and @{luchia.utilities} modules should be used; this module -- provides the core server functionality that those higher-level modules use, -- but can be used directly for more comple...
bsd-3-clause
ld-test/lua-resty-template
lib/resty/template/html.lua
10
1201
local template = require "resty.template" local escape = template.escape local concat = table.concat local pairs = pairs local type = type local function tag(name, content, attr) local r, a, content = {}, {}, content or attr r[#r + 1] = "<" r[#r + 1] = name if attr then for k, v in pairs(attr) ...
bsd-3-clause
evilexecutable/ResourceKeeper
install/Lua/share/lua/5.1/lapis/etlua.lua
1
6655
local Parser, Compiler do local _obj_0 = require("etlua") Parser, Compiler = _obj_0.Parser, _obj_0.Compiler end local Widget, Buffer, CONTENT_FOR_PREFIX do local _obj_0 = require("lapis.html") Widget, Buffer, CONTENT_FOR_PREFIX = _obj_0.Widget, _obj_0.Buffer, _obj_0.CONTENT_FOR_PREFIX end local locked_fn, relea...
gpl-2.0
geanux/darkstar
scripts/globals/items/plate_of_shrimp_sushi.lua
35
1552
----------------------------------------- -- ID: 5691 -- Item: plate_of_shrimp_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Vitality 1 -- Defense 5 -- Accuracy % 11 -- Store TP 2 -- Triple Attack 1 ----------------------------------------- require("scripts/globals/sta...
gpl-3.0
geanux/darkstar
scripts/globals/spells/absorb-chr.lua
18
1298
-------------------------------------- -- Spell: Absorb-CHR -- Steals an enemy's Charism. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ------------...
gpl-3.0
evilexecutable/ResourceKeeper
install/Lua/lib/luarocks/rocks/luasec/0.6-1/samples/wantread/client.lua
12
1162
-- -- Public domain -- local socket = require("socket") local ssl = require("ssl") local params = { mode = "client", protocol = "tlsv1_2", key = "../certs/clientAkey.pem", certificate = "../certs/clientA.pem", cafile = "../certs/rootA.pem", verify = {"peer", "fail_if_no_peer_cert"}, options = "...
gpl-2.0
kling-igor/particle-designer
loveframes/objects/internal/treenodebutton.lua
14
3255
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".objects.internal.treenodebutt...
mit
geanux/darkstar
scripts/zones/Hall_of_the_Gods/npcs/_6z0.lua
17
1721
----------------------------------- -- Area: Hall of the Gods -- NPC: Cermet Gate -- Gives qualified players access to Ru'Aun Gardens. -- @pos 0 -12 48 251 ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); -----...
gpl-3.0
NikosPapakonstantinou/newserv
lua/lib/country.lua
2
1728
local countries = { "--","AP","EU","AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM",...
gpl-2.0
geanux/darkstar
scripts/zones/Caedarva_Mire/npcs/Nahshib.lua
19
1979
----------------------------------- -- Area: Caedarva Mire -- NPC: Nahshib -- Type: Assault -- @pos -274.334 -9.287 -64.255 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/...
gpl-3.0
geanux/darkstar
scripts/zones/Northern_San_dOria/npcs/Calovour.lua
36
1427
----------------------------------- -- Area: Northern San d'Oria -- NPC: Calovour -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
bungle/lua-resty-nettle
lib/resty/nettle/padding/iso7816-4.lua
1
1038
local string = string local type = type local gsub = string.gsub local rep = string.rep local sub = string.sub local padding = {} function padding.pad(data, blocksize, optional) blocksize = blocksize or 16 if type(blocksize) ~= "number" then return nil, "invalid block size data type" end if blocksize < 1 or...
bsd-2-clause
spark0511/avatar_bot
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
sepehrpk/bot1
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
knyghtmare/The_Legend_Begins
ai/micro_ais/cas/ca_fast_move.lua
3
11438
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local ca_fast_move = {} function ca_fast_move:evaluation(ai, cfg, self) local unit = AH.get_units_with_moves { side = wesnoth.current.side, canrecruit = 'no' }[1] if unit then return 20000 end return 0 end funct...
gpl-2.0
legend18/dragonbone_cocos2dx-3.x
demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/external/lua/luajit/src/src/jit/dis_x86.lua
99
29330
---------------------------------------------------------------------------- -- LuaJIT x86/x64 disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h --------------------------------------------------------------------------...
mit
evilexecutable/ResourceKeeper
install/LuaRocks/lua/luarocks/build/make.lua
17
3465
--- Build back-end for using Makefile-based packages. --module("luarocks.build.make", package.seeall) local make = {} local unpack = unpack or table.unpack local fs = require("luarocks.fs") local util = require("luarocks.util") local cfg = require("luarocks.cfg") --- Call "make" with given target and variables -- @...
gpl-2.0
kaen/Zero-K
LuaUI/Widgets/gui_group_recall_fix.lua
6
2942
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Default Group Recall Fix", desc = "Fix to the group recall problem.", author = "msafwan...
gpl-2.0
geanux/darkstar
scripts/globals/abilities/earth_shot.lua
22
2949
----------------------------------- -- Ability: Earth Shot -- Consumes a Earth Card to enhance earth-based debuffs. Deals earth-based magic damage -- Rasp Effect: Enhanced DoT and DEX-, Slow Effect +10% ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ...
gpl-3.0
Schwertspize/cuberite
Server/Plugins/APIDump/Hooks/OnChunkGenerating.lua
44
1623
return { HOOK_CHUNK_GENERATING = { CalledWhen = "A chunk is about to be generated. Plugin can override the built-in generator.", DefaultFnName = "OnChunkGenerating", -- also used as pagename Desc = [[ This hook is called before the world generator starts generating a chunk. The plugin may provide some or...
apache-2.0
geanux/darkstar
scripts/zones/Bastok_Markets/npcs/Wulfnoth.lua
53
1818
----------------------------------- -- Area: Bastok Markets -- NPC: Wulfnoth -- Type: Goldsmithing Synthesis Image Support -- @pos -211.937 -7.814 -56.292 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
geanux/darkstar
scripts/zones/Hall_of_Transference/npcs/_0e4.lua
43
1699
----------------------------------- -- Area: Hall of Transference -- NPC: Large Apparatus (Right) - Holla -- @pos -242.301 -1.849 269.867 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Hall_of_Transf...
gpl-3.0
geanux/darkstar
scripts/zones/Stellar_Fulcrum/mobs/Kam_lanaut.lua
27
1401
----------------------------------- -- Area: Stellar Fulcrum -- NPC: Kam'lanaut -- Zilart Mission 8 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); local blades = {567, 570, 572, 569, 568, 571}; ------...
gpl-3.0
johnfercher/samples
lua/exercises/avg.lua
1
2602
--MIT License -- --Copyright (c) 2016 Johnathan Fercher -- --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,...
mit
kaen/Zero-K
LuaUI/Widgets/chili_new/handlers/debughandler.lua
8
12947
--//============================================================================= --// Chili DebugHandler --//============================================================================= --// todo: --// * use the custom errorhandler for any widget->chili interaction, --// atm if a widget calls mybutton:SetCaption()...
gpl-2.0
geanux/darkstar
scripts/zones/East_Ronfaure/TextIDs.lua
7
1413
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6397; -- Obtained: <item>. GIL_OBTAINED = 6398; -- Obtained <number> gil. KEYITEM_OBTAINED = 6400; -- Obt...
gpl-3.0
tahashakiba/zz
plugins/boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
geanux/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Muzeze.lua
38
1035
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Muzeze -- Type: Armor Storer -- @pos -6.782 -18.428 208.185 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Meriphataud...
gpl-3.0
geanux/darkstar
scripts/globals/items/pumpkin_cake.lua
36
1213
----------------------------------------- -- ID: 5631 -- Item: Pumpkin Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP Recovered while healing +2 -- MP Recovered while healing +4 ----------------------------------------- require("scripts/globals/status"); --...
gpl-3.0
geanux/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f6.lua
34
1105
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 260 -34 110 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs");...
gpl-3.0
geanux/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Adelbrecht.lua
53
4980
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Adelbrecht -- Starts Quests: The Fighting Fourth -- Involved in Missions: Back to the Beginning -- CS IDs: -- 139 = 0x008B = Greetings, civilian. The Seventh Cohors of the Republican Legion's Fourth Division is currently recruiting new troops. -- ...
gpl-3.0
jadefish/alus
test/extensions/table.lua
1
1042
describe("extensions.table.without", function() local keyValueTable local valueTable local mixedTable setup(function() require "extensions.table" end) before_each(function() valueTable = {1, 2, 3, 4, 5} keyValueTable = { cookies = "cream", home =...
mit
Shayan123456/shayanhallaji
plugins/add_bot.lua
189
1492
--[[ Bot can join into a group by replying a message contain an invite link or by typing !add [invite link]. URL.parse cannot parsing complicated message. So, this plugin only works for single [invite link] in a post. [invite link] may be preceeded but must not followed by another characters. --]] do local function...
gpl-2.0
geanux/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Vanguard_Eye.lua
12
3533
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Vanguard_Eye -- Map Position: http://images.wikia.com/ffxi/images/c/cc/Xar.jpg ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); ----------------------------------- -- onMobInitia...
gpl-3.0
ia97lies/polycodeExamples
Lua/Graphics/3D/OrbitCamera/Scripts/Main.lua
1
2317
RADIANS_PER_DEGREE = 0.01745329 scene = Scene(Scene.SCENE_3D) ground = ScenePrimitive(ScenePrimitive.TYPE_PLANE, 5, 5) ground:setColor(0, 1, .5, 1) scene:addEntity(ground) box = ScenePrimitive(ScenePrimitive.TYPE_BOX, 1,1,1) box:setColor(1,.5,0,1) box:setPosition(0, .5, 0) scene:addEntity(box) camera = scene:getDef...
mit
wxdublin/sky
deps/LuaJIT-2.0.1/dynasm/dasm_arm.lua
74
34483
------------------------------------------------------------------------------ -- DynASM ARM module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
mit
sepehrpk/bot1
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
TheDialord/boundary-plugin-lua-mysql
modules/mysqlinfo.lua
1
3761
-------------------------------------------------------------------------- -- Module to extract Mysql Process Information for Boundary Lua Mysql Plugin -- -- Author: Yegor Dia -- Email: yegordia at gmail.com -- -------------------------------------------------------------------------- _G.KEEP_ALIVE_TIME_MS = 1000000 ...
gpl-2.0
kaen/Zero-K
scripts/corsumo.lua
4
13618
--by Chris Mackey include "constants.lua" include "JumpRetreat.lua" include 'letsNotFailAtTrig.lua' --pieces local b_dome = piece "b_dome" local t_dome = piece "t_dome" local b_eye = piece "b_eye" local t_eye = piece "t_eye" -- guns local l_turn = piece "l_turn" local l_turret = piece "l_turret" local l_pivot = piec...
gpl-2.0
geanux/darkstar
scripts/zones/Uleguerand_Range/mobs/Jormungand.lua
11
2484
----------------------------------- -- Area: Uleguaerand Range -- NPC: Jormungand ----------------------------------- require("scripts/globals/status"); require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInit...
gpl-3.0
geanux/darkstar
scripts/zones/Waughroon_Shrine/mobs/Maat.lua
27
1142
----------------------------------- -- Area: Waughroom Shrine -- NPC: Maat -- Genkai 5 Fight ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); ---------------------------...
gpl-3.0
geanux/darkstar
scripts/zones/Sauromugue_Champaign/TextIDs.lua
7
1425
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6397; -- Obtained: <item>. GIL_OBTAINED = 6398; -- Obtained <number> gil. KEYITEM_OBTAINED = 6400; -- Obtained...
gpl-3.0
daninnitel/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
legend18/dragonbone_cocos2dx-3.x
demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/cocos/scripting/lua-bindings/auto/api/RenderTexture.lua
6
5070
-------------------------------- -- @module RenderTexture -- @extend Node -- @parent_module cc -------------------------------- -- @function [parent=#RenderTexture] setVirtualViewport -- @param self -- @param #vec2_table vec2 -- @param #rect_table rect -- @param #rect_table rect ----------------------------...
mit
geanux/darkstar
scripts/globals/spells/bluemagic/feather_tickle.lua
18
1194
----------------------------------------- -- Spell: Feather Tickle -- Reduces an enemy's TP -- Spell cost: 48 MP -- Monster Type: Birds -- Spell Type: Magical (Wind) -- Blue Magic Points: 3 -- Stat Bonus: AGI+1 -- Level: 64 -- Casting Time: 4 seconds -- Recast Time: 26 seconds -- Magic Bursts on: Detonation,...
gpl-3.0
geanux/darkstar
scripts/zones/Bastok_Mines/npcs/Deidogg.lua
19
4762
----------------------------------- -- Area: Bastok Mines -- NPC: Deidogg -- Starts and Finishes Quest: The Talekeeper's Truth, The Talekeeper's Gift (start) -- @pos -13 7 29 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require...
gpl-3.0
tonylauCN/tutorials
lua/debugger/lualibs/lexers/rails.lua
5
2715
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Ruby on Rails 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 table = _G.table local M = {_NAME = 'rails'} -- Whitespace local ws = token(l.WHITESPACE, l.space...
apache-2.0
lipp/nodish
src/nodish/dns.lua
1
1633
local S = require'syscall' local ffi = require'ffi' if ffi.os == 'OSX' then ffi.cdef[[ struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; char *ai_canonname; struct so...
mit
h0tw1r3/mame
3rdparty/genie/src/base/help.lua
45
1073
-- -- help.lua -- User help, displayed on /help option. -- Copyright (c) 2002-2008 Jason Perkins and the Premake project -- function premake.showhelp() -- display the basic usage printf("") printf("Usage: genie [options] action [arguments]") printf("") -- display all options printf("OPTIONS") printf...
gpl-2.0
kling-igor/particle-designer
loveframes-colorpicker/loveframes-colorpicker/colorButton.lua
1
2329
local path = (...):match("(.-)[^%.]+$") local utils = require(path .. "utils.utils") --[[--------------------------------------------------------- - colorButton({}) - - @param 'parent' (optional) loveframes object. Default: nil. - @param 'width' (optional) integer. Default: 25. - @param 'height' (optional) intege...
mit
geanux/darkstar
scripts/globals/items/gold_lobster.lua
18
1405
----------------------------------------- -- ID: 5797 -- Item: gold_lobster -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 3 -- Defense % 15 ----------------------------------------- require("scripts/globals/status"); -------------------------------...
gpl-3.0
geanux/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/br3.lua
10
2954
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Blue Rafflesia -- Used in quest Even More Gullible Travels -- @pos -468.876 -1 220.247 170 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
Josiastech/vuforia-gamekit-integration
Gamekit/Engine/Script/Api/System.lua
2
1628
--[[ ------------------------------------------------------------------------------- This file is part of OgreKit. http://gamekit.googlecode.com/ Copyright (c) 2006-2010 Charlie C. Contributor(s): none yet. ------------------------------------------------------------------------------- This software...
mit
evilexecutable/ResourceKeeper
install/Lua/lib/lua/luaidl/lex.lua
3
27985
-- -- Project: LuaIDL -- Author: Ricardo Cosme <rcosme@tecgraf.puc-rio.br> -- Filename: lex.lua -- local type = type local pairs = pairs local tonumber = tonumber local error = error local ipairs = ipairs local table = table local string = require "string" module 'luaidl.lex' tab_tokens = { TK_...
gpl-2.0
geanux/darkstar
scripts/globals/items/sprig_of_cibol.lua
35
1209
----------------------------------------- -- ID: 5234 -- Item: sprig_of_cibol -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
evilexecutable/ResourceKeeper
install/LuaRocks/lua/luarocks/show.lua
14
5464
--- Module implementing the LuaRocks "show" command. -- Shows information about an installed rock. --module("luarocks.show", package.seeall) local show = {} package.loaded["luarocks.show"] = show local search = require("luarocks.search") local cfg = require("luarocks.cfg") local util = require("luarocks.util") local p...
gpl-2.0
geanux/darkstar
scripts/zones/Spire_of_Dem/npcs/_0j1.lua
51
1321
----------------------------------- -- Area: Spire_of_Dem -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Dem/TextIDs"); ---------------...
gpl-3.0
geanux/darkstar
scripts/globals/items/bowl_of_pebble_soup.lua
36
1103
----------------------------------------- -- ID: 4455 -- Item: Bowl of Pebble Soup -- Food Effect: 3 Hr, All Races ----------------------------------------- -- MP Recovered while healing 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemC...
gpl-3.0
tonylauCN/tutorials
lua/debugger/lualibs/metalua/compiler/parser/meta.lua
11
5899
------------------------------------------------------------------------------- -- Copyright (c) 2006-2014 Fabien Fleutot and others. -- -- All rights reserved. -- -- This program and the accompanying materials are made available -- under the terms of the Eclipse Public License v1.0 which -- accompanies this distributi...
apache-2.0
PhearNet/scanner
bin/nmap-openshift/nselib/informix.lua
3
40719
--- -- Informix Library supporting a very limited subset of Informix operations -- -- Summary -- ------- -- Informix supports both The Open Group Distributed Relational Database -- Architecture (DRDA) protocol, and their own. This library attempts to -- implement a basic subset of operations. It currently supports; -- ...
mit
tonyshow/UniLua
Assets/StreamingAssets/LuaRoot/test/nextvar.lua
6
9226
print('testing tables, next, and for') local a = {} -- make sure table has lots of space in hash part for i=1,100 do a[i.."+"] = true end for i=1,100 do a[i.."+"] = nil end -- fill hash part with numeric indices testing size operator for i=1,100 do a[i] = true assert(#a == i) end -- testing ipairs local x = 0 fo...
mit
geanux/darkstar
scripts/zones/Southern_San_dOria/npcs/Adaunel.lua
13
1604
----------------------------------- -- Area: Southern San d'Oria -- NPC: Adaunel -- General Info NPC -- @zone 230 -- @pos 80 -7 -22 ------------------------------------ package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
geanux/darkstar
scripts/zones/Lower_Jeuno/npcs/Caruvinda.lua
37
4526
----------------------------------- -- Area: Lower Jeuno -- NPC: Caruvinda -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; package.loaded["scripts/globals/armorstorage"] = nil; ----------------------------------- require("scripts/globals/sett...
gpl-3.0
olszak94/forgottenserver
data/talkactions/scripts/kills.lua
43
1370
function onSay(player, words, param) local fragTime = configManager.getNumber(configKeys.FRAG_TIME) if fragTime <= 0 then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You do not have any unjustified kill.") return false end local skullTime = player:getSkullTime() if skullTime <= 0 then player:sendTe...
gpl-2.0
PhearNet/scanner
bin/nmap-openshift/nselib/ipOps.lua
3
26044
--- -- Utility functions for manipulating and comparing IP addresses. -- -- @copyright Same as Nmap--See https://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 ipa...
mit
geanux/darkstar
scripts/zones/Xarcabard/npcs/Luck_Rune.lua
34
1062
----------------------------------- -- Area: Xarcabard -- NPC: Luck Rune -- Involved in Quest: Mhaura Fortune -- @pos 576.117 -0.164 -16.935 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Xarcab...
gpl-3.0
geanux/darkstar
scripts/globals/spells/bluemagic/hydro_shot.lua
27
1796
----------------------------------------- -- Spell: Hydro Shot -- Additional effect: Enmity Down. Chance of effect varies with TP -- Spell cost: 55 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: MND+2 -- Level: 63 -- Casting Time: 0.5 seconds -- Recast Time...
gpl-3.0
geanux/darkstar
scripts/zones/Heavens_Tower/npcs/_6q2.lua
17
3449
----------------------------------- -- Area: Heaven's Tower -- NPC: Vestal Chamber (chamber of the Star Sibyl) -- @pos 0.1 -49 37 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require...
gpl-3.0