Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 03:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Way to close any open NPC Dialogs

Discussion on Way to close any open NPC Dialogs within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2011
Posts: 96
Received Thanks: 76
Way to close any open NPC Dialogs

Hello,

I've been curious if there's a packet or a trick that I can send/do to client to close any NPC dialogs they have currently open or is that has to be closed by the client?
Latyos is offline  
Old 10/16/2021, 10:31   #2

 
elite*gold: 0
Join Date: Nov 2018
Posts: 178
Received Thanks: 48
Redacted Post
tehpwnerer69 is offline  
Old 10/23/2021, 16:08   #3
 
Yupmoh's Avatar
 
elite*gold: 26
Join Date: Jul 2011
Posts: 522
Received Thanks: 285
Quote:
Originally Posted by Latyos View Post
Hello,

I've been curious if there's a packet or a trick that I can send/do to client to close any NPC dialogs they have currently open or is that has to be closed by the client?
For older clients you can just hook it (as in a full close dialogue) however for newer clients the ESC button closes out open dialogues afaik so maybe you can look for a button trigger perhaps?

Just thought I'd let you know what my initial thoughts were thinking about this.
Yupmoh is offline  
Thanks
1 User
Old 10/24/2021, 17:56   #4
 
elite*gold: 52
Join Date: Jul 2008
Posts: 50
Received Thanks: 15
The easiest way to hide the NPC dialog via server packet is to patch an existing (unused) hide window action via the MsgAction packet which does not require any hooking.

I'll be using client version 5579 as a reference:

MsgAction[Offset 4 = 116][Offset 8 = 3608] packet.

[Offset 8 = 3608] would normally hide the DowngradeEquipment window but instead we'll change the offset to hide the Npc dialog. You can use any other type as long as it hides a window.



We need to find the address offset for the CDlgTask which is a property in the CMyShellDlg class. In 5579 the CDlgTask offset is 0x1a6c90.

After we patch the client, sending MsgAction[Offset 4 = 116][Offset 8 = 3608] hides the task dialog window.

Relic is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
//CLOSE //CLOSE //CLOSE //CLOSE //CLOSE //CLOSE
10/27/2013 - elite*gold Trading - 1 Replies
//ERSTMAL CLOSED!
Aion dialogs texts
03/29/2013 - Aion Private Server - 0 Replies
Hi guys Anybody can help me how edit aion html dialogs files
Famous dialogs of those who don't have money
04/16/2011 - RFO Hacks, Bots, Cheats, Exploits & Guides - 11 Replies
1. i got scammed twice already so please teach me 1st then i pay (wag paawa epek d tatalab) 2. thats only edited (ikw kea gumawa tignan natin d k mahirap s pag tuklas) 3. i have money but your cheat is fake... (may pera k pla ehh kung tlgang buyer k wla n satsat pa nakita mo n ung proofs ehh) 4. its for private use only (fck you its very impossible that you will use it on your own coz somewhere in between you will still sell items ingame so stfu and don't tell us that its for private use...
Dialogs
04/05/2011 - CO2 Private Server - 6 Replies
Okay I'm Up to a problem. I don't have much coding experience, either Conquer Experience. I Can't write any letters to that box.. Dunno why... What Packet is used for that? http://i989.photobucket.com/albums/af15/RockArch/ 16378551.jpg?t=1302020796



All times are GMT +1. The time now is 03:28.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.