wc3edit.net

United Warcraft 3 map hacking!
It is currently March 28th, 2024, 10:52 pm

All times are UTC




Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: June 22nd, 2020, 7:42 pm 
Offline
Newcomer

Joined: June 13th, 2020, 9:40 am
Posts: 4
I was testing my new map twrpg 0.36 f with changes in mpq ( thanks guide), i only did REMOVING ANTI SINGLEPLAYER and UP RATE DROP but the map twrpg 0.36f didn´t work in multiplayer ,( same map pc 1 and pc2 local network) When i join to the other map ( other player) it stay loading (8%) and i cant launch start ( being host )(posdata:in singleplayer not problems) what i can do? thanks ....


Top
 Profile  
 
PostPosted: July 14th, 2020, 9:34 pm 
Offline
Newcomer

Joined: June 13th, 2020, 9:40 am
Posts: 4
josh wrote:
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?

recompresss the mpq


Top
 Profile  
 
PostPosted: January 28th, 2021, 10:22 am 
Offline
Newcomer

Joined: February 16th, 2020, 7:01 am
Posts: 2
Thank you very much. It was very helpfull for me.

Also if you want to resummon bosses more then 3 times:
1. Press "CTRL+F" and search for "<(3)";
2. You will find that "if" condition:
Spoiler:
if mCv[y1e]==0 and mdv[y1e]<(3)then
call Yje(y1e)
endif

3. Just delete the "and mdv[y1e]<(3)";
4. It will look like this:.
Spoiler:
if mCv[y1e]==0 then
call Yje(y1e)
endif


You can now re-summon bosses which do not cost MP.
To disable MP reduction:
1. Press "CTRL+F" and search for "has activated". If searching has no result try to "remaining MP" or ""stand work"".
2. You will find that "if" condition:
Spoiler:
if hnx((GetUnitUserData((W7v))))>=mcv[YJe]then
call hVx((GetUnitUserData((W7v))),hnx((GetUnitUserData((W7v)) - mcv[YJe])))
call oGr(YJe)
call RemoveItemFromStock(W7v,mBv[YJe])
call XYx(yvv,YJe)
call f4r()
call lfx(d1x((GetPlayerId((GetOwningPlayer(GetBuyingUnit())))))+" has activated "+GetObjectName(mBv[YJe])+" (remaining MP: "+I2S(R2I(hnx((GetUnitUserData((W7v))))))+"/"+I2S(R2I(hEx((GetUnitUserData((W7v))))))+")")
call SetUnitAnimation(W7v,"stand work")
call QueueUnitAnimation(W7v,"stand alternate")
call nwx((nLx("Abilities\\Spells\\NightElf\\ReviveNightElf\\ReviveNightElf.wav",$A,$A,3.268)),($7F),(W7v),$7D0,null)
endif

3. Look for "call hVx((GetUnitUserData((W7v))),hnx((GetUnitUserData((W7v)) - mcv[YJe])))" (it is the first line after "if").
4. Delete the "- mcv[YJe]" expression.
5. It will look like this:
Spoiler:
if hnx((GetUnitUserData((W7v))))>=mcv[YJe]then
call hVx((GetUnitUserData((W7v))),hnx((GetUnitUserData((W7v)))))
call oGr(YJe)
call RemoveItemFromStock(W7v,mBv[YJe])
call XYx(yvv,YJe)
call f4r()
call lfx(d1x((GetPlayerId((GetOwningPlayer(GetBuyingUnit())))))+" has activated "+GetObjectName(mBv[YJe])+" (remaining MP: "+I2S(R2I(hnx((GetUnitUserData((W7v))))))+"/"+I2S(R2I(hEx((GetUnitUserData((W7v))))))+")")
call SetUnitAnimation(W7v,"stand work")
call QueueUnitAnimation(W7v,"stand alternate")
call nwx((nLx("Abilities\\Spells\\NightElf\\ReviveNightElf\\ReviveNightElf.wav",$A,$A,3.268)),($7F),(W7v),$7D0,null)
endif


You can now re-summon all bosses without any restrictions.

Fatigue
Also afk system still work due to the fatigue system. To disable fatigue elevation:
1. Search for "PLAYER_STATE_RESOURCE_FOOD_USED";
2. You will find function like this:
Spoiler:
function d3x takes integer y1e,integer B8x returns nothing
if B8x<0 then
set B8x=0
elseif B8x>='d' then
set B8x=0
call z_e((Ex[(Dl[y1e])]))
endif
call SetPlayerState((P[(y1e)]),PLAYER_STATE_RESOURCE_FOOD_USED,B8x)
endfunction

3. Delete the "call SetPlayerState((P[(y1e)]),PLAYER_STATE_RESOURCE_FOOD_USED,B8x)" line.
4. Delete also the "call z_e((Ex[(Dl[y1e])]))" line.
5. It will look like this:
Spoiler:
function d3x takes integer y1e,integer B8x returns nothing
if B8x<0 then
set B8x=0
elseif B8x>='d' then
set B8x=0
endif
endfunction


Acceptable for the latest 0.43h_eng version.


Last edited by kinoler on January 30th, 2021, 11:03 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: January 28th, 2021, 3:13 pm 
Offline
Forum Staff
User avatar

