PDA

View Full Version : Dynamic Special Areas



lessa
09-27-2013, 07:51 AM
I think that if it were possible to dynamically edit the special areas with a script that would be pretty good.
Imagine a straight cave with 3 sectors, you could restrict to while killing the respawn the char walk only in the the first one; but that's already possible. Though while going to the second, you could allow the char to come back to the first room, since it's empty, and with that, you would hav emore space to run, and you be less likely to lure from the 3rd room. And finally, in the 3rd room, you could block the first one while allowing the second, having more space to run and still being safe.

Spectrus
09-27-2013, 07:59 AM
Use loadsettings().

You can load specific panels from XBST files through loadsettings(file, panel).

Eion
09-27-2013, 04:44 PM
This is in suggestions because he wants a better way to do it. Having multiple settings that go to one script can get extremely confusing, not to mention the chance of saving over the wrong one.

I also second that these setting should be changeable from LUA without the need to have multiple different xbst files for just one script.

hunner980
09-27-2013, 10:31 PM
if u buy any sorc or paladin script from jxscripts they some how put tht in idk how they do it iv been trying to figure out

lessa
09-28-2013, 06:11 AM
I checked in the library, the one avaliable in the bot's folder, and there weren't any function that could do that. The only way is how Spectrus mentioned.

lessa
09-28-2013, 11:54 PM
Also, I think that wouldn't be very hard to implement such a function as Special.Enable(table) and Special.Disable(Name). With it we could make a lot of really dinamic and complex and safer scripts. :)
In fact, it we had access to the construction of the main tools of the bot would be awesome, not only the special areas.
Imagine if we could creat special conditions to the targeting tool; we could make conditions such as, it there are 4+ scarabs and 1+ ancient scarabs use avalanche, or, create a label that changed the targeting priorities, such as, once I arrive in a place, change the priority of... dragons to only if stuck. Or even in the looting, such as if there are 1 dl, loot after else loot first.
What I mean is, we should have access to those constructions, so we could make a much, much better bot.

HeHao
10-01-2013, 07:06 PM
ye need that too