Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Black Desert
You last visited: Today at 02:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Writing to bad adress?

Discussion on [Help] Writing to bad adress? within the Black Desert forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2019
Posts: 48
Received Thanks: 16
[Help] Writing to bad adress?

Code:
	
        engine::actor* local_player_ptr = this->local_player();
	engine::vehicleActor* vehicle_ptr = this->vehicle();

	logger::log_pointer("LocalPlayerPtr: ", local_player_ptr);
	logger::log_pointer("VehiclePtr: ", vehicle_ptr);


	if (!local_player_ptr || local_player_ptr == 0x0 || local_player_ptr == nullptr)
	{
		saved_original_values = false;
		global::options.show_menu = true;
		global::options.camera_distance = false;
		global::options.movement_speed = false;
		global::options.attack_speed = false;
		global::options.casting_speed = false;
		global::options.animation_speed = false;
		global::options.initial_setup_player = false;
		this->remove_animation_speed_patch();
		return;
	}
	if (global::options.attack_speed) {
		local_player_ptr->attack_speed = (int32_t)(global::options.attack_speed_multiplier * 250000);
	}
I'm trying to update a cheat for black desert but whenever I switch server the game crashes. I suspect it's because I'm writing to local_player when I shouldn't but I can't figure out how I'm supposed to find out when not to.

I'm relatively new to programming so any help would be useful

I managed to work around it by checked whether I was in a loadingscreen, however I still have the same issue when my mount gets too far away from the player
moalny is offline  
Old 08/06/2025, 14:58   #2
 
Ultimeit's Avatar
 
elite*gold: 0
Join Date: May 2016
Posts: 133
Received Thanks: 42
Quote:
Originally Posted by moalny View Post
Code:
	
        engine::actor* local_player_ptr = this->local_player();
	engine::vehicleActor* vehicle_ptr = this->vehicle();

	logger::log_pointer("LocalPlayerPtr: ", local_player_ptr);
	logger::log_pointer("VehiclePtr: ", vehicle_ptr);


	if (!local_player_ptr || local_player_ptr == 0x0 || local_player_ptr == nullptr)
	{
		saved_original_values = false;
		global::options.show_menu = true;
		global::options.camera_distance = false;
		global::options.movement_speed = false;
		global::options.attack_speed = false;
		global::options.casting_speed = false;
		global::options.animation_speed = false;
		global::options.initial_setup_player = false;
		this->remove_animation_speed_patch();
		return;
	}
	if (global::options.attack_speed) {
		local_player_ptr->attack_speed = (int32_t)(global::options.attack_speed_multiplier * 250000);
	}
I'm trying to update a cheat for black desert but whenever I switch server the game crashes. I suspect it's because I'm writing to local_player when I shouldn't but I can't figure out how I'm supposed to find out when not to.

I'm relatively new to programming so any help would be useful
Actually I'd say it shouldn't crash, as long as you are using the correct pointer for local player and not doing anything weird in remove_animation_speed_patch.

Quote:
Originally Posted by moalny View Post
I managed to work around it by checked whether I was in a loadingscreen, however I still have the same issue when my mount gets too far away from the player
I doubt this has anything to do with local player either, so probably your mount code could use some extra checks if it has a valid pointer or not
Ultimeit is offline  
Old 08/07/2025, 00:01   #3
 
elite*gold: 0
Join Date: Jun 2019
Posts: 48
Received Thanks: 16
Quote:
Originally Posted by Ultimeit View Post
I doubt this has anything to do with local player either, so probably your mount code could use some extra checks if it has a valid pointer or not
Alright man I'll look into it more. Thanks for reply
moalny is offline  
Old 08/20/2025, 00:51   #4
 
elite*gold: 0
Join Date: Jun 2019
Posts: 48
Received Thanks: 16
Quote:
Originally Posted by Ultimeit View Post
Actually I'd say it shouldn't crash, as long as you are using the correct pointer for local player and not doing anything weird in remove_animation_speed_patch.
Hi my friend, you seem knowledgeable in bdo cheating. I'm just wondering if it's possible to turn off the check when you teleport through object etc. It doesnt register correctly in the game
moalny is offline  
Old 08/20/2025, 21:14   #5
 
Ultimeit's Avatar
 
elite*gold: 0
Join Date: May 2016
Posts: 133
Received Thanks: 42
Quote:
Originally Posted by moalny View Post
Hi my friend, you seem knowledgeable in bdo cheating. I'm just wondering if it's possible to turn off the check when you teleport through object etc. It doesnt register correctly in the game
It's serversided, there are ways to get around it, but generally the easiest one is to... Simply keep trying. Bind teleportation on some key and just hold it while spamming A/D movement keys and It'll eventually let you get through it.
Ultimeit is offline  
Old 08/21/2025, 01:18   #6
 
elite*gold: 0
Join Date: Jun 2019
Posts: 48
Received Thanks: 16
Quote:
Originally Posted by Ultimeit View Post
It's serversided, there are ways to get around it, but generally the easiest one is to... Simply keep trying. Bind teleportation on some key and just hold it while spamming A/D movement keys and It'll eventually let you get through it.
Okay thank you for help
moalny is offline  
Reply

Tags
c++


Similar Threads Similar Threads
Writing char to adress
10/28/2013 - C/C++ - 3 Replies
Hey, after a long time i started again with memory editing and i stucked at one point. I dont wanna use WriteProcessMemory to write new chars/intīs and so on, to an address. (from a dll) Normally with a number it works.. example: DWORD BasePointer = 0x006FA108; ... ...
Help Writing Script
12/03/2009 - Dekaron - 8 Replies
!!!!!Problem solved, please close!!!! I am trying to learn how to write CE scripts, and I'm almost done with my first one, but I'm having a bit of an issue. I found the pointer and then the offset for what I'm looking for, and now I just need to figure out one small detail. The code at my offset is mov ecx,
plz help me iin writing ver code
10/04/2009 - Silkroad Online - 3 Replies
hi plz help me i can't write the verification code
[HELP]Writing and reading from *.ini files
02/18/2009 - CO2 Programming - 2 Replies
i was trying to do that by myself but after 3days i must say that i cant do it :mad: sooo i will be very happy if somebody could help me with it :) thanks :)
Writing my first line of code in c# need some help
10/16/2008 - CO2 Private Server - 5 Replies
Hey guys, I am busy trying to write a little command that gives a player a starter pack, but it's a little confusing. I wanna make it to where if the players IP has already received a starter pack he will be unable to do it again. sigh, I wish this was php, would be so much easier >.< . Here is what I have so far. if (Splitter == "/starter") { MyChar.CPs += 54;...



All times are GMT +1. The time now is 02:30.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.