Page 1 of 2 [ 50 posts ] Go to page 1, 2  Next
 Print view Previous topic | Next topic
Author Message
 Posted: Thu Sep 25, 2003 10:20 pm  Post subject: Cubemain Op Column Secret Unveiled !!
 Senior Moderator

Joined: Mon May 27, 2002 7:19 am
Posts: 6921
Location: Orsay
Gender:
 Here's a start of a comprehensive list of op value for cubemain.txt : More will follow later. Code: Select all`Cubemain Ops (1.10)op      Skip recipe if ...-------------------------------------------------------- 1      DayOfMonth is less than Param or greater than Value 2      DayOfWeek != Value ( 1 = Sunday, ...)~~~~~~ 10519 ~~~~~~~~~~ Stat.Accr 3      player stat(param) < value 4      player stat(param) > value 5      player stat(param) = value 6      player stat(param) ! value~~~~~~ 10521 ~~~~~~~~~ Stat.Base 7      player stat(param) < value 8      player stat(param) > value 9      player stat(param) = value10      player stat(param) ! value~~~~~~ 10522 ~~~~~~~~~ Stat.Bonus  (accr - base)11      player stat(param) < value12      player stat(param) > value13      player stat(param) = value14      player stat(param) ! value        Fail Item if ...--------------------------------------------------------~~~~~~ 10519 ~~~~~~~~~15      item stat(param) < value16      item stat(param) > value17      item stat(param) = value18      item stat(param) ! value~~~~~~ 10521 ~~~~~~~~~19      item stat(param) < value20      item stat(param) > value21      item stat(param) = value22      item stat(param) ! value~~~~~~ 10522 ~~~~~~~~~23      item stat(param) < value24      item stat(param) > value25      item stat(param) = value26      item stat(param) ! value27      pItem->OtherID != value28      pItem->QuestDiff < ptGame->Diff         (only checked if Quest and QuestDiffCheck are 1)` EDIT : updated list with free codE. The 11->14 are still unknown :-/ EDIT : late correction, fixed incorrect formula. 11->14 still unknown, I can't get a single stuff out of it ^^ My best bet will be that it will work for input2 etc .... but no :-/ _________________"How much suffering, mortal, does it take before you lose your grace?"Shadow Empire (coming soon) | [color=#b8c3c7]forum Last edited by Joel on Wed Mar 15, 2006 6:48 pm, edited 5 times in total.
Top

 Posted: Fri Sep 26, 2003 12:35 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Arch-Angel

Joined: Thu Dec 19, 2002 12:21 am
Posts: 1171
Location: Switzerland
Gender:
 You're the man, Joel. I'm sure I can get great use out of this. _________________Bedevere: Well, now, uh, Launcelot, Galahad, and I, uh, wait until nightfall, and then leap out of the RABBIT, taking the French, uh, by surprise. Not only by surprise, but totally unarmed! King Arthur: Who leaps out?
Top

 Posted: Fri Sep 26, 2003 12:53 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Joined: Sat Jan 11, 2003 12:51 pm
Posts: 10687
Gender:
 Opcode 11 is a bit weird, it works only if input1.stat.accr is 0. There are some other opcodes that are also quite hard to understand what they really do.
Top

 Posted: Fri Sep 26, 2003 8:20 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Senior Moderator

Joined: Mon May 27, 2002 7:19 am
Posts: 6921
Location: Orsay
Gender:
 kingpin";p="129737 wrote:Opcode 11 is a bit weird, it works only if input1.stat.accr is 0. There are some other opcodes that are also quite hard to understand what they really do. I'm pretty sure that op code 11->14 are the same as 15->18 but for input1.stat.base as the code use the same d2common function in both case. But the great question is what does stat.base means for an item ??? _________________"How much suffering, mortal, does it take before you lose your grace?"Shadow Empire (coming soon) | [color=#b8c3c7]forum
Top

 Posted: Fri Sep 26, 2003 10:26 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Joined: Thu Jun 06, 2002 7:14 am
Posts: 226
Gender:
 well, the base AC for an armor, base min and max damage for a weapon, etc? _________________Good and evil are relative. Why, does not even the Archangel Tyrael hold up his greedy paw when asked to save a faithful warrior of the light from imminent demise? Next time you meet a Fallen Shaman, ask him what loyalty and brotherhood mean, and all will be clear. Modding Mercenary for hire, payment in runes.
Top

 Posted: Fri Sep 26, 2003 10:36 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Senior Moderator

Joined: Mon May 27, 2002 7:19 am
Posts: 6921
Location: Orsay
Gender:
 oh true !!! we have tried the recipes with jewels and charms .... that's maybe that but that will be quite limited (ac,durability,dmg,speed, ... whatelse ?) _________________"How much suffering, mortal, does it take before you lose your grace?"Shadow Empire (coming soon) | [color=#b8c3c7]forum
Top

 Posted: Fri Sep 26, 2003 10:56 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Hosted Forum Moderator

Age: 35
Joined: Sun Nov 24, 2002 4:55 pm
Posts: 1387
Location: Cartagena (Spain)
Gender:
 maybe there is an op that checks if the item is mettalic or not as example, works with swords but not with a wood sword not sure but its a possibility other things that items also can have is Block percentage or penalty on run/walk. don't have more ideas and the ones I submitted is possible to not be on that list. _________________"Mysteries are revealed in the light of reason."Black Omen's production
Top

 Posted: Fri Sep 26, 2003 11:00 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Senior Moderator

Joined: Mon May 27, 2002 7:19 am
Posts: 6921
Location: Orsay
Gender:
 Well the bitfield is not a stat from itemstatscost but merely a feature added on top of everything. however, we can test if the run penalty is not base fast run/walk of an armor .... _________________"How much suffering, mortal, does it take before you lose your grace?"Shadow Empire (coming soon) | [color=#b8c3c7]forum
Top

 Posted: Fri Sep 26, 2003 11:12 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Joined: Thu Jun 06, 2002 7:14 am
Posts: 226
Gender:
 Joel";p="129807 wrote:oh true !!!we have tried the recipes with jewels and charms ....that's maybe that but that will be quite limited (ac,durability,dmg,speed, ... whatelse ?) dunno, i just thought that's what it was, i never implied it actually had to make any sense _________________Good and evil are relative. Why, does not even the Archangel Tyrael hold up his greedy paw when asked to save a faithful warrior of the light from imminent demise? Next time you meet a Fallen Shaman, ask him what loyalty and brotherhood mean, and all will be clear. Modding Mercenary for hire, payment in runes.
Top

 Posted: Fri Sep 26, 2003 1:08 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Dominion

Joined: Mon Jun 03, 2002 10:06 am
Posts: 6715
Location: Fallen Like Lightning
Gender:
 You da man! *happy dance* Just one question: what's 'cube lightning'? 28 never did anything for me, so I'm curious. _________________19.may.2007 | Adun Tori Laz.Median XL released!Flesyht sa ruobhgien yht etah.y dont u play the game the way its supposta be played? -SlothNathan
Top

 Posted: Fri Sep 26, 2003 1:51 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Senior Moderator

Joined: Mon May 27, 2002 7:19 am
Posts: 6921
Location: Orsay
Gender:
 28 is related to quest recipes (khalim,shaft of kign). It seems it just fire off the lignting in the cube when quest reciep is performed _________________"How much suffering, mortal, does it take before you lose your grace?"Shadow Empire (coming soon) | [color=#b8c3c7]forum
Top

 Posted: Fri Sep 26, 2003 1:52 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Hosted Forum Moderator

Age: 35
Joined: Sun Nov 24, 2002 4:55 pm
Posts: 1387
Location: Cartagena (Spain)
Gender:
 Brother Laz";p="129833 wrote:You da man!*happy dance*Just one question: what's 'cube lightning'? 28 never did anything for me, so I'm curious. it maybe that animation that appears on the cube when you fix the Staff or the Kalim's will. _________________"Mysteries are revealed in the light of reason."Black Omen's production
Top

 Posted: Fri Sep 26, 2003 1:59 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Joined: Sat Jan 11, 2003 12:51 pm
Posts: 10687
Gender:
 Quote:Just one question: what's 'cube lightning'? 28 never did anything for me, so I'm curious. This is quest related. My guess is that it only works for items related to a quest. So, the lightning can't be showed without some code editing. Afj666 made a code change to get the light effect showed in 1.09.
Top

 Posted: Sat Sep 27, 2003 2:31 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Age: 62
Joined: Sat May 25, 2002 7:28 am
Posts: 12062
Location: Percussion U
Gender:
 Look in the op handling code to see if it reads the quest field from the items table (weapons/armor/misc). There may be a construct using a 012A displacement such as: mov eax, [esi+12A] test eax,eax where esi would have the record pointer. (I picked eax and esi at random, they could be almost any register, the important thing is the displacement value.) _________________Do the right thing. It will gratify some people and astonish the rest.~ Mark TwainRun Diablo II in any version for mods: tutorialThe Terms of Service!! Know them, abide by them, and enjoy the forums at peace.The Beginner's Guide v1.4: (MS Word | PDF) || Mod Running Scripts || TFW: Awakening
Top

 Posted: Sat Sep 27, 2003 4:04 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Angel

Joined: Sun Aug 17, 2003 12:42 pm
Posts: 585
Gender:
 why oh why aren't there more than one op? i thought about getting jewel property joining(usemod/usetype or what it was, but it probably doesn't work that way ) but i don't want it to work with large ias/dmg/-req. but then again -req isn't the most overpowering thing in the world, and i still haven't gotten a single ias jewel, so restricting it to %dmg would be enough.
Top

 Posted: Sat Sep 27, 2003 11:42 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Age: 36
Joined: Sun May 26, 2002 5:54 pm
Posts: 7597
Gender:
Top

 Posted: Mon Sep 29, 2003 7:51 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Moderator

Joined: Tue May 28, 2002 8:57 pm
Posts: 955
Location: Chicago, IL, USA
Gender:
 Has anyone done any testing on these? Everything I have tried has had no effect. Could these not be activated yet?
Top

 Posted: Mon Sep 29, 2003 8:40 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Senior Moderator

Joined: Mon May 27, 2002 7:19 am
Posts: 6921
Location: Orsay
Gender:
 Well, all the aformentioned op code works. rememebr to use stat ID not name ! like : op = 6 param = 31 value = 10 will enable a recipe only if player's AC is equal to 10. param = armor_class will not work. _________________"How much suffering, mortal, does it take before you lose your grace?"Shadow Empire (coming soon) | [color=#b8c3c7]forum
Top

 Posted: Tue Sep 30, 2003 8:32 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Knight

Joined: Fri Aug 08, 2003 10:09 am
Posts: 34
Location: Midrand, GP, South Africa
Gender:
 Code: Select all`Op:     Param:  Value:  Effect:15      stat    value   Valid recipe if (input1.stat.accr <= value)16      stat    value   Valid recipe if (input1.stat.accr >= value)` I think these two are transposed; 15 should be >= and 16 <= _________________Francois "Go now and sin no more." - John 8:11 All technical links have been removed from this signature, until definitive 1.10 data becomes available. All my characters are simply Red on Europe and at home, see them here.
Top

 Posted: Tue Dec 16, 2003 9:44 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Hosted Forum Moderator

Joined: Thu Aug 28, 2003 5:39 pm
Posts: 1273
Location: Rhuidean, the city of dreams
Gender:
 how do the free op codes work? By this I mean, can we use them to create our own checks? If so, would it require code editing, or would it be done in the txt files somewhere? _________________Reality is different for each person; What one person sees, another does not. It's all a matter of perspective. This is my reality, I'll live it as I choose."Qui desiderat pacem, praeparet bellum""Who desires peace should prepare for war." - Vegetius De Rei Militari III
Top

 Posted: Tue Dec 16, 2003 11:43 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Joined: Sat Jan 11, 2003 12:51 pm
Posts: 10687
Gender:
 The Free opcodes requires code editing to add our own custom checks.
Top

 Posted: Wed Dec 17, 2003 9:54 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Joined: Tue Nov 11, 2003 2:15 am
Posts: 208
Gender:
 kingpin";p="145050 wrote:The Free opcodes requires code editing to add our own custom checks. Is there a tutorial on how this can be accomplished? _________________Der Segmentierungsfehlermeister
Top

 Posted: Wed Dec 17, 2003 10:25 pm  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Joined: Sat Jan 11, 2003 12:51 pm
Posts: 10687
Gender:
 No, there are no tutorial. Don't even know if anyone has added extra opcodes. Joel has just mentioned that there are room for additional opcodes.
Top

 Posted: Thu Jan 29, 2004 8:25 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!
 Hosted Forum Moderator

Joined: Fri Feb 28, 2003 10:52 am
Posts: 1063
Gender:
 Is there a code that checks for single skills, not combined single skills? Last edited by Vegabond_635 on Thu Jan 29, 2004 8:28 am, edited 1 time in total.
Top

 Posted: Mon Mar 29, 2004 6:18 am  Post subject: Re: Cubemain Op Column Secret Unveiled !!

Joined: Sat Jan 11, 2003 12:51 pm
Posts: 10687
Gender:
 Note that the OP Column list is for 1.10s. When I have been trying today for first time in final version. This list doesn't anylonger seems to be correct. So this would explain the trouble other seems to have.
Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 2 [ 50 posts ] Go to page 1, 2  Next

#### Who is online

Users browsing this forum: No registered users and 9 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ The Phrozen Keep Forums    Staff Announcements    Member Аnnouncements    Multi-Player Matchups    Job Offerings    Keep Updates    Keep Polls    Feedback Diablo 2 Discussion    Diablo 2 Mod Making       General Mod Making       Tools       Multimedia       Map Editing       Code Editing       PlugY|NefEx|D2Mod       Skill Clinic       Mod Concepts & Research       Mac Modding    Diablo 2 Chatter    Diablo 3 Chatter Diablo 2 Mod Forums    Back to Hellfire    Battle for Elements    Black Omen Productions       Mods by Nefarius       Shadow Empires    Blackened    Diabolic Studios       Diabolic Studios Site       The Hordes of Chaos       Dark Alliance    Eastern Sun    Legacy of the Horadrim    Le Royaume des Ombres    Talonrage's Requiem of Sorrow    Zy-El: Trial by Fire    The Sandbox    Unsupported Mods       Nezeramontias       Ancestral Recall       Kingdom of Tenai       Mods by GuyAskingQuestion       The Fury Within: Ancients & Awakening       Darkness Weaves       V&K Mods       New Dawn & North Star       Baldur's Gate Mod       Sir_Generals Rune Mod       Dragons' Uprising       Seasons After       CryptForge       d2:elements       Escape From The Afterlife       Underkill       Pagan Heart       Hades Mods          Apocalypse          Cubaholics          Hades Underworld       Sanctum Arcanum          Arcanum Archives          Rise of the Old Gods Miscellaneous    Off-Topic    Testing Currently Unavailable    Upcoming Forums    Limbo       Seven Lances       Wheel of Time       Tactics Central       Mod Reviews       DoomsDay       Time of Heroes       Bloodwars, Inc.       Darque Onyx Mods       Cabal Wars - Aeons Tide       Deathfile's Sanctuary       A Pledge To Evil       When Worlds Collide II       Prophecy of Shadows       Valhalla       Darque Onyx Site       Visions of Valor       Cheater's Choice Series       Dark Sabbath       Corrupted Death       Belize's Revenge       Brother Laz       Chaos Empire       Odin's Runeword Mod       Stormbringer       The Dark Omen       Mods By Laz       The Stairway to Oblivion