Dialogs

04/05/2011 18:27 iStefan#1
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?

[Only registered and activated users can see links. Click Here To Register...]
04/05/2011 19:04 Korvacs#2
An npc dialog packet, with a string attached.
04/05/2011 19:28 iStefan#3
Quote:
Originally Posted by Korvacs View Post
An npc dialog packet, with a string attached.
#edit
Okay Let me make this clear.
I can manage to spawn that, But I Can't write on it.
04/05/2011 19:44 -impulse-#4
Quote:
Originally Posted by iStefan View Post
#edit
Okay Let me make this clear.
I can manage to spawn that, But I Can't write on it.
You mean you don't know how to handle the input from the client?
04/05/2011 20:00 Korvacs#5
Quote:
Originally Posted by iStefan View Post
#edit
Okay Let me make this clear.
I can manage to spawn that, But I Can't write on it.
Okay, let me make this clear...

When you click the button to submit the data, the packet you receive is an npc dialog packet which also contains a string.
04/05/2011 20:00 .Kinshi#6
You can specify the max length of characters players can write in it with the packet you send to show it. Maybe that's making it so you can't type in it?
04/05/2011 20:30 iStefan#7
Quote:
Originally Posted by .Kinshi View Post
You can specify the max length of characters players can write in it with the packet you send to show it. Maybe that's making it so you can't type in it?
That's a good idea. My Current Max Length is 14.