Author
|
Topic: Shed some light on cube recipes
|
General Nutt Lord
 
Posts: 123 From: Great White North Registered: Jan 2002 |
posted 26 January 2002 20:12
Shed some light on cube recipesHaving a hard time with the cubemain.txt. Say I want to take two rings (or any items) and combine them so the properties contained on both will be transmuted onto one. For instance ring+1 light and ring+2 light would become ring+3 light but a ring+1 light and a ring 10 fire res would be a ring +1 light, 10 fire res. What would my ‘input1’,input2’ and ‘output’ read? And what dose the cubemod.txt do?
------------------ Speak Softly and carry a big sword (or two)

|
Zhoulomcrist Forum Admin.
    
Posts: 3239 From: USA Registered: Jan 2001 |
posted 26 January 2002 20:17
As far as I know, this type of functionality for horadric recipes is unavailable. For example, 2 unique (or other type) rings could transmute into a 3rd ring. But, the properties of the first two would be lost before the resulting (output) ring was created. This has actually come up before. But, as of yet (unless someone else out there has found one that I'm unaware of), there's no built-in function to auto-merge the properties of the items in a recipe and place them onto the resulting item.------------------ Diablo was vaporized by Zhoulomcrist's redeemer ************************ Classic Diablo II: ZhoulomCrypt Project Administrator
[This message has been edited by Zhoulomcrist (edited 26 January 2002).]

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 26 January 2002 20:22
Actually, there might be a very long and tiring way. For example, let's say you want a +1 lightradius ring and a +1 lightradius ring to be +2 light radius ring. You can make a recipe that has a ring with a Pre=lightradius and then another ring with a Pre=lightradius to equal a ring with Pre=lightradius but with a higher number. So, for the Pre=lightradius, you need to put a number in the "lightradius" text which corresponds to the affix number lightradius or something. Never really worked with the Pre= command.------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
General Nutt Lord
 
Posts: 123 From: Great White North Registered: Jan 2002 |
posted 26 January 2002 20:26
So out put would look like rin,mag,pre=### ? what would the input1 line look like ring,mag,pre=### ?------------------ Speak Softly and carry a big sword (or two)

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 26 January 2002 20:35
Something along those lines.  ------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 26 January 2002 20:50
Anyways, the input should be the same...not exactly sure how it should work, I have to check it out.------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
ShadowTalon WarLord
  
Posts: 198 From: Perth, Western Australia, Australia Registered: Sep 2001 |
posted 26 January 2002 20:56
thx for the insight apoc  wasnt there a rune mod that melded the rune properties to weapons? or something like that? i was hoping to make a reciped to meld my new gems into weapons and armors ...maybe this method u speak of will help us  ------------------ I once believed. Others looked to me for strength, for my faith was a pillar in the house of the Elders. I once believed in something greater than myself; I believed that the faithful would be rewarded and the evil would be punished. I believed the Prophecies of the Final Day to be mere superstitions-and that even if they had any credence at all, as our ancestors believed, the events they spoke of would never come to fruition in out time I was a fool.

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 26 January 2002 20:58
Hmm, are you talking about Sir_General's Rune mod? If so, download the mod and check out how he did his recipes.------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 26 January 2002 21:12
Ok got it. The number that you put in pre= is the line number+1 in either magicprefix.txt or magicsuffix.txt. For example, let's say we are talking about the prefix "glimmering." In magicprefix.txt, the line number for glimmering is 49. So, we do 49+1=50. So, for the pre, we type in pre=50 and that should give us the affix glimmering. So, to make an input of a glimmering magic ring, we do this in the input column:Input 1 column- "rin,mag,pre=50" Input 2 column- "ring,mag,pre=50" Output column- "ring,mag,pre=51" Prefix 50+1=51 is the glowing prefix. Thus, we just made a recipe that added glimmering+glimmering=glowing ring. However, I'm not sure how to add affixes that have a range. For example, if you had a +10 str ring with a +9 strength ring, they both belong to the same suffix so I don't know how add affixes with large ranges. Lets say we wanted to combine a +1 necro skills ring with a +1 lightradius ring to make a +1 necro skills and +1 lightradius ring, we do this: Input 1- "rin,mag,pre=572" Input 2- "ring,mag,pre=51" Output3- "ring,mag,pre=572,pre=51" In this case, the pre=572 is the line number of the prefix "summoner's"+1 which is 572.
------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
General Nutt Lord
 
Posts: 123 From: Great White North Registered: Jan 2002 |
posted 26 January 2002 22:08
Hey Thanks for all the work Apocalypse Demon! so i guess everytime i wan't to do this I would have to add a new entry, not what I was hoping for. ------------------ Speak Softly and carry a big sword (or two)

|
Zhoulomcrist Forum Admin.
    
Posts: 3239 From: USA Registered: Jan 2001 |
posted 26 January 2002 22:11
Yeap. This is unfortunately gonna take alot of workin' in the long run to do this kind of stuff since there's no available function for merging magic properties and placing them on the resulting item.------------------ Diablo was vaporized by Zhoulomcrist's redeemer ************************ Classic Diablo II: ZhoulomCrypt Project Administrator

|
ShadowTalon WarLord
  
Posts: 198 From: Perth, Western Australia, Australia Registered: Sep 2001 |
posted 26 January 2002 22:19
well if i can fix the damn errors im getting by 2night ill try out some recipes 2morrow to see if i can egt it working------------------ I once believed. Others looked to me for strength, for my faith was a pillar in the house of the Elders. I once believed in something greater than myself; I believed that the faithful would be rewarded and the evil would be punished. I believed the Prophecies of the Final Day to be mere superstitions-and that even if they had any credence at all, as our ancestors believed, the events they spoke of would never come to fruition in out time I was a fool.

|
Zhoulomcrist Forum Admin.
    
Posts: 3239 From: USA Registered: Jan 2001 |
posted 26 January 2002 22:25
Good luck with it That'd be a hell of a good function to have for a recipe if it could be made into an easier process.------------------ Diablo was vaporized by Zhoulomcrist's redeemer ************************ Classic Diablo II: ZhoulomCrypt Project Administrator

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 26 January 2002 22:29
Soo, just to sum up, if you want to make this work for EVERY affix, you got alot of lines to add. One for each combination of prefix AND suffix and maybe even every(affix+affix)+(affix+affix). And since the max lines you can have is 4096, I don't think you will be able to accomplish this because you will run out of lines.------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
Zhoulomcrist Forum Admin.
    
Posts: 3239 From: USA Registered: Jan 2001 |
posted 26 January 2002 22:35
Using this procedure, you would have to add a line for every possible combination of affixes, prefixes, and suffixes on an item to make it work. But, of course, whomever wants to attempt to improve upon this process, go for it . Though I think this is the only procedure that'l make it work, there could be a .01% chance that I could be wrong on that, though in this case, the chances appear very slim that this procedure can be quickened and improved upon anymore.------------------ Diablo was vaporized by Zhoulomcrist's redeemer ************************ Classic Diablo II: ZhoulomCrypt Project Administrator
[This message has been edited by Zhoulomcrist (edited 26 January 2002).]

|
Apocalypse Demon Moderator
   
Posts: 4023 From: Mississauga, Ontario Registered: Oct 2001 |
posted 26 January 2002 22:39
Exactly...I can't see a way to further simplify this. Any cubemain experts want to share any ideas? Or perhaps, you can make it so, only a suffix and an affix can combine? But that will still make you run out of lines. Or perhaps just making it so two of the same affix type=the next higher affix type. So, for example, let's say you get two ring of the squids, you can transmute them to get one ring of the whale for example. ------------------ God gave me a brain to use but I miserably failed to use it to my advantage

|
stargazer79 Honorary Warlord
   
Posts: 883 From: Sweden Registered: Jun 2001 |
posted 18 February 2002 12:34
hmm i guess that answer my questions ..i really was hopeing there was a simpler way.. i mean..on one hand you CAN use the "useitem" and it will preserve the code of the FIRST item. they have useitem,usteype, pre, suff, would have been nice with a simple item,usestat=input#
------------------ Love is the irresistable desire to be irresistably desired.

|