Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Right Click Mouse  (Visto 71321 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline dark32 #60 Posteado: May 31, 2020, 05:19:53 PM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 131
  • Gracias recibida: 2004
  • ar

 borracho

Test click in soul, bless, life, skill other class

haha, I like your opinion
 aplausos aplausos aplausos aplausos aplausos aplausos aplausos aplausos aplausos

use chaos machine first and bug fixed jajajaja

Gracias:


Offline MaxVoll #61 Posteado: May 31, 2020, 06:02:54 PM

  • C++ Coder
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 276
  • Gracias recibida: 6088
  • ve
Fix close GameServer.. sueno


Gracias:

airesgames, victhorinox, GabrielDev, andredeco, quanghuyit, marcelin, Hemao1994, away337159, HaPKoTuK, hanzel, mugloves99, yasuo1994, networks1, Watuyusei, dieguitox, stalintlv, hola23, maskarra2, proyecto93, gabriel123, meiwenhan123, sagat202, powerpatic, 4312204, frajola, jonhz, dizzys, 2str0kE, Ryzenn, Genius05, momo752, hieuvt, giveusatan, nhatphai21996vn, e911217, Rouge, dasgrid, dakosmu, Crowley, usersa, tilmur, bustafa, sanlp, gastondios, hardcoremd, concac123, warrior, davidrcj, jhonhy, martin castro, TryMenow, xianwen, nofeara, llhenryxpxx, Specifier, zergkeriga, jangaka1, cantante007, liron003, h3yShOk, Robins, skinmuonline, MKLION, markxj6, Lazarocp2020, linkvas12, tcbaoanh, barteo, Sergio Franco, animator, boylasd, dahouzi, Daniel@, mncastillo, Dragonvl15, xtestx, DjGamer, laulinh2, ledemkhoc, lunaticodeveloper, 452745444, ldads, BladeKnight109, VERNERON, InFamous, muancestral, rekis, mantios, taanzaza, vnshell, hinam.97, Cartman, devoter4, vcore30, RaduOnica, juniorcgr, dark, z348870672, claudioc1, cobyzero, ailsoncost, showmax, mattihi1mi, tiendoanit, zlethanhlong, MsotoC, dhaomao, Thor Host, deathsquad, thienthan1117, thanhbinhqht, beecubin, Djassar, melo920, stark98, Nexus, agitor, victormvw, LTP Team, joselagos, KhongGianOL, Aguila, Chupulum, Noximus, beibei, Lude, dsw_pool, luciferlg, pquintal, binhchivn, EaglE, TzCr4ck, 6atters, spartacus, djagripnos, mrchebu1990, manfromvn, 423646802, bimaloha, realman, Smith200, Llalex, iggfree, quyanxu, thunwa1, elmaxis1, wnz5678, andreyzz, artem, xz18786628, gacon201294, ohmagic, NguyenAnh, takumi12, Peluuca, samsunggon, comelon666, npt.formu, Denis Alves, Pyke, Pasa_Pal_Fondo, Higgs, SaintZeus, ElChapu, Yalc, kaisudo, knight.php, c4nhsatcodong, 183358, LeeHenry, axeman192, cri0, GX_KYO, hiep, Genilson23, gauyeutho, Miroki, Odisk, Kosh, Thale, dark32, onlinezajzaj, kayito, JavixFer, kaiocnx, chuckhai, z3r0x, ConejoMalo

Offline kind #62 Posteado: May 31, 2020, 06:07:56 PM

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 152
  • Gracias recibida: 2079
  • ar
ES: No tuve ningun problema con el gs cerrandose haciendo click derecho sobre cualquier item, deben estar copiando algo mal, o por logica, no agregando todo lo correspondiente. Faltan algunas cosas en el source, pero se entiende bastante lo que hay que agregar.
El tema del LuckyItem, para que agregar una funcion nueva, si ya existe una en MUEMU?

EN: Didn't have any problem with gs crashing while doing right click on other items, u must be copying something wrong, or lacking some code.
About lucky item check, why use another funcion if muemu already has one?
Code: [Select]
if (gLuckyItem.IsLuckyItem(&lpObj->Inventory[aRecv->Source]))
{
return;
}

Gracias:


Offline JavixFer #63 Posteado: May 31, 2020, 06:17:02 PM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 507
  • Gracias recibida: 4904
  • bo

cual es el crash o error? a mi me funciona perfectamente

Gracias:


Offline MaxVoll #64 Posteado: May 31, 2020, 06:25:33 PM

  • C++ Coder
  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 276
  • Gracias recibida: 6088
  • ve
cual es el crash o error? a mi me funciona perfectamente


algunos entran y directamente abren el inventario y dan click derecho a un soul, bless, life, etc.. o a un skill que no sea de la raza con la que estes y se les cierra el Gs.. si abres alguna otra interface antes de hacer click a esas cosas en el inventario no pasa nada.. era una cosa tonta..

Gracias:


Offline onlinezajzaj #65 Posteado: May 31, 2020, 06:39:22 PM

  • MAESTRO

  • US. DE HONOR

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 662
  • Gracias recibida: 20096
  • vn
Fix close GameServer.. sueno
 

Great, thank you!

God bless you !

 love love love love


Offline AZURE #66 Posteado: May 31, 2020, 07:39:49 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 255
  • Gracias recibida: 3399
  • cl
hola amigos me sale error al compilar alguien puede revisar mi postitem y ver cual es el error
https://mega.nz/file/wqhyVKDS#IHa62ot4K221W0O1cc17mZlFfsdBrXkpe7OyLMqYRlc

alguien puede ayudarme porfavor?


Offline ConejoMalo #67 Posteado: May 31, 2020, 08:06:48 PM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 707
  • Gracias recibida: 7338
  • ar
hola funciona muy bien, pero tengo un problema se me deshabilito el comando post ... ctrl+click ... ya no me postea los item para venderlos alguien tiene la solucion a eso?

Servicios de  Reparacion de bug Files Muemu, desde source y agregados Custom, soporte de configuracion.

Offline JavixFer #68 Posteado: May 31, 2020, 08:32:58 PM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 507
  • Gracias recibida: 4904
  • bo
hola funciona muy bien, pero tengo un problema se me deshabilito el comando post ... ctrl+click ... ya no me postea los item para venderlos alguien tiene la solucion a eso?

funciona perfecto ambos debiste mover algo... saludos.


Offline ConejoMalo #69 Posteado: May 31, 2020, 08:46:17 PM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 707
  • Gracias recibida: 7338
  • ar
hola funciona muy bien, pero tengo un problema se me deshabilito el comando post ... ctrl+click ... ya no me postea los item para venderlos alguien tiene la solucion a eso?

funciona perfecto ambos debiste mover algo... saludos.
no funciona tan perfcto.... a los seal te los equipa como anillos ... y a los anilllos de entrada del juego tambien los equipa como anillos...

Servicios de  Reparacion de bug Files Muemu, desde source y agregados Custom, soporte de configuracion.

Offline JavixFer #70 Posteado: May 31, 2020, 09:26:51 PM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 507
  • Gracias recibida: 4904
  • bo
hola funciona muy bien, pero tengo un problema se me deshabilito el comando post ... ctrl+click ... ya no me postea los item para venderlos alguien tiene la solucion a eso?

funciona perfecto ambos debiste mover algo... saludos.
no funciona tan perfcto.... a los seal te los equipa como anillos ... y a los anilllos de entrada del juego tambien los equipa como anillos...

claro tiene algunos detalles pero de que funciona el post item y el right click mouse funcionan..


Offline JavixFer #71 Posteado: May 31, 2020, 10:03:24 PM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 507
  • Gracias recibida: 4904
  • bo
para que los items Seal of Ascension, Seal of Wealth, Seal of Sustenance, etc no se equipen como anillos es simplemente configurar en item.txt y item_eng cambian el Slot que esta en 10 por un *


13
//Type   Slot
43       *
44       *
45       *

Gracias:


Offline AZURE #72 Posteado: May 31, 2020, 11:51:55 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 255
  • Gracias recibida: 3399
  • cl
Agrego esto y al compliar me salta error

#if(MOVE_ITEM)
   else if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

      ObjectItem * lItem = (ObjectItem*)item_data;

      if (lItem->ItemID < 0) { return; }

      PMSG_ITEM_MOVE_RECV pMsg = { 0 };

      pMsg.h.set(0x79, 0x01, sizeof(pMsg));
      pMsg.Target = -1;

      if (gInterface.CheckWindow(ChaosBox) && gInterface.CheckWindow(Inventory)) {
         if ((pCursorX > 460))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;
         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         else {
            pMsg.sFlag = 3;
            pMsg.tFlag = 0;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8;
         }
      }
      else {
         float v1 = 0;
         if (gInterface.CheckWindow(Character))
            v1 = *(float*)(0x00D24E88);
         if ((pCursorX > 460 - v1))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;

         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260 - v1)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         pMsg.Target = 0;
      }

      DataSend((BYTE*)&pMsg, pMsg.h.size);
      gPostItem.last_tickcount_moveitem_ = GetTickCount();
   }
