Muddy's cubing ort and lower?

05/18/2013 20:02 postcowboy#1
I'm looking to have muddy's cube all runes, not just thul and above, is there any way to get muddy's to actually put three eld runes or three ort runes into the cube and up them all on it's own?


Cowboy.
05/20/2013 02:04 postcowboy#2
After a little tinkering around I figured it out by myself, just in case anyone else was wanting this as an option, if you put the following code in your NTCubing file it will auto cube all nine low runes into the next higher rune. You will have to comment them out there in the NTCubing file as i'm no programmer and not sure exactly how I accomplished it, but by trial and error it works.

NTCubing is located in Scripts, Libs, Common.

Just below this section in NTCubing:

var _NTCU_Inventory = new Array(4);
_NTCU_Inventory[0] = new Array(10);
_NTCU_Inventory[1] = new Array(10);
_NTCU_Inventory[2] = new Array(10);
_NTCU_Inventory[3] = new Array(10);

Put the following cubing recipes in and voila, bot cubes all nine low runes automatically.



var _NTCU_LowRuneRecipe = new Array();
_NTCU_LowRuneRecipe.push([NTCU_RUNE_EL, NTCU_RUNE_EL, NTCU_RUNE_EL]);
_NTCU_LowRuneRecipe.push([NTCU_RUNE_ELD, NTCU_RUNE_ELD, NTCU_RUNE_ELD]);
_NTCU_LowRuneRecipe.push([NTCU_RUNE_TIR, NTCU_RUNE_TIR, NTCU_RUNE_TIR]);
_NTCU_LowRuneRecipe.push([NTCU_RUNE_NEF, NTCU_RUNE_NEF, NTCU_RUNE_NEF]);
_NTCU_LowRuneRecipe.push([NTCU_RUNE_ETH, NTCU_RUNE_ETH, NTCU_RUNE_ETH]);
_NTCU_LowRuneRecipe.push([NTCU_RUNE_ITH, NTCU_RUNE_ITH, NTCU_RUNE_ITH]);
_NTCU_LowRuneRecipe.push([NTCU_RUNE_TAL, NTCU_RUNE_TAL, NTCU_RUNE_TAL]);
_NTCU_LowRuneRecipe.push([NTCU_RUNE_RAL, NTCU_RUNE_RAL, NTCU_RUNE_RAL]);
_NTCU_LowRuneRecipe.push([NTCU_RUNE_ORT, NTCU_RUNE_ORT, NTCU_RUNE_ORT]);

I'm fairly sure but one of the other programmers might want to chime in that this can go anywhere in where the recipes are in NTCubing. I've taken a screen shot to show that in fact it does work.


Cowboy.
05/20/2013 15:30 Muddy Waters#3
Well, I hate to be a negative Nancy here, but theoretically speaking, your changes in NTCubing.ntl - provided that you haven't left anything out in your explanation - cannot actually change anything, since you are merely declaring a variable that is never used (unless you would change the cubing algorithm).

The default cubing algorithm should support cubing of low runes by default, all you have to do is add them in your config. Maybe you did this as well, not knowing that it actually worked and then made said changes to NTCubing.ntl - when the bot started cubing low runes, you figured that it was due to your changes in NTCubing.ntl when really it was just a result of the changes to your char config.

So once again for the record:
The bot should support cubing of low runes by default, all you have to to is add the following line to your config:
Code:
NTConfig_CubingItem.push([NTCU_RUNE_EL]); // Transmute 3xEL --> 1xELD
It is important that the value added to NTConfig_CubingItem array is an also an array, even though there is just one value, since it will be populated by the cubing algorithm. In terms of style, it would be even nicer if the second value in the array passed in the push() method call is null, to indicate that this field is not required and not used for the given recipe:
Code:
NTConfig_CubingItem.push([NTCU_RUNE_EL, null]); // Transmute 3xEL --> 1xELD
However, this is just a matter of style, both the first and the second example should be working and of course work similarly for all other low rune recipes.
05/20/2013 21:22 postcowboy#4
Thanks Muddy... I actually put those lines in the global config and character config... but it didn't seem to work... not sure exactly what I did but it is cubing them...

Thanks for letting me know, whatever I did it's doing what I wanted... lol...

Cowboy.
06/05/2013 00:04 postcowboy#5
Hey Muddy here's a question for you, is there a way to write in for a baal script or something that could be added that would make the character go to stony field and get the XP shrine for doing diablo/chaos runs and baal runs?


Cowboy.