What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Batch File] Profile Randomizer

i tried with rad's a1 champ profile couple times
and it always produce this error



----------------------------------
Processing New Coordinates
----------------------------------
Unprocessed X Coord: 1970.774
Unprocessed Y Coord: 4051.558
Processed x Coord: 1969.1852
Processed y Coord: 4046.1453

New MoveTo: <MoveTo questId='1' x='1969.852' y='4046.453' z='0.1' pathPrecision
='1' />

<WaitTimer questId="1" waitTime="50" />
<MoveTo questId="1" x="1929.922" y="4092.755" z="0.1000026" name="S-Highlands #4
2 (Road)" pathPrecision="1" />
' was unexpected at this time.

Lemme try this out :)

Ohhh.... this is going to take a LONG while... forgot how long that profile was.. :P
 
Last edited:
i tried with rad's a1 champ profile couple times
and it always produce this error



----------------------------------
Processing New Coordinates
----------------------------------
Unprocessed X Coord: 1970.774
Unprocessed Y Coord: 4051.558
Processed x Coord: 1969.1852
Processed y Coord: 4046.1453

New MoveTo: <MoveTo questId='1' x='1969.852' y='4046.453' z='0.1' pathPrecision
='1' />

<WaitTimer questId="1" waitTime="50" />
<MoveTo questId="1" x="1929.922" y="4092.755" z="0.1000026" name="S-Highlands #4
2 (Road)" pathPrecision="1" />
' was unexpected at this time.

Ok its something to do with the batch file not being able to handle brackets in the name field.

Easy fix:
----------
Open the original profile and locate this line (line 241):
<MoveTo questId="1" x="1929.922" y="4092.755" z="0.1000026" name="S-Highlands #42 (Road)" pathPrecision="1" />

Remove the Brackets in the name field:
<MoveTo questId="1" x="1929.922" y="4092.755" z="0.1000026" name="S-Highlands #42 Road" pathPrecision="1" />

Save the file and run ProfileRand again and wahlah~! :)
 
Could this work with Haley and sfj's plugin: Profile Switcher with RADONIC's spilttet version of act 1 champion farming?
 
I am getting this error after Randomizing from DB interface when i try to load the new randomized profile.

Failed to load profile: Data at the root level is invalid. Line 2, position 1.
 
I am getting this error after Randomizing from DB interface when i try to load the new randomized profile.

Failed to load profile: Data at the root level is invalid. Line 2, position 1.

Hi there,

which profile are you using? Please include the link so that I can check it out for you :)
 
Hi there,

which profile are you using? Please include the link so that I can check it out for you :)

Hi thank you for the response.

http://www.thebuddyforum.com/demonb...arkoth-demon-hunter-no-plugins-quick-run.html this is the topic with the profile.

It doesn't really matter if it works or not for me, as i was just testing random profiles running Sarkoth. I posted just to help you develop the plugin and as possible bug.

I tested with some other profiles (not Sarkoth ones) and it works fine with them :)
 
Hmm.... I've tried it and its working...

OK, do this:

1. Copy the ProfileRand.bat onto your desktop.
2. Copy the profile what you want randomized onto your desktop as well. Change its name to something simple: Act1QueenRun.xml
3. Right click on ProfileRand.bat and select Create Short Cut.
4. Right click on the newly created shortcut and select Properties.
5. In the window that is opened, your target text box should show something like this: C:\Users\???\Desktop\ProfileRand.bat
6. Add the following to the end of the contents in the target text box: C:\Users\???\Desktop\ProfileRand.bat A1QueenRun.xml RandomQueenRun.xml
7. Click OK.
8. Run the newly created shortcut to generate the random profile.
9. Your generated profile will be named as RandomQueenRun.xml


:)

That was the part I couldnt understand until this procedures list was made. Def need to make this clear. Thanks.



EDIT: Super excited about this, I was thinking of something similar to this and you did it! You could do this 5ish times, and then use the scheduler to randomize the routes. On for example the A1 or A2 farming routes since they can are modular you can cut and paste them in any order, so theoretically you could shuffle them around then use your randomizer to have really random profiles doing the same overall route. 2 thumbs up!
 
Last edited:
That was the part I couldnt understand until this procedures list was made. Def need to make this clear. Thanks.



EDIT: Super excited about this, I was thinking of something similar to this and you did it! You could do this 5ish times, and then use the scheduler to randomize the routes. On for example the A1 or A2 farming routes since they can are modular you can cut and paste them in any order, so theoretically you could shuffle them around then use your randomizer to have really random profiles doing the same overall route. 2 thumbs up!


Thanks~! :) Glad it helped you :)
 
