Re: Chat command - Teleport
fine, your see your own mistake, there is no packet or check from other player coordinate.
only it will set your own position
succes with post the full zpost function.
Re: Chat command - Teleport
Quote:
Originally Posted by
SeaTroll
fine, your see your own mistake, there is no packet or check from other player coordinate.
only it will set your own position
succes with post the full zpost function.
I did do a mistake, but it wasn't about packets.
Re: Chat command - Teleport
Re: Chat command - Teleport
Quote:
Originally Posted by
SeaTroll
your mistake is:
PHP Code:
ZGetGame()->m_pMyCharacter->SetPosition(pCharacter->GetPosition());
that coded set your possition again.
you need someting like
pTargetPlayer by send MC_MATCH_ADMINTELEPORT
good luck
ZCharacterManager, you fool.
Re: Chat command - Teleport
Quote:
Originally Posted by
SeaTroll
your mistake is:
PHP Code:
ZGetGame()->m_pMyCharacter->SetPosition(pCharacter->GetPosition());
that coded set your possition again.
you need someting like
PHP Code:
TargetP = argv[1];
ZPostAdminTeleport(OwnerP,TargetP);
MUID TargetPlayerID;
pCommand->GetParameter(&TargetPlayerID, 0, MPT_UID);
ZObject* pTargetPlayer= ZGetObjectManager()->GetObject(targetUID);
ZGetGame()->m_pMyCharacter->SetPosition(pTargetPlayer->GetPosition());
this still a example,
dont use it, it's not correct for using it.
good luck
Your a dumbass,
why rewriting a function if the function already exists?
there was nothing wrong with the line..
just learn to read in between brackets
Re: Chat command - Teleport
Quote:
Originally Posted by
SeaTroll
your mistake is:
PHP Code:
ZGetGame()->m_pMyCharacter->SetPosition(pCharacter->GetPosition());
that coded set your possition again.
you need someting like
PHP Code:
TargetP = argv[1];
ZPostAdminTeleport(OwnerP,TargetP);
MUID TargetPlayerID;
pCommand->GetParameter(&TargetPlayerID, 0, MPT_UID);
ZObject* pTargetPlayer= ZGetObjectManager()->GetObject(targetUID);
ZGetGame()->m_pMyCharacter->SetPosition(pTargetPlayer->GetPosition());
this still a example,
dont use it, it's not correct for using it.
good luck
Take your stuff (this is a joke as you don't have any) and just leave. You don't need a packet for this, though it would be more safe. Either create your own release or just hang yourself, don't bash into other people's thread.
That being said, leave.
Re: Chat command - Teleport
oke, ok..
i'm a dumbass.
nextime i dont tell anything....
Re: Chat command - Teleport
Teleport all players for my position ?
Re: Chat command - Teleport
Quote:
Originally Posted by
etropulus
Teleport all players for my position ?
Now that requires packets, but no this just teleports you, the admin, to the player.
Re: Chat command - Teleport
nice one ! :thumbup: thumbs up .. lets have anniversary for omar joining RZ before 2 years xD
off topic : nowadays pretty bored and getting mad, dont mind guys.. + sorry for bad english.
Re: Chat command - Teleport
Quote:
Originally Posted by
Ronny786
nice one ! :thumbup: thumbs up .. lets have anniversary for omar joining RZ before 2 years xD
off topic : nowadays pretty bored and getting mad, dont mind guys.. + sorry for bad english.
I actually had a different account back in 2010, so yeah 3 years.
Re: Chat command - Teleport
Correct me if im wrong, there use to be hacks that did this?
SeaTroll, if im right by that statement, does that mean the hackers had to edit the server sided source of IJJI to use the hack?
BOOMBOMOBBOOMBMBOM
Nice command
Re: Chat command - Teleport
Quote:
Originally Posted by
Joe9099
Correct me if im wrong, there use to be hacks that did this?
SeaTroll, if im right by that statement, does that mean the hackers had to edit the server sided source of IJJI to use the hack?
BOOMBOMOBBOOMBMBOM
Nice command
This isn't good to put this command as admin, Omar released it without protection...
I mean if someone only put CCF_ADMIN on the command i will not help because someone can do "PUSH 0F" and then normal player can use it, so... to protect it you need to make that matchserver will check (IsAdminGrade), And then it will be good command for admin.
Anyway good release Omar! :)
Re: Chat command - Teleport
Quote:
Originally Posted by
sahar042
This isn't good to put this command as admin, Omar released it without protection...
I mean if someone only put CCF_ADMIN on the command i will not help because someone can do "PUSH 0F" and then normal player can use it, so... to protect it you need to make that matchserver will check (IsAdminGrade), And then it will be good command for admin.
Anyway good release Omar! :)
nice talk but u wont do anything only exploit servers all day.