Attention: Abundant Activities has begun!
10 months ago
Travelle
The Determined
He/him
432
432 Achievements
Forum Rank 1
Forum Threads: 5
Forum Comments: 97
General Rank 4
Starter Rank 1
Arena Rank 5
Campaign Rank 5
Gauntlet Rank 4
Cooking Rank 4
Crafting Rank 4
Farming Rank 5
Fishing Rank 4
Hunting Rank 4
Mining Rank 3
[Guide] Campaign Keyboard Bindings

Hello!!

Do you want keyboard bindings for campaign?


Staff says it is OK to use.


You need a user script manager, like TamperMonkey. It is an addon for your browser.


Once you have it, you want to create a new script and copy and paste the below code. Save and make sure enabled.


When opening campaign, you might have to refresh once to get it to register.

Default bindings (below) are:

Q for top explore button

W for bottom explore button

E for explore again (only works if explore again is an option)

R for reload page

F for feed all

X to close feed all popup


Bone Copy has an updated script on page 2.


// ==UserScript==
// @name Accessibility
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Keyboard Bindings for Lorwolf
// @author T.
// @grant none
// @match https://www.lorwolf.com/Campaign*
// @license MIT
// ==/UserScript==

(function() {
'use strict';

// Function to simulate a click on the explore buttons 0/1
function clickButton(optionId) {
const button = document.querySelector(`.exploreOption[data-option-id="${optionId}"]`);
if (button) {
button.click();
}
}

// Function to simulate a click on the "Explore Again" link
function clickExploreAgain() {
const exploreAgainLink = document.querySelector('.exploreAgainOption');
if (exploreAgainLink) {
exploreAgainLink.click();
}
}

// Function to simulate a click on the "Feed All" button
function clickFeedAll() {
const feedAllButton = document.querySelector('.partyFeedAllButton');
if (feedAllButton) {
feedAllButton.click();
}
}

// Function to close the modal and remove the backdrop
function closeModal() {
const closeButton = document.querySelector('.modal-header .close');
const modalBackdrop = document.querySelector('.modal-backdrop');
const wolfToyModal = document.getElementById('wolfToyRewardsModalContent');

if (closeButton) {
closeButton.click();
}

if (modalBackdrop) {
modalBackdrop.remove();
}

if (wolfToyModal) {
wolfToyModal.remove();
}
}

// Event listener for key presses
document.addEventListener('keydown', function(event) {
// Checking if key pressed corresponds to the below
// You can change the keybinds to whatever you want. If you want to use arrow keys, use Arrow then the direction, ie. (event.key === 'ArrowUp')
if (event.key === 'q') {
clickButton(0); // Press the top button when 'q' is pressed
} else if (event.key === 'w') {
clickButton(1); // Press the bottom button when 'w' is pressed
} else if (event.key === 'e') {
clickExploreAgain(); // Press the "Explore Again" link when 'e' is pressed
} else if (event.key === 'f') {
clickFeedAll(); // Press the "Feed All" button when 'f' is pressed
} else if (event.key === 'x') {
closeModal(); // Press 'x' to close the "Feed All" pop-up
} else if (event.key === 'r') {
location.reload(); // Refresh the page when 'r' is pressed
}
});
})();


If you want to change keybinds, it is in the last portion. If you need help with this, please ask!!

