Author Topic: Dropable gifts, bracelet, necklace  (Read 705 times)

Immortal2563

  • Nameless
  • *
  • Posts: 87
  • Karma: 0
Dropable gifts, bracelet, necklace
« on: Oct 18, 2022; 03:31 pm »
Since it is not possible to get the normally last three parts of the set due to the lack of multi mode and broken Reanimator, is it possible to make a mod in which would add gifts(green-red coloured) like normal drop, buy in the store or more realistics as cube recipe? 300 nanoshard is a good prize.

What abouy Bracelet and necklace?
« Last Edit: Oct 18, 2022; 03:36 pm by Immortal2563 »

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 2964
  • Karma: 54
Re: Dropable gifts, bracelet, necklace
« Reply #1 on: Oct 19, 2022; 04:28 am »
If all set items are within the files, which I don't suppose they just removed outright or somehow managed to break, I don't suppose it'd be difficult to just assign them to specific sources. Same goes for accessories, which I suppose they've left in.
But I'd need to see the files to confirm that, which your recent questions are making me increasingly curious about. If they can be unpacked properly, I could probably steal some time to take a peek and fiddle around with what I can.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

Immortal2563

  • Nameless
  • *
  • Posts: 87
  • Karma: 0
Re: Dropable gifts, bracelet, necklace
« Reply #2 on: Oct 19, 2022; 08:17 am »
Browsing through other characters that are available for download on the forum, I found these gifts by accident. I didn't know that such a thing existed. Just copy the character and you can identify the packets as long as you get the rest of the set pieces.If you can unpack these gifts, everything is working fine and it is definitely still in the source code, otherwise it would show unless there is an error.. Here's a cheated character that has it all:

https://hellgateaus.cyou/forum/save-files-122/hellgate-london-2018-(steam)-review-evoker/msg58775/#msg58775

So do you know which file is directly responsible for these 16 (9 Mythic, 3 Unique Weapons, 3 Retrainers and Skill Expander) recipes in the cube? There are item codes tables on the web so I'd play with that. I would add this gift as a 17th recipe.
« Last Edit: Oct 19, 2022; 08:23 am by Immortal2563 »

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 2964
  • Karma: 54
Re: Dropable gifts, bracelet, necklace
« Reply #3 on: Oct 19, 2022; 09:41 pm »
Huh, so these items do exist then. Great, that's good to know.

So do you know which file is directly responsible for these 16 (9 Mythic, 3 Unique Weapons, 3 Retrainers and Skill Expander) recipes in the cube? There are item codes tables on the web so I'd play with that. I would add this gift as a 17th recipe.
I don't suppose recipes for these items exist, as I don't recall ones for them in the original Global release. So unless ones do exist, you'd need to create ones - or assign some loot to specific bosses, or a combination of the two depending on preference.
That's a bit complex to get down, and that's assuming they haven't changed table structures, but here goes.
  • Items are defined in items.txt. If you can't locate one by name (ie the data name differs from the in-game name), you can look them up in strings_items.xls.
  • Monsters are defined in monsters.txt. This is relevant, because that's also where their treasures are referenced - if you want to assign specific drops to specific bosses.
  • Recipes are, unsurprisingly, defined in recipes.txt.
  • Treasures, which include recipe results (and boss loot, if you need to assign some to bosses), are defined in treasure.txt.

So, if you want to add specific loot to a specific boss (hopefully repairing their missing Set drops in the process), you'll need to
  • Locate a boss's treasure, defined in "treasure" and "champion treasure" in monsters.txt. For boss names, the same applies here; if you can't locate a boss, simply look up the in-game name in strings_monsters.xls.
  • Look up that entry in treasure.txt. The name should be the exact same as the one defined above.
  • There, go through the treasure structure. Boss treasures are usually complex, as the initial treasure line then references subsequent treasure lines - eg, Moloch's "pit_baron_treasure" consists of "tc:[line name]" entries. In those cases, locate a treasure line referenced by the first (eg "pit_baron_nanoshards" is referenced in "pit_baron_treasure" as "tc:pit_baron_nanoshards") which has enough room for new items.
  • There, add your items of choice, using the exact same name as their name in items.txt.
  • Tweak drop rates according to your preferences, using the relevant columns (eg "nodrop" chance, etc).

Adding recipes is similar enough, as you'll need to
  • Add a new recipe entry in recipes.txt. Define ingredients and ingredient amounts in the relevant columns, and reference a new treasure in column "treasure result".
  • In treasure.txt, add a new treasure entry with the exact same name as you used above. This will determine the new recipe's outcome.
  • There, define your desired recipe outcome in the "item1" column - unless you want multiple possible results, in which case you'll need to tweak "item2", etc, as well, and set weights for each.

