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
Vadavim/jsr-darkstar
scripts/globals/spells/bluemagic/seedspray.lua
1
2409
----------------------------------------- -- Spell: Seedspray -- Delivers a threefold attack. Additional effect: Weakens defense. Chance of effect varies with TP -- Spell cost: 61 MP -- Monster Type: Plantoids -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: VIT+1 -- Level: 61 -- Casting Time: ...
gpl-3.0
RJRetro/mame
3rdparty/genie/tests/base/test_config_bug.lua
9
3732
T.config_bug_report = { } local config_bug = T.config_bug_report local vs10_helpers = premake.vstudio.vs10_helpers local sln, prjA,prjB,prjC,prjD function config_bug.teardown() sln = nil prjA = nil prjB = nil prjC = nil prjD = nil end function config_bug.setup() end local config_bug_updated ...
gpl-2.0
Vadavim/jsr-darkstar
scripts/zones/Bastok_Markets_[S]/TextIDs.lua
7
1077
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 11215; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtai...
gpl-3.0
AssassinTG/Fast
plugins/supergroup.lua
1
101214
--Begin supergrpup.lua --Check members #Add supergroup local function check_member_super(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg if success == 0 then send_large_msg(receiver, "Promote me to admin first!") end for k,v in pair...
gpl-2.0
zynjec/darkstar
scripts/zones/Ghelsba_Outpost/bcnms/wings_of_fury.lua
9
1065
----------------------------------- -- Wings of Fury -- Ghelsba Outpost BCNM20, Cloudy Orb -- !additem 1551 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function o...
gpl-3.0
Mohammadjkr/spam-bot
bot/seedbot.lua
1
10317
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...
agpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Port_Bastok/npcs/Carmelo.lua
14
4833
----------------------------------- -- Area: Port Bastok -- NPC: Carmelo -- Start & Finishes Quest: Love and Ice, A Test of True Love -- Start Quest: Lovers in the Dusk -- Involved in Quest: The Siren's Tear -- @zone 236 -- @pos -146.476 -7.48 -10.889 ----------------------------------- require("scripts/globals/quests...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Southern_San_dOria/npcs/Phillone.lua
17
1459
----------------------------------- -- Area: Southern San d'Oria -- NPC: Phillone -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globals...
gpl-3.0
Colettechan/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Fubruhn.lua
13
5845
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Fubruhn -- Mog Locker NPC -- -- Event IDs: -- 0x0258 = Not a mercenary + mog locker options -- 1st arg = Amount of time left on lease, as seconds past 2001/12/31 15:00:00. -- If this is 0, it shows the not a mecenary message instead. -- ...
gpl-3.0
Colettechan/darkstar
scripts/zones/The_Garden_of_RuHmet/bcnms/when_angels_fall.lua
30
2268
----------------------------------- -- Area: The_Garden_of_RuHmet -- Name: when_angels_fall ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("script...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Tavnazian_Safehold/npcs/Suzel.lua
14
1058
---------------------------------- -- Area: Tavnazian Safehold -- NPC: Suzel -- Type: Item Deliverer -- @zone 26 -- @pos -72.701 -20.25 -64.058 -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ------------...
gpl-3.0
aleksijuvani/premake-core
tests/tools/test_msc.lua
2
9664
-- -- tests/test_msc.lua -- Automated test suite for the Microsoft C toolset interface. -- Copyright (c) 2012-2013 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("tools_msc") local msc = p.tools.msc -- -- Setup/teardown -- local wks, prj, cfg function suite.setup() wk...
bsd-3-clause
Vadavim/jsr-darkstar
scripts/globals/spells/armys_paeon_vi.lua
1
1499
----------------------------------------- -- Spell: Army's Paeon VI -- Gradually restores target's HP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,ta...
gpl-3.0
zynjec/darkstar
scripts/globals/items/dish_of_spaghetti_carbonara.lua
11
1545
----------------------------------------- -- ID: 5190 -- Item: dish_of_spaghetti_carbonara -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 175 -- Magic 10 -- Strength 4 -- Vitality 2 -- Intelligence -3 -- Attack % 17 -- Attack Cap 65 -- Store TP 6 ----------------...
gpl-3.0
zynjec/darkstar
scripts/commands/animation.lua
14
1156
--------------------------------------------------------------------------------------------------- -- func: animation -- desc: Sets the players current animation. --------------------------------------------------------------------------------------------------- require("scripts/globals/status"); cmdprops = { pe...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/mobskills/Cocoon.lua
1
1310
--------------------------------------------------- -- Cocoon -- Enhances defense. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onMobS...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Windurst_Waters/npcs/Amagusa-Chigurusa.lua
14
1468
----------------------------------- -- Area: Windurst Waters -- NPC: Amagusa-Chigurusa -- Type: Standard NPC -- @pos -28.746 -4.5 61.954 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requ...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Windurst_Woods/npcs/Kuzah_Hpirohpon.lua
27
1199
----------------------------------- -- Area: Windurst Woods -- NPC: Kuzah Hpirohpon -- Guild Merchant NPC: Clothcrafting Guild -- @pos -80.068 -3.25 -127.686 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
Colettechan/darkstar
scripts/zones/The_Boyahda_Tree/npcs/HomePoint#1.lua
27
1273
----------------------------------- -- Area: The Boyahda Tree -- NPC: HomePoint#1 -- @pos 88 -15 -217 153 ----------------------------------- package.loaded["scripts/zones/The_Boyahda_Tree/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/The_Boyahda_Tree/TextIDs"); require("scripts/global...
gpl-3.0
Joker-development/Joker_development
plugins/welcome.lua
4
3920
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or ...
gpl-2.0
Colettechan/darkstar
scripts/globals/abilities/ice_maneuver.lua
19
1600
----------------------------------- -- Ability: Ice Maneuver -- Enhances the effect of ice attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/effects/fenrirs_favor.lua
1
1266
----------------------------------- -- -- -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:addMod(MOD_DARKACC,10); target:addMod(MOD_DARKATT,10); ...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Balgas_Dais/mobs/Maat.lua
14
1549
----------------------------------- -- Area: Balga Dais -- MOB: Maat -- Genkai 5 Fight ----------------------------------- package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Balgas_Dais/TextIDs"); ----------------------------------- -- onMobSpawn Act...
gpl-3.0
Colettechan/darkstar
scripts/zones/Lower_Jeuno/npcs/_l04.lua
13
1553
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -73.039 6 -95.633 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
Colettechan/darkstar
scripts/globals/items/remedy.lua
17
1283
----------------------------------------- -- ID: 4155 -- Item: Remedy -- Item Effect: This potion remedies status ailments. -- Works on paralysis, silence, blindness, poison, and disease. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
Colettechan/darkstar
scripts/globals/mobskills/Miasma.lua
33
1139
--------------------------------------------- -- Miasma -- -- Description: Releases a toxic cloud on nearby targets. Additional effects: Slow + Poison + Plague -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows? -- Range: Less than or equal to 10.0 -- Notes: Only used by Gulool Ja Ja. ----------------------...
gpl-3.0
reaperrr/OpenRA
mods/ra/maps/production-disruption/production-disruption.lua
7
8379
--[[ Copyright 2007-2022 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
Vadavim/jsr-darkstar
scripts/zones/Bastok_Markets/npcs/Zhikkom.lua
15
1475
----------------------------------- -- Area: Bastok Markets -- NPC: Zhikkom -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/z...
gpl-3.0
pedja1/aNmap
dSploit/jni/nmap/ncat/scripts/conditional.lua
4
1435
--This is another --lua-exec demo. It displays a menu to a user, waits for her --input and makes a decision according to what the user entered. All happens --in an infinite loop. --This function reads a line of at most 8096 bytes (or whatever the first --parameter says) from standard input. Returns the string and a bo...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Apollyon/mobs/Fire_Elemental.lua
119
2740
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- ...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/abilities/pets/axe_kick.lua
1
1049
--------------------------------------------------- -- Axe Kick M=3.5 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/summon"); ----------------------------------------------...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Konschtat_Highlands/npcs/qm1.lua
14
1374
----------------------------------- -- Area: Konschtat Highlands -- NPC: qm1 (???) -- Continues Quests: Past Perfect -- @pos -201 16 80 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requ...
gpl-3.0
darklost/quick-ng
cocos/scripting/lua-bindings/auto/api/AtlasNode.lua
7
3990
-------------------------------- -- @module AtlasNode -- @extend Node,TextureProtocol -- @parent_module cc -------------------------------- -- updates the Atlas (indexed vertex array).<br> -- Shall be overridden in subclasses. -- @function [parent=#AtlasNode] updateAtlasValues -- @param self -- @return AtlasNode#At...
mit
Vadavim/jsr-darkstar
scripts/zones/Gusgen_Mines/npcs/Clay.lua
14
1229
----------------------------------- -- Area: Gusgen Mines -- NPC: Clay -- Involved in Quest: A Potter's Preference -- @pos 117 -21 432 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scr...
gpl-3.0
darklost/quick-ng
cocos/scripting/lua-bindings/script/cocos2d/DrawPrimitives.lua
98
12024
local dp_initialized = false local dp_shader = nil local dp_colorLocation = -1 local dp_color = { 1.0, 1.0, 1.0, 1.0 } local dp_pointSizeLocation = -1 local dp_pointSize = 1.0 local SHADER_NAME_POSITION_U_COLOR = "ShaderPosition_uColor" local targetPlatform = cc.Application:getInstance():getTargetPlatform() lo...
mit
lcf8858/Sample_Lua
frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/cocos2d/DrawPrimitives.lua
98
12024
local dp_initialized = false local dp_shader = nil local dp_colorLocation = -1 local dp_color = { 1.0, 1.0, 1.0, 1.0 } local dp_pointSizeLocation = -1 local dp_pointSize = 1.0 local SHADER_NAME_POSITION_U_COLOR = "ShaderPosition_uColor" local targetPlatform = cc.Application:getInstance():getTargetPlatform() lo...
mit
Colettechan/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Enaremand.lua
13
1062
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Enaremand -- Type: Standard NPC -- @zone: 26 -- @pos 95.962 -42.003 51.613 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; --...
gpl-3.0
lcf8858/Sample_Lua
frameworks/cocos2d-x/tests/lua-tests/src/RenderTextureTest/RenderTextureTest.lua
15
17966
-- Test #1 by Jason Booth (slipster216) -- Test #3 by David Deaco (ddeaco) --/** -- * Impelmentation of RenderTextureSave --*/ local function RenderTextureSave() local ret = createTestLayer("Touch the screen", "Press 'Save Image' to create an snapshot of the render texture") ...
mit
Vadavim/jsr-darkstar
scripts/globals/items/magma_steak_+1.lua
18
1597
----------------------------------------- -- ID: 6072 -- Item: Magma Steak +1 -- Food Effect: 240 Min, All Races ----------------------------------------- -- Strength +9 -- Attack +24% Cap 185 -- Ranged Attack +24% Cap 185 -- Vermin Killer +6 ----------------------------------------- require("scripts/globals/status");...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/weaponskills/bora_axe.lua
1
2053
----------------------------------- -- Bora Axe -- Axe weapon skill -- Skill level: 290 -- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Chance of binding varies with TP -- Bind doesn't always break from hitting mob. -- This Weapon Skill's first hit params.ftp is duplicated for all additional hits...
gpl-3.0
darklost/quick-ng
quick/framework/transition.lua
20
19757
--[[ Copyright (c) 2011-2014 chukong-inc.com 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
Vadavim/jsr-darkstar
scripts/zones/Abyssea-La_Theine/Zone.lua
33
1482
----------------------------------- -- -- Zone: Abyssea - La_Theine -- ----------------------------------- package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-La_Thein...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Al_Zahbi/npcs/Gameem.lua
14
1032
----------------------------------- -- Area: Al Zahbi -- NPC: Gameem -- Type: Standard NPC -- @zone 48 -- @pos 18.813 -7 11.298 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; --------------------------------...
gpl-3.0
zynjec/darkstar
scripts/zones/FeiYin/npcs/Underground_Pool.lua
9
1702
----------------------------------- -- Area: FeiYin -- NPC: Underground Pool -- Involved In Quest: Scattered into Shadow -- Offset 0 (H-5) !pos 7 0 247 204 -- Offset 1 (F-5) !pos -168 0 247 204 -- Offset 2 (H-8) !pos 7 0 32 204 ----------------------------------- local ID = require("scripts/zones/FeiYin/IDs") require(...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/weaponskills/onslaught.lua
19
2069
----------------------------------- -- Onslaught -- Axe weapon skill -- Skill Level: N/A -- Lowers target's params.accuracy. Additional effect: temporarily increases Attack. -- Available only when equipped with the Relic Weapons Ogre Killer (Dynamis use only) or Guttler or Cleofun Axe (with Latent active). -- These Rel...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/Windurst_Walls/npcs/Naih_Arihmepp.lua
14
1471
----------------------------------- -- Area: Windurst Walls -- NPC: Naih Arihmepp -- Type: Standard NPC -- @pos -64.578 -13.465 202.147 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requir...
gpl-3.0
Vadavim/jsr-darkstar
scripts/globals/items/cup_of_chocomilk.lua
18
1139
----------------------------------------- -- ID: 4498 -- Item: cup_of_chocomilk -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic Regen While Healing 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
davidcarlisle/luaotfload
src/fontloader/misc/fontloader-font-tfm.lua
1
8509
if not modules then modules = { } end modules ['font-tfm'] = { version = 1.001, comment = "companion to font-ini.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } local next = next local...
gpl-2.0
RJRetro/mame
scripts/src/sound.lua
2
34977
-- license:BSD-3-Clause -- copyright-holders:MAMEdev Team --------------------------------------------------------------------------- -- -- sound.lua -- -- Rules for building sound cores -- ---------------------------------------------------------------------------- ----------------------------------------------...
gpl-2.0
Colettechan/darkstar
scripts/zones/Arrapago_Reef/npcs/qm1.lua
30
1331
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (Spawn Lil'Apkallu(ZNM T1)) -- @pos 488 -1 166 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); require("scripts/...
gpl-3.0
PhearZero/phear-scanner
bin/nmap-openshift/nselib/rsync.lua
8
5267
--- -- A minimalist RSYNC (remote file sync) library -- -- @author "Patrik Karlsson <patrik@cqure.net>" local base64 = require "base64" local bin = require "bin" local match = require "match" local nmap = require "nmap" local stdnse = require "stdnse" local table = require "table" local openssl = stdnse.silent_require...
mit
pedja1/aNmap
dSploit/jni/nmap/nselib/rsync.lua
8
5267
--- -- A minimalist RSYNC (remote file sync) library -- -- @author "Patrik Karlsson <patrik@cqure.net>" local base64 = require "base64" local bin = require "bin" local match = require "match" local nmap = require "nmap" local stdnse = require "stdnse" local table = require "table" local openssl = stdnse.silent_require...
gpl-3.0
zynjec/darkstar
scripts/zones/Bastok_Mines/npcs/Sieglinde.lua
12
1207
----------------------------------- -- Area: Bastok Mines -- NPC: Sieglinde -- Alchemy Synthesis Image Support ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Bastok_Mines/IDs"); ----------------------------------- function ...
gpl-3.0
Joker-development/Joker_development
plugins/ar-boomzain.lua
6
2218
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY jOker ▀▄ ▄▀ ▀▄ ▄▀ BY joker (@fuck_8_you) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY joker ▀▄ ▄▀ ▀▄ ▄▀ broadcast : كلمه ضد الجيوش ▀▄ ▄▀ ▀▄▀...
gpl-2.0
hedgewars/hw
share/hedgewars/Data/Missions/Scenario/User_Mission_-_Teamwork_2.lua
1
3409
-- Teamwork 2 -- Original scenario by Arkhnen HedgewarsScriptLoad("Scripts/Locale.lua") local player = nil local hlayer = nil local enemy = nil local Pack = nil local help = false local GameOver = false local playerTeamName function onGameInit() Seed = 0 GameFlags = gfDisableWind TurnTime = MAX_TU...
gpl-2.0
Colettechan/darkstar
scripts/zones/Mount_Zhayolm/mobs/Brass_Borer.lua
29
1544
----------------------------------- -- Area: Mount Zhayolm -- MOB: Brass Borer ----------------------------------- require("scripts/globals/status"); -- TODO: Damage resistances in streched and curled stances. Halting movement during stance change. ----------------------------------- -- OnMobSpawn Action -----------...
gpl-3.0
zynjec/darkstar
scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua
12
1300
----------------------------------- -- Area: Port Windurst -- NPC: Erabu-Fumulubu -- Type: Fishing Synthesis Image Support -- !pos -178.900 -2.789 76.200 240 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Port_Windurst/IDs")...
gpl-3.0
Vadavim/jsr-darkstar
scripts/zones/East_Ronfaure/npcs/Logging_Point.lua
17
1085
----------------------------------- -- Area: East Ronfaure -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/East_Ronfaure/TextIDs"); ---------------...
gpl-3.0
Colettechan/darkstar
scripts/zones/Caedarva_Mire/npcs/Nuimahn.lua
13
1386
----------------------------------- -- Area: Caedarva Mire -- NPC: Nuimahn -- Type: Alzadaal Undersea Ruins -- @pos -380 0 -381 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts...
gpl-3.0
Colettechan/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Mikhe_Aryohcha.lua
13
1139
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Mikhe Aryohcha -- Type: Standard NPC -- @zone: 94 -- @pos -56.645 -4.5 13.014 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil...
gpl-3.0
zynjec/darkstar
scripts/zones/Castle_Zvahl_Baileys/IDs.lua
9
1725
----------------------------------- -- Area: Castle_Zvahl_Baileys ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.CASTLE_ZVAHL_BAILEYS] = { text = { CONQUEST_BASE = 0, -- Tallying conquest results... ...
gpl-3.0
zynjec/darkstar
scripts/globals/weaponskills/blade_ei.lua
10
1231
----------------------------------- -- Blade Ei -- Katana weapon skill -- Skill Level: 175 -- Delivers a dark elemental attack. Damage varies with TP. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: Dark -- Modifiers: STR:30% INT:30% -- 100%TP 200%TP 300%TP -- 1.00 1.50 ...
gpl-3.0
runswithd6s/awesome-configs
rc.lua
1
13849
-- Standard awesome library require("awful") require("awful.autofocus") require("awful.rules") -- Theme handling library require("beautiful") -- Notification library require("naughty") -- Load Debian menu entries require("debian.menu") -- {{{ Error handling -- Check if awesome encountered an error during startup and ...
gpl-3.0
PhearZero/phear-scanner
bin/nmap-openshift/nselib/data/psexec/drives.lua
8
1334
---This configuration file pulls info about a given harddrive -- Any variable in the 'config' table in smb-psexec.nse can be overriden in the -- 'overrides' table. Most of them are not really recommended, such as the host, -- key, etc. overrides = {} --overrides.timeout = 40 modules = {} local mod mod = {} mod.uploa...
mit
snail23/snailui
elements/bg_score.lua
1
16524
-- -- Copyright (C) 2012-2016 Snail <https://github.com/snail23/snailui/> -- -- 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 later ...
gpl-2.0
gpedro/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
alexandergall/snabbswitch
lib/luajit/testsuite/test/sysdep/ffi_lib_z.lua
6
3348
local ffi = require("ffi") local compress, uncompress if ffi.abi("win") then ffi.cdef[[ int RtlGetCompressionWorkSpaceSize(uint16_t fmt, unsigned long *wsbufsz, unsigned long *wsfragsz); int RtlCompressBuffer(uint16_t fmt, const uint8_t *src, unsigned long srclen, uint8_t *dst, unsigned long dstsz,...
apache-2.0
infernal1200/infernall
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
alastair-robertson/awesome
tests/test-urgent.lua
3
3653
--- Tests for urgent property. local awful = require("awful") local runner = require("_runner") -- Some basic assertion that the tag is not marked "urgent" already. assert(awful.tag.getproperty(awful.screen.focused().tags[2], "urgent") == nil) -- Setup signal handler which should be called. -- TODO: generalize and ...
gpl-2.0
kiarash14/tg5
plugins/id.lua
12
7187
do local function scan_name(extra, success, result) local founds = {} for k,member in pairs(result.members) do if extra.name then gp_member = extra.name fields = {'first_name', 'last_name', 'print_name'} elseif extra.user then gp_member = string.gsub(extra.user, '@', '') ...
gpl-2.0
mortezamosavy999/monster
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
pablo93/TrinityCore
Data/Interface/FrameXML/CastingBarFrame.lua
1
7953
CASTING_BAR_ALPHA_STEP = 0.05; CASTING_BAR_FLASH_STEP = 0.2; CASTING_BAR_HOLD_TIME = 1; function CastingBarFrame_OnLoad (self, unit, showTradeSkills) self:RegisterEvent("UNIT_SPELLCAST_START"); self:RegisterEvent("UNIT_SPELLCAST_STOP"); self:RegisterEvent("UNIT_SPELLCAST_FAILED"); self:RegisterEvent("UNIT_SPELLCAS...
gpl-2.0
Canaan-Creative/luci
libs/lucid-rpc/luasrc/lucid/rpc/server.lua
52
8197
--[[ LuCI - Lua Development Framework Copyright 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]] local ip...
apache-2.0
mcanthony/bgfx
scripts/example-common.lua
6
1943
-- -- Copyright 2010-2015 Branimir Karadzic. All rights reserved. -- License: http://www.opensource.org/licenses/BSD-2-Clause -- project ("example-common") uuid ("21cc0e26-bf62-11e2-a01e-0291bd4c8125") kind "StaticLib" includedirs { path.join(BX_DIR, "include"), path.join(BGFX_DIR, "include"), path.join(BGFX...
bsd-2-clause
xponen/Zero-K
effects/debris.lua
25
2772
-- debris1 return { ["debris1"] = { dirt = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = true, properties = { airdrag = 0.97, colormap = ...
gpl-2.0
k-yak/arrow
arrow/archer.lua
1
3196
CLASS_archer = Core.class(Sprite) function CLASS_archer:init(world, physics) self.pack = TexturePack.new("frioArcher.txt", "frioArcher.png") -- init texture animation loader and read animations... self.archerLoader = CTNTAnimatorLoader.new() -- read animation infos from file "frioArcher.tan" use texture pack d...
mit
mumingv/redis
deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
bsd-3-clause
alastair-robertson/awesome
lib/menubar/init.lua
1
14460
--------------------------------------------------------------------------- --- Menubar module, which aims to provide a freedesktop menu alternative -- -- List of menubar keybindings: -- --- -- -- * "Left" | "C-j" select an item on the left -- * "Right" | "C-k" select an item on the right -- * "Backspace" ex...
gpl-2.0
Vermeille/kong
spec/03-plugins/05-galileo/01-alf_spec.lua
2
23004
_G.ngx = require "spec.03-plugins.05-galileo.ngx" -- asserts if an array contains a given table local function contains(state, args) local entry, t = unpack(args) for i = 1, #t do if pcall(assert.same, entry, t[i]) then return true end end return false end local say = require "say" local luasser...
apache-2.0
DreamHacks/dreamdota
Plugins/src/core/constants.lua
1
15372
-- JASS CONSTANTS ID -- JASS_MAX_ARRAY_SIZE = Handle(8192) PLAYER_NEUTRAL_PASSIVE = Handle(15) PLAYER_NEUTRAL_AGGRESSIVE = Handle(12) PLAYER_COLOR_RED = Handle(0) PLAYER_COLOR_BLUE = Handle(1) PLAYER_COLOR_CYAN = Handle(2) PLAYER_COLOR_PURPLE = Handle(3) PLAYER_COLOR_YELLOW = Handle(4) PLAYER_COLOR_ORANGE = Handle(5) P...
mit
nightrune/wireshark
test/lua/nstime.lua
32
5569
-- test script for various Lua functions -- use with dhcp.pcap in test/captures directory ------------- general test helper funcs ------------ local FRAME = "frame" local OTHER = "other" local packet_counts = {} local function incPktCount(name) if not packet_counts[name] then packet_counts[name] = 1 ...
gpl-2.0
SirNate0/Urho3D
bin/Data/LuaScripts/04_StaticScene.lua
24
7000
-- Static 3D scene example. -- This sample demonstrates: -- - Creating a 3D scene with static content -- - Displaying the scene using the Renderer subsystem -- - Handling keyboard and mouse input to move a freelook camera require "LuaScripts/Utilities/Sample" function Start() -- Execute the c...
mit
DavidIngraham/ardupilot
Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua
96
29666
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
Vermeille/kong
kong/plugins/http-log/handler.lua
4
3188
local basic_serializer = require "kong.plugins.log-serializers.basic" local BasePlugin = require "kong.plugins.base_plugin" local cjson = require "cjson" local url = require "socket.url" local HttpLogHandler = BasePlugin:extend() HttpLogHandler.PRIORITY = 1 local HTTPS = "https" -- Generates http payload . -- @para...
apache-2.0
pokorj18/vlc
share/lua/intf/http.lua
9
10566
--[==========================================================================[ http.lua: HTTP interface module for VLC --[==========================================================================[ Copyright (C) 2007-2009 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> This progra...
gpl-2.0
pablo93/TrinityCore
Data/Interface/FrameXML/RestrictedExecution.lua
1
25213
-- RestrictedExecution.lua (Part of the new Secure Headers implementation) -- -- This contains the necessary (and sufficient) code to support -- 'restricted execution' for code provided via attributes, intended -- for use in the secure header implementations. It provides a fairly -- isolated execution environment and i...
gpl-2.0
alexandergall/snabbswitch
src/program/lisper/dev-env-docker/l2tp.lua
28
7462
#!snabb/src/snabb snsh io.stdout:setvbuf'no' io.stderr:setvbuf'no' --L2TP IP-over-IPv6 tunnelling program for testing. local function assert(v, ...) if v then return v, ... end error(tostring((...)), 2) end local ffi = require'ffi' local S = require'syscall' local C = ffi.C local htons = require'...
apache-2.0
MRAHS/UBTEST
plugins/Quran.lua
20
1243
do umbrella = "http://umbrella.shayan-soft.ir/quran/" -- database -- get sound of sura local function read_sura(chat_id, target) local readq = http.request(umbrella.."Sura"..target..".mp3") local url = umbrella.."Sura"..target..".mp3" local file = download_to_file(url) local cb_extra = {file_path=file} return sen...
gpl-2.0
Elanis/SciFi-Pack-Addon-Gamemode
gamemodes/scifipack/entities/weapons/gmod_tool/stools/colour.lua
2
2007
TOOL.Category = "Construction" TOOL.Name = "Couleur" TOOL.Command = nil TOOL.ConfigName = nil TOOL.ClientConVar[ "r" ] = 255 TOOL.ClientConVar[ "g" ] = 0 TOOL.ClientConVar[ "b" ] = 255 TOOL.ClientConVar[ "a" ] = 255 TOOL.ClientConVar[ "mode" ] = 0 TOOL.ClientConVar[ "fx" ] = 0 local function SetColour( Player,...
gpl-2.0
xuejian1354/barrier_breaker
feeds/luci/modules/base/luasrc/i18n.lua
77
3182
--[[ LuCI - Internationalisation Description: A very minimalistic but yet effective internationalisation module FileId: $Id$ License: Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You ...
gpl-2.0
Vermeille/kong
kong/plugins/response-ratelimiting/dao/postgres.lua
4
1591
local PostgresDB = require "kong.dao.postgres_db" local timestamp = require "kong.tools.timestamp" local fmt = string.format local concat = table.concat local _M = PostgresDB:extend() _M.table = "response_ratelimiting_metrics" _M.schema = require("kong.plugins.response-ratelimiting.schema") function _M:increment(api...
apache-2.0
pablo93/TrinityCore
Data/Interface/FrameXML/ArenaRegistrarFrame.lua
1
7296
MAX_TEAM_EMBLEMS = 102; MAX_TEAM_BORDERS = 6; function ArenaRegistrar_OnLoad (self) self:RegisterEvent("PETITION_VENDOR_SHOW"); self:RegisterEvent("PETITION_VENDOR_CLOSED"); self:RegisterEvent("PETITION_VENDOR_UPDATE"); end function ArenaRegistrar_OnEvent (self, event, ...) if ( event == "PETITION_VENDOR_SHOW" ) ...
gpl-2.0
pavanky/arrayfire-lua
examples/machine_learning/softmax_regression.lua
4
5883
--[[ /******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *****************************************...
bsd-3-clause
nwf/nodemcu-firmware
lua_modules/gossip/gossip.lua
6
7585
-- Gossip protocol implementation -- https://github.com/alexandruantochi/ local gossip = {}; local constants = {}; local utils = {}; local network = {}; local state = {}; -- Utils utils.contains = function(list, element) for k in pairs(list) do if list[k] == element then return true; end end return false; end ut...
mit
Elanis/SciFi-Pack-Addon-Gamemode
lua/entities/b5_asimov/cl_init.lua
1
1208
include('shared.lua') function ViewPoint( ply, origin, angles, fov ) local jump=LocalPlayer():GetNetworkedEntity("Ship",LocalPlayer()) local dist= -300 if LocalPlayer():GetNetworkedBool("Driving",false) and jump~=LocalPlayer() and jump:IsValid() then local view = {} view.origin = jump:GetPos()+Vector( -50, 0...
gpl-2.0
phyorat/Pktgen-user-payload
examples/pktgen-v3.1.0/lib/archive/lua-5.3.0/Makefile.lua
87
3273
# Makefile for installing Lua # See doc/readme.html for installation and customization instructions. # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT ======================= # Your platform. See PLATS for possible values. PLAT= none # Where to install. The installation starts in the src and doc directories, #...
gpl-2.0
ghhgf/hac
plugins/ar-lock-fwd.lua
2
1702
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJADHUSSIEN (@TH3_Evil) ▀▄ ▄▀ ▀▄ ▄ JUST WRITED BY SAJJAD HUSSIEN ▀▄ ▄▀ ▀▄ ▄▀ ANTI FWD : منع اعاده توجيه ▀▄ ▄▀ ▀▄▀...
gpl-2.0
alexandergall/snabbswitch
src/program/lwaftr/check/check.lua
9
2207
module(..., package.seeall) local lib = require("core.lib") local setup = require("program.lwaftr.setup") local util = require("program.lwaftr.check.util") local engine = require("core.app") local counters = require("program.lwaftr.counters") local function show_usage(code) print(require("program.lwaftr.check.READ...
apache-2.0
xuejian1354/barrier_breaker
feeds/luci/modules/base/luasrc/util.lua
81
21858
--[[ LuCI - Utility library Description: Several common useful Lua functions License: Copyright 2008 Steven Barth <steven@midlink.org> 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....
gpl-2.0
xponen/Zero-K
effects/corpun.lua
25
1956
-- corpun_shockwave return { ["corpun_shockwave"] = { clouds0 = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, underwater = 0, water = false, properties = { aird...
gpl-2.0