How can I add more inventory slots to my hero?

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
br3akth3w1nd
Member
Posts: 58
Joined: December 8th, 2007, 8:11 pm

How can I add more inventory slots to my hero?

Post by br3akth3w1nd »

How can I add more inventory slots to my hero? I tried in different ways but nothing works :(.
[blinking]Sorry for my english ^_^[/blinking]
Bushido

Re: How can I add more inventory slots to my hero?

Post by Bushido »

I think it's impossible...since it's only 6

u could create an item backup
if the first is full, u can change it to another 1..
User avatar
br3akth3w1nd
Member
Posts: 58
Joined: December 8th, 2007, 8:11 pm

Re: How can I add more inventory slots to my hero?

Post by br3akth3w1nd »

http://www.epicwar.com/maps/download/46613/ this is a way, but its only for single-player and I cant make it for multi-player :(
[blinking]Sorry for my english ^_^[/blinking]
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: How can I add more inventory slots to my hero?

Post by Arabidnun »

I think there is away, but for me it is experimental. I was thinking using the combination of a spellbook/custom spells. When I post the Beta map, I will show you how it works.

Map: Soon to come.

Edit: Making good progress...Soon I will release Beta Version.

Edit 2: Beta Version almost done

[blinking]
Spell Book Custom Backpack System v.101
[/blinking]
Spoiler:
This system uses the combination of the spell book with dummy spells as your inventory. When you activate these spells you items switch to that particular backpack. However, in your older version you could only use 1 player due to the fact you only had the Item Variables set to red. I have created it so I created individual variables for players such as Red_Temp_Item and Blue_Temp_Item to sucessfully carry out my triggers.

You pickup the items on the ground and choose a backpack to start with, however, when you choose a packpack trigger, you cannot choose that again so not to complicate things. Check it out, Good Luck and i hope this helps

CAUTION:You cannot use the 1st Backpack first as that is default as your first backpack. Not really anything dramatic but it's weird to see you click on backpack 1 and nothing works.
Spell Book BackPack System.w3x
You do not have the required permissions to view the files attached to this post.
User avatar
br3akth3w1nd
Member
Posts: 58
Joined: December 8th, 2007, 8:11 pm

Re: How can I add more inventory slots to my hero?

Post by br3akth3w1nd »

10x for the trigg dude, but I found a bug. When you click on the ability, it needs time to switch to the next inventory and then if you try to switch to another inventory, the item is duplicated or lost :(.
[blinking]Sorry for my english ^_^[/blinking]
Arabidnun
Forum Staff
Posts: 506
Joined: August 5th, 2007, 1:38 pm
Title: Gui Expert
Location: *Unknown*

Re: How can I add more inventory slots to my hero?

Post by Arabidnun »

Not really a bug as in abuse...Can't really be helped.

I can take out the waiting time, but the double cast cannot be helped unless regulated by another trigger

So far, this is your best option.
User avatar
br3akth3w1nd
Member
Posts: 58
Joined: December 8th, 2007, 8:11 pm

Re: How can I add more inventory slots to my hero?

Post by br3akth3w1nd »

hmm, when I imported your buffs and abilities, variables and triggers to my map, I added the spell book ability to one of my heroes but when I click on the it, not all of the slots show. It is different every time I start the game and activate it. Am I doing something wrong?
[blinking]Sorry for my english ^_^[/blinking]
Durchdringen
Honorary wc3edit.net Traitor
Posts: 468
Joined: December 10th, 2007, 10:50 pm
Title: The Professional
Location: USA

Re: How can I add more inventory slots to my hero?

Post by Durchdringen »

This may or may not help you, but it's worth a shot.

http://www.thehelper.net/forums/showthr ... ited+items

P.S. I found a system a long time ago (Don't know where it is now as thehiveworkshop replaced the other site) but it allowed you to scroll through infinite items. If you need something like that you may want to spend the time to search for it and it will probably be worth your time.
Do you support Durchdringen? If so, add the spoiler to your sig. Durch cares for you, so show your support for Durch!
Spoiler:
(broken image) Thanks for the support!
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: How can I add more inventory slots to my hero?

Post by Ozzapoo »

I was reading through this and I was mystified as to whether the following code was valid JASS Syntax...?

Code: Select all

type InventoryMatrix extends integer array[6]

struct InventoryData
    InventoryMatrix ItemTypeId
    InventoryMatrix ItemCharges
    InventoryMatrix ItemUserData
    InventoryMatrix ItemLife
endstruct
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Re: How can I add more inventory slots to my hero?

Post by Aero »

No, it's not JASS at all.

It's vJASS syntax that's used within newgen.
What newgen does when you save is pre-compile the map and turn all that vJASS syntax into normal JASS.

I don't use vJASS at all because normal JASS is more flexible, customizable and you know what the real code will look like.