Marshalling data out of process... menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Sillyboy72's Avatar Member
    Reputation
    13
    Join Date
    Jan 2009
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Marshalling data out of process...

    Getting a DLL loaded in process is clearly the hotness. Thus, we are talking inject a c++ DLL into wow.exe and partying like rock stars.

    However, in general, I would still prefer to write my actual bot codez in c#. It's just easier to write, has a better library of collection classes, and it would be nice to tweak the bot w/o worry about unloading/reloading the c++ dll.

    Wondering if others have done similar... and how they handled it?

    Seems it might make sense to use managed c++ instead of straight c++... to allow some fancy .net way of marshalling the data between the wow process and a c# process. If nothing else, I would get built in serialization/deserialization.

    Feels a little wacky to pull the whole clr into wow's process though. and I am still not sure how to actually do the communication. named pipe? something fancy .net way (.net remote? wcf?)

    Thx for any good theories

    Marshalling data out of process...
  2. #2
    Xarg0's Avatar Member
    Reputation
    61
    Join Date
    Jan 2008
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, WoWSharp used a sharedmemory DLL to implement the IPC between the .NET application and the dll, the down side is you can only run one wow with the dll injected at a time.
    You should use a method of IPC that you're familar with and that works good for C# and C++, so you don't need to rewrite an IPC system from scratch, namedpipes are supported in both c++ and c# it's probably the easiest IPC system to implement.
    I hacked 127.0.0.1

  3. #3
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shared memory is a terrible way to implement IPC. Just use a pipe.

  4. #4
    argh44z's Avatar Member
    Reputation
    19
    Join Date
    Nov 2007
    Posts
    93
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When I did (something like) this, I just just implemented a simple tcp server + my own simple custom binary protocol. The "clients" were typically being run on different machines, so using tcp was good for that purpose.
    Last edited by argh44z; 01-23-2009 at 09:15 PM.

Similar Threads

  1. [Out of Process] Calling functions in the VTable.
    By cenron in forum WoW Memory Editing
    Replies: 12
    Last Post: 01-31-2009, 08:39 PM
  2. [C++]CSyringe - Out of Process Mem Manager
    By cenron in forum WoW Memory Editing
    Replies: 1
    Last Post: 01-21-2009, 08:48 PM
  3. [Out of Process] GetNumLootItems()
    By hypnodok in forum WoW Memory Editing
    Replies: 8
    Last Post: 12-16-2008, 02:51 PM
  4. [Help] Accessing a function Out of Process
    By cenron in forum WoW Memory Editing
    Replies: 18
    Last Post: 10-14-2008, 05:49 AM
  5. Can you read player names out of process?
    By sweeper18 in forum WoW Memory Editing
    Replies: 10
    Last Post: 07-06-2008, 08:54 PM
All times are GMT -5. The time now is 12:00 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search