Proper way for changing profile options in Waypoint?
Posted: Mon Jun 08, 2015 7:52 am
I was wondering what is the proper way for changing profile options within a waypoint file? I've seen it done a few ways and for some reason, I'm seeing some inconsistent result with some of the methods.
I have two separate waypoint files I was messing with this weekend. In one of them, where I need to kill and Loot for quest items, I had to mess with it quite a bit to get it working and this is what I ended up with to get it working:
Yet, in a different waypoint file, One where it was just killing with no looting, I had to enter the profile changing like this:
I'm not sure why it was working one way in one file and a different way in the other file. Which is the proper way? I've also seen it done like this but didn't try this one:
Would that be the better way of doing it?
On a side note, If I were to use the ID of a mob in a variable for use of setting what mobs to attack, and only had 1 mob I wanted to attack, which way should I set up that variable? I was having trouble passing a variable into the mobs profile option.
I have two separate waypoint files I was messing with this weekend. In one of them, where I need to kill and Loot for quest items, I had to mess with it quite a bit to get it working and this is what I ended up with to get it working:
Code: Select all
settings.profile.mobs = {105151} -- "Zapa River Ostrich"
settings.profile.LOOT = "true"
settings.profile.ANTI_KS = "true"
settings.profile.LOOT_ALL = "true"
settings.profile.options.TARGET_LEVELDIF_BELOW = "55"
Code: Select all
settings.profile.mobs = {105141, "Northern Lurker"} -- "Northern Lurker"
settings.profile.options.LOOT = "false"
settings.profile.options.ANTI_KS = "false"
settings.profile.options.TARGET_LEVELDIF_BELOW = "60"
Code: Select all
changeProfileOption("LOOT", false)
changeProfileOption("ANTI_KS", true)
changeProfileOption("TARGET_LEVELDIF_BELOW", 60)On a side note, If I were to use the ID of a mob in a variable for use of setting what mobs to attack, and only had 1 mob I wanted to attack, which way should I set up that variable? I was having trouble passing a variable into the mobs profile option.
Code: Select all
myMOB = 105141
-- then use this to set it:
settings.profile.mobs = {myMOB}
or
myMOB = {105141}
-- then use this to set it:
settings.profile.mobs = myMOB