Joined: March 23rd, 2016, 8:06 pm
Posts: 3236
kinoler wrote:
Thank you very much. It was very helpfull for me.

Also if you want to resummon bosses more then 3 times:
1. Press "CTRL+F" and search for "<(3)";
2. You will find that "if" condition:
Spoiler:
if mCv[y1e]==0 and mdv[y1e]<(3)then
call Yje(y1e)
endif

3. Just delete the "and mdv[y1e]<(3)";
4. It will look like this:.
Spoiler:
if mCv[y1e]==0 then
call Yje(y1e)
endif


You can now re-summon bosses which do not cost MP.
To disable MP reduction:
1. Press "CTRL+F" and search for "has activated". If searching has no result try to "remaining MP" or ""stand work"".
2. You will find that "if" condition:
Spoiler:
if hnx((GetUnitUserData((W7v))))>=mcv[YJe]then
call hVx((GetUnitUserData((W7v))),hnx((GetUnitUserData((W7v)) - mcv[YJe])))
call oGr(YJe)
call RemoveItemFromStock(W7v,mBv[YJe])
call XYx(yvv,YJe)
call f4r()
call lfx(d1x((GetPlayerId((GetOwningPlayer(GetBuyingUnit())))))+" has activated "+GetObjectName(mBv[YJe])+" (remaining MP: "+I2S(R2I(hnx((GetUnitUserData((W7v))))))+"/"+I2S(R2I(hEx((GetUnitUserData((W7v))))))+")")
call SetUnitAnimation(W7v,"stand work")
call QueueUnitAnimation(W7v,"stand alternate")
call nwx((nLx("Abilities\\Spells\\NightElf\\ReviveNightElf\\ReviveNightElf.wav",$A,$A,3.268)),($7F),(W7v),$7D0,null)
endif

3. Look for "call hVx((GetUnitUserData((W7v))),hnx((GetUnitUserData((W7v)) - mcv[YJe])))" (it is the first line after "if").
4. Delete the "- mcv[YJe]" expression.
5. It should look like this:
Spoiler:
if hnx((GetUnitUserData((W7v))))>=mcv[YJe]then
call hVx((GetUnitUserData((W7v))),hnx((GetUnitUserData((W7v)))))
call oGr(YJe)
call RemoveItemFromStock(W7v,mBv[YJe])
call XYx(yvv,YJe)
call f4r()
call lfx(d1x((GetPlayerId((GetOwningPlayer(GetBuyingUnit())))))+" has activated "+GetObjectName(mBv[YJe])+" (remaining MP: "+I2S(R2I(hnx((GetUnitUserData((W7v))))))+"/"+I2S(R2I(hEx((GetUnitUserData((W7v))))))+")")
call SetUnitAnimation(W7v,"stand work")
call QueueUnitAnimation(W7v,"stand alternate")
call nwx((nLx("Abilities\\Spells\\NightElf\\ReviveNightElf\\ReviveNightElf.wav",$A,$A,3.268)),($7F),(W7v),$7D0,null)
endif


You can now re-summon all bosses without any restrictions.
Thanks for the contribution to the guide, latter I will add it to main post.


Top
 Profile  
 
PostPosted: February 20th, 2022, 4:39 am 
Offline
Newcomer

Joined: February 19th, 2022, 6:37 am
Posts: 9
Hi, I'm back playing TWRPG, was trying to create an SHDR + Single Player version for the latest map of the game but upon checking, it seems like a lot has changed in the map's code, therefore, this guide seems to be outdated anymore as I'm trying to follow the instruction but couldn't work my way unlike before. This guide was very helpful to me last time which was 2 years ago, and would deeply appreciated if this guide will get an update. Much love.


Top
 Profile  
 
PostPosted: June 7th, 2022, 8:40 pm 
Offline
Newcomer

Joined: June 11th, 2007, 9:51 pm
Posts: 3
Hello, would anyone know which part of the code edits the lootbox droprate? It seems that the droprate for things that just just drop items(like mana ancient) without spawning the lootbox have the edited droprate, but things that spawn lootboxes to get the items are different. The lootbox dropchance determins that I beleive and I do not know what part of the code that is.


Top
 Profile  
 
PostPosted: June 29th, 2022, 8:49 pm 
Offline
Newcomer

Joined: January 6th, 2018, 2:16 am
Posts: 8
Hello, with the updated TWRPGs the guide is very out of date and we can't find the way to allow single player, as the codes have changed.. and for those of us that don't know code, we can't figure it out anymore with your guide.. :(
Similar things go with the drop rate etc.
The chests that drop boss loot are also different codes..
Sorry to bother you, could you please update with at least the chest drop rates?


Top
 Profile  
 
PostPosted: May 1st, 2023, 1:52 pm 
Offline
Newcomer

Joined: April 15th, 2015, 8:39 am
Posts: 14
Closer wrote:
Hello, with the updated TWRPGs the guide is very out of date and we can't find the way to allow single player, as the codes have changed.. and for those of us that don't know code, we can't figure it out anymore with your guide.. :(
Similar things go with the drop rate etc.
The chests that drop boss loot are also different codes..
Sorry to bother you, could you please update with at least the chest drop rates?



yeah would love an update


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)