Some help for my map...

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...?
 

vypur85

Hibernate
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...
 

Solu9

You can change this now in User CP.
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...
 

Solu9

You can change this now in User CP.
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...?
 

Solu9

You can change this now in User CP.
I have absolutely no idea man :)

But a periodic trigger which changes a marketplace's items sold should be fairly easy to construct :)
 

Accname

2D-Graphics enthusiast
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..."...?
 

Solu9

You can change this now in User CP.
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...
 

Solu9

You can change this now in User CP.
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))
 

Solu9

You can change this now in User CP.
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.
  • Ghan Ghan:
    I really do not want to move to California otherwise I might consider it.
  • The Helper The Helper:
    yeah California is not anywhere you really want to live
  • The Helper The Helper:
    That is why I did not take the job Blizzard offered me back in the day, there is no way I could have moved my family there on what they were offering, not even close and that was like 20 years ago
  • The Helper The Helper:
    yeah they wanted me on the tech support team when they did not get me they got one of the next MVPs in Dinobot
  • The Helper The Helper:
    Dinobot was one of the youngest of the MVPs tkron probably could have worked for Blizzard but he had a good job in Chicago doing business programming already
  • The Helper The Helper:
    Dinobot probably still works for Blizzard would love to reconnect with that guy
  • The Helper The Helper:
    I wonder what ever happened to Wargasm?
  • The Helper The Helper:
    This new version of Xenforo really is awesome
  • Ghan Ghan:
    Wargasm is still around. He works for the domain registrar where thehelper.net is kept.
  • Varine Varine:
    Is sqrage still around?
  • The Helper The Helper:
    I have not seen him on lately the forum says he was last on 2 years ago
  • The Helper The Helper:
    How are you doing Varine have not seen you around in a minute
  • thewrongvine thewrongvine:
    lol I live in CA
  • thewrongvine thewrongvine:
    I've got some friends in animation department who have been applying for Blizzard, doing interviews and such. They said the workplace seems nice, though now it'd be all remote work I suppose
  • The Helper The Helper:
    good for them I live close to Austin and am trying to get my kids interested in getting into Games but not having much luck. I would never let them move to Cali.
  • The Helper The Helper:
    unless it was huge money
  • The Helper The Helper:
    and even then with the taxes I really could never let them move there
  • thewrongvine thewrongvine:
    Haha fair enough, I have no interest in CA at all as a living place either. Really only here just for the work in LA, but hopefully once I get settled enough in my work, I can move out
  • Ghan Ghan:
    +1
  • jonas jonas:
    " a traditionally-sized California family of one person ":cool:
    +1

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top