yair1221 Posted September 8, 2010 Share Posted September 8, 2010 How will virtual protection affect the memory address? for example: i used virtual_protect 1 on a memory address if i wouldnt what would have happend? what does it actually means? Link to comment https://gtaforums.com/topic/458818-virtual-protect/ Share on other sites More sharing options...
TheSiggi Posted September 8, 2010 Share Posted September 8, 2010 0A8C: 4 = Virtual Protect: use 1 to write to the read-only address, 0 - if the address is rewritable. 0A8D: 4 = Virtual Protect: use 1 if the address is unreadable, 0 - if address is readable. Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118511 Share on other sites More sharing options...
yair1221 Posted September 8, 2010 Author Share Posted September 8, 2010 can you please explain? how can i tell if it is rewritable or readable i mean what types of addresses are readable? for example, car position, keyboard input? Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118534 Share on other sites More sharing options...
TheSiggi Posted September 8, 2010 Share Posted September 8, 2010 (edited) can you please explain?how can i tell if it is rewritable or readable i mean what types of addresses are readable? for example, car position, keyboard input? is logical, ain't it? or can you for example write the player controls? Edited September 8, 2010 by The_Siggi Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118538 Share on other sites More sharing options...
yair1221 Posted September 8, 2010 Author Share Posted September 8, 2010 your point is? anything you cannot control ingame? Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118540 Share on other sites More sharing options...
Deji Posted September 8, 2010 Share Posted September 8, 2010 Why do you insist on trying to fill up the internet with constant questions about everything you can think of? The success of most coders is determined on their ability to problem solve and figure things out by experimentation. Seriously.. the internet can't handle this. If, without setting virtual_protect to 1, you encounter a problem... That is a sign to set virtual_protect to 1, kay? I won't bother going into details about the sections of memory which can contain either code or data... Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118580 Share on other sites More sharing options...
james227uk Posted September 8, 2010 Share Posted September 8, 2010 (edited) Yet another topic from the great learner, Yair! I need to add this topic to my list picture Seriously man, you don't learn half as much if somebody tells you the answer. Virtual Protect has two values. It's either one or the other. It's called the Process of Elimination Edited September 8, 2010 by james227uk Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118610 Share on other sites More sharing options...
yair1221 Posted September 8, 2010 Author Share Posted September 8, 2010 sorry guys BTW: can you send me that picture? i want to put it as desktop image Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118651 Share on other sites More sharing options...
james227uk Posted September 8, 2010 Share Posted September 8, 2010 Well you did ask. Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118681 Share on other sites More sharing options...
yair1221 Posted September 8, 2010 Author Share Posted September 8, 2010 sweeeat now i just need to stretch it thx dude thx DUDES, although i have to admit, sometimes you HAVE been sarcastic, but still thanks for everything for my record of 4.3 posts per day(avrg.) which almost all got answered, and, most important thing: keep tracking my posts(and buy new drives for the servers) just kidding, thanks a lot thats about my 1 million post, and see the wonder! it got answered, you guys rock this forum Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118719 Share on other sites More sharing options...
TheSiggi Posted September 8, 2010 Share Posted September 8, 2010 sweeeatnow i just need to stretch it thx dude thx DUDES, although i have to admit, sometimes you HAVE been sarcastic, but still thanks for everything for my record of 4.3 posts per day(avrg.) which almost all got answered, and, most important thing: keep tracking my posts(and buy new drives for the servers) just kidding, thanks a lot thats about my 1 million post, and see the wonder! it got answered, you guys rock this forum flamers like you who only care about how many posts they made a day make me - and I guess I'm not the only one - visiting sites like this increasingly rarely Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118736 Share on other sites More sharing options...
yair1221 Posted September 8, 2010 Author Share Posted September 8, 2010 sorry, but if its the only thing i can get a record at - ill go for it Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118744 Share on other sites More sharing options...
Wesser Posted September 8, 2010 Share Posted September 8, 2010 Back on topic, please. Obviously, the explanation isn't much informative as it appears. That "virtual protect" value means you can force non-writable memory addresses being changed. Samples of this clarification may be some ASM codes to modify unlike the simple memory allocation which doesn't require any virtual protection. Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118799 Share on other sites More sharing options...
james227uk Posted September 8, 2010 Share Posted September 8, 2010 I don't really wish to join this topic again now it's turning into something else, but Post Count is just a statistic. It shouldn't be looked at religiously. A person with 1,000,000 posts is no better than someone with 1 post Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060118801 Share on other sites More sharing options...
yair1221 Posted September 9, 2010 Author Share Posted September 9, 2010 back on topic: the question i asked originally wasnt what virtual protect DOES, i asked, if there is a memory with no virtual protect, and i used virtual protect, will it affect the process of the memory address? or will it simply not work Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060119260 Share on other sites More sharing options...
BnB Posted September 9, 2010 Share Posted September 9, 2010 You should do tests in your own! I think it doesn't affect process of the memory address. Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060119397 Share on other sites More sharing options...
yair1221 Posted September 9, 2010 Author Share Posted September 9, 2010 ok i was just using memory address of coords and i wondered if virtual protect was the reason they werent working well Link to comment https://gtaforums.com/topic/458818-virtual-protect/#findComment-1060119408 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now