My Brute Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesRegisterLog in
Registration DOES NOT need an email verification.
Welcome to the biggest MyBrute forum on the internet.
Look at the sections' stickies: you'll find there everything you need to know about the game!

 

 [RELEASE] DE - QTP Pupil Trainer

Go down 
5 posters
AuthorMessage
BobTheBear
admin
admin
BobTheBear


Posts : 4102
Join date : 2009-05-15
Location : Scotland!

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeSun 01 Aug 2010, 21:59

May help if you read this - CLICK ME !!! - thread for general info on getting QTP running etc.

I'm gonna keep this short as the first couple of pages of the last thread cover most things. This script is just my old COM pupil script updated a little and set up for the .DE site.

The basics. You will need:

  • Quick Test Professional (QTP) v9.0 (HINT - torrents!!!)
  • MS Excel
  • Internet Explorer v7.0 with tabbed browsing switched OFF


I run this on Windows XP SP3. I know QTP v9.0 doesn't seem to like Vista. No idea about W7. It also won't work properly on IE v8.0 and won't work at all with FireFox. It *might* run on newer versions of QTP but no guarantees there. I don't have them, so I can't test it!

Install QTP and get it running. QTP is a bit resource heavy. Best to run this on a half decent PC. On a P3 with 1gb of memory or something, it'll run, but it won't be that fast.

Download the RAR with the script and spreadsheet template from: HERE <<< CLICKY!!!

In the RAR is what looks like a folder called "fights DE". Put that in the "Tests" folder of your QTP install.

Store the spreadsheet in your brute folder (wherever that is) and fill it up with your pupils. Passworded pupils are supported. You can pre-populate the spreadsheet with the start level and numer of fights if you know them. If you leave those fields blank the script will scan through your pupils first to get it. MAKE SURE you get the name parts right! Some brutes name is different from the URL name. Make sure you get them correct. (eg. A brute with the screen name "The Brute" would "the-brute" in the URL.)

Run QTP.

Load the test. (File > Open > Test .... navigate to the "Tests" folder of the QTP install and load the "fights DE" test.)
Switch QTP to "Expert View". (Tabs at the bottom of the screen)
You should now be looking at the code.

Bits you need to fill in:

Line 7 - The location of "iexplore.exe". Unless you have a wierd setup, the default should work.
Line 8 - The file path to the folder where your "fightsDE.xls" file is stored.
Line 9 - Change the value of "lvSTOP" to the level you stop training your pupil. When a pupil hits this level after a fight, it will stop with that pupil. I train to level 4 so thats the default its set to.

Lines 19 to 36 (or more) - You opponents.

There are 6 slots for level 1. For new pupils. Fill with level 0's.
There are 3 slots for all other levels. Remember you fight two levels below so (3,1) (3,2) (3,3) are you three opponents for level 3 pupils so should contain level 1 opponents.

Etc etc.

If you want to go higher than level 5 training, just add more lines.

opp(6,1) = "opponent 1"
opp(6,2) = "opponent 2"
opp(6,3) = "opponent 3"
opp(7,1) = "another opponent"

... and so on for as many as you need.

And thats it.

If you've done it all correctly, run the test (Clickl the "> Run" button on the QTP screen!), it'll do all the fights and spit out a results folder in the same folder as your "fightDE.xls" file is stored in.

Pupilling script will (hopefully) follow shortly .....
Back to top Go down
FacebreakXXX
* * * * * *
* * * * * *
FacebreakXXX


Posts : 101
Join date : 2009-08-11
Age : 36
Location : Germany

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 10:21

Hi Bob,
I spent a lot of time for your new Trainer (I am not talented Razz)
After preparing all of the points I run the QTP.

-> the Excel-pupil list opened automatically and the Internet Explorer Screen with the mainpage from meinbrutalo.de started as well. But after that nothing happened.

QTP has "hung up" at line 480/481...
do you have an idea? Suspect
Back to top Go down
BobTheBear
admin
admin
BobTheBear


Posts : 4102
Join date : 2009-05-15
Location : Scotland!

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 10:42

Will have to have a look later tonight. Am at work just now.

The obvious ones to check are:

1. You are using v7.0 of Internet Explorer?
2. Tabbed browsing is off?
3. What O/S are you running and what version of QTP are you using?
Back to top Go down
FacebreakXXX
* * * * * *
* * * * * *
FacebreakXXX


Posts : 101
Join date : 2009-08-11
Age : 36
Location : Germany

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 12:29

1. Yes, v.7.0
2. now tabbed browsing is off ;-)
3. I use Windows XP and QTP 9.2.

After I clicked: "tabbed browsing off" I started QTP again:
-> Excel Folder opened, mainpage "MeinBrutalo.de" started but after that IE lost connection:

[RELEASE] DE - QTP Pupil Trainer 7yx8f5x5


Is line 474 ok? (Internet Explorer cannot display the webpage)
And line 481 looks strange, too (A brutal error has been encountered!)

[RELEASE] DE - QTP Pupil Trainer Pew8w6kr

