Jump to content

drigoguille

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by drigoguille

  1. Hello! this warning appeared on the console like this even using the old_clearunit version In file included from ../common/cbasetypes.hpp:338:0, from atcommand.hpp:7, from atcommand.cpp:4: ../custom/atcommand.inc: In function ‘int atcommand_hidepet_sub(block_list*, __va_list_tag*)’: ../custom/atcommand.inc:449:18: warning: ‘bool’ is promoted to ‘int’ when passed through ‘...’ if (!va_arg(ap, bool) && sd->pd != nullptr && sd->pd->bl.id == bl->id) { ^ ../custom/atcommand.inc:449:18: note: (so you should pass ‘int’ not ‘bool’ to ‘va_arg’) ../custom/atcommand.inc:449:18: note: if this code is reached, the program will abort ../custom/atcommand.inc:450:17: warning: ‘uint8 {aka unsigned char}’ is promoted to ‘int’ when passed through ‘...’ if(va_arg(ap, uint8) == 2) ^ ../custom/atcommand.inc:450:17: note: if this code is reached, the program will abort @edit Solvet change bool and unit8 to int. "If this will break I don't know but it worked" + if (!va_arg(ap, bool) && sd->pd != nullptr && sd->pd->bl.id == bl->id) { + if(va_arg(ap, uint8) == 2) + clif_spawn(&sd->pd->bl, true); + return 0; + } + TO + if (!va_arg(ap, int) && sd->pd != nullptr && sd->pd->bl.id == bl->id) { + if(va_arg(ap, int) == 2) + clif_spawn(&sd->pd->bl, true); + return 0; + } +
  2. Hi! How bypass UAC ? I'm trying to use it on a computer with a domain but it keeps asking for the admin password every time it opens.
  3. Any news for this patcher? Do not work download files plist.plt
×
×
  • Create New...