uff Posted September 19, 2007 Report Share Posted September 19, 2007 (edited) Hi, I was trying to get an account on Mantis to add a comment to a bug but I am now waiting for more than 24 hours and no register email came to me.Is there something wrong with the Mantis or should I wait more ? uff Edited September 21, 2007 by Serge Link to comment Share on other sites More sharing options...
Guest Azrael Strife Posted September 19, 2007 Report Share Posted September 19, 2007 Something wrong with Mantis. Link to comment Share on other sites More sharing options...
uff Posted September 19, 2007 Author Report Share Posted September 19, 2007 Something wrong with Mantis.Oh, not cool.Anyway this may be later removed by a moderator, considers bug 250, crc errors and such stuff.As Serge wrote, such errors may be caused by wrong floating point calculations.While browsing through main.cpp, there is a routine, init_fpu(), which sets a bool variable, fpu_is_ok.The variable is only used once, when a player clicks "connect to internet server" from main menu in the game.However, when a player starts a hot seat game or connects to an internet server by providing login and password in command linethe fpu check is not performed.So now why the double standard ? Or is the init_fpu() routine obsolete and outdated ? Thanks for an answer, Link to comment Share on other sites More sharing options...
Serge Posted September 19, 2007 Report Share Posted September 19, 2007 Something wrong with Mantis.Oh, not cool.Anyway this may be later removed by a moderator, considers bug 250, crc errors and such stuff.As Serge wrote, such errors may be caused by wrong floating point calculations.While browsing through main.cpp, there is a routine, init_fpu(), which sets a bool variable, fpu_is_ok.The variable is only used once, when a player clicks "connect to internet server" from main menu in the game.However, when a player starts a hot seat game or connects to an internet server by providing login and password in command linethe fpu check is not performed.So now why the double standard ? Or is the init_fpu() routine obsolete and outdated ? Thanks for an answer,You can check http://ufo2000.svn.sourceforge.net/viewvc/...0/trunk/HACKING and search for "floating point" to find an explanation. Hotseat is not affected as everything is calculated on the same machine in that case. Missing floating point consistency check when connecting to the server by using just command line arguments is a bug. Anyway, on desktop PC's, this check would almost always pass unless something is terribly miscompiled. Link to comment Share on other sites More sharing options...
uff Posted September 20, 2007 Author Report Share Posted September 20, 2007 You can check http://ufo2000.svn.sourceforge.net/viewvc/...0/trunk/HACKING and search for "floating point" to find an explanation. Hotseat is not affected as everything is calculated on the same machine in that case. Missing floating point consistency check when connecting to the server by using just command line arguments is a bug.Thanks for the answer.Sure, I read the HACKING file. Sadly, the link provided there, in floating point section, is outdated. Link to comment Share on other sites More sharing options...
Serge Posted September 20, 2007 Report Share Posted September 20, 2007 Thanks for the answer.Sure, I read the HACKING file. Sadly, the link provided there, in floating point section, is outdated.googling for "goldberg1.doc" lets us find the same information on a different server quite fast: http://www.litho.ucalgary.ca/opt/SPRO/comm...dberg1.doc.html Link to comment Share on other sites More sharing options...
bamb Posted September 21, 2007 Report Share Posted September 21, 2007 Any ideas why the game uses so much memory? Especially the equip screen seems to be hungry... Link to comment Share on other sites More sharing options...
uff Posted September 21, 2007 Author Report Share Posted September 21, 2007 googling for "goldberg1.doc" lets us find the same information on a different server quite fast: http://www.litho.ucalgary.ca/opt/SPRO/comm...dberg1.doc.htmlAh yes, crap, didn't occur to me to google it this way. Thanks for the pointer. Link to comment Share on other sites More sharing options...
uff Posted September 23, 2007 Author Report Share Posted September 23, 2007 Missing floating point consistency check when connecting to the server by using just command line arguments is a bug.As I can not post on Mantis, I attach the patch file here. It is a small one so easy to checkmain.rar Link to comment Share on other sites More sharing options...
nachtwolf Posted September 27, 2007 Report Share Posted September 27, 2007 (edited) Missing floating point consistency check when connecting to the server by using just command line arguments is a bug.As I can not post on Mantis, I attach the patch file here. It is a small one so easy to check Thanks a lot, I'll review it as soon as I get some spare time. ( ETA 2 weeks) Edited September 27, 2007 by nachtwolf Link to comment Share on other sites More sharing options...
uff Posted September 28, 2007 Author Report Share Posted September 28, 2007 Thanks a lot, I'll review it as soon as I get some spare time. ( ETA 2 weeks)No problem, now I am looking into the credits feature, Mantis no. 542.So far I added a button in the main menu, just before quit button.Now, where to read the credits from ? The AUTHORS file ? My current approach is just to read the file line by line and display in a window.I will just have to figure out how to do a "floating text" window.Any other suggestions ? Link to comment Share on other sites More sharing options...
uff Posted October 3, 2007 Author Report Share Posted October 3, 2007 No problem, now I am looking into the credits feature, Mantis no. 542.Ok I did the credits stuff.Added a button in main menu.Did the flowing credits from the AUTHORS file, they are drawn on menu.jpg There is one small glitch though, when I press a key to get back to the main menu, a small part (1cm x 0.5 cm) of menu.jpg stays where the cursor is placed. When I enter tip of day or options and then return back to main menu again, it is clear and dandy. Maybe some refresh stuff ?I do not know how to handle this. But nevertheless it does not break anything.credits.rar Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now