Jump to content

Player Input Dialog


Recommended Posts

Maxcheaters,

 

After countless of hours of brainstorming and examining system files I came to the conclusion that I need some help, and where else to go than on Maxcheaters regarding client development.

 

I would like to ask players for their input using a system message window (that has to be popped up by the server) on the Interlude client, something similar to the image below:

 

lKWTLXX.png

 

I noticed it is not a feature in systemmsg-e.dat, I also examined interface.xdat and could not find it as a dialog either.

 

I took a deeper look into systemmsg-e.dat and found the following system messages:

1236    1    Please enter security card number.    0    79    9B    B0    FF            0    0    0    0    0        none

1237    1    Please enter the card number for number $s1.    0    79    9B    B0    FF            0    0    0    0    0        none

1838    1    1. The coupon can be used once per character.    0    79    9B    B0    FF            0    0    0    0    0        none

1839    1    2. A used serial number may not be used again.    0    79    9B    B0    FF            0    0    0    0    0        none

1840    1    3. If you enter the incorrect serial number more than 5 times,\n   you may use it again after a certain amount of time passes.    0    79    9B    B0    FF            0    0    0    0    0        none

1884    1    Enter the PC Room coupon serial number:    0    79    9B    B0    FF            0    0    0    0    0        none

1885    1    This serial number cannot be entered. Please try again in $s1 minute(s).    4    79    9B    B0    FF    ItemSound3.sys_impossible        0    0    0    0    0        popup

1886    1    This serial number has already been used.    4    79    9B    B0    FF            0    0    0    0    0        popup

1887    1    Invalid serial number. Your attempt to enter the number has failed $s1 time(s). You will be allowed to make $s2 more attempt(s).    4    79    9B    B0    FF            0    0    0    0    0        popup

1888    1    Invalid serial number.  Your attempt to enter the number has failed 5 times.  Please try again in 4 hours.    4    79    9B    B0    FF            0    0    0    0    0        popup

I googled a bit around to find out what system message 1236 is for. It seems it is a feature that was only used in Asia to protect accounts using a 4-digit PIN system. Although I couldn't find any information regarding the dialog. This would be perfect for what I would like to have because if this is actually working on the Interlude client - then there must be a packet that triggers the window to open and all input-data is sent back to the server without validation(hopefully).

 

As for system message id 1839 and 1884 - it indicates there is a dialog for entering PCCafe serial keys? I know Gracia Final has such a dialog that can be opened using a GM command but I cannot find it on the Interlude client at all. I perhaps could make use of this dialog with some hex editing so it suits my needs.

 

I posted on maxcheaters because I know there are high skilled people here regarding client modding and/or overall knowledge on the client.

 

Thanks alot in advance, it is much appreciated.

 

-

OpalSnow

Edited by OpalSnow
Link to comment
Share on other sites

This is a hardcoded popup, which means that even if you find a way (I dont think you will) to pop it up, it will still send requestClanWarPacket.

 

Perhaps there are clientpackets we haven't find yet ? (...)

Link to comment
Share on other sites

This is a hardcoded popup, which means that even if you find a way (I dont think you will) to pop it up, it will still send requestClanWarPacket.

 

Perhaps there are clientpackets we haven't find yet ? (...)

Have you read what is he looking for? I don't think so.

 

Regards,

Link to comment
Share on other sites

Have you read what is he looking for? I don't think so.

 

Regards,

 

 

Do you have any clue how the client communicates with the server? I don't think so.

 

Regards,

Edited by xdem
Link to comment
Share on other sites

Do you have any clue how the client communicates with the server? I don't think so.

 

Regards,

He is looking for a different window from this one, yet you give him an answer that it will send requestClanWarPacket anyways.

 

Regards,

Link to comment
Share on other sites

He is looking for a different window from this one, yet you give him an answer that it will send requestClanWarPacket anyways.

 

Regards,

 

 

I would like to ask players for their input using a system message window (that has to be popped up by the server) on the Interlude client, something similar to the image below:

 

Regards retard

Link to comment
Share on other sites

It looks like English language is too hard for people there in Nigeria.

 

Regards,

 

 

But we assure you we have big tools, so take care

 

 

 

 

 

 

Now tell me what your partner needs, because I suppose I didn't understand his high level English

Edited by xdem
Link to comment
Share on other sites

Packetlog - and find out?

Kinda simple that way.

 

 

However in order to answer yes\no questions for certain skills and other shit - it sends back this:

http://svn.l2jserver.com/branches/L2_GameServer_it/java/net/sf/l2j/gameserver/clientpackets/DlgAnswer.java

 

It could be that the reply is really just integer based - (which is possible since nothing in those sysmsgs direcly points to a string answer clientwise) so therefor creating some sort of non numberbased responce is out of the question.

 