That should be all, unless I'm forgetting a step. And again, that's assuming they've left table structures the same - which I'd like to hope they did.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

Immortal2563

  • Nameless
  • *
  • Posts: 87
  • Karma: 0
Re: Dropable gifts, bracelet, necklace
« Reply #4 on: Oct 20, 2022; 08:45 am »
Doesn't look difficult. Thanks Bryan.

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 2964
  • Karma: 54
Re: Dropable gifts, bracelet, necklace
« Reply #5 on: Oct 20, 2022; 05:56 pm »
Happy to help :)
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

Immortal2563

  • Nameless
  • *
  • Posts: 87
  • Karma: 0
Re: Dropable gifts, bracelet, necklace
« Reply #6 on: Oct 20, 2022; 09:50 pm »
I have Excel. I have unpacked both fixes available here on the forum and there is an Items file in one but this is encrypted, Excel shows some strange stamps only. How can I decode it if I want to do it only with Excel? The second question is how do I pack it with hellpack. After clicking on it, it freezes, so you probably need to make a batch file. There was something like this for UnHell: unhell "D: \ HELLGATE - London \ data \ sp_hellgate_1337". Sorry but I haven't played it yet.

I will also do inc stack size up to 5000 in one go, check why in catacombs 11-15 there is no Balbi Ring. The other three on the same level drop continuously.

The most important thing is whether it is possible to replace without using the map editor bosses in the catacombs and those from Tokyo Defense so that you get the remaining three parts of the set, and if not, just replace them so that these three parts of the set fall out with a very high probability. Or maybe Gluton Kurodon because he is simple and you go to him quickly and, of course, he throws away a part of the set after his death.
« Last Edit: Oct 20, 2022; 09:57 pm by Immortal2563 »

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 2964
  • Karma: 54
Re: Dropable gifts, bracelet, necklace
« Reply #7 on: Oct 20, 2022; 10:41 pm »
No idea on encrypted Excel files or the Hellpack/UnHell tools, I'm afraid. I've never used either, so I'd probably confuse more than help.

Replacing Catacombs bosses shouldn't require a map editor. If they're quest targets (which I recall they were), you can just tweak quest.txt; find the relevant quest entries, and replace their current targets in "objective monster" fields with the ones you'd want to spawn in their place.
If quest names are too confusing to pinpoint, you can also consult strings_quest.xls to look up their in-game names.

Now if they're not quest targets, you could also try levels_drlg_choice.txt; add the desired bosses in "named monster class" for the desired map(s), and tweak spawn chances through the "named monster chance" column.

