kssiobr (11-14-2012),Otaviomorais (11-15-2012),pDevice (11-15-2012),The Decoder (02-10-2013)
Well, I am awfully bored now so I decided to release ESP Rank, I slightly modified it for efficiency. It's noob proofed as well and will be an easy fix for some. It is also missing a function in which it will assign the correct rank, also not as hard to fix. Have fun!
- Ranks -
- Get Rank from Player -Code:RankList_t dRankList[56] = { {"Trainee", "TRN", 0}, {"Recruit", "RCT", 550}, {"Private", "PVT", 1200}, {"Pvt. 1st Class", "PFC", 2500}, {"Corporal", "CPL", 5000}, {"Sergeant", "SGT", 8700}, {"Staff Sgt. I", "SSG1", 15000}, {"Staff Sgt. II", "SSG2", 22000}, {"Staff Sgt. III", "SSG3", 30500}, {"Sgt. 1st Class I", "SFC1", 40500}, {"Sgt. 1st Class II", "SFC2", 52000}, {"Sgt. 1st Class III", "SFC3", 65000}, {"Master Sgt. I", "MSG1", 81000}, {"Master Sgt. II", "MSG2", 99000}, {"Master Sgt. III", "MSG3", 119000}, {"Master Sgt. IV", "MSG4", 141000}, {"Command Sgt. Major I", "CSM1", 166000}, {"Command Sgt. Major II", "CSM2", 194000}, {"Command Sgt. Major III", "CSM3", 225000}, {"Command Sgt. Major IV", "CSM4", 259000}, {"Command Sgt. Major V", "CSM5", 296000}, {"2nd Lieutenant I", "2LT1", 336000}, {"2nd Lieutenant II", "2LT2", 379000}, {"2nd Lieutenant III", "2LT3", 425000}, {"2nd Lieutenant IV", "2LT4", 474000}, {"2nd Lieutenant V", "2LT5", 526000}, {"1st Lieutenant I", "1LT1", 580000}, {"1st Lieutenant II", "1LT2", 638000}, {"1st Lieutenant III", "1LT3", 699000}, {"1st Lieutenant IV", "1LT4", 763000}, {"1st Lieutenant V", "1LT5", 830000}, {"Captain I", "CPT1", 900000}, {"Captain II", "CPT2", 983000}, {"Captain III", "CPT3", 1074000}, {"Captain IV", "CPT4", 1173000}, {"Captain V", "CPT5", 1280000}, {"Major I", "MAJ1", 1400000}, {"Major II", "MAJ2", 1533000}, {"Major III", "MAJ3", 1679000}, {"Major IV", "MAJ4", 1838000}, {"Major V", "MAJ5", 2010000}, {"Lt. Colonel I", "LTC1", 2200000}, {"Lt. Colonel II", "LTC2", 2408000}, {"Lt. Colonel III", "LTC3", 2634000}, {"Lt. Colonel IV", "LTC4", 2878000}, {"Lt. Colonel V", "LTC5", 3140000}, {"Colonel I", "COL1", 3420000}, {"Colonel II", "COL2", 3718000}, {"Colonel III", "COL3", 4034000}, {"Colonel IV", "COL4", 4308000}, {"Colonel V", "COL5", 4720000}, {"Brigadier General", "BG", 5100000}, {"Major General", "MG", 5500000}, {"Lieutenant General", "LTG", 6000000}, {"General", "GEN", 6800000}, {"General of the Army", "GOA", 8000000} };
- Calling the Function -Code:struct RankList_t { char LongName[30]; char ShortName[5]; DWORD dwMinEXP; }; char *cTools::GetRankNameByIndex( int index, bool longname ) { if( index > 55 ) return "Unknown LVL"; return ( longname ) ? dRankList[ index ].LongName : dRankList[ index ].ShortName; }
Credits:Code:char szRank[256]; if(Variable.ESPRank) { sprintf(Variable.szRank, "Rank : [%s]", Main->Tools->GetRankNameByIndex(pPlayer->index, false)); Main->Menu->DrawText(pDevice, Position.x, Position.y + 25, dwCol, Variable.szRank); }
USSR(me)
disav0w_
Gellin
Last edited by arun823; 11-10-2012 at 11:20 AM.
Reversing is the only way to move forward.
kssiobr (11-14-2012),Otaviomorais (11-15-2012),pDevice (11-15-2012),The Decoder (02-10-2013)
Dun forget to credit donoob/disav0w_ also for diss useless shits of ESP which is actually gud luking in riptide
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
Currently coding applications in Java and C++.
"It is change, continuing change, inevitable change, that is the dominant factor in society today. No sensible decision can be made any longer without taking into account not only the world as it is, but the world as it will be." -Isaac Asimov
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
Missed that part
Code:void oEsp::EspRank ( LPDIRECT3DDEVICE9 pDevice ) { GetPlayerByIndex2 = (lpGetPlayerByIndex2)ClientInfoMgr; GetPlayerByIndex = (lpGetPlayerByIndex)PlayerByIndex; DWORD ulThis = *(DWORD *)ClientInfoMgr; GetLocalPlayer = (lpGetLocalPlayer)LocalPlayer; for( int i = 0; i < 55; i++ ) { cClientInfo *ClientInfo = GetPlayerByIndex2(ulThis, i, NULL); cPlayerInfo *pPlayer = GetPlayerByIndex(ulThis, i, 0); cPlayerInfo *pLocal = GetLocalPlayer(ulThis); D3DXVECTOR3 Proj; CHAR Rank[80]; if(pPlayer != 0 && pPlayer->obj != 0 && pPlayer->IsDead == 0) { if(WorldToScreen(pDevice,pPlayer,&Proj) ) { sprintf(Rank,"%s", ClientInfo->_pRank); this->GetRankNameByIndex(i, Rank); d3d->WriteTextCenter(pFont, Proj.x, Proj.y, dwTeamColor, (char*)Rank); } } } }
Claro[...]
WFBR:
PBBR:
CABR:
@Shadow is a beast, @Flengo is a beast.
YOU guys together, sound like 2 teenage girls/
your both great, dont get into kiddie fights
just because your two visual and coding styles differ
@arn823 nice work dude.
[MPGH]Flengo (11-10-2012),Shadow` (11-10-2012)
Stop making this a fucking rage thread, take it to the pms, you guys are getting off topic -_-
@Shadow` @APEsmoker
/Request delete rage posts @DJ Allen @Apeiron
---------- Post added at 01:12 PM ---------- Previous post was at 01:11 PM ----------
Nah, I didn't forget it, didn't choose to add it in since that stuff is pretty much common sense when drawing text to screen for ESP.
Reversing is the only way to move forward.
You forgot the struct:
Also, you are going to want to free szRank at the end of each frame or you will be leaking 256 bytes of memory every frame (never a good idea).Code:struct RankList_t { char LongName[30]; char ShortName[5]; DWORD dwMinEXP; };
May I ask, what exact optimization did you do, I don't see any?Code:delete[] szRank;
Nice job though, although this has already been released.
Oh no! Vortex is gay!
arun823 (11-14-2012),[MPGH]Flengo (11-10-2012)
Reversing is the only way to move forward.
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
Stop trying to start a flame war.
Last edited by YellowFever; 11-10-2012 at 07:08 PM.
Yes the base of the vip Gellin has but few knew that removing ...
Bela contribution ...
It was an easy way to understand the ESP