sn0wyQ / SQ-Project-CSGO-Arduino

External CS:GO hack for Arduino written using modern C++ and WinAPI
BSD 3-Clause "New" or "Revised" License
41 stars 5 forks source link

Strange values after first start-up #13

Open Kuma1337 opened 3 years ago

Kuma1337 commented 3 years ago

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

sn0wyQ commented 3 years ago

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

Kuma1337 commented 3 years ago

thx its working perfect now, great work

Kuma1337 commented 3 years ago

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

sn0wyQ commented 3 years ago

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?

Kuma1337 commented 3 years ago

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

nvm its actually working now

Kuma1337 commented 3 years ago

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

sn0wyQ commented 3 years ago

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

Kuma1337 commented 3 years ago

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

sn0wyQ commented 3 years ago

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).

facukoren commented 3 years ago

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?

listerioa commented 1 year ago

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