How to pull out all the recipes

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

pepe-
Newcomer
Posts: 12
Joined: October 21st, 2024, 11:05 pm
Has thanked: 2 times

How to pull out all the recipes

Post by pepe- »

Hey, everybody!

Recently started learning how to hack maps, read this guide: viewtopic.php?t=34777

it shows you how to pull the items list(rawcode) as I understand it, the same principle is used to pull out unit list but it doesn't say anything about the recipes that might be in the map and after digging around I realized that all recipes and items that can fall from bosses or creeps are described in the *.j file.

My question is how to conveniently pull out the entire list of recipes and from which bosses/creeps fall certain items, as well as about quests, specifically from whom they are taken and what conditions are needed to fulfill them. The first thing that comes to mind is a parser that will match the id of items and units from text files (which we get after the actions performed in the guide that I specified) in *.j file and take out recipes in a separate file, and from which unit a certain item, if such is droped of it. But then how to get information about quests, and what is needed to get and fulfill them?

What is the best way to do in such a case and maybe there are already ready-made solutions?
Germain
Newcomer
Posts: 3
Joined: December 20th, 2022, 1:18 am

Re: How to pull out all the recipes

Post by Germain »

Can you send the link of the map ?
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1801
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 91 times
Been thanked: 9 times

Re: How to pull out all the recipes

Post by Vegas »

Recipes?
pepe-
Newcomer
Posts: 12
Joined: October 21st, 2024, 11:05 pm
Has thanked: 2 times

Re: How to pull out all the recipes

Post by pepe- »

Vegas wrote: April 17th, 2025, 11:45 amRecipes?
recipe crafting in the code it looks like this

Code: Select all

if((GetItemTypeId(GetManipulatedItem())=='I09F'))then
if((IsItemOwned(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I09G'))==true)and(IsItemOwned(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I09D'))==true)and(IsItemOwned(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I09C'))==true)and(IsItemOwned(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I07G'))==true))then
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I09G'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I09D'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I09C'))
call RemoveItem(GetItemOfTypeFromUnitBJ(GetTriggerUnit(),'I07G'))
call UnitAddItemByIdSwapped('I09E',GetTriggerUnit())
pepe-
Newcomer
Posts: 12
Joined: October 21st, 2024, 11:05 pm
Has thanked: 2 times

Re: How to pull out all the recipes

Post by pepe- »

Germain wrote: April 17th, 2025, 1:49 am Can you send the link of the map ?
https://www.epicwar.com/maps/314790/