wc3edit.net

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

All times are UTC




Post new topic Reply to topic  [ 12 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: July 27th, 2019, 5:58 pm 
Offline
Newcomer

Joined: May 2nd, 2019, 2:58 pm
Posts: 13
I follow the guide from the Nuza, but I cant rebuild this map

I need a help.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: July 27th, 2019, 7:26 pm 
Offline
Also Not an Admin, but closer than devoltz
User avatar

Joined: February 14th, 2018, 5:35 am
Posts: 1791
Title: Just Another S.Mod
Why are you trying to rebuild? lol... you should pay more attention: deprotection-cheating-f64/insert-a-cp-cc-enable-sp-deprotect-rc-t34777.html

Quote:

Q: My map doesn't let me change anything.

A: Check if there's a read-only flag. If so, use the MPQ for KR, CN & Normal Read-Only to edit it. If it's Russian, use the MPQ for RU instead. They all are in useful tools.rar (see in attachment)
Image


Top
 Profile  
 
PostPosted: July 27th, 2019, 10:01 pm 
Offline
Newcomer

Joined: May 2nd, 2019, 2:58 pm
Posts: 13
I tried to rebuild with different MPQeditors nothing worked


Top
 Profile  
 
PostPosted: July 27th, 2019, 11:06 pm 
Offline
Also Not an Admin, but closer than devoltz
User avatar

Joined: February 14th, 2018, 5:35 am
Posts: 1791
Title: Just Another S.Mod
There's no reason to rebuild... just use the MPQ which is mentioned above to open the map.


Top
 Profile  
 
PostPosted: July 28th, 2019, 8:54 am 
Offline
Newcomer

Joined: May 2nd, 2019, 2:58 pm
Posts: 13
I understood, but something went wrong, as I understand it, there is some syntax error, tell me how to get rid of it


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: July 28th, 2019, 7:34 pm 
Offline
Also Not an Admin, but closer than devoltz
User avatar

Joined: February 14th, 2018, 5:35 am
Posts: 1791
Title: Just Another S.Mod
Not sure but I think that this map has changed some natives so you have to remove some commands. I already did it once and listed what commands I changed or removed: fulfilled-requests-f75/zodiac-rpg-final-e1-0-t36320.html


Top
 Profile  
 
PostPosted: July 28th, 2019, 10:07 pm 
Offline
Newcomer

Joined: May 2nd, 2019, 2:58 pm
Posts: 13
I corrected these commands and deleted command "nc" but still the syntactic error.
Can u check j file?


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: July 29th, 2019, 1:52 am 
Offline
Also Not an Admin, but closer than devoltz
User avatar

Joined: February 14th, 2018, 5:35 am
Posts: 1791
Title: Just Another S.Mod
petuh wrote:
I corrected these commands and deleted command "nc" but still the syntactic error.
Can u check j file?


Code:
function ResetCDAction takes nothing returns nothing
call SaveUnit("CDUnit" , SelectedUnit(Player(GetInt("PID"))))
   if IsUnitOwnedByPlayer(LoadUnit("CDUnit"), Player(GetInt("PID"))) then
      call UnitResetCooldown(LoadUnit("CDUnit"))
   endif
endfunction


Code:
if Command == "nc" then
   if LoadTimerHandle( nzHash, HandleP, StringHash("NOCDTrig") )==null then
      call SaveTimerHandle( nzHash, HandleP, StringHash("NOCDTrig"), CreateTimer() )
      call SaveInteger( nzHash, GetHandleId(LoadTimerHandle(nzHash, HandleP, StringHash("NOCDTrig") )), StringHash("PID"), PID )
      call TimerStart( LoadTimerHandle(nzHash, HandleP, StringHash("NOCDTrig") ), .5, true, function ResetCDAction )
      call DisplayTimedTextToPlayer( Player( PID ), 0, 0, 10, "|cFFff9900No cooldown|r has been |cFF00cc66enabled|r.")
   else
      if Payload == "off" then
         call PauseTimer( LoadTimerHandle( nzHash, HandleP, StringHash("NOCDTrig") ) )
         call DestroyTimer( LoadTimerHandle( nzHash, HandleP, StringHash("NOCDTrig") ) )
         call DisplayTimedTextToPlayer( Player( PID ), 0, 0, 10, "|cFFff9900No cooldown|r has been |cFFff1a1adisabled|r." )   
      endif
   endif
endif


That's wrong... you didn't remove the reset cd function. You must remove all those above.

Code:
if Command == "g" then
   call SetPlayerState(Player(PID), PLAYER_STATE_RESOURCE_GOLD, Value)
endif
if Command == "l" then
   call SetPlayerState(Player(PID), PLAYER_STATE_RESOURCE_LUMBER, Value)
endif
if Command == "f" then
   if Value != 0 then
    call SetPlayerState(Player(PID), PLAYER_STATE_FOOD_CAP_CEILING, Value)
    call SetPlayerState(Player(PID), PLAYER_STATE_RESOURCE_FOOD_CAP, Value)
   endif
endif


You didn't do the changes on gold, lumber and food commands either and when I say changes I don't mean to delete, but just to adapt it to the map since it uses its own common & blizzard.j file.
/////////////////////////////

This is too much wrong:

Code:
if Text == "-wc3edit" then


You don't need to put >> - <<. Just the activator name (wc3edit). This way:
Code:
if Text == "wc3edit" then


Top
 Profile  
 
PostPosted: July 29th, 2019, 5:36 am 
Offline
Newcomer

Joined: May 2nd, 2019, 2:58 pm
Posts: 13
I thought to make a change to change the activator —gold to-g. Now I'm confused


Top
 Profile  
 
PostPosted: July 29th, 2019, 6:36 am 
Offline
Also Not an Admin, but closer than devoltz
User avatar

Joined: February 14th, 2018, 5:35 am
Posts: 1791
Title: Just Another S.Mod
Well, just cheat this one... you'll get this. Don't even need to remove anything, just insert my cheatpack. ;)

NOTE: No CD may crash since the map uses a custom spell casting, I don't recommend to use that command in game.


You do not have the required permissions to view the files attached to this post.


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 17 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)