Sorry for all of these questions Very Happy
Back to top Go down
Gavy™
* * * * * * * * * *
* * * * * * * * * *
Gavy™


Posts : 1133
Join date : 2009-08-05
Location : Thousand Islands

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 12:44

did you also put the names of the brutes in the URL name ?!
Back to top Go down
BobTheBear
admin
admin
BobTheBear


Posts : 4102
Join date : 2009-05-15
Location : Scotland!

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 13:15

Yes. On the failed IE page, the URL doesn't look right. There is no brute name there.

The first two colums on the input sheet contain the brute name in 1 and the name as it appears in the URL (they can be different) in 2.
Back to top Go down
FacebreakXXX
* * * * * *
* * * * * *
FacebreakXXX


Posts : 101
Join date : 2009-08-11
Age : 36
Location : Germany

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 15:02

oh man you 2 guys are right :oops: thank you!

ok i added the "URL-names"
now the first round is over and the script added the levels automatically.

after that I clicked "RUN" for training the pupils but I only can see the "mein Brutalo" mainpage and after some seconds a "Run Error":

[RELEASE] DE - QTP Pupil Trainer Hdjey73m

what did I wrong?
Back to top Go down
BobTheBear
admin
admin
BobTheBear


Posts : 4102
Join date : 2009-05-15
Location : Scotland!

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 15:36

Did it open the "vs" fight page at all?

Line 313 is it trying to click on the "start fight" button (which has to be visible on the screen ... alter the scaling on IE if it's not).

And also, did you populate your opponent names in the scipt?

BobTheBear wrote:
Lines 19 to 36 (or more) - You opponents.

There are 6 slots for level 1. For new pupils. Fill with level 0's.
There are 3 slots for all other levels. Remember you fight two levels below so (3,1) (3,2) (3,3) are you three opponents for level 3 pupils so should contain level 1 opponents.

Etc etc.
Back to top Go down
FacebreakXXX
* * * * * *
* * * * * *
FacebreakXXX


Posts : 101
Join date : 2009-08-11
Age : 36
Location : Germany

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 16:06

yes I populated the opponents.
It don't open the "vs" fight page.
I click "RUN" and it only rests on the mainpage.
Back to top Go down
BobTheBear
admin
admin
BobTheBear


Posts : 4102
Join date : 2009-05-15
Location : Scotland!

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 17:23

Hmmm.

Wierd thing is, for it to get that far in the first place, it needs to find the fight screen?!?!?

Another thing to check ....

When you start QTP, it pops up a box asking what addins you want enabled. ActiveX and Web should be ticked. Leave the other one blank.

Also, no other browsers open when you run it ....
Back to top Go down
FacebreakXXX
* * * * * *
* * * * * *
FacebreakXXX


Posts : 101
Join date : 2009-08-11
Age : 36
Location : Germany

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 18:32

Yeah Yeah Yeah, it works!

- the hint with the ActiceX and Web Ticker was good!
- I overworked the opponents-list (there were a lot of dead ones in the forum!)
- the Run Error "Object not visible" meant that the "Fight Button" was out of my screen - I had to choose "full screen" and then it worked... no comment ;-)

your program is really fast! (even with my connection...)
sorry for all the inconveniences :oops:
THANK YOU!
Back to top Go down
BobTheBear
admin
admin
BobTheBear


Posts : 4102
Join date : 2009-05-15
Location : Scotland!

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeMon 02 Aug 2010, 18:42

Cool! Glad you got it working. :)

It runs pretty much as fast as the webpages update on the PC it's run on. So if your browser updates quick, it'll run quick. It doesn't use preset delays, it looks for things on screen to know if it's in the right place.

FacebreakXXX wrote:
- I overworked the opponents-list (there were a lot of dead ones in the forum!)

Yeah. This is an area where there are still bugs.

If a pupil doesn't exist, it should keep going, but at the moment I don't think it does. So your list needs to be accurate.

Will need to have a look at that .....
Back to top Go down
Mga
* * * * *
* * * * *
Mga


Posts : 92
Join date : 2010-02-18
Location : MExico

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeTue 03 Aug 2010, 04:48

Rolling Eyes good image Bounce


cool 🐰
Back to top Go down
Superdry
*
*



Posts : 2
Join date : 2010-11-20

[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitimeWed 01 Dec 2010, 20:52

could someone add a new download link for the script? would be great
Back to top Go down
Sponsored content





[RELEASE] DE - QTP Pupil Trainer Empty
PostSubject: Re: [RELEASE] DE - QTP Pupil Trainer   [RELEASE] DE - QTP Pupil Trainer Icon_minitime

Back to top Go down
 
[RELEASE] DE - QTP Pupil Trainer
Back to top 
Page 1 of 1
 Similar topics
-
» [RELEASE] Simple Brute Trainer (.com|.fr|.es|.de)
» [RELEASE] MeinBrutalo Trainer *ALPHA*
» Pupil trainer?
» pupil trainer bot!
» BC pupil trainer problem

Permissions in this forum:You cannot reply to topics in this forum
My Brute Forum :: Guides & Info :: Cheats & Scripts-
Jump to: