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 Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top