EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Interface Discussion > Pre-Beta

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-06-2007, 11:01 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default Adding /who to the tracking window -- a kludge

I think the second most requested thing on the forums is adding a /who button to the tracking window. The first was, "Why is my XP going down sometimes?" Since we finally got a fix for that problem I thought I would tackle the /who problem.

I'd read that the names available have color text attached to them but I had never seen a working example of this. After a couple searches I found that the big breakthrough was made by Deiussum in this thread. The key was you need to create a custom row template file and ask the Datasource for $value$ instead of $text$. Does anyone know any more about how these templates work?

Since I didn't see any working examples I had to put one together myself or at least break something trying!

After following what Deiussum posted I tried copying the name into a text box and ended up with this kludge window. It does work but it takes a few steps to use so it may be faster sometimes just to type /who charactername anyway.



1. Click the dropdown menu and choose a name.
2. Click in the text box that appears.
3. Press Home then Backspace on your keyboard. (This deletes the color information from the text field.)
4. Press Enter on your keyboard or click the "who" button.

The filters at the top of the window work ok, which helps a little, but clicking the sort button (actually the TableHeader where it says "Name") doesn't sort the dropdown menu. The Table.SelectedRow only matches the Dropdownbox.SelectedItemIndex when you use the default sorting order (sort by distance.) The menu can be really long if you choose to show everything so for PvP purposes you probably want to show PC Only.

The two major problems are still there. You have to use a dropdown menu instead of just clicking in the table of names and you have to manually delete the color from the text field. But, if anyone wants to try the window out or test any ideas it's a good starting place.

(Oops, those original xml files used a custom font from a different UI mod so the text may not have shown up. These files should work now!)
Attached Files
File Type: zip Othesus tracking kludge with who 6-14-2007.zip (3.5 KB, 977 views)

Last edited by Othesus : 06-14-2007 at 05:05 PM.
Reply With Quote
  #2  
Unread 06-14-2007, 03:57 PM
DougGG DougGG is offline
A Young Mystail Rat
 
Join Date: Oct 2005
Server: Antonia Bayle
Posts: 3
Default

I saw a post previously stating its impossible to pull the name from the tracking list. because you would get the color code of the name aswell as the information. if thats correct why not add a function that has all the possible colors and remove them if copyed then posted.

Quote:
Originally Posted by Othesus View Post
I think the second most requested thing on the forums is adding a /who button to the tracking window. The first was, "Why is my XP going down sometimes?" Since we finally got a fix for that problem I thought I would tackle the /who problem.

I'd read that the names available have color text attached to them but I had never seen a working example of this. After a couple searches I found that the big breakthrough was made by Deiussum in this thread. The key was you need to create a custom row template file and ask the Datasource for $value$ instead of $text$. Does anyone know any more about how these templates work?

Since I didn't see any working examples I had to put one together myself or at least break something trying!

After following what Deiussum posted I tried copying the name into a text box and ended up with this kludge window. It does work but it takes a few steps to use so it may be faster sometimes just to type /who charactername anyway.



1. Click the dropdown menu and choose a name.
2. Click in the text box that appears.
3. Press Home then Backspace on your keyboard. (This deletes the color information from the text field.)
4. Press Enter on your keyboard or click the "who" button.

The filters at the top of the window work ok, which helps a little, but clicking the sort button (actually the TableHeader where it says "Name") doesn't sort the dropdown menu. The Table.SelectedRow only matches the Dropdownbox.SelectedItemIndex when you use the default sorting order (sort by distance.) The menu can be really long if you choose to show everything so for PvP purposes you probably want to show PC Only.

The two major problems are still there. You have to use a dropdown menu instead of just clicking in the table of names and you have to manually delete the color from the text field. But, if anyone wants to try the window out or test any ideas it's a good starting place.
Reply With Quote
  #3  
Unread 06-14-2007, 04:22 PM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

You can read a bit more discussion here:
http://www.eq2interface.com/forums/s...ead.php?t=6922

or here:
http://www.eq2interface.com/forums/s...ead.php?t=7602

or here:
http://www.eq2interface.com/forums/s...ead.php?t=6691
Reply With Quote
  #4  
Unread 06-14-2007, 06:37 PM
DougGG DougGG is offline
A Young Mystail Rat
 
Join Date: Oct 2005
Server: Antonia Bayle
Posts: 3
Default Would you mind..

i cant find well i can find it a bit but i would like to know a bit more indepth on how that command pulls the name from the list.

i think this is what does it. if not could u point it out to me, Also ezer way to do this i think would be to remove the /who button or dont even use it at the moment since u have to use the backspace and home stuff u might aswell use the drop down once u picked a name drop a space in the front of the name and then hit enter. Faster that way.

Unless this is why i wanna know how it added the name so i can maybe play with some little scripts and add afew things and stuff to see if somthing works

Quote:
<DataSourceContainer Name="TableDSContainer">
<DataSource label=":30ce89b701ee2ec7:Name" Name="NameDS" type="text">
<Data Name="New Data" value="\#FF0000[DEVL]Test1"/>
<Data Name="New Data" value="\#00FFFF[DEVL]Test2"/>
</DataSource>
</DataSourceContainer>
<TableModelDefault DataSourceContainer="TableDSContainer" Name="TableModel" />
Reply With Quote
  #5  
Unread 06-14-2007, 11:38 PM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default

Sorry, I don't really understand what you're asking.
Reply With Quote
  #6  
Unread 06-15-2007, 05:07 AM
DougGG DougGG is offline
A Young Mystail Rat
 
Join Date: Oct 2005
Server: Antonia Bayle
Posts: 3
Default

how does the dropdown text box list the names how does it call the names into the list wat is the code
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:55 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI