Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Diablo 2 > Diablo 2 Programming
You last visited: Today at 20:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Muddy's cubing ort and lower?

Discussion on Muddy's cubing ort and lower? within the Diablo 2 Programming forum part of the Diablo 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 6
Received Thanks: 1
Muddy's cubing ort and lower?

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.
postcowboy is offline  
Old 05/20/2013, 02:04   #2
 
elite*gold: 0
Join Date: Apr 2010
Posts: 6
Received Thanks: 1
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.
Attached Images
File Type: jpg el-ort cubing.jpg (77.0 KB, 11 views)
postcowboy is offline  
Old 05/20/2013, 15:30   #3
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41624
Join Date: Jan 2010
Posts: 22,728
Received Thanks: 12,654
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.
Muddy Waters is offline  
Old 05/20/2013, 21:22   #4
 
elite*gold: 0
Join Date: Apr 2010
Posts: 6
Received Thanks: 1
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.
postcowboy is offline  
Old 06/05/2013, 00:04   #5
 
elite*gold: 0
Join Date: Apr 2010
Posts: 6
Received Thanks: 1
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.
postcowboy is offline  
Reply


Similar Threads Similar Threads
D2NT 3.1 Cubing only?
02/19/2013 - Diablo 2 Programming - 1 Replies
Hallo, ist es möglich den Bot,einen char gefüllt mit den Zutaten für 1 Rezept einfach nur craften zu lassen bis alles weg ist?
Muddy's d2nt Cubing von pgms/craften
01/24/2012 - Diablo 2 Programming - 3 Replies
Guten Tag hab da ne frage wie kann ich das craften aus schalten aber das er pgms cube und denn hab ich problem wenn er crafted cube er die Skulls nicht wie kann ich es einstellen das er die cube ? Mfg
Cubing
12/22/2011 - Diablo 2 Programming - 0 Replies
Ich nutze nen erweiterten Bluebird. Ich wollte mal Fragen ob es möglich ist, immer 2 Craftjools zustashen ? Im Muddys ist ja ne Funktion enthalten die ähnlich ist. Wenn es etwas mehr zum Programmieren ist und jemand so nett ist, und das für mich erledigt. Würde ich ihn bissel Fg Sponsern Hier meine Cubing Lib const NTCU_GEM = 0;
Solo cubing
10/10/2011 - DarkOrbit - 8 Replies
Do you guys know what is the best design to solo cubes?
Auto Cubing
03/21/2011 - Diablo 2 - 4 Replies
Also heute möchte ich mich zunächst nochmal offiziell bei den Scriptern bedanken, die regelmäßig ihre Bots, die sie hier eingestellt haben, verbessern, weiter entwickeln und Hilfestellungen geben. Ihr macht das SUPER, Daumen hoch! Nun habe ich folgende Frage: ich möchte gerne meine ganzen pg-packs und craftpacks automatisch vercraften lassen, also sprich: ich mach den Char voller pgs und nen sc oder gc mit ilvl >= 94 und will, dass er automatisch so lange cubt, bis die pgs alle sind bzw. er...



All times are GMT +1. The time now is 20:36.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.