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
geanux/darkstar
scripts/globals/mobskills/Polar_Blast.lua
7
1066
--------------------------------------------- -- Polar Blast -- -- Description: Deals Ice damage to enemies within a fan-shaped area. Additional effect: Paralyze -- Type: Breath -- Ignores Shadows -- Range: Unknown Cone --------------------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
geanux/darkstar
scripts/globals/items/coffeecake_muffin.lua
35
1376
----------------------------------------- -- ID: 5655 -- Item: coffeecake_muffin -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind 1 -- Strength -1 -- MP % 10 (cap 85) ----------------------------------------- require("scripts/globals/status"); ----------------------------...
gpl-3.0
geanux/darkstar
scripts/globals/spells/vital_etude.lua
18
1614
----------------------------------------- -- Spell: Vital Etude -- Static VIT Boost, BRD 70 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- fun...
gpl-3.0
famellad/oldschool-scroller
libs/shine/scanlines.lua
8
4107
--[[ The MIT License (MIT) Copyright (c) 2015 Daniel Oaks 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,...
gpl-2.0
mullikine/vlc
share/lua/intf/cli.lua
35
31833
--[==========================================================================[ cli.lua: CLI module for VLC --[==========================================================================[ Copyright (C) 2007-2011 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> Pierre Ynard ...
gpl-2.0
zzmp/thrift
lib/lua/TMemoryBuffer.lua
100
2266
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
evilexecutable/ResourceKeeper
install/Lua/lib/lua/luarocks/deps.lua
2
23943
--- Dependency handling functions. -- Dependencies are represented in LuaRocks through strings with -- a package name followed by a comma-separated list of constraints. -- Each constraint consists of an operator and a version number. -- In this string format, version numbers are represented as -- naturally as possible...
gpl-2.0
kaen/Zero-K
LuaUI/Widgets/gui_chili_proconsole2.lua
5
44245
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Chili Pro Console2", desc = "v2.004 Chili Chat Pro Console.", author = "CarRepairer", ...
gpl-2.0
tonylauCN/tutorials
openresty/debugger/lualibs/lexers/apl.lua
5
1682
-- Copyright 2015-2016 David B. Lamkins <david@lamkins.net>. See LICENSE. -- APL 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 = 'apl'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local comment...
apache-2.0
esn3s/3S_LUA
vrac/_macroLua/macro.lua
1
32638
--[[ MacroLua: macro player/recorder for emulators with Lua http://code.google.com/p/macrolua/ written by Dammit User: Do not edit this file. This script depends on macro-options.lua and macro-modules.lua. See macro-readme.html for help and instructions. ]] --------------------------------------------------...
mit
geanux/darkstar
scripts/globals/mobskills/Pile_Pitch.lua
17
1246
--------------------------------------------------- -- Guided_Missile -- -- Description: Reduces target's HP to 5% of its maximum value, ignores Utsusemi ,Bind (30 sec) -- Type: Magical -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status")...
gpl-3.0
geanux/darkstar
scripts/globals/items/jacknife.lua
18
1429
----------------------------------------- -- ID: 5123 -- Item: Jacknife -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 4 -- Defence 16% Cap 50 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
geanux/darkstar
scripts/zones/Southern_San_dOria/npcs/Diary.lua
17
2122
----------------------------------- -- Area: Northern San d'Oria -- NPC: Diary -- Involved in Quest: To Cure a Cough -- @zone 230 -- @pos -75 -12 65 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
geanux/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pihra_Rhebenslo.lua
36
4463
----------------------------------- -- Area: Windurst Waters [S] -- NPC: Pihra_Rhebenslo -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/a...
gpl-3.0
Aarhus-BSS/Aarhus-Research-Rebuilt
lib/luaj-3.0.1/test/lua/perf/fannkuch.lua
6
1518
-- The Computer Language Benchmarks Game -- http://shootout.alioth.debian.org/ -- contributed by Mike Pall local function fannkuch(n) local p, q, s, odd, check, maxflips = {}, {}, {}, true, 0, 0 for i=1,n do p[i] = i; q[i] = i; s[i] = i end repeat -- Print max. 30 permutations. if check < 30 then i...
apache-2.0
blackops97/SAJJAD.iq
plugins/ar-robot.lua
1
2516
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJADHUSSIEN (@sajjad_iq98) ▀▄ ▄▀ ▀▄ ▄ JUST WRITED BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ تشغيل او اطفاء البوت في دردشه ▀▄ ▄▀ ▀▄...
gpl-2.0
evilexecutable/ResourceKeeper
install/Lua/lib/lua/oil/kernel/cooperative/Receiver.lua
6
5380
-------------------------------------------------------------------------------- ------------------------------ ##### ## ------------------------------ ------------------------------ ## ## # ## ------------------------------ ------------------------------ ## ## ## ## ---------------------------...
gpl-2.0
geanux/darkstar
scripts/globals/spells/cure_ii.lua
18
3926
----------------------------------------- -- Spell: Cure II -- Restores target's HP. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals...
gpl-3.0
geanux/darkstar
scripts/zones/Bastok_Markets/npcs/Zacc.lua
31
1547
----------------------------------- -- Area: Bastok Markets -- NPC: Zacc -- Type: Quest NPC -- @zone: 235 -- @pos -255.709 -13 -91.379 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/globals/quests...
gpl-3.0
geanux/darkstar
scripts/zones/Mount_Zhayolm/npcs/qm3.lua
16
1173
----------------------------------- -- Area: Mount Zhayolm -- NPC: ??? (Spawn Anantaboga(ZNM T2)) -- @pos -368 -13 366 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); --------------...
gpl-3.0
SquidDev-CC/Blue-Shiny-Rocks
bsrocks/rocks/manifest.lua
1
1463
local fileWrapper = require "bsrocks.lib.files" local log = require "bsrocks.lib.utils".log local settings = require "bsrocks.lib.settings" local unserialize = require "bsrocks.lib.serialize".unserialize local manifestCache = {} local servers = settings.servers local patchDirectory = settings.patchDirectory local fun...
mit
geanux/darkstar
scripts/zones/Bastok_Mines/npcs/Tami.lua
36
2714
----------------------------------- -- Area: Bastok Mines -- NPC: Tami -- Starts & Finishes Repeatable Quest: Groceries -- Note: Repeatable until proper completion ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scrip...
gpl-3.0
geanux/darkstar
scripts/globals/items/pear_crepe.lua
36
1325
----------------------------------------- -- ID: 5777 -- Item: Pear Crepe -- Food Effect: 30 Min, All Races ----------------------------------------- -- Intelligence +2 -- MP Healing +2 -- Magic Accuracy +5 -- Magic Defense +1 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
geanux/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
SquidDev-CC/Blue-Shiny-Rocks
bsrocks/commands/admin/addrockspec.lua
1
1620
local fileWrapper = require "bsrocks.lib.files" local manifest = require "bsrocks.rocks.manifest" local patchDirectory = require "bsrocks.lib.settings".patchDirectory local rockspec = require "bsrocks.rocks.rockspec" local serialize = require "bsrocks.lib.serialize" local function execute(name, version) if not name t...
mit
geanux/darkstar
scripts/globals/items/kazham_pineapple.lua
35
1203
----------------------------------------- -- ID: 4432 -- Item: kazham_pineapple -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -5 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
geanux/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
geanux/darkstar
scripts/globals/items/bowl_of_mog_pudding.lua
36
1154
----------------------------------------- -- ID: 6009 -- Item: Bowl of Mog Pudding -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 7 -- Vitality 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----...
gpl-3.0
geanux/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
geanux/darkstar
scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua
19
1194
----------------------------------- -- Area: Den_of_Rancor -- NPC: HomePoint#2 -- @pos 182 34 -62 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/TextIDs"); require("scripts/globals/homepoin...
gpl-3.0
nekromant/lunartool
applets/pw-ctl.lua
1
3936
-- Power Control Utility config = { description = "Outlet Control Utility", usage = { "Outlet control: --on=outlet --reboot=outlet", "List avaliable outlets and their numbers: --outlets", "Global: --all=<1|0>" }, --short options that need args commandline="oa"; vid = 0x1d50, pid =...
gpl-3.0
geanux/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
geanux/darkstar
scripts/zones/Apollyon/bcnms/SE_Apollyon.lua
19
1396
----------------------------------- -- Area: Appolyon -- Name: SE_Apollyon ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[SE_Apollyon]UniqueI...
gpl-3.0
kaen/Zero-K
LuaUI/Widgets/cmd_doubleclickfight.lua
12
5386
-- $Id: cmd_doubleclickfight.lua 3171 2008-11-06 09:06:29Z det $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- Copyright (C) 2008. -- Licensed under the terms of the GNU GPL, v2 or later. -- -----...
gpl-2.0
geanux/darkstar
scripts/globals/abilities/feral_howl.lua
58
3525
--------------------------------------------------- -- Ability: Feral Howl -- Terrorizes the target. -- Obtained: Beastmaster Level 75 -- Recast Time: 0:05:00 -- Duration: Apprx. 0:00:01 - 0:00:10 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status")...
gpl-3.0
olszak94/forgottenserver
data/events/scripts/player.lua
20
5180
function Player:onBrowseField(position) return true end function Player:onLook(thing, position, distance) local description = "You see " .. thing:getDescription(distance) if self:getGroup():getAccess() then if thing:isItem() then description = string.format("%s\nItem ID: %d", description, thing:getId()) lo...
gpl-2.0
tahashakiba/zz
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
ExcelF/project-navel
smee/libs/cupid.lua
4
35143
----------------------------------------------------- -- (C) Robert Blancakert 2012 -- Available under the same license as Love ----------------------------------------------------- ----------------------------------------------------- -- Cupid Configuration ----------------------------------------------------- loca...
mit
geanux/darkstar
scripts/zones/The_Shrouded_Maw/bcnms/waking_dreams.lua
19
2489
----------------------------------- -- Area: The_Shrouded_Maw -- Name: waking_dreams ----------------------------------- package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/q...
gpl-3.0
geanux/darkstar
scripts/zones/Port_San_dOria/npcs/Laucimercen.lua
36
1377
----------------------------------- -- Area: Port San d'Oria -- NPC: Laucimercen -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/T...
gpl-3.0
evilexecutable/ResourceKeeper
install/Lua/share/zerobranestudio/api/lua/glewgl.lua
1
788608
--[[// glewgl gl | OpenGL Wrapper with GLEW typedef unsigned int GLenum; typedef unsigned int GLbitfield; typedef unsigned int GLuint; typedef int GLint; typedef int GLsizei; typedef unsigned char GLboolean; typedef signed char GLbyte; typedef short GLshort; typedef unsigned char GLubyte; typedef unsigned short GLushor...
gpl-2.0
geanux/darkstar
scripts/globals/items/cup_of_imperial_coffee.lua
35
1254
----------------------------------------- -- ID: 5592 -- Item: cup_of_imperial_coffee -- Food Effect: 180Min, All Races ----------------------------------------- -- Health Regen While Healing 3 -- Magic Regen While Healing 3 ----------------------------------------- require("scripts/globals/status"); -----...
gpl-3.0
LiangMa/skynet
service/cmaster.lua
78
3256
local skynet = require "skynet" local socket = require "socket" --[[ master manage data : 1. all the slaves address : id -> ipaddr:port 2. all the global names : name -> address master hold connections from slaves . protocol slave->master : package size 1 byte type 1 byte : 'H' : HANDSHAKE, report slav...
mit
kling-igor/particle-designer
loveframes/objects/internal/doublesliderbutton.lua
1
8419
--[[------------------------------------------------ -- 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.doubleslider...
mit
shayan-soft/virus
bot/bot.lua
34
7073
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 = '0.14.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then r...
gpl-2.0
dominicphillips/plugin-mysql
modules/mysql/auth.lua
3
1069
--[[ Copyright 2012 Kengo Nakajima. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
apache-2.0
forward619/luci
applications/luci-app-shairplay/luasrc/model/cbi/shairplay.lua
78
1789
-- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com> -- Licensed to the public under the Apache License 2.0. m = Map("shairplay", "Shairplay", translate("Shairplay is a simple AirPlay server implementation, here you can configure the settings.")) s = m:section(TypedSection, "shairplay", "") s.addremove = true...
apache-2.0
PhearNet/scanner
bin/nmap-openshift/nselib/pppoe.lua
5
30636
--- A minimalistic PPPoE (Point-to-point protocol over Ethernet) -- library, implementing basic support for PPPoE -- Discovery and Configuration requests. The PPPoE protocol is ethernet based -- and hence does not use any IPs or port numbers. -- -- The library contains a number of classes to support packet creation, --...
mit
koreader/kindlepdfviewer
keys.lua
3
5640
--[[ This file contains settings related to key codes Copyright (C) 2011 Hans-Werner Hilse <hilse@web.de> 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 ...
gpl-3.0
SirFrancisBillard/lua-projects
deathmatch-weapons/lua/weapons/weapon_python.lua
1
4516
AddCSLuaFile() game.AddAmmoType({name = "pythonbullets"}) if CLIENT then language.Add("pythonbullets_ammo", "Bullets") end SWEP.PrintName = "Python Revolver" SWEP.Instructions = [[ <color=green>[PRIMARY FIRE]</color> Fire a bullet. <color=green>[SECONDARY FIRE]</color> Fan the hammer. Fanning provides a g...
gpl-3.0
geanux/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Yang.lua
15
1332
----------------------------------- -- Area: Dynamis Xarcabard -- NM: Yang ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize(mob,target) end; --------------...
gpl-3.0
geanux/darkstar
scripts/zones/Metalworks/npcs/Karst.lua
19
1867
----------------------------------- -- Area: Metalworks -- NPC: Karst -- Type: President -- Involved in Bastok Missions 5-2 -- @pos 106 -21 0 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requi...
gpl-3.0
geanux/darkstar
scripts/zones/Port_Windurst/npcs/Choyi_Totlihpa.lua
38
1414
----------------------------------- -- Area: Port Windurst -- NPC: Choyi Totlihpa -- Type: Standard NPC -- @pos -58.927 -5.732 132.819 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require...
gpl-3.0
kaen/Zero-K
LuaUI/Widgets/wg_mexspot_fetcher.lua
8
1320
function widget:GetInfo() return { name = "Mexspot Fetcher", desc = "Fetches metal spot data from synced.", author = "Google Frog", -- date = "22 April 2012", license = "GNU GPL, v2 or later", layer = -30000, enabled = true -- loaded by default? } end local...
gpl-2.0
kaen/Zero-K
units/armspy.lua
2
6056
unitDef = { unitname = [[armspy]], name = [[Infiltrator]], description = [[Spy, Anti-Heavy]], acceleration = 0.3, activateWhenBuilt = true, brakeRate = 0.3, buildCostEnergy = 280, buildCostMetal = 280, buildPic ...
gpl-2.0
evilexecutable/ResourceKeeper
install/Lua/lib/lua/loop/collection/UnorderedArray.lua
12
1495
-------------------------------------------------------------------------------- ---------------------- ## ##### ##### ###### ----------------------- ---------------------- ## ## ## ## ## ## ## ----------------------- ---------------------- ## ## ## ## ## ###### --------------------...
gpl-2.0
PhearNet/scanner
bin/nmap-openshift/nselib/snmp.lua
3
16072
--- -- SNMP library. -- -- @author Patrik Karlsson <patrik@cqure.net> -- @author Gioacchino Mazzurco <gmazzurco89@gmail.com> -- @copyright Same as Nmap--See https://nmap.org/book/man-legal.html -- 2015-06-11 Gioacchino Mazzurco - Use creds library to handle SNMP community local asn1 = require "asn1" local bin = requi...
mit
pakozm/otto-kaggle
scripts/TRAIN/logistic_regression.lua
1
2492
april_print_script_header(arg) local stdml = require "stdml" local common = require "scripts.common" local bagging = common.bagging local create_ds = common.create_ds local predict = common.predict local write_submission = common.write_submission local mop = matrix.op local rnd = random(12394) local wrnd = r...
mit
geanux/darkstar
scripts/zones/Yhoator_Jungle/npcs/qm3.lua
19
1717
----------------------------------- -- Area: Davoi -- NPC: ??? (qm3) -- Involved in Quest: True will -- @pos 203 0.1 82 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/global...
gpl-3.0
geanux/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua
32
1308
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 450.741 2.110 -290.736 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; -------------------------------...
gpl-3.0
cribznetwork/jimcrib-hacker
src/hump/class.lua
35
2925
--[[ Copyright (c) 2010-2013 Matthias Richter Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
mit
kaen/Zero-K
scripts/corclog.lua
5
6184
include 'constants.lua' include "JumpRetreat.lua" local pelvis = piece 'pelvis' local pole = piece 'pole' local aimpitch = piece 'aimpitch' local aimyaw = piece 'aimyaw' local lthigh, lcalf, lfoot = piece('lthigh', 'lcalf', 'lfoot') local rthigh, rcalf, rfoot = piece('rthigh', 'rcalf', 'rfoot') local leftLeg = { thigh...
gpl-2.0
geanux/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua
17
2437
----------------------------------- -- Area: Temple of Uggalepih -- NPC: Worn Book -- Getting "Old Rusty Key (keyitem)" -- @pos 59 0 19 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyit...
gpl-3.0
geanux/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
h0tw1r3/mame
3rdparty/genie/scripts/embed.lua
19
2307
-- -- Embed the Lua scripts into src/host/scripts.c as static data buffers. -- I embed the actual scripts, rather than Lua bytecodes, because the -- bytecodes are not portable to different architectures, which causes -- issues in Mac OS X Universal builds. -- local function stripfile(fname) local f = io.open(fnam...
gpl-2.0
ExcelF/project-navel
smee/libs/jumper/search/astar.lua
8
2527
-- Astar algorithm -- This actual implementation of A-star is based on -- [Nash A. & al. pseudocode](http://aigamedev.com/open/tutorials/theta-star-any-angle-paths/) if (...) then -- Internalization local ipairs = ipairs local huge = math.huge -- Dependancies local _PATH = (...):match('(.+)%.search.astar$') lo...
mit
kobreu/compiler
testinput/lua5.1-tests/math.lua
11
5437
print("testing numbers and math lib") do local a,b,c = "2", " 3e0 ", " 10 " assert(a+b == 5 and -b == -3 and b+"2" == 5 and "10"-c == 0) assert(type(a) == 'string' and type(b) == 'string' and type(c) == 'string') assert(a == "2" and b == " 3e0 " and c == " 10 " and -c == -" 10 ") assert(c%a == 0 and a^b =...
gpl-3.0
geanux/darkstar
scripts/globals/spells/bluemagic/enervation.lua
18
2037
----------------------------------------- -- Spell: Enervation -- Lowers the defense and magical defense of enemies within range -- Spell cost: 48 MP -- Monster Type: Beastmen -- Spell Type: Magical (Dark) -- Blue Magic Points: 5 -- Stat Bonus: HP-5, MP+5 -- Level: 67 -- Casting Time: 6 seconds -- Recast Time...
gpl-3.0
bungle/lua-resty-nettle
lib/resty/nettle/types/arctwo.lua
1
1085
local ffi = require "ffi" local ffi_cdef = ffi.cdef local ffi_typeof = ffi.typeof ffi_cdef [[ void nettle_arctwo_set_key_ekb(struct arctwo_ctx *ctx, size_t length, const uint8_t * key, unsigned ekb); void nettle_arctwo_set_key(struct arctwo_ctx *ctx, size_t length, const uint8_t *key); void n...
bsd-2-clause
kaen/Zero-K
scripts/missilesilo.lua
11
4655
-------------------------------------------------------------------------------- -- refer to LuaRules\Gadgets\unit_missilesilo.lua for documentation -------------------------------------------------------------------------------- include "constants.lua" ----------------------------------------------------------------...
gpl-2.0
blackops97/SAJJAD.iq
libs/serpent.lua
656
7877
local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} lo...
gpl-2.0
geanux/darkstar
scripts/zones/Northern_San_dOria/npcs/Fittesegat.lua
38
1029
----------------------------------- -- Area: Northern San d'Oria -- NPC: Fittesegat -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos 144.250 0.000 138.203 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs"...
gpl-3.0
geanux/darkstar
scripts/globals/icanheararainbow.lua
29
7834
-- Functions below used in quest: I Can Hear a Rainbow require( "scripts/globals/status"); require( "scripts/globals/quests"); require( "scripts/globals/weather"); colorsAvailable = { 102, 103, 104, 105, 106, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125}; -- Zone IDs --...
gpl-3.0
geanux/darkstar
scripts/zones/Northern_San_dOria/npcs/Galahad.lua
38
1031
----------------------------------- -- Area: Northern San d'Oria -- NPC: Galahad -- Type: Consulate Representative NPC -- @zone: 231 -- @pos -51.984 -2.000 -15.373 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/Tex...
gpl-3.0
vvtam/vlc
share/lua/playlist/liveleak.lua
91
1883
--[[ $Id$ Copyright © 2012 VideoLAN and AUTHORS Authors: Ludovic Fauvet <etix@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 optio...
gpl-2.0
geanux/darkstar
scripts/zones/Port_Windurst/npcs/Papo-Hopo.lua
36
2900
----------------------------------- -- Area: Port Windurst -- NPC: Papo-Hopo ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Port_...
gpl-3.0
geanux/darkstar
scripts/zones/Davoi/npcs/_451.lua
31
1166
----------------------------------- -- Area: Davoi -- NPC: _451 (Elevator Lever) -- Notes: Used to operate Elevator @450 (actual npc script is _454) ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
geanux/darkstar
scripts/zones/Altar_Room/Zone.lua
28
1623
----------------------------------- -- -- Zone: Altar_Room (152) -- ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Altar_Room/TextIDs"); ---------------------------...
gpl-3.0
knyghtmare/The_Legend_Begins
lua/priority_target_engine.lua
1
4086
-- -- Code taken from the AI Modification Demos add-on by mattsc. -- -- Extended to allow considering any unit from a list of potential targets, -- with some help from the RNG. -- return { init = function(ai) local priority_target = {} local H = wesnoth.require "lua/helper.lua" local W = H.set_wml_action_meta...
gpl-2.0
evilexecutable/ResourceKeeper
install/Lua/lib/lua/logging/file.lua
3
1493
------------------------------------------------------------------------------- -- Saves logging information in a file -- -- @author Thiago Costa Ponte (thiago@ideais.com.br) -- -- @copyright 2004-2011 Kepler Project -- ------------------------------------------------------------------------------- require"logging" l...
gpl-2.0
evilexecutable/ResourceKeeper
install/Lua/share/zerobranestudio/spec/sql.lua
3
2596
-- authors: Luxinia Dev (Eike Decker & Christoph Kubisch) --------------------------------------------------------- return { exts = {"sql"}, lexer = wxstc.wxSTC_LEX_LUA, apitype = "sql", linecomment = "--", isfncall = function(str) return string.find(str,"([A-Za-z0-9_]+)%s*%(") end, lexerstyleconver...
gpl-2.0
daurnimator/cqueues-pgsql
mutex-example.lua
1
1341
local cqueues = require "cqueues" local condition = require "cqueues.condition" local pgsql = require "cqueues_pgsql" local conn = pgsql.connectdb "" if conn:status() ~= pgsql.CONNECTION_OK then error(conn:errorMessage(), nil) end assert(conn:exec("LISTEN somechannel"):status() == pgsql.PGRES_COMMAND_OK) local loop ...
mit
spark0511/avatar_bot
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
Pritchy96/OpenRA
mods/cnc/maps/nod01/nod01.lua
8
3139
InitialForcesA = { "bggy", "e1", "e1", "e1", "e1" } InitialForcesB = { "e1", "e1", "bggy", "e1", "e1" } RifleInfantryReinforcements = { "e1", "e1" } RocketInfantryReinforcements = { "e3", "e3", "e3", "e3", "e3" } SendInitialForces = function() Media.PlaySpeechNotification(nod, "Reinforce") Reinforcements.Reinforce...
gpl-3.0
geanux/darkstar
scripts/zones/Metalworks/npcs/Taulluque.lua
38
1048
----------------------------------- -- Area: Metalworks -- NPC: Taulluque -- Type: Past Event Watcher -- @zone: 237 -- @pos 39.907 -14.999 -21.083 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("s...
gpl-3.0
kaen/Zero-K
LuaUI/Widgets/camera_smooth_move.lua
8
6635
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: camera_smooth_scroll.lua -- brief: Alternate camera scrolling for the middle mouse button -- author: Dave Rodgers -- -- Copyright (C) 20...
gpl-2.0
geanux/darkstar
scripts/globals/items/margherita_pizza.lua
35
1220
----------------------------------------- -- ID: 5695 -- Item: margherita_pizza -- Food Effect: 3hours, All Races ----------------------------------------- -- Attack 10 -- Health Points 30 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
geanux/darkstar
scripts/globals/items/plate_of_shrimp_sushi_+1.lua
35
1614
----------------------------------------- -- ID: 5692 -- Item: plate_of_shrimp_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Vitality 1 -- Defense 5 -- Accuracy % 12 (unknown, assuming HQ stat) -- Store TP 2 -- Triple Attack 1 (unknown, assuming same as NQ) -----------...
gpl-3.0
lewes6369/LAVG-GAME-ENGINE
src/LAVG/Lua/Lua/Lplus.lua
2
43123
--[[ Lplus: Object oriented programming library for Lua ]] local Lplus = {} ---------------------------------------- -- -- external functions -- ---------------------------------------- local rawget = rawget local type = type local pairs = pairs local setmetatable = setmetatable local getmetatable =...
mit
981213/packages
net/prosody/files/prosody.cfg.lua
147
7257
-- Prosody Example Configuration File -- -- Information on configuring Prosody can be found on our -- website at http://prosody.im/doc/configure -- -- Tip: You can check that the syntax of this file is correct -- when you have finished by running: luac -p prosody.cfg.lua -- If there are any errors, it will let you know...
gpl-2.0
Castux/devtut
exercises/sort.lua
1
1778
function selection_sort(arr) local result = {} while #arr > 0 do local min = arr[1] local index = 1 for i,v in ipairs(arr) do if v < min then index = i min = v end end table.insert(result, min) table.remove(arr, index) end return result end function insertion_sort(arr) local result...
mit
SquidDev-CC/Blue-Shiny-Rocks
bsrocks/lib/diff.lua
1
4929
--[[ (C) Paul Butler 2008-2012 <http://www.paulbutler.org/> May be used and distributed under the zlib/libpng license <http://www.opensource.org/licenses/zlib-license.php> Adaptation to Lua by Philippe Fremy <phil at freehackers dot org> Lua version copyright 2015 ]] local ipairs = ipairs local function table_jo...
mit
geanux/darkstar
scripts/globals/spells/bluemagic/frightful_roar.lua
18
1412
----------------------------------------- -- Spell: Frightful Roar -- Weakens defense of enemies within range -- Spell cost: 32 MP -- Monster Type: Demon -- Spell Type: Magical (Wind) -- Blue Magic Points: 3 -- Stat Bonus: AGI+2 -- Level: 50 -- Casting Time: 2 seconds -- Recast Time: 20 seconds -- Magic Burs...
gpl-3.0
olszak94/forgottenserver
data/talkactions/scripts/mccheck.lua
40
1027
function onSay(player, words, param) if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Multiclient Check List:") local ipList = {} local players = Game.getPlayers() for i = 1, ...
gpl-2.0
omapzoom/platform-external-skia
tools/lua/skia.lua
207
1863
-- Experimental helpers for skia -- function string.startsWith(String,Start) return string.sub(String,1,string.len(Start))==Start end function string.endsWith(String,End) return End=='' or string.sub(String,-string.len(End))==End end Sk = {} function Sk.isFinite(x) return x * 0 == 0 end ----------------...
bsd-3-clause
kaen/Zero-K
LuaUI/Widgets/cmd_customformations2.lua
2
39193
function widget:GetInfo() return { name = "CustomFormations2", desc = "Allows you to draw a formation line:".. "\n• mouse drag draw various command on ground.".. "\n• ALT+Attack draw attack command on the ground.", author = "Niobium, modified by Skasi", -- Based on 'Custom Formations' by j...
gpl-2.0
geanux/darkstar
scripts/zones/Wajaom_Woodlands/npcs/_1f1.lua
19
1052
----------------------------------- -- Area: Wajaom Woodlands -- NPC: Engraved Tablet -- @pos -64 -11 -641 51 ----------------------------------- require("scripts/globals/keyitems"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --...
gpl-3.0
xXDarkBoyXx/Cloud_Tm
plugins/all.lua
1321
4661
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
geanux/darkstar
scripts/zones/Sacrarium/npcs/Treasure_Chest.lua
19
2554
----------------------------------- -- Area: Sacrarium -- NPC: Treasure Chest -- @zone 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Sa...
gpl-3.0
geanux/darkstar
scripts/zones/RaKaznar_Inner_Court/Zone.lua
32
1345
----------------------------------- -- -- Zone: Ra’Kanzar Inner Court (276) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Inner_Court/TextIDs");...
gpl-3.0