#endif


Offline AZURE #73 Posteado: May 31, 2020, 11:57:23 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 255
  • Gracias recibida: 3399
  • cl
lo tengo agregado debajo de esto alguien puede ayudarme

void PostItem::PostItemToWorldChatChannelImp ( void * item_data ) {
    // check window, not allow for shop, inventory, warehouse, etc
    if ( gInterface.CheckWindow ( Trade ) ||
            gInterface.CheckWindow ( Warehouse ) ||
            gInterface.CheckWindow ( Shop ) ||
            gInterface.CheckWindow ( Store ) ||
            gInterface.CheckWindow ( OtherStore ) ||
            gInterface.CheckWindow ( CashShop ) ||
            gInterface.CheckWindow ( ExpandWarehouse ) ) {
        return;
    }

    if ( GetTickCount() <= gPostItem.last_tickcount_post_ + 3000 ) { return; }

    if ( GetKeyState ( VK_RBUTTON ) & 0x8000 && GetKeyState ( VK_CONTROL ) & 0x8000 ) {
        PMSG_POSTITEM iMsg = { '\0' };
        strcpy_s ( iMsg.chatmsg, ( char* ) pCurrentViewingItemName );
        memcpy_s ( &iMsg.chatid[0], 10, ( char* ) oUserObjectStruct_, 10 );
        memcpy_s ( &iMsg.item_data[0], 107, item_data, 107 );
        DataSend ( ( BYTE* ) &iMsg, iMsg.h.size );
        gPostItem.last_tickcount_post_ = GetTickCount();
   }
#if(MOVE_ITEM)
   else if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

      ObjectItem * lItem = (ObjectItem*)item_data;

      if (lItem->ItemID < 0) { return; }

      PMSG_ITEM_MOVE_RECV pMsg = { 0 };

      pMsg.h.set(0x79, 0x01, sizeof(pMsg));
      pMsg.Target = -1;

      if (gInterface.CheckWindow(ChaosBox) && gInterface.CheckWindow(Inventory)) {
         if ((pCursorX > 460))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;
         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         else {
            pMsg.sFlag = 3;
            pMsg.tFlag = 0;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8;
         }
      }
      else {
         float v1 = 0;
         if (gInterface.CheckWindow(Character))
            v1 = *(float*)(0x00D24E88);
         if ((pCursorX > 460 - v1))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;

         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260 - v1)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         pMsg.Target = 0;
      }

      DataSend((BYTE*)&pMsg, pMsg.h.size);
      gPostItem.last_tickcount_moveitem_ = GetTickCount();
   }
