[Help] ASM editing ingame commands

Skilled Illusionist
Joined
Dec 20, 2008
Messages
340
Reaction score
0
Well, I need someone who know ASM and can help me out.

I want to add an ingame function like /admin_wall that gives people another ugradeid.
Or
I want to edit, the /jjang command to another ugradeid.

If i'm right it needs changes in matchserver and my runnable [theduel.exe] >.<


Example if you didn't understand this oO:
Code:
new function like /command2 <personname> 
that will give the person another ugradeid....
<..< or >..>
Code:
//jjang <personname> gives that person ugradeid 2,
I want to edit that so it gives another ugradeid like 252 etc.


Hope you can help me <3
 
Last edited:
Well, I need someone who know ASM and can help me out.

I want to add an ingame function like /admin_wall that gives people another ugradeid.
Or
I want to edit, the /jjang command to another ugradeid.

If i'm right it needs changes in matchserver and my runnable [theduel.exe] >.<


Example if you didn't understand this oO:
Code:
new function like /command2 <personname> 
that will give the person another ugradeid....
<..< or >..>
Code:
//jjang <personname> gives that person ugradeid 2,
I want to edit that so it gives another ugradeid like 252 etc.
Hope you can help me <3

MatchServer: 0042E5BE
 
Upvote 0
Thanks <3

for the adress of jjang i see, Is there nothing i should edit in the runnable ?

And is it possible to add another command to it? or is that to much work,,

Adding another command is advanced work, and if you need help with editing /jjang I wouldn't suggest trying it.

anyways, taken from T6 since im to lazy to explain myself.

TheivingSix said:
Since jjang edits the UGradeID of the player you can make it so that jjang sets a different ugradeif than 2. Like 253 for example(ban).

1) Open Gunz in a hex editor.
2) Find "jjang"
3) Rename all occurrences to "ban#0"(#0 being 00 at the end)
4) Save
5) Open matchserver, search all refrensed text strings for jjang.
6) Near there find "02"(jjang), change to another ugradeid, 253(ban).
7) Save

ThievingSix said:
I think I've said this else where but I'll say it again.

There is a command called /jjang and /removejjang. The premises on which it works is that it changes the users UGradeID to 2. Now this happens in the Matchserver.exe. You could possibly change it from making the users UGradeID from 2 to 253. You then have two options: 1) Hex edit the runnable and change the command string from /jjang to /ban and be fine with that. 2) A more advance idea would be to have /admin_ban call the jjang command. Either way this is the only way to ban a user without changing the database manually(With an admin control panel or otherwise).

UGradeID's:
1 = Normal
2 = Jjang
100-105 = Mute(Not sure which it is, sulfin found this out I believe)
252 = GM
253 = Ban
254 = Developer
255 = Administrator
 
Upvote 0
Adding another command is advanced work, and if you need help with editing /jjang I wouldn't suggest trying it.

anyways, taken from T6 since im to lazy to explain myself.

I'm only having problems with finding the adresses, if i have the adresses then i'll manage to edit it myself ;)

Thanks for ur comment <3


Maybe if someone can make a tutorial about how to find adresses in matchserver ;O ?
 
Upvote 0
I'm only having problems with finding the adresses, if i have the adresses then i'll manage to edit it myself ;)

Thanks for ur comment <3


Maybe if someone can make a tutorial about how to find adresses in matchserver ;O ?

Suppose like T6 said, search for all referenced text strings.

Also didn't see your other question. You don't exactly need to edit the runnable. Only reason why would be if you want the ban command to not stay /jjang. Only thing you would need to edit is what you want the command to be done as in game, like /ban for instance.

So just search for /jjang text strings in the runnable and change them to what you want.
 
Upvote 0
Suppose like T6 said, search for all referenced text strings.

Also didn't see your other question. You don't exactly need to edit the runnable. Only reason why would be if you want the ban command to not stay /jjang. Only thing you would need to edit is what you want the command to be done as in game, like /ban for instance.

So just search for /jjang text strings in the runnable and change them to what you want.

Yeah, well I was thinking, If I want to add another command,
then I have to add the ingame command [ like /ban ] to the runnable
and the code to perform the change in ugradeid should be in the matchserver.

But since I dont know how, ill just stick with changing the jjang =[

Another Question,
Is it possible to change /admin_halt to change an ugradeid like /jjang ;O ?
 
Upvote 0
Yeah, well I was thinking, If I want to add another command,
then I have to add the ingame command [ like /ban ] to the runnable
and the code to perform the change in ugradeid should be in the matchserver.

But since I dont know how, ill just stick with changing the jjang =[

Another Question,
Is it possible to change /admin_halt to change an ugradeid like /jjang ;O ?

yes it is possible. Have the /admin_halt command function call /jjang. But tbh im not to sure how, suppose making a jump in the code by /admin_halt to call /jjang.
 
Upvote 0
Yeah, well I was thinking, If I want to add another command,
then I have to add the ingame command [ like /ban ] to the runnable
and the code to perform the change in ugradeid should be in the matchserver.

But since I dont know how, ill just stick with changing the jjang =[

Another Question,
Is it possible to change /admin_halt to change an ugradeid like /jjang ;O ?

Nope. The packet sent out by /jjang (packet ID 263), only contains the TargetName.
 
Upvote 0
Back