EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Item Charges (https://www.eqemulator.org/forums/showthread.php?t=37858)

noudess 02-16-2014 11:05 AM

Item Charges
 
On my server, Pouch of Mistletoe Powder" drops (or summoned by GM) has 0 charges.

I can't see a field in the db (other than max charges which is correct) that would control this. I summon the item and get 1 with 0 charges.

Can someone explain why this might be?

Uleat 02-16-2014 02:10 PM

Unfortunately, count, stack count and charges share the same variable...

I'm not 100% sure if all clients share this behavior..but, I'm bound to run across that soon.


Singular Item: 0 charge (could be 1...)
Charged Item: 0 - n charges
Stackable Item: 1 - n charges


As far as THAT particular item, I don't have access to a db atm...

Is this a clickable/stackable object that should have a count?

The server checks for those and assigns the count according.

Kingly_Krab 02-16-2014 02:15 PM

#si Summons the item as a singular with 0 charges, if you don't specify stack or charges. If you do it like this #si 1001, it will be a Cloth Cap with 0 charges. #si [item id] [charges/stack]

noudess 02-16-2014 03:10 PM

I changed item type to 21 from 17 and it fixed it.

It was dropping with 0 charges as well. That was also fixed.

noudess 02-16-2014 04:50 PM

Quote:

Originally Posted by Kingly_Krab (Post 228302)
#si Summons the item as a singular with 0 charges, if you don't specify stack or charges. If you do it like this #si 1001, it will be a Cloth Cap with 0 charges. #si [item id] [charges/stack]

I knew this, but what about an item that has charges and stacks? I just got more than 1 item with 0 charges.

When I fixed the item type (as posted elsewhere) from 17 to 21, it worked.

Kingly_Krab 02-16-2014 05:15 PM

Yeah, this is why. 17 Is a common item, 21 is a potion.

http://i.imgur.com/3lLVYPz.png

EDIT: You should try the PEQ Editor, take a look here.

Uleat 02-16-2014 07:05 PM

What is an example of something with charges and stack?

I know there are charged potions and stacks of potions..but, not both at the same time.

Kingly_Krab 02-16-2014 07:26 PM

Quote:

Originally Posted by Uleat (Post 228315)
What is an example of something with charges and stack?

I know there are charged potions and stacks of potions..but, not both at the same time.

I don't understand that either. But I understand the concept of it working.

sorvani 02-16-2014 09:49 PM

Quote:

Originally Posted by Uleat (Post 228315)
What is an example of something with charges and stack?

I know there are charged potions and stacks of potions..but, not both at the same time.

These items do not exist. Example: old invis potions were 1 charge per item. Then you put 10 in a bag and combined them to a new item with 10 charges.
New ones are all stackable single items with 1 charge.


All times are GMT -4. The time now is 08:38 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.