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
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-pbx-voicemail/luasrc/model/cbi/pbx-voicemail.lua
29
6708
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx-voicemail. luci-pbx-voicemail 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 ...
gpl-2.0
Xaedblade/Trtl_Mineshaft
Trtl_Mineshaft.lua
1
2833
x=0; z=0; y=0 direction = 0 ----------------------------------------------------- -- This section is for general movement functions -- These functions keeps track of the direction -- and location of the turtle ----------------------------------------------------- -- updates the direction of the turtle regardless -- o...
gpl-3.0
jshackley/darkstar
scripts/globals/items/prominence_axe.lua
42
1450
----------------------------------------- -- ID: 18220 -- Item: Prominence Axe -- Additional Effect: Fire Damage -- Enchantment: Enfire ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------...
gpl-3.0
jshackley/darkstar
scripts/globals/weaponskills/starburst.lua
30
1304
----------------------------------- -- Starburst -- Staff weapon skill -- Skill Level: 100 -- Deals light or darkness elemental damage. Damage varies with TP. -- Aligned with the Shadow Gorget & Aqua Gorget. -- Aligned with the Shadow Belt & Aqua Belt. -- Element: Light/Dark (Random) -- Modifiers: : STR:40% MND...
gpl-3.0
LiberatorUSA/GUCEF
tests/gucefCOM_TestApp/premake4.lua
2
1980
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
jshackley/darkstar
scripts/globals/items/kusamochi.lua
47
2084
----------------------------------------- -- ID: 6262 -- Item: kusamochi -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP + 20 (Pet & Master) -- Vitality + 3 (Pet & Master) -- Attack + 20% Cap: 72 (Pet & Master) Pet Cap: 113 -- Ranged Attack + 20% Cap: 72 (Pet & Master) Pet Cap: 113 ---...
gpl-3.0
jshackley/darkstar
scripts/zones/AlTaieu/npcs/qm2.lua
26
1476
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Justice Spawn) -- Allows players to spawn the Jailer of Justice by trading the Second Virtue, Deed of Moderation, and HQ Xzomit Organ to a ???. -- @pos , -278 0 -463 ----------------------------------- package.loaded["scripts/zones/AlTaieu/Te...
gpl-3.0
DipColor/mehrabon3
plugins/anti-bot.lua
369
3064
local function isBotAllowed (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId local banned = redis:get(hash) return banned end local function allowBot (userId, chatId) local hash = 'anti-bot:allowed:'..chatId..':'..userId redis:set(hash, true) end local function disallowBot (userId, ch...
gpl-2.0
jshackley/darkstar
scripts/zones/Al_Zahbi/npcs/Gadalar.lua
38
1028
----------------------------------- -- Area: Al Zahbi -- NPC: Gadalar -- Type: Fireserpent General -- @zone: 48 -- @pos -105.979 -7 39.692 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ---------------------...
gpl-3.0
jshackley/darkstar
scripts/zones/Selbina/npcs/Gabwaleid.lua
17
1508
----------------------------------- -- Area: Selbina -- NPC: Gabwaleid -- Involved in Quest: Riding on the Clouds -- @pos -17 -7 11 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); requ...
gpl-3.0
jshackley/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/relic.lua
42
1858
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: <this space intentionally left blank> -- @pos -356 14 -102 176 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sea_Serpent_Grotto/Text...
gpl-3.0
adminmagma/telegood
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
jshackley/darkstar
scripts/zones/Northern_San_dOria/npcs/Kuu_Mohzolhi.lua
37
3233
----------------------------------- -- Area: Northern San d'Oria -- NPC: Kuu Mohzolhi -- Starts and Finishes Quest: Growing Flowers -- @zone 231 -- @pos -123 0 80 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
VincentGong/chess
cocos2d-x/tests/lua-tests/src/CocoStudioTest/CocoStudioTest.lua
3
2976
require "src/CocoStudioTest/CocoStudioGUITest/CocoStudioGUITest" require "src/CocoStudioTest/CocoStudioSceneTest/CocoStudioSceneTest" require "src/CocoStudioTest/CocoStudioArmatureTest/CocoStudioArmatureTest" local LINE_SPACE = 40 local ITEM_TAG_BASIC = 1000 local cocoStudioTestItemNames = { { itemTitle ...
mit
LiberatorUSA/GUCEF
projects/premake5/targets/GUCEF_exe_gucefVFS_TestApp/premake5.lua
1
4453
-------------------------------------------------------------------- -- This file was automatically generated by ProjectGenerator -- which is tooling part the build system designed for GUCEF -- (Galaxy Unlimited Framework) -- For the latest info, see http://www.VanvelzenSoftware.com/ -- -- The contents of this file...
apache-2.0
vasilish/torch-draw
models/draw.lua
1
20857
require('nn') require('nngraph') require('dpnn') local lstm_factory = require('../modules/lstm') local model_utils = require('models/model_utils') require('../modules/FilterGrid') require('../modules/MeanGrid') require('../modules/GaussianSampler') require('../modules/Num2Tensor') require('../modules/ExpandAsTensor')...
mit
jshackley/darkstar
scripts/zones/Bastok_Mines/npcs/Goraow.lua
34
2470
----------------------------------- -- Area: Bastok Mines -- NPC: Goraow -- Starts Quests: Vengeful Wrath -- @pos 38 .1 14 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("script...
gpl-3.0
bigdogmat/gmod_whitelist
lua/whitelist/sv_init.lua
1
4070
-- Base server-side file -- Global server-side table Whitelist = Whitelist or { lookup = {}, count = 0, kickreason = "You're not whitelisted!", ranks = {["admin"] = true, ["superadmin"] = true}, } -- Include all server-side a/////////////////ssets and -- add client assets to download list incl...
apache-2.0
jshackley/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fn.lua
34
2569
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: North Plate -- @pos 180 -34 71 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; -------------------------...
gpl-3.0
Th2Evil/SuperPlus
plugins/writer.lua
15
15445
local function mohammed(msg, matches) if #matches < 2 then return "اكتب الامر /write ثم ضع فاصلة واكتب الجملة وستظهر لك نتائج الزخرفة " end if string.len(matches[2]) > 20 then return "متاح لك 20 حرف انكليزي فقط لايمكنك وضع حروف اكثر ❤️😐 @"..msg.from.username..'\n' end--@TH3BOSS local font_base = "A,B,C,D,E,F,...
gpl-2.0
jshackley/darkstar
scripts/zones/PsoXja/npcs/_097.lua
17
1614
----------------------------------- -- Area: Pso'Xja -- NPC: _097 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pso...
gpl-3.0
jshackley/darkstar
scripts/zones/Northern_San_dOria/npcs/Nouveil.lua
17
2121
----------------------------------- -- Area: Northern San d'Oria -- NPC: Nouveil -- Type: General -- @zone: 231 -- @pos 123 0 106 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
jshackley/darkstar
scripts/zones/Ghelsba_Outpost/bcnms/holy_crest.lua
19
2119
----------------------------------- -- Area: Ghelsba Outpost -- Name: Holy Crest - DRG flag quest -- @pos -162 -11 78 140 ----------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/ke...
gpl-3.0
jshackley/darkstar
scripts/zones/Riverne-Site_B01/Zone.lua
17
1801
----------------------------------- -- -- Zone: Riverne-Site_B01 -- ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Riverne-Site_B01/TextIDs"); require("scripts/globals/status"); require("scripts/...
gpl-3.0
jshackley/darkstar
scripts/globals/items/betta.lua
18
1254
----------------------------------------- -- ID: 5139 -- Item: Betta -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/lua_cocos2dx_studio_auto_api.lua
6
4735
-------------------------------- -- @module ccs -------------------------------------------------------- -- the ccs ActionObject -- @field [parent=#ccs] ActionObject#ActionObject ActionObject preloaded module -------------------------------------------------------- -- the ccs ActionManagerEx -- @field [parent=#ccs] ...
mit
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/ComAttribute.lua
6
2261
-------------------------------- -- @module ComAttribute -- @extend Component -------------------------------- -- @function [parent=#ComAttribute] getFloat -- @param self -- @param #string str -- @param #float float -- @return float#float ret (return value: float) -------------------------------- -- @functi...
mit
tridge/ardupilot
libraries/AP_Scripting/examples/Aerobatics/Via_Switch/10_loops-and-immelman.lua
8
11279
-- loops and returns on switch TRICK_NUMBER = 10 -- selector number recognized to execute trick, change as desired -- number of loops controlled by AERO_RPT_COUNT, if 0 it will do an immelman instead, trick returns control after executing even if trick id remains 10 local target_vel -- trick specific global variables...
gpl-3.0
Victek/wrt1900ac-aa
feeds/xwrt/webif-iw-lua/files/usr/lib/lua/lua-xwrt/xwrt/translator.lua
26
1471
-------------------------------------------------------------------------------- -- translator.lua -- -- Description: -- to translate text ... -- before this script must be load some files functions and set some VARS -- -- Author(s) [in order of work date]: -- Fabián Omar Franzotti . -- -- Configuration...
gpl-2.0
Ombridride/minetest-minetestforfun-server
mods/WorldEdit/worldedit/common.lua
25
2824
--- Common functions [INTERNAL]. All of these functions are internal! -- @module worldedit.common --- Copies and modifies positions `pos1` and `pos2` so that each component of -- `pos1` is less than or equal to the corresponding component of `pos2`. -- Returns the new positions. function worldedit.sort_pos(pos1, pos2...
unlicense
jshackley/darkstar
scripts/zones/Cloister_of_Gales/Zone.lua
32
1656
----------------------------------- -- -- Zone: Cloister_of_Gales (201) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Gales/TextIDs"); ------...
gpl-3.0
Ombridride/minetest-minetestforfun-server
mods/unified_inventory/callbacks.lua
5
7411
local function default_refill(stack) stack:set_count(stack:get_stack_max()) local itemdef = minetest.registered_items[stack:get_name()] if itemdef and (itemdef.wear_represents or "mechanical_wear") == "mechanical_wear" and stack:get_wear() ~= 0 then stack:set_wear(0) end return stack end minetest.register_on_...
unlicense
jshackley/darkstar
scripts/zones/Windurst_Waters/npcs/Kirarara.lua
36
1420
----------------------------------- -- Area: Windurst Waters -- NPC: Kirarara -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 132 -7 172 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
jshackley/darkstar
scripts/globals/weaponskills/sanguine_blade.lua
3
1660
----------------------------------- -- Sanguine Blade -- Sword weapon skill -- Skill Level: 300 -- Drains a percentage of damage dealt to HP varies with TP. -- Will not stack with Sneak Attack. -- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties. -- Eleme...
gpl-3.0
jshackley/darkstar
scripts/globals/items/plate_of_dorado_sushi.lua
14
1749
----------------------------------------- -- ID: 5178 -- Item: plate_of_dorado_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 5 -- Accuracy % 15 -- Accuracy Cap 72 -- Ranged ACC % 15 -- Ranged ACC Cap 72 -- Sleep Resist 5 -- Enmity 4 ---------------------------...
gpl-3.0
gemini-project/contrib
ingress/controllers/nginx/lua/trie.lua
56
1428
-- Simple trie for URLs local _M = {} local mt = { __index = _M } -- http://lua-users.org/wiki/SplitJoin local strfind, tinsert, strsub = string.find, table.insert, string.sub function _M.strsplit(delimiter, text) local list = {} local pos = 1 while 1 do local first, last = strfind(text, deli...
apache-2.0
Victek/wrt1900ac-aa
veriksystems/luci-0.11/applications/luci-minidlna/luasrc/model/cbi/minidlna.lua
87
5720
--[[ LuCI - Lua Configuration Interface - miniDLNA support Copyright 2012 Gabor Juhos <juhosg@openwrt.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...
gpl-2.0
jshackley/darkstar
scripts/zones/Port_Jeuno/npcs/Raging_Lion.lua
17
1316
----------------------------------- -- Area: Port Jeuno -- NPC: Raging Lion -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Action ---------------...
gpl-3.0
danomatika/joyosc
prj/premake4.lua
2
2900
--[[ A solution contains projects, and defines the available configurations http://industriousone.com/premake/user-guide example: http://opende.svn.sourceforge.net/viewvc/opende/trunk/build/premake4.lua?revision=1708&view=markup http://bitbucket.org/anders/lightweight/src/tip/premake4.lua ]] solution "joyosc" conf...
gpl-3.0
jshackley/darkstar
scripts/zones/Upper_Jeuno/npcs/Finnela.lua
38
1027
----------------------------------- -- Area: Upper Jeuno -- NPC: Finnela -- Type: Standard NPC -- @zone: 244 -- @pos -51.880 -1 106.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------...
gpl-3.0
bartslinger/paparazzi
sw/extras/chdk/pictuav.lua
87
5350
--[[ @title PictUAV @param d Display off frame 0=never @default d 0 --]] -- Developed on IXUS 230 HS. Other cameras should work as well, but some errors or crashes are possible -- also considering that some firmwares still have CHDK bugs. -- -- Other settings in the camera that you should try to manipulate to reduce t...
gpl-2.0
josetaas/YokiRaidCursor
Libs/Ace3/AceGUI-3.0/widgets/AceGUIWidget-Slider.lua
9
8424
--[[----------------------------------------------------------------------------- Slider Widget Graphical Slider, like, for Range values. -------------------------------------------------------------------------------]] local Type, Version = "Slider", 21 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if n...
mit
jshackley/darkstar
scripts/globals/items/head_of_isleracea.lua
36
1149
----------------------------------------- -- ID: 5965 -- Item: Head of Isleracea -- Food Effect: 5 Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
jshackley/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Duke_Gomory.lua
1
1255
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Duke Gomory ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function ...
gpl-3.0
saeeidbeygi/Mrbot
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
sugiartocokrowibowo/Algorithm-Implementations
Depth_First_Search/Lua/Yonaba/handlers/gridmap_handler.lua
182
2356
-- A grid map handler -- Supports 4-directions and 8-directions moves -- This handler is devised for 2d bounded grid where nodes are indexed -- with a pair of (x, y) coordinates. It features straight (4-directions) -- and diagonal (8-directions) moves. local PATH = (...):gsub('handlers.gridmap_handler$','') local Nod...
mit
jshackley/darkstar
scripts/zones/Abyssea-Konschtat/npcs/qm18.lua
17
1737
----------------------------------- -- Zone: Abyssea-Konschtat -- NPC: ??? -- Spawns: Kukulkan ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(pl...
gpl-3.0
jshackley/darkstar
scripts/zones/Tahrongi_Canyon/Zone.lua
17
4501
----------------------------------- -- -- Zone: Tahrongi_Canyon (117) -- ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Tahrongi_Canyon/TextID...
gpl-3.0
Mizugola/MeltingSaga
engine/Lib/Extlibs/binser.lua
5
25566
-- binser.lua --[[ Copyright (c) 2016 Calvin Rose 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...
mit
Victek/wrt1900ac-aa
veriksystems/luci-0.11/modules/admin-mini/luasrc/model/cbi/mini/luci.lua
11
1381
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 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 License at h...
gpl-2.0
Shrike78/Shilke2D
Samples/movieclip.lua
1
3012
-- uncomment to debug touch and keyboard callbacks. works with Mobdebug --__DEBUG_CALLBACKS__ = true --By default (0,0) is topleft point and y is from top to bottom. Defining this allows to --set (0,0) as bottomleft point and having y from bottom to top. --__USE_SIMULATION_COORDS__ = true --include Shilke2D lib requ...
mit
Ombridride/minetest-minetestforfun-server
mods/homedecor_modpack/homedecor/bathroom_sanitation.lua
7
8096
local S = homedecor.gettext local toilet_sbox = { type = "fixed", fixed = { -6/16, -8/16, -8/16, 6/16, 9/16, 8/16 }, } local toilet_cbox = { type = "fixed", fixed = { {-6/16, -8/16, -8/16, 6/16, 1/16, 8/16 }, {-6/16, -8/16, 4/16, 6/16, 9/16, 8/16 } } } homedecor.register("toilet", { description = S("Toilet...
unlicense
opentibia/server
data/scripts/examples/movecreature_example.lua
3
1120
local movecreature_example = {} local count_steps = {} function movecreature_example.move_callback(event) local c = count_steps[event.creature:getID()] if c then c.steps = c.steps + 1 if c.steps > 100 then stopListener(c.listener) count_steps[event.creature:getID()] = nil return end end wait(200)...
gpl-2.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/Lens3D.lua
3
1271
-------------------------------- -- @module Lens3D -- @extend Grid3DAction -------------------------------- -- @function [parent=#Lens3D] setPosition -- @param self -- @param #cc.Vec2 vec2 -------------------------------- -- @function [parent=#Lens3D] setConcave -- @param self -- @param #bool bool ...
mit
jshackley/darkstar
scripts/globals/weaponskills/garland_of_bliss.lua
18
4785
----------------------------------- -- Garland Of Bliss -- Staff weapon skill -- Skill level: N/A -- Lowers target's defense. Duration of effect varies with TP. Nirvana: Aftermath effect varies with TP. -- Reduces enemy's defense by 12.5%. -- Available only after completing the Unlocking a Myth (Summoner) quest. ...
gpl-3.0
jshackley/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/HomePoint#1.lua
17
1277
----------------------------------- -- Area: Bastok_Markets_[S] -- NPC: HomePoint#1 -- @pos -293.048 -10.000 -102.558 87 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets_[S]/TextID...
gpl-3.0
jshackley/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Excavation_Point.lua
17
1628
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Excavation Point -- Used in Quest: The Holy Crest -- @pos 234 0.1 -110 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/e...
gpl-3.0
jshackley/darkstar
scripts/zones/Promyvion-Holla/npcs/qm6.lua
17
1088
----------------------------------- -- Area: Promyvion holla -- ??? map acquisition ----------------------------------- package.loaded["scripts/zones/Promyvion-Holla/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Promyvion-Holla/TextIDs"); ...
gpl-3.0
JoMiro/arcemu
src/scripts/lua/LuaBridge/0Misc/0LCF_Includes/LCF_Creature.lua
13
9679
--[[ * ArcEmu MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2008-2010 <http://www.ArcEmu.org/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Softwa...
agpl-3.0
yagop/telegram-bot
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images loca...
gpl-2.0
jshackley/darkstar
scripts/zones/Port_Windurst/npcs/Kucha_Malkobhi.lua
36
1528
----------------------------------- -- Area: Port Windurst -- NPC: Kucha Malkobhi -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst...
gpl-3.0
sugiartocokrowibowo/Algorithm-Implementations
A_Star_Search/Lua/Yonaba/handlers/point_graph_handler.lua
182
2492
-- A point graph handler -- This handler is devised for waypoints graphs. -- Waypoints are locations represented via labelled nodes -- and are connected with edges having a positive weight. -- It assumes edges are symmetric, that is if an edge exists -- between a and b, weight(a -> b) == weight(b -> a) local PATH = ...
mit
sugiartocokrowibowo/Algorithm-Implementations
Dijkstra_Search/Lua/Yonaba/handlers/point_graph_handler.lua
182
2492
-- A point graph handler -- This handler is devised for waypoints graphs. -- Waypoints are locations represented via labelled nodes -- and are connected with edges having a positive weight. -- It assumes edges are symmetric, that is if an edge exists -- between a and b, weight(a -> b) == weight(b -> a) local PATH = ...
mit
sugiartocokrowibowo/Algorithm-Implementations
Depth_Limited_Search/Lua/Yonaba/handlers/point_graph_handler.lua
182
2492
-- A point graph handler -- This handler is devised for waypoints graphs. -- Waypoints are locations represented via labelled nodes -- and are connected with edges having a positive weight. -- It assumes edges are symmetric, that is if an edge exists -- between a and b, weight(a -> b) == weight(b -> a) local PATH = ...
mit
LuaDist2/luadbg
init.lua
3
39924
--{{{ --Usage: -- require('debugger') --load the debug library -- pause(message) --start/resume a debug session --An assert() failure will also invoke the debugger. --}}} local IsWindows = string.find(string.lower(os.getenv('OS') or ''),'^windows') local coro_debugger local events = { BREAK =...
lgpl-3.0
shagu/pfQuest
compat/pfUI.lua
1
11572
-- Initialize pfUI core table for non-pfUI environments if not pfUI then pfUI = { ["api"] = {}, ["cache"] = {}, ["backdrop"] = { bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 16, in...
mit
ByteFun/Starbound_mods
smount/tech/mech/mount62/mount62.lua
7
34312
function checkCollision(position) local boundBox = mcontroller.boundBox() boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1] boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2] boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1] boundBox[4] = boundBox[4] - mcon...
gpl-2.0
jshackley/darkstar
scripts/zones/Selbina/npcs/Nomad_Moogle.lua
34
1104
----------------------------------- -- -- Nomad Moogle -- ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/settings"); ----------------------------------- -- on...
gpl-3.0
jshackley/darkstar
scripts/zones/The_Garden_of_RuHmet/bcnms/when_angels_fall.lua
17
2249
----------------------------------- -- 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"); requir...
gpl-3.0
jshackley/darkstar
scripts/zones/Dynamis-Buburimu/mobs/Apocalyptic_Beast.lua
1
1495
----------------------------------- -- Area: Dynamis Buburimu -- MOB: Apocalyptic_Beast ----------------------------------- package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Buburimu/TextIDs"...
gpl-3.0
jshackley/darkstar
scripts/globals/items/bowl_of_adamantoise_soup.lua
35
1607
----------------------------------------- -- ID: 5210 -- Item: Bowl of Adamantoise Soup -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength -7 -- Dexterity -7 -- Agility -7 -- Vitality -7 -- Intelligence -7 -- Mind -7 -- Charisma -7 ---------------------------------------...
gpl-3.0
botmohammad12344888/bot-888338888
plugins/azan.lua
2
3156
do function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" function get_latlong(area) local api = base_api .. "/geocode/json?" local parameters = "address=".. (URL.escape(area) or ...
gpl-2.0
SpRoXx/GTW-RPG
[resources]/GTWtramdriver/tram_s.lua
1
8453
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
bsd-2-clause
Keithenneu/Dota2-FullOverwrite
abilityUse/abilityUse_viper.lua
1
10629
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- BotsInit = require( "game/botsinit" ) local viperAbility = BotsIn...
gpl-3.0
VincentGong/chess
cocos2d-x/cocos/scripting/lua-bindings/auto/api/LinearLayoutParameter.lua
4
1258
-------------------------------- -- @module LinearLayoutParameter -- @extend LayoutParameter -------------------------------- -- @function [parent=#LinearLayoutParameter] setGravity -- @param self -- @param #ccui.LinearLayoutParameter::LinearGravity lineargravity -------------------------------- -- @functio...
mit
jshackley/darkstar
scripts/zones/Kazham/npcs/HomePoint#1.lua
17
1239
----------------------------------- -- Area: Kazham -- NPC: HomePoint#1 -- @pos 77.654 -13.000 -94.457 250 ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/homepoi...
gpl-3.0
jshackley/darkstar
scripts/zones/Windurst_Walls/npcs/Selulu.lua
38
1029
---------------------------------- -- Area: Windurst Walls -- NPC: Selulu -- Type: Item Deliverer -- @zone: 239 -- @pos 58.027 -2.5 -60.548 -- ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; require("scripts/zones/Windurst_Walls/TextIDs"); -----------------------...
gpl-3.0
jshackley/darkstar
scripts/globals/items/timbre_timbers_taco.lua
35
1566
----------------------------------------- -- ID: 5173 -- Item: timbre_timbers_taco -- Food Effect: 1hour, All Races ----------------------------------------- -- MP 20 -- Vitality -1 -- Agility 5 -- MP Recovered While Healing 3 -- Ranged Accuracy % 8 (cap 15) ----------------------------------------- requir...
gpl-3.0
ByteFun/Starbound_mods
smount/tech/mech/mount38/mount38.lua
7
34280
function checkCollision(position) local boundBox = mcontroller.boundBox() boundBox[1] = boundBox[1] - mcontroller.position()[1] + position[1] boundBox[2] = boundBox[2] - mcontroller.position()[2] + position[2] boundBox[3] = boundBox[3] - mcontroller.position()[1] + position[1] boundBox[4] = boundBox[4] - mcon...
gpl-2.0
jshackley/darkstar
scripts/globals/items/sacred_maul.lua
42
1457
----------------------------------------- -- ID: 18392 -- Item: Sacred Maul -- Additional Effect: Light Damage -- Enchantment: "Enlight" ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----...
gpl-3.0
jshackley/darkstar
scripts/zones/Norg/npcs/Jirokichi.lua
19
1260
----------------------------------- -- Area: Norg -- NPC: Jirokichi -- Type: Tenshodo Merchant -- @pos -1.463 0.000 18.846 252 ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/s...
gpl-3.0
Keithenneu/Dota2-FullOverwrite
ability_usage_antimage.lua
2
4113
------------------------------------------------------------------------------- --- AUTHOR: Nostrademous --- GITHUB REPO: https://github.com/Nostrademous/Dota2-FullOverwrite ------------------------------------------------------------------------------- _G._savedEnv = getfenv() module( "ability_usage_antimage", packag...
gpl-3.0
jshackley/darkstar
scripts/zones/Meriphataud_Mountains/npcs/qm1.lua
17
1385
----------------------------------- -- Area: Meriphataud Mountains -- NPC: qm1 (???) -- Involved in Quest: The Holy Crest -- @pos 641 -15 7 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Me...
gpl-3.0
luastoned/turbo
turbo/hash.lua
12
4411
--- Turbo.lua Hash module -- Wrappers for OpenSSL crypto. -- -- Copyright 2011, 2012, 2013 John Abrahamsen -- -- 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/lice...
apache-2.0
wolf9s/packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/advanced_hotplugscript.lua
111
2018
-- ------ hotplug script configuration ------ -- fs = require "nixio.fs" sys = require "luci.sys" ut = require "luci.util" script = "/etc/hotplug.d/iface/16-mwancustom" scriptBackup = "/etc/hotplug.d/iface/16-mwancustombak" if luci.http.formvalue("cbid.luci.1._restorebak") then -- restore button has been clicked lu...
gpl-2.0
jshackley/darkstar
scripts/zones/RuLude_Gardens/npcs/Perisa-Neburusa.lua
38
1048
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Perisa-Neburusa -- Type: Residence Renter -- @zone: 243 -- @pos 54.651 8.999 -74.372 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; -...
gpl-3.0
jshackley/darkstar
scripts/zones/Northern_San_dOria/npcs/Gaudylox.lua
17
1599
----------------------------------- -- Area: Northern San d'Oria -- NPC: Gaudylox -- Standard merchant, though he acts like a guild merchant -- @pos -147.593 11.999 222.550 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------...
gpl-3.0
blackman1380/man
plugins/plugins.lua
11
5915
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
jshackley/darkstar
scripts/globals/spells/dextrous_etude.lua
18
1765
----------------------------------------- -- Spell: Dextrous Etude -- Static DEX Boost, BRD 32 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onM...
gpl-3.0
yagop/telegram-bot
plugins/tweet.lua
634
7120
local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json" local client = OAuth.new(consumer_key, consumer_secret, ...
gpl-2.0
jessehorne/luadraw
main.lua
1
1520
currx = love.graphics.getWidth()/2 curry = love.graphics.getHeight()/2 currr = -90 if arg[2] then love.graphics.setCaption(arg[2]) end function string:split(sep) local sep, fields = sep or " ", {} local pattern = string.format("([^%s]+)", sep) self:gsub(pattern, function(c) fields[#fields+1] = c end) return ...
mit
jshackley/darkstar
scripts/globals/mobskills/Hurricane_Wing.lua
36
1331
--------------------------------------------- -- Hurricane Wing -- -- Description: Deals hurricane-force wind damage to enemies within a very wide area of effect. Additional effect: Blind -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Dragua, Fafnir, N...
gpl-3.0
botmohammad12344888/bot-888338888
plugins/filterword.lua
2
4416
local function save_filter(msg, name, value) local hash = nil if msg.to.type == 'chat' then hash = 'chat:'..msg.to.id..':filters' end if msg.to.type == 'user' then return 'فقط در گروه' end if hash then redis:hset(hash, name, value) return "انجام شد" end end local function get_filter_hash(...
gpl-2.0
jshackley/darkstar
scripts/zones/Apollyon/bcnms/NW_Apollyon.lua
19
1065
----------------------------------- -- 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]UniqueID",Genera...
gpl-3.0
jshackley/darkstar
scripts/globals/items/pixie_mace.lua
41
1075
----------------------------------------- -- ID: 17414 -- Item: Pixie Mace -- Additional Effect: Light Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
jshackley/darkstar
scripts/globals/spells/absorb-vit.lua
18
1299
-------------------------------------- -- Spell: Absorb-VIT -- Steals an enemy's vitality. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------...
gpl-3.0
SamJBarney/Wasteland
Wasteland.lua
1
7249
local PLUGIN = nil --- Minimum depth (number of blocks down from surface) of generated ores local MIN_ORE_DEPTH = 8 --- Where and how much ores should generate: -- Each item in the array represents one ore that is generated in each chunk. -- The generator generates up to "count" ore blocks in each chunk in height...
apache-2.0
Xtrem65/esx_garagecompany
client/main.lua
1
15359
local Keys = { ["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57, ["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83, ["BACKSP...
mit
jshackley/darkstar
scripts/globals/mobskills/Thundris_Shriek.lua
13
1405
--------------------------------------------- -- Thundris Shriek -- -- Description: Deals heavy lightning damage to targets in area of effect. Additional effect: Terror -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: Unknown -- Notes: Players will begin to be intimidated by the dvergr after th...
gpl-3.0
iofun/treehouse
luerl/46f722e1424442a185f160914566554c.lua
1
2154
-- A pair of Scourge is spawned from a single morph of Larva, like doggos. -- Our unit function table local this_unit = {} -- Where we are and fast we move local x, y, dx, dy -- Our name local name = "Zerg_Scourge" -- Our color local color = "red" -- Our BWAPI unit type local type = 47 -- Our label local label = "zerg...
agpl-3.0