Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-02-2021, 06:48 PM
Bytebait
Sarnak
 
Join Date: Oct 2014
Location: Colorado
Posts: 74
Default PEQ: Expendable item not deleting?

So I made a type 21:Potion, it uses a Script File ID:, Under spells I set it as an Expendable and kept the Click Effect to -1.
After restarting the server (just in case) and #giveitem to my player, the Script file runs fine but the item doesn't disappear.

I'm not sure if this is something I'm missing on the PeQ side or something I need to add on the Script File side?
Reply With Quote
  #2  
Old 03-03-2021, 10:59 AM
Bytebait
Sarnak
 
Join Date: Oct 2014
Location: Colorado
Posts: 74
Default

It looks like this will work, but will also delete the whole stack and just a single one.
Code:
$client->NukeItem($itemid);
Looks like it will delete a full stack and not one from the stack.
Reply With Quote
  #3  
Old 03-03-2021, 11:34 AM
Nukerella's Avatar
Nukerella
Fire Beetle
 
Join Date: Jun 2015
Location: Canada
Posts: 28
Default

Give it 1 charge and set it to potion.
Reply With Quote
  #4  
Old 03-03-2021, 11:41 AM
Bytebait
Sarnak
 
Join Date: Oct 2014
Location: Colorado
Posts: 74
Default

Quote:
Originally Posted by Nukerella View Post
Give it 1 charge and set it to potion.

I do have it that way. Hmmm.
Reply With Quote
  #5  
Old 03-03-2021, 11:50 AM
Nukerella's Avatar
Nukerella
Fire Beetle
 
Join Date: Jun 2015
Location: Canada
Posts: 28
Default

Looks like Sturm put a dummy spell on the items he does.

Try this spell on it 11560 - Open Gift
Reply With Quote
  #6  
Old 03-03-2021, 01:30 PM
Bytebait
Sarnak
 
Join Date: Oct 2014
Location: Colorado
Posts: 74
Default

Quote:
Originally Posted by Nukerella View Post
Looks like Sturm put a dummy spell on the items he does.

Try this spell on it 11560 - Open Gift
I'll give that a go, thanks!


Side note for others (or more honestly for my future self).

Code:
$client->removeitem($itemid,1);
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 11:01 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3