#endif


Offline ConejoMalo #74 Posteado: June 01, 2020, 12:06:17 AM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 707
  • Gracias recibida: 7338
  • ar
para que los items Seal of Ascension, Seal of Wealth, Seal of Sustenance, etc no se equipen como anillos es simplemente configurar en item.txt y item_eng cambian el Slot que esta en 10 por un *


13
//Type   Slot
43       *
44       *
45       *
eresun genio ya me pongo a ver eso :D gracias

Servicios de  Reparacion de bug Files Muemu, desde source y agregados Custom, soporte de configuracion.

Offline ConejoMalo #75 Posteado: June 01, 2020, 12:10:35 AM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 707
  • Gracias recibida: 7338
  • ar
lo tengo agregado debajo de esto alguien puede ayudarme

void PostItem::PostItemToWorldChatChannelImp ( void * item_data ) {
    // check window, not allow for shop, inventory, warehouse, etc
    if ( gInterface.CheckWindow ( Trade ) ||
            gInterface.CheckWindow ( Warehouse ) ||
            gInterface.CheckWindow ( Shop ) ||
            gInterface.CheckWindow ( Store ) ||
            gInterface.CheckWindow ( OtherStore ) ||
            gInterface.CheckWindow ( CashShop ) ||
            gInterface.CheckWindow ( ExpandWarehouse ) ) {
        return;
    }

    if ( GetTickCount() <= gPostItem.last_tickcount_post_ + 3000 ) { return; }

    if ( GetKeyState ( VK_RBUTTON ) & 0x8000 && GetKeyState ( VK_CONTROL ) & 0x8000 ) {
        PMSG_POSTITEM iMsg = { '\0' };
        strcpy_s ( iMsg.chatmsg, ( char* ) pCurrentViewingItemName );
        memcpy_s ( &iMsg.chatid[0], 10, ( char* ) oUserObjectStruct_, 10 );
        memcpy_s ( &iMsg.item_data[0], 107, item_data, 107 );
        DataSend ( ( BYTE* ) &iMsg, iMsg.h.size );
        gPostItem.last_tickcount_post_ = GetTickCount();
   }
#if(MOVE_ITEM)
   else if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

      ObjectItem * lItem = (ObjectItem*)item_data;

      if (lItem->ItemID < 0) { return; }

      PMSG_ITEM_MOVE_RECV pMsg = { 0 };

      pMsg.h.set(0x79, 0x01, sizeof(pMsg));
      pMsg.Target = -1;

      if (gInterface.CheckWindow(ChaosBox) && gInterface.CheckWindow(Inventory)) {
         if ((pCursorX > 460))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;
         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         else {
            pMsg.sFlag = 3;
            pMsg.tFlag = 0;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8;
         }
      }
      else {
         float v1 = 0;
         if (gInterface.CheckWindow(Character))
            v1 = *(float*)(0x00D24E88);
         if ((pCursorX > 460 - v1))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;

         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260 - v1)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         pMsg.Target = 0;
      }

      DataSend((BYTE*)&pMsg, pMsg.h.size);
      gPostItem.last_tickcount_moveitem_ = GetTickCount();
   }
#endif
que raro que te salga ese error... puede ser que lo tengas 2 veces ...

lo tengo agregado debajo de esto alguien puede ayudarme

void PostItem::PostItemToWorldChatChannelImp ( void * item_data ) {
    // check window, not allow for shop, inventory, warehouse, etc
    if ( gInterface.CheckWindow ( Trade ) ||
            gInterface.CheckWindow ( Warehouse ) ||
            gInterface.CheckWindow ( Shop ) ||
            gInterface.CheckWindow ( Store ) ||
            gInterface.CheckWindow ( OtherStore ) ||
            gInterface.CheckWindow ( CashShop ) ||
            gInterface.CheckWindow ( ExpandWarehouse ) ) {
        return;
    }
esta parte por defecto ya viene agregada...
solo agrega la extension de abajo y listo... ya que si dejas datasen2 no te funcionara...
tambien del lado gameserver ... lo que ahi dice itenmanajer.ccp... no va ahi... eso va en objetmannajer.ccp

Servicios de  Reparacion de bug Files Muemu, desde source y agregados Custom, soporte de configuracion.

Offline ConejoMalo #76 Posteado: June 01, 2020, 12:22:47 AM

  • +1 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 707
  • Gracias recibida: 7338
  • ar
lo tengo agregado debajo de esto alguien puede ayudarme

void PostItem::PostItemToWorldChatChannelImp ( void * item_data ) {
    // check window, not allow for shop, inventory, warehouse, etc
    if ( gInterface.CheckWindow ( Trade ) ||
            gInterface.CheckWindow ( Warehouse ) ||
            gInterface.CheckWindow ( Shop ) ||
            gInterface.CheckWindow ( Store ) ||
            gInterface.CheckWindow ( OtherStore ) ||
            gInterface.CheckWindow ( CashShop ) ||
            gInterface.CheckWindow ( ExpandWarehouse ) ) {
        return;
    }

    if ( GetTickCount() <= gPostItem.last_tickcount_post_ + 3000 ) { return; }

    if ( GetKeyState ( VK_RBUTTON ) & 0x8000 && GetKeyState ( VK_CONTROL ) & 0x8000 ) {
        PMSG_POSTITEM iMsg = { '\0' };
        strcpy_s ( iMsg.chatmsg, ( char* ) pCurrentViewingItemName );
        memcpy_s ( &iMsg.chatid[0], 10, ( char* ) oUserObjectStruct_, 10 );
        memcpy_s ( &iMsg.item_data[0], 107, item_data, 107 );
        DataSend ( ( BYTE* ) &iMsg, iMsg.h.size );
        gPostItem.last_tickcount_post_ = GetTickCount();
   }
#if(MOVE_ITEM)
   else if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

      ObjectItem * lItem = (ObjectItem*)item_data;

      if (lItem->ItemID < 0) { return; }

      PMSG_ITEM_MOVE_RECV pMsg = { 0 };

      pMsg.h.set(0x79, 0x01, sizeof(pMsg));
      pMsg.Target = -1;

      if (gInterface.CheckWindow(ChaosBox) && gInterface.CheckWindow(Inventory)) {
         if ((pCursorX > 460))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;
         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         else {
            pMsg.sFlag = 3;
            pMsg.tFlag = 0;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8;
         }
      }
      else {
         float v1 = 0;
         if (gInterface.CheckWindow(Character))
            v1 = *(float*)(0x00D24E88);
         if ((pCursorX > 460 - v1))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;

         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260 - v1)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         pMsg.Target = 0;
      }

      DataSend((BYTE*)&pMsg, pMsg.h.size);
      gPostItem.last_tickcount_moveitem_ = GetTickCount();
   }
