Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 17:01

  • 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 11/21/2013, 00:45   #331
 
kevin0152's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 92
Received Thanks: 425
#req
asm_vehicleradargps source
kevin0152 is offline  
Old 11/21/2013, 07:28   #332




 
Omdi's Avatar
 
elite*gold: 1
Join Date: Apr 2010
Posts: 13,772
Received Thanks: 15,036
Quote:
Originally Posted by Raz9r View Post
Well the problem is that there may be two packets from the game whose logical timestamps only differ by one. So far I'm putting both the games and my cheats packets into one concurrent queue to properly update the logical timestamps and thus delay the send operation by up to 100ms, which can be critical for certain packets. Also the difference between the timestamps differs for a few packet types, so I really need to use some kind of a concurrent priority queue aka. a performance killer.
WarRock is P2P based right?
I guess there is no clean way to calculate the timestamp correctly.
How does the WarRock client calculate the timestamp?
Omdi is offline  
Old 11/21/2013, 08:34   #333



 
Cyno™'s Avatar
 
elite*gold: 678
Join Date: Sep 2011
Posts: 877
Received Thanks: 2,492
Quote:
Originally Posted by Omdihar View Post
WarRock is P2P based right?
I guess there is no clean way to calculate the timestamp correctly.
How does the WarRock client calculate the timestamp?

It is but when talking about the timestamp we're talk about the 'TCP' Packets from the Client to the WarRock Server.
They use a simple 'timeGetTime() [winmm.dll]' to generate the Timestamp.
For WarRock this isn't any problem because this is done in one single thread so it can't happen, that a timestamp < as the last timestamp.

When working with a Cheat, you normally create your own thread.
now when for example the WarRock Client generates a packet ( With a timestamp ) but before he could send it, your thread comes in and generates a Packet and sending it, so the last timestamp in the Server will be the one of the Packet, which comes from your thread.
Now when the WarRock client is ready to send his Packet, the timestamp will be lower as yours and it will lead to a disconnection.
Cyno™ is offline  
Old 11/21/2013, 16:17   #334




 
Omdi's Avatar
 
elite*gold: 1
Join Date: Apr 2010
Posts: 13,772
Received Thanks: 15,036
Quote:
Originally Posted by Cyno™ View Post
It is but when talking about the timestamp we're talk about the 'TCP' Packets from the Client to the WarRock Server.
They use a simple 'timeGetTime() [winmm.dll]' to generate the Timestamp.
For WarRock this isn't any problem because this is done in one single thread so it can't happen, that a timestamp < as the last timestamp.

When working with a Cheat, you normally create your own thread.
now when for example the WarRock Client generates a packet ( With a timestamp ) but before he could send it, your thread comes in and generates a Packet and sending it, so the last timestamp in the Server will be the one of the Packet, which comes from your thread.
Now when the WarRock client is ready to send his Packet, the timestamp will be lower as yours and it will lead to a disconnection.
I am not sure if I have understood you properly, but then you could hook timeGetTime to get the last timestamp calculated by the client and calculate a new one which is not less than the original one?
Omdi is offline  
Old 11/21/2013, 17:06   #335
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by Omdihar View Post
I am not sure if I have understood you properly, but then you could hook timeGetTime to get the last timestamp calculated by the client and calculate a new one which is not less than the original one?
This would require you to make timeGetTime thread-safe, which causes a huge amount of lag. timeGetTime needs to be a real-time function. Also IIRC Hackshield checks its signature.
Raz9r is offline  
Old 11/21/2013, 20:38   #336




 
Omdi's Avatar
 
elite*gold: 1
Join Date: Apr 2010
Posts: 13,772
Received Thanks: 15,036
You could hook the sendPacket function and simply compare if the timestamp is less than your last sent packet.
Omdi is offline  
Old 11/21/2013, 20:59   #337
 
