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
Invertika/data
scripts/maps/ow-n0007-p0021-o0000.lua
1
1400
---------------------------------------------------------------------------------- -- Map File -- -- -- -- In dieser Datei stehen die entsprechenden externen NPC's, Trigger un...
gpl-3.0
HFRBOT/-
help.lua
1
4186
do local function run(msg,matches) if is_momod(msg) and matches[1]== "الاوامر" then local sajody = [[🔴افضل بوت لحماية الكروبات🔴 ┌─────────┐ ┇ٌٖ بّــะُ้ৡ ﮩ๋͜‏ٖ❁ٱ﴿l﴾ﮩٰٖﮩٰ๋ـ❁رـكوbot └─────────┘ 🔵️ اوامر استخدام البوت↙️↙️ ➖➖➖➖➖➖🔹 ☑️ #باي : مغادرة🔚👋 💂 #admins :...
gpl-2.0
zjohn4/PD2-lua-src
core/lib/utils/dev/editor/ews_classes/editsettings.lua
1
5271
core:import( "CoreEditorUtils" ) core:import( "CoreEws" ) EditUnitSettings = EditUnitSettings or class( EditUnitBase ) function EditUnitSettings:init( editor ) local panel, sizer = (editor or managers.editor):add_unit_edit_page( { name = "Settings", class = self } ) local horizontal_sizer = EWS:BoxSizer( "HORIZONT...
gpl-2.0
PaulosV/ntopng
scripts/lua/about.lua
5
5816
-- -- (C) 2013-15 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('text/html; charset=iso-8859-1') ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc") active_page = "about" dofile(dirs.installdir .. "/scr...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Kazham-Jeuno_Airship/TextIDs.lua
5
1080
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6386; -- Obtained: <item> GIL_OBTAINED = 6387; -- Obtained <number> gil KEYITEM_OBTAINED = 6389; -- Obtain...
gpl-3.0
jagu-sayan/42Premake
src/base/string.lua
31
1025
-- -- string.lua -- Additions to Lua's built-in string functions. -- Copyright (c) 2002-2008 Jason Perkins and the Premake project -- -- -- Returns an array of strings, each of which is a substring of s -- formed by splitting on boundaries formed by `pattern`. -- function string.explode(s, pattern, plain) if (pa...
bsd-3-clause
drhelius/bstone-ios
dependencies/SDL-1bc5372ee27f/premake/projects/testshader.lua
7
1182
-- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the use of this software. -- -- Permission is granted to anyone to use this software for an...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Southern_San_dOria/npcs/Shilah.lua
5
1779
----------------------------------- -- Area: Southern San dOria -- NPC: Shilah -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); require...
gpl-3.0
LuaDist2/dromozoa-chunk
dromozoa/chunk/ieee754.lua
3
3767
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-chunk. -- -- dromozoa-chunk 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...
gpl-3.0
mandersan/premake-core
modules/vstudio/tests/cs2005/test_debug_props.lua
14
2053
-- -- tests/actions/vstudio/cs2005/test_debug_props.lua -- Test debugging and optimization flags block of a Visual Studio 2005+ C# project. -- Copyright (c) 2012-2013 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("vstudio_cs2005_debug_props") local cs2005 = p.vstudio.cs2005 ...
bsd-3-clause
Ninjistix/darkstar
scripts/globals/items/slice_of_roast_mutton.lua
3
1031
----------------------------------------- -- ID: 4437 -- Item: slice_of_roast_mutton -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Windurst_Walls/TextIDs.lua
5
1799
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6539; -- You cannot obtain the <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6543; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED =...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Port_Jeuno/npcs/Zedduva.lua
5
1029
----------------------------------- -- Area: Port Jeuno -- NPC: Zedduva -- @zone 246 -- !pos -61 7 -54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scr...
gpl-3.0
DGA-MI-SSI/YaCo
deps/swig-3.0.7/Examples/test-suite/lua/enums_runme.lua
6
1077
require("import") -- the import fn import("enums") -- import lib -- catch "undefined" global variables local env = _ENV -- Lua 5.2 if not env then env = getfenv () end -- Lua 5.1 setmetatable(env, {__index=function (t,i) error("undefined global variable `"..i.."'",2) end}) -- check values assert(enums.CSP_ITERATION_F...
gpl-3.0
arca1n/cocos2d-x_nextpeer_integration
samples/Lua/TestLua/Resources/luaScript/EffectsTest/EffectsTest.lua
4
11123
require "luaScript/EffectsTest/EffectsName" local ActionIdx = -1 local size = cc.Director:getInstance():getWinSize() local kTagTextLayer = 1 local kTagBackground = 1 local kTagLabel = 2 local MAX_LAYER = 22 local testLayer = nil local titleLabel = nil local entry = nil local function checkAnim(dt) ...
mit
Ninjistix/darkstar
scripts/zones/Windurst_Waters/npcs/Baren-Moren.lua
5
7824
----------------------------------- -- Area: Windurst Waters -- NPC: Baren-Moren -- Starts and Finishes Quest: Hat in Hand -- !pos -66 -3 -148 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_Water...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/caedarva_frog.lua
3
1119
----------------------------------------- -- ID: 5465 -- Item: Caedarva Frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
shahin7aj/shxt
lang/italian_lang.lua
32
20741
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Labyrinth_of_Onzozo/npcs/qm2.lua
4
1255
----------------------------------- -- Area: Labyrinth of Onzozo -- NPC: ??? (qm2) -- Involved in Quest: Yomi Okuri -- !pos -176 10 -60 213 ----------------------------------- package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); req...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/crepe_paysanne.lua
3
1349
----------------------------------------- -- ID: 5772 -- Item: crepe_paysanne -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +10% (cap 30) -- STR +2 -- VIT +1 -- Magic Accuracy +15 -- Magic Defense +4 -- hHP +3 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
TEAMvirus/ViRuS
plugins/Admin.lua
15
10512
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
Ninjistix/darkstar
scripts/zones/Dragons_Aery/mobs/Nidhogg.lua
4
1926
----------------------------------- -- Area: Dragons Aery -- HNM: Nidhogg ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- function onMobInitialize(mob) end; function onMobSpawn(mob) ...
gpl-3.0
arca1n/cocos2d-x_nextpeer_integration
samples/Lua/TestLua/Resources/luaScript/TileMapTest/TileMapTest.lua
4
40984
local size = cc.Director:getInstance():getWinSize() local scheduler = cc.Director:getInstance():getScheduler() local kTagTileMap = 1 local function createTileDemoLayer(title, subtitle) local layer = cc.Layer:create() Helper.initWithLayer(layer) local titleStr = title == nil and "No title" or title lo...
mit
Ninjistix/darkstar
scripts/zones/Southern_San_dOria/npcs/Camereine.lua
3
2061
----------------------------------- -- Area: Southern San d'Oria -- NPC: Camereine -- Type: Chocobo Renter -- !pos -8 1 -100 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/gl...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Chateau_dOraguille/npcs/_6h1.lua
5
2013
----------------------------------- -- Area: Chateau d'Oraguille -- Door: Prince Regent's Rm -- Starts and Finishes Quest: Prelude of Black and White (Start), Pieuje's Decision (Start) -- !pos -37 -3 31 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; -----------...
gpl-3.0
bmddota/ContainersPlayground
game/dota_addons/containersplayground/scripts/vscripts/libraries/modifiers/modifier_animation_translate_permanent.lua
26
10553
modifier_animation_translate_permanent = class({}) local _CODE_TO_ANIMATION_TRANSLATE = { [0]= "loadout", [1]= "split_shot", [2]= "chemical_rage", [3]= "agedspirit", [4]= "aggressive", [5]= "injured", [6]= "ancient_armor", [7]= "anvil", [8]= "arcana", [9]= "techies_arcana", [10]= "fast", [11]= ...
apache-2.0
soonyee91/castle_defenders
game/dota_addons/castle_defenders/scripts/vscripts/internal/eventtest.lua
21
59645
function GameMode:StartEventTest() ListenToGameEvent("team_info", Dynamic_Wrap(GameMode, 'On_team_info'), self) ListenToGameEvent("team_score", Dynamic_Wrap(GameMode, 'On_team_score'), self) ListenToGameEvent("teamplay_broadcast_audio", Dynamic_Wrap(GameMode, 'On_teamplay_broadcast_audio'), self) ListenToGameEvent(...
apache-2.0
bmddota/ContainersPlayground
game/dota_addons/containersplayground/scripts/vscripts/internal/eventtest.lua
21
59645
function GameMode:StartEventTest() ListenToGameEvent("team_info", Dynamic_Wrap(GameMode, 'On_team_info'), self) ListenToGameEvent("team_score", Dynamic_Wrap(GameMode, 'On_team_score'), self) ListenToGameEvent("teamplay_broadcast_audio", Dynamic_Wrap(GameMode, 'On_teamplay_broadcast_audio'), self) ListenToGameEvent(...
apache-2.0
Ninjistix/darkstar
scripts/globals/items/bowl_of_emerald_soup.lua
3
1122
----------------------------------------- -- ID: 4327 -- Item: Bowl of Emerald Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -1 -- Health Regen While Healing 3 -- Ranged ACC 6 ----------------------------------------- require("scripts/globals/status"); -------...
gpl-3.0
fjz13/Medusa
Medusa/Script/Medusa/Core/Event.lua
3
1112
local _M = globalclass(...); require("Delegate") function _M:ctor() self.handlers = { } self.disableCollectOnFire = nil; local metatable = getmetatable(self); metatable.__call = self.Invoke; end function _M:IsEmpty() return #self.handlers == 0; end function _M:Add(func, ...) local del = Delegate.new(func, .....
mit
Ninjistix/darkstar
scripts/globals/items/meatloaf.lua
3
1119
----------------------------------------- -- ID: 5689 -- Item: Meatloaf -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Strength 6 -- Agility 2 -- Intelligence -3 -- Attack 18% Cap 90 ----------------------------------------- require("scripts/globals/status"); -----------------------------...
gpl-3.0
Ninjistix/darkstar
scripts/globals/common.lua
35
2855
----------------------------------- -- -- ----------------------------------- ----------------------------------- -- switch ----------------------------------- function switch(c) local swtbl = { casevar = c, caseof = function (self,code) local f if (self.casevar) then f = cod...
gpl-3.0
abosalah22/zak
plugins/ar-me.lua
2
2232
--[[ $ :) -- - ( #MASCO_ماسكو ) - -- $ :) -- - ( @IQ_ABS ) - -- $ :) --Channel-( @DEV_PROX )-- $ :) ]]-- do local function iq_abs(msg, matches) if is_sudo(msg) then local text = "أنـت مـطـور الـبـؤت 🕵🔧".."\n".."🆔 - أيـۧديـۧک : "..msg.from.id.."\n".."🏧- أســمـك : "..msg.from.first_name.."\n".."�...
gpl-2.0
EliasOenal/blobby
data/scripts/old/gintonicV8.lua
4
8451
--Gin Tonic v8 - No Comments, sorry :P CT_ServeSelf = { 152, 163, 180, 195, 205, 240 } CT_ServeOpp = { 140, 200, 240 } CT_ServeIndex = 0 CT_Tolerance = 5 CT_Action = "" CT_ShotDecision = 0 CT_NextGround = 9999 CT_LastTouches = 9999 CT_LastHeight = 0 CT_SkipNextBlock = 0 CT_WaitCounter = 0 CT_WaitName = "" CT_WaitMove...
gpl-2.0
Ninjistix/darkstar
scripts/globals/weaponskills/guillotine.lua
3
1989
----------------------------------- -- Guillotine -- Scythe weapon skill -- Skill level: 200 -- Delivers a four-hit attack. Duration varies with TP. -- Modifiers: STR:25% ; MND:25% -- 100%TP 200%TP 300%TP -- 0.875 0.875 0.875 ----------------------------------- require("scripts/globals/status"); require("...
gpl-3.0
dinodeck/ninety_nine_days_of_dev
007_map_cure/code/MagicMenuState.lua
2
6717
MagicMenuState = {} MagicMenuState.__index = MagicMenuState function MagicMenuState:Create(parent) local this = { mParent = parent, mStack = parent.mStack, mStateMachine = parent.mStateMachine, mScrollbar = Scrollbar:Create(Texture.Find("scrollbar.png"), 184), ...
mit
Ninjistix/darkstar
scripts/zones/Davoi/npcs/Village_Well.lua
5
1653
----------------------------------- -- Area: Davoi -- NPC: Village Well -- Involved in Quest: Under Oath ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/...
gpl-3.0
Ninjistix/darkstar
scripts/globals/spells/bluemagic/light_of_penance.lua
4
2359
----------------------------------------- -- Spell: Light of Penance -- Reduces an enemy's TP. Additional effect: Blindness and "Bind" -- Spell cost: 53 MP -- Monster Type: Beastmen -- Spell Type: Magical (Light) -- Blue Magic Points: 5 -- Stat Bonus: CHR+1, HP+15 -- Level: 58 -- Casting Time: 3 seconds -- Recast Time:...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/plate_of_dorado_sushi_+1.lua
3
1433
----------------------------------------- -- ID: 5179 -- Item: plate_of_dorado_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 5 -- Accuracy % 16 -- Accuracy Cap 76 -- Ranged ACC % 16 -- Ranged ACC Cap 76 -- Sleep Resist 2 -- Enmity 5 ------------------------------------...
gpl-3.0
moksha11/likwid
src/applications/likwid-setFrequencies.lua
2
9663
#!<PREFIX>/bin/likwid-lua --[[ * ======================================================================================= * * Filename: likwid-setFrequencies.lua * * Description: A application to set the CPU frequency of CPU cores and domains. * * Version: <VERSION> * Released: <DATE> ...
gpl-3.0
ehrenbrav/FCEUX_Learning_Environment
output/luaScripts/SMB-HitBoxes.lua
9
8892
-- Super Mario Bros. hitbox script -- Super Mario Bros (JU) (PRG0) [!].nes -- Written by qFox -- 28 july 2008 -- This script shows hitboxes of anything that has them -- It also displays the found hitboxes in a output window with iup -- Includes a toggle to automatically kill all enemies within 50px range of ma...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Monastic_Cavern/npcs/qm1.lua
5
1085
----------------------------------- -- Area: Monastic Cavern -- NPC: ??? -- Used In Quest: Whence Blows the Wind -- !pos 168 -1 -22 150 ----------------------------------- package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
mt246/mt24679
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
Ninjistix/darkstar
scripts/zones/Arrapago_Reef/mobs/Zareehkl_the_Jubilant.lua
6
1269
----------------------------------- -- Area: Arrapago Reef -- NPC: Zareehkl the Jubilant ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onMobInitialize(mob) end; function onMobSpawn(mob) end; function onMobFight(mob, target) local swapTimer = ...
gpl-3.0
Ninjistix/darkstar
scripts/globals/spells/flare_ii.lua
4
1259
----------------------------------------- -- Spell: Flare II -- Deals fire damage to an enemy and lowers its resistance against water. ----------------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ---------------...
gpl-3.0
Ninjistix/darkstar
scripts/zones/East_Ronfaure/npcs/Cheval_River.lua
5
1340
----------------------------------- -- Area: East Ronfaure -- NPC: Cheval_River -- !pos 223 -58 426 101 -- Involved in Quest: Waters of Cheval ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Bastok_Markets_[S]/TextIDs.lua
5
1233
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6386; -- Obtained: <item> GIL_OBTAINED = 6387; -- Obtained <number> gil KEYITEM_OBTAINED = 6389; -...
gpl-3.0
dinodeck/ninety_nine_days_of_dev
001_cancel_textboxes/code/XPSummaryState.lua
4
5851
XPSummaryState = {} XPSummaryState.__index = XPSummaryState function XPSummaryState:Create(stack, party, combatData) local this = { mStack = stack, mCombatData = combatData, mLayout = Layout:Create(), mXP = combatData.xp, mXPPerSec = 5.0, mXPCounter = 0, m...
mit
Ninjistix/darkstar
scripts/zones/Apollyon/bcnms/nw_apollyon.lua
35
1116
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[NW_Apollyon]UniqueI...
gpl-3.0
ccyphers/kong
kong/dao/migrations/postgres.lua
2
11719
return { { name = "2015-01-12-175310_skeleton", up = function(db, properties) return db:queries [[ CREATE TABLE IF NOT EXISTS schema_migrations( id text PRIMARY KEY, migrations varchar(100)[] ); ]] end, down = [[ DROP TABLE schema_migrations; ]...
apache-2.0
Ninjistix/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm2.lua
5
2227
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Exits) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/titles"); req...
gpl-3.0
premake/premake-4.x
src/base/io.lua
12
1545
-- -- io.lua -- Additions to the I/O namespace. -- Copyright (c) 2008-2009 Jason Perkins and the Premake project -- -- -- Prepare to capture the output from all subsequent calls to io.printf(), -- used for automated testing of the generators. -- function io.capture() io.captured = '' end -- -- Returns the...
bsd-3-clause
labjack/I2C-AppNotes
LJM_Library/I2C_Abstraction_Layers/lua/Lua_I2C_Utils .7.lua
2
3471
--Define the I2C Utility and some I2C Helper functions I2C_Utils= {} function I2C_Utils.configure(self, sda, scl, speed, options, slave, debug)--Returns nothing self.sda = sda --FIO0:7 = 0:7, EIO0:7 = 8:15, CIO0:7 = 16:23 self.scl = scl --FIO0:7 = 0:7, EIO0:7 = 8:15, CIO0:7 = 16:23 self.speed = speed ----0=fastes...
mit
Ninjistix/darkstar
scripts/globals/items/dish_of_spaghetti_melanzane_+1.lua
3
1117
----------------------------------------- -- ID: 5214 -- Item: dish_of_spaghetti_melanzane_+1 -- Food Effect: 1Hr, All Races ----------------------------------------- -- HP % 25 (cap 105) -- Vitality 2 -- Store TP 6 -- Resist sleep 10 ----------------------------------------- require("scripts/globals/status"); --------...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Valkurm_Dunes/npcs/Tebubu_WW.lua
3
2959
----------------------------------- -- Area: Valkurm Dunes -- NPC: Tebubu, W.W. -- Border Conquest Guards -- !pos 908.245 -1.171 -411.504 103 ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Kazham/npcs/Khifo_Ryuhkowa.lua
5
1314
----------------------------------- -- Area: Kazham -- NPC: Khifo Ryuhkowa -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Kazham/TextIDs"); -------------------...
gpl-3.0
NeCarbon/vice-players
Vendor/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/doit.lua
7
1776
-- Generate binding code -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- Last update: Apr 2003 -- $Id: doit.lua 1141 2006-05-18 23:58:45Z lindquist $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Temenos/bcnms/temenos_eastern_tower.lua
35
1553
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) if (GetMobAction(16928844) > 0) then DespawnMob(16928844);end if (GetMobAction(16928853) > 0) then DespawnMob(16928853);en...
gpl-3.0
Xagul/forgottenserver
data/talkactions/scripts/info.lua
24
1561
function onSay(player, words, param) if not player:getGroup():getAccess() then return true end local target = Player(param) if not target then player:sendCancelMessage("Player not found.") return false end if target:getAccountType() > player:getAccountType() then player:sendCancelMessage("You can not ge...
gpl-2.0
jacklee0810/redis-3.0-annotated
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
Ninjistix/darkstar
scripts/zones/Crawlers_Nest/npcs/qm12.lua
5
1791
----------------------------------- -- Area: Crawlers' Nest -- NPC: qm12 (??? - Exoray Mold Crumbs) -- Involved in Quest: In Defiant Challenge -- !pos 99.326 -0.126 -188.869 197 ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
fjz13/Medusa
Test/Test/Data/Script/Medusa/debugger.lua
5
132907
------------------------------------------------------------------------------- -- Copyright (c) 2011-2012 Sierra Wireless and others. -- All rights reserved. This program and the accompanying materials -- are made available under the terms of the Eclipse Public License v1.0 -- which accompanies this distribution, and ...
mit
ccyphers/kong
spec/02-integration/05-proxy/06-upstream_timeouts_spec.lua
3
2604
local helpers = require "spec.helpers" local Factory = require "kong.dao.factory" local dao_helpers = require "spec.02-integration.02-dao.helpers" local factory local function insert_apis(arr) if type(arr) ~= "table" then return error("expected arg #1 to be a table", 2) end factory:truncate_tables() f...
apache-2.0
Ninjistix/darkstar
scripts/globals/spells/katon_ni.lua
7
1074
----------------------------------------- -- Spell: Katon: Ni -- Deals fire damage to an enemy and lowers its resistance against water. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast --------------...
gpl-3.0
malyutinegor/starsim
app/scripts/libs/ui/init.lua
1
9429
local ui = { elements = { } } local _NAME = (...) local hc = require(_NAME .. '.HC') ui.mouse = hc.circle(0, 0, 1) ui.mouse:moveTo(love.mouse.getPosition()) ui.draw = function(elements) if elements == nil then elements = { } end local args = ui.__pipeArray(elements) for name, element in pairs(args) do ...
gpl-3.0
DDDGamer/factorio-dz-softmod
modules/dev/__MODULE_NAME__.lua
1
5107
-- __MODULE_NAME__ Soft Module -- __Description__ -- Uses locale __MODULE_NAME__.cfg -- @usage require('modules/__folder__/__MODULE_NAME__') -- @usage local ModuleName = require('modules/__folder__/__MODULE_NAME__') -- ------------------------------------------------------- -- -- @author Denis Zholob (DDDGamer) -- gith...
gpl-3.0
eugenesan/openwrt-luci
applications/luci-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua
80
3431
--[[ Luci configuration model for statistics - collectd rrdtool plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 Licen...
apache-2.0
Ninjistix/darkstar
scripts/zones/Davoi/TextIDs.lua
5
1866
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6386; -- Obtained: <item>. GIL_OBTAINED = 6387; -- Obtained <number> gil. KEYITEM_OBTAINED = 6...
gpl-3.0
jamiepg1/MCServer
MCServer/Plugins/ChunkWorx/chunkworx_main.lua
8
3876
-- Global variables PLUGIN = {} -- Reference to own plugin object GENERATION_STATE = 0 OPERATION_CODE = 0 -- 0 = generation CX = 0 CZ = 0 CURRENT = 0 TOTAL = 0 -- AREA Variables AreaStartX = -10 AreaStartZ = -10 AreaEndX = 10 AreaEndZ = 10 -- RADIAL Variables RadialX = 0 RadialZ = 0 Radius = 10 -- WORLD WORK_WORLD =...
apache-2.0
Ninjistix/darkstar
scripts/zones/Mhaura/npcs/Lacia.lua
5
2941
----------------------------------- -- Area: Mhaura -- NPC: Lacia -- Starts Quest: Trial Size Trial By Lightning -- The "TrialSizeLightning_date" still needs to be set at the BCNM/Mob level to reflect defeat by the Avatar ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ------...
gpl-3.0
charles-l/LD29
conf.lua
1
2611
function love.conf(t) t.identity = nil -- The name of the save directory (string) t.version = "0.9.0" -- The LÖVE version this game was made for (string) t.console = false -- Attach a console (boolean, Windows only) t.window.title = "Ninja vs Worms" -- T...
mit
ogahara/esp8266-devkit
Espressif/examples/nodemcu-firmware/lua_examples/email/read_email_imap.lua
82
4543
--- -- Working Example: https://www.youtube.com/watch?v=PDxTR_KJLhc -- @author Miguel (AllAboutEE.com) -- @description This example will read the first email in your inbox using IMAP and -- display it through serial. The email server must provided unecrypted access. The code -- was tested with an AOL and Time Warner c...
gpl-3.0
HanduMan/trellet.civ
2.5/rules/default/data/default/default.lua
4
6369
-- Freeciv - Copyright (C) 2007 - The Freeciv Project -- 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, or (at your option) -- any later version. -- -- This program ...
gpl-2.0
lytedev/ld27
lib/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...
apache-2.0
amirb8/telepersian
plugins/all.lua
184
4452
do 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_name(user)..' ['..user_id..']' return u...
gpl-2.0
dinodeck/ninety_nine_days_of_dev
007_map_cure/code/ShopState.lua
4
13087
ShopState = {} ShopState.__index = ShopState function ShopState:Create(stack, world, def) def = def or {} local this this = { mStack = stack, mWorld = world, mDef = def, mPanels = {}, mName = def.name or "Shop", mActors = {}, mActorCharMap = {},...
mit
MoltenPlastic/nersis
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...
mit
bluetomatoes/ExploreTimelines
Code/1754France.lua
1
27806
W,H = display.contentWidth, display.contentHeight ---------------------------------------------------------------------------------- -- -- scenetemplate.lua -- ---------------------------------------------------------------------------------- local background, globe local storyboard = require( "storyboard" ) local sc...
mit
backburn/Probably
external/AceGUI-3.0/widgets/AceGUIWidget-Label.lua
46
4441
--[[----------------------------------------------------------------------------- Label Widget Displays text and optionally an icon. -------------------------------------------------------------------------------]] local Type, Version = "Label", 23 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or...
bsd-3-clause
mandersan/premake-core
binmodules/luasocket/test/testclnt.lua
20
22799
local socket = require"socket" host = host or "localhost" port = port or "8383" function printf(...) io.stderr:write(string.format(...)) end function pass(...) printf(...) io.stderr:write("\n") end function fail(...) io.stderr:write("ERROR: ") printf(...) io.stderr:write("!\n") os.exit()...
bsd-3-clause
ccyphers/kong
spec/fixtures/shm-stub.lua
11
1932
-- DICT Proxy -- https://github.com/bsm/fakengx/blob/master/fakengx.lua local SharedDict = {} local function set(data, key, value) data[key] = { value = value, info = {expired = false} } end function SharedDict:new() return setmetatable({data = {}}, {__index = self}) end function SharedDict:get(key) ...
apache-2.0
DEVll190ll/DEV_HR
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
amirb8/telepersian
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
Ninjistix/darkstar
scripts/globals/items/piece_of_akamochi_+1.lua
3
2363
----------------------------------------- -- ID: 6261 -- Item: akamochi+1 -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP + 30 (Pet & Master) -- Vitality + 4 (Pet & Master) -- Attack + 17% Cap: 54 (Pet & Master) Pet Cap: 81 -- Accuracy + 11% Cap: 54 (Pet & Master) Pet Cap: 81 ---------...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/marinara_pizza_+1.lua
3
1215
----------------------------------------- -- ID: 5744 -- Item: marinara_pizza +1 -- Food Effect: 4 hours, all Races ----------------------------------------- -- HP +25 -- Attack +21% (cap 55) -- Accuracy +11% (cap 58) -- Undead Killer ----------------------------------------- require("scripts/globals/status"); --------...
gpl-3.0
anonbyte/pvpgn
lua/include/timer.lua
1
1348
--[[ Copyright (C) 2014 HarpyWar (harpywar@gmail.com) This file is a part of the PvPGN Project http://pvpgn.pro Licensed under the same terms as Lua itself. ]]-- -- Global table with timers __timers = {} function timer_add(id, interval, callback) timer_object = timer:new(id, interval, callback) table.insert(_...
gpl-2.0
Ninjistix/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Dagger.lua
7
1144
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Dagger ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- function onMobEngaged(mob,target) if (mob:AnimationSub() == 3) then...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Lufaise_Meadows/mobs/Leshy.lua
3
1763
----------------------------------- -- Area: Lufaise Meadows -- MOB: Leshy ----------------------------------- function onMobRoam(mob) local Colorful_Leshy = 16875762; local Colorful_Leshy_PH = 0; local Colorful_Leshy_PH_Table = { 16875754, 16875755, 16875756, 16875757...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Southern_San_dOria/npcs/Ashene.lua
5
1918
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ashene -- Standard Merchant NPC -- @zone 230 -- !pos 70 0 61 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
aqasaeed/hesamm
plugins/ingroup.lua
10
39219
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostr...
gpl-2.0
Ninjistix/darkstar
scripts/globals/weaponskills/glory_slash.lua
2
1609
----------------------------------- -- Glory Slash -- Sword weapon skill -- Skill Level: NA -- Only avaliable during Campaign Battle while weilding Lex Talionis. -- Delivers and area attack that deals triple damage. Damage varies with TP. Additional effect Stun. -- Will stack with Sneak Attack. -- Aligned with the Flam...
gpl-3.0
mamad-ali/xilibot
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
Ninjistix/darkstar
scripts/globals/items/prized_seafood_stewpot.lua
3
1687
----------------------------------------- -- ID: 5240 -- Item: Prized Seafood Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 100 -- MP +20 -- Dexterity 2 -- Vitality 2 -- Agility 2 -- Mind 2 -- HP Recovered while healing 9 -- MP Recovered while he...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Waughroon_Shrine/bcnms/up_in_arms.lua
5
1811
----------------------------------- -- Area: Waughroon_Shrine -- Name: up in arms -- BCNM60 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zone...
gpl-3.0
fjz13/Medusa
Test/Test/Dev/Resource/Script/Medusa/Engine/Node/Scene/ISceneExtend.lua
3
1537
local _M = { } function _M.Push(selfScene, className, flags, ...) className = className or ""; flags = flags or 0; local native = nil; local scriptObject = nil; if type(className) == "table" then return _M.PushEx(selfScene, "", "", className, flags, ...); else if (FileSystem.ExistsLua(className)) then r...
mit
jamiepg1/MCServer
lib/tolua++/src/bin/lua/code.lua
42
2520
-- tolua: code class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1999 -- $Id: $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements, o...
apache-2.0
Ninjistix/darkstar
scripts/globals/items/bean_daifuku.lua
3
1842
----------------------------------------- -- ID: 6341 -- Item: bean_daifuku -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +20 -- VIT +3 -- Accuracy +10% (cap 50) -- Ranged Accuracy +10% (cap 50) -- Pet: -- HP +20 -- VIT +3 -- Accuracy +10% (cap 75) -- Ranged Accuracy +10% (cap 75) --...
gpl-3.0
Ninjistix/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Chest.lua
5
3707
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Treasure Chest -- @zone 176 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/dish_of_spaghetti_carbonara_+1.lua
3
1568
----------------------------------------- -- ID: 5199 -- Item: dish_of_spaghetti_carbonara_+1 -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 180 -- Magic 15 -- Strength 4 -- Vitality 2 -- Intelligence -3 -- Attack % 17 -- Attack Cap 70 -- Store TP 6 -------------...
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/plate_of_witch_risotto.lua
3
1272
----------------------------------------- -- ID: 4330 -- Item: witch_risotto -- Food Effect: 4hours, All Races ----------------------------------------- -- Magic Points 35 -- Strength -1 -- Vitality 3 -- Mind 3 -- MP Recovered While Healing 2 -- Enmity -4 ----------------------------------------- require("scripts/globa...
gpl-3.0