#endif

si te sirve asi lo deje yo...
void PostItem::PostItemToWorldChatChannelImp ( void * item_data ) {
    // check window, not allow for shop, inventory, warehouse, etc
    if ( gInterface.CheckWindow ( Trade ) ||
            gInterface.CheckWindow ( Warehouse ) ||
            gInterface.CheckWindow ( Shop ) ||
            gInterface.CheckWindow ( Store ) ||
            gInterface.CheckWindow ( OtherStore ) ||
            gInterface.CheckWindow ( CashShop ) ||
            gInterface.CheckWindow ( ExpandWarehouse ) ) {
        return;
    }

    if ( GetTickCount() <= gPostItem.last_tickcount_post_ + 3000 ) { return; }

    if ( GetKeyState ( VK_RBUTTON ) & 0x8000 && GetKeyState ( VK_CONTROL ) & 0x8000 ) {
        PMSG_POSTITEM iMsg = { '\0' };
        iMsg.h.set(0x78,sizeof(iMsg));
        strcpy_s ( iMsg.chatmsg, ( char* ) pCurrentViewingItemName );
        memcpy_s ( &iMsg.chatid[0], 10, ( char* ) oUserObjectStruct_, 10 );
        memcpy_s ( &iMsg.item_data[0], 107, item_data, 107 );
        DataSend((BYTE*) &iMsg,iMsg.h.size);
        //iMsg.header.set ( ( LPBYTE ) &iMsg, 0x78, sizeof ( iMsg ) );
        //DataSend ( ( LPBYTE ) &iMsg, iMsg.header.size );
        gPostItem.last_tickcount_post_ = GetTickCount();
    }
#if(MOVE_ITEM)
    else if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

        ObjectItem * lItem = (ObjectItem*)item_data;

        if (lItem->ItemID < 0) { return; }

        PMSG_ITEM_MOVE_RECV pMsg = { 0 };

        pMsg.h.set(0x79, 0x01, sizeof(pMsg));
        pMsg.Target = -1;

        if (gInterface.CheckWindow(ChaosBox) && gInterface.CheckWindow(Inventory)) {
            if ((pCursorX > 460))
            {
                pMsg.sFlag = 0;
                pMsg.tFlag = 3;
                pMsg.Target = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;
            }
            else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260)
            {
                pMsg.sFlag = 0;
                pMsg.tFlag = 3;
                pMsg.Target = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
                if (pCursorY > 130)
                    pMsg.Source += 32;
            }
            else {
                pMsg.sFlag = 3;
                pMsg.tFlag = 0;
                pMsg.Target = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8;
            }
        }
        else {
            float v1 = 0;
            if (gInterface.CheckWindow(Character))
                v1 = *(float*)(0x00D24E88);
            if ((pCursorX > 460 - v1))
            {
                pMsg.sFlag = 0;
                pMsg.tFlag = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;

            }
            else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260 - v1)
            {
                pMsg.sFlag = 0;
                pMsg.tFlag = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
                if (pCursorY > 130)
                    pMsg.Source += 32;
            }
            pMsg.Target = 0;
        }

        DataSend((BYTE*)&pMsg, pMsg.h.size);
        gPostItem.last_tickcount_moveitem_ = GetTickCount();
    }
}
#endif
al final

#if(MOVE_ITEM)
void __declspec (naked) PostItem::Equipments() {
    static DWORD mem = 0;
    _asm {
        mov eax, dword ptr ds : [ebp - 04]
            mov mem, eax
    }
    RemoveEquipment((void *)mem);
    _asm {
        mov esp, ebp
            pop ebp
            ret 0004
    }
}
void PostItem::RemoveEquipment(void * item_data) {
    // check window, not allow for shop, inventory, warehouse, etc
    if (gInterface.CheckWindow(Trade) ||
        gInterface.CheckWindow(Warehouse) ||
        gInterface.CheckWindow(Shop) ||
        gInterface.CheckWindow(Store) ||
        gInterface.CheckWindow(OtherStore) ||
        gInterface.CheckWindow(CashShop) ||
        gInterface.CheckWindow(ExpandWarehouse)) {
        return;
    }
    if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

        ObjectItem * lItem = (ObjectItem*)item_data;

        if (lItem->ItemID < 0) { return; }

        PMSG_ITEM_MOVE_RECV pMsg = { 0 };

        pMsg.h.set(0x79, 0x01, sizeof(pMsg));

        pMsg.sFlag = 0;
        pMsg.tFlag = 0;
        pMsg.Source = lItem->PosX;
        pMsg.Target = 0;

        DataSend((BYTE*)&pMsg, pMsg.h.size);

        gPostItem.last_tickcount_moveitem_ = GetTickCount();
    }
}
#endif



Servicios de  Reparacion de bug Files Muemu, desde source y agregados Custom, soporte de configuracion.

Gracias:


