I'm pretty sure it's supported in most countries...
byte[] playername = wow.ReadBytes(0xBB4428, 24); //reads player name
string playernam=Encoding.UTF8.GetString(playername);
label1.Text="Player name : "+playernam;
byte[] bPlayerRealm = wow.ReadBytes(0x00BB42AE, 4;
label2.Text = "Realm : "+Encoding.UTF8.GetString(bPlayerRealm);
Last edited by ctac18; 04-01-2010 at 09:20 AM.
can someone explain how to get the updated offsets from the dump post? I'm still trying to get one of them working, and I only see a wall of text :S
Fixed other problem I was having,
Only now i'm clueless on how to find updated PlayerBase (Help Please)
Also total noob question here but how do you find hex codes like 0xBB4428 (The updated ones for like "Player Name" I couldn't find them in the 3.3.3a Dump)
Last edited by TuFF; 04-04-2010 at 01:16 AM.
Thanks for the tutorial: it allowed me (c# and memory readying total noob) to start understanding a bit the concept behind. But now I start to get hungry, so what I would like to do next is:
1) Show also Target Info (how to retrieve target Baseline?)
2) Have data dynamic (how to retrieve always fresh data?)
3) Show the data into a WinForm (I know it’s so basic, but I don’t know how to “nest” the code for this)
Maybe an idea for the Step 2 of the Tutorial !
Last edited by antoralgola; 04-05-2010 at 11:02 AM.
Howdy.
I have a problem when i compile this code
I get a window thats says that i shold locate the BMMemory.cs file.Code:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Magic; namespace Zudox { public partial class Form1 : Form { BlackMagic wow = new BlackMagic(); //Create new function to open wow process public Form1() { InitializeComponent(); wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft")); //This Opens "World of Warcraft" window //Read players name and displays it. byte[] playername = wow.ReadBytes(0xBB4428, 24); //reads player name string playernam = Encoding.UTF8.GetString(playername); p_name.Text = "Player name : " + playernam; } } }
Anyone know whats the problem is ?
Thanks Apoc for the feedback. Clearly this section is for expert and I'm not but if you don't ask to people that knows more than you, you'll never learn. Moreover, I thought this thread ((Tutorial) Starting WoW-Memory Reading/Writing) was the right place to make even basic questions.
I was just proposing to collect some more info to build “section two” of ((Tutorial) Starting WoW-Memory Reading/Writing), that would be great…
As I said; this section isn't meant for you if you don't have a basic grasp of the language you're using.
Plain and simple; if you understood the language (which it's clear, you don't), then you wouldn't have asked your questions. (All of which are within the first 5-6 chapters of any C# book. [Excluding WinForms type stuff, which is usually around chapter 9-10])
Please read the section rules. This section is for ADVANCED things, not 'learn to program!' type discussions. We have another forum for that stuff.
We require you to at least be at the 'intermediate' level in your language of choice, before coming to this section to start learning how to do the stuff we do.
We're not here to give you copy/paste code so you can write your own bot. We're here to help the people who have put in the time to do their own research. (Or just to kick around findings)
I understand and respect this is an advanced section of the forum but such debate is simply pointless under a thread titled: “(Tutorial) Starting WoW-Memory Reading/Writing”.
Let me recap:
1. There’s a thread with a tutorial explaining even how to create a new project in C#... (which C# manual chapter is it?)
2. Readers say it is a great tutorial and a useful post
3. People ask basic questions consistently with the topic treated
4. Your “contribution” is: “This section is for ADVANCED, isn't meant for you”
…quite bizarre, isn’t?
By the way I would like to reassure you: I understand and can make use of everything described in the tutorial (even updating the offset that seems to be impossible to many other people that replied to the thread). This clearly doesn’t change my beginner status, but it should at least give me the right to make questions.
Isnt there any one who know why my Visual C# express ask me to locate BMMemory.cs?
I tried google this problem but i didnt finde anything.
I see your point. But know that the existance of this thread isn't inline with the rules for this section.
The subject at hand should never be teached by means of a picture step-by-step guide. Especially not this one who also accounts for making a project in the VS IDE... You learn nothing. (see: the foo above me)
We are still a subforum of a community where the vast majoirty of people can't tie their shoes or take a dump without picture guides, so it's to be expected that one might surface here.
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
"I cried a little earlier when I had to poop" - Sku