Still against the rules asking for offsets/addresses
" Spy sappin mah sentry! "
I read the rules and what's next
I search on your specialized (most likely the only WEB, possibly better) Forum dedicated to the study of memory of wow.
As a result, no I have not found the right offset
And where the **** I did not find this ****ing offset?
I can not find it myself, since I did not have enough for that brain and the time
Why not answer me this simple question and did not close the topic.
All of this will benefit all, as anyone who will need this information find it to be happy, and will produce 10 times the same Forum Topic
What am I not right?
explanatory
in what way
As much as I'd like this place to hand me all the offsets what you are doing is against the rules. It doesnt really matter if you did search but came up with nothing. Maybe it shows that you had good intentions but thats all.
Just believe me when I say that is way better if people show you the place where you can find the offsets instead of handing them to you. Btw I am not saying that I am able to find all the offsets I am using but I am trying to learn this and I am not complaining...
You're missing the most obvious point: You can't find the offset anywhere, Nobody want's to find it FOR you so how about getting of your m***** f****** ass and learn how to reverse shit yourself? If you can't be bothered to do that then don't make a bot yourself because reversing is 90% of the job...
There's plently of tuts on how to get started with reverse engineering both here and on the web so this is NOTHING but a question of you being a lazy idiot
lazy idiot your dad Suplee
---------- Post added at 11:26 AM ---------- Previous post was at 11:19 AM ----------
Believe me - I spent 2 days on it to find the mixing of its own and has even written a special program for studies of memory.
It is very interesting, but unfortunately I did not so important these Item.name to spend 2 months of life to the study of memory shit wow.exe
All i see is yada yada wont bother yada yada I'm an ******* bla bla.
10 secs using google = Amazon.com: Reversing: Secrets of Reverse Engineering (978076457481: Eldad Eilam: Books
Edit, everything you need to know is in this section of the forum, use your brain, if you have one.
Last edited by snigelmannen; 01-30-2011 at 01:51 PM.
" Spy sappin mah sentry! "
Stop putting so much effort into bitching in begging and instead put it into learning, that way you can figure this out and won't need to leech.I read the rules and what's next
I search on your specialized (most likely the only WEB, possibly better) Forum dedicated to the study of memory of wow.
As a result, no I have not found the right offset
And where the **** I did not find this ****ing offset?
I can not find it myself, since I did not have enough for that brain and the time
Why not answer me this simple question and did not close the topic.
All of this will benefit all, as anyone who will need this information find it to be happy, and will produce 10 times the same Forum Topic
What am I not right?
I posted a very good book for him, i vote for thread lock
" Spy sappin mah sentry! "
Code:static Dictionary<int, string> _item_names; public static Dictionary<int, string> ItemNames { get { int id, string_pos; string name; if (_item_names == null) { _item_names = new Dictionary<int, string>(); DB2 db = new DB2(@"G:\WowUNPAC\DBFilesClientRU\Item-sparse.db2"); using (MemoryStream ms = new MemoryStream(db.Data)) { using (BinaryReader br = new BinaryReader(ms)) { for (int i = 0; i < db.record_count; i++) { ms.Position = i * db.record_size; // id = br.ReadInt32(); ms.Position += 95 * 4; string_pos = br.ReadInt32(); ms.Position = string_pos + (db.record_count*db.record_size); name = DB2.read_to_end(br); _item_names.Add(id, name); } } } } return _item_names; } }Code:public class DB2 { public int record_count; public int record_size; public int filed_count; public int data_text_size; const int HeaderSize = 48; public byte[] Data; public DB2(string fileName) { byte[] b = File.ReadAllBytes(fileName); using (MemoryStream ms = new MemoryStream(b)) { using (BinaryReader br = new BinaryReader(ms)) { ms.Position = 4; record_count = br.ReadInt32(); filed_count = br.ReadInt32(); record_size = br.ReadInt32(); data_text_size = br.ReadInt32(); Data = new byte[record_count * record_size]; ms.Position = 32; Data = br.ReadBytes(record_count * record_size + data_text_size); } } } public static string read_to_end(BinaryReader r) { List<byte> b = new List<byte>(); uint offset = 0; byte last_b; while ((last_b = r.ReadByte()) != 0) { offset++; b.Add(last_b); } return Encoding.UTF8.GetString(b.ToArray()); } }
Item names are either retrieved from the GetName VMT (if it's not a random property item) - or built using the names in the DBCs. (RandomPropertySuffix/Prefix DBCs. [Fairly sure I named them wrong])
Still, there are plenty of functions in the usual patch dumps, that build item names. Just reverse one and figure it out yourself.
The next time you ask to be spoon-fed offsets, or other such info, you'll have a 2 week vacation. Help yourself before you ask for help. You've put 0 time into actually reversing the client to try and figure it out yourself. Just like Krypton88, and old JuJu!