| |
|
 |
 |
| Author |
Vanguard Bot - VGExtreme Scritping Service![]() |
beergeek
Moderator

Premium Member
Joined: 10 Jul 2005 Posts: 577 1820 TUBucks
|
Posted: Fri Oct 17, 2008 5:33 am Post subject:
|
|
can't help you on that one, I know next to nothing about cpp.
still, i think you could do it directly in code.
why do you need direct memory access? are you using your own game offsets? if so, i am doing that in the craft bot which is in vb. obviously, vb can't directly access memory external to its own memory space, but you can also reference MMOViper.Memory to expose all the same memory functions that are in exhume.
|
|
Back to top
|
|
 |
glass40
In Advanced Training

Premium Member
Joined: 22 Jun 2008 Posts: 55 1557 TUBucks
|
Posted: Fri Oct 17, 2008 5:53 pm Post subject:
|
|
Direct memory access was actually for the AI logic, but sitting down and actually thinking about it, there isn't any reason a bot has to be the most intelligent thing so I'll just deal with C#. As I said earlier, I may as well get with the times anyways.
|
|
Back to top
|
|
 |
glass40
In Advanced Training

Premium Member
Joined: 22 Jun 2008 Posts: 55 1557 TUBucks
|
Posted: Sat Oct 18, 2008 8:42 pm Post subject:
|
|
For any other C++ users out there, this message is for you. The only way to get this working through C++ is to create a wrapper class to handle the Managed code. Put simply:
C++ is unmanaged code. This gives you alot more freedom, and leaves alot more stability trouble.
C# is managed code. You don't have the same freedom (such as direct memory access, etc), but you don't have to worry about causing major stability problems either.
Unfortunately, the 2 environments really don't like each other, so the "wrapper class" is like a middle ground to handle things. When and if I ever get this wrapper class going, I will post it here for anybody to use; however, it seems like a real PITA to do, so don't hold your breath. Hopefully I've saved someone alot of research on this subject.
|
|
Back to top
|
|
 |
|
|
 |
 |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You can vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Site and Contents Copyright 2003-2009 All Rights Reserved All information is for intellectual information If you are associated with any gaming company please leave now. Be sure to visit some of our other Sites
TaultUnleashedxunleashed
|
[ Time: 0.5093s ][ Queries: 16 (0.0223s) ][ GZIP on ] |
|
|