2 Questions - Fatal error at the end and Gold mine ability for two different workers

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Hey guys,
I got two issues im really "struggling" to find the answer of...(even tho im sure I will find it sooner or later, with or without your help;))
Here we go:
1: I get a fatal error at the end of a game (in my map), the button "victory/defeat" shows, you click it, it then shows game score, the score of, ye most things.... Then when you click "OK" to enter a chat menu, assuming you play on b.net,then when you click "OK" it gives Fatal Error... What can cause this error? I mean, the game has ended? It shows the score etc? And yes i've read through my triggers at the end...And haven't find anything wrong/strange...
(I'll start as I "speak" to read all triggers...)
Well, anyone got this fatal error before? what were wrong?

(off topic; while turning on a cinematic mode for some few players, do not use FOR EACH INTEGER A -.... It causes fatal error :D)

2: The gold mine ability, for human and orcs... Is just the same, well, I have two different units that can gain gold, well, peon1 should only fit in the Goldmine1 the peon2 should fit in Goldmine2...And if peon1 moves to Goldmine2, it should not enter! Well, any ideas? And yes, I want the human/orc goldmine ability, not NE nor UD's gold mine ability (I have tried to change "targets allowed" in both abilities (since i copy /pasted the gold mine ability, same with the "gather gold/mining gold whatever it is named, and did not work;))

Cheerio, +rep if you can solve it, before me!
 

waaaks!

Zinctified
Reaction score
256
(off topic; while turning on a cinematic mode for some few players, do not use FOR EACH INTEGER A -.... It causes fatal error ):D

wow a question built in with a hint, thanks!

i didnt find the problem on this, does this error occurs only on b.net? or in single player or in local network?
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
wow a question built in with a hint, thanks!
No problem...

didnt find the problem on this, does this error occurs only on b.net? or in single player or in local network?
Actually, I dont remember:p ill edit the post when i got an answer on that one;) ..
At least it happens in multiplayer game, but that might be, because of the gamelength, it lasts... a lot longer than single player, oh, i think it has happend once or twice in single player also, just when I tested it all alone...hmm..
But with multiplayer, on b.net, it happends everytime, thats 110% sure!
Cheerio
 

Monsterous

In the Shadows, Lurking.
Reaction score
99
You could do THIS for problem #2.

Make 2 different Gold Mines.
Name one something and name one somethnig else so you dont get confused

Now. Do this...

Code:
         Event - A unit comes within 300 yards of GoldmineORC
         Condition - [Triggering Unit] equal to [HumanWorker]
         Action - Game - Display to [All Players] the text: Human Workers cannot enter Orcish Mines.
                  Unit - Move [Triggering Unit] to [Region 001]

Region 001 can be like 500 yrds away from the Mine.

Then for the ORCS...

Code:
         Event - A unit comes within 300 yards of GoldmineHUMAN
         Condition - [Triggering Unit] equal to [OrcWorker]
         Action - Game - Display to [All Players] the text: Orcish Workers cannot enter Human Mines.
                  Unit - Move [Triggering Unit] to [Region 002]

Region is the same thing.

Solved (i hope.)
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
I know I could done something like that, but I wont...it just isnt the same as the other thing...I just want peon1 can enter goldmine1 and peon2 can only enter goldmine2...not vise versa without a stupid trigger that moves them strangly backwards when they get too close to it, just using targets allowed etc...buut, guess i have to give up on that one...Just wanted to know if anyone knew how to ye, do it without triggers (using targets allowed etc);)
Cheerio:shades:
 

Builder Bob

Live free or don't
Reaction score
249
Kind of old topic I know, but since I found this topic while searching the forum for another problem I had I thought I might as well answer it.

Here's a trigger I used to make each race have their own gold mine.

Code:
Events
    Unit - A unit Is issued an order targeting an object
Conditions
    Or - Any (Conditions) are true
        Conditions
            (Unit-type of (Target unit of issued order)) Equal to Gold Mine (human)
            (Unit-type of (Target unit of issued order)) Equal to Gold Mine (orc)
            (Unit-type of (Target unit of issued order)) Equal to Gold Mine (undead)
            (Unit-type of (Target unit of issued order)) Equal to Gold Mine (night elf)
Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            (Issued order) Not equal to (Order(attack))
        Then - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                If - Conditions
                    ((Owner of (Target unit of issued order)) controller) Not equal to ((Owner of (Ordered unit)) controller)
                Then - Actions
                    Unit - Order (Ordered unit) to Move To (Position of (Target unit of issued order))
                Else - Actions
        Else - Actions

I put generic names for the gold mines to make it clearer.

The trigger will make your units change their orders to move if they try to harvest from a mine you don't own.

You can also make every race have the same gold mine building as long as it is buildable and owned by a player
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • 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 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

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top