useful strings

Posts 115 of 20 · Page 1 of 2
useful strings
These will only be useful to those with the classes, These were easy to find, i'm sure they aren't new, but someone might find em useful somewhere

Code:
CClientWeaponMgr::CanChangeToWeapon if (WMGR_INVALID_ID == nWeaponId) return false
CClientWeaponMgr::CanChangeToWeapon if (CWM_NO_WEAPON == iWeapon) return false
CClientWeaponMgr::CanChangeToWeapon if (!g_pPlayerStats->HaveWeapon(nWeaponId)) return false
CClientWeaponMgr::CanChangeToWeapon if (pWeapon->bNoSelect) return false
CClientWeaponMgr::CanChangeToWeapon if (g_pPlayerMgr->IsPlayerDead() || g_pPlayerMgr->IsSpectatorMode()) return false
seungho == CClientWeaponMgr::CanChangeToWeapon if (WMGR_INVALID_ID == nWeaponId) return false
=============   [ERROR]   ===================CClientWeaponMgr::ForceChangeWeapon() nWeaponIndex 
CClientWeaponMgr::ChangeWeapon() MISSION_DEADCAM_WEAPON <= nWeaponIndex : %d

if(!g_pGameClientShell || !g_pWeaponMgr->IsValidWeaponId(nWeaponId))
CCBAPlayerStats::UpdateAmmo if(!g_pLTClient || !g_pWeaponMgr)
CCBAPlayerStats::GetAmmoCount nAmmoIndex :  %d, m_pnAmmo : %p, IsValidAmmoId : %d
CCBAGameClientShell::Instance().GetLobbyServer().EquipWeaponReq(%d,%d,(EQUIP_TYPE)%d);
CClientWeapon::HandleVectorImpact() fDistChar : %f, fHitDistChar : %f
Perturb: C[%.2f] - Min[%d] Max[%d] Lerp[%.2f]
have fun, if they come into use, let me know
Yea, I've seen these before. They are just strings, they have no references I don't think. I'll keep this open to see what everyone else has to say
Quote Originally Posted by J View Post
Yea, I've seen these before. They are just strings, they have no references I don't think. I'll keep this open to see what everyone else has to say
they all have references and have proved useful in my reversing. durrrr
Quote Originally Posted by ISmokeWeedAmICoolNow View Post
they all have references and have proved useful in my reversing. durrrr
Your so cool
thanks dude! i was thinking with classes, you could use those pretty easily...i mean really you could just figure out a WeaponID, this would be really useful
Code:
!g_pPlayerStats->HaveWeapon(nWeaponId)
Force nWeaponId to some number and it might have a weapon spawn like effect or somethin
Quote Originally Posted by supercarz1991 View Post
thanks dude! i was thinking with classes, you could use those pretty easily...i mean really you could just figure out a WeaponID, this would be really useful
Code:
!g_pPlayerStats->HaveWeapon(nWeaponId)
Force nWeaponId to some number and it might have a weapon spawn like effect or somethin
Very impressed with your imagination. But as you can see by the "!" operator at the beginning of the line, this function, "g_pPlayerStats->HaveWeapon(nWeaponId)" has a return type of bool, meaning they are using it to this effect:

if player has the weapon with an id of nWeaponId, return true, else return false.

This function does nothing but tell whether or not the player has a certain weapon either equiped or in their pack. Can't tell from this.
Quote Originally Posted by J View Post


Very impressed with your imagination. But as you can see by the "!" operator at the beginning of the line, this function, "g_pPlayerStats->HaveWeapon(nWeaponId)" has a return type of bool, meaning they are using it to this effect:

if player has the weapon with an id of nWeaponId, return true, else return false.

This function does nothing but tell whether or not the player has a certain weapon either equiped or in their pack. Can't tell from this.
So, edit the code to always return the bool as true. I know that's not the easiest but it should be possible.
Quote Originally Posted by LilGho$t View Post
So, edit the code to always return the bool as true. I know that's not the easiest but it should be possible.
Bro, all it does is check a variable and return the corresponding value. Making it true would do nothing for you...
Thanks, Offtopic lol @ jeff's siggie
Thanks, wanna post some weapon ID's? xD
Quote Originally Posted by Flengo View Post
Thanks, wanna post some weapon ID's? xD
oh the shit i could post LOL its scarry
Quote Originally Posted by supercarz1991 View Post
oh the shit i could post LOL its scarry
Hmmm...I'm curious and wondering now.

Post it

And add me on MSN?
hahaha i'll do it slowly, file by file XD
The variables are bad.
Posts 115 of 20 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?