• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Map Adapter

Hey, so I adapted a campaign from latest version to 1.31.1 and it worked well but for some reason the unit object data didn't carry over and all custom units in the object editor were the original units they were copied from, is that supposed to be how it works or did I do something wrong?
Are you using the latest version from the github releases page? Earlier versions (including the most recent one in this thread) had some issues with campaigns, but this should all be fixed in v1.6.1.
 
Are you using the latest version from the github releases page? Earlier versions (including the most recent one in this thread) had some issues with campaigns, but this should all be fixed in v1.6.1.
Im using the latest version 1.6.1
 
Finally tried the map-adapter out. So far war3map.j, warmap.wtg, (and technically image files in dds-format and audio files in flac-format too) are the only errors I got left to adapt one of the custom campaigns.
// war3map.j
[ERR] Unknown variable type 'minimapicon' in variable declaration 'udg_NecroIcon1'.
[ERR] Unknown variable type 'minimapicon' in variable declaration 'udg_NecroIcon2'.
[ERR] Unknown variable type 'minimapicon' in variable declaration 'udg_NecroIcon3'.
[ERR] Unknown function identifier 'SetPlayerHandicapReviveTimeBJ' in call statement.
[ERR] Unknown function identifier 'BlzStartUnitAbilityCooldown' in call statement.
[ERR] Unknown function identifier 'SaveGameCheckPointBJ' in call statement. (7x)
[ERR] Unknown function identifier 'CreateMinimapIconOnUnitBJ' in call statement. (19x)
[ERR] Unknown function identifier 'SetMinimapIconOrphanDestroy' in call statement. (19x)
[ERR] Unknown function identifier 'GetLastCreatedMinimapIcon' in invocation expression. (19x)
// war3map.wtg
[ERR] The trigger Action 'SetPlayerHandicapReviveTimeBJ' is not supported.
[ERR] The trigger Action 'BlzStartUnitAbilityCooldown' is not supported.
[ERR] The trigger Action 'SaveGameCheckPointBJ' is not supported. (7x)
[ERR] The trigger Action 'CreateMinimapIconOnUnitBJ' is not supported. (19x)
[ERR] The trigger Action 'SetMinimapIconOrphanDestroy' is not supported. (19x)
 
I'm having a problem with converting a map someone gave me from the latest Reforged editor to work with 1.27b's. I think the map only has a couple simple object edits and custom models. I'm unfortunately not able to share the map here.

I used whatever was available in my 1.27b War3.mpq file, and got any missing files from the post mentioned here.

Upon opening the archive (the map) and clicking "Adapt all", I got this output, which included errors:

1776866079718.png


When saving anyway and trying to open the adapted map in the 1.27b editor, I get a bunch of popup errors like "user defined variable conflictswith generated variables:" and "Attempt to use differing types for the same variable; , PlayerStateFoodLimit/" and no matter how many times I click OK or even X out the map never finishes loading.

1776865502705.png
1776865531283.png




Any advice on how to fix this? :(
 
I'm having a problem with converting a map someone gave me from the latest Reforged editor to work with 1.27b's. I think the map only has a couple simple object edits and custom models. I'm unfortunately not able to share the map here.

I used whatever was available in my 1.27b War3.mpq file, and got any missing files from the post mentioned here.

Upon opening the archive (the map) and clicking "Adapt all", I got this output, which included errors:

View attachment 585480

When saving anyway and trying to open the adapted map in the 1.27b editor, I get a bunch of popup errors like "user defined variable conflictswith generated variables:" and "Attempt to use differing types for the same variable; , PlayerStateFoodLimit/" and no matter how many times I click OK or even X out the map never finishes loading.

View attachment 585477View attachment 585478



Any advice on how to fix this? :(
This issue happens because Reforged uses new programming languages for the triggers. While it's most widely known that Reforged introduced Lua, it's also the case that it switched from JASS2 to JASS3. Generally, "well-written" code would behave just fine in both JASS2 and JASS3, but unfortunately, this map isn't compatible. So, you need to (or get someone to) migrate triggers back to JASS2 in order to support Classic. In fact, only true JASS gurus would be able to accomplish that. You'll know when the map is compatible as soon as your war3map.j file passes OLD versions of pjass (new versions are for JASS3.)
 
I'm having a problem with converting a map someone gave me from the latest Reforged editor to work with 1.27b's. I think the map only has a couple simple object edits and custom models. I'm unfortunately not able to share the map here.

I used whatever was available in my 1.27b War3.mpq file, and got any missing files from the post mentioned here.

Upon opening the archive (the map) and clicking "Adapt all", I got this output, which included errors:

View attachment 585480

When saving anyway and trying to open the adapted map in the 1.27b editor, I get a bunch of popup errors like "user defined variable conflictswith generated variables:" and "Attempt to use differing types for the same variable; , PlayerStateFoodLimit/" and no matter how many times I click OK or even X out the map never finishes loading.

View attachment 585477View attachment 585478



Any advice on how to fix this? :(
The error in war3map.w3u is caused by my parser for .slk files only handling the basic record types. It should work if you source those from the post you linked instead of your own War3.mpq file.
The error in war3map.wtg is a generic error from .NET itself, without a stacktrace or the map file to reproduce it I can't really tell where it's coming from (it might also be caused by your triggerdata.txt file instead of the map, you can test this by trying to adapt a different map and see if you get the same error).
The errors you got afterwards from trying to open the map in world editor are probably caused by war3map.wtg not being adapted.
 
Back
Top