Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 28.11.2006, 18:45   #1
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default [QUESTION]CCreature::DeleteItemInInventory()

Mcrabben maybe you or someone else could answer this question ...

Basically I'm trying to figure out the way the arguments are passed to this function to delete an item from a players inventory.

What I've gathered so far is that it takes two arguments before the call which I'm guessing are a pointer to the item you want to delete and a value which is the number of that item to delete. Previous calls to that function in the server have the same instructions mov ecx, ebx before the call which should be the pointer to the user struct.

I've gotten it to work, but I get a server error with ObjectDB complaining of an undefined classID followed by another error saying the item does not exist.

Has anyone had any luck using this function or does anyone know any more about the arguments it takes etc? Thanks!
HongK is offline  
 


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. The time now is 22:04.