Some help for my map...

Reaction score
9
Now I began running my project, and I guess would be wisest if I'm asking for some answer here other than any sites...
My first problem that I encounter is: As we know in WarCraft3 meele games the Marketplace had the ability to create/sell random items, some how when I put the Marketplace in my map, it just didn't happen at all, the Marketplace completely had no items that created or to be sold... Can somebody help me...?
 
Show your trigger. Also, you may have done something wrong.

Make sure the Marketplace have the set of abilities for it to sell items and choose hero.
To make life easy, just copy and paste a 'Goblin Merchant' and then change the model to something you like.

Please also note that items/units can only be removed if you have added them manually via trigger. Preset items/units added via Object Editor will not be affected by the trigger actions.
 
Show your trigger. Also, you may have done something wrong.

Why did it need triggers...? In WarCraft3 Standard Meele Games it didn't need any triggers... The marketplaces just simply run to create/sell random items (of course random standard items)... While the Goblin Merchants are a place that creates/sells specific items, not creates/sells random items...

Is the Marketplace neutral?

Yes, of course its neutral... Even I didn't modify it in Object Editor, I just didn't know what's wrong...
 
> As we know...
> ...it didn't need any triggers
> The marketplaces just simply run to create/sell random items
They do? Beyond my knowledge.
Perhaps someone else could assist you.
 
Would you do us a favor and check if you actually added any items to the "Techtree - Items Sold" stat.
 
They do? Beyond my knowledge.
Perhaps someone else could assist you.

Ok, no problem, thanks for your attention...

Would you do us a favor and check if you actually added any items to the "Techtree - Items Sold" stat.

Yes, I already did check the Marketplace... And for the test I use completely standard marketplace, so I didn't do anything with "Techtree - Items Sold", I just leaving it blank... Even though I modify it, it will only sell the items that I already listed in the "Techtree - Items Sold/Create", and it only able to load 11 items... While in WarCraft3 standard meele games, it can sold so many items, and it keeps changing every period of time...
 
And that concludes that vypur85 was right in asking for the triggers in his first post.
The melee triggers controls AI and melee triggers.
And while you cannot see those triggers, one of them controls how the marketplace works in a melee map.
 
And that concludes that vypur85 was right in asking for the triggers in his first post.
The melee triggers controls AI and melee triggers.
And while you cannot see those triggers, one of them controls how the marketplace works in a melee map.

Hmm... Ok, so this is the meele games' triggers:
Trigger:
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Melee Game - Use melee time of day (for all players)
      • Melee Game - Limit Heroes to 1 per Hero-type (for all players)
      • Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
      • Melee Game - Set starting resources (for all players)
      • Melee Game - Remove creeps and critters from used start locations (for all players)
      • Melee Game - Create starting units (for all players)
      • Melee Game - Run melee AI scripts (for computer players)
      • Melee Game - Enforce victory/defeat conditions (for all players)

So, which one controls the works of marketplace...? And can it be edited...?
 
I have absolutely no idea man :)

But a periodic trigger which changes a marketplace's items sold should be fairly easy to construct :)
 
As far as I know the market place sells random items from the creep drop tables of the map. So if there are no creeps with random item drops in your map it wont sell anything. This might be wrong though because I havent used the market place for a very long time.
 
As far as I know the market place sells random items from the creep drop tables of the map. So if there are no creeps with random item drops in your map it wont sell anything.
So, to make the marketplace to sells random items, I have to put some creeps with drop items... Will it work if I edit it in "Advance > Item Tables..."...?
 
That's quite interesting if that is how it works.
If it works like that. How does the Marketplace decide what creep drop table it should use as randomly sold items?
I ask this because when checking a standard Blizzard melee map which contained a Marketplace, there were no added item tables in "Advance > Item Tables...".
 
That's quite interesting if that is how it works.
If it works like that. How does the Marketplace decide what creep drop table it should use as randomly sold items?
Maybe it just picked some random drop table from random creeps, so it will sells random items... If that really how it works...
I ask this because when checking a standard Blizzard melee map which contained a Marketplace, there were no added item tables in "Advance > Item Tables...".

