 |
| Welcome |
|
|
It is very likely that this forum will be discontinued in favor of the current alternate forums. Since this is a free forum, I do not control much about it and believe it or not, there are more helpful people in the alternative forums. By switching, there will be only one forum and a more active user base that actually helps me answer questions. It is preferred that new topics are started there instead of here. |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
Frank_Harmann
Joined: 10 Mar 2008 Posts: 44
 |
Posted: Thu Apr 10, 2008 1:54 am Post subject: |
 |
|
Thanks Aditu,
i just fire a background thread now which notifies the main thread when hooking is finished. Was easier to implement then i thought and works like a charm,-)
Still on schedule for a first release this weekend  . Did my first raid yesterday using the plugin.
It will just be an early release to get some feedback regarding:
- does it run on other platforms (only using Vista64 for testing here)
- performance/stability (after some nice memory leaks both should be fine now  )
- look/feel (open for any suggestion how to pimp up the look,)
- feature requests (attach a reasonable amount of platin and i will see what i can do  Basically, now that the hooking works, i can display any information on screen[from ACT or from outside ACT])
These function will probably not make it into the first release:
- drawing a timer bar (code is in but i face some directx problems i have to look into)
- text flashing (easily done, just short on time)
Frank
P.S.: I have one enhancement request for ACT. I miss a field for storing some information about Timers (like "damage type","mana-drain" ...). I like to have this information available because i can't remember every timer. What i currently do (and which is also available in the overlay  ) is to misuse the "timer start sound" field for that info (cause it basically stores any string). That's not a clean solution, so i would prefer having an additional "info field" for a timer.
|
|
| |
|
|
|
 |
 |
 |
 |
 |
Aditu Site Admin

Joined: 27 Nov 2007 Posts: 302
 |
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
Frank_Harmann
Joined: 10 Mar 2008 Posts: 44
 |
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
Aditu Site Admin

Joined: 27 Nov 2007 Posts: 302
 |
Posted: Tue Apr 15, 2008 2:22 pm Post subject: |
 |
|
I don't see what's so hard about getting a string per player...
| Code: |
string export = GetTextExport(encounter, formatting, arial, 25);
string[] exportLines = export.Split(new char[] { '\n' }, StringSplitOptions.RemoveEmptyEntries); |
The above code will give you the export for encounter, according to formatting, tabulate the columns according to the character widths of arial and give you a maximum of 25 returned lines. Then split the export per new line into a string array.
| Quote: |
| Btw, do you know if it is possible to get the order of the allies like they are listed in the raidwindow? My original idea was to prefix(or so) each member in the raid window with his mini-window data (dps f.e.), but that of course would require that order. |
You may need to explain this one a bit better. You can specify the sorting order in formatting, but I have a feeling that's not quite what you mean.
|
|
| |
|
|
|
 |
 |
 |
 |
 |
Frank_Harmann
Joined: 10 Mar 2008 Posts: 44
 |
Posted: Wed Apr 16, 2008 2:07 am Post subject: |
 |
|
Oh, thanks Aditu. I didn't recognize that splitting up the resulting string per player is easy as that  (though to relate each resulting string to a player requires that his name is in the generated string itself [that depends on the formatting options i think)
Regarding the second question, i just search for an idea do get the order of the raid like it is shown in eq2's raid window (that has nothing to do with ACT itself). If i could get that order i could prefix each name in the raid window with f.e. it's dps. Unfortunately i don't see any way to get that order 
|
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
Frank_Harmann
Joined: 10 Mar 2008 Posts: 44
 |
Posted: Wed Apr 16, 2008 8:01 am Post subject: |
 |
|
Ah, thanks, didn't know that command  . I will have to think how far this info will get me (too bad i can't get infos about the free places. Or is there by chance something like /whoraid 1 to get only the names of group 1).
If i can't get infos about the free places, i still have one very ugly method in mind how to get the positions of the player names in the raid window, but therefor i would have to intercept each font->Draw call and check it against the names in the list i got from /whoraid. The correct position could then be computed by using only that matches that have the same x position (if using a vertical aligned raid wiindow), because the names will probably be drawn to the screen more then once (chat windows etc.).
This sounds a bit like an overkill, so i will think a bit longer and probably start with just copying your mini-window to the d3d screen.
My old code for that was a framerate killer but doing the copies and texture generations outside the EndScene hook should eliminate that problem (still looking for a better method then Hbitmap of your window->bmp structure in shared memory->createTextureFromFileInMemoryEx).
I am also thinking about installing a keyboard/mouse hook to allow dragging the window around or to implement an overlay menu, but currently that's all just plans for some time in the future as my time is rather limited in the moment.)
Did you already found time to have a look at the current version (1.0.0.0)? If it's ok, i would like to release this version as it is (spell timer overlay only), because i don't know when i will find time to add new features and feedback would probably show me what is needed most(if anybody will use it at all  ).
Frank
|
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
|
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 vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
 Community Chest
|
|
 |