HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem with Builders...

03-12-2008, 01:57 AM#1
Anything.
Resolved.

Hidden information:
Taken directly from my thread at TheHelper.

--------------------------------------

Please excuse my temper.

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.
03-12-2008, 02:01 AM#2
Rising_Dusk
Post the map. If you cannot post the map or refuse to do so, then we cannot help you.
03-12-2008, 02:20 AM#3
TheSecretArts
try removing its buildings and things you added and checking to make sure it still works. Then check the stuff you added 1 by 1.
03-12-2008, 04:14 AM#4
Nuclear Arbitor
make every thing actually custom? it SHOULD be any way because i don't want to look at the normal tooltips.
03-12-2008, 06:23 AM#5
Tide-Arc Ephemera
Usually I can solve these things decently... so if it doesn't bother you, post the race AND characteristics of each building.

(e.g Ancient Protector - Night Elf, is Ancient)
03-12-2008, 10:04 PM#6
holyadvocate
Ive had alot of troubles like, things that are completely inconsistent with the editor and the game and your editing history. It really does get the blood boiling


Some of the things I can think of (thought i doubt they are right) are these:

The units repair spell isnt the correct one for the base building (so change the race of the building/change the units repair ability) however, it is possible for units to build WITHOUT a repair ability so...

Making a Peasant or Peon build something like an ancient (because the ancient is designed to consume the builder, but the peasants and peons cant be/shouldnt be)

perhaps the building is based on Undead building (they do not require a builder to make them, but this wouldnt really fit your problems)

an outside antagonist (virus, spyware) has messed with the WE/WC3 code

The only solution i can think of is: remove all of the buildings from the list and then add them one by one, one at a time and see which one seems to be causing the problem. Its quite possible that somehow a drainlife/drainmana like issue is at hand, which doesnt allow the two buildings to exist simultaneously.

You should compare the building to other buildings which do work to see if there are any differing details that arent necessary.

i understadn your frustration, i wish there was more i could do to help...
03-13-2008, 12:52 AM#7
Anything.
To clarify; everything stopped being able to build when i copied and pasted my first builder (Peasant) and made a second one (Mason). Now I can't put any of my buildings into the Build-list, lest my WC3 closes.

Quote:
Originally Posted by holyadvocate
The units repair spell isnt the correct one for the base building (so change the race of the building/change the units repair ability) however, it is possible for units to build WITHOUT a repair ability so...

I've already mentioned this, and it's not the problem since it has had the same Build ability for a long time, and before I copied and pasted it, it worked fine.

Quote:
Originally Posted by holyadvocate
Making a Peasant or Peon build something like an ancient (because the ancient is designed to consume the builder, but the peasants and peons cant be/shouldnt be)

No, they're Orc units.

Quote:
Originally Posted by holyadvocate
perhaps the building is based on Undead building (they do not require a builder to make them, but this wouldnt really fit your problems)

No, they're all based on the Farm or the Town Hall.

Quote:
Originally Posted by holyadvocate
an outside antagonist (virus, spyware) has messed with the WE/WC3 code

Well, that would suck, wouldn't it?

Quote:
Originally Posted by holyadvocate
The only solution i can think of is: remove all of the buildings from the list and then add them one by one, one at a time and see which one seems to be causing the problem. Its quite possible that somehow a drainlife/drainmana like issue is at hand, which doesnt allow the two buildings to exist simultaneously.

Been there, done that. I've figured out that the only building that I can put in my Build-list are Farm and Farm (2) without making the game close. The two are gold mines, and could be built before I copied and pasted my builder. If any of the other buildings are placed into my Build-list, then WC3 closes immediately after pressing 'Build', no error.

Quote:
Originally Posted by holyadvocate
You should compare the building to other buildings which do work to see if there are any differing details that arent necessary.

I've only added two buildings and those aren't on my first builder, Peasant, yet whenever I press Build, it still closes. Peasant builder HAS NOT BEEN CHANGED AT ALL. The only thing I've done so far is copy and paste it to make second builder, Mason, and add Barracks and Range custom buildings.

I'm attaching the map in this post right now.

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.
Attached Files
File type: w3xEmpires.w3x (677.1 KB)
03-13-2008, 12:56 AM#8
Rising_Dusk
Quote:
I'm attaching the map in this post right now.
Excellent, I'll see to it when I get home from work. (~ 1-2 hours)
03-13-2008, 04:52 AM#9
Anything.
Problem resolved; thanks for your insights.
03-13-2008, 05:01 AM#10
Rising_Dusk
I'm curious what the problem was, I haven't gotten a chance to open the map.
03-13-2008, 06:53 PM#11
Anything.
Double dependency mistake where one of my units effectively upgraded into itself, and since most of my buildings referenced that unit, they could not be constructed.