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.
  • The Helper The Helper:
    It is online though at night
  • The Helper The Helper:
    You would probably have to take a loan to get the Rice cert it is like 14l
  • The Helper The Helper:
    I was hoping you were going to say you wanted to be a cook and wished to open up a Food Truck there are so many opportunities for that here
  • The Helper The Helper:
    you can only open the bar if you sell food and a food truck in the parking lot counts
  • The Helper The Helper:
    here in houston
  • The Helper The Helper:
    most bars are struggling to build food prep and even some I know are doing there own food trucks
  • The Helper The Helper:
    but yeah man you should come to Houston there is so much more opportunity here than San Antonio. Just look at all the homeless people on the Riverwalk and downtown there you cannot even walk down the street without getting mobbed them
  • The Helper The Helper:
    check out this place apparently it is the best roommate site out there roommates.com lol
  • Varine Varine:
    The homeless people reminded me of New York
  • Varine Varine:
    I'll check it out, my lease expires in like a few months so I need to figure something out.
  • Varine Varine:
    I tried to open a food truck in Sandpoint a few years ago but the city said no, then like two years later they passed new laws to encourage it and gave them all fucking tax breaks and shit. And at that point I didn't have enough money to go buy one so I was way too late to the game once other cities realized they could just bring their existing truck there, or sell their brick and mortar.
  • Varine Varine:
    I do like food trucks though, they're way more fun than restaurants and usually I also get some of that tip money there.
  • Varine Varine:
    Restaurants are really hard if you don't have a back up source of income to fund them sometimes, in my experience most owners either got really really lucky, had existing money that allowed them to buy an already successful one, or they have family money to fall back on for loans. It's few and far between to see very inspiring success stories where the person actually got it through hard work and perseverance. I thought about opening one lots and I always just end up not thinking it'll work. I would much rather just find someone that has that money and go work for them
  • The Helper The Helper:
    i am not talking about opening a brick and mortar I am talking about food trucks though I have seen some brick and mortar mexican places open up during covid that are doing good because there food is awesome!
  • The Helper The Helper:
    Food trucks are killing out here because Bars cannot open unless they sell food and the governor ok'd the use of a food truck in front as serving food
  • The Helper The Helper:
    Just not enough food trucks
  • The Helper The Helper:
    a buddy of mine just opened up a food truck and he is killing it but he is a great cook and has awesome food right in the middle of the pandemic too food trucks are immune to pandemic because they are take out in Texas you will always be able to get take out or delivery
  • The Helper The Helper:
    He is in the different food facebook groups in houston and posts videos of him making his food
  • The Helper The Helper:
    he is killing it
  • jonas jonas:
    @Varine with the restaurants, there surely is a lot of luck and hard work but most restaurants fail because they suck. Flair isn't right, economics not well thought through, food is mediocre or sucks, location is bad, etc. If you're thinking about opening one, make sure you're looking at the stories of those that would be playing at your level, don't let your hopes be dragged down by all the subpar restaurants out there.
  • jonas jonas:
    I'm a bit worried about the future of data science, there's an influx of incompetent people hired by incompetent managers, that can't last. But I'm sure smart data scientists will always be useful and hireable. Same as smart security people.
  • jonas jonas:
    My sister in law worked in a vegan food truck, the owners were also making a killing, added several trucks and opened two restaurants over 5 years
  • Ghan Ghan:
    The CompTIA stuff is pretty much crap unfortunately. The places that ask for those low-level certs aren't likely places you want to work. For IT you really want a degree, but in the meantime you need to figure out some way to learn the skills. Cybersecurity is really hot right now so competition is fierce.
  • tom_mai78101 tom_mai78101:
    I realized I don't have anything much to say, other than "Good luck!". Compared to other places, I'm just very lucky we didn't have a lot of surges of cases coming in.

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top