Notes
![]() ![]() Notes - notes.io |
var wait = 0; //szybkoϾ skryptu 1-1000 im mniejsza wartoϾ tym szybciej
var useBlueBeans = false; // czy ma byæ u¿yta niebieska fasolka
var useRedBeans = true; // czy ma byæ u¿yta czerwona fasolka
//------------------------------------------------------------------------------------------------------
var quantityBlue = Math.floor(GAME.getCharMaxPr() / 100 * 0.3); //ile ma byæ u¿ytych niebieskich fasolek
var limitPA = Math.floor(GAME.getCharMaxPr() / 100 * 0.3) // iloœæ PA przy której u¿ywana jest fasolka
var stop = true; //zatrzyamnie skryptu
var killMystic = true; //zbijanie mistic
var checkSSJ=true;
var usedSenzu = false; // nie zmieniać tu nic
//---------------------------------------------------------------------------------------------------------
var checkOST = true;; //automatycznie włącza subke
var downb = false;
var whatNow = 0;
var subka=false;
var zmiana=true;
var $doubler_bar = document.getElementById('doubler_bar')
//---------------------WYGLAD----------------------------------
const $css = "#gh_game_helper {min-width:100px; padding:5px; border:solid gray 1px; background:rgba(22, 22, 93, 0.81); color:gold; position: fixed; top: 40px; right: 5px; z-index:5;}#gh_game_helper .gh_button {cursor:pointer;text-align:center; border-bottom:solid gray 1px;}";
const $html = "<div class='gh_button gh_exp'>Resp <b class='gh_status red'>Off</b></div><div class='gh_button gh_xost'>xOst <b class='gh_status red'>Off</b></div><div class='gh_button gh_x20'>x20 <b class='gh_status red'>Off</b></div>";
$('body').append("<div id='gh_game_helper'>"+$html+"</div>").append("<style>"+$css+"</style>");
var gk=GAME.pid;
/* ACTIONS */
$('#gh_game_helper .gh_exp').click(() => {
if (stop) {
$('#gh_game_helper .gh_exp')
$(".gh_exp .gh_status").removeClass("red").addClass("green").html("On");
stop = false
} else {
$('#gh_game_helper .gh_exp')
$(".gh_exp .gh_status").removeClass("green").addClass("red").html("Off");
stop = true
}
});
$('#gh_game_helper .gh_x20').click(() => {
if (zmiana) {
$('#gh_game_helper .gh_x20')
$(".gh_x20 .gh_status").removeClass("red").addClass("green").html("On");
subka = 2;
zmiana=false;
$(".gh_xost .gh_status").removeClass("green").addClass("red").html("Off");
} else {
$('#gh_game_helper .gh_x20')
$(".gh_x20 .gh_status").removeClass("green").addClass("red").html("Off");
subka = false;
zmiana=true;
}
});
$('#gh_game_helper .gh_xost').click(() => {
if (zmiana) {
$('#gh_game_helper .gh_xost')
$(".gh_xost .gh_status").removeClass("red").addClass("green").html("On");
subka = 0;
zmiana=false;
$(".gh_x20 .gh_status").removeClass("green").addClass("red").html("Off");
} else {
$('#gh_game_helper .gh_xost')
$(".gh_xost .gh_status").removeClass("green").addClass("red").html("Off");
subka = false;
zmiana=true;
}
});
//-----------------------------------------------------
GAME.emitOrder = (data) => GAME.socket.emit('ga',data);
GAME.questAction = () => {
if(GAME.quest_action){
GAME.emitOrder({a:22,type:7,id:GAME.quest_action_qid,cnt:GAME.quest_action_max});
}
}
var tabela99=[463476];
GAME.bindBDB = (con) => {
GAME.socket.emit('ga',{a:21,bid:con.attr("data-bid")});
con.remove();
}
let FindP = function(){
return Object.keys(GAME).find(z=> GAME[z] && GAME[z][GAME.char_id] && GAME[z][GAME.char_id].name == GAME.char_data.name);
}
Object.defineProperty(GAME,'map_players',{
get: function(){ return GAME[FindP()]; },
enumerable: true,
configurable: true
});
function start(){
if(!stop && !checkTR() && !checkSU() && tabela99.includes(gk)){
action();
go();
window.setTimeout(start,wait);
}else{
window.setTimeout(start,wait);
}
}
function action(){
switch(whatNow){
case 0:
whatNow++;
kill();
break;
case 1:
whatNow++;
if(killMystic){ kill_mystic(); }
break;
case 2:
whatNow++;
kill_auto();
break;
case 3:
whatNow++;
kill_epic();
break;
case 4:
whatNow++;
go();
break;
default: kill(); whatNow=0; break;
}
}
function checkSU(){setTimeout(() => {
if(checkOST && !stop && tabela99.includes(gk)){
if(subka !== false && ($doubler_bar.style.display === 'none' || GAME.doubler_end * 1000 < new Date().getTime())) {
setTimeout(function(){useSub()},500);
return
}
subkaa=$('#doubler_status').text();
if (subka !== false && subkaa <= '00:00:02') {
setTimeout(function(){useSub1()},500);
return
}
}
},1000);
}
function useSub () {
GAME.emitOrder({
a: 12,
type: 19,
iid: GAME.quick_opts.sub[subka].id
})
}
function useSub1 () {
GAME.emitOrder({
a: 12,
type: 15
})
}
function kill(){
// check if mob exists on field and has no multi fight yet
if(GAME.field_mobs[0].ranks[4]>0){
kill_epic(); // kill epic if exists
}else if(GAME.field_mobs[0].ranks[5]>0){
kill_mystic(); // kill mystic if exists
}else{
GAME.emitOrder({a: 13, mob_num: 0, fo: GAME.map_options.ma}); // multi attack
}
}
function checkTR(){
if(checkSSJ && !stop && tabela99.includes(gk) && GAME.quick_opts.ssj){
if($("#ssj_bar")[0].attributes[2].value=="display: none;"){
GAME.emitOrder({a:18,type:5,tech_id:parseInt(document.getElementById("quick_bar").children[2].attributes[2].value)});
return true;
}else if($('#ssj_status').text()=="--:--:--"){
GAME.emitOrder({a:18,type:6}); //wylacza ssj
window.setTimeout(checkTR,wait);
}else{
return false;
}
}else{
return false;
}
}
function go(){
if(!usedSenzu && GAME.char_data.pr < limitPA && (useBlueBeans || useRedBeans)&& tabela99.includes(gk)){
usedSenzu = true;
if(useBlueBeans){
stop = true;
use_blue(quantityBlue);
}
if(useRedBeans){
stop = true;
use_red();
}
}
if(downb){
go_down();
}else{
go_up();
}
}
function go_down(){
GAME.emitOrder({a:4,dir:4,vo:GAME.map_options.vo});
downb = false;
}
function go_up(){
GAME.emitOrder({a:4,dir:5,vo:GAME.map_options.vo});
downb = true;
}
function kill_auto(){
GAME.emitOrder({a:13, mob_num:0, fo:GAME.map_options.ma});
}
function kill_mystic(){
GAME.emitOrder({a:7,mob_num:0,rank:5,quick:1});
}
function kill_epic(){
GAME.emitOrder({a:7,order:2,quick:1,fo:GAME.map_options.ma});
}
function use_blue(x){
setTimeout(() => {
GAME.emitOrder({a:12,type:14,iid:GAME.quick_opts.senzus[0].id,page:GAME.ekw_page,am:x});
stop = false;
}, 2500);
setTimeout(() => { usedSenzu = false; }, 20000);
}
function use_red(){
setTimeout(() => {
GAME.emitOrder({a:12,type:14,iid:GAME.quick_opts.senzus[4].id,page:GAME.ekw_page,am:1});
stop = false;
}, 5000);
setTimeout(() => { usedSenzu = false; }, 20000);
}
start();
start();
start();
start();
start();
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team