Quiz Helper

05/11/2011 02:17 Fantasma81#136
hi dumpersta and thx for ur infos and help once again ^^
05/11/2011 05:38 tekc#137
Quote:
Originally Posted by dumpersta View Post
No, I am not back. No I won't likely write any code for BoI again. I just don't have the time for it currently.

@dlnqt: What you want is a program called Cheat Engine.

Using this, go through its short tuturial real quick and learn how to attach to a process, and to search for a string.

Then load up BoI and find your character's name (easiest thing you can do). Once you search for that, swap to another character and check if the value you found changes appropriately. That indicates you actually found it (as a hint that I learned far later, green fields are static addresses, you ALWAYS want a static if available). As I recall, you will get 3 static fields for the name, you can use any of them you want.

Now for the other 2 values, you just have to go and start Love Match or Warning of Wisdom (start on WoW since that one has no timer). Search for the text in the question itself and you'll get very few results. Note that none is green. That means you need what is called a pointer.

Now you run a pointer scan (they tell you about this in the tutorial, but it is slightly confusing to watch, and easy to do). Find a pointer for the address with the quiz question and advance through a few questions to see that it updates properly.


To verify that your pointer is valid, you want to close BoI completely, and start it back up, go start WoW with another character (or on another day) and see if the questions show up at the addresses you found previously (Cheat Engine displays them for you).


That is all you need to get the Quiz Guru up and running for LM and WoW. Once you understand Cheat Engine, the rest takes less than an hour easily.
Fairly certain I found the character name offset, 0x00BD96D0

anyone else want to confirm this?

I'll start working on the WoW offsets next


I want to give a huge thanks for this mini-tutorial of sorts :handsdown:

EDIT:

think i found the pointer for WoW as well

"Game.exe"+00FBD534

P->0E824B70

EDIT AGAIN:

character name offset confirmed
05/11/2011 10:08 lol12sky2#138
and how do i change it
05/12/2011 20:47 kurus123#139
its works ^^ 0x13CC874 wisdom quiz pointer confirmed
05/13/2011 00:08 katonthern#140
make a trainer or something that i can use from it to make it work?
05/16/2011 14:14 litanen#141
how can i get this to work?
05/16/2011 16:03 sharuzzo#142
Can you put the link of the file "quiz helper.exe" changed? I can only make mistakes
05/16/2011 18:07 bacuvalen#143
so...someone have the new quiz??
05/17/2011 12:04 tekc#144
I'll be releasing a new improved quizHelper here in the next few days

I was able to use the source that dumpersta posted a few pages back as as foundation for everything. I wasn't very happy with the ini file storage, especially since the wiki gets updated

SO my solution to that was to eliminate it all together. The new quiz helper i'll be posting will grab the questions and answers directly off the wiki page, so you'll never have to worry about having an updated question list.

right now im stuck working on the Love Match section, I can only run love match 3x day max, which makes debugging very difficult
05/17/2011 16:46 Lifespark#145
Quote:
Originally Posted by tekc View Post
I'll be releasing a new improved quizHelper here in the next few days

I was able to use the source that dumpersta posted a few pages back as as foundation for everything. I wasn't very happy with the ini file storage, especially since the wiki gets updated

SO my solution to that was to eliminate it all together. The new quiz helper i'll be posting will grab the questions and answers directly off the wiki page, so you'll never have to worry about having an updated question list.

right now im stuck working on the Love Match section, I can only run love match 3x day max, which makes debugging very difficult
well man i think almost everyone on boi has been waiting for someone like you to take the time to put this together for us and im extreamly excited and looking forward to your upcoming release! :handsdown:
05/17/2011 19:05 sharuzzo#146
TEKC - thanks for your time (sorry for my english!!!)
05/17/2011 19:57 TechnoPhreak#147
tekc if you need any help with debugging or anything let me know. I've recently been studying C++ and RE so helping you out would prove to be a good experience for me. And thanks for taking the time to work on this, i'm sure everyone appreciates it :D
05/17/2011 22:09 tekc#148
Quote:
Originally Posted by TechnoPhreak View Post
tekc if you need any help with debugging or anything let me know. I've recently been studying C++ and RE so helping you out would prove to be a good experience for me. And thanks for taking the time to work on this, i'm sure everyone appreciates it :D
right now everything is in C#, im not terribly familiar with C++

alot of the real reverse engineering work was done by dumpersta, and phantom23, for the most part im utilizing the functions they wrote to read strings and values from memory, and tying it all together in the GUI.

right now my biggest problem is lack of characters to do love match with, i can only do it 3x a day, and if i find an error i need to step through it all in the debugger to find out what values are wrong so that i can figure out how to fix it, and i have to do that within the time limit per question, and i can only do it 3 times, so if i find more than 3 problems, i gotta wait til the next day lol

I was able to make some more progress with the Love Match though, it works about 50% of the time now. Some of the questions the game displays aren't lining up with the questions i parsed from the wiki. nothing terribly difficult at this point, just time consuming. I'll work on it more here in the next few days to get it working all the time.
05/18/2011 05:09 dumpersta#149
If there is ANY bot that works, you can get new characters up to level 20 pretty fast. So belt out a set of accounts which are paired up male/female just for lovematch (actually I wound up getting all of mine up to level 45 through Lovematch so they could do events like the Christmas event and Energy Well also).

Basically to get level 20, I would run each character manually, doing quests and stuff, until they hit level 10 and were granted double EXP time. Then I park them in the huge zombie swarm area just inside the scorpion crypt (on the left side where you have to collect 10 items). Nobody is EVER in that area really, so I turn on double EXP and activate the bot program. Also I used my inductee code on each character so they had the freebie armor, which made them immortal in that area just using autoattacks. Before you finish manually doing quests on the second character you are typically level 20 on the first one (well, I actually did the quests simultaneously on 6 characters at a time as I recall. Just set up Leader Auto-follow and went at it).


Can be pretty profitable to belt out a ton of LoveMatches too. I got rather lucky on getting the mounts once the bot was up and running and I was auto-winning (remember to use the IP address spoofer so you can lovematch on the same computer. Then you get to debug both male and female at the same time).

If you don't want to make extra accounts, belt out some characters on the other servers as well. LM is the same thing in Aquarius as Abyss.


The down side of using the Wiki is that some people manually type the questions/answers in there, so you can't use a literal string check. You have to break it down into individual words and do a relative value type check (which is more reliable anyway, so probably worth the time invested).
05/18/2011 07:44 tekc#150
Quote:
Originally Posted by dumpersta View Post
The down side of using the Wiki is that some people manually type the questions/answers in there, so you can't use a literal string check. You have to break it down into individual words and do a relative value type check (which is more reliable anyway, so probably worth the time invested).
i took that into consideration, and heres how i hope to fix that

I split the games question, and the current question to compare with, into an array of words

i then check to see if the length of the two respective arrays is the same, my thought behind this was to reduce comparisons, because if the number of words in each question isn't the same, then it shouldn't be the correct question :P

if they're the same length, then i iterate over each array at the same indices and check and see if each word is the same. if more than 3 words don't match up, i break out of the loop and check the next question in my list.

hopefully by this point, i've found the correct question, to pair with an answer, but if not, i then repeat but this time using the female questions list

I'm probably going to search for the offset that points to your characters gender, to eliminate the need for 2 nested loops in the worst case scenario.

I'm still playing around with it atm. im going to test soon



hopefully, im able to work around the human errors that exist within the wiki. It hadn't occurred to me that the wiki could be inaccurate

if not, i can just scrap it all and go back to the old ini data files as I've got that working no problem