any reason why this is crashin wow? menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Nokia5800's Avatar Member
    Reputation
    -4
    Join Date
    Jun 2009
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey guys Im trying this method...

    Code:
    6A00 PUSH 0
    6808214000 PUSH String_OFFSET 
    6808214000 PUSH String_OFFSET
    B8B0AA4900 MOV EAX,49AAB0
    FFD0 CALL EAX
    But wow is only processes the first letter of the string... anyone know what I could be doing wrong?

    Im injecting it in Opcodes... whats the best way to process a string using opcodes like below...

    Code:
                            "0x" & _
    			"6A00" & _
    			"68" & SwapEndian(RemoteData) & _
    			"68" & SwapEndian(RemoteData) & _
    			"B8B0AA4900" & _
    			"FFD0" & _
    			"83C40C" & _
    			"C3")

    any reason why this is crashin wow?
  2. #17
    peterwurst's Avatar Member
    Reputation
    11
    Join Date
    Jul 2006
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Nesox View Post
    im using pipes atm but calling functions with pInvoke seems interesting.
    Is there any special requirements to do that?
    You can do this via a shared memory section (look at the wowsharp source).
    But using shared memory limits the usage to only one instance at once.

    Lanman92, how are you doing the P/Invoke calls?

  3. #18
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In-Process. Didn't I say that? Lol. I'm just loading the DLL into my C#(P/Invoke loads it when you reference a function with it). Then I call my init function and it hooks/whatever I would like to do. I could put this in the DLLMain function, but...eh.

    I meant I'm going to start looking at dll loading in shared memory. I know you can load an exe/dll from memory(reflective injection). Gonna hit the books.

  4. #19
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You guys are all stupid and confusing. Holy shit.

    One of the better ways to do it would be to use a memory-mapped file and some synchronization events. Inject a DLL that detours EndScene and check for the synchronization event to be signaled every frame; if it's signaled, access the memory-mapped file for what action(s) to take and data to expect, etc. It has the speed (almost) of a shared memory segment in a DLL and the usability (multiple possible instances) of sockets or pipes. Do some research and you should be able to figure it out.

  5. #20
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    You guys are all stupid and confusing. Holy shit.

    One of the better ways to do it would be to use a memory-mapped file and some synchronization events. Inject a DLL that detours EndScene and check for the synchronization event to be signaled every frame; if it's signaled, access the memory-mapped file for what action(s) to take and data to expect, etc. It has the speed (almost) of a shared memory segment in a DLL and the usability (multiple possible instances) of sockets or pipes. Do some research and you should be able to figure it out.
    Actually, a memory mapped file IS a shared memory segment (that's how it's implemented in the kernel). So the speed is maxxo profundo -- you don't get much faster than that short of perhaps nonpaged pool access.

    And yeah, I laughed too at how much folks are overcomplicating stuff. Of course you can use shared memory from multiple processes; you just have to manage synchronization (just like in any multithreaded/multiprocess situation).

    Still, though, I'd use pipes for IPC. They're nearly as fast as memory maps, and they take care of a lot of the message boundary/message interleaving issues for you. Shared memory is a tiny bit faster (edit: maybe not, something is tickling my brain about how local pipes simply USE shared memory for their implementation), but you have to manage your message protocol and synchronization very carefully. Sockets have the possible benefit of being more "cross platform", but they are marginally slower than pipes esp. for local access, and again you have to do all the message management yourself (unless you want to limit yourself to always fitting inside a packet, in which case you could just use UDP). So pipes are probably the best injected IPC mechanism, really. And since 3.5, using pipes is just stupid simple in .Net...

    Edit: I'm still waiting for someone to get all tech and use MSMQ for IPC... Heh...
    Last edited by amadmonk; 07-13-2009 at 12:33 PM.
    Don't believe everything you think.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Any idea why this piece of code doesnt work
    By jadethread1 in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 03-20-2013, 01:05 AM
  2. Is there any way around this?
    By Iceman2 in forum Community Chat
    Replies: 5
    Last Post: 04-25-2007, 06:01 AM
  3. Give me 10 GOOD reasons why i should continue wow
    By DaNuMan in forum Community Chat
    Replies: 7
    Last Post: 04-12-2007, 02:35 AM
  4. Replies: 0
    Last Post: 03-17-2007, 02:58 PM
  5. Any one got this guide he says he can lvl to 60 in 5 game time days
    By bait in forum World of Warcraft General
    Replies: 6
    Last Post: 10-13-2006, 03:27 PM
All times are GMT -5. The time now is 06:59 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search