Raz9r's Avatar
 
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
Quote:
Originally Posted by Omdihar View Post
You could hook the sendPacket function and simply compare if the timestamp is less than your last sent packet.
Which essentially is the main part of my first suggestion regarding this topic.
Recap what we got so far:
– Hooking send from WinSock2 and queuing all custom packets with a certain priority. Forces you to send your packets from the games main thread or to use mutual exclusion, which is bad. Also forces you to analyze every single packet in a hook before passing them to the original send function.
– Hooking timeGetTime to change the logical time order. Requires you to lock some pipelines.
– Hook send from WinSock2 and have a concurrent queue (with non-blocking pop_front/pop methods) filled with the custom packets from a new thread. Whenever a packet is sent, check for the queue not being empty; then after sending the games packet send the first packet in the queue with the timestamp being increased by one. Also hook timeGetTime and double the result to have at least one free timestamp in between every result of timeGetTime. Creates almost no lag at all, but does not properly work with chat packets as their timestamps need further adjustments.

What I'm doing so far is the following:
I'm mainly using the third way, but whenever I need to send a chat packet, I override my hook temporarily with the first. This only makes the game lag when I'm sending custom chat packets, which almost never happens. Almost lock-free. :-)
Raz9r is offline  
Old 11/22/2013, 09:24   #338



 
Cyno™'s Avatar
 
elite*gold: 678
Join Date: Sep 2011
Posts: 877
Received Thanks: 2,492
Quote:
Originally Posted by Raz9r View Post
...
Im actually hooking into the Thread of WarRock for sending my packets and it works fine
Cyno™ is offline  
Thanks
1 User
Old 11/22/2013, 20:03   #339
 
Gameerish___'s Avatar
 
elite*gold: 0
Join Date: Oct 2013
Posts: 1,547
Received Thanks: 796
Hast jemand die CPlayerInfo Structs ?^^
Gameerish___ is offline  
Old 11/23/2013, 07:41   #340
 
elite*gold: 0
Join Date: Mar 2008
Posts: 213
Received Thanks: 348
Quote:
Originally Posted by GTGameerish View Post
Hast jemand die CPlayerInfo Structs ?^^
They didn't update?
bananegel is offline  
Old 11/24/2013, 00:30   #341
 
kevin0152's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 92
Received Thanks: 425
is there someone who has a copy of gameguard server files before WarRock changed its anti hacking software to hackshield?
kevin0152 is offline  
Old 11/24/2013, 00:37   #342
 
BustyWar's Avatar
 
elite*gold: 0
Join Date: Nov 2013
Posts: 3
Received Thanks: 3
Quote:
Originally Posted by kevin0152 View Post
is there someone who has a copy of gameguard server files before WarRock changed its anti hacking software to hackshield?
WarRock had previously Punkbuster. GameGuard has not been used in the International version.
BustyWar is offline  
Old 11/24/2013, 01:35   #343
 
3dVision's Avatar
 
elite*gold: 0
Join Date: Oct 2012
Posts: 47
Received Thanks: 5
Quote:
Originally Posted by kevin0152 View Post
is there someone who has a copy of gameguard server files before WarRock changed its anti hacking software to hackshield?
WarRock Global = Punkbuster -> Hackshield
WarRock PH = Punkbuster -> Gameguard
3dVision is offline  
Old 11/24/2013, 01:35   #344
 
elite*gold: 73
Join Date: Mar 2011
Posts: 2,908
Received Thanks: 8,548
Code:
 
   /*0x00000680*/ char clan[48]; 

   /*0x000008F0*/ __int32 totalkills;

   /*0x000008F4*/ __int32 totaldeaths;

   /*0x0000076C*/ __int32 currentlevel;

   /*0x000005D6*/ __int32 exp;
Kazbah__ is offline  
Thanks
1 User
Old 11/24/2013, 04:00   #345
 
kevin0152's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 92
Received Thanks: 425
Quote:
Originally Posted by BustyWar View Post
WarRock had previously Punkbuster. GameGuard has not been used in the International version.
ah good to know thanks for the info
kevin0152 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 +1. The time now is 17:01.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.