Admin "Ban" Command

Status
Not open for further replies.
Newbie Spellweaver
Joined
Dec 12, 2008
Messages
89
Reaction score
6
the /ban command? is it work? I try to ban player but it do nothing!
/admin_ban still work? But it just kick player get out server! What happened?:?:
 
You need to edit MatchServer & the runnable.
Easiest way would be to edit jjang, to change the ugradeid to 253, instead of 2.
 
Upvote 0
You could also set a hook on OnChannelChat (serversided), sscanf the given message and then execute a SQL query.

Anyhow, that'd require a lot of work. (You need to reverse a lot of functions if you're doing this in C++.)

If you want to do it the way Nobody posted, use the search function, there is a tutorial about it.
 
Upvote 0
the tut is by t6, and why would you want to take out a function regularly used anyways. I dont see you using the /gt* commands wiz. Its not that hard to replicate the jjang function, all the calls are the same, and if you do it on both sides it will work perfectly just make sure the commands are jmped to a code cave with the replicated data

/epicfail for over thinking or going the easy route
 
Upvote 0
the tut is by t6, and why would you want to take out a function regularly used anyways. I dont see you using the /gt* commands wiz. Its not that hard to replicate the jjang function, all the calls are the same, and if you do it on both sides it will work perfectly just make sure the commands are jmped to a code cave with the replicated data

/epicfail for over thinking or going the easy route

That won't make any sense because the packet jjang uses looks like this:

Packet ID: 201
MUID* uidAdmin
char *uidTargetCharName

If you send out a 201 packet by 2 commands, it'll both end up in the same serversided function. UNLESS, yes unless you create a new packet and handle that serversided. But ****, then is the method I suggested more easier.
 
Upvote 0
Status
Not open for further replies.
Back