Compile errors all of a sudden.WEU corrupted my code?

zzyzxroad

TH.net Regular
Reaction score
1
As of a few days ago, I have about 650 compile errors in my map. Funny thing is, not just this version, but ALL previous versions that I have saved.

Ok, first things first, I am using WEU, and was already told that it could corrupt my map, but all of them? I have reinstalled warcraft and WEU, didnt help.

Also. My map has alot of custom script, and my compile errors start at a line number AFTER the custom script ends. That tells me that the GUI portion is screwing up my coding. I cannot open my map because it has been coded in WEU so long, that there are many triggers that do not work in normal WE.

What are my options? It would be great if I knew what triggers were WEU, and WE so I could at least delete these and see if WE still corrupts my code.

EDIT 1:
I exported my GUI triggers, and WEU will only export the custom script. When I delete the custom script (it cant hurt at this point :D ) I get nothing in my WTG file but those square wingdings. I am going to say that there is a problem with the GUI and WEU.

EDIT 2:
I forgot, I slapped the J in jasscraft, and I only get a few errors. I just checked the latest version, and I get an error in jasscraft that has NEVER been edited in years.

When exporting the triggers from WEU, I get pretty much nothing, but MPQmaster show the file perfectly @1mb or so. I is definitely being corrupted, not me being a bad coder :D
 

Dregonx

TH.net Regular
Reaction score
21
Best thing I can tell ya, is just post the map, and let someone take a look at it.
 

T.s.e

Wish I was old and a little sentimental
Reaction score
133
WEU is notorious at corrupting maps. Sadly, I think it's unrecoverable.
 

zzyzxroad

TH.net Regular
Reaction score
1
Since there are MANY previous versions saved that worked just fine, I am going to assume they are not yet corrupt. What else can I use to open my map to try to convert the WEU code to custom script, then I can open it up in normal WE.
 

Dregonx

TH.net Regular
Reaction score
21
Since there are MANY previous versions saved that worked just fine, I am going to assume they are not yet corrupt. What else can I use to open my map to try to convert the WEU code to custom script, then I can open it up in normal WE.

I'd just recommend trashing WEU, reinstalling the game, and then attempting to open an old map.
 

zzyzxroad

TH.net Regular
Reaction score
1
I'd just recommend trashing WEU, reinstalling the game, and then attempting to open an old map.

Done that, didnt work. I used uninstall proffesional, just to really give the registry a good wipe. The next step would be to reinstall the OS. I will try tommorow on my laptop to see if it works still there, but it doesnt solve my problem how to edit it further.


Also, my map has special triggers for an XP code, an other goodies I would not want to just post on here for the public. So I guess that really narrows my chances at recovery, or a solution.




Basically, I believe that WEU screwed me. I need another way to open this map.
 

Nerfpl

New Member
Reaction score
53
The next step would be to reinstall the OS. I will try tommorow on my laptop to see if it works still there, but it doesnt solve my problem how to edit it further.
lol really bad way of thinking.

no1 asked yet: did you used Newgen or just normal WE? in worst scenario just hack your map. dont ask how here tho...

btw map optimizers ( i think) dont have to lock your map and yet they can modify something. i would experiment with that too
 

zzyzxroad

TH.net Regular
Reaction score
1
lol really bad way of thinking.

no1 asked yet: did you used Newgen or just normal WE? in worst scenario just hack your map. dont ask how here tho...

btw map optimizers ( i think) dont have to lock your map and yet they can modify something. i would experiment with that too
1:WEU
2:Optimizer, could be an option.
3:Hack, the map...what do you mean, its already GUI. no need to hack. plus, I know of a good place if hacking it would be an option somehow. I just dont know what you mean by that.
 

UndeadDragon

Super Moderator
Reaction score
447
Attach the map and I will see if I can save it.
 

zzyzxroad

TH.net Regular
Reaction score
1
jas error:expected a name

Code:
call AdjustPlayerStateBJ( GetItemGoldCostById(GetItemTypeId(GetManipulatedItem())), GetOwningPlayer(GetTriggerUnit()), PLAYER_STATE_RESOURCE_GOLD )

here is the corresponding GUI:

Code:
Player - Add (Gold cost of (Item-type of (Item being manipulated))) to (Owner of (Triggering unit)) Current gold

Also, the text is scrambled somehow:
Code:
Player Group - Pick every player in player_eng and do (Actions)
    Loop - Actions
        Game - Display to (Player group((Picked player))) for 10.00 seconds the text: |cff5fb62fUpgrade |...

That SHOULD read:


Code:
Player Group - Pick every player in player_eng and do (Actions)
    Loop - Actions
        Game - Display to (Player group((Picked player))) for 10.00 seconds the text: [COLOR="Red"]Boss[/COLOR]

My map is riddled with the wrong dialog text and such.

Also, this isnt the only map, all my maps are corrupt. I mean maps that were in a backup folder that was on another hdd.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top