You are viewing our Forum Archives. To view or take place in current topics click here.
Advanced Warfare | Scrolling news feed (sorta) & c# loop
Posted:
Advanced Warfare | Scrolling news feed (sorta) & c# loopPosted:
Status: Offline
Joined: Jan 27, 201113Year Member
Posts: 417
Reputation Power: 19
For c# tools on Advanced Warfare, This is using TU2 offsets
Explanation :
the FPS can be set as text which I think everyone knows, cant be spread over more than one line although i haven't tried everything. It is stupid but it does work
set one line
sleep it
set another line
sleep it
etc...
to loop it, I haven't seen anyone say anything about c# looping on tools which is really easy. People have probably mentioned it or other people can code but to loop stuff in c# it is done like this... while (true) {}
System.Threading.Thread.Sleep(40); is what I use to sleep
This is how I have been using it..
Jtag.WriteUInt32(0x823B073C, 0x409A0090);
while (true)
{
Jtag.SetMemory(0x82098168, Encoding.ASCII.GetBytes("\n^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y "));
System.Threading.Thread.Sleep(40);
Jtag.SetMemory(0x82098168, Encoding.ASCII.GetBytes("\n^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y "));
System.Threading.Thread.Sleep(40);
Jtag.SetMemory(0x82098168, Encoding.ASCII.GetBytes("\n^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S "));
System.Threading.Thread.Sleep(40);
Jtag.SetMemory(0x82098168, Encoding.ASCII.GetBytes("\n^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i "));
System.Threading.Thread.Sleep(40);
Jtag.SetMemory(0x82098168, Encoding.ASCII.GetBytes("\n^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m "));
System.Threading.Thread.Sleep(40);
Jtag.SetMemory(0x82098168, Encoding.ASCII.GetBytes("\n^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p "));
System.Threading.Thread.Sleep(40);
Jtag.SetMemory(0x82098168, Encoding.ASCII.GetBytes("\n ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l^6y ^1S^2i^3m^4p^5l "));
System.Threading.Thread.Sleep(40);
}
I am not explaining why while (true) works, and no doubt someone will have an error with the WriteUInt32, if you do then I might tell you if I can be bothered
For the light hearted
Jtag.WriteUInt32(0x823B073C, 0x409A0090); = Enables the FPS counter
while (true) {} = Any code between the {} is infinitely looped
Jtag.SetMemory(0x82098168, Encoding.ASCII.GetBytes("")); = Is how to edit what the FPS counter says
System.Threading.Thread.Sleep(40); = Is my way of sleeping, it is in milliseconds (1000 = 1 second). Personally I think 40 is nice
#2. Posted:
Status: Offline
Joined: Dec 30, 201211Year Member
Posts: 3,778
Reputation Power: 3016
Theading.Thread.Sleep is good an all but it is bad when you want to stop the method. I use await Task.Delay and it works far better than Sleep().
For the scrolling effect, I would advise to put the string to a byte and just add it to whatever you are calling. Making the code much easier to follow.
For the scrolling effect, I would advise to put the string to a byte and just add it to whatever you are calling. Making the code much easier to follow.
- 1useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.