repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
AresTao/darkstar
scripts/zones/Riverne-Site_A01/npcs/_0u4.lua
17
1341
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_A01/Text...
gpl-3.0
AresTao/darkstar
scripts/zones/Ruhotz_Silvermines/Zone.lua
36
1131
----------------------------------- -- -- Zone: Ruhotz_Silvermines -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Ruhotz_Silvermines/TextIDs"] = nil; require("scripts/zones/Ruhotz_Silvermines/TextIDs"); ----------------------------------- -- onI...
gpl-3.0
AresTao/darkstar
scripts/zones/Sauromugue_Champaign/TextIDs.lua
7
1425
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6397; -- Obtained: <item>. GIL_OBTAINED = 6398; -- Obtained <number> gil. KEYITEM_OBTAINED = 6400; -- Obtained...
gpl-3.0
kidaa/luvit
tests/test-net-connect-handle-econnrefused.lua
11
1147
--[[ Copyright 2012-2015 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
apache-2.0
AresTao/darkstar
scripts/zones/Promyvion-Mea/Zone.lua
25
7397
----------------------------------- -- -- Zone: Promyvion-Mea (20) -- ----------------------------------- package.loaded["scripts/zones/Promyvion-Mea/TextIDs"] = nil; ---------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/missions"...
gpl-3.0
prosody-modules/import
mod_auth_ccert/mod_auth_ccert.lua
32
2651
-- Copyright (C) 2013 Kim Alvefur -- -- This file is MIT/X11 licensed. local jid_compare = require "util.jid".compare; local jid_split = require "util.jid".prepped_split; local new_sasl = require "util.sasl".new; local now = os.time; local log = module._log; local subject_alternative_name = "2.5.29.17"; local id_on_x...
mit
mehulsbhatt/ntopng
scripts/lua/hosts_flows_matrix.lua
2
4832
-- -- (C) 2013-15 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" if(mode ~= "embed") then sendHTTPHeader('text/html; charset=iso-8859-1') ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc") active_page = "hosts...
gpl-3.0
AresTao/darkstar
scripts/zones/Mhaura/npcs/Take.lua
17
4380
----------------------------------- -- Area: Mhaura -- NPC: Take -- Involved In Quest: RYCHARDE_THE_CHEF -- Starts and finishes quest: Expertice ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); ...
gpl-3.0
omidas77/speedbot
plugins/security.lua
2
39929
--Begin security.lua --Prerequisite: local function lock_group_media(msg, data, target) if not is_momod(msg) then return end local group_media_lock = data[tostring(target)]['settings']['lock_media'] if group_media_lock == 'yes' then return 'قفل رسانه از قبل فعال است .' else data[tostring(target)...
gpl-2.0
rainwoodman/fastPM
src/lua-runtime-fastpm.lua
1
22660
---------------------------------------------------- -- This is the main LUA runtime library of FastPM. -- -- Author: Yu Feng <rainwoodman@gmail.com> 2016 ---------------------------------------------------- local config = require("lua-runtime-config") local _NAME = ... or 'main' local fastpm = {} local schema = co...
gpl-3.0
AresTao/darkstar
scripts/zones/Misareaux_Coast/npcs/_0p2.lua
28
1874
----------------------------------- -- Area: Misareaux Coast -- NPC: Dilapidated Gate -- Entrance to Riverne Site #B01 ----------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/z...
gpl-3.0
mehulsbhatt/ntopng
scripts/lua/hosts_interaction.lua
1
14937
-- -- (C) 2013-15 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" -- host_info = url2hostinfo(_GET) if(host_ip == nil) then host_info = url2hostinfo(_GET) else -- print("host_ip:"..host_ip.."<br>") host_info = {} host_...
gpl-3.0
AresTao/darkstar
scripts/globals/spells/bluemagic/mysterious_light.lua
18
1889
----------------------------------------- -- Spell: Mysterious Light -- Deals wind damage to enemies within range. Additional effect: Weight -- Spell cost: 73 MP -- Monster Type: Arcana -- Spell Type: Magical (Wind) -- Blue Magic Points: 4 -- Stat Bonus: AGI+3 -- Level: 40 -- Casting Time: 3.75 seconds -- Rec...
gpl-3.0
AresTao/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua
16
1477
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated Tabar ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- functio...
gpl-3.0
Gedo789/TrackAssemblyTool
lua/trackassembly/lang/ru.lua
1
12282
return function(sTool, sLimit) local tSet = {} -- Russian tSet["tool."..sTool..".workmode.1" ] = "Общее создание/прилепание куски" tSet["tool."..sTool..".workmode.2" ] = "Пересечение активной точки" tSet["tool."..sTool..".workmode.3" ] = "Кривой отрезок линии фитинг" tSet["tool."..sTool..".workmode.4"...
agpl-3.0
AresTao/darkstar
scripts/zones/Abyssea-Attohwa/npcs/Cavernous_Maw.lua
17
1245
----------------------------------- -- Area: Abyssea - Attohwa -- NPC: Cavernous Maw -- @pos -133.197 20.242 -181.658 215 -- Notes: Teleports Players to Buburimu Peninsula ----------------------------------- package.loaded["scripts/zones/Abyssea-Attohwa/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
AresTao/darkstar
scripts/zones/Heavens_Tower/npcs/Chumimi.lua
17
5934
----------------------------------- -- Area: Heaven's Tower -- NPC: Chumimi -- Starts and Finishes Quest: The Three Magi, Recollections -- @pos 0.1 30 21 242 ----------------------------------- package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
AresTao/darkstar
scripts/zones/Vunkerl_Inlet_[S]/npcs/Leafy_Patch.lua
45
1646
----------------------------------- -- Area: Vunkerl Inlet (S) (F-5) -- NPC: Leafy Patch -- Involved in Quests -- @pos -418 -33 576 ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- re...
gpl-3.0
AresTao/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pahpe_Rauulih.lua
38
1053
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pahpe Rauulih -- Type: Standard NPC -- @zone: 94 -- @pos -39.740 -4.499 53.223 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
AresTao/darkstar
scripts/zones/Western_Altepa_Desert/Zone.lua
27
4592
----------------------------------- -- -- Zone: Western_Altepa_Desert (125) -- ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Western_Al...
gpl-3.0
AresTao/darkstar
scripts/zones/Castle_Oztroja/npcs/_47v.lua
17
1251
----------------------------------- -- Area: Castle Oztroja -- NPC: _47v (Handle) -- Notes: Opens door _472 from behind -- @pos -61 0 -36 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_O...
gpl-3.0
patrikrm13/AVENGERS_ANTISPAMEER
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
AresTao/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#4.lua
19
1216
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: HomePoint#4 -- @pos -99 -6 -68 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("scr...
gpl-3.0
AresTao/darkstar
scripts/globals/weaponskills/ruinator.lua
30
1646
----------------------------------- -- Ruinator -- Axe weapon skill -- Skill level: 357 -- Description: Delivers a four-hit attack. params.accuracy varies with TP -- In order to obtain Ruinator, the quest Martial Mastery must be completed. -- This Weapon Skill's first hit params.ftp is duplicated for all addition...
gpl-3.0
yinjun322/skynet
lualib/http/httpc.lua
42
2906
local socket = require "http.sockethelper" local url = require "http.url" local internal = require "http.internal" local string = string local table = table local httpc = {} local function request(fd, method, host, url, recvheader, header, content) local read = socket.readfunc(fd) local write = socket.writefunc(fd)...
mit
balabit/zorp-openwrt-feed
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/ruleconfig.lua
14
4185
-- ------ extra functions ------ -- function ruleCheck() -- determine if rule needs a protocol specified local sourcePort = ut.trim(sys.exec("uci get -p /var/state mwan3." .. arg[1] .. ".src_port")) local destPort = ut.trim(sys.exec("uci get -p /var/state mwan3." .. arg[1] .. ".dest_port")) if sourcePort ~= "" or d...
gpl-2.0
goldpizza44/automation
asterisk/etc/extensions.lua
1
5756
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "Zap/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "Zap/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table name...
gpl-3.0
wizardbottttt/X
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
omidas77/speedbot
plugins/plugins.lua
28
6273
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
AresTao/darkstar
scripts/globals/items/sausage.lua
35
1650
----------------------------------------- -- ID: 4578 -- Item: sausage -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 3 -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Ranged ATT % 27 -- Ranged ATT Cap 30 ----------------------------------------- ...
gpl-3.0
AdiAddons/AdiButtonAuras
config/UserRules.lua
1
7594
--[[ AdiButtonAuras - Display auras on action buttons. Copyright 2013-2022 Adirelle (adirelle@gmail.com) All rights reserved. This file is part of AdiButtonAuras. AdiButtonAuras 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 Softwa...
gpl-3.0
AresTao/darkstar
scripts/zones/Port_Bastok/npcs/Rosswald.lua
36
1683
----------------------------------- -- Area: Port Bastok -- NPC: Rosswald -- Only sells when Bastok controlls Zulkheim Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok...
gpl-3.0
AresTao/darkstar
scripts/zones/Southern_San_dOria/npcs/Maugie.lua
13
2496
----------------------------------- -- Area: Southern San d'Oria -- NPC: Maugie -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ------------------------------------- require("scripts/globals/settings"); require("scripts/globals/que...
gpl-3.0
mohammadmtf/TeleSeed
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` 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_prin...
gpl-2.0
ArduPilot/ardupilot
libraries/AP_Scripting/examples/LED_roll.lua
26
2127
--[[ Script to control LED strips based on the roll of the aircraft. This is an example to demonstrate the LED interface for WS2812 LEDs --]] --[[ for this demo we will use a single strip with 30 LEDs --]] local num_leds = 30 --[[ use SERVOn_FUNCTION 94 for LED. We can control up to 16 separate strips of LEDs by pu...
gpl-3.0
DeinFreund/Zero-K
units/spiderriot.lua
1
3356
unitDef = { unitname = [[spiderriot]], name = [[Redback]], description = [[Riot Spider]], acceleration = 0.22, brakeRate = 0.66, buildCostMetal = 250, buildPic = [[spiderriot.png]], canGuard = true, c...
gpl-2.0
AresTao/darkstar
scripts/zones/Windurst_Walls/npcs/Juvillie.lua
38
1041
----------------------------------- -- Area: Windurst Walls -- NPC: Juvillie -- Type: Event Replayer -- @zone: 239 -- @pos -180.731 -3.451 143.138 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; --------...
gpl-3.0
sipefree/guildpanel
Libs/AceConfig-3.0/AceConfig-3.0.lua
1
1578
--- AceConfig-3.0 wrapper library. -- Provides an API to register an options table with the config registry, -- as well as associate it with a slash command. -- @class file -- @name AceConfig-3.0 -- @release $Id: AceConfig-3.0.lua 710 2008-12-19 10:14:39Z nevcairiel $ --[[ AceConfig-3.0 Very light wrapper l...
gpl-3.0
NeoRaider/luci
modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua
74
1261
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.mini.index", package.seeall) function index() local root = node() if not root.lock then root.target = alias("mini") root.index =...
apache-2.0
NeoRaider/luci
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua
78
2244
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. require("luci.sys") require("luci.sys.zoneinfo") require("luci.tools.webadmin") require("luci.util") m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device li...
apache-2.0
AresTao/darkstar
scripts/globals/spells/bluemagic/regurgitation.lua
18
2057
----------------------------------------- -- Spell: Regurgitation -- Deals Water damage to an enemy. Additional Effect: Bind -- Spell cost: 69 MP -- Monster Type: Lizards -- Spell Type: Magical (Water) -- Blue Magic Points: 1 -- Stat Bonus: INT+1 MND+1 MP+3 -- Level: 68 -- Casting Time: 5 seconds -- Recast Ti...
gpl-3.0
AresTao/darkstar
scripts/globals/spells/hyoton_ni.lua
17
1247
----------------------------------------- -- Spell: Hyoton: Ni -- Deals ice damage to an enemy and lowers its resistance against fire. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----...
gpl-3.0
tysonliddell/OpenRA
mods/d2k/maps/ordos-02b/ordos02b-AI.lua
8
1137
--[[ Copyright 2007-2020 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
AresTao/darkstar
scripts/zones/Cloister_of_Gales/bcnms/trial_by_wind.lua
19
1769
----------------------------------- -- Area: Cloister of Gales -- BCNM: Trial by Wind -- @zone -361 1 -381 201 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"...
gpl-3.0
wizardbottttt/X
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
Blu3wolf/HARDmod
prototypes/module.lua
1
2416
--[[Speed Modules]]-- data.raw["recipe"]["speed-module"].ingredients = {{"processing-unit", 2},{"module-case-mk1", 1}} data.raw["recipe"]["speed-module"].energy_required = 10 data.raw["module"]["speed-module"].subgroup = "speed-module" data.raw["recipe"]["speed-module-2"].ingredients = {{"motherboard", 1},{"heatsink",...
gpl-2.0
kidaa/luvit
tests/test-tls-connect-simple.lua
11
1050
require('tap')(function (test) local fixture = require('./fixture-tls') local tls = require('tls') local options = { cert = fixture.certPem, key = fixture.keyPem } local serverConnected = 0 local clientConnected = 0 local server local client1 test("tls connect simple test", function() ...
apache-2.0
AresTao/darkstar
scripts/globals/settings.lua
13
12083
----------------------------------------------- ------------- GLOBAL SETTINGS ------------- ----------------------------------------------- -- This is to allow server operators to further customize their servers. As more features are added to pXI, the list will surely expand. -- Anything scripted can be cust...
gpl-3.0
AresTao/darkstar
scripts/zones/RuAun_Gardens/npcs/qm1.lua
16
1435
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: ??? (Genbu's Spawn) -- Allows players to spawn the HNM Genbu with a Gem of the North and a Winterstone. -- @pos 257 -70 517 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; -------------------...
gpl-3.0
brson/heka-rs
test/fxa_active_daily_users.lua
1
1541
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. require "circular_buffer" require "hyperloglog" require "math" local rows = 365 local sec_per_row = 60 * ...
mpl-2.0
AresTao/darkstar
scripts/zones/PsoXja/npcs/_09g.lua
17
1222
----------------------------------- -- Area: Pso'Xja -- NPC: Avatars Gate ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/PsoXja/TextIDs"); require("scripts/globals/keyite...
gpl-3.0
AresTao/darkstar
scripts/globals/items/fish_mithkabob.lua
35
1468
----------------------------------------- -- ID: 4398 -- Item: fish_mithkabob -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Vitality 2 -- Mind -1 -- Defense % 25 -- Defense Cap 90 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
DeinFreund/Zero-K
effects/lasers.lua
6
39354
-- gatorlaserflash -- flash1red2 -- flashlazer -- lasers_sparks1 -- lasers_melt1 -- flash1orange -- comlaserflash -- flash1purple -- lasers_melt3 -- flash1blue -- flash1green -- flash1red -- lasers_melt2 -- lasers_sparksr1 -- flash1yellow -- flash1white -- coregreen return { ["gatorlaserflash"] = { usedefaultexp...
gpl-2.0
9seconds/dotfiles
neovim/lua/_lsp.lua
1
3546
local M = { servers={}, null_ls={ code_actions={}, diagnostics={}, formattings={}, hovers={}, completions={}, customs={} } } -- this function is executed when LSP attaches to a buffer. local function on_attach(client, bufnr) local navic = require("nvim-navic") navic.attach(client, bu...
mit
matthewbauer/wesnoth
data/ai/micro_ais/cas/ca_forest_animals_tusker_attack.lua
26
2575
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local function get_tuskers(cfg) local tuskers = AH.get_units_with_moves { side = wesnoth.current.side, type = cfg.tusker_type } return tuskers end local function get_adjacent_enemies(cfg) local...
gpl-2.0
AresTao/darkstar
scripts/zones/Cape_Teriggan/npcs/HomePoint#1.lua
19
1196
----------------------------------- -- Area: Cape Teriggan -- NPC: HomePoint#1 -- @pos -303 -8 526 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Cape_Teriggan/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
erfan1292/sezar
plugins/expire.lua
4
1948
local filename='data/expire.lua' local cronned = load_from_file(filename) local function save_cron(msg, text,date) local origin = get_receiver(msg) if not cronned[date] then cronned[date] = {} end local arr = { origin, text } ; table.insert(cronned[date], arr) serialize_to_file(cronned, file...
gpl-2.0
socurites/tic-tac-toe-rl.torch
TicTacToeMemory.lua
1
2587
--[[ -- Relay Memory for Tic Tac Toe -- @maxMemory number the max number of experience to be remembered -- @discount number the discount factor ]]-- function TicTacToeMemory(maxMemory, discount) local memory = {} -- Appends the experience to the memory. -- @param memoryInput table the newly expierenced...
mit
AresTao/darkstar
scripts/zones/Castle_Zvahl_Keep/npcs/HomePoint#1.lua
17
1261
----------------------------------- -- Area: Castle_Zvahl_Keep -- NPC: HomePoint#1 -- @pos -554 -70 66 162 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Castle_Zvahl_Keep/TextIDs"); require("s...
gpl-3.0
AresTao/darkstar
scripts/globals/weaponskills/realmrazer.lua
30
1450
----------------------------------- -- Realmrazer -- Club weapon skill -- Skill Level: 357 -- Delivers a seven-hit attack. params.accuracy varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget & Soil Gorget. -- Aligned with the Shadow Belt & Soil Belt. -- Element: None -- Modifiers...
gpl-3.0
letoram/arcan-legacy
attic/streamer/streamer.lua
1
22126
-- -- Development test-script for the layout config tool -- settings = { out_url = "rtmp://", record_fps = 30, record_vqual= 6, record_aqual= 4, record_res = 480, record_vpts = 12, record_apts = 0 }; soundmap = {}; function get_recstr() local recstr = "vcodec=H264:container=%s:acodec=MP3:fps=%d:" .. "...
unlicense
AdiAddons/AdiButtonAuras
core/AuraTools.lua
1
7609
--[[ AdiButtonAuras - Display auras on action buttons. Copyright 2013-2022 Adirelle (adirelle@gmail.com) All rights reserved. This file is part of AdiButtonAuras. AdiButtonAuras 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 Softwa...
gpl-3.0
AresTao/darkstar
scripts/globals/items/cup_of_chocomilk.lua
35
1163
----------------------------------------- -- ID: 4498 -- Item: cup_of_chocomilk -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic Regen While Healing 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -...
gpl-3.0
AresTao/darkstar
scripts/globals/spells/ionohelix.lua
22
1721
-------------------------------------- -- Spell: Ionohelix -- Deals lightning damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/glob...
gpl-3.0
thess/OpenWrt-luci
applications/luci-app-pbx/luasrc/model/cbi/pbx-advanced.lua
99
14473
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 ...
apache-2.0
DeinFreund/Zero-K
LuaUI/Widgets/api_selectionsend.lua
9
3751
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "Selection Send", desc = "v0.02 Sends and Receives IDs of selected units to allies to be used b...
gpl-2.0
AresTao/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/Ajimo-Majimo_WW.lua
30
3078
----------------------------------- -- Area: The Sanctuary of Zi'Tah -- NPC: Ajimo-Majimo, W.W. -- Outpost Conquest Guards -- @pos -40.079 -0.642 -148.785 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
AresTao/darkstar
scripts/zones/Quicksand_Caves/Zone.lua
17
5995
----------------------------------- -- -- Zone: Quicksand_Caves (208) -- ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/zo...
gpl-3.0
AresTao/darkstar
scripts/globals/spells/bluemagic/regeneration.lua
46
1483
----------------------------------------- -- Spell: Regeneration -- Gradually restores HP -- Spell cost: 36 MP -- Monster Type: Aquans -- Spell Type: Magical (Light) -- Blue Magic Points: 2 -- Stat Bonus: MND+2 -- Level: 78 -- Casting Time: 2 Seconds -- Recast Time: 60 Seconds -- Spell Duration: 30 ticks, 90 Seconds --...
gpl-3.0
AresTao/darkstar
scripts/zones/Hall_of_Transference/npcs/_0e1.lua
32
1340
----------------------------------- -- Area: Hall of Transference -- NPC: Cermet Gate - Dem -- @pos -220 -46 -279 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/H...
gpl-3.0
AresTao/darkstar
scripts/zones/Valkurm_Dunes/npcs/Quanteilleron_RK.lua
28
3133
----------------------------------- -- Area: Valkurm Dunes -- NPC: Quanteilleron, R.K. -- Outpost Conquest Guards -- @pos 144 -7 104 103 ------------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; ------------------------------------- require("scripts/globals/conquest")...
gpl-3.0
socurites/tic-tac-toe-rl.torch
test.lua
1
8036
require 'nn' require 'optim' require 'TicTacToeMemory' require 'TicTacToeEnvironment' require 'TicTacToeRandomAgent' require 'TicTacToeQLearningAgent' require 'TicTacToeUtil' local cmd = torch.CmdLine() cmd:text('Training options') cmd:option('-epsilon', 0.9, 'The probability of choosing a random action (in training)....
mit
AresTao/darkstar
scripts/globals/spells/diaga_ii.lua
18
1869
----------------------------------------- -- Spell: Diaga II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ---------------------------...
gpl-3.0
AresTao/darkstar
scripts/globals/mobskills/Light_Blade.lua
21
1350
--------------------------------------------- -- Light Blade -- Description: Deals very high physical damage to a single player. -- Type: Ranged -- Damage decreases the farther away the target is from him. --------------------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
trishume/hammerspoon
extensions/fnutils/init.lua
1
7458
--- === hs.fnutils === --- --- Functional programming utility functions local fnutils = {} --- hs.fnutils.map(table, fn) -> table --- Function --- Execute a function across a table and collect the results --- --- Parameters: --- * table - A table containing some sort of data --- * fn - A function that accepts a si...
mit
kidaa/luvit
tests/test-tls-junk-closes-server.lua
11
1323
--[[ Copyright 2012-2015 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or...
apache-2.0
AresTao/darkstar
scripts/zones/Port_Windurst/npcs/Odilia.lua
38
1029
----------------------------------- -- Area: Port Windurst -- NPC: Odilia -- Type: Standard NPC -- @zone: 240 -- @pos 78.801 -6 118.653 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; --------------------...
gpl-3.0
DeinFreund/Zero-K
units/vehaa.lua
1
4139
unitDef = { unitname = [[vehaa]], name = [[Crasher]], description = [[Fast Anti-Air Rover]], acceleration = 0.05952, brakeRate = 0.14875, buildCostMetal = 220, builder = false, buildPic = [[vehaa.png]]...
gpl-2.0
AresTao/darkstar
scripts/zones/Altar_Room/npcs/Hooknox.lua
38
1033
----------------------------------- -- Area: Altar Room -- NPC: Hooknox -- Type: Standard NPC -- @zone: 152 -- @pos -265.248 11.693 -102.547 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil; ----------------...
gpl-3.0
AresTao/darkstar
scripts/globals/abilities/sic.lua
28
1058
----------------------------------- -- Ability: Sic -- Commands the charmed Pet to make a random special attack. -- Obtained: Beastmaster Level 25 -- Recast Time: 2 minutes -- Duration: N/A ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); -----------...
gpl-3.0
wizardbottttt/X
plugins/twitter_send.lua
627
1555
do local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local client = OAuth.new(consumer_key, consumer_secret, { RequestToken = "https://api.twitter.com/oauth/request_token", AuthorizeUser = {"https://api.twitter.com/oauth/autho...
gpl-2.0
AresTao/darkstar
scripts/zones/Mhaura/npcs/Nomad_Moogle.lua
34
1116
----------------------------------- -- Area: Mhaura -- NPC: Nomad Moogle ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/settings"); ------------------------------...
gpl-3.0
roboxt/fik
plugins/ActiveUser.lua
11
11812
local function checktodaygr(cb_extra, success, result) local hash = '' local thash='' for k,user in pairs(result.members) do thash = 'today:'..user.peer_id if redis:get(thash) then if redis:get(thash) < os.date("%x",os.time() + 16200) then hash = 'utmsgst:'..user.peer_id..':'..cb_extra redis:set(hash,0) ...
gpl-2.0
AresTao/darkstar
scripts/zones/Windurst_Walls/npcs/Zayhi-Bauhi.lua
17
5268
----------------------------------- -- Area: Windurst Walls -- Location: X:-91 Y:-9 Z:109 -- NPC: Zayhi-Bauhi -- Working 100% -- Starts and Finishes Quest: To Bee or Not to Bee? ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; -------------------------------...
gpl-3.0
AresTao/darkstar
scripts/globals/items/imperial_omelette.lua
35
2869
----------------------------------------- -- ID: 4331 -- Item: imperial_omelette -- Food Effect: 240Min, All Races ----------------------------------------- -- Non Elvaan Stats -- Strength 5 -- Dexterity 2 -- Intelligence -3 -- Mind 4 -- Attack % 22 -- Attack Cap 70 -- Ranged ATT % 22 -- Ranged ATT Cap 7...
gpl-3.0
letoram/arcan-legacy
resources/scripts/textfader.lua
1
2357
-- take one step forward, counting escape sequences and format values. local function utf8forward(src, ofs, steps) while (steps > 0) do if (ofs <= string.len(src)) then repeat ofs = ofs + 1; until (ofs > string.len(src) or utf8kind( string.byte(src, ofs) ) < 2); end steps = steps - 1; end return o...
unlicense
AresTao/darkstar
scripts/zones/Temenos/mobs/Beli.lua
16
1188
----------------------------------- -- Area: Temenos N T -- NPC: Beli ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); --------------------------------...
gpl-3.0
ld-test/prosody
tools/migration/migrator/mtools.lua
6
1037
local print = print; local t_insert = table.insert; local t_sort = table.sort; module "mtools" function sorted(params) local reader = params.reader; -- iterator to get items from local sorter = params.sorter; -- sorting function local filter = params.filter; -- filter function local cache = {}; for item in r...
mit
AresTao/darkstar
scripts/zones/AlTaieu/mobs/Jailer_of_Love.lua
23
5580
----------------------------------- -- Area: Al'Taieu -- NM: Jailer of Love ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------...
gpl-3.0
roboxt/fik
plugins/All.lua
14
4453
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
AresTao/darkstar
scripts/globals/abilities/addendum_white.lua
28
1647
----------------------------------- -- Ability: Addendum: White -- Allows access to additional White Magic spells while using Light Arts. -- Obtained: Scholar Level 10 -- Recast Time: Stratagem Charge -- Duration: 2 hours -- -- Level |Charges |Recharge Time per Charge -- ----- -------- --------------- -- 1...
gpl-3.0
AresTao/darkstar
scripts/globals/mobskills/Bloody_claw.lua
13
1312
--------------------------------------------- -- Terror Eye -- Family: Gargouille -- Description: Steals an enemy's HP. Additional effect: Reduces a random stat. -- Type: Physical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Melee -- Notes: Despite the attack ignoring Utsusemi, it is physical, and...
gpl-3.0
DeinFreund/Zero-K
LuaRules/Gadgets/CAI/astar.lua
9
7268
--------------------------------------------------------------------- --[[ author: quantum GPL v2 or later http://www.policyalmanac.org/games/aStarTutorial.htm http://en.wikipedia.org/wiki/A*_search_algorithm use: override IsBlocked, GetDistance, etc and run aStar.GetPath -- example -----------------------------...
gpl-2.0
DeinFreund/Zero-K
LuaRules/Gadgets/unit_untargetable.lua
5
1192
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
AresTao/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f7.lua
34
1110
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Leviathan's Gate -- @pos 249 -34 100 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextI...
gpl-3.0
prosody-modules/import
mod_client_certs/mod_client_certs.lua
27
13872
-- XEP-0257: Client Certificates Management implementation for Prosody -- Copyright (C) 2012 Thijs Alkemade -- -- This file is MIT/X11 licensed. local st = require "util.stanza"; local jid_bare = require "util.jid".bare; local jid_split = require "util.jid".split; local xmlns_saslcert = "urn:xmpp:saslcert:1"; local dm...
mit
AresTao/darkstar
scripts/zones/Chateau_dOraguille/npcs/Curilla.lua
17
5152
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Curilla -- Starts and Finishes Quest: The General's Secret, Enveloped in Darkness, Peace for the Spirit, Lure of the Wildcat (San d'Oria) -- @pos 27 0.1 0.1 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOrag...
gpl-3.0
resetnow/premake-core
tests/actions/vstudio/vc200x/test_compiler_block.lua
5
13282
-- -- tests/actions/vstudio/vc200x/test_compiler_block.lua -- Validate generation the VCCLCompiler element in Visual Studio 200x C/C++ projects. -- Copyright (c) 2011-2013 Jason Perkins and the Premake project -- local suite = test.declare("vs200x_compiler_block") local vc200x = premake.vstudio.vc200x --...
bsd-3-clause
mortezam1234/kkdfjkfl-
plugins/anti-flood.lua
281
2422
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 5 local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
AresTao/darkstar
scripts/zones/Windurst_Woods/npcs/Meriri.lua
19
1156
----------------------------------- -- Area: Windurst Woods -- NPC: Meriri -- Guild Merchant NPC: Clothcrafting Guild -- @pos -76.471 -3.55 -128.341 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0