Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2014, 11:05 AM
noudess
Discordant
 
Join Date: Sep 2012
Location: Upstate NY
Posts: 274
Default 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?
Reply With Quote
  #2  
Old 02-16-2014, 02:10 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #3  
Old 02-16-2014, 02:15 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

#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]
Reply With Quote
  #4  
Old 02-16-2014, 03:10 PM
noudess
Discordant
 
Join Date: Sep 2012
Location: Upstate NY
Posts: 274
Default

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

It was dropping with 0 charges as well. That was also fixed.
Reply With Quote
  #5  
Old 02-16-2014, 04:50 PM
noudess
Discordant
 
Join Date: Sep 2012
Location: Upstate NY
Posts: 274
Default

Quote:
Originally Posted by Kingly_Krab View Post
#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.
Reply With Quote
  #6  
Old 02-16-2014, 05:15 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

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



EDIT: You should try the PEQ Editor, take a look here.
Reply With Quote
  #7  
Old 02-16-2014, 07:05 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

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.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #8  
Old 02-16-2014, 07:26 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

Quote:
Originally Posted by Uleat View Post
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.
Reply With Quote
  #9  
Old 02-16-2014, 09:49 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

Quote:
Originally Posted by Uleat View Post
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:54 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3