LTD Lumber Emulator

Talk about all Legion TD versions here.
User avatar
Akitos
Treant Protector
Posts: 627
Joined: Thu Oct 03, 2013 10:17 am
Has thanked: 10 times
Been thanked: 21 times

LTD Lumber Emulator

Postby Akitos » Sat Sep 17, 2016 11:11 am

NOW AVAILABLE ON ENTGAMING - CLICK HERE! - not up to date atm, install locally for latest version
You may find the code here.

Guess it's about time I update the start post eh.. So here we go:

I recently developed an emulator for LTD to imitate lumber harvesting and give the user detailed information about it; which he'd otherwise have to calculate manually.

The question is: Why? I mean, we all can do this with a simple calculator (and a stop watch), right? So why bother writing an emulator for it? The biggest argument would obviously be that you'll have more time to focus on the actual game itself, instead of having to worry about numbers the whole time. It simply saves soooo much time and is very easy to use. So why not? I for one don't wanna grab my calculator everytime I want to know how much lumber I'll have in X minutes. I also don't want to take a stop watch if I want to keep track of an opponents lumber and then constantly calculate it manually whenever I want to know how much he has gathered... Might aswell just start the emulator and watch the numbers magically appear 8-)

(That's what it currently looks like. I know, it's not looking any good. Improving UX is part of the TO DO list..^^ Right now I just want it to work)
Image

Most of the things you can do should be self explantory, like adding wisps for example (btw: the emulator actually remembers the time you added the wisp and will consider it when calculating your current lumber!). Either way, I might aswell say a few words about the different options you, as a user, have.

Start- well... it kinda starts the emulator I guess :lol:

Pause - game has been paused or someone is lagging? No problem, hit this button! (the emulator will still remember wisp timers! Let's say you added your first wisp (2/0) at 5 seconds you'll get the lumber from wisp 1 at 10, 20, 30 and so on, and the lumber from wisp 2 at 15, 25, 35, ... pausing is not changing this anymore!); hit start again to resume.

Restart - duh..

Add Wisp - create another slave

Remove Wisp - kill a slave

Add lumberjack upgrade- adds a lumberjack upgrade AND subtracts the lumber cost IF you have enough lumber

Remove lumberjack upgrade - removes a lumberjack upgrade AND refunds the lumber cost IF you have actually paid it before

Show more - hitting this button will show you more future lumber values ("Your lumber in X Minutes is X"). So hitting that for the first time will also show you the lumber in 11 minutes and so on. You may show up to 20 Minutes.

Show less - same as show more, but the other way around :roll:

add X lumber - if you want to add some lumber just type it in here and press enter. very simple.

subtract X lumber - same here, just type it and it'll happen. Tho it cannot go into negative values. If you have 99 lumber and want to subtract 100 nothing will happen. You can use this to pay for farms or w/e might cost you lumber while the emulator is running.


TO DO:

- add the possibility to monitor multiple players at once
- improve user experience (aka. visuals and user interaction)


In case you don't know how to use it: put all files in one directory of your choice and simply open the index.html with w/e browser you're using; unless it's Internet Explorer, in that case kill yourself.

Found any bugs, got a suggestion or some feedback: lemme know! ;)
Last edited by Akitos on Mon Oct 03, 2016 5:01 pm, edited 15 times in total.
LTD 1 & 2 veteran | full-time streamer @twitch/akitos

wolo007
Basic Tree
Posts: 9
Joined: Mon Dec 28, 2015 8:52 pm
Has thanked: 1 time

Re: LTD Lumber Calculator

Postby wolo007 » Sat Sep 17, 2016 7:40 pm

good work :)

User avatar
Akitos
Treant Protector
Posts: 627
Joined: Thu Oct 03, 2013 10:17 am
Has thanked: 10 times
Been thanked: 21 times

Re: LTD Lumber Emulator

Postby Akitos » Tue Sep 20, 2016 5:41 pm

The script is a lot smarter by now and takes into consideration when wisps were added by giving each wisp a personal gathering interval; thus the lumber calculation is more accurate and very close to ingame now. Pausing also works as intended now and you can also see how much lumber you'll have in X minutes (from 1 to 20).
LTD 1 & 2 veteran | full-time streamer @twitch/akitos

Kirim
Forest Walker
Posts: 159
Joined: Sat Sep 24, 2016 11:45 am
Has thanked: 2 times
Been thanked: 13 times

Re: LTD Lumber Emulator

Postby Kirim » Sat Sep 24, 2016 7:28 pm

cool

TinSoldier
Treant Protector
Posts: 630
Joined: Fri May 30, 2014 2:42 am
Has thanked: 56 times
Been thanked: 125 times

Re: LTD Lumber Emulator

Postby TinSoldier » Fri Sep 30, 2016 1:40 am

i can do all these calculations in my head lol should have just asked me akitorerinoz

User avatar
Akitos
Treant Protector
Posts: 627
Joined: Thu Oct 03, 2013 10:17 am
Has thanked: 10 times
Been thanked: 21 times

Re: LTD Lumber Emulator

Postby Akitos » Sat Oct 01, 2016 9:14 am

iiStyLes wrote:i can do all these calculations in my head lol should have just asked me akitorerinoz


That's not the point lol. Ofc those calculations are simple, but do you also track time passed in your head for accurate calculations? I mean sure, you can start a stopwatch to track time and then constantly calculate that stuff with your head or however, but that'll surely take up a lot more of your focus than using the tool would. Why make it complex when you can do it in an easy way which allows you to focus on the game instead? (Btw, since the tool takes into consideration time when wisps were added it's actually a lot more accurate than what you can do with your head, because I highly doubt you take timers for each wisp^^)
LTD 1 & 2 veteran | full-time streamer @twitch/akitos

TinSoldier
Treant Protector
Posts: 630
Joined: Fri May 30, 2014 2:42 am
Has thanked: 56 times
Been thanked: 125 times

Re: LTD Lumber Emulator

Postby TinSoldier » Sat Oct 01, 2016 11:35 am

I just joke bro great job with this :p

User avatar
Akitos
Treant Protector
Posts: 627
Joined: Thu Oct 03, 2013 10:17 am
Has thanked: 10 times
Been thanked: 21 times

Re: LTD Lumber Emulator

Postby Akitos » Sat Oct 01, 2016 11:47 am

Oh ok^^
LTD 1 & 2 veteran | full-time streamer @twitch/akitos

User avatar
Akitos
Treant Protector
Posts: 627
Joined: Thu Oct 03, 2013 10:17 am
Has thanked: 10 times
Been thanked: 21 times

Re: LTD Lumber Emulator

Postby Akitos » Sun Oct 02, 2016 12:20 pm

Updated the start post and finished the basics of the tool. If you encounter any bugs or you'd like to see something changed that is not in the TO DO list it'd be nice if you could tell me!

Oh and, if you have an idea for another LTD tool, or any other interesting WC3 map, lemme know. This is a great excercise for me! I just started an education as IT specialist for application development last month.
These users thanked the author Akitos for the post:
Sir Meon (Mon Oct 03, 2016 9:20 am)
LTD 1 & 2 veteran | full-time streamer @twitch/akitos


Return to “Legion TD”

Who is online

Users browsing this forum: No registered users and 44 guests