If there are complications with either (though more likely with the latter, I'd suspect) I'd look through spawnclass.txt next, which determines spawn pools for different maps. These are referenced in levels_drlg_choice too, under "spawn class" - so that should also work as a workaround, making bosses simple possible spawns.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

Immortal2563

  • Nameless
  • *
  • Posts: 87
  • Karma: 0
Re: Dropable gifts, bracelet, necklace
« Reply #8 on: Oct 21, 2022; 08:33 am »
I've already dealt with it. I used ModLauncher which was Hellpack instead of Reanimator. The Reanimator itself is enough. Now it is possible to merge both fixes into one file.

Looking through dozens of posts about mods, I see that everyone edits it with the Table Editor in Reanimator, not in Excel.

1. How to mod an already existing mod? Reanimator does not want to open such a file. He only wants the HG originals. If I change the value here to 5000 and put it in another mod, both mods will have Items.txt files and it won't work.
2. Is it possible to set the achievements in advance after entering the game? So that when you enter the game you get + xCC for PvP achievements.
3. Yesterday half a day of running after the Balbi Ring is a big misunderstanding. Bryan tell me if you know how change the quest "A Leg Up" it's index 109, it's also 108 but not repetable so isn't it to get an UNIDENTIFIED BALBI RING? Instead of the award (offerReward_string), instead of the name, there is simply Wart Pegs Leg, there is some Quest_Joeldaily ... so again look for something that is and change the type of reward there. I know it's a cheat but I have my patience limit. I'm tired.
4. You don't actually need an editor to change the boss in the catacombs. The problem is that the boss is not called, for example, Occulis, but I don't remember .... pm_15 or something like that.
5. Baracelet, necklace I have no idea how to set it up for sale in a shop like a premium shop used to be.
On other characters I saw + 5AA or + 7AA. In the guides in the premium shop there were + 10AA and on the unique items + 20AA, so I do not know which ones are legal and how much it cost at Global.

This Reanimator doesn't even have a search option.

Last second. I changed the stacksize to 5000 in Adrenaline, Baisc and Advanced Fragments and I did it in a separate mod so that they would not exclude each other and still in the Adrenaline pack I can only 10 and 100 in fragments. Wtf?
« Last Edit: Oct 21, 2022; 01:02 pm by Immortal2563 »

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 2964
  • Karma: 54
Re: Dropable gifts, bracelet, necklace
« Reply #9 on: Oct 21, 2022; 01:24 pm »
Hellgate modding is hard business, no doubt about it. Only patience will get you to the goal; if not today, then tomorrow.

1. How to mod an already existing mod? Reanimator does not want to open such a file. He only wants the HG originals. If I change the value here to 5000 and put it in another mod, both mods will have Items.txt files and it won't work.
You'd need to merge the changes of the two mods, either manually (by re-entering both mods' edited entries into a clean items.txt) or through some other way. Optional mod components would be where I'd look for the latter option, as it sounds close enough to your goal here. Though I haven't explored this area at all, myself.
2. Is it possible to set the achievements in advance after entering the game? So that when you enter the game you get + xCC for PvP achievements.
Not that I know of, but you can change the achievement requirements into something that's actually doable within the game. You'll need achievements.txt for that, to change these achievements' "type" column into something other than PvP wins. For instance, you could make them a "kill" type, change the "complete number" field to "100", and set the "monster unit type" to "undead"; now you get the achievement skill after 100 necro kills.
3. Yesterday half a day of running after the Balbi Ring is a big misunderstanding. Bryan tell me if you know how change the quest "A Leg Up" it's index 109, it's also 108 but not repetable so isn't it to get an UNIDENTIFIED BALBI RING? Instead of the award (offerReward_string), instead of the name, there is simply Wart Pegs Leg, there is some Quest_Joeldaily ... so again look for something that is and change the type of reward there. I know it's a cheat but I have my patience limit. I'm tired.
Here you'd need to track down the repeatable quest's reward in offer.txt too; "treasure 0" looks like it can reference the desired reward.
Balbi's being unidentified should ideally not matter, as any Balbi's spawned naturally should roll for random affixes. But if you'd like to change that too, offer.txt also has a "do not identify" column you can set to "1".
4. You don't actually need an editor to change the boss in the catacombs. The problem is that the boss is not called, for example, Occulis, but I don't remember .... pm_15 or something like that.
That's true, bosses' internal names very often don't match their in-game names. Look through strings_monsters.xls for internal names.
5. Baracelet, necklace I have no idea how to set it up for sale in a shop like a premium shop used to be.
On other characters I saw + 5AA or + 7AA. In the guides in the premium shop there were + 10AA and on the unique items + 20AA, so I do not know which ones are legal and how much it cost at Global.
Setting up a dedicated shop from scratch shouldn't be easy, and my ideas on that front are very limited. I suppose you could add them to regular vendors (though vendor wares' location escapes me now), or as recipe results, or as boss drops. To me, boss drops sound the most logical - but that's just how I'd do it.
For +AA values, I'm afraid I can't remember. The wiki lists +5 too, but I think it used to be higher - probably based on level. To change that, you can track down the affix they use in affixes.txt, and modify its values there.
Last second. I changed the stacksize to 5000 in Adrenaline, Baisc and Advanced Fragments and I did it in a separate mod so that they would not exclude each other and still in the Adrenaline pack I can only 10 and 100 in fragments. Wtf?
No idea, I'm afraid; I'd need to see the data to try to pinpoint the issue. Though it could just be the items have hard-coded caps, in which case fiddling with data won't bypass them.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

Immortal2563

  • Nameless
  • *
  • Posts: 87
  • Karma: 0
