your idea please ?

11/10/2016 15:04 mahmoudzare#1
Hello,
I want to do something to Cancel any recall from console For who wear a jop suit or trade

want to disable any teleport and recall from console for trader
who have idea for that ?

??
11/11/2016 23:32 mahmoudzare#2
up
11/12/2016 13:51 B1Q#3
use a filter

Code:
if(pack.Opcode == 0x7010)
{
   byte act = pack.ReadByte();
   if(act == teleportid || act == totownid)
   {
      string charname = pack.ReadAscii();
      if(WearingJob(charname))
      {
           // return dc or do whatever you want :3  
      }
   }
}
Code:
bool WearingJob(string charname)
{
   /* run sql  query check if slot 8 in inventory is not empty (ItemID is not 0) */

   return true;
}