Again packetlogging the C>S packet fired when entering clanname and trying to send those other msgs to client will reveal how it handles the callbacks to server and including possibilities to do logic based on them.

Edited by mcbigmac
Link to comment
Share on other sites

Packetlog - and find out?

Kinda simple that way.

 

 

However in order to answer yes\no questions for certain skills and other shit - it sends back this:

http://svn.l2jserver.com/branches/L2_GameServer_it/java/net/sf/l2j/gameserver/clientpackets/DlgAnswer.java

 

It could be that the reply is really just integer based - (which is possible since nothing in those sysmsgs direcly points to a string answer clientwise) so therefor creating some sort of non numberbased responce is out of the question.

 

Again packetlogging the C>S packet fired when entering clanname and trying to send those other msgs to client will reveal how it handles the callbacks to server and including possibilities to do logic based on them.

 

 

So the Dlg hasnt only 2 options? like 1 yes 0 no ?

 

It can include a variable if you send it with the correct ssmg?

 

im refering to the unkn

 

        _messageId = readD();

        _answer = readD();

        _unk = readD();

 

probably is the variable that inputs into the dlg from the client

Edited by xdem
Link to comment
Share on other sites

So the Dlg hasnt only 2 options? like 1 yes 0 no ?

 

It can include a variable if you send it with the correct ssmg?

 

im refering to the unkn

 

        _messageId = readD();

        _answer = readD();

        _unk = readD();

 

probably is the variable that inputs into the dlg from the client

 

No, it has a integer option.

Whatever you do with it - is up to you.

It does however send back the MSG ID - therefor allowing you to differentiate logic based on id and the integer responce.

 

 

Without l2server and IDA present - i'm not 100% sure.

 

but i do believe you send this:

http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ConfirmDlg.java

 

basicly a SYSMSG packet wrapped in the Dialog option - where you can predefine the message and variables as a normal SYSMSG and make it appear on screen with a dialog.

 

One of the vars will most likely contain option for use of field or just "ok\no" button or similar. 

Edited by mcbigmac
Link to comment
Share on other sites

No, it has a integer option.

Whatever you do with it - is up to you.

It does however send back the MSG ID - therefor allowing you to differentitate logic based on id and the integer responce.

 

 

Without l2server and IDA present - i'm not 100% sure.

 

but i do believe you send this:

http://svn.l2jserver.com/branches/unstable/L2J_Server_BETA/java/com/l2jserver/gameserver/network/serverpackets/ConfirmDlg.java

 

basicly a SYSMSG packet wrapped in the Dialog option - where you can predefine the message and variables as a normal SYSMSG and make it appear on screen with a dialog.

 

One of the vars will most likely contain option for use of field or just "ok\no" button or similar. 

 

 

I have spent time on the past on dlg, I guess l2j underestimated, didnt even found the usage of the "unknown"

 

they also badcoded the whole packet:

getClient().getActiveChar().reviveAnswer(_answer);

 

this looks bad doesnt it?

 

 

@ontopic

 

Dear retarded tomoya I hope this answers makes you understand why I referred to the war packet, since you can't re-represent the DLG opalsnow is looking for, simply because the L2 developers didnt need that kind of server-client communication. 

 

Of course things are different if this is our mistake, by underestimating the simple dlgpacket as I said above

Edited by xdem
Link to comment
Share on other sites

Dear retarded tomoya I hope this answers makes you understand why I referred to the war packet,

We are looking for a banana, yet you tell us where the orange is and why it wont work as a pineapple.

 

Regards,

Link to comment
Share on other sites

We are looking for a banana, yet you tell us where the orange is and why it wont work as a pineapple.

 

Regards,

 

 

Pal stop answering me like you paid me to work this solution and I failed, Im spending my time here so at least show some respect . Its pretty simple you can't do it if the client isnt made to work that way

 

Yes sorry for telling you that you can't do it. I should let you search like a fucking monkey 2 weeks and realize it by urself.

 

Tho there's a loophole with the war packet, but I don't care to contribute you anymore.

 

 

Regards,

Edited by xdem
Link to comment
Share on other sites

I have spent time on the past on dlg, I guess l2j underestimated, didnt even found the usage of the "unknown"

 

they also badcoded the whole packet:

getClient().getActiveChar().reviveAnswer(_answer);

 

this looks bad doesnt it?

 

 

@ontopic

 

Dear retarded tomoya I hope this answers makes you understand why I referred to the war packet, since you can't re-represent the DLG opalsnow is looking for, simply because the L2 developers didnt need that kind of server-client communication. 

 

Of course things are different if this is our mistake, by underestimating the simple dlgpacket as I said above

 

I dont know l2j - i don't care.

 

But this is just about de-mystifying the Dialogue system.

the unk refers to a request ID - that just like trade channels on official - is uniquely generated number.

 

