wonky mouse

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Re: wonky mouse

Postby loftar » Wed Jun 24, 2009 7:11 pm

I had been looking for this thread, trying to answer it, but I couldn't find it. Thanks for bumping it. :)

Actually, the weird thing is that the values you told me do reflect that it's running plainly slow. I find it weird because your hardware should, by all accounts, be better then mine (I have an AMD Athlon64 X2 2.2 GHz, and a GeForce 7300 GS, and am also running a 32 bit OS), and it's running perfectly fast for me, even with the screen full of crops.

What you write about it running fine "for like 5 seconds, then the fans start like crazy and everything slows down", does seem indicative to me of a clogged air channel in your laptop. (It is a laptop, right? I assumed so the you said you have a GeForce M graphics card.) Jorb's laptop also had that kind of problem, where the vent was clogged with dust, and it, too, would run fine in the beginning and then slow down with the fans running like crazy. After I disassembled it and declogged the vent, it ran perfectly well. My theory is that the CPU and/or GPU, sensing that they were too hot, scaled down their operating frequencies in order not to overheat. I know it kinda seems like cheating to blame it on the hardware, but it does sound like that to me.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: wonky mouse

Postby kimya » Wed Jun 24, 2009 10:23 pm

yeah i thought about that possibility too. sounds logic aswell. im just wondering why it would need so so much power? like, when im playing crysis, i get decent grafics (lil below "average") without lagging. and its weird, cause the cpu usage isnt more than 50% (h&h). why would it get so hot then? maybe the gpu is working like crazy...
my notebook is standing on the table and its wuite new - no more than 4 months. i doubt the fans are very dirty.
but ill experiment with it. ill put it on top of some books , that way the fans get cold air better, and ill have a look at the fans and clean them.

thank you loftar!
kimya
 
Posts: 845
Joined: Mon Jun 01, 2009 1:35 am

Re: wonky mouse

Postby kimya » Sun Jul 05, 2009 1:46 am

so, i cleaned my (almost NEW!!) fan and it was a shitload of dust in it. so now the games running faster, but still its lagging too much for my taste. dunno whats wrong with it. we'll see... maybe its because of the summer. im waiting for winter now to test it hehe
kimya
 
Posts: 845
Joined: Mon Jun 01, 2009 1:35 am

Re: wonky mouse

Postby theTrav » Tue Jul 07, 2009 1:25 am

I've also noticed the mouse acting funny, as though the motion was tied to the frame rate.
This shouldn't have to be the case code wise, it'd probably be a big improvement to the interface if it wasn't
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: wonky mouse

Postby Malicus » Tue Jul 07, 2009 1:39 am

Anyway, I've also noticed this after having relogged several times without restarting the client.
Malicus
 
Posts: 333
Joined: Sat May 30, 2009 5:01 am

Re: wonky mouse

Postby loftar » Tue Jul 07, 2009 2:23 am

theTrav wrote:This shouldn't have to be the case code wise, it'd probably be a big improvement to the interface if it wasn't

Indeed, it shouldn't have to be the case -- it is possible to ask AWT to create a custom cursor and use it, but for some reason, when I'm doing that, it will only give me a cursor with two colors (and transparency), which looks like crap when used with our current cursor sprites. If anyone knows of any pointers on how to avoid that, please feel free to share them.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: wonky mouse

Postby Ferinex » Tue Jul 07, 2009 4:10 am

loftar wrote:
theTrav wrote:This shouldn't have to be the case code wise, it'd probably be a big improvement to the interface if it wasn't

Indeed, it shouldn't have to be the case -- it is possible to ask AWT to create a custom cursor and use it, but for some reason, when I'm doing that, it will only give me a cursor with two colors (and transparency), which looks like crap when used with our current cursor sprites. If anyone knows of any pointers on how to avoid that, please feel free to share them.


Could you stick this crappy looking way in as a console command option? It would be a nice placeholder for those that get slow framerates. My other, older computer gets absolutely horrible performance in Haven even though it's a 2.3GHz P4 with half a megabyte of RAM. Using the mouse pointer is next to impossible, and makes the game unplayable. A good look through the code to increase performance would make for a nice update, especially if you threw in some new content too for those that do not have performance problems :)
i guess they never miss huh
User avatar
Ferinex
 
Posts: 1040
Joined: Sun May 31, 2009 9:05 am
Location: Miami

Re: wonky mouse

Postby Blaze » Tue Jul 07, 2009 4:16 am

Ferinex wrote:Could you stick this crappy looking way in as a console command option? It would be a nice placeholder for those that get slow framerates. My other, older computer gets absolutely horrible performance in Haven even though it's a 2.3GHz P4 with >>>half a megabyte of RAM<<<. Using the mouse pointer is next to impossible, and makes the game unplayable. A good look through the code to increase performance would make for a nice update, especially if you threw in some new content too for those that do not have performance problems :)


Good lord, how does that thing even run?

Back on topic: Can you find out what's causing the lag with all the plants? Is it like the moving grass lag in Oblivion?
You see a masterful engraving by Blaze. On it is Blaze, bears, boars, and foxes. Blaze is striking down the bears. The boars are screaming. The foxes are in a fetal position. The image relates to the return of Blaze in the late winter of 2009.
User avatar
Blaze
 
Posts: 1072
Joined: Sun May 31, 2009 3:59 am
Location: Hearth

Re: wonky mouse

Postby theTrav » Tue Jul 07, 2009 5:01 am

loftar wrote:If anyone knows of any pointers on how to avoid that, please feel free to share them.


I asked at my usual place: http://stackoverflow.com/questions/1090080/how-do-i-use-more-than-two-colors-using-and-awt-hardware-cursor

One answer is that there may be a toolkit that lets you use more than 2 colours.

One work around is to create a hardware mouse with 100% transparency, create a mouse listener to receive position updates and then draw the pretty colored cursor manually.
It won't be quite as smooth visually as a mouse that's entirely hardware, however it'll move about with the same smoothness as a hardware mouse does.


P.S. Nag about opening up the UI code so you can spend more time doing the server side stuff.
If Jorb's worried about his graphics you don't even have to release the resource jars
User avatar
theTrav
 
Posts: 3464
Joined: Fri May 29, 2009 11:25 pm

Re: wonky mouse

Postby Ferinex » Tue Jul 07, 2009 5:13 am

Blaze: I was thinking '512 megabytes' and typing 'half a gigabyte'. It got lost in translation I guess :P
i guess they never miss huh
User avatar
Ferinex
 
Posts: 1040
Joined: Sun May 31, 2009 9:05 am
Location: Miami

PreviousNext

Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot] and 2 guests