You are viewing our Forum Archives. To view or take place in current topics click here.
XNotify for 16747?
Posted:

XNotify for 16747?Posted:

-Revengeance-
  • Resident Elite
Status: Offline
Joined: Feb 21, 201410Year Member
Posts: 252
Reputation Power: 9
Status: Offline
Joined: Feb 21, 201410Year Member
Posts: 252
Reputation Power: 9
Does anyone have a working script for XNotify?
#2. Posted:
-Acme-
  • New Member
Status: Offline
Joined: Apr 14, 201410Year Member
Posts: 38
Reputation Power: 1
Status: Offline
Joined: Apr 14, 201410Year Member
Posts: 38
Reputation Power: 1
Eclipse-Booter wrote Does anyone have a working script for XNotify?

It's the same as it was before..
#3. Posted:
-Revengeance-
  • Resident Elite
Status: Offline
Joined: Feb 21, 201410Year Member
Posts: 252
Reputation Power: 9
Status: Offline
Joined: Feb 21, 201410Year Member
Posts: 252
Reputation Power: 9
-Acme- wrote
Eclipse-Booter wrote Does anyone have a working script for XNotify?

It's the same as it was before..
Yeah, I know. It's not working though.
#4. Posted:
ip
  • Gold Gifter
Status: Offline
Joined: Dec 30, 201211Year Member
Posts: 3,778
Reputation Power: 3016
Status: Offline
Joined: Dec 30, 201211Year Member
Posts: 3,778
Reputation Power: 3016
How are you doing it then? Also, is it c# or c++?
#5. Posted:
-Revengeance-
  • Resident Elite
Status: Offline
Joined: Feb 21, 201410Year Member
Posts: 252
Reputation Power: 9
Status: Offline
Joined: Feb 21, 201410Year Member
Posts: 252
Reputation Power: 9
Liability wrote How are you doing it then? Also, is it c# or c++?
I'm doing it in c++.
typedef void (*XNotifyQueueUI)(u64 stringId, u64 playerIndex, u64 r5, WCHAR* displayText, u64 r7);

void Popup(LPCWSTR Message)
{
  XNotifyQueueUI xNotifyQueueUI = (XNotifyQueueUI)resolveFunct("xam.xex", 656);
  WCHAR buffer[0x256];
  swprintf(buffer, Message);
  xNotifyQueueUI(0x22, 0x0, 2, buffer, 0);
}
//Use this to call it
Popup(L"Message Here");
#6. Posted:
chrispro1994
  • Powerhouse
Status: Offline
Joined: Jan 03, 201113Year Member
Posts: 408
Reputation Power: 17
Status: Offline
Joined: Jan 03, 201113Year Member
Posts: 408
Reputation Power: 17

typedef void (*XNotifyQueueUI)(u64 stringId, u64 playerIndex, u64 r5, WCHAR* displayText, u64 r7);

UINT32 resolveFunct(char* modname, UINT32 ord)
{
   UINT32 ptr32 = 0, ret = 0, ptr2 = 0;
   ret = XexGetModuleHandle(modname, (PHANDLE)&ptr32);
   if(ret == 0)
   {
      ret = XexGetProcedureAddress((HANDLE)ptr32, ord, &ptr2);
      if(ptr2 != 0)
         return(ptr2);
   }
   return(0);
}

void main()
{
     XNotifyQueueUI xNotifyQueueUI = (XNotifyQueueUI)resolveFunct("xam.xex", 656);
     xNotifyQueueUI(0x22, 0x0, 2, L"Text goes here", 0);
}
#7. Posted:
-Revengeance-
  • Resident Elite
Status: Offline
Joined: Feb 21, 201410Year Member
Posts: 252
Reputation Power: 9
Status: Offline
Joined: Feb 21, 201410Year Member
Posts: 252
Reputation Power: 9
chrispro1994 wrote

typedef void (*XNotifyQueueUI)(u64 stringId, u64 playerIndex, u64 r5, WCHAR* displayText, u64 r7);

UINT32 resolveFunct(char* modname, UINT32 ord)
{
   UINT32 ptr32 = 0, ret = 0, ptr2 = 0;
   ret = XexGetModuleHandle(modname, (PHANDLE)&ptr32);
   if(ret == 0)
   {
      ret = XexGetProcedureAddress((HANDLE)ptr32, ord, &ptr2);
      if(ptr2 != 0)
         return(ptr2);
   }
   return(0);
}

void main()
{
     XNotifyQueueUI xNotifyQueueUI = (XNotifyQueueUI)resolveFunct("xam.xex", 656);
     xNotifyQueueUI(0x22, 0x0, 2, L"Text goes here", 0);
}
Does this resolveFunction work?
UINT32 resolveFunct(char* modname, UINT32 ord)
{
        UINT32 ptr32 = 0, ret = 0, ptr2 = 0;
        ret = XexGetModuleHandle(modname, ptr32);
        if(ret == 0){
                ret = XexGetProcedureAddress(ptr32, ord, &ptr2);
                if(ptr2 != 0)
                        return(ptr2);
        }
        return(0);
}
#8. Posted:
TeamTmZ
  • New Member
Status: Offline
Joined: Apr 19, 201410Year Member
Posts: 9
Reputation Power: 0
Status: Offline
Joined: Apr 19, 201410Year Member
Posts: 9
Reputation Power: 0
You're doing something wrong then because it's the same as it was before.
#9. Posted:
chrispro1994
  • Powerhouse
Status: Offline
Joined: Jan 03, 201113Year Member
Posts: 408
Reputation Power: 17
Status: Offline
Joined: Jan 03, 201113Year Member
Posts: 408
Reputation Power: 17
Eclipse-Booter wrote
chrispro1994 wrote

typedef void (*XNotifyQueueUI)(u64 stringId, u64 playerIndex, u64 r5, WCHAR* displayText, u64 r7);

UINT32 resolveFunct(char* modname, UINT32 ord)
{
   UINT32 ptr32 = 0, ret = 0, ptr2 = 0;
   ret = XexGetModuleHandle(modname, (PHANDLE)&ptr32);
   if(ret == 0)
   {
      ret = XexGetProcedureAddress((HANDLE)ptr32, ord, &ptr2);
      if(ptr2 != 0)
         return(ptr2);
   }
   return(0);
}

void main()
{
     XNotifyQueueUI xNotifyQueueUI = (XNotifyQueueUI)resolveFunct("xam.xex", 656);
     xNotifyQueueUI(0x22, 0x0, 2, L"Text goes here", 0);
}
Does this resolveFunction work?
UINT32 resolveFunct(char* modname, UINT32 ord)
{
        UINT32 ptr32 = 0, ret = 0, ptr2 = 0;
        ret = XexGetModuleHandle(modname, ptr32);
        if(ret == 0){
                ret = XexGetProcedureAddress(ptr32, ord, &ptr2);
                if(ptr2 != 0)
                        return(ptr2);
        }
        return(0);
}

Yes it does I use it myself everyday lol
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.