Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 14:34

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

Advertisement



Pointers problem

Discussion on Pointers problem within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Smile Pointers problem

Hello dear community, I was playing with pointers and stuff in the game and i decided to make a simple program that displays some values like HP, MP, Player position, etc. My problem is that whenever I try to access to the Player Position adress i get instant crash when i inject the dll. The code i use for that is:
Code:
std::cout << "Player position: " << std::endl << "  X: " << *(UINT16*)(*(DWORD*)(0x703ab4) + 0xC) << "  Y: " << *(UINT16*)(*(DWORD*)(0x703ab4) + 0xE) << std::endl;
I tried accessing to the first pointer value who's another address with the following code and it worked but whenever i try to access the value i get crash
Code:
std::cout << "Player position: " << std::endl << "  X: " << (UINT16*)(*(DWORD*)(0x703ab4) + 0xC) << "  Y: " << (UINT16*)(*(DWORD*)(0x703ab4) + 0xE) << std::endl;
Any dev that can help me?
Hatz~ is offline  
Old 09/30/2020, 19:21   #2
 
WalrossGreat's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 871
Received Thanks: 1,229
And what are the pointer values that are printed out?
WalrossGreat is offline  
Old 09/30/2020, 19:49   #3
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Quote:
Originally Posted by WalrossGreat View Post
And what are the pointer values that are printed out?
These are the values

Hatz~ is offline  
Old 09/30/2020, 21:06   #4
 
WalrossGreat's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 871
Received Thanks: 1,229
And when do you inject the dll? After you logged in and moved? If I remember correctly, the main player class is initialized just after you move your player for the first time, if you read values from this class instance (TPlayerObjManager) just try to inject it after you actually play (not in character selection screen or elsewhere).
WalrossGreat is offline  
Thanks
1 User
Old 09/30/2020, 21:22   #5
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Quote:
Originally Posted by WalrossGreat View Post
And when do you inject the dll? After you logged in and moved? If I remember correctly, the main player class is initialized just after you move your player for the first time, if you read values from this class instance (TPlayerObjManager) just try to inject it after you actually play (not in character selection screen or elsewhere).
I tried before that and it was crashing too but now i tested it again and it's working! Ty so much for your help . Also if i relog my character i get crashed, do you have any idea of how to avoid it?
Hatz~ is offline  
Old 09/30/2020, 21:28   #6
 
WalrossGreat's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 871
Received Thanks: 1,229
Firstly read *(DWORD*)(0x703ab4) and store the value somewhere. Before making any further reads check if the value is not zero.
WalrossGreat is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Adresses/pointers (5.May 07)
01/15/2011 - WarRock - 8 Replies
i found these nice adresses and pointers: released on: 05/05/07 Stamina: 007F1110 Pointer to Weapon: 008AF2E8 + 4C Scope: 009260E6 No Wait: B2D5C0 & E11F10 Cross Hair: 0092610C simply include these values in a trainer :)
Metin2 Problem with pointers
04/25/2010 - General Coding - 1 Replies
I have some questions, how can i find stay adress and pointer for it? I do somethink like this: ( example on character name) name of character is dfghdfgh in cheat engine: 1. http://img709.imageshack.us/img709/7630/mpc1f.th. jpg
BHW 3.0 WoW BC 2.0.12 Missing Pointers
05/10/2007 - World of Warcraft - 4 Replies
Hallo. Will BHW 3.0 auf einem Privaten BC 2.0.12 Server benutzen... Wenn ich die Loader.exe ausführe und die WoW.exe scanne, bekomme ich die Meldung, dass einige Pointer nicht gefunden werden konnten... Da wollt ich fragen, ob irgendjemand alle Pointer hat, und die mir vielleicht geben könnte, sodass ich die in die bhw.ini einfügen kann? oder geht das so gar nicht?
neue offsets/pointers... compilen? bwh/bot... etc.
01/20/2006 - World of Warcraft - 0 Replies
hi leutz also mein frage ist wie und woher krieg ich die aktuellen pointers/offsets wie baue ich das z.b in bwh ein.. oder den bot... etc. ich hoffe ihr versteht was ich will... wenn ich es falsch gepostet habe einfach verschieben... da sich aber meine frage mehr auf wow bezieht denke ich mal das das hier her gehört...
Patch 1.9 Offsets and Pointers
01/09/2006 - WoW Exploits, Hacks, Tools & Macros - 0 Replies
// WoW &#91;Release&#93; Build 4937 &#40;Dec 20 2005&#41; // WoW!Sharp.h #define AutoStoreAllLootItems 0x4B0E00 #define CGBuffBar__m_buffs 0xB4CF28 #define CGBuffBar__m_durations 0xB4CE10 #define CGChat__AddChatMessage 0x48DC90 #define CGGameUI__ClearTarget 0x487C50 #define CGGameUI__LeftClick 0x486A00 #define CGGameUI__RightClick 0x486C50 #define CGGameUI__m_lockedTarget 0xAF60B8



All times are GMT +1. The time now is 14:35.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.