What are PM commands?

04/21/2019 18:25 clerythecleric#1
Hi,

I never really played conquer much but due to the amount of hacking source code out there its a nice little game to learn on.

I haven't done much yet other than isolate what I believe to be the movement function and I've successfully removed the multi-client restriction. I also have ptrs to the in-game coordinates which I can read from a small script I wrote.

I'm currently looking to unlock the FPS.

With that being said I have noticed in old hacks they always include 'PM commands' what are these? In comparison to say 'GM commands' which speaks for itself.
04/21/2019 19:21 nTL3fTy#2
In terms of Conquer Online, a PM has 'more power' than a GM. You can debate over what the abbreviations mean, but TQ implemented the two staff positions as GM and PM. What makes them 'PM commands' is the stipulation that they are executed by a character whose name contains '[PM]' rather than '[GM]' which implies a higher level of power. Enabling these in the client is typically done by the removal of the check for '[GM]' or '[PM]'. The differences between a GM and a PM are more important on the server-side rather than the client-side.

Current list of client-side commands, executable by GMs and PMs alike:
Code:
/scrshot
/break
/delitembytype
/reloadfile
/usemagic
/enablerange
/color
/look
/hair
/SetFrame
/mount
/rolescale
/SetRWeaponScale
/SetLWeaponScale
/test
/test1
/SetBloomColor
/SetBloomFrameAmount
/AddEarthQuake
/ver
/scale
/full
/data
/addScreenEffect
/delScreenEffect
/addeffect
/addbodyeffect
/addrotateeffect
/addaction
/actionIndex
/GetRoleViewVar
/pose
/BruceLeeThree
/GetFrameAmount
/SetDebugFrame
/SetDebugInterval
/ActionDebugInfo
/ReloadDummyMovieIni
/LAAdd
/LAStop
/pmnew
/ReloadMsgBoxIni
/AddMsg
/AddCenterMsg
/msgbox
/say
/mapcolor
/ReLoadStrRes
/ReLoadCnRes
/ReLoadActionLee3DEffect
/HitFly
/APE
/DPE
/transform
/debuglua
/reloadlua
/c_achshow
/3deffect
/3dRotateEffect
/PingRange
/SendPingTestResult
/ShowMePerformance
/ShowMeGameVersion
/EnableMapLayer
/EnablePuzzleGrid
/ChgScr
/Mute
/Weather
/ClearInvalidGui
/SetResetMode
/OpenWindow
/CloseWindow
/EnableGMMode
/show client version
/TrimWorkingSet
/TrimWorkingSetImm
/ResetGui
/WriteNewGUI
/EnableSimplifyOnMapScale
/PrintTrainningRange
/EnableArabicLike
/DisableArabicLike
These commands can change between versions (there's been over 15 years of versions) and are quite different than the last time I personally looked at them.
04/21/2019 19:46 clerythecleric#3
Wow that is incredible. You can just unlock GM commands in the client? I know its an old game but what were they thinking when they made this.

Thank you for the info, very useful. I'll add this on my list of things to play with/test out later on. Any tips for finding the checks, where they reside or what/how many parameters (or void) etc..

Thanks
04/21/2019 20:01 nTL3fTy#4
Quote:
Originally Posted by clerythecleric View Post
Wow that is incredible. You can just unlock GM commands in the client? I know its an old game but what were they thinking when they made this.
None of them do anything of much consequence because of the game's authoritative server design. Although there once was a client command that essentially allowed the client to jump faster leading to a built-in speedhack (assuming the commands were enabled). However that command has since been removed.

Quote:
Originally Posted by clerythecleric View Post
Thank you for the info, very useful. I'll add this on my list of things to play with/test out later on. Any tips for finding the checks, where they reside or what/how many parameters (or void) etc..
Some have parameters, some do not. Simply looking for the command text should lead you to a stricmp and any subsequent sscanf which would usually contain the format for the command.

SetFrame for example has a sscanf("%s %d"), %s being "SetFrame" and %d being the parameter, which in this case would set the desired FPS in the client.
04/21/2019 21:25 clerythecleric#5
Ah ok thank you.
I think i'm starting to get the hang of this now :)
[Only registered and activated users can see links. Click Here To Register...]
05/25/2019 15:02 KumadasNoni#6
Quote:
Originally Posted by nTL3fTy View Post
In terms of Conquer Online, a PM has 'more power' than a GM. You can debate over what the abbreviations mean, but TQ implemented the two staff positions as GM and PM. What makes them 'PM commands' is the stipulation that they are executed by a character whose name contains '[PM]' rather than '[GM]' which implies a higher level of power. Enabling these in the client is typically done by the removal of the check for '[GM]' or '[PM]'. The differences between a GM and a PM are more important on the server-side rather than the client-side.

Current list of client-side commands, executable by GMs and PMs alike:
Code:
/scrshot
/break
/delitembytype
/reloadfile
/usemagic
/enablerange
/color
/look
/hair
/SetFrame
/mount
/rolescale
/SetRWeaponScale
/SetLWeaponScale
/test
/test1
/SetBloomColor
/SetBloomFrameAmount
/AddEarthQuake
/ver
/scale
/full
/data
/addScreenEffect
/delScreenEffect
/addeffect
/addbodyeffect
/addrotateeffect
/addaction
/actionIndex
/GetRoleViewVar
/pose
/BruceLeeThree
/GetFrameAmount
/SetDebugFrame
/SetDebugInterval
/ActionDebugInfo
/ReloadDummyMovieIni
/LAAdd
/LAStop
/pmnew
/ReloadMsgBoxIni
/AddMsg
/AddCenterMsg
/msgbox
/say
/mapcolor
/ReLoadStrRes
/ReLoadCnRes
/ReLoadActionLee3DEffect
/HitFly
/APE
/DPE
/transform
/debuglua
/reloadlua
/c_achshow
/3deffect
/3dRotateEffect
/PingRange
/SendPingTestResult
/ShowMePerformance
/ShowMeGameVersion
/EnableMapLayer
/EnablePuzzleGrid
/ChgScr
/Mute
/Weather
/ClearInvalidGui
/SetResetMode
/OpenWindow
/CloseWindow
/EnableGMMode
/show client version
/TrimWorkingSet
/TrimWorkingSetImm
/ResetGui
/WriteNewGUI
/EnableSimplifyOnMapScale
/PrintTrainningRange
/EnableArabicLike
/DisableArabicLike
These commands can change between versions (there's been over 15 years of versions) and are quite different than the last time I personally looked at them.
what's the use of this /EnableGMMode?
05/27/2019 20:44 Super Aids#7
Quote:
Originally Posted by KumadasNoni View Post
what's the use of this /EnableGMMode?
It allows you to send CMD commands directly to TQ's server.
06/06/2019 15:39 Super Aids#8
Quote:
Originally Posted by ahmednabilessa View Post
HOW i make multi-Client without Dc ?
Open the client in notepad.exe

Search for "dc"

Delete all entries that matches that.

Save the file.

And that's it.
06/13/2019 05:05 ahmednabilessa#9
Quote:
Originally Posted by Super Aids View Post
Open the client in notepad.exe

Search for "dc"

Delete all entries that matches that.

Save the file.

And that's it.
when i do that my client cant open and there is DC and dc and edc which one dc i tried everything if u have a facebook or hangout please enlighten me please
06/13/2019 06:23 Spirited#10
Quote:
Originally Posted by ahmednabilessa View Post
when i do that my client cant open and there is DC and dc and edc which one dc i tried everything if u have a facebook or hangout please enlighten me please
There's a better way to do this, actually. Search for "AVCMsgDisconnect" in Conquer.exe using Notepad++ and replace it with "PLSNO_Disconnect". Make sure you save the file using Notepad++ and not notepad. Thank this post if this helped you.
06/13/2019 09:40 ahmednabilessa#11
Quote:
Originally Posted by Spirited View Post
There's a better way to do this, actually. Search for "AVCMsgDisconnect" in Conquer.exe using Notepad++ and replace it with "PLSNO_Disconnect". Make sure you save the file using Notepad++ and not notepad. Thank this post if this helped you.
i do it but still get Disconnected but i'll give thank to you <3
06/16/2019 02:49 ahmednabilessa#12
Quote:
Originally Posted by Spirited View Post
There's a better way to do this, actually. Search for "AVCMsgDisconnect" in Conquer.exe using Notepad++ and replace it with "PLSNO_Disconnect". Make sure you save the file using Notepad++ and not notepad. Thank this post if this helped you.

do u have any idea why i get DC ?
06/16/2019 17:03 Super Aids#13
Quote:
Originally Posted by ahmednabilessa View Post
do u have any idea why i get DC ?
Go to the end of the file and delete the last "a", "b" or "c" you can find.

Those security measures added by TQ which prevents you from doing what you want.

Also find "TQServer" and replace it by "0xffffff"
06/16/2019 17:07 turk55#14
Quote:
Originally Posted by Super Aids View Post
Also find "TQServer" and replace it by "0xffffff"
I believe he also has to do that with "TQClient", not sure if that was in Conquer.exe or that I am confusing it with something else...

But if you can find it in Conquer.exe you should do that too.
06/16/2019 19:26 ahmednabilessa#15
i got disconnected with game server i appreciate guys anyway thanks :(