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
MNKgod/darkstar
scripts/zones/The_Garden_of_RuHmet/MobIDs.lua
30
1432
----------------------------------- -- Area: The Garden of Ru'Hmet -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Ix'Aern (DRG)'s minions - Wynavs IxAernDRG = 16921022; wynavA = 16921023; wynavB = 16921024; wynavC = 16921025; -- First Aw'Aerns in each g...
gpl-3.0
pubnative/pubnative-corona-library
pubnative-sample/pubnative/request.lua
2
7751
--============================================================================== -- 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 right...
mit
pubnative/pubnative-corona-library
pubnative/request.lua
2
7751
--============================================================================== -- 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 right...
mit
DhavalKapil/elasticsearch-lua
src/elasticsearch/endpoints/Indices/GetMapping.lua
2
1991
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local IndicesEndpoint = require "elasticsearch.endpoints.Indices.IndicesEndpoint" --------------------------------------------------------...
mit
Polkm/underdone
gamemode/core/clientfiles/menus/cl_questmenu.lua
1
5635
GM.QuestMenu = nil PANEL = {} PANEL.Frame = nil PANEL.QuestList = nil PANEL.QuestDescription = nil PANEL.ItemIconSize = 39 function PANEL:Init() self.Frame = CreateGenericFrame("Quest Menu", false, true) self.Frame.btnClose.DoClick = function(btn) GAMEMODE.QuestMenu.Frame:Close() GAMEMODE.QuestMenu = nil ...
mit
schoenb/MoonGen
lua/include/filter_x540.lua
1
5198
local mod = {} local dpdkc = require "dpdkc" local device = require "device" local ffi = require "ffi" local dpdk = require "dpdk" local mbitmask = require "bitmask" local err = require "error" local ETQF_BASE = 0x00005128 local ETQS_BASE = 0x0000EC00 local ETQF_FILTER_ENABLE = bit.lshift(1, 31) local ETQF_IEEE...
mit
Evarin/PhotoQuality
mix_both4.lua
1
15352
require 'torch' require 'nn' require 'image' require 'optim' require 'lfs' require 'io' require 'loadcaffe' -------------------------------------------------------------------------------- local cmd = torch.CmdLine() -- Basic options cmd:option('-train_dir', 'train/') cmd:option('-test_dir', 'test/') cmd:option('-te...
mit
MNKgod/darkstar
scripts/zones/Ranguemont_Pass/npcs/Grounds_Tome.lua
34
1142
----------------------------------- -- Area: Ranguemont Pass -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Woods/npcs/Hayah_Dahbalesahma.lua
38
1049
----------------------------------- -- Area: Windurst Woods -- NPC: Hayah Dahbalesahma -- Type: Standard NPC -- @zone: 241 -- @pos -50.363 -1.292 -147.883 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ...
gpl-3.0
MNKgod/darkstar
scripts/globals/mobskills/Feather_Maelstrom.lua
30
1043
--------------------------------------------- -- Feather Maelstrom -- Sends a storm of feathers to a single target. -- Additional effect: Bio & Amnesia --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_Bastok/npcs/HomePoint#2.lua
17
1243
----------------------------------- -- Area: Port_Bastok -- NPC: HomePoint#2 -- @pos 42 8.5 -244 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Port_Bastok/TextIDs"); require("scripts/globals/hom...
gpl-3.0
MNKgod/darkstar
scripts/zones/Lower_Jeuno/npcs/Tuh_Almobankha.lua
17
3832
----------------------------------- -- Area: Lower Jeuno -- NPC: Tuh Almobankha -- Title Change NPC -- @pos -14 0 -61 245 ----------------------------------- require("scripts/globals/titles"); local title2 = { BROWN_MAGE_GUINEA_PIG , BROWN_MAGIC_BYPRODUCT , RESEARCHER_OF_CLASSICS , TORCHBEARER , FORTUNETELLE...
gpl-3.0
obsy/openwrt-packages
net/luci-app-squid/files/squid-cbi.lua
95
1822
--[[ LuCI Squid module Copyright (C) 2015, 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.0 Author: Marko Ratkaj <marko.ratkaj@sartura.hr> ...
gpl-2.0
DhavalKapil/elasticsearch-lua
src/elasticsearch/endpoints/Cat/FieldData.lua
2
1902
------------------------------------------------------------------------------- -- Importing modules ------------------------------------------------------------------------------- local CatEndpoint = require "elasticsearch.endpoints.Cat.CatEndpoint" --------------------------------------------------------------------...
mit
glenn-edgar/lua_frame_work
user_libraries/NotActive/tgs/tgs/unitsDb/units.lua
2
6279
--- --- --- File: unitss.lua --- This does the following things --- 1. Coordinates the units data bases --- 2. Verifies a units in a chain --- 3. Verifies the unitss in a file list --- 4. Generates the complete list of unitss in a chain --- 5. Gets a units record --- --- --- The entry for a units contains the fol...
mit
Zenfone2-Dev/kali-nethunter
nethunter-installer/update/system/bin/lualibs/commands.lua
6
11255
--[[ These are command definitions. This file should correspond exactly to usb_cmd.h. --]] --// For the bootloader local _commands = { CMD_DEVICE_INFO = 0x0000, CMD_SETUP_WRITE = 0x0001, CMD_FINISH_WRITE = ...
gpl-2.0
MNKgod/darkstar
scripts/zones/Port_Jeuno/npcs/Joachim.lua
29
4096
----------------------------------- -- Area: Port Jeuno -- NPC: Joachim -- @zone 246 -- @pos -52.844 0.000 -9.978 -- CS/Event ID's: -- 0x0144 = on zoning in -- 0x0145 = 1st chat, get 1st stone, -- completes "A Journey Begins" -- 0x0146 = Limited Menu -- 0x0147 = CS after "The Truth Beckons" completed. -- 0x0...
gpl-3.0
vahed2719/vahed
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
MNKgod/darkstar
scripts/zones/Sealions_Den/npcs/Sueleen.lua
17
1989
----------------------------------- -- Area: Sealion's Den -- NPC: Sueleen -- @pos 612 132 774 32 ----------------------------------- package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Sealions_Den/TextID...
gpl-3.0
ejoncas/kong
kong/api/routes/plugins.lua
4
2328
local crud = require "kong.api.crud_helpers" local utils = require "kong.tools.utils" local syslog = require "kong.tools.syslog" local constants = require "kong.constants" -- Remove functions from a schema definition so that -- cjson can encode the schema. local function remove_functions(schema) for k, v in pairs(sc...
apache-2.0
Cavitt/otclient_mapgen
modules/gamelib/thing.lua
12
1419
ThingCategoryItem = 0 ThingCategoryCreature = 1 ThingCategoryEffect = 2 ThingCategoryMissile = 3 ThingInvalidCategory = 4 ThingLastCategory = ThingInvalidCategory ThingAttrGround = 0 ThingAttrGroundBorder = 1 ThingAttrOnBottom = 2 ThingAttrOnTop = 3 ThingAttrContainer = 4 ThingA...
mit
MNKgod/darkstar
scripts/globals/mobskills/PL_Chaos_Blade.lua
58
1118
--------------------------------------------- -- Chaos Blade -- -- Description: Deals Dark damage to enemies within a fan-shaped area. Additional effect: Curse -- Type: Magical -- Utsusemi/Blink absorb: Ignores Shadows -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/sett...
gpl-3.0
vahed2719/vahed
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
MNKgod/darkstar
scripts/zones/Lufaise_Meadows/npcs/Logging_Point.lua
29
1107
----------------------------------- -- Area: Lufaise Meadows -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Lufaise_Meadows/TextIDs"); ...
gpl-3.0
Cavitt/otclient_mapgen
modules/game_viplist/viplist.lua
5
11324
vipWindow = nil vipButton = nil addVipWindow = nil editVipWindow = nil vipInfo = {} function init() connect(g_game, { onGameStart = refresh, onGameEnd = clear, onAddVip = onAddVip, onVipStateChange = onVipStateChange }) g_keyboard.bindKeyDown('Ctrl+P', ...
mit
MRAHS/SBSS
bot/sbssbot.lua
3
9690
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 = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
MNKgod/darkstar
scripts/zones/Upper_Delkfutts_Tower/Zone.lua
17
2715
----------------------------------- -- -- Zone: Upper_Delkfutts_Tower (158) -- ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/common"); require("scripts/globals/zone"); require("scripts/glob...
gpl-3.0
brunominervino/forgottenserver
data/chatchannels/scripts/advertising-rook.lua
48
1235
function canJoin(player) return player:getVocation():getId() == VOCATION_NONE or player:getAccountType() >= ACCOUNT_TYPE_SENIORTUTOR end local CHANNEL_ADVERTISING_ROOK = 6 local muted = Condition(CONDITION_CHANNELMUTEDTICKS, CONDITIONID_DEFAULT) muted:setParameter(CONDITION_PARAM_SUBID, CHANNEL_ADVERTISING_ROOK) mut...
gpl-2.0
MNKgod/darkstar
scripts/globals/effects/aftermath_lv1.lua
18
1105
----------------------------------- -- -- EFFECT_AFTERMATH_LV1 -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); if...
gpl-3.0
paidi/oxnn
test/test_ModelUtil.lua
3
2683
local precision = 1e-5 local t = oxnn.mytester function oxnn.tests.oxnn_ModelUtil_LSTM12cl() local dim = 10 local C = function(a) return oxnn.cu:MaybeType(a) end local b = C(oxnn.ModelUtil.LSTMCell1(nn.Linear(dim,dim), nn.Linear(dim,dim))) local bw,bdw = b:getParameters() local bp = b:parameters() ...
bsd-3-clause
MNKgod/darkstar
scripts/zones/Bastok_Markets/npcs/Salimah.lua
17
2906
----------------------------------- -- Area: Bastok Markets -- NPC: Salimah -- Notes: Start & Finishes Quest: Gourmet -- @pos -31.687 -6.824 -73.282 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
dev-joker-dev/Joker-Developer
plugins/inrealm.lua
7
36518
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] -- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and ...
gpl-2.0
MNKgod/darkstar
scripts/globals/weaponskills/blade_metsu.lua
18
2295
----------------------------------- -- Blade Metsu -- Katana weapon skill -- Skill Level: N/A -- Additional effect: Paralysis -- Hidden effect: temporarily enhances Subtle Blow effect. -- One hit weapon skill, despite non single-hit animation. -- This weapon skill is only available with the stage 5 relic Katana ...
gpl-3.0
delram/seedup
bot/seedbot.lua
1
9401
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 = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
gdavegdave/OpenRA
mods/cnc/maps/nod08b/nod08b.lua
5
8959
--[[ Copyright 2007-2017 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
MNKgod/darkstar
scripts/zones/Western_Altepa_Desert/TextIDs.lua
9
1562
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6384; ...
gpl-3.0
MNKgod/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
MNKgod/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
MNKgod/darkstar
scripts/zones/Abyssea-Grauberg/npcs/Atma_Infusionist.lua
65
1058
----------------------------------- -- Area: Abyssea - Grauberg -- NPC: Atma Infusionist -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/abyssea"); require("scripts/...
gpl-3.0
MNKgod/darkstar
scripts/zones/Bibiki_Bay/npcs/Noih_Tahparawh.lua
19
3558
----------------------------------- -- Area: Bibiki Bay -- NPC: Noih Tahparawh -- Type: Manaclipper -- @pos -392 -3 -385 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; require("scripts/zones/Bibiki_Bay/TextIDs"); ----------------------------------- -- onTrade Act...
gpl-3.0
MNKgod/darkstar
scripts/globals/abilities/corsairs_roll.lua
17
2243
----------------------------------- -- Ability: Corsair's Roll -- Increases the amount of experience points earned by party members within area of effect -- Optimal Job: Corsair -- Lucky Number: 5 -- Unlucky Number: 9 -- Level: 5 -- -- Die Roll |Exp Bonus% -- -------- ----------- -- 1 |10% --...
gpl-3.0
MNKgod/darkstar
scripts/globals/items/wild_pineapple.lua
35
1201
----------------------------------------- -- ID: 4598 -- Item: wild_pineapple -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -5 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Walls/npcs/Four_of_Diamonds.lua
38
1047
----------------------------------- -- Area: Windurst Walls -- NPC: Four of Diamonds -- Type: Standard NPC -- @zone: 239 -- @pos -187.184 -3.545 151.092 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; --...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/mages_ballad_iii.lua
31
1187
----------------------------------------- -- Spell: Mage's Ballad III -- Gradually restores target's MP. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCh...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_Jeuno/npcs/Red_Ghost.lua
34
2108
----------------------------------- -- Area: Port Jeuno -- NPC: Red Ghost -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals/quests"); requ...
gpl-3.0
AccroGaming/Accro-DarkRP
DarkRP/gamemode/server/main.lua
1
56149
/*--------------------------------------------------------- Flammable ---------------------------------------------------------*/ local FlammableProps = {drug = true, drug_lab = true, food = true, gunlab = true, letter = true, microwave = true, money_printer = true, spawned_shipment = true, spawned_weapon = true, spa...
mpl-2.0
MNKgod/darkstar
scripts/globals/items/bowl_of_moogurt.lua
36
1326
----------------------------------------- -- ID: 5935 -- Item: Bowl of Moogurt -- Food Effect: 30Min, All Races ----------------------------------------- -- HP % 20 Cap 20 -- Vitality 3 -- HP Healing 3 ----------------------------------------- require("scripts/globals/status"); ---------------------------------------...
gpl-3.0
cornernote/minetest-modulator_game
mods/technical/mesecons/mesecons_button/init.lua
1
3189
-- WALL BUTTON minetest.register_node("mesecons_button:button_off", { drawtype = "nodebox", tiles = { "jeija_wall_button_sides.png", "jeija_wall_button_sides.png", "jeija_wall_button_sides.png", "jeija_wall_button_sides.png", "jeija_wall_button_sides.png", "jeija_wall_button_off.png" }, paramtype = ...
gpl-3.0
dani-sj/mahdi002
plugins/Feedback.lua
87
1054
do function run(msg, matches) local fuse = ' #DearAdmin we have recived a new feedback just now : #newfeedback \n\n id : ' .. msg.from.id .. '\n\nNAME : ' .. msg.from.print_name ..'\n\nusername : @ ' .. msg.from.username ..'\pm :\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id local text = ...
gpl-2.0
padrinoo1/telesim
plugins/Feedback.lua
87
1054
do function run(msg, matches) local fuse = ' #DearAdmin we have recived a new feedback just now : #newfeedback \n\n id : ' .. msg.from.id .. '\n\nNAME : ' .. msg.from.print_name ..'\n\nusername : @ ' .. msg.from.username ..'\pm :\n\n' .. matches[1] local fuses = '!printf user#id' .. msg.from.id local text = ...
gpl-2.0
MNKgod/darkstar
scripts/zones/Mamool_Ja_Training_Grounds/Zone.lua
36
1155
----------------------------------- -- -- Zone: Mamool_Ja_Training_Grounds -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Mamool_Ja_Training_Grounds/TextIDs"] = nil; require("scripts/zones/Mamool_Ja_Training_Grounds/TextIDs"); --------------------...
gpl-3.0
MNKgod/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
schoenb/MoonGen
examples/benchmark/packet-sizes.lua
9
1249
local dpdk = require "dpdk" local memory = require "memory" local device = require "device" local stats = require "stats" local timer = require "timer" memory.enableCache() -- TODO: this function master(port1, port2) if not port1 or not port2 then return print("Usage: port1 port2") end local dev2 = device.con...
mit
schoenb/MoonGen
test/example-scripts/test-l3-multi-destinations.lua
6
6429
local mg = require "moongen" require "number-assert" describe("l3-multi-destinations", function() it("should run with IPv4", function() local proc = mg.start("./examples/l3-multi-destinations.lua", 10, "10.0.0.1", 10, 100) finally(function() proc:destroy() end) proc:waitForPorts(1) --[[ output should loo...
mit
MNKgod/darkstar
scripts/zones/Rabao/npcs/Brave_OX.lua
37
1529
----------------------------------- -- Area: Rabao -- NPC: Brave Ox -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Rabao/TextIDs"); ----------------...
gpl-3.0
brunominervino/forgottenserver
data/talkactions/scripts/remove_tutor.lua
41
1033
function onSay(player, words, param) if player:getAccountType() <= ACCOUNT_TYPE_TUTOR then return true end local resultId = db.storeQuery("SELECT `name`, `account_id`, (SELECT `type` FROM `accounts` WHERE `accounts`.`id` = `account_id`) AS `account_type` FROM `players` WHERE `name` = " .. db.escapeString(param)) ...
gpl-2.0
MNKgod/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
hossein101/self2
bot/bot.lua
1
13771
-- #Beyond Self Robot -- #@BeyondTeam tdcli = dofile('./tg/tdcli.lua') serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() require('./bot/utils') URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" json = (loadfile "./lib...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ajen-Myoojen.lua
56
1087
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ajen-Myoojen -- Type: Standard NPC -- @pos -44.542 -5.999 238.996 94 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- ----------------------------------- -...
gpl-3.0
MNKgod/darkstar
scripts/zones/Norg/npcs/Keal.lua
17
4233
----------------------------------- -- Area: Norg -- NPC: Keal -- Starts and Ends Quest: It's Not Your Vault ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); re...
gpl-3.0
MNKgod/darkstar
scripts/globals/spells/bluemagic/cocoon.lua
18
1376
----------------------------------------- -- Spell: Cocoon -- Enhances defense -- Spell cost: 10 MP -- Monster Type: Vermin -- Spell Type: Magical (Earth) -- Blue Magic Points: 1 -- Stat Bonus: VIT+3 -- Level: 8 -- Casting Time: 1.75 seconds -- Recast Time: 60 seconds -- Duration: 90 seconds -- -- Combos:...
gpl-3.0
mynameiscraziu/negative
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
vahed2719/vahed
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
MNKgod/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Giehnz.lua
34
1031
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Giehnz -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); -----------...
gpl-3.0
MNKgod/darkstar
scripts/globals/mobskills/Wild_Rage.lua
18
1137
--------------------------------------------- -- Wild Rage -- -- Description: Deals physical damage to enemies within area of effect. -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: 15' radial -- Notes: Has additional effect of Poison when used by King Vinegarroon. ----------------------...
gpl-3.0
MNKgod/darkstar
scripts/globals/abilities/thunder_maneuver.lua
35
1619
----------------------------------- -- Ability: Thunder Maneuver -- Enhances the effect of thunder attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status...
gpl-3.0
MNKgod/darkstar
scripts/zones/Arrapago_Reef/npcs/qm6.lua
42
1099
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (corsair job flag quest) -- ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); ----------------------------------- ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Rolanberry_Fields/npcs/Stone_Monument.lua
32
1298
----------------------------------- -- Area: Rolanberry Fields -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 362.479 -34.894 -398.994 110 ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
MrAL-i/SPIRAN
plugins/info.lua
1
12028
do local Arian = 190772401 --put your id here(BOT OWNER ID) local Sosha = 112985792 --local Sosha2 = 164484149 local function setrank(msg, name, value,receiver) -- setrank function local hash = nil hash = 'rank:variables' if hash then redis:hset(hash, name, value) return send...
gpl-2.0
brunominervino/forgottenserver
data/events/scripts/player.lua
2
6202
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
boynedmaster/Roblox
Tests/tests/DataStore2.spec.lua
1
15778
return function() local HttpService = game:GetService("HttpService") local RunService = game:GetService("RunService") local ServerScriptService = game:GetService("ServerScriptService") local moduleDataStore2 = ServerScriptService.Modules.DataStore2 local MockDataStoreServiceConstants = require( ServerS...
lgpl-3.0
ldcastanheira/points
src/view.lua
1
9413
view = newclass("view", interactive) selectbugs = function(bugs, start, deadline) local buglist = { all = {bug = {}, group = {}}, open = {bug = {}, group = {}}, closed = {bug = {}, group = {}}, } for tid, b in pairs(bugs) do local bugtype = nil if b.closeddate then b.status = "CLOSED" else ...
gpl-3.0
MNKgod/darkstar
scripts/zones/Windurst_Waters/npcs/Ranpi-Monpi.lua
36
5449
----------------------------------- -- Area: Windurst Waters -- NPC: Ranpi-Monpi -- Starts and Finishes Quest: A Crisis in the Making -- Involved in quest: In a Stew, For Want of a Pot, The Dawn of Delectability -- @zone = 238 -- @pos = -116 -3 52 (outside the shop he is in) --------------------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Bastok_Mines/npcs/Gumbah.lua
17
2095
----------------------------------- -- Area: Bastok Mines -- NPC: Gumbah -- Finishes Quest: Blade of Darkness ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyite...
gpl-3.0
kieselsteini/PiXL
extra/params.lua
1
1946
--[[---------------------------------------------------------------------------- Simple argument parser written by Sebastian Steinhauer <s.steinhauer@yahoo.de> --]]---------------------------------------------------------------------------- return { has = function(name) for _, v in pairs(arg) do ...
unlicense
MNKgod/darkstar
scripts/zones/Port_Windurst/npcs/Lebondur.lua
36
1564
----------------------------------- -- Area: Port Windurst -- NPC: Lebondur -- Regional Marchant NPC -- Only sells when Windurst controls Vollbow. -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["sc...
gpl-3.0
MNKgod/darkstar
scripts/zones/Bastok_Markets/npcs/Biggorf.lua
37
1200
----------------------------------- -- Area: Bastok Markets -- NPC: Biggorf -- Standard Info NPC -- Involved in Quest: The Bare Bones ----------------------------------- require("scripts/globals/quests"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextI...
gpl-3.0
LuaDist2/luarepl
t/plugin-after-tests.lua
4
3893
-- vim:foldmethod=marker local repl = require 'repl' pcall(require, 'luarocks.loader') require 'Test.More' local utils = require 'test-utils' plan(26) local clone = repl:clone() do -- basic tests {{{ local with_plugin = clone:clone() local has_called_normal local has_called_after function with_plugin:foo()...
mit
MNKgod/darkstar
scripts/zones/Port_Bastok/npcs/_6kt.lua
61
1067
----------------------------------- -- Area: Port Bastok -- NPC: Drawbridge ----------------------------------- require("scripts/globals/status"); ----------------------------------- ----------------------------------- -- onSpawn ----------------------------------- function onSpawn(npc) local elevator = { ...
gpl-3.0
sujeet14108/luci
applications/luci-app-olsr/luasrc/controller/olsr.lua
36
9890
module("luci.controller.olsr", package.seeall) local neigh_table = nil local ifaddr_table = nil function index() local ipv4,ipv6 if nixio.fs.access("/etc/config/olsrd") then ipv4 = 1 end if nixio.fs.access("/etc/config/olsrd6") then ipv6 = 1 end if not ipv4 and not ipv6 then return end require("luci.mo...
apache-2.0
cornernote/minetest-modulator_game
mods/nature/habitat/init.lua
2
2262
--Habitat is a mod which adds the function to spawn nodes near certain nodes and away from others on map generate local function arrayContains(array, value) for _,v in pairs(array) do if v == value then return true end end return false end --HOW TO USE --minetest.register_on_generated...
gpl-3.0
ld-test/luakatsu
luakatsu/lib/groups.lua
3
2047
return function(idols) return { { {"name", "Soleil"}, name_rm = "Soleil", {"members", {idols.Ichigo, idols.Aoi, idols.Ran}}, {"songs", {"ダイヤモンドハッピー"}} }, { {"name", "Powa²×PuRiRiN"}, name_rm = "Powapuri", {"members", {idols.Shion, idols.Otome, idols.Sakura}}, {"songs", {"Angel Snow"}} }, { ...
mit
sujeet14108/luci
applications/luci-app-freifunk-diagnostics/luasrc/controller/freifunk/diag.lua
62
1809
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2013 Manuel Munz <freifunk@somakoma.de> -- Licensed to the public under the Apache License 2.0. module("luci.controller.freifunk.diag", package.seeall) function index() local uci = require("luci.model...
apache-2.0
raphaelamorim/fblualib
fblualib/util/fb/util/trace.lua
5
8607
-- -- Copyright (c) 2014, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the BSD-style license found in the -- LICENSE file in the root directory of this source tree. An additional grant -- of patent rights can be found in the PATENTS file in the same directory. -- -- Tracing faci...
bsd-3-clause
MNKgod/darkstar
scripts/zones/Temenos/mobs/Enhanced_Slime.lua
16
1045
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Slime ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------...
gpl-3.0
MNKgod/darkstar
scripts/zones/Port_San_dOria/npcs/Louis.lua
19
1269
----------------------------------- -- Area: Port San d'Oria -- NPC: Louis -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scripts/zones/Port_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action ---------------...
gpl-3.0
DhavalKapil/elasticsearch-lua
tests/endpoints/NodesTest/HotThreadsTest.lua
2
1257
-- Importing modules local HotThreads = require "elasticsearch.endpoints.Nodes.HotThreads" local MockTransport = require "lib.MockTransport" local getmetatable = getmetatable -- Setting up environment local _ENV = lunit.TEST_CASE "tests.endpoints.NodesTest.HotThreadsTest" -- Declaring local variables local endpoint l...
mit
MNKgod/darkstar
scripts/zones/Sacrificial_Chamber/npcs/_4j3.lua
19
1345
----------------------------------- -- Area: Sacrificial Chamber -- NPC: Mahogany Door -- @pos 19 -1 -4 163 ------------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/missions"...
gpl-3.0
MNKgod/darkstar
scripts/zones/AlTaieu/npcs/Swirling_Vortex.lua
17
1468
----------------------------------- -- Area: Al'Taieu -- NPC: Swirling_Vortex -- Type: Standard NPC -- @zone 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts/global...
gpl-3.0
thierryvolpiatto/my-dvc-branch
lisp/xmtn-hooks.lua
3
2911
-- xmtn-hooks.lua --- mtn Lua hook functions used in all xmtn automate -- stdio sessions -- -- Copyright (C) 2010 Stephen Leake -- -- Author: Stephen Leake -- Keywords: tools -- -- This file is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -...
gpl-2.0
gdavegdave/OpenRA
mods/d2k/maps/atreides-03a/atreides03a-AI.lua
5
4155
--[[ Copyright 2007-2017 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
MNKgod/darkstar
scripts/zones/Sacrarium/npcs/qm6.lua
17
1739
----------------------------------- -- Area: Sacrarium -- NPC: qm6 (???) -- Notes: Used to spawn Old Prof. Mariselle -- @pos 62.668 -3.111 -127.310 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacr...
gpl-3.0
Team-Permadeath/geomancer
TopFloorWorld.lua
1
4506
Class = require "Lib.hump.class" require "TiledMap" TOP_EMPTY_TILE = 0 TOP_BACKGROUND_TILE = 1 TOP_STONE_TILE = 2 TOP_METAL_DOOR = 3 TOP_SLIME_BIG = 6 TOP_SLIME_SMALL = 5 TOP_ROGER = 7 TopFloorWorld = Class{ init = function(self) -- init tiled map -- set free tiles where player can walk into self:loadMap() -...
gpl-3.0
MNKgod/darkstar
scripts/globals/mobskills/PW_Decussate.lua
25
1030
--------------------------------------------- -- Decussate -- -- Description: Performs a cross attack on nearby targets. -- Type: Magical -- Utsusemi/Blink absorb: 2-3 shadows? -- Range: Less than or equal to 10.0 -- Notes: Only used by Gulool Ja Ja when below 35% health. ---------------------------------------...
gpl-3.0
sujeet14108/luci
applications/luci-app-ushare/luasrc/model/cbi/ushare.lua
62
1088
-- Copyright 2008 Yanira <forum-2008@email.de> -- Licensed to the public under the Apache License 2.0. m = Map("ushare", translate("uShare"), luci.util.pcdata(translate("uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server component that provides UPnP media devices with information on available mul...
apache-2.0
MNKgod/darkstar
scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Jidwahn.lua
17
1239
----------------------------------- -- Area: Silver sea route to Mhaura -- NPC: Jidwahn -- Guild Merchant NPC: Fishing Guild -- @pos 4.986 -2.101 -12.026 58 ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil; ----------------------------------- requ...
gpl-3.0
MNKgod/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
mahdib9/mah2
plugins/ingroup.lua
31
48800
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
Polkm/underdone
gamemode/core/sharedfiles/sh_camera.lua
1
4853
GM.ConVarCammeraDistance = CreateClientConVar("ud_cammeradistance", 100, true, false) GM.AddativeCammeraDistance = 0 GM.CammeraDelta = 0.4 GM.LastLookPos = nil local Player = FindMetaTable("Player") function Player:GetIdealCamPos() local vecPosition = self:EyePos() local intDistance = GAMEMODE.ConVarCammeraDistanc...
mit
MNKgod/darkstar
scripts/globals/items/loaf_of_hobgoblin_bread.lua
35
1378
----------------------------------------- -- ID: 4328 -- Item: loaf_of_hobgoblin_bread -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 3 -- Charisma -7 -- Health Regen While Healing 2 ----------------------------------------- require("scripts/globals/statu...
gpl-3.0