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
Elkazan/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Donmo-Boronmo_WW.lua
30
3082
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Donmo-Boronmo, W.W. -- Type: Outpost Conquest Guards -- @pos -294.470 15.806 420.117 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
luarocks/luarocks
src/luarocks/build.lua
2
14816
local build = {} local path = require("luarocks.path") local util = require("luarocks.util") local fun = require("luarocks.fun") local fetch = require("luarocks.fetch") local fs = require("luarocks.fs") local dir = require("luarocks.dir") local deps = require("luarocks.deps") local cfg = require("luarocks.core.cfg") ...
mit
jayantsolanki/Broker_codes
ESPcodes/4 channel Relay/connect.lua
1
2513
macid = wifi.sta.getmac() --wait for WiFi connection tmr.alarm(1, 1000, 1, function() if wifi.sta.getip()== nil then --print ('Connecting...') wifiAvailable=wifiAvailable+1 if(wifiAvailable>60) then -- sleep after 60 failed attempts node.dsleep(sleepTime) end else ...
mit
ctakemoto/Human-Controlled-Naos
Player/BodyFSM/NaoGoalie/bodyKick.lua
5
1232
module(..., package.seeall); require('Body') require('vector') require('Motion'); require('kick'); require('HeadFSM') require('Config') require('wcm') require('walk'); t0 = 0; timeout = 20.0; started = false; --by SJ kickable=true; function entry() print(_NAME.." entry"); t0 = Body.get_time(); -- set kic...
gpl-3.0
vifino/carbon
builtin/3rdparty/dkjson.lua
20
22415
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 Version 2.5 For the documentation see the corresponding readme.txt or visit <http://dkolf.de/src/dkjson-lua.fsl/>. You can contact the ...
mit
gentooliano/nodemcu-firmware
nodemcu_0.9.6-dev/nodemcu-firmware-0.9.6-dev_20150704/lua_modules/lm92/lm92.lua
52
2140
-- ****************************************************** -- LM92 module for ESP8266 with nodeMCU -- -- Written by Levente Tamas <levente.tamas@navicron.com> -- -- GNU LGPL, see https://www.gnu.org/copyleft/lesser.html -- ****************************************************** -- Module Bits local moduleName = ... loca...
mit
luarocks/luarocks
src/luarocks/loader.lua
1
10617
--- A module which installs a Lua package loader that is LuaRocks-aware. -- This loader uses dependency information from the LuaRocks tree to load -- correct versions of modules. It does this by constructing a "context" -- table in the environment, which records which versions of packages were -- used to load previous ...
mit
mgooty/kong
spec/plugins/ratelimiting/daos_spec.lua
12
3625
local spec_helper = require "spec.spec_helpers" local timestamp = require "kong.tools.timestamp" local uuid = require "uuid" local env = spec_helper.get_env() local dao_factory = env.dao_factory local ratelimiting_metrics = dao_factory.ratelimiting_metrics describe("Rate Limiting Metrics", function() local api_id =...
mit
octplane/hammerspoon-config
Spoons/SpeedMenu.spoon/init.lua
3
4029
--- === SpeedMenu === --- --- Menubar netspeed meter --- --- Download: [https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpeedMenu.spoon.zip](https://github.com/Hammerspoon/Spoons/raw/master/Spoons/SpeedMenu.spoon.zip) local obj={} obj.__index = obj -- Metadata obj.name = "SpeedMenu" obj.version = "1.0" obj.au...
mit
shkan/telebot4
plugins/inpm.lua
243
3007
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
Shayan123456/botttttt3
plugins/inpm.lua
243
3007
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
BlurryRoots/ld30-orbit
src/Node.lua
1
3083
require("lib.lclass") class "Node" Node.Category = { Home = "Home", Normal = "Normal", Utility = "Utility", Storage = "Storage", Target = "Target", Firewall = "Firewall" } function Node:Node(chance, difficulty, category) self.status = { available = false, hackable = false, selected = false, beingHacke...
mit
jeremyosborne/lua
game_letters_in_space/example_complete/lib/class.lua
4
1726
--[[ Simple class builder. --]] --- Class constructor. -- @param [constructor] {function} Optional constructor. Passed instance -- reference followed by any arguments. -- @param [baseClass] {table} A parent class. Inheritance set -- prototypically. -- @return {table} A callable table will be returned, one that ca...
mit
gentooliano/nodemcu-firmware
nodemcu_0.9.6-dev/nodemcu-firmware-0.9.6-dev_20150704/lua_modules/http/http.lua
89
6624
------------------------------------------------------------------------------ -- HTTP server module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> ------------------------------------------------------------------------------ local collectgarbage, tonumber, tostring = col...
mit
xyliuke/busted
busted/outputHandlers/gtest.lua
7
9552
local s = require 'say' local socket = require 'socket' local pretty = require 'pl.pretty' local term = require 'term' local colors local isatty = term.isatty(io.stdout) local isWindows = package.config:sub(1,1) == '\\' if isWindows and not os.getenv("ANSICON") or not isatty then colors = setmetatable({}, {__inde...
mit
ramin1998/ramin22
plugins/instagram.lua
1
3942
--[[ # # @GPMOD # @Dragon_Born # ]] local access_token = "3084249803.280d5d7.999310365c8248f8948ee0f6929c2f02" -- your api key local function instagramUser(msg, query) local receiver = get_receiver(msg) local url = "https://api.instagram.com/v1/users/search?q="..URL.escape(query).."&access_token="..a...
gpl-2.0
27629678/cinderella
huiguniang/scripts/app/common/md5.lua
1
8342
local md5 = {} local ffi = require 'ffi' local bit = require 'bit' local S11 = 7 local S12 = 12 local S13 = 17 local S14 = 22 local S21 = 5 local S22 = 9 local S23 = 14 local S24 = 20 local S31 = 4 local S32 = 11 local S33 = 16 local S34 = 23 local S41 = 6 local S42 = 10 local S43 = 15 local S44 = 21 local PADDING =...
apache-2.0
prineside/mtaw
resources/MTAW/client/dialog.lua
1
2242
--[[ Интерфейс GUI.showDialog и GUI.hideDialog Также позволяет узнать, открыт ли какой-то диалог, на стороне Lua (например, отключить поворот камеры в лобби, когда поверх персонажа показан диалог) --]] --<[ Модуль Dialog ]> Dialog = { isVisible = false; _lastDialogButtons = {}; init = function() addEventHand...
mit
amirilk2233/uzzbot
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
tehran980/MAXBOTfull
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
Shayan123456/botttttt3
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
faridssw/antispam
libs/redis.lua
32
1129
local Redis = (loadfile "./libs/lua-redis.lua")() local FakeRedis = (loadfile "./libs/fakeredis.lua")() local params = { host = '127.0.0.1', port = 6379, } -- Overwrite HGETALL Redis.commands.hgetall = Redis.command('hgetall', { response = function(reply, command, ...) local new_reply = { } for i = 1, #...
gpl-3.0
Mrr619/diamond
libs/redis.lua
32
1129
local Redis = (loadfile "./libs/lua-redis.lua")() local FakeRedis = (loadfile "./libs/fakeredis.lua")() local params = { host = '127.0.0.1', port = 6379, } -- Overwrite HGETALL Redis.commands.hgetall = Redis.command('hgetall', { response = function(reply, command, ...) local new_reply = { } for i = 1, #...
gpl-3.0
nanpuzh/QSimage-skins-audio-lang
lang/zh_CN/Audio/WindPackageLines.lua
1
1352
-- lines for Wind Package return { -- 曹仁 ["$jushou1"] = "我先休息一会儿!", ["$jushou2"] = "尽管来吧!", ["~caoren"] = "实在是守不住了……", -- 夏侯渊 ["$shensu1"] = "吾善于千里袭人!", ["$shensu2"] = "取汝首级犹如探囊取物!", ["~xiahouyuan"] = "竟然比我还…快……", -- 黄忠 ["$liegong1"] = "百步穿杨!", ["$liegong2"] = "中!", ["~huangzhong"] = "不得不服老了……", -- 魏延 ...
gpl-3.0
nicknisi/dotfiles
config/nvim/lua/plugins/startify.lua
1
1487
local nmap = require("utils").nmap local g = vim.g local fn = vim.fn g.startify_files_number = 10 g.startify_change_to_dir = 0 local ascii = { [[ ____ ]], [[ /___/\_ ]], [[ _\ \/_/\__ __ ...
mit
musicm122/angel-3.1
Code/Angel/Scripting/EngineScripts/start.lua
10
3019
------------------------------------------------------------------------------ -- Copyright (C) 2008-2013, Shane Liesegang -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redist...
apache-2.0
julianscheel/vlc-omx
share/lua/meta/fetcher/tvrage.lua
48
2571
--[[ Gets metas for tv episode using tvrage. $Id$ Copyright © 2010 the VideoLAN team 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
gentooliano/nodemcu-firmware
lua_examples/u8glib/u8g_rotation.lua
10
2539
-- *************************************************************************** -- Rotation Test -- -- This script executes the rotation features of u8glib to test their Lua -- integration. -- -- Note: It is prepared for SSD1306-based displays. Select your connectivity -- type by calling either init_i2c_display() ...
mit
stevesloka/kubecraft
world/Plugins/Core/do.lua
6
1502
function HandleDoCommand( Split, Player ) if #Split < 3 then SendMessage( Player, "Usage: " .. Split[1] .. " <player> <command> [arguments ...]" ) return true end -- Get the command and arguments. local newSplit = table.concat( Split, " ", 3 ) local FoundPlayerCallback = function( a_Player ) local pluginM...
apache-2.0
Maxize/LuaPractice
practice/stack/object.lua
2
3000
-- object.lua -- Description: Provide object mechanism for lua -- Note for the object model here: -- 1The feature like C++ static members is not support so perfect. -- What that means is that if u need something like c++ static members, -- U can access it as a right value like C++, but if u need access it -- as a...
apache-2.0
jeremyosborne/lua
general/test/functionqueue.lua
1
1711
--[[ FunctionQueue Tests. --]] -- Fix our test path. package.path = "../src/?.lua;"..package.path -- Assume association with src directory. local log = require("diag").log local FunctionQueue = require("functionqueue") log("BEGIN TESTS: FunctionQueue.") local tests = { ["FunctionQueue sanity"] =...
mit
puXiaoyi/skynet
test/testsocket.lua
80
1078
local skynet = require "skynet" local socket = require "socket" local mode , id = ... local function echo(id) socket.start(id) while true do local str = socket.read(id) if str then socket.write(id, str) else socket.close(id) return end end end if mode == "agent" then id = tonumber(id) skynet....
mit
prineside/mtaw
resources/MTAW/client/fun-gravity-vehicle.lua
1
2103
-- Устанавливает гравитацию транспортного средства игрока так, чтобы можно было ездить по любым поверхностям -------------------------------------------------------------------------------- --<[ Модуль FunGravityVehicle ]>------------------------------------------------ ------------------------------------------------...
mit
musicm122/angel-3.1
Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/tablex.lua
12
24514
--- Extended operations on Lua tables. -- -- See @{02-arrays.md.Useful_Operations_on_Tables|the Guide} -- -- Dependencies: `pl.utils` -- @module pl.tablex local utils = require ('pl.utils') local getmetatable,setmetatable,require = getmetatable,setmetatable,require local append,remove = table.insert,table.remove local ...
apache-2.0
doofus-01/wesnoth
data/ai/lua/stdlib.lua
6
4311
--! #textdomain wesnoth return { init = function(ai, dbg) -- Initialize the cache system for LuaAI context local cache = wesnoth.require("ai/lua/cache.lua") cache.init(ai) -- Hiding of get_new_* and is_*_valid methods local to_hide = { [1] = "get_new_src_dst", [2] = "get_new_dst_src", [3] = "get...
gpl-2.0
jeffreykegler/libmarpa
marpalua/kollos/gen_event_table.lua
1
4004
-- Copyright 2018 Jeffrey Kegler -- 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, distr...
mit
AmirDragon13/yoyobot
plugins/Admins.lua
4
6677
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(receiver, '...
gpl-2.0
leyyin/university
computer-graphics/labs/lab3-glitter/Glitter/Vendor/bullet/build3/stringifyKernel.lua
22
2697
function stringifyKernel(filenameIn, filenameOut, kernelMethod) local BUFSIZE = 10*1024*1024 -- 10MB local f = io.open(filenameIn,"r"); local fw = io.open(filenameOut,"w"); fw:write("//this file is autogenerated using stringify.bat (premake --stringify) in the build folder of this project\n") fw:wr...
mit
gale320/gopher-lua
_lua5.1-tests/gc.lua
19
7014
print('testing garbage collection') collectgarbage() _G["while"] = 234 limit = 5000 contCreate = 0 print('tables') while contCreate <= limit do local a = {}; a = nil contCreate = contCreate+1 end a = "a" contCreate = 0 print('strings') while contCreate <= limit do a = contCreate .. "b"; a = string.gsub...
mit
Enignite/darkstar
scripts/zones/Monarch_Linn/bcnms/ancient_vows.lua
17
1937
----------------------------------- -- Area: Monarch Linn -- Name: Ancient Vows ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically ...
gpl-3.0
Enignite/darkstar
scripts/zones/Davoi/npcs/Bernal.lua
19
1117
----------------------------------- -- Area: Davoi -- NPC: Bernal -- @pos 177 -3 -127 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zones/Davoi/...
gpl-3.0
doofus-01/wesnoth
data/campaigns/World_Conquest/lua/campaign/objectives.lua
7
1024
--creates the objectives of the wc2 scenarios. local _ = wesnoth.textdomain 'wesnoth-wc' local strings = { wct_victory_condition = _"Defeat all enemy leaders and commanders", turns = _"Turns run out", wct_defeat_condition = _ "Lose your leader and all your commanders", difficulty = "Difficulty: ", version = "Vers...
gpl-2.0
troopizer/ot-server
data/actions/scripts/other/lever an 1.lua
1
1898
local config = { immoveable_object_id = 3153, sec_object_id = 1548, immoveable_object_pos = {x = 143, y = 619, z = 6}, immoveable_object_pos2 = {x = 144, y = 619, z = 6}, immoveable_object_pos3 = {x = 145, y = 619, z = 6}, immoveable_object_pos4 = {x = 146, y = 619, z = 6}, relocate_position = {x ...
gpl-2.0
Enignite/darkstar
scripts/zones/Sacrificial_Chamber/npcs/_4j0.lua
19
1390
----------------------------------- -- Area: Sacrificial Chamber -- NPC: Mahogany Door -- @pos 299 0.1 349 163 ------------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missio...
gpl-3.0
tahashakiba/boomrange_asl
plugins/all.lua
54
4746
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
Enignite/darkstar
scripts/zones/La_Theine_Plateau/npcs/Narvecaint.lua
17
1702
----------------------------------- -- Area: La Theine Plateau -- NPC: Narvecaint -- Involved in Mission: The Rescue Drill -- @pos -263 22 129 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
zendey/Flashcard_mobile_app
scripts/classes/app/ReviewApp.lua
1
2658
----------------------------------------------------------------------------------------- -- -- ReviewApp.lua -- App directory class. -- ----------------------------------------------------------------------------------------- local ReviewApp = {} -- Creates a new reviewApp. function ReviewApp.new( thisAppID ) ---...
gpl-2.0
Enignite/darkstar
scripts/globals/spells/phalanx_ii.lua
25
1173
----------------------------------------- -- Spell: PHALANX -- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point -- Phalanx II value per point is '3' This is a constant set in the table 'merits' ----------------------------------------- require("scripts/globa...
gpl-3.0
Enignite/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Scotwick.lua
38
1066
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Scotwick -- Type: Allied Notes Notorious Monsters -- @zone: 94 -- @pos 153.785 -3.134 9.895 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/...
gpl-3.0
rodrigoftw/Estagio1
Stay Alive/levels/level6.lua
1
23149
------------------------------------------------------------------------------- -- level6.lua ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -- Lib Requirements ---------------------------------------------...
apache-2.0
QUSpilPrgm/cuberite
Server/Plugins/Debuggers/Inject.lua
14
1275
-- Inject.lua -- This file gets injected into the Core plugin when testing the inter-plugin calls with the "testcall" command -- However, since this is a .lua file, it also gets loaded into the Debuggers plugin, so we need to distinguish the two --- Prints the specified table to the log, using the specified inden...
apache-2.0
Enignite/darkstar
scripts/globals/items/grape_daifuku+1.lua
35
1864
----------------------------------------- -- ID: 6344 -- Item: grape_daifuku+1 -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP + 30 (Pet & Master) -- Vitality + 4 (Pet & Master) -- Master MAB + 4 , Pet MAB + 15 -- Accuracy + 11% Cap: 70 (Pet & Master) Pet Cap: 81 ----------------------...
gpl-3.0
doofus-01/wesnoth
data/ai/micro_ais/cas/ca_forest_animals_tusklet_move.lua
6
1706
local AH = wesnoth.require "ai/lua/ai_helper.lua" local M = wesnoth.map local function get_tusklets(cfg) local tusklets = AH.get_units_with_moves { side = wesnoth.current.side, type = cfg.tusklet_type } return tusklets end local function get_tuskers(cfg) local tuskers = wesnoth.units.f...
gpl-2.0
Enignite/darkstar
scripts/zones/Bastok_Markets/npcs/Visala.lua
19
1168
----------------------------------- -- Area: Bastok Markets -- NPC: Visala -- Guild Merchant NPC: Goldsmithing Guild -- @pos -202.000 -7.814 -56.823 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
Enignite/darkstar
scripts/zones/Lower_Jeuno/npcs/Audee.lua
28
1799
----------------------------------- -- Area: Lower Jeuno -- NPC: Audee -- Type: Chocobo Renter ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ------------------------------...
gpl-3.0
ashdnazg/LD30
main.lua
1
1337
local map = require "map" local boats = require "boats" local people = require "people" local flux = require "flux" local menu = require "menu" local timers = require "timers" local music function love.draw() love.graphics.translate(0, G.bar_height) map.draw() people.draw() boats.draw() menu.draw(...
cc0-1.0
Enignite/darkstar
scripts/zones/West_Ronfaure/npcs/Laillera.lua
17
1111
----------------------------------- -- Area: West Ronfaure -- NPC: Laillera -- @pos -127.297 -62.000 266.800 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Wes...
gpl-3.0
Enignite/darkstar
scripts/globals/mobskills/Damnation_Dive.lua
18
1351
--------------------------------------------- -- Damnation Dive -- -- Description: Dives into a single target. Additional effect: Knockback + Stun -- Type: Physical -- Utsusemi/Blink absorb: 3 shadow -- Range: Melee -- Notes: Used instead of Gliding Spike by certain notorious monsters. ---------------------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Yasmina.lua
36
1058
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Yasmina -- Type: Chocobo Renter -- @zone: 94 -- @pos -34.972 -5.815 221.845 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
fcpxhacks/fcpxhacks
src/plugins/aftereffects/preferences/init.lua
2
2866
--- === plugins.aftereffects.preferences === --- --- After Effects Preferences Panel local require = require local application = require "hs.application" local dialog = require "hs.dialog" local image = require "hs.image" local osascript = require "hs...
mit
Enignite/darkstar
scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua
17
1415
----------------------------------- -- Area: West Sarutabaruta -- NPC: Ipupu -- Involved in Quest: Glyph Hanger -- @pos 251.745 -5.5 35.539 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
Enignite/darkstar
scripts/zones/Giddeus/npcs/Quu_Bokye.lua
19
1876
----------------------------------- -- Area: Giddeus -- NPC: Quu Bokye -- Involved in Quest: Dark Legacy -- @pos -159 16 181 145 ----------------------------------- package.loaded["scripts/zones/Giddeus/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Giddeus/TextIDs"); -------------------...
gpl-3.0
ntuhpc/modulefiles
all/zlib/1.2.8-GCCcore-4.9.4.lua
1
1139
help([[zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system. - Homepage: http://www.zlib.net/]]) whatis([[Description: zlib is designed to be a free, general-pur...
mit
Enignite/darkstar
scripts/globals/mobskills/Blade_Metsu.lua
18
1156
--------------------------------------------- -- Blade Metsu -- -- Description: Additional effect: Paralysis -- Hidden effect: temporarily enhances Subtle Blow effect. -- Type: Physical -- Range: Melee --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/sta...
gpl-3.0
Enignite/darkstar
scripts/zones/Castle_Oztroja/npcs/_47b.lua
17
1935
----------------------------------- -- Area: Castle Oztroja -- NPC: _47b (Handle) -- Notes: Opens Trap Door (_47a) or Brass Door (_470) -- @pos 22.310 -1.087 -14.320 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
Enignite/darkstar
scripts/zones/Konschtat_Highlands/TextIDs.lua
7
1468
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6383; -- Obtained: <item>. GIL_OBTAINED = 6384; -- Obtained <number> gil. KEYITEM_OBTAINED = 6386; -- Obtained...
gpl-3.0
vso2004/cardpeek
dot_cardpeek_dir/scripts/calypso/c250n901.lua
17
4373
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009-2013 by 'L1L1' -- -- Cardpeek 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 -- (a...
gpl-3.0
clevermm/clever-bot
plugins/anti_spam.lua
191
5291
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
gpl-2.0
makhtomi/su
plugins/anti_spam.lua
191
5291
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
gpl-2.0
Enignite/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm2.lua
34
1032
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm2 (???) -- Notes: Open south door @ F-7 -- @pos -75.329 -24.636 92.512 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trad...
gpl-3.0
makhtomi/su
plugins/admin.lua
95
10643
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
Enignite/darkstar
scripts/globals/items/serving_of_medicinal_quus.lua
35
1403
----------------------------------------- -- ID: 4294 -- Item: serving_of_medicinal_quus -- Food Effect: 240Min, All Races ----------------------------------------- -- Dexterity 1 -- Mind -1 -- Ranged ACC % 7 -- Ranged ACC Cap 15 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
Enignite/darkstar
scripts/zones/Dynamis-Valkurm/mobs/Serjeant_Tombstone.lua
12
2172
----------------------------------- -- Area: Dynamis Valkurm -- NPC: Serjeant_Tombstone ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs");...
gpl-3.0
Enignite/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f5.lua
34
1106
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 270 -34 100 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs")...
gpl-3.0
Enignite/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua
34
1922
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Song Runes -- Finishes Quest: The Old Monument ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; package.loaded["scripts/globals/settings"] = nil; ----------------------------------- r...
gpl-3.0
Enignite/darkstar
scripts/zones/Crawlers_Nest/npcs/Treasure_Coffer.lua
17
3973
----------------------------------- -- Area: Crawler Nest -- NPC: Treasure Coffer -- @zone 197 -- @pos -94 0 207 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
DarkRedemption/darksservermanager
lua/shared/sha1.lua
1
4355
------------------------------------------------- --- *** SHA-1 algorithm for Lua *** --- ------------------------------------------------- --- Author: Martin Huesser --- --- Date: 2008-06-16 --- --- License: You may use this code in your --- --- project...
mit
troopizer/ot-server
data/creaturescripts/scripts/idle.lua
5
1086
local config = { idleWarning = getConfigValue('idleWarningTime'), idleKick = getConfigValue('idleKickTime') } function onThink(cid, interval) if(getTileInfo(getCreaturePosition(cid)).nologout or getCreatureNoMove(cid) or getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_ALLOWIDLE)) then return true end local id...
gpl-2.0
Enignite/darkstar
scripts/zones/Halvung/mobs/Wamouracampa.lua
16
1604
----------------------------------- -- Area: Halvung -- MOB: Wamouracampa ----------------------------------- require("scripts/globals/status"); -- TODO: Damage resistances in streched and curled stances. Halting movement during stance change. Morph into Wamoura. ----------------------------------- -- OnMob...
gpl-3.0
TheKK/rainbow-dot
game/script/mainGameScreen.lua
1
1156
--[[ [ [ Author: KK <thumbd03803@gmail.com> [ [ mainGameScreen.lua [ ]] function testEnemy1() local startX = 0 local startY = 30 co = coroutine.create( function() while (true) do startX, startY = path1(startX, startY, 1,-1, 30) startX, startY = path1(startX, startY, 1, 1, 30) end end ...
gpl-3.0
omidtarh/hasan
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
Enignite/darkstar
scripts/zones/Throne_Room/npcs/_4l2.lua
51
1172
----------------------------------- -- Area: Throne Room -- NPC: Ore Door ------------------------------------- require("scripts/globals/bcnm"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) if (TradeBCNM(player,player:ge...
gpl-3.0
terojanbot/TEROJANSBOT
plugins/quotes.lua
651
1630
local quotes_file = './data/quotes.lua' local quotes_table function read_quotes_file() local f = io.open(quotes_file, "r+") if f == nil then print ('Created a new quotes file on '..quotes_file) serialize_to_file({}, quotes_file) else print ('Quotes loaded: '..quotes_file) f...
gpl-2.0
GraionDilach/OpenRA
mods/ra/maps/soviet-04b/soviet04b-AI.lua
7
3474
--[[ Copyright 2007-2017 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
QUSpilPrgm/cuberite
Server/Plugins/APIDump/Hooks/OnEntityAddEffect.lua
36
1593
return { HOOK_ENTITY_ADD_EFFECT = { CalledWhen = "An entity effect is about to get added to an entity.", DefaultFnName = "OnEntityAddEffect", -- also used as pagename Desc = [[ This hook is called whenever an entity effect is about to be added to an entity. The plugin may disallow the addition by returni...
apache-2.0
Enignite/darkstar
scripts/zones/Spire_of_Vahzl/Zone.lua
17
1582
----------------------------------- -- -- Zone: Spire_of_Vahzl (23) -- ----------------------------------- package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Spire_of_Vahzl/TextIDs"); require("scripts/g...
gpl-3.0
tahashakiba/boomrange_asl
SaTaN_bot.lua
19
8849
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
fcpxhacks/fcpxhacks
src/extensions/cp/ui/SearchField.lua
2
1761
--- === cp.ui.SearchField === --- --- A [TextField](cp.ui.TextField.md) with a subrole of `AXSearchField`. local TextField = require "cp.ui.TextField" local SearchField = TextField:subclass("cp.ui.SearchField") --- cp.ui.SearchField.matchesSearch(element) -> boolean --- Function --- Checks to see if an elem...
mit
Enignite/darkstar
scripts/zones/Apollyon/Zone.lua
17
11954
----------------------------------- -- -- Zone: Apollyon -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; require("scripts/zones/Apollyon/TextIDs"); require("scripts/globals/limbus"); ----------------------------------- -- ...
gpl-3.0
dragonworx/luakit
luakit/ui/displayobject.lua
1
8831
class("DisplayObject", Component) { x = 0, y = 0, width = display.contentWidth, height = display.contentHeight, rotation = 0, xScale = 1, yScale = 1, alpha = 1, visible = true, anchor = "topLeft", marginLeft = 0, marginTop = 0, view = nil, transitions = nil, b...
mit
jiasy/uiCoder
codeFrame/lua/actionUtils.lua
1
2133
[<File_doc|ui|/src/app/base/util/actionUtils.lua|replace>] --tools for action local actionUtilsInstance = class("actionUtilsInstance") function actionUtilsInstance:ctor(params_) self.actionEases = { [11] = cc.EaseBounceIn,-------------------1 : EaseBounce [12] = cc.EaseBounceOut, [13] = cc.E...
mit
laozi2/nginx-tcp-lua-module
tcp/doc/conf_test/lua_module/nlog.lua
1
4957
----------------------------------------- --Module: nlog --Author: xxh --Date: ----------------------------------------- local strchar = string.char local stringlen = string.len local stringformat = string.format local stringbyte = string.byte local tableinsert = table.insert local tableconcat = table.concat local ng...
bsd-2-clause
Enignite/darkstar
scripts/globals/items/windurst_salad.lua
35
1465
----------------------------------------- -- ID: 4555 -- Item: windurst_salad -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 20 -- Agility 5 -- Vitality -1 -- Ranged ACC % 8 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
apung/prosody-modules
mod_onhold/mod_onhold.lua
32
2253
-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- Copyright (C) 2009 Jeff Mitchell -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local datamanager = require "util.datamanager"; local jid_bare = requi...
mit
Enignite/darkstar
scripts/globals/spells/knights_minne.lua
18
1517
----------------------------------------- -- Spell: Knight's Minne I -- Grants Defense bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastin...
gpl-3.0
Enignite/darkstar
scripts/zones/West_Ronfaure/npcs/Signpost.lua
17
1282
----------------------------------- -- Area: West Ronfaure -- NPC: Signpost -- @zone 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- fu...
gpl-3.0
golmohamdi028/chert
plugins/time.lua
94
3004
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
Im-dex/xray-162
code/3rd-party/luajit/dynasm/dasm_mips.lua
120
28080
------------------------------------------------------------------------------ -- DynASM MIPS module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _i...
apache-2.0
Enignite/darkstar
scripts/globals/items/goblin_mushpot.lua
35
1300
----------------------------------------- -- ID: 4543 -- Item: goblin_mushpot -- Food Effect: 180Min, All Races ----------------------------------------- -- Mind 10 -- Charisma -5 -- Dark Resist 10 ----------------------------------------- require("scripts/globals/status"); -------------------------------...
gpl-3.0
thoaionline/vlc
share/lua/intf/modules/httprequests.lua
5
15243
--[==========================================================================[ httprequests.lua: code for processing httprequests commands and output --[==========================================================================[ Copyright (C) 2007 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at video...
gpl-2.0