Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TedMar, AndrewAMD), 1,067 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Debuger lag #241650
12/17/08 21:25
12/17/08 21:25
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
My Debuger runs the Programms with 1 FPS. Everytime I click debug it slowly builds Frame by Frame and my same computer works in this speed too. But with the normal Compiling everything works fine. What is the Problem?

My Version:
GS7 Extra V 7.60
My PC:

Intel Q6600 Quad @ 2,4 GhZ
2GB RAM
ATI Radoen HD 3800
Windows XP SP 3

P.S. Why works "#incldude <default.c>" and "#include <Acknex.h>" not anymore. It Pops up the "No c code in .wdl scripts" it worked fine before. If I put it in the Folder an make "include "default.c" " it gives me hundrets of Errors in the Script. Please Help





Last edited by Nicotin; 12/17/08 21:26.


Re: Debuger lag [Re: Nicotin] #241654
12/17/08 21:42
12/17/08 21:42
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
for second question make sure you save your file as .c(you have to add extension by handi its wdl by default.)

and in acknex.h a is small.


3333333333
Re: Debuger lag [Re: Quad] #241702
12/18/08 10:04
12/18/08 10:04
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
But if I change it to .c half of my codes don't work anymore. Like "my.Pan" it says "'Pan' is not a member of ENTITY"



Re: Debuger lag [Re: Nicotin] #241705
12/18/08 10:22
12/18/08 10:22
Joined: Apr 2007
Posts: 582
Germany
Poison Offline
User
Poison  Offline
User

Joined: Apr 2007
Posts: 582
Germany
Sure, Lite-c is "case sensitive", therefore you have to write "Pan" small like this: "my.pan = n;"


Everything is possible, just Do it!
Re: Debuger lag [Re: Poison] #241710
12/18/08 10:52
12/18/08 10:52
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
First make sure that your code compiles and runs at all. Only then you can start debugging.

But even before that, make up your mind in which language you want to write your code. From your post I get the impression that you have a mix of .c and .wdl. That won't work. You must decide which language to use - for beginners, I suggest lite-C. Start with the lite-C tutorial to make yourself familiar with the basics of programming and debugging.

If you did all this and then still have an FPS problems with debugging a .c program, please post a bug report which details about your problem, and include the code or a link to the project. Then we can look into the issue.

- Moved to the starting forum.

Re: Debuger lag [Re: jcl] #241869
12/19/08 15:47
12/19/08 15:47
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
Okay, now I'm pretty sure that it is a Bug and not a problem of the code. Then as the problem occured again I tryed it on a simple Script:

function main()
{
level_load("level.wmb");
wait(3);

}

This is ALL the script, it isn't really much that could make such a lag is it?

And still the Debuger makes 1 FPS and my same PC lags. Like I sayed before the normal compiling works fine!
I made a video so you can see better what exactly is the problem:
http://de.youtube.com/watch?v=Pn4umgkm2FE

As you see. After closing the window my mouse and all runs fluid again. And I don't think it is a Problem with my hardware.

I at least I hope it

Thanks.

Last edited by Nicotin; 12/19/08 15:50.


Re: Debuger lag [Re: Nicotin] #241871
12/19/08 16:17
12/19/08 16:17
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
it works fine for me?


3333333333
Re: Debuger lag [Re: Quad] #241874
12/19/08 16:48
12/19/08 16:48
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
What, yeah it runs. but you can see that it laggs like hell. When it starts and when I move the mouse around. But if I closes it my mouse moves normal again.
Did you actually watch the Vid?^^

Last edited by Nicotin; 12/19/08 16:51.


Re: Debuger lag [Re: Nicotin] #241875
12/19/08 16:54
12/19/08 16:54
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
i watched the vid.

i meant i dont have any lag problem with debugger by "works"


3333333333
Re: Debuger lag [Re: Quad] #241876
12/19/08 16:56
12/19/08 16:56
Joined: Jul 2008
Posts: 170
Germany, near Mainz
Nicotin Offline OP
Member
Nicotin  Offline OP
Member

Joined: Jul 2008
Posts: 170
Germany, near Mainz
Oh, okay. Yeah I ´can't find this problem in the forum. So I think it's a unique problem?



Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1