Jump to content
Sign in to follow this  
Ishad Nha

Tool Tip Crash

Recommended Posts

A Tool Tip Crash is caused by Composite Long Bows and looking for their Tool Tip label. Ditto Harmonium Halberd. If Tool Tip Delay is raised to the maximum value, crash does not happen.
Most items are not affected by this problem, so far it is only these two. It does not affect the item's information screen. (So far the party has a fairly limited inventory, so it may be caused by other items too for all I know.)
Crash is immediate, there are no warning messages on the console. GemRB.log seems to give no clues either.
It was not a problem in the original game. Nor is it due to a mod as far as I can tell.

It affects both of:
GemRB-nmake-vs10-v0.8.1-23-gcbfa777
GemRB-win32-v0.8.1-8-gf897b35
My computer uses Windows XP, SP3.

Share this post


Link to post

Can you be more specific on how to reproduce this? I've created a normal composite bow (bow01) and the halberd (wa2halb), yet there's no problems with the tooltip.

Share this post


Link to post

It may just be a fault on my computer.

When the Tool Tip delay is at a minimum, when I am in the Inventory screen, any attempt to move the cursor near the bow/halberd causes the crash. Moving the cursor would display the tool tip with the name for the bow/halberd, it seems the game can't display the tool tip.

Share this post


Link to post

Nope, even with instant tooltips (Tooltips = 0) I don't get a crash. Can you post a gdb backtrace?

Share this post


Link to post

I don't know what a backtrace is, I only have the GemRB log which shows nothing at all.

It is only the Tool Tips, I can safely sell the item at a shop with no problems.

Share this post


Link to post

He is on WinXP, so i guess, gdb backtrace is difficult to get. This is probably caused by the length of the tooltip text? Can you mod the item's name to something shorter (temporarily)?

Edited by Avenger

Share this post


Link to post

Length should be it but the Epic Endeavors "Army Issue Short Bow" is no problem!?

I will find the time to mod the item's name.

Share this post


Link to post

Maybe there's a problem in the windows build. On the same save I tested with, the char has the bracers of extraordinary specialization and Jan has his custom-named bolts. Both names are longer and don't even fully fit into the tooltip background, yet no crashes.

 

Odd indeed!

Share this post


Link to post

A couple of things you can try:

  1. Edit the fonts.2da text file for whichever game you are playing and try changing all the "tool" fonts to something like "normal"
  2. try a build built from the font-rewrite branch

Share this post


Link to post

Changing name of Composite Long Bow to "Short Bow" made the problem go away?!
I will look at the fonts then.

I altered the Fonts.2da file as follows:
9 TOOLFONT 1 NORMAL 14 0 0xffffffff
11 TOOLTIP 1 NORMAL 14 0 0xffffffff
Now the Tool Tip display is blank, it shows no letters at all. But neither does it crash. Right-clicking will still show the full information screen.

Edited by Ishad Nha

Share this post


Link to post

oh, master branch wont let you mess with the palette on tooltips this way, so instead open the gemrb.ini file in the same directory as the fonts.2da and change TooltipFont to NORMAL. you may also need to change the color settings for tooltips in gemrb.ini to something like 0xffffffff

Share this post


Link to post
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...