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

    • I've been on the hunt for an affordable SMM panel that covers all the major platforms, and boy, did I strike gold with this one. Their services are top-notch, and what I appreciate the most is the genuine engagement they provide. Do you know how some panels offer bots or fake comments? Well, that's not the case here.
    • Good luck with your project. free games
    • It’s now not exceptional to giggle at someone else’s misfortune,” the jester chastised, clambering to his feet OSRS gold as a 2d determine stepped into the red mild. Uttering a small cry, the wizard swung the glowing tip of the body of workers in the course of the newcomer.   It changed into a goblin. He carried a damaged-tipped spear and sported unwell-becoming chain mail that became too massive for his small body. As he moved, the dented bronze helmet he wore slipped down over his eyes. The creature gave a strangled gurgle in his confusion, and righted the helmet.   “Do now not fear him,” the jester stated. “He lives by the roadside, and begs off strangers.” “I do no longer worry him,” the wizard spoke back, his composure regained. “From the appearance of him, he’s without a doubt now not a fighter. However he ought to be careful now not to make a nuisance of himself, for if he does, most likely he shall be slain.”   “He knows,” the jester answered, his expression severe. “however that is neither here nor there, my friend. Guests of your order are rare indeed in recent times.” He paused, and his expression lightened. “might you possibly be part of us for a past due supper? I’ve roasted a bird over a fireplace.”   He’s in reality a friendly fellow, the wizard mused. Then he glanced within the direction of the partitions, which the darkness had reduced to buy OSRS GP little greater than a black outline.
    • Particularly, it's been stated that the Rogue intended to mimic the gameplay of Diablo 2's murderer and Diablo 3's Demon Hunter, growing a perfect union of the two in one individual. Rogues can use crossbows, imbue arrows with unique homes, and lots extra that all scream Demon Hunter, making it the top generation of the class. At the same time as the Rogue may not be a Demon Hunter in name, it stands to purpose that most of the tendencies discovered in the latter will draw fans to buy cheap Diablo IV Gold the former. As such, even though little is thought and its launch is far away, Demon Hunter enthusiasts probably can't cross incorrect for the Rogue in terms of gameplay.   Diablo 4 lessons: New vs. Acquainted Diablo 4 Barbarian Sorceress Druid Rogue 5th elegance query Mark Of route, the high Dex-primarily based gameplay was only one motive lovers were drawn to the Demon Hunter. The alternative came from the sheer "rule of cool" aspect that the Demon Hunter inherently has; because the "wildcard" magnificence of Diablo 3, it drew eyes as a much less conventional Diablo or RPG class. Combined with the lore built around it, and it turned into a win-win scenario. SMMOexpificantly, snowfall should and should cross for the same marvel attraction in its final Diablo 4 class display.   Right now, each elegance in Diablo 4 has been taken from others: the mainstay Barbarian, the mystical Druids and Sorceresses, and the generation of the Rogue. But if it were to introduce a wildcard magnificence, although it's unlikely to be Dex-based, it could catch the "new" that drew many lovers to the Demon Hunter in the first place. A heavy tank-based elegance makes experience, so possibly in preference to going with a Holy Warrior like Paladin or Crusader, it would be interesting if cheap Diablo 4 Gold brought a Blackguard/Fallen Paladin (however, of course, this is just speculation).
    • So , that's the people I'm sharing my experiences with. However, don't go by yourself. It will make getting in five minutes WoTLK Gold quicker. You'll be working with people who have I recommend joining a guild. Like my best advice, join a huge Guild and create a name for yourself, make friends in the guild and play with the people.   Mental state and, ultimately, it'll end up being a lot more fun than being surrounded by sweaty, hardcore players dressed in the top raid gear, threatening to kick you out because you're only 10 DPS less than what your simulation told you to be doing. Now. I'm aware that this is an odd video. I feel like that's not happening at all.   Like that's not like as long as you're going into the raid, I believe that in the event that you go through the process, it's confident you're not like wasting time. This is true, dude. I never had this shit happen. I've never even had this should happen What do you mean? Oh, man, it's always the same. That's nuts. You're a streamer. I wasn't . I wasn't in the wrath of. I have never been kicked out in any of my groups in the past. Oh, my bro, when did I ever do anything wrong? didn't do that? I'm dead. In 2022, I'm not sure if the year is really that different. I'm beginning to feel that people are overplaying this. I believe they are massively and wildly playing this do not need to shout right man. You're right, these classic Andy's widely used. No, bro. For instance, if I'm in the area and I look at the raids, like I see people all around. They're pissing garbage.   They're just so terrible. Like most of the gamers, they have a terrible time playing it. It's as simple as looking buy WoTLK Classic Gold your character's name and then. It's easy GDK and p. Also, we are going to be doing GD K p knacks raids shortly after McConnell and I have lost everything we begin using for GD K P raids.  
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock