Skip to content

Commit 583a235

Browse files
committed
Updates to manual key switches and comments
1 parent 71aaa04 commit 583a235

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
![main](https://cdn.discordapp.com/attachments/373320120707055617/484055262399823873/sample.PNG)
44

5-
Automatically find the best value from Warframe relic rewards
5+
Automatically get the best value for your relics
66

77
## Features
88
* Picks the best value reward using Warframe.market prices
99
* Simple game overlay
1010
* Follows Warframe's ToS
1111

1212
## Instructions
13+
* ONLY WORKS AT 1440P RESOLUTION WITH FULL SCALE HUD AT THE MOMENT
1314
* Press the Print Screen button on the relic rewards screen
14-
* If the number of rewards isn't 4, you must manually adjust using ALT + Number (for example, 3 rewards would be ALT + 3)
15+
* If the number of rewards isn't 4, you must manually adjust using the number pad (for example, 3 rewards would be Num3)
1516
* To exit the program, press the Pause button
1617

1718
## Requirements

RelicRewards/Form1.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Project: Relic Rewards
3-
* Description: Automatically find the best value from Warframe relic rewards
3+
* Description: Automatically get the best value for your relics
44
* Created by StudentBlake
55
*/
66

@@ -42,7 +42,7 @@ public Form1() {
4242
var KeyboardHook = new Hook("Global Action Hook");
4343
KeyboardHook.KeyDownEvent += KeyDown;
4444

45-
// Start form on bottom right
45+
// Start form on bottom left
4646
Rectangle workingArea = Screen.GetWorkingArea(this);
4747
this.Location = new Point(0, workingArea.Bottom - Size.Height);
4848

@@ -63,7 +63,7 @@ public Form1() {
6363
// Create error log
6464
if (!File.Exists("error\\errorlog.txt")) {
6565
using (StreamWriter w = File.CreateText("error\\errorlog.txt")) {
66-
w.WriteLine("** RICH RELIC ERROR LOG **");
66+
w.WriteLine("** RELIC REWARDS ERROR LOG **");
6767
}
6868
}
6969
}
@@ -85,6 +85,7 @@ protected override void OnLoad(EventArgs e) {
8585
public new void KeyDown(KeyboardHookEventArgs e) {
8686
// Print Screen key was pressed
8787
if (e.Key == Keys.PrintScreen) {
88+
Debug.WriteLine("Print Screen pressed");
8889
// Grab image from screen (hopefully Relic rewards) and convert to black and white using a threshold
8990
PrintScreenThreshold();
9091

@@ -252,7 +253,7 @@ protected override void OnLoad(EventArgs e) {
252253
LogError("MAIN: " + ex.Message);
253254
}
254255
}
255-
else if (e.isAltPressed && e.Key == Keys.D2) {
256+
else if (e.Key == Keys.NumPad2) {
256257
Debug.WriteLine("Switched to 2 people");
257258

258259
ClearAllExceptTotal();
@@ -264,7 +265,7 @@ protected override void OnLoad(EventArgs e) {
264265
GlobalVar.PART1 = 725;
265266
GlobalVar.PART2 = 1300;
266267
}
267-
else if (e.isAltPressed && e.Key == Keys.D3) {
268+
else if (e.Key == Keys.NumPad3) {
268269
Debug.WriteLine("Switched to 3 people");
269270

270271
ClearAllExceptTotal();
@@ -277,7 +278,7 @@ protected override void OnLoad(EventArgs e) {
277278
GlobalVar.PART2 = 1011;
278279
GlobalVar.PART3 = 1590;
279280
}
280-
else if (e.isAltPressed && e.Key == Keys.D4) {
281+
else if (e.Key == Keys.NumPad4) {
281282
Debug.WriteLine("Switched to 4 people");
282283

283284
ClearAllExceptTotal();

0 commit comments

Comments
 (0)