Problem with Builders...

Anything.

New Member
Reaction score
69
Resolved.

So the story goes: Once upon a time, I copied and pasted my Peasant unit and then made a Mason unit, edited the stuff it builds, then place it in the map. Well, it just so happens that I press the Test Map button, then try to build something with it.

WCIII closes.

Now, whenever I try to put any of the buildings which that unit has into the Structures Built area of any unit, that unit no longer has the ability to build anything, and once the Build button is clicked, WCIII shuts down.

The story ends with me not being able to build any of my Custom Buildings.

Does anyone know what the problem is?
Edit - And if I didn't make this clear, I want to know the solution, not the problem. I know what the problem is.

THESE DO NOT CAUSE THE PROBLEM, SO DON'T SUGGEST THEM:
  • Unit builds something outside of its own race. No, my Peasant unit could build Orc units prior to this bug.
  • Unit has Wisp Gather Gold ability. NO.
  • Unit doesn't have 'Build' spell. It has it; and it's not an issue of building the unit, it's an issue of even selecting it and placing it on the map.
  • A new building was added to the Structures Built area and it created a bug. No, since one of my buildings which was previously buildable now closes WCIII if it's in the Structures Built area.
  • One of the older buildings was changed and now is bugged. No, since I didn't change anything.
  • Remake all of the buildings. Funny, YOU can do that for me.
  • Something is wrong with the builder, make a new one! No, just no. It doesn't work, it's something about the stuff it builds.
  • WE just hates you. Well, obviously.
 

Knight7770

Hippopotomonstrosesquiped aliophobia
Reaction score
187
I don't think that custom models would cause WC3 to crash. Have you tried copying and pasting all the custom data into a blank map and testing it?
 

Anything.

New Member
Reaction score
69
What about custom models. Did you add any?

To clarify; whenever I select the unit, I am able to move it around perfectly fine; however, when I press the build button, my WCIII closes without any notice. There are no custom icons within the build menu, and all buildings it used to have still function, but can't be placed within any build menu at all, or else the "close when press Build" thing happens again.

I don't think that custom models would cause WC3 to crash. Have you tried copying and pasting all the custom data into a blank map and testing it?

No, not yet, and I can't right now since WE is on my other computer.
 

Squishy

You can change this now in User CP.
Reaction score
127
Do you have any spellbooks that contain itself or other spell books infinately?
 

Anything.

New Member
Reaction score
69
Do you have any spellbooks that contain itself or other spell books infinately?

Well, that has nothing to do with anything; but the answer is no.

It's just a normal builder with some buildings listed under its build-list.
 

Terrabull

Veteran Member (Done that)
Reaction score
38
Well, that has nothing to do with anything; but the answer is no.