So that means "Advance > Item Tables..." didn't work for Marketplace, thanks for checking it, I haven't tried that yet before...
 
So that means "Advance > Item Tables..." didn't work for Marketplace, thanks for checking it, I haven't tried that yet before...

Nope. No added item table.
The map I checked was TFT - (8)Twilight Ruins
 
Nope. No added item table.
The map I checked was TFT - (8)Twilight Ruins

I guess it works with all WarCraft3 TFT standard meele maps... And the only way to test what Accname says is to remember all the items from drop table of all creeps and check it in Marketplace in the game, since Marketplace items availability it can only be seen in the game...


Edit: It works, already tested, but it only works if the creep that has drop table will drop random items, not specific items... Thank you guys, you're awesome...
 
Hello good people, here's some problem that I had ran into and can't break out...
I've got some simple spell with missile, apparently it runs weirdly because the effect of the trigger had run before the missiles reach the unit, what should I do then...?
Here's the trigger:
Trigger:
  • symmetric push cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Animate Dead
    • Actions
      • If (sp_maxinstance Equal to 512) then do (Set sp_maxinstance = 0) else do (Do nothing)
      • Set sp_caster = (Triggering unit)
      • Set sp_caster_loc = (Position of sp_caster)
      • Set sp_target = (Target unit of ability being cast)
      • Set sp_target_loc = (Position of sp_target)
      • Set sp_instance = (sp_instance + 1)
      • Custom script: call RemoveLocation(udg_sp_caster_loc)
      • Custom script: call RemoveLocation(udg_sp_target_loc)
      • If (sp_maxinstance Greater than 0) then do (Set sp_boolean = True) else do (If (sp_maxinstance Equal to 0) then do (Set sp_boolean = False) else do (Do nothing))
 
First. Use If/then/else multiple actions. It's much easier to read and you can skip setting the "do nothing" action, which in fact does nothing.

All I can see this trigger is doing is:
-Checks if an integer has a certain value
-Storing two points
-Storing two units
-Set an integer to: integer + 1
-Remove the two points
-Set an boolean to either true or false based on the value of the first checked integer.

Do you want this trigger to run from 0 to 512 when the Animate Dead spell is cast?
 
First. Use If/then/else multiple actions. It's much easier to read and you can skip setting the "do nothing" action, which in fact does nothing.
Nah, I'm really comfortable with it if "Then" has only 1 action...

All I can see this trigger is doing is:
-Checks if an integer has a certain value
-Storing two points
-Storing two units
-Set an integer to: integer + 1
-Remove the two points
-Set an boolean to either true or false based on the value of the first checked integer.

Do you want this trigger to run from 0 to 512 when the Animate Dead spell is cast?
Ha... Ha... LOL! It's just variable set up before the real abilities takes effect, also the spell not Animate Dead, I forgot to change it... The effect what I want is in another trigger, and it works fine, but always run before the abilities missile hit the target, any idea how I should begin the trigger...? Should I get a timer to "wait" the missile hits...? Like this one:
Trigger:
  • symmetric push cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Animate Dead
    • Actions
      • If (sp_maxinstance Equal to 512) then do (Set sp_maxinstance = 0) else do (Do nothing)
      • Set sp_caster = (Triggering unit)
      • Set sp_caster_loc = (Position of sp_caster)
      • Set sp_target = (Target unit of ability being cast)
      • Set sp_target_loc = (Position of sp_target)
      • Set sp_instance = (sp_instance + 1)
      • Countdown Timer - Start sp_timermissile[sp_instance] as a One-shot timer that will expire in ((Distance between sp_caster_loc and sp_target_loc) / 1280.00) seconds
      • Set sp_timermissile[sp_instance] = (Last started timer)
      • Custom script: call RemoveLocation(udg_sp_caster_loc)
      • Custom script: call RemoveLocation(udg_sp_target_loc)
      • If (sp_maxinstance Greater than 0) then do (Set sp_boolean = True) else do (If (sp_maxinstance Equal to 0) then do (Set sp_boolean = False) else do (Do nothing))
      • Trigger - Add to symmetric push switch <gen> the event (Time - sp_timermissile[sp_instance] expires)
      • Trigger - Turn on symmetric push switch <gen>
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      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