Offline AZURE #77 Posteado: June 01, 2020, 12:30:44 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 255
  • Gracias recibida: 3399
  • cl
lo tengo agregado debajo de esto alguien puede ayudarme

void PostItem::PostItemToWorldChatChannelImp ( void * item_data ) {
    // check window, not allow for shop, inventory, warehouse, etc
    if ( gInterface.CheckWindow ( Trade ) ||
            gInterface.CheckWindow ( Warehouse ) ||
            gInterface.CheckWindow ( Shop ) ||
            gInterface.CheckWindow ( Store ) ||
            gInterface.CheckWindow ( OtherStore ) ||
            gInterface.CheckWindow ( CashShop ) ||
            gInterface.CheckWindow ( ExpandWarehouse ) ) {
        return;
    }

    if ( GetTickCount() <= gPostItem.last_tickcount_post_ + 3000 ) { return; }

    if ( GetKeyState ( VK_RBUTTON ) & 0x8000 && GetKeyState ( VK_CONTROL ) & 0x8000 ) {
        PMSG_POSTITEM iMsg = { '\0' };
        strcpy_s ( iMsg.chatmsg, ( char* ) pCurrentViewingItemName );
        memcpy_s ( &iMsg.chatid[0], 10, ( char* ) oUserObjectStruct_, 10 );
        memcpy_s ( &iMsg.item_data[0], 107, item_data, 107 );
        DataSend ( ( BYTE* ) &iMsg, iMsg.h.size );
        gPostItem.last_tickcount_post_ = GetTickCount();
   }
#if(MOVE_ITEM)
   else if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

      ObjectItem * lItem = (ObjectItem*)item_data;

      if (lItem->ItemID < 0) { return; }

      PMSG_ITEM_MOVE_RECV pMsg = { 0 };

      pMsg.h.set(0x79, 0x01, sizeof(pMsg));
      pMsg.Target = -1;

      if (gInterface.CheckWindow(ChaosBox) && gInterface.CheckWindow(Inventory)) {
         if ((pCursorX > 460))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;
         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 3;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         else {
            pMsg.sFlag = 3;
            pMsg.tFlag = 0;
            pMsg.Target = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8;
         }
      }
      else {
         float v1 = 0;
         if (gInterface.CheckWindow(Character))
            v1 = *(float*)(0x00D24E88);
         if ((pCursorX > 460 - v1))
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;

         }
         else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260 - v1)
         {
            pMsg.sFlag = 0;
            pMsg.tFlag = 0;
            pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
            if (pCursorY > 130)
               pMsg.Source += 32;
         }
         pMsg.Target = 0;
      }

      DataSend((BYTE*)&pMsg, pMsg.h.size);
      gPostItem.last_tickcount_moveitem_ = GetTickCount();
   }
#endif

si te sirve asi lo deje yo...
void PostItem::PostItemToWorldChatChannelImp ( void * item_data ) {
    // check window, not allow for shop, inventory, warehouse, etc
    if ( gInterface.CheckWindow ( Trade ) ||
            gInterface.CheckWindow ( Warehouse ) ||
            gInterface.CheckWindow ( Shop ) ||
            gInterface.CheckWindow ( Store ) ||
            gInterface.CheckWindow ( OtherStore ) ||
            gInterface.CheckWindow ( CashShop ) ||
            gInterface.CheckWindow ( ExpandWarehouse ) ) {
        return;
    }

    if ( GetTickCount() <= gPostItem.last_tickcount_post_ + 3000 ) { return; }

    if ( GetKeyState ( VK_RBUTTON ) & 0x8000 && GetKeyState ( VK_CONTROL ) & 0x8000 ) {
        PMSG_POSTITEM iMsg = { '\0' };
        iMsg.h.set(0x78,sizeof(iMsg));
        strcpy_s ( iMsg.chatmsg, ( char* ) pCurrentViewingItemName );
        memcpy_s ( &iMsg.chatid[0], 10, ( char* ) oUserObjectStruct_, 10 );
        memcpy_s ( &iMsg.item_data[0], 107, item_data, 107 );
        DataSend((BYTE*) &iMsg,iMsg.h.size);
        //iMsg.header.set ( ( LPBYTE ) &iMsg, 0x78, sizeof ( iMsg ) );
        //DataSend ( ( LPBYTE ) &iMsg, iMsg.header.size );
        gPostItem.last_tickcount_post_ = GetTickCount();
    }
#if(MOVE_ITEM)
    else if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

        ObjectItem * lItem = (ObjectItem*)item_data;

        if (lItem->ItemID < 0) { return; }

        PMSG_ITEM_MOVE_RECV pMsg = { 0 };

        pMsg.h.set(0x79, 0x01, sizeof(pMsg));
        pMsg.Target = -1;

        if (gInterface.CheckWindow(ChaosBox) && gInterface.CheckWindow(Inventory)) {
            if ((pCursorX > 460))
            {
                pMsg.sFlag = 0;
                pMsg.tFlag = 3;
                pMsg.Target = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;
            }
            else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260)
            {
                pMsg.sFlag = 0;
                pMsg.tFlag = 3;
                pMsg.Target = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
                if (pCursorY > 130)
                    pMsg.Source += 32;
            }
            else {
                pMsg.sFlag = 3;
                pMsg.tFlag = 0;
                pMsg.Target = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8;
            }
        }
        else {
            float v1 = 0;
            if (gInterface.CheckWindow(Character))
                v1 = *(float*)(0x00D24E88);
            if ((pCursorX > 460 - v1))
            {
                pMsg.sFlag = 0;
                pMsg.tFlag = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12;

            }
            else if (gInterface.CheckWindow(ExpandInventory) && pCursorX > 260 - v1)
            {
                pMsg.sFlag = 0;
                pMsg.tFlag = 0;
                pMsg.Source = lItem->PosX + lItem->PosY * 8 + 12 + 64;
                if (pCursorY > 130)
                    pMsg.Source += 32;
            }
            pMsg.Target = 0;
        }

        DataSend((BYTE*)&pMsg, pMsg.h.size);
        gPostItem.last_tickcount_moveitem_ = GetTickCount();
    }
}
#endif
al final

