PenUltima Online

It is currently Fri Sep 05, 2008 10:16 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: A few name questions...
PostPosted: Tue Jul 08, 2008 8:45 pm 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
1. I want to be able to have multiple lined names, mainly for staff so it would be something like:
Seer
Johnny
On separate lines

2. I want to, somehow, make it so the staff member's name is changed automatically to something like
Seer
Johnny(See #1)

So it says Seer automatically, or gm, etc.


Oh, and
3. I want to be able to color part of names

I don't want this script made for me, I just need some directions as to how to start =/


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 11, 2008 2:26 am 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 747
Location: Chicago, IL USA
What you would have to do is do a packethook for the SendAscii packet (0x1C). You can intercept the packet and compare to see if it is the person's name. After confirming it is, just grab their cmdlevel, create another SendAscii packet, send the cmdlevel name, and then have POL send the original packet after that.

SendAscii also sends what font and color to use.


Last edited by CWO on Sat Jul 12, 2008 7:02 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 11, 2008 8:46 am 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
Nvm


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 12, 2008 7:03 am 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 747
Location: Chicago, IL USA
Fixed the first sentence of my post anyway in case you or anyone needs it. I tried to link to the SendAscii packet on the POL packets documentation but it seems it didn't work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: MSN [Bot] and 0 guests


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 © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl