View Single Post
Old 02.06.2006, 14:20   #1
l2online
Архивный участник
 
Join Date: Nov 2005
Posts: 16
Default

Quote:
Originally Posted by elcapo
/* TODO */
Check if there is any "objetive", otherwise: sysmessage = 242
Check if objetive is NOT a NPC, otherwhise: sysmessage = 109
Where is Jump_0 ?
Check about "objetive so far" or "objetive is offline" is necessary?
Code:
   if (pUser!=NULL)
This means if you do not select a user.
and since a NPC is not a user.......

for the objective whatever u talk about:
Code:
         push szMyName 
         push 0 
         push 1 
         push 831            //system message id 831 
         push 7Ah 
         push sFormat_9 
         push pTargetSocket 
         call fSendToSinglePlayer; 
         add esp, 64;       
      } 
   } else 
      __asm 
   {
	        push 242;      //system message id 242 
            push 7ah; 
            push sFormat_1; 
            push pSocket; 
            call fSendToSinglePlayer; 
            add esp, 16; 
            jmp Jump_0;
   }
}
just replace the last lines with that...

EDIT: Thanks for sharing.. "m_dbConn" problem solved.
There is just one problem..
What are:
RecomLeft
RecomHave
USERINFOEX
sFormat_9
sFormat_10
getCreature
GetUserinfoEx
sFormat_1

defined like? could you please tell me.
l2online is offline