#if(MOVE_ITEM)
void __declspec (naked) PostItem::Equipments() {
    static DWORD mem = 0;
    _asm {
        mov eax, dword ptr ds : [ebp - 04]
            mov mem, eax
    }
    RemoveEquipment((void *)mem);
    _asm {
        mov esp, ebp
            pop ebp
            ret 0004
    }
}
void PostItem::RemoveEquipment(void * item_data) {
    // check window, not allow for shop, inventory, warehouse, etc
    if (gInterface.CheckWindow(Trade) ||
        gInterface.CheckWindow(Warehouse) ||
        gInterface.CheckWindow(Shop) ||
        gInterface.CheckWindow(Store) ||
        gInterface.CheckWindow(OtherStore) ||
        gInterface.CheckWindow(CashShop) ||
        gInterface.CheckWindow(ExpandWarehouse)) {
        return;
    }
    if (GetKeyState(VK_RBUTTON) & 0x8000 && GetTickCount() >= gPostItem.last_tickcount_moveitem_ + 250) {

        ObjectItem * lItem = (ObjectItem*)item_data;

        if (lItem->ItemID < 0) { return; }

        PMSG_ITEM_MOVE_RECV pMsg = { 0 };

        pMsg.h.set(0x79, 0x01, sizeof(pMsg));

        pMsg.sFlag = 0;
        pMsg.tFlag = 0;
        pMsg.Source = lItem->PosX;
        pMsg.Target = 0;

        DataSend((BYTE*)&pMsg, pMsg.h.size);

        gPostItem.last_tickcount_moveitem_ = GetTickCount();
    }
}
#endif


Muchs gracias Rodrigo Me Sirvio

Gracias:


Offline samsunggon #78 Posteado: June 01, 2020, 01:04:35 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 466
  • Gracias recibida: 2638
  • ph
how to use this in LOUIS FILES UP13.
in my source dont have post_item.cpp /h


DISCORD: valentino1515


Offline samsunggon #79 Posteado: June 01, 2020, 04:09:38 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 466
  • Gracias recibida: 2638
  • ph
i have 75error in main source ^^


DISCORD: valentino1515


Offline samsunggon #80 Posteado: June 01, 2020, 04:15:06 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 466
  • Gracias recibida: 2638
  • ph
can anyone help ?
 i cant follow the source code in main ^^
but in gameserver no problem


DISCORD: valentino1515


Offline samsunggon #81 Posteado: June 01, 2020, 04:18:56 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 466
  • Gracias recibida: 2638
  • ph
is this correct?
PostItem::PostItem ()
{
    list_counter_ = 0;
    last_tickcount_post_ = 0;
    current_item_post_ = &gInterface.item_post_;
    last_tickcount_view_ = &gInterface.last_tickcount_view_;
    draw_character_head_chat_text_ = false;
    PostItemColor =  GetPrivateProfileInt ( "Game", "PostColor", 7, ".\\Settings.ini" );
    if ( PostItemColor < 1 || PostItemColor > 9 ){PostItemColor = 9;}


    Hook();

   #if(MOVE_ITEM)
   last_tickcount_moveitem_ = 0;
   #endif
}


DISCORD: valentino1515


Offline onlinezajzaj #82 Posteado: June 01, 2020, 04:26:47 AM

  • MAESTRO

  • US. DE HONOR

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 662
  • Gracias recibida: 20096
  • vn
is this correct?
PostItem::PostItem ()
{
    list_counter_ = 0;
    last_tickcount_post_ = 0;
    current_item_post_ = &gInterface.item_post_;
    last_tickcount_view_ = &gInterface.last_tickcount_view_;
    draw_character_head_chat_text_ = false;
    PostItemColor =  GetPrivateProfileInt ( "Game", "PostColor", 7, ".\\Settings.ini" );
    if ( PostItemColor < 1 || PostItemColor > 9 ){PostItemColor = 9;}


    Hook();

   #if(MOVE_ITEM)
   last_tickcount_moveitem_ = 0;
   #endif
}

http://tuservermu.com.ve/index.php?topic=31050.0

 :o :o :o :o :o :o :o :o


Offline samsunggon #83 Posteado: June 01, 2020, 04:38:26 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 466
  • Gracias recibida: 2638
  • ph
is this correct?
PostItem::PostItem ()
{
    list_counter_ = 0;
    last_tickcount_post_ = 0;
    current_item_post_ = &gInterface.item_post_;
    last_tickcount_view_ = &gInterface.last_tickcount_view_;
    draw_character_head_chat_text_ = false;
    PostItemColor =  GetPrivateProfileInt ( "Game", "PostColor", 7, ".\\Settings.ini" );
    if ( PostItemColor < 1 || PostItemColor > 9 ){PostItemColor = 9;}


    Hook();

   #if(MOVE_ITEM)
   last_tickcount_moveitem_ = 0;
   #endif
}

http://tuservermu.com.ve/index.php?topic=31050.0

 :o :o :o :o :o :o :o :o

already done that source code of
post item and works 100%

but i dont know where i put this code

post_item.cpp

PostItem::PostItem ()

Code: [Select]
#if(MOVE_ITEM)
last_tickcount_moveitem_ = 0;
#endif


DISCORD: valentino1515


Offline samsunggon #84 Posteado: June 01, 2020, 04:41:54 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 466
  • Gracias recibida: 2638
  • ph
