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 / Patch3 adds new bugs?

Author
Message
A_I
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 26th Nov 2002 20:17
My project does not compile after patch3.
I get the error message:

#100047:Both user defined type values must use the same type at line ###.

I think I found the problem. User defined types don't work properly INSIDE FUNCTIONS (they did before the patch).

Here is an example of a short code that creates the same error:



Does it compile on your machine (after patch 3) ?
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 26th Nov 2002 20:24
There's a patch 3!?!

Downloading immediately!

I love Star Trek.
Especially the Episodes with Starships in.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Nov 2002 21:58
Nope, broke my latest build
Lazzarus
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location:
Posted: 26th Nov 2002 22:01
Aviv, I've the same problem. I can't even compile my project now. My project is a main loop that calls all the functions my project needs and I've used user defined types. The whole lot is in functions, I could scream!!!

I'm really beginning to lose intrest now. First a week wasted because of strings not working correctly then another week trying to get collision to work. Then patch 2 comes out and it fixes some of my problems but creates a new one where the ambient lighting in a bsp no longer works. (No response ever given to that bug!). Now patch 3 nd I can't even compile. I'm just going backwards.

Digital Awakening
AGK Developer
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 26th Nov 2002 22:13
I don't use functions since GOSUBs works smoothly in multiple files ,:')

DigAw.com
Game in developement: The Magic Land
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Nov 2002 22:13
Whats really disappointing for me is that I needed patch 3 for the latest DLL support, but I need types in my functions too! And it was all working quite well in the beta last night ... I think I'll have to have both installed to do what I need to do.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 26th Nov 2002 22:24
It works if you do :



It would be worth sending an e-mail to Lee

Good news everybody! I really am THAT good...
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 26th Nov 2002 22:30
Already sent the mail.

It breaks again:
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 26th Nov 2002 23:02
We'll probably need a patch between #3 and #4...

Good news everybody! I really am THAT good...
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 26th Nov 2002 23:04
I can't compile most of anything I have made previously!
I'm getting alot of parameter errors, when I use Type variables with any DBPro commands inside a function.

This is a serious problem, which I e-mailed to Lee at 4:30 this morning (yawns!).

Do we now have to wait another month, before we can recompile anything, I hope not (prays for mirical!).

A great deal of flexibilty has been lost.

Any comment DBPro team?

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
A_I
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 27th Nov 2002 00:59
A patch release (3.001 or something) is justified, even if it fixes this problem only, because:

1) Functions are fundamental. Gosub or Arrays are not a solution to those who have 4000 lines of code to adjust.
2) This is an added bug that patch 3 creates (and not a bug that DBS didn't manage to fix in time for the patch).

Inspite of the annoyance, I still have faith in the DB team. It wouldn't hurt if they get some more pedant beta-testers, though.

''There are only 10 types of people in the world: Those who understand binary, and those who don't''
ZomBfied
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 27th Nov 2002 02:17
Oh yeah. I'm sure they'll fix it soon. Till then, back to patch 2 for me.

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 27th Nov 2002 03:00
types work for me in DBP patch3 full

9000 lines so far

Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 27th Nov 2002 03:10
You mean to tell me something like this will work for you?



Because it dose'nt for me! And I don't think I'm alone either!

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
Necrym
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: Australia
Posted: 27th Nov 2002 03:17
I had no problems with udt's in functions.

try reinstalling the patch or a clean install of dbp and patch.

Watch the bouncing cursor - now in 3d
Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 27th Nov 2002 03:38
I just re-installed everything and updated to patch 3
And it still does'nt work!!!

I'm still getting those damned parameter errors!

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
Michael
22
Years of Service
User Offline
Joined: 26th Nov 2002
Location:
Posted: 27th Nov 2002 03:44
Just tried a clean uninstall and reinstall and it still failed.
Really Necrym did you even try the code snippet
The next uninstall reinstall is going to be back to patch 2

swdave
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United States
Posted: 27th Nov 2002 06:39
How bout like this LOL



swdave
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United States
Posted: 27th Nov 2002 07:09
This doesnt work either. Seems the arrays of UDT is no longer global so cant be used in a function.



Easily Confused
22
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 27th Nov 2002 07:35
This problem is now getting ridiculas is'nt it?

It's just gone 5:30am here (yawn!) and I've just sent another e-mail to Lee, with the above example I showed further explaining the problem, plus the error report found in the DBPro temp folder, but I don't know if that will help.

However, if they do fix the problem soon, I will hail them as Gods!

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 27th Nov 2002 17:18
They also dont work in the downloadable demo...

Good news everybody! I really am THAT good...

Login to post a reply

Server time is: 2025-05-14 03:19:52
Your offset time is: 2025-05-14 03:19:52