Imagine code being written for the auto-ressurection dialogue here when you die.

http://l2wiki.com/Feather_of_Blessing )

 

Now lets say you die without it - but know it's MSG ID X and _answer needs to be 1 - and third requestid/_unk param is not checked.

That would allow any player with a packet editor to abuse the system and get automaticly resurrected without any checks.

 

L2Off\Retail for trade,dlg, other systems - generate unique id's each time such a packet is sent and only accepts dlganswer's with a matching ID.

(possibly also locked to character or socket, not just global wide).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • *¶¶¶+2349158681268¶¶¶ Welcome to the home of wealth and fame.*        Many have seek for wealth and it’s quiet a thing of pity +2349158681268 that some do so in wrong places which made it doubtful of the true source and it is at this juncture that i approach you with the right source of wealth which you have really seek for. ZERUZANDAH BROTHERHOOD OCCULT is an association of those that has been blessed by Lord Lucifer zeruzandah the great and have decided to educate the masses on the possible ways of acquiring the wealth, power,protection fame and every other thing you could think of without human sacrifice. Gone are the days when human blood are required for sacrifice here at zeruzandah Brotherhood, human blood sacrifice has been abolished because the money you are seeking for should be used to help and sponsor your loved ones but you have to have it at the back of your mind that there is a very great sacrifice which you must pay to pierce the heart of the spiritual world so that you can be blessed here on human Earth and that sacrifice will be according to what zeruzandah wants you to do which the Grandmaster of this temple will tell you when you’ve been in contact with him. Here at zeruzandah Brotherhood we only demand some sacrificial items and some special animal blood for sacrifice in order to please the Lord Lucifer to bless you here on Earth. If anyone from anywhere tells you that we accept anything money from you in order for you to be initiated into this Brotherhood, inform the TEMPLE GRANDMASTER +2349158681268 zeruzandah Brotherhood do not accept any money from you except you are the one to fund your sacrificial items. Contact the temple Grandmaster at +2349158681268   Spiritual grandmaster of ZERUZANDAH BROTHERHOOD +2349158681268   I WANT TO JOIN SECRET OCCULT FOR MONEY RITUALS IN NIGERIA OR GHANA TO BE RICH AND TO MAKE MONEY, WITH NO HUMAN SACRIFICE OR BLOODSHED CALL +2349158681268 FOR YOUR BUSINESS SUCCESS TO WIN ELECTIONS TO BE FAMOUS AND POWERFUL,   The ZERUZANDAH Brotherhood is a spiritual fraternal society whose aims are the cultivation of Inner Power through the study and practice of esoteric arts for the improvement of body, mind and spirit.   It unites its members in brotherhood and in the quest for wisdom, successful living and finding one’s purpose in life. It has no secret agenda .While it is a deeply spiritual organization, it promote a particular religion or belief.   The Brotherhood transmits an esoteric tradition spanning thousands of years, with a universal vision born in the East and embracing the best of the West in the quest to return to the ancient and original Tao or Source of all wisdom.   WELCOME TO ZERUZANDAH BROTHERHOOD,   The Club of the Rich and Famous; is the world oldest and largest fraternity made up of 3 Millions Members. We are one Family under one father who is the Supreme Being. In ZERUZANDAH OCCULT Brotherhood we believe that we were born in paradise and no member should struggle in this world. Hence all our new members are given Money, Wealth,Fame , Power ETC.   Fear and anxiety has drawn so many people back to unfulfilled dreams and make their quest for wealth and power shambled, it is thing of fact that money ritual Occult is not and can never be a sin because Occult is still a religion despite what ever others are thinking and zeruzandah Brotherhood is here to give life to that dead hope of acquiring your desired wealth,fame and power without human sacrifice. Contact the Spiritual Grandmaster of ZERUZANDAH Brotherhood now at +2349158681268   The wealth of this life goes to those who deserve and desire it by their decision of breaking the wicked chain of poverty. It is actually a thing of fact that poverty is real and it’s not your fault that it exists but however will be your fault and greatest mistake if you allow poverty to exist in your life because of fear. Only the brave makes the move to liberate himself from humiliating nature of poverty…   +2349158681268   You can be rich, wealthy, famous etc without human blood@ZERUZANDAH BROTHERHOOD contact the Spiritual Grandmaster now +2349158681268   The desire to remove the garment of poverty rest on your shoulder and I will advise you do so now by being an initiated member of zeruzandah Brotherhood.   For enquires, contact the Spiritual Grandmaster now@ +2349158681268   The men of the world can only see within the limit of the eye and the things of the spirit are meant for the spirit to see. You can never be that wealthy,rich and famous without controlling the Spiritual wealth and fame that Lucifer the Great Spiritual father offers to those who are humble to him. You have been admiring the wealthy people around you and wish to be so wealthy or more than they do but you are yet to discover the Secret of WEALTH. There so many things known by the rich and the wealthy which the poor don’t know and don’t want to know because of their unnecessary fear. The secret to what you seek is to join a secret occult society.   Call now for enquiries +2349158681268.
    • *¶¶¶+2349158681268¶¶¶ Welcome to the home of wealth and fame.*        Many have seek for wealth and it’s quiet a thing of pity +2349158681268 that some do so in wrong places which made it doubtful of the true source and it is at this juncture that i approach you with the right source of wealth which you have really seek for. ZERUZANDAH BROTHERHOOD OCCULT is an association of those that has been blessed by Lord Lucifer zeruzandah the great and have decided to educate the masses on the possible ways of acquiring the wealth, power,protection fame and every other thing you could think of without human sacrifice. Gone are the days when human blood are required for sacrifice here at zeruzandah Brotherhood, human blood sacrifice has been abolished because the money you are seeking for should be used to help and sponsor your loved ones but you have to have it at the back of your mind that there is a very great sacrifice which you must pay to pierce the heart of the spiritual world so that you can be blessed here on human Earth and that sacrifice will be according to what zeruzandah wants you to do which the Grandmaster of this temple will tell you when you’ve been in contact with him. Here at zeruzandah Brotherhood we only demand some sacrificial items and some special animal blood for sacrifice in order to please the Lord Lucifer to bless you here on Earth. If anyone from anywhere tells you that we accept anything money from you in order for you to be initiated into this Brotherhood, inform the TEMPLE GRANDMASTER +2349158681268 zeruzandah Brotherhood do not accept any money from you except you are the one to fund your sacrificial items. Contact the temple Grandmaster at +2349158681268   Spiritual grandmaster of ZERUZANDAH BROTHERHOOD +2349158681268   I WANT TO JOIN SECRET OCCULT FOR MONEY RITUALS IN NIGERIA OR GHANA TO BE RICH AND TO MAKE MONEY, WITH NO HUMAN SACRIFICE OR BLOODSHED CALL +2349158681268 FOR YOUR BUSINESS SUCCESS TO WIN ELECTIONS TO BE FAMOUS AND POWERFUL,   The ZERUZANDAH Brotherhood is a spiritual fraternal society whose aims are the cultivation of Inner Power through the study and practice of esoteric arts for the improvement of body, mind and spirit.   It unites its members in brotherhood and in the quest for wisdom, successful living and finding one’s purpose in life. It has no secret agenda .While it is a deeply spiritual organization, it promote a particular religion or belief.   The Brotherhood transmits an esoteric tradition spanning thousands of years, with a universal vision born in the East and embracing the best of the West in the quest to return to the ancient and original Tao or Source of all wisdom.   WELCOME TO ZERUZANDAH BROTHERHOOD,   The Club of the Rich and Famous; is the world oldest and largest fraternity made up of 3 Millions Members. We are one Family under one father who is the Supreme Being. In ZERUZANDAH OCCULT Brotherhood we believe that we were born in paradise and no member should struggle in this world. Hence all our new members are given Money, Wealth,Fame , Power ETC.   Fear and anxiety has drawn so many people back to unfulfilled dreams and make their quest for wealth and power shambled, it is thing of fact that money ritual Occult is not and can never be a sin because Occult is still a religion despite what ever others are thinking and zeruzandah Brotherhood is here to give life to that dead hope of acquiring your desired wealth,fame and power without human sacrifice. Contact the Spiritual Grandmaster of ZERUZANDAH Brotherhood now at +2349158681268   The wealth of this life goes to those who deserve and desire it by their decision of breaking the wicked chain of poverty. It is actually a thing of fact that poverty is real and it’s not your fault that it exists but however will be your fault and greatest mistake if you allow poverty to exist in your life because of fear. Only the brave makes the move to liberate himself from humiliating nature of poverty…   +2349158681268   You can be rich, wealthy, famous etc without human blood@ZERUZANDAH BROTHERHOOD contact the Spiritual Grandmaster now +2349158681268   The desire to remove the garment of poverty rest on your shoulder and I will advise you do so now by being an initiated member of zeruzandah Brotherhood.   For enquires, contact the Spiritual Grandmaster now@ +2349158681268   The men of the world can only see within the limit of the eye and the things of the spirit are meant for the spirit to see. You can never be that wealthy,rich and famous without controlling the Spiritual wealth and fame that Lucifer the Great Spiritual father offers to those who are humble to him. You have been admiring the wealthy people around you and wish to be so wealthy or more than they do but you are yet to discover the Secret of WEALTH. There so many things known by the rich and the wealthy which the poor don’t know and don’t want to know because of their unnecessary fear. The secret to what you seek is to join a secret occult society.   Call now for enquiries +2349158681268.
  • Topics

×
×
  • Create New...