is this correct?
PostItem::PostItem ()
{
    list_counter_ = 0;
    last_tickcount_post_ = 0;
    current_item_post_ = &gInterface.item_post_;
    last_tickcount_view_ = &gInterface.last_tickcount_view_;
    draw_character_head_chat_text_ = false;
    PostItemColor =  GetPrivateProfileInt ( "Game", "PostColor", 7, ".\\Settings.ini" );
    if ( PostItemColor < 1 || PostItemColor > 9 ){PostItemColor = 9;}


    Hook();

   #if(MOVE_ITEM)
   last_tickcount_moveitem_ = 0;
   #endif
}

http://tuservermu.com.ve/index.php?topic=31050.0

 :o :o :o :o :o :o :o :o

already done that source code of
post item and works 100%

but i dont know where i put this code

Code: [Select]
post_item.cpp

PostItem::PostItem ()

#if(MOVE_ITEM)
last_tickcount_moveitem_ = 0;
#endif

this is my error
Code: [Select]
 
Error 15 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\Protocol.cpp 707 1 Main
Error 9 error C3861: 'DataSend2': identifier not found C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 123 1 Main
Error 16 error C2365: 'SetChaosBoxState' : redefinition; previous definition was 'function' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\Protocol.cpp 707 1 Main
Error 8 error C2228: left of '.size' must have class/struct/union C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 123 1 Main
Error 6 error C2228: left of '.set' must have class/struct/union C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 122 1 Main
Error 18 error C2084: function 'void SetChaosBoxState(PMSG_SET_CHAOSBOX_STATE *)' already has a body C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\Protocol.cpp 711 1 Main
Error 12 error C2084: function 'void PostItem::PostItemToWorldChatChannelImp(void *)' already has a body C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 217 1 Main
Error 14 error C2065: 'lpMsg' : undeclared identifier C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\Protocol.cpp 707 1 Main
Error 17 error C2059: syntax error : 'return' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\Protocol.cpp 708 1 Main
Error 13 error C2059: syntax error : 'case' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\Protocol.cpp 706 1 Main
Error 2 error C2039: 'RemoveEquipment' : is not a member of 'PostItem' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 69 1 Main
Error 3 error C2039: 'last_tickcount_moveitem_' : is not a member of 'PostItem' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 80 1 Main
Error 4 error C2039: 'last_tickcount_moveitem_' : is not a member of 'PostItem' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 97 1 Main
Error 10 error C2039: 'last_tickcount_moveitem_' : is not a member of 'PostItem' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 127 1 Main
Error 11 error C2039: 'last_tickcount_moveitem_' : is not a member of 'PostItem' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 185 1 Main
Error 5 error C2039: 'header' : is not a member of 'PMSG_POSTITEM' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 122 1 Main
Error 7 error C2039: 'header' : is not a member of 'PMSG_POSTITEM' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 123 1 Main
Error 1 error C2039: 'Equipments' : is not a member of 'PostItem' C:\Users\INTEL\Documents\Visual Studio 2010\Projects\LOUIS13\Main_EX603_Org\Main\post_item.cpp 56 1 Main



DISCORD: valentino1515


Offline onlinezajzaj #85 Posteado: June 01, 2020, 04:43:27 AM | Modificado: June 01, 2020, 04:45:02 AM by onlinezajzaj

  • MAESTRO

  • US. DE HONOR

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 662
  • Gracias recibida: 20096
  • vn

[/quote]

already done that source code of
post item and works 100%

but i dont know where i put this code

post_item.cpp

PostItem::PostItem ()

Code: [Select]
#if(MOVE_ITEM)
last_tickcount_moveitem_ = 0;
#endif
[/quote]



Demo for you

Code: [Select]
PostItem::PostItem () {
#if(MOVE_ITEM)
last_tickcount_moveitem_ = 0;
#endif
    list_counter_ = 0;
    last_tickcount_post_ = 0;
    current_item_post_ = &gInterface.item_post_;
    last_tickcount_view_ = &gInterface.last_tickcount_view_;
    draw_character_head_chat_text_ = false;
    PostItemColor = GetPrivateProfileInt ( "Game", "PostColor", 7, ".\\Settings.ini" );
    if ( PostItemColor < 1 || PostItemColor > 9 ){PostItemColor = 9;}


    Hook();
}
// -----------------------------------------------------------------------------


post_item.h

Code: [Select]
#pragma once

//#include "macro.h"
#include "item_post.h"
class PostItem {
  public:
    PostItem ();
    virtual ~PostItem();

    void Hook();
 

    static void PostItemToWorldChatChannel();
    static void PostItemToWorldChatChannelImp ( void * item_data );
    static void * AddItem ( void * item_data );
    static void BuildChatDataLong();  // long message
    static void BuildChatDataShort();  // short message
    static void BuildChatData ( void * chat_data_pointer );
    static void ProcessCharacterHeadChatText();
    static void ProcessCharacterHeadChatTextImp ( char * base_address, char * chat_text );
    static void ViewPostItem();
    static void ViewPostItemImp ( void * chat_data_pointer );
#if(MOVE_ITEM)
static void Equipments();
static void RemoveEquipment(void * item_data);
#endif
    int PostItemColor;

public:
    LinkedList<ItemPost> list_;
    unsigned long list_counter_;

    DWORD last_tickcount_post_;

    void ** current_item_post_;
    DWORD * last_tickcount_view_;
#if(MOVE_ITEM)
DWORD last_tickcount_moveitem_;
#endif

    bool draw_character_head_chat_text_;
    char * draw_character_head_chat_text_base_address_;

}; extern PostItem gPostItem;

Gracias:


Offline samsunggon #86 Posteado: June 01, 2020, 05:24:21 AM | Modificado: June 01, 2020, 05:43:22 AM by samsunggon

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 466
  • Gracias recibida: 2638
  • ph

DISCORD: valentino1515


Offline samsunggon #87 Posteado: June 01, 2020, 05:25:08 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 466
  • Gracias recibida: 2638
  • ph

already done that source code of
post item and works 100%

but i dont know where i put this code

