Calling Lua Functions from DLL menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you dont want to hook CreateDevice9 on startup to get the devicepointer you just hook it using the static adress + offsets I posted in the information thread for 3.1.2 it didn't change, credits to SKU

    Calling Lua Functions from DLL
  2. #17
    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)
    Yeah I'm still not sure why folks are saying that C# pointer writing throws lots of exceptions; it throws no more exceptions than any other pointer writing (assuming we're talking about the same thing, which is using unsafe pointers).

    You have to know what you're doing -- whether or not you're writing to protected memory, whether or not there are any race conditions, and so on -- but it's not some kind of rocket science. I use various pointer writes ALL the time in my code (like dozens of times per second) with no try/catch and no problem.

    One real benefit of unsafe code is that you can cast struct pointers which are sparse (not all fields sequentially laid out or present) using FieldOffset attributes.

    WriteProcessMemory is just a write with a try/catch, when you use it internally.
    Don't believe everything you think.

  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)
    Well, all I know is that I've never had problems with reading using WPM/RPM. I had many issues with pointers. Got tired of having unknown problems.

  4. #19
    ramey's Avatar Member
    Reputation
    45
    Join Date
    Jan 2008
    Posts
    320
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow this thread.. Can't wait till Cypher responds.

  5. #20
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I code in autoit because pointers are harrrddddd.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Executing WoW Lua functions from C#
    By kisjaksi in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 09-02-2010, 10:22 AM
  2. Call Lua callback in DLL cause some Error
    By rafaelcn in forum WoW Memory Editing
    Replies: 3
    Last Post: 08-04-2010, 03:32 AM
  3. Calling LUA Functions
    By cloud_wizard in forum WoW Memory Editing
    Replies: 7
    Last Post: 01-04-2009, 08:24 AM
  4. Call lua function and get result
    By starfish99 in forum WoW Memory Editing
    Replies: 4
    Last Post: 12-26-2008, 05:15 AM
  5. Replies: 1
    Last Post: 08-26-2008, 10:49 PM
All times are GMT -5. The time now is 04:03 PM. 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