Closed BoheSama1999 closed 6 months ago
i mean context id
i test some way ,if context id lower than 70 ,its goes well
the same issue glow do not work correctly
Could you tell me how to decrease the num of context id,I mean I just want to use enemy glow
Could you tell me how to decrease the num of context id,I mean I just want to use enemy glow
https://github.com/chettoy/apexsky/blob/main/apex_dma/apex_dma.cpp line : 471-550 set context id (setting_index) lower than 70 to fix it
Here is my changes
void SetPlayerGlow(Entity &LPlayer, Entity &Target, int index,
int frame_number) {
const auto g_settings = global_settings();
int setting_index = 0;
std::array<float, 3> highlight_parameter = {0, 0, 0};
// if (!Target.isGlowing() ||
// (int)Target.buffer[OFFSET_GLOW_VISIBLE_TYPE] != 1)
{
float currentEntityTime = 5000.f;
if (!isnan(currentEntityTime) && currentEntityTime > 0.f) {
// set glow color
if (!(g_settings.firing_range) &&
(Target.isKnocked() || !Target.isAlive())) {
setting_index = 50;
highlight_parameter = {g_settings.glow_r_knocked,
g_settings.glow_g_knocked,
g_settings.glow_b_knocked};
} else if (Target.lastVisTime() > lastvis_aim[index] ||
(Target.lastVisTime() < 0.f && lastvis_aim[index] > 0.f)) {
setting_index = 51;
highlight_parameter = {g_settings.glow_r_viz, g_settings.glow_g_viz,
g_settings.glow_b_viz};
} else {
if (g_settings.player_glow_armor_color) {
int shield = Target.getShield();
int health = Target.getHealth();
if (shield + health <= 100) { // Orange
setting_index = 60;
highlight_parameter = {255 / 255.0, 165 / 255.0, 0 / 255.0};
} else if (shield + health <= 150) { // white
setting_index = 61;
highlight_parameter = {247 / 255.0, 247 / 255.0, 247 / 255.0};
} else if (shield + health <= 175) { // blue
setting_index = 62;
highlight_parameter = {39 / 255.0, 178 / 255.0, 255 / 255.0};
} else if (shield + health <= 200) { // purple
setting_index = 63;
highlight_parameter = {206 / 255.0, 59 / 255.0, 255 / 255.0};
} else if (shield + health <= 225) { // red
setting_index = 64;
highlight_parameter = {219 / 255.0, 2 / 255.0, 2 / 255.0};
} else {
setting_index = 65;
highlight_parameter = {2 / 255.0, 2 / 255.0, 2 / 255.0};
}
} else {
setting_index = 52;
highlight_parameter = {g_settings.glow_r_not, g_settings.glow_g_not,
g_settings.glow_b_not};
}
After trying several times it finally did work ,I am appreciated your patience dude rep!
Characters can't be filled with color, what's the problem
Characters can't be filled with color, what's the problem
idk but it works for me
So how do you modify the glow fill
do
i not modify anything about fillglow or i forgot it?
No, at the moment the glow fill is failing and it's not clear where it's going wrong
No, at the moment the glow fill is failing and it's not clear where it's going wrong
i checked it ,it have fillglow,but not that type like before,it is kind of transparent
No, at the moment the glow fill is failing and it's not clear where it's going wrong
It does ,but not fill all the pixels
yes,There may be a way to solve the problem of filling all pixels
yes,There may be a way to solve the problem of filling all pixels
https://github.com/chettoy/apexsky/blob/main/apex_dma/apexsky/src/menu/apex_menu/main_menu.rs#L106
yes,There may be a way to solve the problem of filling all pixels
https://github.com/chettoy/apexsky/blob/main/apex_dma/apexsky/src/menu/apex_menu/main_menu.rs#L106
in the past , 14 is full fillglow , but now idk
Thank you. I'll do some research on my own.
Thank you. I'll do some research on my own.
changed it to 255 ,i got this
Okay. Thank you very much.
You're welcome☺️
Describe the bug S21 updated ,i update the offsets. Then everything goes well. But glow not work anymore,I think that's glow mode changed?
Additional context The offsets.ini
The offsets.h