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