post_item.cpp

PostItem::PostItem ()

Code: [Select]
#if(MOVE_ITEM)
last_tickcount_moveitem_ = 0;
#endif



Demo for you

Code: [Select]
PostItem::PostItem () {
#if(MOVE_ITEM)
last_tickcount_moveitem_ = 0;
#endif
    list_counter_ = 0;
    last_tickcount_post_ = 0;
    current_item_post_ = &gInterface.item_post_;
    last_tickcount_view_ = &gInterface.last_tickcount_view_;
    draw_character_head_chat_text_ = false;
    PostItemColor = GetPrivateProfileInt ( "Game", "PostColor", 7, ".\\Settings.ini" );
    if ( PostItemColor < 1 || PostItemColor > 9 ){PostItemColor = 9;}


    Hook();
}
// -----------------------------------------------------------------------------


post_item.h

Code: [Select]
#pragma once

//#include "macro.h"
#include "item_post.h"
class PostItem {
  public:
    PostItem ();
    virtual ~PostItem();

    void Hook();
 

    static void PostItemToWorldChatChannel();
    static void PostItemToWorldChatChannelImp ( void * item_data );
    static void * AddItem ( void * item_data );
    static void BuildChatDataLong();  // long message
    static void BuildChatDataShort();  // short message
    static void BuildChatData ( void * chat_data_pointer );
    static void ProcessCharacterHeadChatText();
    static void ProcessCharacterHeadChatTextImp ( char * base_address, char * chat_text );
    static void ViewPostItem();
    static void ViewPostItemImp ( void * chat_data_pointer );
#if(MOVE_ITEM)
static void Equipments();
static void RemoveEquipment(void * item_data);
#endif
    int PostItemColor;

public:
    LinkedList<ItemPost> list_;
    unsigned long list_counter_;

    DWORD last_tickcount_post_;

    void ** current_item_post_;
    DWORD * last_tickcount_view_;
#if(MOVE_ITEM)
DWORD last_tickcount_moveitem_;
#endif

    bool draw_character_head_chat_text_;
    char * draw_character_head_chat_text_base_address_;

}; extern PostItem gPostItem;

Thanks
but my error become x2
70+ to 100+
[/quote]


DISCORD: valentino1515


Offline bimaloha #88 Posteado: June 01, 2020, 08:56:04 AM

  • 0 puntos por ventas
  • *
  • Rank: Sup. destacado
  • Posts: 117
  • Gracias recibida: 4338
  • vn
Client code for noob ones who using muemu source but don't know how to add:

RightClick.h


RightClick.cpp

Gracias:

GabrielDev, smil158, quanghuyit, marcelin, cheduong, away337159, Eureka26, hanzel, TioMostaza, networks1, Watuyusei, Tomsky75, anderson2702, dieguitox, enriquexp, hola23, maskarra2, gabriel123, VikingoMU, GX_KYO, frajola, jonhz, 2str0kE, momo752, hieuvt, tienduy1992, hald22, giveusatan, nhatphai21996vn, esteban, e911217, Rouge, dakosmu, josue3pc, usersa, sagat202, bustafa, sanlp, phantomtb, hardcoremd, narinrak1, concac123, dasgrid, vipgale01, TryMenow, vitor, xianwen, nofeara, Specifier, jangaka1, cantante007, smallz170, liron003, h3yShOk, Robins, mantios, animator, markxj6, Lazarocp2020, powerpatic, linkvas12, tcbaoanh, barteo, Darki12345, boylasd, xtestx, dahouzi, beibei, leanh, Iямαηɗαɗ ☠, tieugiao, laulinh2, ledemkhoc, kennypc, lunaticodeveloper, 452745444, ldads, BladeKnight109, VERNERON, InFamous, muancestral, rekis, Niusuce, taanzaza, hinam.97, gredy, dark, vcore30, juniorcgr, zlethanhlong, z348870672, thanhdopc93, claudioc1, PsychoJr, ailsoncost, showmax, mattihi1mi, tiendoanit, MsotoC, gauyeutho, Thor Host, Facundo Jara, deathsquad, Djassar, melo920, KhongGianOL, agitor, hackvcoinpro1, victormvw, OneMU, Cartman, yhoon, LTP Team, kind, ohmagic, joselagos, kaisudo, dhaomao, Chupulum, nnDoug, DangeR, takumi12, thanhbinhqht, EaglE, Jean LR, TzCr4ck, Smith200, 6atters, spartacus, comelon666, mavine, 423646802, Aguila, hiep, dizzys, LeeHenry, samsunggon, Odisk, Higgs, manfromvn, Llalex, NguyenAnh, iggfree, quyanxu, dark32, thunwa1, elmaxis1, Genilson23, knight.php, fer1992, Pyke, AZURE, dsw_pool, kaiocnx, z3r0x, JavixFer, beecubin, npt.formu, c4nhsatcodong, Pasa_Pal_Fondo, fabianm, gacon201294, cri0, SaintZeus, ConejoMalo, andreyzz, djagripnos, artem, wolffrox, jhonhy, wnz5678, axeman192, chuckhai, Kosh

Offline chuckhai #89 Posteado: June 01, 2020, 09:57:52 AM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 152
  • Gracias recibida: 1143
  • vn
Client code for noob ones who using muemu source but don't know how to add:

RightClick.h
RightClick.cpp
works well tk


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
19 Replies
5307 Views
Last post April 08, 2021, 01:45:40 AM
by xtestx
10 Replies
3239 Views
Last post December 23, 2020, 11:11:55 PM
by Ketamine
0 Replies
1050 Views
Last post October 18, 2022, 10:41:43 AM
by ziza
1 Replies
1486 Views
Last post February 02, 2023, 01:32:54 AM
by takumi12
4 Replies
1267 Views
Last post June 27, 2023, 11:01:18 PM
by crazyyXXTT