Actually, that has everything to do with this issue. Because the problem you are describing sounds like circular equivilency. This issue is usually caused by one unit being equivalent to another one, and that other one being equivalent to the first one. Solution: Remove one of the equivalences.
Obviously, the problem is with something that the map tries to access when processing your build menu. If you are completely positive that you haven't added anything, and haven't changed anything (obviously not the case since it worked before and now doesn't work), then there is probably nothing more we, or anyone else can do for you. I would think long and carefully about any dependencies you might have anywhere on your map and double check for recursions.
 

Somatic

You can change this now in User CP.
Reaction score
84
Let me Ask something first...

Your Builder Build a Structure, What Structure is it?
What are the structures it has?
And WC3 Closes itself with no Error right?
And Terrabull does explain why it happends. So Check up to see if its because of this.
 

Anything.

New Member
Reaction score
69
The only thing I've done so far is make two new buildings, which, incidentally, have not been added to either builder, and made a new builder. To the new builder, I added some buildings, and now, I am unable to add any Custom Buildings to any builder unit or else WCIII closes when I press Build.

I have long deleted the second builder.

The only dependency I have is that Town Center II is equal to Town Center I, but the builders can't even make that unit.

Builder #1 - Peasant
-- Mill
-- Farm
-- Farm (2)
-- House (1)
-- Forge
-- Barricade
-- Outpost

Builder #2 - Mason
-- Barracks
-- Range
-- House (2)
-- Forge

At the current state, Builder #1 can't have ANY of its former Buildings in its Build-list, except Farm and Farm (2); otherwise WCIII will shut down when Build is selected. Builder #2 can't build any of its buildings.

And yes, there is no error whatsoever.
 

Somatic

You can change this now in User CP.
Reaction score
84
If you dont mind upload your map?
Because I do face the same problems when I put buildings Upgrade to each other, like an infinite Loop.
 

Anything.

New Member
Reaction score
69
I can't access the map at the moment, but I will get it up as soon as possible.

I don't think it has to do with the units upgrading into each other as I can't even build them anymore, but I can place them in WE before testing the map and they function fine.

It could be a problem that all the units were copied & pasted from the Farm unit, but again, it worked fine before I added a second builder.
 

Somatic

You can change this now in User CP.
Reaction score
84
Hmm....

Its either
1 - 2 Structures can upgrade themself to the other one.
Like..
X - Upgrade - Y
Y - Upgrade - X

Or 2 - 2 Structures Having Dependency on each other

Thats the sources of this problem when im doing my Sandbox Map.

Try to seek out as you might have accidently added this.
And Units do also get involved in this as the whole data tree is processed together.
 

Anything.

New Member
Reaction score
69
#1 = No.
#2 = Maybe, but probably not since all of my buildings aren't working, which implies that all of them are somehow equal.

(I've tested the buildings individually by placing them by themselves in a Build-list)
 

Terrabull

Veteran Member (Done that)
Reaction score
38
It is not nessisarily the buildings that they can build that have to have this error. Any unit that is refrenced by a unit they can build might have an error that would cause War3 to crash like this.
 

Anything.

New Member
Reaction score
69
It is not nessisarily the buildings that they can build that have to have this error. Any unit that is refrenced by a unit they can build might have an error that would cause War3 to crash like this.

What does this mean exactly?

If this means anything: I can place the buildings and every single Custom Unit, as well as units I've changed into WE and then test the map without any problems (meaning upgrading things, moving things, attacking, creating additional units), except with the Build error.

The original Peasant, as well as every other Builder in-game works fine, and prior to the crashing thing, my first copy of the Peasant did as well; only after making my second custom builder did I lose the ability to add Custom buildings to any builder's Build-list.
 

Anything.

New Member
Reaction score
69
I've enclosed the map that is causing problems.

What I've done since the last time the map was functioning as intended:
-- Copied and Pasted Peasant (Custom Unit) and renamed new builder Mason.
-- Created Range and Barracks (Custom Buildings)
-- Added to Mason Build-list.
-- Placed Mason and Peasant both on map.
-- Tested; both closed WC3 when Build was clicked.
-- Removed Range and Barracks from Mason; still closed.
-- Deleted Mason; Peasant (custom) still closed.
-- Deleted Peasant.
-- Remade Peasant; WC3 still closed.
-- Deleted it.
-- Put Peasant (real one) onto map; could build and did not close WC3.
-- Added a custom building to the unit; could not build.
-- Repeated for each building; could not build, except for Farm and Farm (2).
-- Removed all melee buildings from it, then retested one building at a time; same results.
-- Deleted Mill unit and remade it. Added new Mill unit alone to Peasant (real); could not build.
 

Terrabull

Veteran Member (Done that)
Reaction score
38
What does this mean exactly?
It means that you need to look at all your units, not just the ones that the builders can make.

If this means anything: I can place the buildings and every single Custom Unit, as well as units I've changed into WE and then test the map without any problems (meaning upgrading things, moving things, attacking, creating additional units), except with the Build error.

Nope, sorry, it doesn't mean anything. This problem only effects the game when the game checks the dependencies.

The original Peasant, as well as every other Builder in-game works fine, and prior to the crashing thing, my first copy of the Peasant did as well; only after making my second custom builder did I lose the ability to add Custom buildings to any builder's Build-list.

Again, not relevant to this problem. This problem happens because the game tries to decide IF you can build something, and when it gets to the circular dependency loops infinitely. Thus, preplaced units will not have this problem, nor will normal units in the game, because they don't have any errors like this.
 

Somatic

You can change this now in User CP.
Reaction score
84
I have your problem surfaced. Remove the dependency of the Town Center on the Town Center II, thats the source of your problem as When it Upgrades, it is also treated as a Town Center by itself, there is no need to add that dependency equivalents. Try it.

= Tested it earlier on, I could build without my WC3 Closing. =
 

takethat

Active Member
Reaction score
12
Code:
   upgrade
X     >>    Y
Y     >>    X

2building upgrade to each other will cause bug?
i though in green td, the 2aura tower can upgrade to each other?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top