wc3edit.net

United Warcraft 3 map hacking!
It is currently October 24th, 2021, 5:54 am

All times are UTC




Post new topic Reply to topic  [ 24 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: 3039
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: cqncqn0802 and 2 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)