Example, right hand controls.

        if (event.key === 'ArrowUp') {
clickButton(0); // Press the top button when 'ArrowUp' is pressed
} else if (event.key === 'ArrowDown') {
clickButton(1); // Press the bottom button when 'DownArrow' is pressed
} else if (event.key === 'ArrowLeft') {
clickExploreAgain(); // Press the "Explore Again" link when 'Left Arrow' is pressed
} else if (event.key === '0') {
clickFeedAll(); // Press the "Feed All" button when '0' is pressed
} else if (event.key === '1') {
closeModal(); // Press '1' to close the "Feed All" pop-up
} else if (event.key === 'ArrowRight') {
location.reload(); // Refresh the page when 'Right Arrow' is pressed


If you run into problems, I will do my best to help!!


#1 issue will be spacing, make sure spacing matches above.

(Edited)
Report


10 months ago
Kitariki
The Resourceful
She/her
206
206 Achievements
General Rank 2
Starter Rank 1
Arena Rank 4
Campaign Rank 2
Cooking Rank 2
Farming Rank 4
Fishing Rank 1
Mining Rank 2
Oh wow, this is awesome - keybindings save my poor wrists that already get a lot of pain from crochet-based hobbies. Thank you for making this and checking in with mods!
Report
Quote
10 months ago
Baubor
The Restless
He/him - ID 2998
225
225 Achievements
Forum Rank 1
Forum Threads: 15
Forum Comments: 185
General Rank 3
Starter Rank 1
Arena Rank 3
Campaign Rank 2
Cooking Rank 2
Crafting Rank 1
Farming Rank 4
Fishing Rank 1
Hunting Rank 2
Mining Rank 1
You are an angel in pixel wolf form.
Report
Quote

Quick Hunting Team Guide - open for unique team suggestions on all hunts!
Keyboard Campaigning Resource - Guide to using your keyboard in campaign (not my creation)

10 months ago
TmstrBlmstr
The Helpful
He/him
286
286 Achievements
Forum Rank 3
Forum Threads: 76
Forum Comments: 670
General Rank 4
Starter Rank 1
Arena Rank 2
Campaign Rank 3
Cooking Rank 4
Crafting Rank 3
Farming Rank 2
Fishing Rank 2
Hunting Rank 2
Mining Rank 2

This is absolutely amazing!! Thank you so much for this, like Baubor said, you are an absolute angel

Edit: I hope it's alright to ask - how do you enable a script in TamperMonkey? I have it saved and it says it's enabled in the dashboard, but there's nothing available in the extension button. I've already looked this up but there seems to be no answers lol

Nevermind, got it fixed! For anyone else with the problem, literally just make sure you explore once manually first, then it'll be active lol. I was trying to activate it immediately where you could still view your party

Thanks again for all this Travelle :D

(Edited)
Report
Quote
10 months ago
Vyler
The Burnt Out
he/they
343
343 Achievements
Forum Rank 1
Forum Threads: 7
Forum Comments: 168
General Rank 5
Starter Rank 1
Arena Rank 5
Campaign Rank 4
Gauntlet Rank 2
Cooking Rank 4
Crafting Rank 4
Farming Rank 3
Fishing Rank 2
Hunting Rank 3
Mining Rank 2
thank you!!! ive been trying to find a way to bind my r key to reload the page this is great
Report
Quote



10 months ago
Brunette
The Giant Slayer
She/her
392
392 Achievements
Forum Rank 1
Forum Threads: 22
Forum Comments: 256
General Rank 5
Starter Rank 1
Arena Rank 5
Campaign Rank 5
Gauntlet Rank 2
Cooking Rank 4
Crafting Rank 4
Farming Rank 5
Fishing Rank 3
Hunting Rank 3
Mining Rank 3
trying this out now, thank you so much for this!
Report
Quote
10 months ago
Cardixa
The Resourceful
She/they
324
324 Achievements
Forum Rank 1
Forum Threads: 16
Forum Comments: 94
General Rank 5
Starter Rank 1
Arena Rank 4
Campaign Rank 3
Gauntlet Rank 1
Cooking Rank 3
Crafting Rank 3
Farming Rank 4
Fishing Rank 3
Hunting Rank 2
Mining Rank 3
You are a lifesaver - or rather you are a wrist-saver!!!
Report
Quote
10 months ago
Kitariki
The Resourceful
She/her
206
206 Achievements
General Rank 2
Starter Rank 1
Arena Rank 4
Campaign Rank 2
Cooking Rank 2
Farming Rank 4
Fishing Rank 1
Mining Rank 2

@Travelle if you replace the @match with https://www.lorwolf.com/Campaign* it removes the need to refresh for the script to kick in. You still need to click "Explore" on the first page of the exploring, but it might be easier for some that way, or might be able to be worked into the script?

(Edited)
Report
Quote
10 months ago
Travelle
The Determined
He/him
432
432 Achievements
Forum Rank 1
Forum Threads: 5
Forum Comments: 97
General Rank 4
Starter Rank 1
Arena Rank 5
Campaign Rank 5
Gauntlet Rank 4
Cooking Rank 4
Crafting Rank 4
Farming Rank 5
Fishing Rank 4
Hunting Rank 4
Mining Rank 3
@Kitariki - Good idea, thank you!!
Report
Quote


10 months ago
Cardixa
The Resourceful
She/they
324
324 Achievements
Forum Rank 1
Forum Threads: 16
Forum Comments: 94
General Rank 5
Starter Rank 1
Arena Rank 4
Campaign Rank 3
Gauntlet Rank 1
Cooking Rank 3
Crafting Rank 3
Farming Rank 4
Fishing Rank 3
Hunting Rank 2
Mining Rank 3
I am experimenting with changing the wildcard to the entire website -- lorwolf.com/* -- to see if I can also use keybinds to refresh rounds in Arena, since doing that has been just as much of a hand strain for me. I'll report back to say if this broke anything!

EDIT: Lmao do not do this, of course it would make it impossible to type anything including those letters! I realized that before trying it, thankfully. What I am going to try to do with @Travelle's permission though is make an Arena script for reloading and Start New Round-ing because I've realized my contracted hands could use that a lot.
(Edited)
Report
Quote
10 months ago
Travelle
The Determined
He/him
432
432 Achievements
Forum Rank 1
Forum Threads: 5
Forum Comments: 97
General Rank 4
Starter Rank 1
Arena Rank 5
Campaign Rank 5
Gauntlet Rank 4
Cooking Rank 4
Crafting Rank 4
Farming Rank 5
Fishing Rank 4
Hunting Rank 4
Mining Rank 3
@Cardixa - Haha I did not even think of that happening, and yes please do!!
Report
Quote


Unsubscribe from Post
Subscribe to Thread
Recent
Subscribed
My posts
Subscribed
You are not subscribed to any threads.
My Threads
You do not have any threads.
Trees
Music
Shuffle
Theme
Enable to have Music selection based site activities.
Repeat
Enable to repeat the current song.
Volume
Dismiss
Not interested in music? Permanently dismiss this music player.
Bathing on an Arturas
Boil 'em, Mash 'em
Canictonis Crossing
Dreaming About You
Embarking
Fields of Loria
First Snow
Follow the Leader
Good Morning, Challengers
Haunted Cave
Head in the Clouds
Into the Deep
Lone Wolf
Moonsblessings
Mosey Through the Forums
Nothing but Time
Play Date With Nana
Queueing Up
Silly Walk
Sleepy Wolves
Sploosh
Sunken Melody
The Mighty Remain
Through Goldsea
What to Buy?