Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Impossible to print a variable !

Author
Message
Serge Adjo
19
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 11th May 2010 21:33
hi everybody, I wrote a program of more than 2100 lines of code... the problem is that some things works and other don't ! the new and latest thing that dont work is: 'printing a variable'

If the program don't print the variable, it will work rather correctly...than badly, beacause I comment the line that print the variable:


BUT if don't comment this line :


the program will crash after blocking a long time !
note that these two lines of code are placed in a 2000 lines program... I have noticed that many things that worked yesterday won't work today even when nothing changed ! In my opinion DBP is unpredictable, and it don't help the programmer !
take a look at this :
http://forum.thegamecreators.com/?m=forum_view&t=169885&b=10
the thread is locked because it is in the wrong board BUT the problem highlighted is serious, true...

what do you think about this serious problem, is there a solution or an update that would fix it ?


Madscientist
16
Years of Service
User Offline
Joined: 23rd Aug 2009
Location: Between a rock and a hard place
Posted: 11th May 2010 22:05
You could try using the text command so it would be


If it hasn't exploded yet, I haven't touched it.
Serge Adjo
19
Years of Service
User Offline
Joined: 3rd Aug 2006
Location:
Posted: 11th May 2010 22:25 Edited at: 11th May 2010 23:18
@Madscientist, using text command, another problem arise ! :
This don't work for me:

this works:


frustrating, the only difference is 'score:'
it seems like the bigger the code is... more you get insuperable difficulties !

EDIT:
This works:


this don't work:


this don't work : hiding an object when an entity can't fire:


this don't work and crash: the same thing differently:


James H
19
Years of Service
User Offline
Joined: 21st Apr 2007
Location: St Helens
Posted: 12th May 2010 03:30
Very odd behaviour indeed. What you really need to do is provide a snippet we can compile that reproduces the errors. Your using Dark AI I pressume? Consider producing a snippet without the use of Dark AI. This alone should determine if the issue lies within DBP or the Dark AI plugin. In addition to this; are you utilising any other plugins with your current code? Many users here probably have code just as lengthy if not longer, yet nobody seems to have reported the same issue. It could also benefit if you were to tell us what version of DBP you have installed.

Login to post a reply

Server time is: 2026-07-26 04:28:14
Your offset time is: 2026-07-26 04:28:14