Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 14:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



War Rock Cheat Programming Discussion

Discussion on War Rock Cheat Programming Discussion within the WarRock forum part of the Shooter category.

Reply
 
Old 08/12/2016, 14:10   #1066
 
elite*gold: 31
Join Date: Oct 2011
Posts: 2,274
Received Thanks: 2,029
Quote:
Originally Posted by Kazbah__ View Post
Was ist ?
__BuRn3R is offline  
Old 08/12/2016, 17:29   #1067

 
Futur94's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 263
Received Thanks: 177
Quote:
Originally Posted by Kazbah__ View Post
Quote:
Originally Posted by __BuRn3R View Post
Was ist ?
Quote:
Originally Posted by AmazingTurtle View Post
0xDEADBEEF
Ich denke deswegen.
Futur94 is offline  
Old 08/29/2016, 20:45   #1068
 
znoeen's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 58
Received Thanks: 33
Nexon updated warrock with a new launcher/login method.
With this function you can get the ticket needed to login to warrock server.

4352 3285198562 2 1 1 1 1 0 0 8dfaf410-8dk2-499e-8fjs-eddadb7b4536

Credits to Alliance for this webrequest method

Code:
public bool CreateNexonTicket()
{
    try
    {
        System.Net.CookieContainer webCookieContainer = new System.Net.CookieContainer();
        System.Net.HttpWebRequest webRequest = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create(new Uri("https://api.nexon.net/auth/login"));
        webRequest.CookieContainer = webCookieContainer;
        webRequest.Proxy = null;
        webRequest.Method = "POST";
        webRequest.UserAgent = "NexonLauncher node-webkit/0.14.6 (Windows NT 6.1; WOW64) WebKit/537.36 nexon_client";  
        webRequest.Accept = "application/json, text/javascript, */*; q=0.01"; 

        //Sending Request Data
        byte[] Request = Encoding.ASCII.GetBytes("{\"allow_unverified\":true,\"user_id\":\"" + User.Username + "\",\"user_pw\":\"" + User.Password + "\"}");
        Stream webStreamWriter = webRequest.GetRequestStream();
        webStreamWriter.Write(Request, 0, Request.Length);
        webStreamWriter.Close();

        //Receiving Response from server
        HttpWebResponse webResponse = (System.Net.HttpWebResponse)webRequest.GetResponse();
        System.IO.StreamReader webStreamReader = new System.IO.StreamReader(webResponse.GetResponseStream());
        string responseContent = webStreamReader.ReadToEnd();
        string Token = GetStringBetween(responseContent, "{\"token\":\"", "\",\"refresh_token\":");

        //New Post 
        webRequest = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create(new Uri("https://api.nexon.net/auth/ticket"));
        webRequest.CookieContainer = webCookieContainer;
        webRequest.Proxy = null;
        webRequest.Method = "POST";
        webRequest.UserAgent = "NexonLauncher.nxl";  
        webRequest.Accept = "application/json";
        Request = Encoding.ASCII.GetBytes("{\"access_token\": \"" + Token + "\", \"prod_id\": \"30500\"}");
        Stream webStreamWriter1 = webRequest.GetRequestStream();
        webStreamWriter1.Write(Request, 0, Request.Length);
        webStreamWriter1.Close();

        //Receiving Response from server
        HttpWebResponse webResponse1 = (System.Net.HttpWebResponse)webRequest.GetResponse();
        System.IO.StreamReader webStreamReader1 = new System.IO.StreamReader(webResponse1.GetResponseStream());
        responseContent = webStreamReader1.ReadToEnd();

        string Ticket = GetStringBetween(responseContent, "{\"ticket\":\"", "\"}");
        Form.Log("Nexon Ticket Received [" + Ticket + "]", this);
        User.Ticket = Ticket;
        return true;
    }
    catch (Exception exp)
    {
        Form.Log("Ticket Request Error: " + exp.ToString(), this);
        return false;
    }          
}
public string GetStringBetween(string source, string start, string end)
{
    int startIndex = source.IndexOf(start);
    if (startIndex != -1)
    {
        int endIndex = source.IndexOf(end, startIndex + 1);
        if (endIndex != -1)
        {
            return source.Substring(startIndex + start.Length, endIndex - startIndex - start.Length);
        }
    }
    return string.Empty;
}
znoeen is offline  
Thanks
1 User
Old 08/29/2016, 20:47   #1069
 
elite*gold: 0
Join Date: Aug 2016
Posts: 9
Received Thanks: 0
thanks Brother Great Work UP~UP
sokter1 is offline  
Old 08/29/2016, 23:22   #1070
 
