Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


Re: lucia error, makes no sense to me

I haven't looked into mason's famework tools yet, I need to do that at some point.

URL: https://forum.audiogames.net/post/605165/#p605165




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: lucia error, makes no sense to me

Yeah, it doesn’t support cashing, that is the main issue.

URL: https://forum.audiogames.net/post/605157/#p605157




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector


  


Re: lucia error, makes no sense to me

Their sound pool is broken in some critical way that I don't remember, I think.  Also, you can write your own in maybe 20 lines and it's a good learning exercise.

URL: https://forum.audiogames.net/post/605101/#p605101




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


Re: lucia error, makes no sense to me

I don't like lucia either. I need to update my projects from using lucia to other things. A lot of my modules have been switched over, but the actual projects still rely on it. The main reason why it is still around in the projects is because of sound pool. I'm too lazy to compare other things right now. So I'll update things at other time.

URL: https://forum.audiogames.net/post/605098/#p605098




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : Turret via Audiogames-reflector


  


Re: lucia error, makes no sense to me

Yup, Camlorn is correct. I never figured out how to solve this myself; I simply switched to Mason's framework, and before that, was using a modified version of Lucia.FWIW Framework works pretty well. Synthizer for audio support, menus, maps, etc. I need to open a PR fixing the Kwargs requirement in the map and maybe even the menu classes, and make them optional parems, but someone might beat me to it; I hardly develop on Windows anymore.

URL: https://forum.audiogames.net/post/605092/#p605092




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector


  


Re: lucia error, makes no sense to me

I'm just going to point out that if Lucia is a consistent source of problems and you're very sure it's not your code, you could just go use Pygame or Pyglet directly and save yourself the trouble.I support what Lucia is trying to do and I'm glad the community is trying to collaborate, but every time I hear about it it sounds like it's a really buggy alpha.

URL: https://forum.audiogames.net/post/605091/#p605091




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


Re: lucia error, makes no sense to me

Ok so here is how I solved this issue. It makes no sense, but I'll share my solution anyway.Instead of creating the "Local Announcers" folder when the user types in the first folder name, I have it create the folder before the user starts typing. Then I have it browse for folders, as if the folder already existed. It is pointless to use the browse menu because obviously there will be no results, but apparently I need to run the browse function at least once for the menu function to work. That makes no sense, but fine. I did that and it works now. The only thing that I think could make sense, is having lucia process events without any modifiers first. So if your first function with lucia.process_events() has key modifier checks, it will confuse the hell out of lucia. I wonder if there is a reset(key) function in lucia that I could use? I looked, but I didn't see one in the init file from what I remember.

URL: https://forum.audiogames.net/post/605064/#p605064




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


Re: lucia error, makes no sense to me

Ok so here is how I solved this issue. It makes no sense, but I'll share my solution anyway.Instead of creating the "Local Announcers" folder when the user types in the first folder name, I have it create the folder before the user starts typing. Then I have it browse for folders, as if the folder already existed. It is pointless to use the browse menu because obviously there will be no results, but apparently I need to run the browse function at least once for the menu function to work. That makes no sense, but fine. I did that and it works now. The only thing that I think could make sense, is having lucia process events without any modifiers first. So if your function with first lucia.process_events() has key modifier checks, it will confuse the hell out of lucia. I wonder if there is a reset function in lucia that I could use? I looked, but I didn't see one in the init file from what I remember.

URL: https://forum.audiogames.net/post/605064/#p605064




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


Re: lucia error, makes no sense to me

Ok so here is how I solved this issue. It makes no sense, but I'll share my solution anyway.Instead of creating the "Local Announcers" folder when the user types in the first folder name, I have it create the folder before the user starts typing. Then I have it browse for folders, as if the folder already existed. It is pointless to use the browse menu because obviously there will be no results, but apparently I need to run the browse function at least once for the menu functioon to work. That makes no sense, but fine. I did that and it works now.

URL: https://forum.audiogames.net/post/605064/#p605064




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


Re: lucia error, makes no sense to me

@3 I might just switch to another keyboard input system. I wanted to do it with most of my projects anyway, so this is just encouraging me to start now.

URL: https://forum.audiogames.net/post/605042/#p605042




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: lucia error, makes no sense to me

@2, that is incorrect. Lucia uses a list for its variables and the OP does not handle the keys variable himself. Index Out of Range sounds like what it is -- any negative value which remains after doing len(x) - index or equalling or exceeding len(list)@1. It sounds like you're not using a pygame keycode. Key_down should work provided you only use the pygame constantsIf you wish, you could edit Lucia directly. Make the offending function print its keycode and list and then reference the manual to ensure that the keycodes match. If they do, I'm afraid we'd actually need your code to figure out what's wrong

URL: https://forum.audiogames.net/post/605034/#p605034




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector


  


Re: lucia error, makes no sense to me

No. It sounds like you're not using a pygame keycode. Key_down should work provided you only use the pygame constantsIf you wish, you could edit Lucia directly. Make the offending function print its keycode and list and then reference the manual to ensure that the keycodes match. If they do, I'm afraid we'd actually need your code to figure out what's wrong

URL: https://forum.audiogames.net/post/605034/#p605034




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: lucia error, makes no sense to me

2021-01-07 Thread AudioGames . net Forum — Developers room : chrisnorman7 via Audiogames-reflector


  


