Can anybody help me out right quick?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Deceptions
Newcomer
Posts: 1
Joined: June 20th, 2008, 1:09 pm

Can anybody help me out right quick?

Post by Deceptions »

Now, I understand how to check an item's id and spawn that certain code. However, is it possible to generate that particular item on your character's inventory?? The reason why I ask is because I'm playing Cursed Heroes and I can generate any items but some of them won't let me pick them up so I was wondering if there was a way to have it so that my character can automatically carry it rather than having to worry about trying to pick up the item instead. If anybody can help me out, that would be deeply appreciated. Thank you for taking the time to read this.
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: Can anybody help me out right quick?

Post by Ozzapoo »

Deceptions wrote:Now, I understand how to check an item's id and spawn that certain code. However, is it possible to generate that particular item on your character's inventory?? The reason why I ask is because I'm playing Cursed Heroes and I can generate any items but some of them won't let me pick them up so I was wondering if there was a way to have it so that my character can automatically carry it rather than having to worry about trying to pick up the item instead. If anybody can help me out, that would be deeply appreciated. Thank you for taking the time to read this.
Well there's probably some trigger that removes it from your inventory as soon as you 'receive' it, so therefore there is no way to make you able to have it. Unless, ofcourse, we edit the map ;)
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
CrackUps
Member
Posts: 96
Joined: October 6th, 2007, 12:21 am

Re: Can anybody help me out right quick?

Post by CrackUps »

Well from what i've read im assuming you're talking about the -spawn command?

replace this line of the code:

call CreateItemLoc(Str2RAW(SubString(s2s,7,11)),GetUnitLoc(u2u))

with this:

call UnitAddItemByIdSwapped(Str2RAW(SubString(s2s,7,11)), GetEnumUnit() )
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Can anybody help me out right quick?

Post by weirdone2 »

@crack that wouldn't bypass the itemtype's system

@deception it's useless to want to do this because still when you load in the real version you won't be able to wear the items.
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: Can anybody help me out right quick?

Post by initialD »

looks in xantan's OLD version cp.
it has something that will spawn an item in your inventory.
-dd, -bkb, etc...