SQ-Project-CSGO-Arduino icon indicating copy to clipboard operation
SQ-Project-CSGO-Arduino copied to clipboard

Strange values after first start-up

Open Kuma1337 opened this issue 4 years ago • 11 comments

im using arduino ide for upload code, but when i verify its getting error

In file included from E:\Arduino\csgo_arduino\csgo_arduino.ino:7:0:
E:\Arduino\csgo_arduino\Helpers\global.h:9:10: fatal error: Helpers/definitions.h: No such file or directory
 #include "Helpers/definitions.h"
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

the directory is right but i dont know how to config arduino ide setting

Kuma1337 avatar Aug 06 '21 12:08 Kuma1337

Unfortunately it is Arduino IDE issue. You can use "../Helpers/definitions.h" instead or move definitions.h to the directory where csgo_arduino.ino is located

sn0wyQ avatar Aug 06 '21 12:08 sn0wyQ

thx its working perfect now, great work

Kuma1337 avatar Aug 06 '21 13:08 Kuma1337

i got a new problem, when i running pc.exe its just keep search device and not responce to next step. the port is already set to my local port

Kuma1337 avatar Aug 06 '21 13:08 Kuma1337

Before running PC.exe Arduino must be connected to PC. You need to set port only when loading firmware to Arduino, PC.exe can find port with Arduino automaticly.

Do you use Arduino Leonardo or something else?

sn0wyQ avatar Aug 06 '21 13:08 sn0wyQ

yep im using arduino leonardo and install driver just now 6O@7KRE5TYQQIEJMHMAS9@C 5O1GETKX5QFHEPPG@ C{RCH

nvm its actually working now

Kuma1337 avatar Aug 06 '21 13:08 Kuma1337

sorry bro borther you again, i complite everything but the aimbot not working and other feature also not working, still have no idea now, its arduino.cpp cant read default setting or something wrong? Z6MYIJ}VE7S M LAU75DW_K

Kuma1337 avatar Aug 06 '21 14:08 Kuma1337

Oooofff, most likely it is because EEPROM of your Arduino has some data in place of where variables are located before first start... I will fix it when I'll be home.

Right now you can load following .ino file to your Arduino board, reset Arduino and then load csgo_arduino.ino to your board again:

#include <Arduino.h>
#include <EEPROM.h>

void setup() {
  for (int i = 0; i < 32; ++i) {
    EEPROM.write(i, 0);
  }
}

void loop() {}

This should fix it for now

sn0wyQ avatar Aug 06 '21 14:08 sn0wyQ

yep its fixed now, i'm working on my lcd issue, it doesnt show anything and feature not working, maybe you can give some ideas

Kuma1337 avatar Aug 06 '21 15:08 Kuma1337

yep its fixed now, i'm working on my lcd issue, it doesnt show anything and feature not working, maybe you can give some ideas

As written in Getting Started: Note that you may be required to change pin numbers to fit LiquidCrystal(). So if needed change their definitions in Arduino/Helpers/definitions.h (lines 5-10).

sn0wyQ avatar Aug 07 '21 19:08 sn0wyQ

yep its fixed now, i'm working on my lcd issue, it doesnt show anything and feature not working, maybe you can give some ideas

As written in Getting Started: Note that you may be required to change pin numbers to fit LiquidCrystal(). So if needed change their definitions in Arduino/Helpers/definitions.h (lines 5-10).

how can i make it to fit?? do u have a video about it?

facukoren avatar Aug 28 '21 19:08 facukoren

some example of how to change the definitions in Arduino/Helpers/definitions.h (lines 5-10).

listerioa avatar Dec 31 '22 12:12 listerioa