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

[Batch File] Profile Randomizer

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.

Yeah.... I'm still trying to find ways to do it... string parsing in batch is a bitch... and on top of that it has to parse with the greater than and lesser than signs used in xml.... -_-...

For now, if there are extra spaces at the end of the MoveTo line, it will give an invalid syntax error... Once the trailing spaces are removed, it works fine.
 
Hi there,

check out my reply on top ^. The empty spaces at the end of the line was the cause of the problem. I have yet to find a good way to remove them... Keep you posted when I get the solution. For now, you can simply remove the trailing spaces manually.

Cheers~!

There will be alot manual editing, so i guess i wait for a new release. :D
 
Lol!

I've almost got it. Tonite's the nite of rewrite!

Cheerios!
 
Hello, first off thanks for this great program :)
everything is working fine just a little bit of an issue I ran into.
[A3 - Inferno]Champion-Hunting 1.0 Silhouettes
Profile
when I run the batch sometimes it randomizes the
<ForceRepair questId="1" minFreeBagSlots="48" />
Into the profile
Now demonbuddy does not like it and it give me an error
] Failed to load profile: Element ForceRepair is not supported. Please check your XML and try again. (<ForceRepair questId="1" minFreeBagSlots="48" />) Line 9

Once I remove the
<ForceRepair questId="1" minFreeBagSlots="48" />
The profile loads fine

Any suggestions or how we can keep still use this optinon?
Or edit the batch for it not to implement the
<ForceRepair questId="1" minFreeBagSlots="48" />
Function?

Thanks
 
Unsaferandomdistance is removed in each line of the profiles not so cool :(
 
Hello, first off thanks for this great program :)
everything is working fine just a little bit of an issue I ran into.
[A3 - Inferno]Champion-Hunting 1.0 Silhouettes
Profile
when I run the batch sometimes it randomizes the
<ForceRepair questId="1" minFreeBagSlots="48" />
Into the profile
Now demonbuddy does not like it and it give me an error
] Failed to load profile: Element ForceRepair is not supported. Please check your XML and try again. (<ForceRepair questId="1" minFreeBagSlots="48" />) Line 9

Once I remove the
<ForceRepair questId="1" minFreeBagSlots="48" />
The profile loads fine

Any suggestions or how we can keep still use this optinon?
Or edit the batch for it not to implement the
<ForceRepair questId="1" minFreeBagSlots="48" />
Function?

Thanks

So can someone please help me edit this command line in the batch file so it can work when its generated ?
Plz....
 
Please help

OK so I found another thread with a simlar issue, and my question is. Can someone please help me incorporate this into the batch so is works correctly.

<Profile>
<Name>Seller_DBEnhancements</Name>

<Order>


<MoveTo questId="1" x="1142.127" y="3777.766" z="80.10001" name="Hunting Grounds #21" pathPrecision="15" />
<If condition="Me.IsInTown==False">
<UseTownPortal questId="1" />
</If>
<!-- Repairing! -->
<ForceRepair questId="1" minFreeBagSlots="48" />
<!-- End of repair! -->

</Order>
<KillMonsters>True</KillMonsters>
<PickupLoot>True</PickupLoot>
</Profile>

Example of how it works correctly.

How can we implement the ForceRepair questId="1" minFreeBagSlots="48" into the batch so it positions it self after the <Order> tag
heres how the batch area looks

:ISINTOWN
echo !string! >> !OUTPUT!
CALL :RANDOMIZER 1 4
IF %rand% EQU 1 (echo ^<ForceRepair questId="1" minFreeBagSlots="48" /^> >> !OUTPUT!)
CALL :RANDOMIZER 1500 5000
echo ^<WaitTimer questId="1" waitTime="%rand%" /^> >> !OUTPUT!
GOTO :EOF

Sorry guys my programing sucks and I dont really know where to start.

Thanks to everyone who made all of this possible.
 
Back
Top