Re: Dropable gifts, bracelet, necklace
« Reply #10 on: Oct 21, 2022; 03:12 pm »
With this Balbi it works like you said but only in theory. Offex.txt reward is index 8 and treasure0 = 111. Treasure.txt 111 is this quest and in the "item1" section I changed the value from 1391 (WartPegLeg) to 1871 BK Dye Kit (because I just don't have it) and he still has legs on offer. I have no idea why it doesn't work.

I swapped values for these items from the Premium Shop and only got two pairs of green shoes on offer. Any value other than 1391 are green items.

Then something fucked up that even when I removed the mod, I had green items on offer and I had to restore the character to an older one.

Changing the PvP achievement to kill 1 zombie also does not work. In the old Reanimator 1135 there is no achievements section at all. I think this steam Reanimator is damaged or incomplete.

Thanks for helping Bryan
« Last Edit: Oct 21, 2022; 05:52 pm by Immortal2563 »

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 2964
  • Karma: 54
Re: Dropable gifts, bracelet, necklace
« Reply #11 on: Oct 21, 2022; 11:49 pm »
Happy to help as best I can.
Unfortunately, between the Reanimator and Steam's file structure, I'm not sure how far I can go without getting some hands-on involvement.
Speaking of,
Offex.txt reward is index 8 and treasure0 = 111. Treasure.txt 111 is this quest and in the "item1" section I changed the value from 1391 (WartPegLeg) to 1871 BK Dye Kit (because I just don't have it) and he still has legs on offer. I have no idea why it doesn't work.

I swapped values for these items from the Premium Shop and only got two pairs of green shoes on offer. Any value other than 1391 are green items.
Could you share a screenshot of this? I have a suspicion I'd like to verify, if you're still intending to work on this.
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

Immortal2563

  • Nameless
  • *
  • Posts: 87
  • Karma: 0
Re: Dropable gifts, bracelet, necklace
« Reply #12 on: Oct 22, 2022; 09:44 am »
Before all, what Reanimator, what version? I have some steam where the numbers are: Reanimater by Revival Team 2009-2010. The older version 1135 does not have any achievements in the table and is not suitable.

I say he is incomplete or damaged. As soon as I try to switch the options from PvP to kill, this option is still active and does not allow the program to do anything, even close it. Then I have to close it with Ctrl + Alt + Del.

In addition to this, there are 1391 other numbers, maybe they also need to be rearranged?

Photos: https://www.mediafire.com/file/7igcusj15px13gt/Reanimator7z.7z/file

Reanimator: https://www.mediafire.com/file/u7rnuu2ym2mvabe/Reanimator_Program.7z/file

I tried a few more times and it doesn't work. The Balbi Ring is only under a different name and has an index of 2024 and npc still has a leg on offer.
« Last Edit: Oct 22, 2022; 04:30 pm by Immortal2563 »

Bryan

  • Tactical Happenstance
  • Administrator
  • Great Eye / First
  • *****
  • Posts: 2964
  • Karma: 54
Re: Dropable gifts, bracelet, necklace
« Reply #13 on: Oct 23, 2022; 04:47 pm »
Yeah, from these I can see we're working on entirely different environments. I'm working with an internal 2038 buildbot, where I get to work with uncooked txts - which look a bit similar to those tables, but are definitely not identical. Whether that's due to the environment alone or also different data structures is anyone's guess, until I get to uncook Steam to have a proper look.
So for instance,
Offex.txt reward is index 8 and treasure0 = 111. Treasure.txt 111 is this quest and in the "item1" section I changed the value from 1391 (WartPegLeg) to 1871 BK Dye Kit (because I just don't have it) and he still has legs on offer. I have no idea why it doesn't work.
I wouldn't know if this is *supposed* to work this way, as I make references by name and not by index/numerical value. Or if the Reanimator you're using is even fully compatible with the Steam release, which it sounds like it isn't fully:
I say he is incomplete or damaged. As soon as I try to switch the options from PvP to kill, this option is still active and does not allow the program to do anything, even close it. Then I have to close it with Ctrl + Alt + Del.
Your best bet for this task should be this one, as long as it's compiled into an executable program: https://github.com/ti360gh/Reanimator-steam
Prior releases had their own issues to begin with, but going through this one's documentation I can't imagine they'd just happen to work for this task.

Edit: Ah, guessing you're using this one (which should be a compiled version of the above repo): https://hellgateaus.cyou/forum/steam/reanimator-for-steam/
In that case I'd be very much unable to help with this front, as I really know nothing about it.

And even with everything in order, Hellgate is quite an arcane game with many cross-table references. So solutions may often not be obvious, and patience really is an asset. Kikina, who worked in a similar environment to yours, should attest to that.
« Last Edit: Oct 23, 2022; 04:55 pm by Bryan »
"Dream big and crash often"
-Omerta

List of Global class guides.
The above guides may be obsolete for vanilla SP, but they may still hold true for the 2018 Steam version.

Immortal2563

  • Nameless
  • *
  • Posts: 87
  • Karma: 0
Re: Dropable gifts, bracelet, necklace
« Reply #14 on: Oct 23, 2022; 06:52 pm »
After all, they had to make these fixes with a compatible program.

This is a newer version of Reanimator, a month younger and most importantly:

Update Apr 6, 2021
  Fixed issue that can't read Dec 2018 update resources.

So what I have was for the base version not to 2.1.0.4. I'll check now and let you know.

u Said "I wouldn't know if this is * supposed * to work this way, as I make references by name and not by index / numerical value. Or if the Reanimator you're using is even fully compatible with the Steam release, which it sounds like it isn't fully: "

If I have to enter the name in the item instead of the index, where?

Edit. Doesn't work. There is still only Wart Peg Leg on offer and to achieve PvP after switching to 1 zombie kill the game still requires PvP participation. I PM to both people who wrote these FIXES let me tell you what version they used and what I am doing wrong. They could say exactly what to change, I would have something to learn from.

Bryan, do you have any Discord for London 2038?
« Last Edit: Oct 23, 2022; 07:20 pm by Immortal2563 »