Thinking About Making An Admin InGame Console..

Joined
Jun 21, 2008
Messages
1,297
Reaction score
226
I'm thinking about creating a staff console in game by attaching the process onto the matchserver and adding a hidden exe in a folder code named so when they start GunZ with a launcher it attaches it self to GunZ and adding the program to hidden startup programs so it's open all the time. and to use the console you must type /login <username> <password> ingame.

And you can have a list of users online and be able to ip ban them and kick them or temp ban or ban them, and you can enable seeing everyone's names inside game or not aswell as having possibilities of anti hack managing checking banned users changing their rank etc so you don't have to go to the database etc.

I'm not totally sure if this is possible but I need someone to tell me if it is possible and if it is in what programing language (I'm sure it might be ASM or C++ or Both Not sure.) Anyway hope you reply..
 
Well, for an in-game admin console your best bet would be make it a dll and codecave it into the matchserver.exe and theduel.exe or gunz.exe with ASM and OllyDBG... It actually wouldn't be that hard... i was creating something like this... i finished reverse engineering how to use the "unmasked administrator" mod and the /admin chat system that LGGunZ had. I was working on some new commands like in-game ban and relog, also i was working on a new antihack based on windows keys banning and MAC address banning... Also i made my matchserver log all events that happens on the server.

Iceman
 
Well the dll could crash the server (seen it happen before with things like this) so I'd rather attach a process server sided and a hidden process on the people's pc that is always running and can't be closed cuz they wont find it and the only way to uninstall it is to use the uninstaller or I could create some app that kills the process and the folder at the same time. And I don't need to use OllyDBG If I'm attaching a c++ process to the GunZ Process.
 
90% of what your thinking of doing doesn't require you to attach it to gunz at all in any way shape or form. Most of what you want to do can be done through an external program accessing the database via ODBC just like matchserver does. I suggest reading on TCP/IP, SQL parsing, and C# or C++, or even visual basic if you want it really easy.
 
If a user finds out that a process is being forced to run all the time they are going to be angry. Don't go that route =).

Anyway, depending on how you want to do it you have a couple options.

First, it could be server side only. Since matchserver gets all chat you could have a dll there that hooks chat and checks for /login. You say that they crash matchserver but that's only if you did something wrong =). Now I recommend editing Gunz.exe to prevent any slash messages(Any string following '/') as someone could type "/logn UserName Pass" and everyone would know it.

You could then match the IP that are connecting to the port 6000 to the database to get the users online and close the connection to the computer instead of the matchserver(change the ugradeid, etc).

This will be using asm and a higher language that can make correct dll's such as C++, or Delphi. Try to stay away from .NET or VB. They would both work but users don't like framework and doing something like this in VB is very difficult.
 
and don't forget this won't be finished in one day... it will take weeks maybe months but GL if you wanna try it...
 
This could be very easily be finished in one day.

Step 1) Type something on gunz
Step 2) Search matchserver for the string(it keeps the last one)
Step 3) Find out where the string is gotten from.
Step 4) Download the Matchserver pbp and get the function parameters for the function that gets the strings
Step 5) Hook the function in a dll
Step 6) Parse the string gotten
Step 7) If it's a command do your procedure.

Or even easier would be to do it client sided. If you know what your doing it doesn't take long to get something done.
 
T6 knows exactly what he is talking about but i would go the "Codecave" way just because it's less hassel. btw, T6 do you know where i can get ahold of a matchserver.pbp?


Iceman
 
Thank you for the link T6... If i have time i will create a in-game admin console... It will be server and client side.... I will release it to Ragezone.



Iceman
 
That would be quite a nice addon. I would see a lot of use in a In-Game console and it would limit the need to have to use a Web Pannel to do Admin Stuff.
 
Well either me or a couple of people here are confused on what's going on here.

From my understanding this will be entirely based off of commands typed into Gunz. It seems that people are thinking there will be an actual GUI in Gunz. Am I confused?
 
Commands typed into GunZ Is Fine. It would just work as well as a GUI and It would be Easyer I would Assume. I just said Console cause its what the thread title says.
 
Well either me or a couple of people here are confused on what's going on here.

From my understanding this will be entirely based off of commands typed into Gunz. It seems that people are thinking there will be an actual GUI in Gunz. Am I confused?
Im pretty sure other people are confused. Of course its typed into gunz xD We can always try to re-update the admin console. The one OWS made. I still have the dll and it works, just none of the commands do.
 
Back