Yoko

All sides of Injection
It is currently 2017-10-24 09:40:41

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: Input Text Reply
PostPosted: 2007-06-24 21:33:08 
Offline

Joined: 2007-06-24 21:17:46
Posts: 3
think its a easy feature to be implemented, its used in some pol shards.

packet from server:
Code:
- 000818734+0016 --- server Text Input Dialog
0000: ab 00 46 00 54 72 52 00 00 00 32 51 75 61 6e 74 : ..F.TrR...2How M
0010: 6f 73 20 69 74 65 6d 73 20 64 65 73 73 65 20 74 : any Items would y
0020: 69 70 6f 20 76 6f 63 65 20 71 75 65 72 20 66 61 : ou like to Make ?
0030: 7a 65 72 3f 28 4d 61 78 20 31 30 29 00 28 01 00 : (Maximum 10).(..
0040: 00 00 28 00 01 00 -- -- -- -- -- -- -- -- -- -- : ..(...
>>>Received packet len=122 >> 120 bytes

(the hex text differs from the ascii because ive translated the text. but the core of the packet isnt touched)

and the client reply:
Code:
- 000821671+0078 --- client Text Input Reply
0000: ac 00 0f 00 54 72 52 00 00 01 00 03 31 30 00 -- : ....TrR.....10.
>>>Received packet len=15 >> 17 bytes


well seems that yoko already have a handler for this packet, what we need now is a command like ongump().
Code:
uo.onInputText("withtext","How many Items would you Like..","10");

thanks.
[/code]


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited