Jump to content

Recommended Posts

Posted (edited)

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
Posted

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 ? (...)

Posted

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,

Posted (edited)

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
Posted

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,

Posted

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

Posted (edited)

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
Posted (edited)

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
Posted (edited)

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
Posted (edited)

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
Posted (edited)

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
Posted
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,

Posted (edited)

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
Posted

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).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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

    • Opening December 6th at 19:00 (GMT +3)! Open Beta Test from November 30th!   https://l2soe.com/   🌟 Introducing L2 Saga of Eternia: A Revolution in Lineage 2 High Five! 🌟   Dear Lineage 2 enthusiasts, Prepare to witness the future of private servers! L2 Saga of Eternia is not just another High Five project—it’s a game-changing experience designed to compete with the giants of the Lineage 2 private server scene. Built for the community, by the community, we’re here to raise the bar in quality, innovation, and longevity. What Sets Us Apart? 💎 No Wipes, Ever Say goodbye to the fear of losing your progress. Our server is built to last and will never close. Stability and consistency are our promises to you. ⚔️ Weekly New Content Our dedicated development team ensures fresh challenges, events, and updates every week. From custom quests to exclusive features, there will always be something exciting to explore. 💰 No Pay-to-Win Skill and strategy matter most here. Enjoy a balanced gameplay environment where your achievements come from effort, not your wallet. 🌍 A Massive Community With 2000+ players expected, join a vibrant and active community of like-minded adventurers ready to conquer the world of Aden. 🏆 Fair and Competitive Gameplay Our systems are designed to promote healthy competition while avoiding abusive mechanics and exploits. 🔧 Professional Development From advanced bug fixes to carefully curated content, we pride ourselves on smooth performance, no lag, and unparalleled server quality. Key Features Chronicle: High Five with unique interface Rate: Dynamic x10 rates Class Balance: Carefully fine-tuned for a fair experience PvP Focused: PvP Ranking & aura display effect for 3 Top PvPers every week Custom Events: Seasonal and permanent events to keep you engaged Additional Features:   Custom Endgame Content: Introduce unique dungeons, raids, or zones unavailable in other servers. Player-Driven Economy: Implement a strong market system and avoid overinflated drops or rewards. Epic Siege Battles: Announce special large-scale sieges and PvP events. Incentives for Streamers and Clans: Attract influencers and big clans to boost server publicity. Roadmap Transparency: Share a public roadmap of planned updates to build trust and excitemen   Here you can read all the features: https://l2soe.com/features   Video preview: Join the Revolution! This is your chance to be part of something legendary. L2 Saga of Eternia is not just a server; it’s a movement to redefine what Lineage 2 can be. Whether you’re a seasoned veteran or a newcomer to the world of Aden, we invite you to experience Lineage 2 at its finest.   Official Launch Date: December 6th 2024 Website: https://l2soe.com/ Facebook: https://www.facebook.com/l2soe Discord: https://discord.com/invite/l2eternia   Let’s build the ultimate Lineage 2 experience together. See you in-game! 🎮
    • That's like a tutorial on how to run l2 on MacOS Xd but good job for the investigation. 
    • small update: dc robe set sold   wts adena 1kk = 1.5$ 
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hood-services https://campsite.bio/utchihaamkt
    • Why adena in this sever so expensive 🙂
  • Topics

×
×
  • Create New...