Alliance™'s Avatar
 
elite*gold: 26
Join Date: Nov 2013
Posts: 410
Received Thanks: 246
Or with .NET Json library

Code:
public void GetNexonTicket()
        {
            string data = "{\"allow_unverified\":true,\"user_id\":\""+this.email+"\",\"user_pw\":\""+this.password+"\"}";
            CookieContainer cookie = new CookieContainer();
            HttpWebRequest webrequest = (HttpWebRequest)HttpWebRequest.Create(new Uri("https://api.nexon.net/auth/login"));
            webrequest.CookieContainer = cookie;
            webrequest.Method = "POST";
            webrequest.Host = "api.nexon.net";
            webrequest.KeepAlive = true;
            webrequest.ContentLength = data.Length;
            webrequest.Accept = "application/json, text/javascript, */*; q=0.01";
            webrequest.Headers["Origin"] = "chrome-extension://dobbaijafcbikgimjpakclacfgeagffm";
            webrequest.UserAgent = "NexonLauncher node-webkit/0.14.6 (Windows NT 6.1; WOW64) WebKit/537.36 nexon_client";
            webrequest.ContentType = "application/json";          
            webrequest.Proxy = null;

            StreamWriter write = new StreamWriter(webrequest.GetRequestStream());
            write.Write(data);
            write.Close();

            HttpWebResponse webresponse = (HttpWebResponse)webrequest.GetResponse();
            StreamReader read = new StreamReader(webresponse.GetResponseStream());
            var obj = JsonConvert.DeserializeObject<Dictionary<string, string>>(read.ReadToEnd());
            string access_token = obj["token"];
            webresponse.Close();
            read.Close();

            data = "{\"access_token\": \""+access_token+"\", \"prod_id\": \"30500\"}";
            HttpWebRequest webrequest2 = (HttpWebRequest)HttpWebRequest.Create(new Uri("https://api.nexon.net/auth/ticket"));
            webrequest2.CookieContainer = cookie;
            webrequest2.Method = "POST";
            webrequest2.Host = "api.nexon.net";
            webrequest2.KeepAlive = true;
            webrequest2.ContentLength = data.Length;
            webrequest2.UserAgent = "NexonLauncher.nxl-16.07.04-59-b2d85a2";  
            webrequest2.ContentType = "application/json";
            webrequest2.Proxy = null;

            write = new StreamWriter(webrequest2.GetRequestStream());
            write.Write(data);
            write.Close();

            webresponse = (HttpWebResponse)webrequest2.GetResponse();

            read = new StreamReader(webresponse.GetResponseStream());
            obj = JsonConvert.DeserializeObject<Dictionary<string, string>>(read.ReadToEnd());
            this.ticket = obj["ticket"];
            webresponse.Close();
            read.Close();
        }
Alliance™ is offline  
Thanks
1 User
Old 08/30/2016, 22:18   #1071
 
.BuBBLe.'s Avatar
 
elite*gold: 0
Join Date: Jul 2016
Posts: 38
Received Thanks: 14


XingCode Emulator
.BuBBLe. is offline  
Old 08/31/2016, 09:47   #1072
 
Alliance™'s Avatar
 
elite*gold: 26
Join Date: Nov 2013
Posts: 410
Received Thanks: 246
Quote:
Originally Posted by .BuBBLe. View Post


XingCode Emulator
First of all this emulator is not writed/coded by you but by Shadow,than you must write credits to him.
The source of emulator is public and anyway you dont know how it works.
The server client must stay on virtual machine and not in the same context.
Alliance™ is offline  
Old 08/31/2016, 15:32   #1073
 
.BuBBLe.'s Avatar
 
elite*gold: 0
Join Date: Jul 2016
Posts: 38
Received Thanks: 14
Quote:
Originally Posted by Alliance™ View Post
First of all this emulator is not writed/coded by you but by Shadow,than you must write credits to him.
The source of emulator is public and anyway you dont know how it works.
The server client must stay on virtual machine and not in the same context.
no its not the public one
Believe what you want to believe
I wrote this project for my private server, including the WR Packets.
Btw. it dont has to stay anywhere it works perfectly

€dit:
Server Progress:
.BuBBLe. is offline  
Old 09/01/2016, 09:13   #1074
 
Alliance™'s Avatar
 
elite*gold: 26
Join Date: Nov 2013
Posts: 410
Received Thanks: 246
Quote:
Originally Posted by .BuBBLe. View Post
no its not the public one
Believe what you want to believe
I wrote this project for my private server, including the WR Packets.
Btw. it dont has to stay anywhere it works perfectly

€dit:
Server Progress:
I dont belevie you , because i have alredy this source by March 2016 and in your posted image there is the same console text that Shadow use.
Probable you have look and copy/pasted in your "project".
Anyway the server can't stay to the same location of the client, because server generate a right response to send to nexon server, and for generate this response need to initialize correctly all callback call.
And if the call are initialized and CE is opened ,you dont get crash or other message error, but on the log that is sended to nexon server result CE process opened.
Alliance™ is offline  
Old 09/01/2016, 16:43   #1075

 
toxiicdev's Avatar
 
elite*gold: 31
Join Date: Jul 2014
Posts: 659
Received Thanks: 298
Quote:
Originally Posted by .BuBBLe. View Post
no its not the public one
Believe what you want to believe
I wrote this project for my private server, including the WR Packets.
Btw. it dont has to stay anywhere it works perfectly

€dit:
Server Progress:
Sadly that ******* coding style still ******..
toxiicdev is offline  
Old 09/01/2016, 18:26   #1076
 
ToxicData's Avatar
 
elite*gold: 32
Join Date: Dec 2009
Posts: 937
Received Thanks: 1,307
Quote:
Originally Posted by toxiicdev View Post
Sadly that ******* coding style still ******..
more like eye cancer
ToxicData is offline  
Old 09/02/2016, 02:31   #1077

 
toxiicdev's Avatar
 
elite*gold: 31
Join Date: Jul 2014
Posts: 659
Received Thanks: 298
Quote:
Originally Posted by ToxicData View Post
more like eye cancer
Didn't want to be that bad but that's the truth tho.
toxiicdev is offline  
Old 09/05/2016, 16:12   #1078
 
znoeen's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 58
Received Thanks: 33
For everybody who was not able to update this. Here is the new remotepointer to access structs of remote players.

Thanks to Armour (@rafik199915) for helping me test ingame!

I know the function is crappy, upload a better one if you think you can do better

Code:
#define ADR_RemotePointer      0xB0A548

CPlayer* GetPlayerByID(int index)
{
	if (index > 32) return NULL;
	DWORD dwBase = ADR_RemotePointer;
	if (*(DWORD*)(dwBase + (0x4 * index)) != 0)
		return (CPlayer*)*(DWORD*)(dwBase + (0x4 * index));
	else
		return NULL;
}
Pattern:
Code:
DWORD REMOTEPOINTER = FindPattern((PBYTE)"\x8B\x04\x8D\x00\x00\x00\x00\xC3", "***????x", 3, true);
znoeen is offline  
Thanks
1 User
Old 09/05/2016, 22:27   #1079



 
+Yazzn's Avatar
 
elite*gold: 420
Join Date: Jan 2012
Posts: 1,030
Received Thanks: 981
Pointer arithmetic is hard, isn't it?

Code:
std::array<pod::player *, 32> &players = *reinterpret_cast<std::array<pod::player *, 32> *>(addr_remote_player_ptr);
+Yazzn is offline  
Thanks
2 Users
Old 09/06/2016, 06:38   #1080

 
toxiicdev's Avatar
 
elite*gold: 31
Join Date: Jul 2014
Posts: 659
Received Thanks: 298
Quote:
Originally Posted by Peter File View Post
Pointer arithmetic is hard, isn't it?

Code:
std::array<pod::player *, 32> &players = *reinterpret_cast<std::array<pod::player *, 32> *>(addr_remote_player_ptr);
This guy is a cancer
toxiicdev is offline  
Reply


Similar Threads Similar Threads
[Farmville2]Rock&Wood Cheat.
10/28/2012 - Facebook - 0 Replies
Credits: http://www.pwnthis.net/2012/10/farmville-2-cheats -vanishing-rocks.html 1. Gehe auf deine Farm. 2. Öffne Cheat Engine. 3. Öffne den flash plugin bei Firefox. 4. Ändere den Value type auf Text. 5. Scanne: obstruction_rock. 6. Wähle alle Ergebnisse aus und nutzen dann den roten Pfeil.
Can you help me in Cheat Engine for the rock paper scissor please ?
08/04/2011 - 4Story - 4 Replies
With Cheat Engine 6 I tried to modifie the number of victories: I win one time, I put 1 and do first scan I win twice, I put 2 and I do next scen I win three times and I put 3 and next scan and I found the adress number: 07482200 I modifie for put 15 and I try to leave and he didn't work I repaet operations and I try to continue but didn't work either =( Do you know how make that ?
help war rock cheat
04/14/2008 - Say Hello - 3 Replies
can some 1 give me some cheat for war rock thx. [email protected]:confused:



All times are GMT +2. The time now is 14:42.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.