Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (LucasJoshua), 16,217 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Once again an foolish question :-( #303560
12/29/09 22:35
12/29/09 22:35
Joined: Mar 2007
Posts: 112
MikeS Offline OP
Member
MikeS  Offline OP
Member

Joined: Mar 2007
Posts: 112
Ok, my problem is, the longer my script runs, the slower become my fps.

After clicking 2 times F11, i see the datas inside the engine.

Unter collumn count of: there is an position fnc

Am i right, this position counts the running functions?
and if this number is increasing fast and linear, i have a function, which is called new each frame, and running in loooot of instances?

Greetings

Mike


K, problem solved, it was a function which was called through an while loop.



Last edited by MikeS; 12/31/09 00:01.
Re: Once again an foolish question :-( [Re: MikeS] #303837
01/02/10 18:55
01/02/10 18:55
Joined: Sep 2003
Posts: 733
Whitefish, Montana
JazzDude Offline
User
JazzDude  Offline
User

Joined: Sep 2003
Posts: 733
Whitefish, Montana
Try putting

proc_kill(4);

at the start of the function which is the problem.

Re: Once again an foolish question :-( [Re: JazzDude] #303840
01/02/10 19:43
01/02/10 19:43
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Chances are, you have a function running a loop that is calling other functions that also have loops in them, and the functions are piling up and not ending.

Make sure that you aren't using more loops than you need. I used to have this problem, too.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Once again an foolish question :-( [Re: Redeemer] #303843
01/02/10 20:33
01/02/10 20:33
Joined: Mar 2009
Posts: 40
DR_Black Offline
Newbie
DR_Black  Offline
Newbie

Joined: Mar 2009
Posts: 40
As Redeemer said , It seems you have a function that contains an endless loop and you call this function in another (endless) loop.
Check all loops in your code and when you find bad one you can either delete it or use proc_kill(4); (thanks to JazzDude)


every body got some dues in life to pay

Moderated by  HeelX, rvL_eXile 

Gamestudio download | 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