Jump to content

Recommended Posts

Posted (edited)

In kro they have a pin system that server to protect more accounts of robberies, wanted to suggest why not implement in rathena, to give more security to the players

25gdys3.jpgscreen18000.jpg

Edited by Beret
Posted

1 thing is , its irritating to players, because when someone enters a number, the number changes its position, and player have to find where the new number is located.

  • 2 weeks later...
Posted

If is official, please try to activate it.

It doesn't mind if it is irritating to players, it adds more security to the login process, so it is welcome!

Posted

if anyone can capture the packets and document it why not add..

@char.c


#if PACKETVER >=  20110309
// PIN code system, disabled
WFIFOHEAD(i, 12);
WFIFOW(i, 0) = 0x08B9;
WFIFOW(i, 2) = 0; //new pin??
WFIFOW(i, 4) = 0; //confirm pin??
WFIFOL(i, 6) = sd->account_id;
WFIFOW(i, 10) = 0; // pin??
WFIFOSET(i, 12);
#endif

EDIT:

anyway already found it.thanks to openkore community[kLabMouse]

// packet: 0x8b7
// len: 10
struct PACKET_HC_SECOND_PASSWD_REQ {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned long AID
/* this+0x6 */ unsigned long Seed
}

// packet: 0x8b8
// len: 12
struct PACKET_CH_SECOND_PASSWD_ACK {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned long AID
/* this+0x6 */ char SecondPWIdx[6]
}

// packet: 0x8b9
// len: 4
struct PACKET_HC_SECOND_PASSWD_LOGIN {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned short Result
}

// packet: 0x8ba
// len: 16
struct PACKET_CH_MAKE_SECOND_PASSWD {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned long AID
/* this+0x6 */ unsigned long Seed
/* this+0xa */ char SecondPWIdx[6]
}

// packet: 0x8bb
// len: 4
struct PACKET_HC_MAKE_SECOND_PASSWD {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned short Result
}

// packet: 0x8bc
// len: 16
struct PACKET_CH_DELETE_SECOND_PASSWD {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned long AID
/* this+0x6 */ unsigned long Seed
/* this+0xa */ char SecondPWIdx[6]
}

// packet: 0x8bd
// len: 4
struct PACKET_HC_DELETE_SECOND_PASSWD {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned short Result
}

// packet: 0x8be
// len: 16
struct PACKET_CH_EDIT_SECOND_PASSWD {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned long AID
/* this+0x6 */ unsigned long Seed
/* this+0xa */ char SecondPWIdx[6]
}

// packet: 0x8bf
// len: 4
struct PACKET_HC_EDIT_SECOND_PASSWD {
/* this+0x0 */ short PacketType
/* this+0x2 */ unsigned short Result
}

:meow:

  • Upvote 4
Posted
very nice malufett

i can smell the PIN code system hehe

haha..I'm not good with packets something..but I can make this work with ugly coding..

however I don't know how to parse the code sent by the client...

:meow:

Posted

i apologize i dont have much knowledge but is that the code for the pin code system? does it work in both ea and ra?

nope thats are only the packets what are needed for the PIN code system

Posted

How this PIN system works in kRO and in which versions it is avaiable?

I cannot tell you the version it's available but here's how it works.

The first time you log in it asks you to choose a pin, after entering a pin with 4 numbers you'll be asked for a confirmation.

Once the pin is set, each time you log in you'll be asked for the pin. You click the numbers and don't type them.

The order of them changes each time you press one.

You'll be asked to retype if you enter a wrong pin and 3 wrong pins will kick you back to character select.

The reset button of course resets your currently typed numbers back to zero.

Buttons on the right side - Change Pin - Cancel - Ok.

Posted

I think this should be implemented as long as we have the right clients to support this feature as well as the packets and source coding. If this is implemented, I think it should added as a turn on/turn off mechanism as the others in the battle folder. This way if people don't want it on, they can set it off and those who do want it on, switch it on.

Posted

I've already know how to parse the pin..however I don't know the use of seed for changing and creating pin code.. :(

How this PIN system works in kRO and in which versions it is avaiable?

Sept 2011(I guess) up to now...

:meow:

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...