Affichage des articles dont le libellé est names. Afficher tous les articles
Affichage des articles dont le libellé est names. Afficher tous les articles

mercredi 26 mars 2014

[Coding] Weapon Names topic




I wasn't descriptive enough in my last thread so I thought I might as well make it 100% c&p.

Now I don't like using assembly, but in this case I had to, because otherwise it crashes. :(


PHP Code:







g_dwWeaponIdToString Tools.FindPattern((DWORD)GetModuleHandle("client.dll"), 0x726000, (BYTE*)"\x55\x8B\xEC\x8B\x4D\x08\x33\xC0\xEB\x06\x8D\x9B""xxxxxxxxxxxx"); 










PHP Code:







__inline const charGetWeaponName(int weaponID)

{

    const 
charwpnName 0;

    
_asm

    
{

        
PUSH weaponID

        CALL g_dwWeaponIdToString

        ADD ESP
4

        MOV wpnName
EAX

    
}

    return 
wpnName;











usage:


Code:


C_BaseCombatWeapon *pWeapon = GetWeapon(pPlayer);
if (!pWeapon)
    return;

int weaponId = GetWeaponId(pWeapon);
const char* name = GetWeaponName(weaponId);







vendredi 24 janvier 2014

Default Messaging App loses Contact Names topic




been awhile since I got on XDA

but I've been having issues with my Note 3
the Default Messaging App loses my contact names (it becomes all numbers) randomly

my Contacts are still intact if I look at the Contacts App
they are okay in my IM apps such as WhatsApp as well

the only way I can resolve this is to export my contacts, delete contacts storage and then import the contacts back again.

I'm on Note 3 MJ7 Rooted