2021-02-16 12:35:03

Hi There

So just for fun, I downloaded Skateboarder pro, just cuz I was getting sick of dying in Orna.
Now, I started the game, and after a while, I get an error.
I went to the errors.log, which by the way, for any devs out there, is a bad idea to put in a release because it's a treat for hackers. Anyway, where was I? Oh right, I looked at the errors.log file, and I get this error. I know what to do to fix it, but was just hoping someone'd relay it for me because I'm not on twitter.
Log contents below: [side note, because of my terrible keyboard, it took me 34 seconds to spam the colon key. Heh]

Traceback (most recent call last):
  File "sb_pro.py", line 17, in <module>
  File "main.py", line 20, in main.main
  File "main.py", line 37, in main.mainmenu
  File "main.py", line 33, in main.mainmenu
  File "game.py", line 40, in game.game
  File "lucia\audio\bass\soundpool.py", line 593, in update_listener_2d
  File "lucia\audio\bass\soundpool.py", line 603, in update_listener_3d
  File "lucia\audio\bass\soundpool.py", line 51, in update
AttributeError: 'NoneType' object has no attribute 'position'
Traceback (most recent call last):
  File "sb_pro.py", line 17, in <module>
  File "main.py", line 20, in main.main
  File "main.py", line 33, in main.mainmenu
  File "game.py", line 47, in game.game
  File "pothole.py", line 14, in pothole.spawn_pothole
  File "pothole.py", line 8, in pothole.pothole.__init__
  File "lucia\audio\bass\soundpool.py", line 317, in play_2d
  File "lucia\audio\bass\soundpool.py", line 397, in play_extended_2d
  File "lucia\audio\bass\soundpool.py", line 51, in update
AttributeError: 'NoneType' object has no attribute 'position'

Founder and Managing director of Vidyadrishti.
Check us out on twitter at https://twitter.com/vidya_drishti
Check us out on instagram at https://instagram.com/vd.vidyadrishti
Check my YouTube channel out at https://youtube.com/c/techwithphoenix

2021-02-16 17:18:59

And why exactly would a log of errors be a treat for hackers?  It’s a standard  practice to keep a log of what happened. Moreover, what would one gain by hacking this code?

2021-02-16 18:04:57

I mean, so you see function names and the stack trace. so?

Facts with Tom MacDonald, Adam Calhoun, and Dax
End racism
End division
Become united

2021-02-16 18:32:09

maybe it has a point, Since if a person is smart enough, He can use a cython file like a normal python module.

2021-02-16 18:45:03

I mean, doesn't sighted people do it as well? Google chrome for example, has a chrashlog, which is almost the same

You ain't done nothin' if you ain't been cancelled
_____
I'm working on a playthrough series of the space 4X game Aurora4x. Find it here

2021-02-16 19:35:19

I get the same error. He's not using hasattr() it sounds like..

Facts with Tom MacDonald, Adam Calhoun, and Dax
End racism
End division
Become united

2021-02-16 19:46:19

no, He simplly keeps checking for something that gets destroyed and doesn't check if something!=None: and continue code, I remember the same issue when coding in sxt.

2021-02-16 20:02:57

That's horrible. I will say though, sans errors, I feel like this game will be polished and really good. I think everyone knows how I feel about Tunmi's games by now, but I'm prepared to like this one.

I hope he's using duck typing. And if he needs to type check, he's using isinstance() rather than type()

Facts with Tom MacDonald, Adam Calhoun, and Dax
End racism
End division
Become united

2021-02-16 20:40:16

@4.
I mean. It's not like cython is supposed to hide the function names from you or anything, it doesn't really take something extraordinarily high to find the function names out of a cythonized module.

Paul

2021-02-17 01:37:35

Just saw this and talked to him about it. He is aware of, and has been aware of, this problem for a week now, and is trying to fix it, although he has been unsuccessful up to this point.
He says that it "gives a line, but when he tries to fix it, it doesn't solve anything."
Don't shoot the messenger...

-----
Matthew's Horse Needs Your Support!
Discord: misterkrabs69

2021-02-18 04:09:19

How can I get this game?

2021-02-18 04:54:13

You can get ithere, but it's going to break constantly because well... reasons.

Facts with Tom MacDonald, Adam Calhoun, and Dax
End racism
End division
Become united

2021-02-18 05:49:31 (edited by Phoenix009 2021-02-18 05:50:41)

Yeah, it's practically almost unplayable right now. I really wish he had some kind of github repo for this, it would surely make reporting issues a hell of a lot easier, especially since he doesn't visit this holy ag.net forum smile)

Oh, and you guys do have a point about really no one needing to hack a small project like this, it just doesn't make sense at a practical standpoint.

Founder and Managing director of Vidyadrishti.
Check us out on twitter at https://twitter.com/vidya_drishti
Check us out on instagram at https://instagram.com/vd.vidyadrishti
Check my YouTube channel out at https://youtube.com/c/techwithphoenix