Page 1 of 3 123 LastLast
Results 1 to 15 of 39
  1. #1
    MikeRohsoft's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Los Santos
    Posts
    797
    Reputation
    593
    Thanks
    26,312

    Mikes Native CrossMap Patcher

    The Update will come tomorrow and much Scriptkiddy Modder will not know how to update because the SudoMod Base they used is a private Project now, so no support anymore.
    Some People might be Happy about this, but here comes the dog in the manger.

    How it works:
    The Key is only the CrossMapping.cpp not natives.h, in the CrossMapping.cpp you find some Array like this:
    Code:
    uint64_t __HASHMAPDATA[] = {
               0x0000000000000 ,  0x0000000000000
               ....
    };
    The left key represents the Initial Hash of the Native which it had on release State (which will used in the natives.h) on the right Side is the actual Hash, which will be the Native which we really will invoke by the CrossMapping.

    What you need for this is Alexander Blade's Pastebin of the GTA V Native hash translation table, which he will release 1-2 Days after an Update.
    But, the Tables have a Problem, because it translate the Native of the Last Update to the new Update, but our Map is like i said, Initial Hash to new Update Hash, so, i've written a little Tool which can Patch your old CrossMapping.cpp of the last update to the current one.

    This Tool will may work with every Update.

    So what you have to do now is:
    Compile this Tool as Console Application,
    copy your CrossMapping.cpp in the same directory like the compiled Binary is, create a File with name "crossmap.txt" (or change the Variable) and paste the PasteBin Output of Alex B in there and run the Tool.
    It will create a CrossMapping_new.cpp

    In Attachment are example Files included from b791 to b877 (1.36 to 1.37)

    Source:
    Code:
    /* Native CrossMap Patcher by Mike Rohsoft */
    
    #include "stdafx.h"
    #include <string>
    #include <algorithm>
    #include <vector>
    #include <sstream>
    #include <fstream>
    #include <iostream>
    #include <map>
    #include <regex>
    #include <inttypes.h>
    #include <Windows.h>
    using namespace std;
    
    enum FILEMODE
    {
    	NEW_CROSS_MAP = 0,
    	CPP_CROSS_MAP,
    	//NATIVES_H
    };
    
    static regex new_cross_map_regexp = regex("\\{\\s*0x0*([1-9a-fA-F][0-9a-fA-F]+)\\s*,\\s*0x0*([1-9a-fA-F][0-9a-fA-F]+)\\s*\\},");
    static regex cpp_cross_map_regexp = regex("\\s*0x0*([1-9a-fA-F][0-9a-fA-F]+)\\s*,\\s*0x0*([1-9a-fA-F][0-9a-fA-F]+)\\s*,");
    //static regex natives_h_map_regexp = regex("^\\s*static\\s*[a-zA-Z0-9\\*]+\\s*([A-Z0-9_-x]+)\\(.*?(0x[0-9a-fA-F]+).*$");
    static vector<string> crossMap;
    map<string, string> newkeys;
    map<string, string> getMap(FILEMODE mode, string fileName)
    {
    	map<string, string> ret;
    	regex e;
    	switch (mode)
    	{
    	case NEW_CROSS_MAP: e = new_cross_map_regexp; break;
    	case CPP_CROSS_MAP: e = cpp_cross_map_regexp; break;
    	//case NATIVES_H: e = natives_h_map_regexp; break;
    	default: cout << "Error: Unknown Filemode" << endl; exit(1337);
    	}	
    	ifstream infile(fileName);
    	if (infile.good())
    	{
    		string line;
    		string key = "0x";
    		string value = "0x";
    		cmatch cm;
    		int i = 0;
    		while (getline(infile, line))
    		{
    			if (mode == CPP_CROSS_MAP)
    				crossMap.push_back(line);
    			if (regex_match(&line[0], cm, e, regex_constants::match_default))
    			{
    				if (mode == NEW_CROSS_MAP)
    				{
    					key += cm[1];
    					value += cm[2];
    				}
    				else
    				{
    					key += cm[2];
    					value += cm[1];
    				}
    				transform(key.begin(), key.end(), key.begin(), ::tolower);
    				transform(value.begin(), value.end(), value.begin(), ::tolower);
    				if (ret.find(key) != ret.end())
    				{
    					newkeys[value] = value;
    				}
    				else
    					ret[key] = value;
    				key = "0x";
    				value = "0x";
    				i++;
    			}
    		}
    		printf("found %d pairs\n", i);
    		infile.close();
    	}
    	else //if (mode != NATIVES_H)
    	{
    		cout << "Error: Map File not found: " << fileName << endl;
    		exit(1337);
    	}
    	return ret;
    }
    
    string getCurrentPath() 
    {
    	char buffer[MAX_PATH];
    	GetModuleFileNameA(NULL, &buffer[0], MAX_PATH);
    	string b = string(&buffer[0]);
    	string::size_type pos = b.find_last_of("\\/");
    	return b.substr(0, pos) + "\\";
    }
    
    const string ALEXANDER_BLADES_PASTBIN_POST_FILE = "crossmap.txt";
    const string CODE_CROSSMAP = "CrossMapping.cpp";
    
    int main()
    {
    	cout << "open file: " << "crossmap.txt" << endl;
    	map<string, string> updateMap = getMap(NEW_CROSS_MAP, getCurrentPath() + ALEXANDER_BLADES_PASTBIN_POST_FILE);
    	cout << "open file: " << "CrossMapping.cpp" << endl;
    	map<string, string> currentMap = getMap(CPP_CROSS_MAP, getCurrentPath() + CODE_CROSSMAP);
    	//map<string, string> nativeMap = getMap(NATIVES_H, getCurrentPath() + "natives.h");	
    	map<string, string> newMap;
    	int patched = 0;
    	cout << "Comparing ... ";
    	for (map<string, string>::iterator it = updateMap.begin(); it != updateMap.end(); ++it)
    	{
    		string key = it->first;
    		string value = it->second;
    		if (currentMap.find(key) != currentMap.end())
    		{
    			patched++;
    			string basekey = currentMap[key];
    			newMap[basekey] = value;
    		}
    	}
    	cout << patched << " Natives can be patched..." << endl;
    	cmatch cm;
    	ofstream out("CrossMapping_new.cpp");
    	patched = 0;
    	for (int i = 0, l = crossMap.size(); i < l; i++)
    	{
    		if (regex_match(&crossMap[i][0], cm, cpp_cross_map_regexp, regex_constants::match_default))
    		{
    			string key = "0x";
    			key += cm[1];
    			string found = cm[2];
    			size_t pos = crossMap[i].find(key) + key.size();
    			string value = newMap[key];
    			if (value.size() > 0)
    			{
    				crossMap[i].replace(pos + 2, found.size() + 2, value);
    				patched++;
    			}
    		}
    		out << crossMap[i] << endl;
    	}
    	out.close();
    	printf("Done ... patched %d Natives\n", patched);
    	string bla;
    	getline(cin, bla);
        return 0;
    }
    Only Text Files, so no Virus Scan
    <b>Downloadable Files</b> Downloadable Files

  2. The Following 61 Users Say Thank You to MikeRohsoft For This Useful Post:

    23333323333 (03-17-2017),3445583864 (04-21-2017),AceOfSpadess (09-24-2019),ALPER8 (03-28-2018),astron51 (03-14-2017),asus.astrix.gamers.pro (01-01-2018),BIG BIG (03-19-2017),BoBrasileiro (03-14-2017),briantt58 (03-14-2017),btizx002 (03-14-2017),captian7 (12-13-2018),cheeempz (03-24-2017),ClaushTheGreat (05-26-2018),copycatditto (05-01-2017),damiansharma (11-24-2017),DarwinGR (10-25-2017),depasso (03-15-2017),DesSoy (03-14-2017),dingounchained (03-13-2017),eljackson14 (12-12-2018),ER%YHGEAYHEAYHeyh (06-25-2017),Finocchio1 (12-31-2020),Gianlucio (05-04-2020),giner2 (07-22-2017),gtastoner (09-24-2020),Hannes1203 (01-02-2020),Hiruko Fumiko (06-13-2017),iL33T (03-14-2017),INER9918 (06-03-2017),InteradeG (03-18-2017),iogxssd (06-08-2020),jawzainw0123 (03-13-2017),johndoe1234567 (06-19-2017),jongta5 (05-05-2017),juanmatv (03-14-2017),KILLAMODZ90 (09-10-2018),kn00x (12-09-2017),kontpfc (04-24-2018),Koroudo (08-13-2019),LaropaHD (07-24-2017),Leve70 (03-28-2017),lollo_long (06-14-2019),MoDz4Gaming (07-09-2018),optimall (03-17-2017),OPVL (01-06-2018),outlaw88 (10-01-2022),Owzmo (03-13-2017),OynarsanOyna (03-16-2017),PinkAppleX (10-10-2018),Roppolo (07-02-2017),rtfkill (03-18-2017),Schrubbdiwupp (05-17-2017),swilswag (05-01-2017),swwrgaersghaedrgedrgherdhg (05-01-2017),taotaoaitianji (03-17-2017),tomgape (03-19-2017),vapert (10-07-2017),Vitalitysz (11-05-2017),xiaowei5245 (12-09-2018),Z3r0rar (05-12-2018),_Potato_ (05-25-2018)

  3. #2
    Hugo Boss's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    28,752
    Reputation
    4790
    Thanks
    5,902
    My Mood
    Angelic
    //Approved, file appears safe, but has not been tested.

    Use at your own risk.

    https://virustotal.com/en/file/e9860...is/1489446277/
    https://virusscan.jotti.org/en-US/fi...job/7pfjeq66vs

     
    Super User since 08-29-2017
    Global Moderator from 10-02-2016 - 08-29-2017
    Premium Seller since 11-16-2016
    Moderator from 09-24-2015 - 01-09-2016
    Alliance of Valiant Arms Minion from 11-12-2015 - 01-09-2016
    Market place Minion from 09-24-2015 - 01-09-2016
    Crossfire Minion from 09-11-2015 - 01-09-2016

    Middleman from 07-07-2015 - 01-09-2016
    Market Place Minion from 03-03-2014 - 08-01-2014
    Middleman from 01-30-2014 - 08-01-2014
    Moderator from 03-29-2013 - 04-04-2013
    Market Place Minion from 03-07-2013 - 04-04-2013
    Premium Member since 01-25-2013
    Middleman from 12-04-2012 - 04-04-2013
    Registered since 10-9-2011

  4. #3
    dingounchained's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    The fact is that no one here knows what this means because this is mainly a skid forum. Either way this is a great release. Thank you

  5. #4
    jawzainw0123's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    4
    Thanks so much mike. I love u

  6. #5
    damiansharma's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Posts
    399
    Reputation
    10
    Thanks
    693
    My Mood
    Drunk
    Quote Originally Posted by jawzainw0123 View Post
    Thanks so much mike. I love u
    Me
    too i want to hump him tho

  7. #6
    astron51's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    Stuttgart, Germany
    Posts
    618
    Reputation
    57
    Thanks
    4,939
    My Mood
    Dead
    quite useful. thanks for the release really appreciate it

    Quote Originally Posted by Aula View Post
    FaQ2: Will my Main account will get ban?
    -Hell yeah . Who ask u to use this 3rd party program on ur main account ? Fcking Idiot .

    Get 100 Thanks - ✔
    Get 200 Thanks - ✔
    Get 300 Thanks - ✔
    Get 400 Thanks - ✔
    Get 500 Thanks - ✔
    Get 600 Thanks - ✔
    Get 700 Thanks - ✔
    Get 800 Thanks - ✔
    Get 900 Thanks - ✔
    Get 1000 Thanks - ✔
    Get 1500 Thanks - ✔
    Get 2000 Thanks - ✔
    Get 2500 Thanks - ✔
    Achievement Completed.

  8. #7
    wiro.sableng91's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    1
    My Mood
    Aggressive
    how use the script?
    i not understan
    please tell me

    - - - Updated - - -

    this work in update v1.38?

  9. #8
    CozmicDX's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Location
    Los Santos
    Posts
    203
    Reputation
    10
    Thanks
    6
    My Mood
    Blah
    All i'm reading is 'blah blah blah. blah blah, blah new crossmap blah blah.' @wiro.sableng91 of course you don't understand

  10. #9
    MikeRohsoft's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Los Santos
    Posts
    797
    Reputation
    593
    Thanks
    26,312
    its only important for other Developers and / or Scriptkiddys with own Mod Menus

  11. #10
    jawzainw0123's Avatar
    Join Date
    Sep 2014
    Gender
    male
    Posts
    28
    Reputation
    10
    Thanks
    4
    Mike how can i get native translation ? Where is alex will release it? Idk his pastebin user. Sry for my bad english skill.

  12. #11
    astron51's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    Stuttgart, Germany
    Posts
    618
    Reputation
    57
    Thanks
    4,939
    My Mood
    Dead
    Quote Originally Posted by jawzainw0123 View Post
    Mike how can i get native translation ? Where is alex will release it? Idk his pastebin user. Sry for my bad english skill.
    AB will release the new Translation Table at other Forum . search this on Google You might able to find it

    [V] Script/Native Documentation and Research

    Quote Originally Posted by Aula View Post
    FaQ2: Will my Main account will get ban?
    -Hell yeah . Who ask u to use this 3rd party program on ur main account ? Fcking Idiot .

    Get 100 Thanks - ✔
    Get 200 Thanks - ✔
    Get 300 Thanks - ✔
    Get 400 Thanks - ✔
    Get 500 Thanks - ✔
    Get 600 Thanks - ✔
    Get 700 Thanks - ✔
    Get 800 Thanks - ✔
    Get 900 Thanks - ✔
    Get 1000 Thanks - ✔
    Get 1500 Thanks - ✔
    Get 2000 Thanks - ✔
    Get 2500 Thanks - ✔
    Achievement Completed.

  13. #12
    MikeRohsoft's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Los Santos
    Posts
    797
    Reputation
    593
    Thanks
    26,312

  14. #13
    No_Pro_DK1's Avatar
    Join Date
    Jul 2016
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    Money machine

    i love the menu But if there is a chance can u then make a money drop thing?


    Best Modmenu there is undetekted ))))

  15. #14
    Rin's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    The Fifth Holy Grail War
    Posts
    224
    Reputation
    10
    Thanks
    19
    My Mood
    Psychedelic
    Gonna take a look when the weekend comes. Nice release.

  16. #15
    CozmicDX's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Location
    Los Santos
    Posts
    203
    Reputation
    10
    Thanks
    6
    My Mood
    Blah
    Quote Originally Posted by No_Pro_DK1 View Post
    i love the menu But if there is a chance can u then make a money drop thing?


    Best Modmenu there is undetekted ))))
    It's dangerous

Page 1 of 3 123 LastLast

Similar Threads

  1. Mike is a homo
    By Dave84311 in forum General
    Replies: 29
    Last Post: 08-08-2007, 03:03 PM
  2. [rel] pb killer/patcher
    By ~claw~ in forum WarRock - International Hacks
    Replies: 28
    Last Post: 06-25-2007, 05:29 AM
  3. pb patcher
    By ~claw~ in forum WarRock - International Hacks
    Replies: 0
    Last Post: 06-24-2007, 03:32 AM
  4. Mike is awesome!
    By Dave84311 in forum General
    Replies: 0
    Last Post: 05-05-2006, 09:32 PM