This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [3.3.5a] Implementing new console commands  (Read 1220 times)

natrist

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
[3.3.5a] Implementing new console commands
« on: March 21, 2013, 08:42:20 pm »
Hello,

I am writing here in hope to find someone to help me out with implementing new console commands.

Basically, I am working on a World of Warcraft emulator with a group of friends and I am assigned to the GM systems (auto-reply on accept whispers off, GM Satisfaction Surveys system, etc.) but it doesn't stop there; I am also coding the existing debug console commands.

So far I have 'worldpor't, 'charmport', and 'logout' commands implemented and working as they should. Port is on its way as soon as I find out just exactly what it does.
However, I want more: I want to be able to use all commands real developers and GMs use by unlocking them if possible (00407870    InstallGameConsoleCommands) or else register my own commands with the same name, help messages, and functions as any command I can find.

For those of you who do not know what the console does, I have taken the following screenshots from the World of Warcraft alpha:
[attachment=1:1hrj5xhe]commands1.png[/attachment:1hrj5xhe]

[attachment=0:1hrj5xhe]commands2.png[/attachment:1hrj5xhe]


I have been told that this could be done by DLL injection, but I have no knowledge on the matter and any help would be greatly appreciated.
I would also like to know what 'InstallGameConsoleCommands' and 'ClientRegisterConsoleCommands' do.

I am decent in C++ but however don't know much about reverse-engineering even though I have Ollydbg installed and know about as much as how to attach it to a running process.
A video of my current implementations of the console commands will be posted shortly.

Feel free to contact me on Skype (tristan.cormier) with any pertinent information you may have.
Thank you for reading and have a nice day!



Kind Regards,

Tristan 'Natrist' Cormier
C++ Programmer
CorsairCore
« Last Edit: March 22, 2013, 05:31:08 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [3.3.5a] Implementing new console commands
« Reply #1 on: March 22, 2013, 03:03:45 am »
You can attach files, i.e. screenshots.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

natrist

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: [3.3.5a] Implementing new console commands
« Reply #2 on: March 22, 2013, 05:31:31 am »
Quote from: "schlumpf"
You can attach files, i.e. screenshots.

Thanks for the info. The initial post has been updated.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »