Update

Previous topic - Next topic

Kitty Hello

OK, I quickly released an update. I had no real time to test all platforms, so please only update if you really experienced a bug. If others confirm it's OK, it might be safe.

Sorry - but I'm really busy these days.

bigsofty

Not really a bug but...

Downloading an update is initiated with the "Start Update", once pressed the update starts downloading but the button "Start Update" remains on the dialogue, so a noobie will almost always be tempted to click on it again to make sure it was clicked. This causes errors and a final crash. Possibly disabling the button or replacing it with a "Cancel" button would be better?

Cheers,


Ian

P.S. Also, this happens, ever so often, if my firewall asks to allow the EditorE.exe to access the net and I allow it, the pause to do so, seems to cause EditorE.exe to hang in memory. I have to cancel the process and re-run GLB. This is an old old old... bug.
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

MrTAToad

Yes, I've mentioned that a while ago :)

Kitty Hello

The editor tries to find an update then. Does that not work?

matchy

SAVESPRITE is not saving properly. The dimensions are there but no image png/bmp. :( Please confirm!

Due to my current project, I've uninstalled 8.1 and reverted to 8.0. (and SAVESPRITE works fine).

MrTAToad

There is a sprite, but its rather wrong :)

matchy

Thanks for the corrected confirmation MrTAToad.  :coke:

MrTAToad

For some reason my one comes out as purple if you save as PNG and black if its BMP...  :blink:

bigsofty

Sorry for the slow reply Gernot,

The first, "Start Update", is only a problem if you press it twice during the update.

The second, only affects new users with firewalls, for a first installation or a full download update.

Just small things, people could get confused with.

Cheers,


Ian
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

MrTAToad

The button should really be disabled once pressed, with it being re-enabled if there was a problem or cancelled in some way  :)

Minion

#10
Not sure how to explain this bug, but it only started the second after I had updated. Which I`d read the forum b4 I did an update tho, I only updated hoping to fix the bug with comments in folded functions. Anyways, I have an update func so I can use it for any screen size, which worked fine (I even had it running in 64x32 pixels at one point ;) ). But after the update this appears to be screwy, and the bottom part appears to be corrupt (see image)

the code I use for this is ....

Code (glbasic) Select

FUNCTION Update:

Show_FX()
Show_Particles()

LOCAL sx,sy
GETSCREENSIZE sx,sy

dtime = GETTIMER()
fps = ((1000/dtime)+fps)/2
LOCAL fp=INTEGER(fps)

USESCREEN -1
STARTPOLY 0
POLYVECTOR 0,0,0,0
POLYVECTOR sx,0,800,0
POLYVECTOR sx,sy,800,600
POLYVECTOR 0,sy,0,600
ENDPOLY
PRINT "FPS:"+fp,0,sy-32
SHOWSCREEN
USESCREEN 0
DRAWSPRITE 1000,0,0

ENDFUNCTION



Im pretty sure this isnt me as, like I say, its been working for different resolutions for the past week, but after the update no longer works. It works so long as the screen res is greate than my working screen size. Same thing also happens in full screen as well.


Also, is it possible to rollback an update ? would be pretty handy if it could be done.

[attachment deleted by admin]

MrTAToad

It does look like Update is a bit inefficient, especially if you are continually getting the screensize.  Why it should be blurry I dont know, but it does look like a previous screen is bleeding into the currently displayed one.

However, its certainly possible to revert back to a previous version - assuming you set the update to backup the original files...

If so, all you need to do is unzip them back into the program directory (making sure that you close GLBasic first).  If you dont automatically back up files, then the best way would be find someone who has :)

djtoon

when is the grabsprite bug going to be fix'd?

Kitty Hello

YIKES!
Minion - can you make a very small sample that I can use to test the bug?
I'll investiate the SAVESPRITE

What's the problem with GRABSPRITE, please?

djtoon

i mean savesprite is purpurle i was thinking it was grabsprite and savesprite where the same :)
sorry