Author Topic: GUI window crashes--Temporary FIX  (Read 2135 times)

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
GUI window crashes--Temporary FIX
« on: April 11, 2008, 04:46:19 am »
When I am running psclient on my laptop, I've always had a problem where opening up certain windows (for example, Spell Book or Options) would crash psclient.  I've had the problem since 0.3.018 (pretty much since I owned the machine) and I've now found a temporary fix that works for me.  Basically, all I did was remove the background image from the windows I was having problems with, and I did so by removing a certain line from the PAWS XML files that defined these windows.  If anyone else is having a similar problem, feel free to try this out and let me know if it works.  Or if it doesn't.  Furthermore, if anyone finds a more elegant solution to this--and by that I mean one that loads the background images without crashing psclient--please post your solution here.

All files listed are in your PlaneShift install's data/gui/ folder.  Also, make sure you make backups of your files before editing them.

For the Options window, find and remove the following line from configwindow.xml (or comment it out, whatever)
Code: [Select]

<bgimage resource="Config Background" alpha="128"/>



For the List Petitions window, remove the following line from petition.xml
Code: [Select]

<bgimage resource="Petitions Background" alpha="128" />



For the Quest & Events Notebook window, remove the following line from questnotebook.xml
Code: [Select]

<bgimage resource="Quests Background" alpha="128" />



For the Merchant (buying and selling) window, remove the following line from merchant.xml
Code: [Select]

<bgimage resource="Merchant Background" alpha="0" />



For the Spell Book window, remove the following line from spellwindow.xml
Code: [Select]

<bgimage resource="Spellbook Background" alpha="128" />



For the Glyphs window, remove the following line from glyph.xml
Code: [Select]

<bgimage resource="Glyphs Background" alpha="128" />



For the Read Book window, remove the following line from readbook.xml
Code: [Select]

<bgimage resource="ReadBook Background" />



For the Book Writing window, remove the following line from bookwriting.xml
Code: [Select]

<bgimage resource="ReadBook Background" />


On my laptop, I am running Windows Vista Business with an Intel T2060 Dual Core 1.6 GHz (prescott family) processor with 2 GB of RAM and an ATI Mobility Radeon X1400.  I had the same problem with both the official install and my compiled version of psclient on my laptop, and it didn't matter if I built against the default architecture or with -march=prescott.  I've heard of people with Linux who have had a similar problem to what I had.  Namely with dual core systems.

Neko, please please please don't move this thread to Fan Art like you did that other one.
« Last Edit: April 11, 2008, 06:09:24 am by Tuxide »

neko kyouran

  • Guest
Re: GUI window crashes--Temporary FIX
« Reply #1 on: April 11, 2008, 02:56:31 pm »
Quote
Neko, please please please don't move this thread to Fan Art like you did that other one.

If you're referring to Caarrie's, that was a modification to make it look better.  This is a bug fix.  2 different types.  So this one is perfectly fine right here.  :)

ThomPhoenix

  • Testers
  • Forum Addict
  • *
  • Posts: 2678
  • A Phoenix, what'd you expect?
    • View Profile
Re: GUI window crashes--Temporary FIX
« Reply #2 on: April 11, 2008, 03:21:59 pm »
Tuxide, could you please reverse the changes you made to your GUI XMLs and try this instead:
http://hydlaa.com/smf/index.php?topic=32084.msg368421#msg368421

I think it will fix your issues in a better way. Please try!
Also, regardless of if it works or not, could you post what graphics card you have?
« Last Edit: April 11, 2008, 03:24:48 pm by ThomPhoenix »
We're not evil. We're simply amazing.

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: GUI window crashes--Temporary FIX
« Reply #3 on: April 12, 2008, 12:11:00 am »
ThomPhoenix:  I already did, it's an ATI Mobility Radeon X1400.  I saw your solution earlier and applied your change to my gldrivers.xml, it didn't work for me.  I just tested it too and it still doesn't.

hosk

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
Re: GUI window crashes--Temporary FIX
« Reply #4 on: August 12, 2008, 05:28:08 am »
This solution worked for me. I take the background image of whatever window happens to cause my client to crash and I'm good to go. If I get some time I might want to investigate said background images and see if anything is wrong with them.