Re: lucia error, makes no sense to me

Looks like you're treating the keys_held variable as a dictionary, when the IndexError suggests it's a list.Hope that helps some.

URL: https://forum.audiogames.net/post/605033/#p605033




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


lucia error, makes no sense to me

2021-01-06 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


lucia error, makes no sense to me

Hello. I'm getting an error that I've encountered before, but never known how to solve. And I don't understand why it is happening.  File "C:\Users\Daniel\Documents\Python\lib\site-packages\lucia\__init__.py", line 185, in key_down    return keys_held[key_code]IndexError: list index out of rangeHere is the gist of my code.Main function is called. Loads some settings, checks if the steam sequence storm dlc exists. If not, checks if the local announcers folder exists. if the local folder doesn't exist, it creates it. THen if ther are no folders inside of the steam dlc or local announcers folder, it asks you to type in a folder name. It creates another folder inside of the folder you just named. Then it asks you to make another folder name. After that folder is created, it saves the announcer.json file and takes you into the announcer data menu.This is where I get the error. I do have 1 shift key check in this function, but the shift key is never used before this menu in this situation. Here is where things really get confusing. I do not receive this error if the local announcers folder already exists. But if it doesn't exist, it will give me this error. And that makes no sense to me, because the only difference is asking it to create a prenamed directory before the user even starts typing. And the text fields used to type in those folder names are not using lucia either. The browse menu is, but the browse menu is never touched in this situation. The data menu after the folder names is the first interface with lucia besides speech.

URL: https://forum.audiogames.net/post/604918/#p604918




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


lucia error, makes no sense to me

2021-01-06 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


lucia error, makes no sense to me

Hello. I'm getting an error that I've encountered before, but never known how to solve. And I don't understand why it is happening.  File "C:\Users\Daniel\Documents\Python\lib\site-packages\lucia\__init__.py", line 185, in key_down    return keys_held[key_code]IndexError: list index out of rangeHere is the gist of my code.Main function is called. Loads some settings, checks if the steam sequence storm dlc exists. If not, checks if the local announcers folder exists. if the local folder doesn't exist, it creates it. THen if ther are no folders inside of the steam dlc or local announcers folder, it asks you to type in a folder name. It creates another folder inside of the folder you just named. Then it asks you to make another folder name. After that folder is created, it saves the announcer.json file and takes you into the announcer data menu.This is where I get the error. I do have 1 shift key check in this function, but the shift key is never used before this menu in this situation. Here is where things really get confusing. I do not receive this error if the local announcers folder already exists. But if it doesn't exist, it will give me this error. And that makes no sense to me, because the only difference is asking it to create a prenamed directory before the user even starts typing. And the text fields used to type in those folder names are not using lucia either. The browse menu is, but the browse menu is never touched in this situation. The data menu after the folder names is the first interface with lucia.

URL: https://forum.audiogames.net/post/604918/#p604918




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


lucia error, makes no sense to me

2021-01-06 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


lucia error, makes no sense to me

Hello. I'm getting an error that I've encountered before, but never known how to solve. And I don't understand why it is happening.  File "C:\Users\Daniel\Documents\Python\lib\site-packages\lucia\__init__.py", line 185, in key_down    return keys_held[key_code]IndexError: list index out of rangeHere is the gist of my code.Main function is called. Loads some settings, checks if the steam sequence storm dlc exists. If not, checks if the local announcers folder exists. if the local folder doesn't exist, it creates it. THen if ther are no folders inside of the steam dlc or local announcers folder, it asks you to type in a folder name. It creates another folder inside of the folder you just named. Then it asks you to make another folder name. After that folder is created, it saves the announcer.json file and takes you into the announcer data menu.This is where I get the error. I do have 1 shift key check in this function, but the shift key is never used before this menu in this situation. Here is where things really get confusing. I do not receive this error if the local announcers folder already exists. But if it doesn't exist, it will give me this error. And that makes no sense to me, because the only difference is asking it to create a prenamed directory before the user even starts typing. And the text fields used to type in those folder things are not using lucia either. The browse menu is, but the browse menu is never touched in this situation. The data menu after the folder names is the first interface with lucia.

URL: https://forum.audiogames.net/post/604918/#p604918




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


lucia error, makes no sense to me

2021-01-06 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector


  


lucia error, makes no sense to me

Hello. I'm getting an error that I've encountered before, but never known how to solve. And I don't understand why it is happening.  File "C:\Users\Daniel\Documents\Python\lib\site-packages\lucia\__init__.py", line 185, in key_down    return keys_held[key_code]IndexError: list index out of rangeHere is the gist of my code.Main function is called. Loads some settings, checks if the steam sequence storm dlc exists. If not, checks if the local announcers folder exists. if the local folder doesn't exist, it creates it. THen if ther are no folders inside of the steam dlc or local announcers folder, it asks you to type in a folder name. It creates another folder inside of the folder you just named. Then it asks you to make another folder name. After that folder is created, it saves the announcer.json file and takes you into the announcer data menu.This is where I get the error. I do have 1 shift key check in this function, but the shift key is never used before this menu in this situation. Here is where things really get confusing. I do not receive this error if the local announcers folder already exists. But if it doesn't exist, it will give me this error. And that makes no sense to me, because the only difference is asking it to create a prenamed directory before the user even starts typing.

URL: https://forum.audiogames.net/post/604918/#p604918




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector