Author | Message |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1088] do not know where is the bug - posted: 2012-05-13 19:36:53 Hi , i really did not know the bug in the next function Code:
StringFPS variable is always hold a fiexd string as '!@' any help please. http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1089] - posted: 2012-05-13 19:44:16 Code:
='FPS %d'; is a pointer try Code:
then pass it directly without @ alternatively Code:
Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1090] - posted: 2012-05-13 19:51:44 btw you could probably do a better job without using wsprintf Code:
something like this. Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1091] - posted: 2012-05-13 19:51:48 ok it works. but seems there is a logical bug in that function because it always hold '1' , it should hold the frame per second of the animation. http://www.freewebs.com/ogremagic/index.htm |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1092] - posted: 2012-05-13 19:54:12 LastTime = Eax; this is it probably, since eax already has sub the lasttime etc, it is no longer gettickcount value Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Admin Site Admin (send private message) Posts: 933 Topics: 55 Location: OverHertz Studio | [1093] - posted: 2012-05-13 19:56:53 try Code:
Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1094] - posted: 2012-05-13 20:01:45 ok , thanks here is the correct one Code:
http://www.freewebs.com/ogremagic/index.htm |
Emil_halim Ziron Beta Tester (send private message) Posts: 639 Topics: 104 Location: Alex, Egypt | [1095] - posted: 2012-05-13 20:13:30 there is an other bug here. the string is growing after each second for example Code:
http://www.freewebs.com/ogremagic/index.htm |
Currently Active Users: There are currently 7 user(s) online. 0 member(s) and 7 guest(s) Most users ever online was 1046, January 28, 2022, 2:08 pm. Statistics: Threads: 225 | Posts: 1848 | Members: 51 | Active Members: 51 Welcome to our newest member, yecate |