123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|580|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Misc Languages -> Bug with jse? NextBug

Fri, 27 May 2022, 03:06
Pakz

Bug with jse? Dim 5


I have no idea what is happening. I was trying to write and read from arrays. Somehow if I write to one array slot. It breaks things.

  --v

Fri, 27 May 2022, 03:33
Dan
Yes.
When i have changed the beginning letters it worked.

So It seems to be the nexttrack variable (jse thinks it is the next command !???)

  --v

Fri, 27 May 2022, 03:38
Pakz
Maybe I used a command. I'm checking for nexttrack but can not find it. hmm.

edit: I think 'nexttrack' must be a reserved keyword.
Fri, 27 May 2022, 03:42
Dan
Or the jse is using next instead of the variable
Fri, 27 May 2022, 03:45
Pakz
Ahh. that might be the case.
Fri, 27 May 2022, 03:58
Jayenkai
Holy hell! Yeah, it's picking up "nexttrack" as "next ... track"

Ok, I'll see about fixing that later.

(Renamed thread to remind me of the bug, later!)

-=-=-
''Load, Next List!''
Fri, 27 May 2022, 14:39
Jayenkai
OK, Nextbug is now fixed. (v.3ggh when you open the fps debug window.)

Turns out that " if substr(i,4)=='next' " is NOT a good way to check for the next command!!
A whole chunk of the parser has been rewritten to avoid such issues, and .. I don't *think* it's broken anything else along the way.

  --v


-=-=-
''Load, Next List!''
Fri, 27 May 2022, 14:43
Jayenkai
Dan The graphic mode 3 is not displaying accurate mouse coordinates


Yeah, that's annoying isn't it!
It worked when I first added screen scaler 3, but .. I think it was adding in the new FPS/Debug window, but somewhere along the way, it all went somewhat awry.
I need to fix that.

I need to fix the touch controls, too. I can NEVER get good touch controls working.
A todo list!
Hurrah!!

Where were you guys when I was building this thing, last year!?!

-=-=-
''Load, Next List!''
Fri, 27 May 2022, 14:54
Dan
Uhm, have you ever had a span of time when you felt like you do not want to code ?

Then you coded for few months, then stopped, then again, then stopped again ...

Well, currently for me, it is starting as if i could do coding again.
Fri, 27 May 2022, 15:01
Jayenkai
Sure : Today...
Today I felt like dropping everything, kicking back with Xbox Gamecloud on the iPad and chilling.
But no. It no longer seems to work, with the iPad seemingly blocking out the gamepad from the Browser-based Xbox Gamecloud app.

I mean, wtf..?
So instead I coded this fix, because coding a fix is easier than figuring out why the hell that wasn't working.

-=-=-
''Load, Next List!''
Fri, 27 May 2022, 15:11
Pakz


Where were you guys when I was building this thing, last year!?!



I was all into writing music. That recent release of dall e. Kind of shocked me into getting back into coding again.

Btw I had jse freeze on me today. I was in a hurry and did not dig into it and prepare a minimal example. I think it had to do with me using the dim in a wrong way. I did ‘dim name=5’ I think when I used ‘name’ everything froze. And I had to close the browser.
Fri, 27 May 2022, 15:19
Jayenkai
Oh dear, that's another bad one. Definitely need to figure that one out.

-=-=-
''Load, Next List!''
Sat, 28 May 2022, 06:19
Jayenkai
Haven't managed to track down a working example of this bug yet.
If you do spot it again, let me know!

-=-=-
''Load, Next List!''
Sat, 28 May 2022, 07:58
Pakz
If you do not mind to start taking this code apart? I'm about to cook evening dinner.

The dim cars=5 changed into the original dim cars(10,10) makes it not freeze.

  --v

Sat, 28 May 2022, 08:58
Jayenkai
Ta muchly.
A fix has been added... and.. OMG, there's an error message!!! (v.3ggi)
(Error messages, very few of them, do occasionally show up in the FPS/Debug window, btw .. I just haven't coded very many of them! )

-=-=-
''Load, Next List!''
Sat, 28 May 2022, 09:04
Pakz
Ok. I wil start and try to use the debug window more.

The freezing has stopped! Good fix!
Sat, 28 May 2022, 09:10
Jayenkai
Most of the issues you come across probably won't have error messages yet! Like this one!

The biggest issue I have with debug messages is that by the time the parser/interpreter has found any obvious issues, the script in memory has already been jiggled around, multiple times, and I haven't a bloomin clue how to let you know what line in the code the error's coming from! LOL!!

-=-=-
''Load, Next List!''