(05-16-2020 - 01:08 AM)magiccarpet Wrote: After creating and testing this, i found all the hex for the stations change. Their is much better ways of doing this.
Makes this pretty useless to me..
*This was made to get the CURRENT playing radio station, i guess nobody was able to realize that on their own*
(07-05-2020 - 10:39 AM)Unbound Wrote:Not everyone Is as good as you at reversing dude.(05-16-2020 - 01:08 AM)magiccarpet Wrote: After creating and testing this, i found all the hex for the stations change. Their is much better ways of doing this.
Makes this pretty useless to me..
Code:DWORD CurrentStation = 0x83A2BB9C;
char* RadioStation;
void GetStation() {
if (CurrentStation == 0x00000000) { RadioStation = "None"; }
if (CurrentStation == 0xCCAF0D50) { RadioStation = "West Coast Classics"; }
if (CurrentStation == 0xCCAF1BB0) { RadioStation = "East Los FM"; }
if (CurrentStation == 0xCCAF2A10) { RadioStation = "Soulwax FM"; }
if (CurrentStation == 0xCCAF3870) { RadioStation = "Rebel Radio"; }
if (CurrentStation == 0xCCA8BD50) { RadioStation = "West Coast Talk Radio"; }
if (CurrentStation == 0xCCA8CBB0) { RadioStation = "Channel X"; }
if (CurrentStation == 0xCCA8DA10) { RadioStation = "Radio Los Santos"; }
if (CurrentStation == 0xCC988D40) { RadioStation = "None-Stop-Pop FM"; }
if (CurrentStation == 0xCCA8E870) { RadioStation = "Los Santos Rock Radio"; }
if (CurrentStation == 0xCC66AD30) { RadioStation = "Vinewood Boulevard Radio"; }
if (CurrentStation == 0xCC66BB90) { RadioStation = "Space 103.2"; }
if (CurrentStation == 0xCC989BA0) { RadioStation = "Radio Mirror Park"; }
if (CurrentStation == 0xCCF6B040) { RadioStation = "The Lab"; }
if (CurrentStation == 0xCC3D3390) { RadioStation = "The Lowdown 91.1"; }
if (CurrentStation == 0xCC3C7D60) { RadioStation = "Flylo FM"; }
if (CurrentStation == 0xCC3C8BC0) { RadioStation = "Worldwide FM"; }
if (CurrentStation == 0xCC3C9A20) { RadioStation = "Blue Ark"; }
}
*This was made to get the CURRENT playing radio station, i guess nobody was able to realize that on their own*
You're just comparing dynamic pointers in RAM, therefore this isn't correct. You could've at least gone into the struct and grabbed the name of the station, but why do you even need this when there's literally a native that grabs the name of the current station: GET_PLAYER_RADIO_STATION_NAME?
Quote:i guess nobody was able to realize that on their own
Pretty passive aggressive don't you think? It's also ironic considering that you didn't even reverse it correctly.
At least I was trying to do somthing in a unique way and not just copy shit over like everyone else in the scene.
(07-09-2020 - 07:39 PM)Unbound Wrote:thank you!(07-08-2020 - 11:22 PM)magiccarpet Wrote:I'm honestly not even that good. I was just being a ironically being a cunt with my reply considering we've had previous altercations. +Repped you, good leak considering you did it yourself.(07-05-2020 - 10:39 AM)Unbound Wrote:Not everyone Is as good as you at reversing dude.(05-16-2020 - 01:08 AM)magiccarpet Wrote: After creating and testing this, i found all the hex for the stations change. Their is much better ways of doing this.
Makes this pretty useless to me..
Code:DWORD CurrentStation = 0x83A2BB9C;
char* RadioStation;
void GetStation() {
if (CurrentStation == 0x00000000) { RadioStation = "None"; }
if (CurrentStation == 0xCCAF0D50) { RadioStation = "West Coast Classics"; }
if (CurrentStation == 0xCCAF1BB0) { RadioStation = "East Los FM"; }
if (CurrentStation == 0xCCAF2A10) { RadioStation = "Soulwax FM"; }
if (CurrentStation == 0xCCAF3870) { RadioStation = "Rebel Radio"; }
if (CurrentStation == 0xCCA8BD50) { RadioStation = "West Coast Talk Radio"; }
if (CurrentStation == 0xCCA8CBB0) { RadioStation = "Channel X"; }
if (CurrentStation == 0xCCA8DA10) { RadioStation = "Radio Los Santos"; }
if (CurrentStation == 0xCC988D40) { RadioStation = "None-Stop-Pop FM"; }
if (CurrentStation == 0xCCA8E870) { RadioStation = "Los Santos Rock Radio"; }
if (CurrentStation == 0xCC66AD30) { RadioStation = "Vinewood Boulevard Radio"; }
if (CurrentStation == 0xCC66BB90) { RadioStation = "Space 103.2"; }
if (CurrentStation == 0xCC989BA0) { RadioStation = "Radio Mirror Park"; }
if (CurrentStation == 0xCCF6B040) { RadioStation = "The Lab"; }
if (CurrentStation == 0xCC3D3390) { RadioStation = "The Lowdown 91.1"; }
if (CurrentStation == 0xCC3C7D60) { RadioStation = "Flylo FM"; }
if (CurrentStation == 0xCC3C8BC0) { RadioStation = "Worldwide FM"; }
if (CurrentStation == 0xCC3C9A20) { RadioStation = "Blue Ark"; }
}
*This was made to get the CURRENT playing radio station, i guess nobody was able to realize that on their own*
You're just comparing dynamic pointers in RAM, therefore this isn't correct. You could've at least gone into the struct and grabbed the name of the station, but why do you even need this when there's literally a native that grabs the name of the current station: GET_PLAYER_RADIO_STATION_NAME?
Quote:i guess nobody was able to realize that on their own
Pretty passive aggressive don't you think? It's also ironic considering that you didn't even reverse it correctly.
At least I was trying to do somthing in a unique way and not just copy shit over like everyone else in the scene.
Users browsing: 4 Guest(s)