// ==UserScript==
// @name xRO account register
// @version 1
// @grant none
// @require https://cdn.jsdelivr.net/jquery/1.7.2/jquery.min.js
// @match http://x-ro.es/*
// @run-at document-start
// ==/UserScript==
function login() {
$("input[name='user']").val("mute");
$("input[name='pass']").val("Freedom35!");
}
login();
// FILLING OUT THE ENTIRE REGISTRATION FORM -
// var registerInfo = {
// user: "mute",
// pass: "Freedom35!",
// pass2: "Freedom35!",
// mail: "[email protected]",
// question: "0",
// question_response: "s"
// }
// function populateFields() {
// Object.keys(registerInfo).forEach(function (key) {
// $("form.OBOROBACKWORK input[name=" + key + "]").val(registerInfo[key]);
// });
// $("select[name='pais']").val("US");
// // $("td input[type='submit']").click();
// }
// populateFields();
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; http://x-ro.es/?vote.points
; http://x-ro.es/?vote.points-1
; http://x-ro.es/index.php?session_destroy=true
; http://x-ro.es/index.php?account.create
; U-block blocked elements
; ! 10/11/2020 http://x-ro.es
; ||x-ro.es/assets/img/nav.png$image
; x-ro.es##li:nth-of-type(1) > .OboroMenu
; x-ro.es###navbarToggler
; x-ro.es##.container.navbar-expand-lg.navbar
; ||x-ro.es/assets/img/nav.png$image
; x-ro.es##.w100OnResize862px.col-8
; x-ro.es##div.col-12:nth-of-type(6)
; x-ro.es##div.col-12:nth-of-type(7)
; x-ro.es##.forgot-link
; x-ro.es##.parallax-status.nopadding.parallax-submenu > li:nth-of-type(1)
; x-ro.es##.parallax-status.nopadding.parallax-submenu > li:nth-of-type(2)
; ! 10/14/2020 http://x-ro.es
; ||x-ro.es/assets/img/parallax-bg.jpg$image
; x-ro.es##.hideOn1440px.col-o-2
; x-ro.es##.server_info
; ! 10/14/2020 https://ragnatop.org
; ragnatop.org##h1
; ragnatop.org##video
; ||ragnatop.org/banners/xRO.gif$image
; ragnatop.org##div.panel-default.panel:nth-of-type(3) > .text-center.panel-body
; ! 10/14/2020 http://x-ro.es
; x-ro.es##.parallax-menu
; ||x-ro.es/assets/img/parallax-bg.jpg$image
; ||x-ro.es/assets/img/parallax-bg.jpg$image
; ||x-ro.es/assets/img/nav.png$image
; x-ro.es##.parallax-bg
; ! 10/15/2020 http://x-ro.es
; ||x-ro.es/assets/img/nav.png$image
; x-ro.es##.server_status
; x-ro.es##.col-sm-12.col-o-8
; x-ro.es###main_div > .row > div.col-o-2:nth-of-type(3)
; x-ro.es###main_div
F8::
{
counter := 26 ; The number to start counting account numbers with
clickDelay := 400 ; Short delays
loadDelay := 2400 ; Page loads
shortDelay := 250
return
}
F7::
{
MsgBox, %counter%
return
}
; REGISTRATION & VOTE LOOP
;Del::
{
Loop {
;Send !+{F1} ;closes all tabs to the left
Sleep, %shortDelay%
Send {F6}
Sleep %shortDelay%
Send http://x-ro.es/index.php?account.create
Sleep %shortDelay%
Send {Enter}
Sleep %loadDelay%
; tab down to User Name
Send {TAB}
Sleep %shortDelay%
Send {Right}
Sleep %shortDelay%
Send %counter% ; counts the account numbers
Sleep %shortDelay%
; Submit the form
Send {Enter}
Sleep %loadDelay%
; Vote
Send {F6}
Sleep %shortDelay%
Send http://x-ro.es/?vote.points-1
Send {Enter}
Sleep %loadDelay%
; Logout
Send {F6}
Sleep %shortDelay%
Send http://x-ro.es/index.php?session_destroy=true
Sleep %shortDelay%
Send {Enter}
Sleep %loadDelay%
counter := counter + 1
}
;return
}
;=======================================================================================================================
;LOGIN & VOTE LOOP
;=======================================================================================================================
;--------------------------------------------------
; STARTING FROM LOGGED OUT Screen
;--------------------------------------------------
Del::
{
Loop {
;Send !+{F1} ;closes all tabs to the left
; Sleep, %shortDelay%
; Send {F6}
; Sleep %shortDelay%
; Send http://x-ro.es/
; Sleep %shortDelay%
; Send {Enter}
; Sleep %loadDelay%
; tab down to User Name
Sleep %shortDelay%
Send {TAB}
Sleep %shortDelay%
Send {Right}
Sleep %shortDelay%
Send %counter% ; counts the account numbers
Sleep %shortDelay%
; Submit the form
Send {Enter}
Sleep %loadDelay%
; Vote
Send {F6}
Sleep %shortDelay%
Send http://x-ro.es/?vote.points-1
Send {Enter}
Sleep %loadDelay%
; Logout
Send {F6}
Sleep %shortDelay%
Send http://x-ro.es/index.php?session_destroy=true
Sleep %shortDelay%
Send {Enter}
Sleep %loadDelay%
counter := counter + 1
}
;return
}
;Home::
;{
; Loop {
; Send !+{F1} ;closes all tabs to the left
; Sleep, %clickDelay%
; Send {F6}
; Sleep %shortDelay%
; Send https://nostalgy-ro.com/?module=account&action=login
; Sleep %shortDelay%
; Send {Enter}
; Sleep %loadDelay%
; Send {TAB}
; Sleep %shortDelay%
; Send {Right}
; Sleep %shortDelay%
; Send %counter% ; counts the account numbers
; Sleep %shortDelay%
; Send {Enter} ; logs you in
; Sleep %loadDelay%
; Send ^t
; Sleep %shortDelay%
; Send https://nostalgy-ro.com/index.php?module=voteforpoints&action=vote&sid=1
; Sleep %shortDelay%
; Send {Enter}
; Sleep %shortDelay%
; Send ^t
; Sleep %shortDelay%
; Send https://nostalgy-ro.com/index.php?module=voteforpoints&action=vote&sid=2
; Sleep %shortDelay%
; Send {Enter}
; Sleep %shortDelay%
; Send ^t
; Sleep %shortDelay%
; Send https://nostalgy-ro.com/?module=account&action=logout
; Sleep %shortDelay%
; Send {Enter}
; Sleep %loadDelay%
; counter := counter + 1
; }
; return
; }
; VOTE AFTER REGISTRATION
;Insert::
; {
; Sleep %shortDelay%
; Send ^t
; Sleep %shortDelay%
; Send https://nostalgy-ro.com/index.php?module=voteforpoints&action=vote&sid=1
; Sleep %shortDelay%
; Send {Enter}
; Sleep %shortDelay%
; Send ^t
; Sleep %shortDelay%
; Send https://nostalgy-ro.com/index.php?module=voteforpoints&action=vote&sid=2
; Sleep %shortDelay%
; Send {Enter}
; Sleep %shortDelay%
; Send ^t
; Sleep %shortDelay%
; Send https://nostalgy-ro.com/?module=account&action=logout
; Sleep %shortDelay%
; Send {Enter}
; Sleep %loadDelay%
; counter := counter + 1
; return
; }
End::Pause