Warcraft III resources & community, 2003–2006 · archived

Stack Screen Alpha 1.1

not rated
Submitted by weaaddarSystems335 downloads24 KB
Screenshot
Screenshot
A robust item stacking system. Allows you to determine the amount of charges distributed to the new pile. allows you to also define items that can`t be stacked.

v1.1

--Optimized some methods

--Add5 now moves all remaining charge if there are less than 5
File Name
stacker.w3x
Author
weaaddar
Download

Comments

10
hmm what if you have an item hmm lets say a scroll of tp in slot 1.
then you drag and drop the 100 potions and choose to add hmm lets say 5 potions.
what happens to the scroll????


PM me plzz i never read if you comment here
Moved to systems!

~Daelin
Very nice, good work.

Anyone making an ORPG or such will find this very handy.
Nice, nice, nice :D . Couldn't see any bugs, it all seemed to work out as it's supposed to now (with the +5).

And to all those who miss a description: COME ON! it took me, what 5 seconds to find out how it worked.

Nice job weaddar :) .
Here is version 1.1 and some screenshots, optimized the code a good bit, and made it so that when you click +5 and you have less than 5 charges all charges are transfered (it seemed stupid to only have 3 charges and clicking +5 doing nothing)
Well its really simple. The jass isn't very confusing, the two big methods, show stack screen and enable stack screen do pretty much the same thing. ESS makes all the items, hides them and attaches them to the hero through gamecache pointing. SSS just unhides the items and gives them to the hero.

There are a couple of functions which I use so frequently that I consider them practicly native so I don't bother commenting on them. Like Hero_swapInv and Hero_clearInv, but they have pretty discriptive names.
oh well it is much better now! i didnt even knew that i should drag the item into another slot to see the sys,i saw the items made by you there and i said where these things are used.

i will test it later and tell you :wink:

next time weaaddar put a screenshot and a more detailed desc,if the we's one doesnt fit put a comment here.

EDIT:after testing it

It's okay,not the most useful system i've seen but it's okay.

Here are some positive and negative things of it

+Throug this you can make a new item from one we have and give the new to a friend.
+It has that +5 charges thing wich reduces the clicks we do,and time of course.


-You cant move items,once it gets into a slot you must transfer all the charges into another slot to move it,wich is kinda annoying,because it's not fast.
-Your jass confuses some people.(including me,i dint read any big amount of code,and yes as you say somewhere it's code is booring,and wich code is not booring?)
-It will get messed up with inventory systems,like vexorian's one,because of that right click thing(not sure for this though).
Its a drag and drop item stacking system. I thought it was pretty obvious, but I guess it isn't. Try dragging that stack of potions to another position, you should be greeted with the stack screen. if you can't figure out how to operate the stack screen, then I think you need to file yourself for disability.
well what comments do you await,you give no examples,what we see is a paladin with a potion that has 100 charges! no screenshot thats why it has only 26 downloads.
and moreover that thing is a bit too complex,learn us how to use your system,we are not supposed to know all.
So no comments?