forked from ps1337/bananabot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
globalsettings.h
66 lines (55 loc) · 2.13 KB
/
globalsettings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef GLOBALSETTINGS_H
#define GLOBALSETTINGS_H
#include "game.h"
#include <unistd.h>
#include <cstdint>
#include <vector>
extern pid_t PID;
extern std::vector<float> own_location;
struct PlayerInfo_t;
extern PlayerInfo_t nearestEnemy;
// Settings
extern unsigned int player_base_so_offset;
extern unsigned int player_base_ptr_offset;
extern std::vector<unsigned int> player_base_offsets;
extern uint64_t player_base_addr;
extern unsigned int force_jump_so_offset;
extern unsigned int force_jump_ptr_offset;
extern std::vector<unsigned int> force_jump_offsets;
extern uint64_t force_jump_addr;
extern unsigned int client_state_so_offset;
extern unsigned int client_state_ptr_offset;
extern std::vector<unsigned int> client_state_offsets;
extern uint64_t client_state_addr;
extern unsigned int client_state_view_angle_x_offset;
extern unsigned int client_state_view_angle_y_offset;
extern uint64_t client_state_view_angle_x_addr;
extern uint64_t client_state_view_angle_y_addr;
extern unsigned int glow_manager_so_offset;
extern uint64_t glow_manager_ptr_addr;
extern uint64_t glow_manager_addr;
extern unsigned int glow_object_offset;
extern unsigned int glow_object_count_addr_offset;
extern unsigned int glow_object_count;
// members of player_base
extern unsigned int player_base_health_offset;
extern uint64_t player_health_addr;
extern unsigned int player_base_team_offset;
extern uint64_t player_team_addr;
extern unsigned int player_base_is_on_floor_offset;
extern uint64_t player_is_on_floor_addr;
extern unsigned int player_base_flash_time_offset;
extern uint64_t player_flash_time_addr;
extern unsigned int player_base_location_x_offset;
extern unsigned int player_base_location_z_offset;
extern unsigned int player_base_location_y_offset;
extern uint64_t player_base_location_x_addr;
extern uint64_t player_base_location_y_addr;
extern uint64_t player_base_location_z_addr;
extern unsigned int entity_team_offset;
extern unsigned int entity_health_offset;
extern unsigned int entity_m_vec_origin_start;
extern unsigned int entity_m_vec_origin_z_offset;
extern unsigned int entity_m_vec_origin_y_offset;
extern unsigned int entity_m_vec_origin_x_offset;
#endif