Could this work with Haley and sfj's plugin: Profile Switcher with RADONIC's spilttet version of act 1 champion farming?

Shouldnt be a problem. You can try it out :)

But how can i get it to work considered this:

"6. Add the following to the end of the contents in the target text box: C:\Users\???\Desktop\ProfileRand.bat A1QueenRun.xml RandomQueenRun.xml"

Do i just add all the profiles after each other, like this: C:\Users\???\Desktop\ProfileRand.bat act1elite1.xml Randomact1elite1.xml act1elite2.xml Randomact1elite2.xml act1elite3.xml Randomact1elite3.xml act1elite4.xml Randomact1elite4.xml act1elite5.xml Randomact1elite6.xml act1elite7.xml Randomact1elite7.xml?

I really like the idea of what you batch file does, and I would really much like to add death support to it. =)
 
But how can i get it to work considered this:

"6. Add the following to the end of the contents in the target text box: C:\Users\???\Desktop\ProfileRand.bat A1QueenRun.xml RandomQueenRun.xml"

Do i just add all the profiles after each other, like this: C:\Users\???\Desktop\ProfileRand.bat act1elite1.xml Randomact1elite1.xml act1elite2.xml Randomact1elite2.xml act1elite3.xml Randomact1elite3.xml act1elite4.xml Randomact1elite4.xml act1elite5.xml Randomact1elite6.xml act1elite7.xml Randomact1elite7.xml?

I really like the idea of what you batch file does, and I would really much like to add death support to it. =)

No, you have to do it one by one
 
I just tried to make a random profile from ciggarc (RADONIC) A1 Champion farming, but buddy fail to load the randomized profiles.

I get this error with Greyhoundpart1.xml:
"Failed to load profile: ''' is an unexpected token. The expected token is '='. line 21, position 66."

I get this error with Greyhoundpart2.xml:
"Failed to load profile: '/' is an unexpected token. The expected token is '='. line 17, position 70."

I get the exactly same error when i try to make a new random profiles, from the same base profile (Greyhoundpart1+2).

I tried to find the line inside the randomize profile, which the error refer to, but I can't - though i'm not at all skilled to read the languages that is inside a profile :)

What do you think could be the issue, teivovo?
 
Last edited:
I just tried to make a random profile from ciggarc (RADONIC) A1 Champion farming, but buddy fail to load the randomized profiles.

I get this error with Greyhoundpart1.xml:
"Failed to load profile: ''' is an unexpected token. The expected token is '='. line 21, position 66."

I get this error with Greyhoundpart2.xml:
"Failed to load profile: '/' is an unexpected token. The expected token is '='. line 17, position 70."

I get the exactly same error when i try to make a new random profiles, from the same base profile (Greyhoundpart1+2).

I tried to find the line inside the randomize profile, which the error refer to, but I can't - though i'm not at all skilled to read the languages that is inside a profile :)

What do you think could be the issue, teivovo?

Lol, insufficient cache to process the profile's looong number of spaces. Download the new version. It is good to go now.

:)
 
ProfileRandv1.1 released~!

Increased the buffer size to cater for MoveTo lines with extremely looong name fields....

Cleared away the cache files also.
 
Last edited:
Lol, insufficient cache to process the profile's looong number of spaces. Download the new version. It is good to go now.

:)

I downloaded the new version and it seems to work with that profile (RADONIC's Greyhound).

But...

I also tried making a randomized version of haley and sfj's splittet version of RADONIC's Save The World, but again buddy fail to load the randomized profile.

I get this error with act1elite1.xml:
"Failed to load profile: A name can not begin with character ' ', hexadecimal value 0x20. line 66, position 2."

What do you think is the problem now?
 
I downloaded the new version and it seems to work with that profile (RADONIC's Greyhound).

But...

I also tried making a randomized version of haley and sfj's splittet version of RADONIC's Save The World, but again buddy fail to load the randomized profile.

I get this error with act1elite1.xml:
"Failed to load profile: A name can not begin with character ' ', hexadecimal value 0x20. line 66, position 2."

What do you think is the problem now?

Hey bud,

do you have the link to that profile?
 
I downloaded the new version and it seems to work with that profile (RADONIC's Greyhound).

Well... it only worked with Greyhoundpart1.xml. When buddy try to load Greyhoundpart2.xml it generate this error:

"Failed to load profile: '<', the hexadecimal value 0x3C is an invalid attribute character. Line 95, position 1"

:confused:
 
Seems to work pretty well. It does have problems with commented out moveto tags and long name attributes on a moveto tag. Once I got rid of any commented movetos and reduced names to shorter names it worked perfectly.
 
Back
Top