[GUIDE] SHDR Version for TWRPG

Cheatpacks and learning how to use them, as well as other guides for manipulating maps.

Moderator: Cheaters

Danega
Newcomer
Posts: 4
Joined: October 9th, 2018, 5:02 pm

Re: [GUIDE] SHDR Version for TWRPG

Post by Danega »

Thanks for the fast and precise answer !
Mikrov
Newcomer
Posts: 1
Joined: March 2nd, 2020, 11:51 am

Re: [GUIDE] SHDR Version for TWRPG

Post by Mikrov »

Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.
User avatar
EMT
Junior Member
Posts: 38
Joined: April 4th, 2020, 5:25 pm

Re: [GUIDE] SHDR Version for TWRPG

Post by EMT »

thanks. You made this folder too easy. muehehe
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm

Re: [GUIDE] SHDR Version for TWRPG

Post by owner123 »

Mikrov wrote:Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.
I know this post is sort of old, but this shouldn't be too hard to accomplish. I'll describe what I would do to make repick not get disabled, you can try it out yourself if you want to do this.

The first thing you need to do is discover what trigger is called to repick a hero. To do this, search for "-repick" in the script. You should find a call that is something like: TriggerRegisterPlayerChatEvent(triggerName, player, "-repick", true)

Now from there, you note down the trigger name. It'll be a weird looking variable like "UXN" or something.

Now you search for "call DisableTrigger(triggerName)" Delete all occurrences of this line. And repick should no longer be disabled.

If you don't find and calls to DisableTrigger, then try looking in the Conditions of the trigger. And if you don't find anything obvious that would make it not work there, look in the Actions and check if everything is in a big "if" block.
User avatar
EMT
Junior Member
Posts: 38
Joined: April 4th, 2020, 5:25 pm

Re: [GUIDE] SHDR Version for TWRPG

Post by EMT »

owner123 wrote:
Mikrov wrote:Thank you. But could you help make it so that " -repick can be used even after loading/saving." in this map.
I know this post is sort of old, but this shouldn't be too hard to accomplish. I'll describe what I would do to make repick not get disabled, you can try it out yourself if you want to do this.

The first thing you need to do is discover what trigger is called to repick a hero. To do this, search for "-repick" in the script. You should find a call that is something like: TriggerRegisterPlayerChatEvent(triggerName, player, "-repick", true)

Now from there, you note down the trigger name. It'll be a weird looking variable like "UXN" or something.

Now you search for "call DisableTrigger(triggerName)" Delete all occurrences of this line. And repick should no longer be disabled.

If you don't find and calls to DisableTrigger, then try looking in the Conditions of the trigger. And if you don't find anything obvious that would make it not work there, look in the Actions and check if everything is in a big "if" block.
Thank you for the advice. I will try it.
josh
Newcomer
Posts: 3
Joined: April 10th, 2020, 8:55 am

Re: [GUIDE] SHDR Version for TWRPG

Post by josh »

Question, why after i try to play my own map. after i change item drop chance, i cant play it multiplayer, like play using kloader, that can open 2 char with same username at the same time, but every time i host the map and other warcraft join my map that i edit, it cant start, because the download progress show beside the username but it never change.. anybody know how to solve it? pls..
Thank you.
InSaniTy-
Member
Posts: 54
Joined: June 8th, 2020, 4:27 am

Re: [GUIDE] SHDR Version for TWRPG

Post by InSaniTy- »

might be a map size issue on older wc3 patches. Try this https://www.hiveworkshop.com/threads/st ... 31.291782/
josh
Newcomer
Posts: 3
Joined: April 10th, 2020, 8:55 am

Re: [GUIDE] SHDR Version for TWRPG

Post by josh »

InSaniTy- wrote:might be a map size issue on older wc3 patches. Try this https://www.hiveworkshop.com/threads/st ... 31.291782/
after i edit the map, the file size is getting bigger and bigger, is that the problem?
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod

Re: [GUIDE] SHDR Version for TWRPG

Post by nuzamacuxe »

It's due to CRC. Whenever you change anything in war3map.j the CRC will change, doesn't matter if you and your friend has the exactly same map. That doesn't applies to models (.mdx, .mdl, ...).
josh
Newcomer
Posts: 3
Joined: April 10th, 2020, 8:55 am

Re: [GUIDE] SHDR Version for TWRPG

Post by josh »

nuzamacuxe wrote:It's due to CRC. Whenever you change anything in war3map.j the CRC will change, doesn't matter if you and your friend has the exactly same map. That doesn't applies to models (.mdx, .mdl, ...).
any solve for this things?