Re: python global dictionary not saving modifications

2021-03-11 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: python global dictionary not saving modifications

This function and this dictionary were both in base.py before, and there were no issues. So this doesn't have to do with overwriting. I think the issue is my sys.path is in the root of the folder instead of the commands folder where the madlib.py file is. I am able to access functions in madlib.py via the bot commands, but I do not think I have access to the dictionary variable, so it is creating one every time I run a function that refers to it. However, this doesn't make complete sense, since there is also a global string variable in madlib.py, and it is able to read the contents of that perfectly fine when I referenc it, which is only in 1 function.

URL: https://forum.audiogames.net/post/622023/#p622023




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


Re: python global dictionary not saving modifications

2021-03-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: python global dictionary not saving modifications

This is for my mad libs discord bot. I decided to move the mad libs and game_keys dictionaries out of base.py and put them in madlib.py. Now it is causing issues.in base.py, with the working servers and users dictionaryimport os
from pathlib import Path
import time
import asyncio
import shutil
import json
import pygan
import discord

#used to handle audio requests from servers
class Request:
 def __init__(self):
  self.list= []
  self.index=0

request= Request()
servers={}
users={}
#admins to perform global commands
global_admins=["my discord user id"]
#a list of events for the screen reader to speech when debugging
debug={}
def save_debug():
 f = open("debug.json", "w")
 json.dump(debug, f, indent=" ")
 f.close()
def load_debug():
 global debug
 with open("debug.json") as f:
  debug= json.load(f)
  f.close()

#server functions
"""when the bot connects to discord, it loops through each server and loads the data. If no data for the server is found, it creates data for it with this function."""
def create_server(guild, id, members):
 if debug["server create"] or debug["server all"]:
  pygan.speech.speak("creating server")
 with open("server template.json") as f:
  guild_data = json.load(f)
  f.close()
 guild_data.update({"name": guild})
 guild_data.update({"id": id})
 """notice how we can successfully use the global servers dictionary  to add a new key 
 value pair. THis also works with the users dictionary."""
 servers.update({id: guild_data})
 save_server(guild, id)
 #creates a folder to store user data
 os.makedirs(f"users/{guild}#{id}", exist_ok=True)
 """saves the server data, not relevant, as we are just showing the dictionary can be 
 modified."""
 save_server(guild, id)So no issues there. The issue is in madlib.py.import os
from pathlib import Path
import time
import asyncio
import shutil
import re
import json
import random
import pygan
import discord
from discord.ext import commands
import base

#the dictionary that holds each server's list of word types \
madlibs={}
#this dictionary is used to refer back to certain answers in earlier parts of the story
game_keys={}

#this function is suppose to refer to the global madlibs dictionary, but doesn't
def load_word_types(guild, id):
 #we check if the server is not in the madlibs dict yet
 if f"{id}" not in madlibs:
  madlibs.update({id: {}})
 word_types= os.listdir(os.getcwd()+f"\\mad lib\\{guild}#{id}\\word type")
 if base.debug["mad lib word types"] or base.debug["mad lib all"]:
  pygan.speech.speak(f"{len(word_types)}")
 if len(word_types)>0:
  #we get rid of the .txt extension. The word types are the filenames
  for type in word_types:
   type= type[:-4]
   if base.debug["mad lib word types"] or base.debug["mad lib all"]:
pygan.speech.speak(type)
   if type not in madlibs[id]:
madlibs[id].update({type: []})
if base.debug["mad lib update"] or base.debug["mad lib all"]:
 pygan.speech.speak("added type")I haven't gotten to test if th egame_keys dictionary has this issue, but I can't until this is fixed. I use to refer to madlibs[id] as base.madlibs[id], and it like that. But now it doesn't like the dictionary being in the same module.So here is the result. It adds the server id into the madlibs dictionary, and adds the word types, as it should. But as soon as the function is over, it empties the dictionary. Why? Something that I found that was odd is when looping through the servers with a for loop and running the load_word_types function, it doesn't delete the dictionary until after the for loop. I know this because I had it speak the length of the keys. The bot has 2 servers. So it reported 2 in the for loop. However, there is another place where the word_types are loaded, and when I run that function, it empties every time after running the load function. So my guess is it empties after the function it was called from, is finished. But again, why? It is a global variable. So any time i mention madlibs[id], it gives me a key error since the dictionary is empty.

URL: https://forum.audiogames.net/post/621907/#p621907




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


Re: python global dictionary not saving modifications

2021-03-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: python global dictionary not saving modifications

This is for my mad libs discord bot. I decided to move the mad libs and game_keys dictionaries out of base.py and put them in madlib.py. Now it is causing issues.in base.py, with the working servers and users dictionaryimport os
from pathlib import Path
import time
import asyncio
import shutil
import json
import pygan
import discord

#used to handle audio requests from servers
class Request:
 def __init__(self):
  self.list= []
  self.index=0

request= Request()
servers={}
users={}
#admins to perform global commands
global_admins=["my discord user id"]
#a list of events for the screen reader to speech when debugging
debug={}
def save_debug():
 f = open("debug.json", "w")
 json.dump(debug, f, indent=" ")
 f.close()
def load_debug():
 global debug
 with open("debug.json") as f:
  debug= json.load(f)
  f.close()

#server functions
"""when the bot connects to discord, it loops through each server and loads the data. If no data for the server is found, it creates data for it with this function."""
def create_server(guild, id, members):
 if debug["server create"] or debug["server all"]:
  pygan.speech.speak("creating server")
 with open("server template.json") as f:
  guild_data = json.load(f)
  f.close()
 guild_data.update({"name": guild})
 guild_data.update({"id": id})
 """notice how we can successfully use the global servers dictionary  to add a new key 
 value pair. THis also works with the users dictionary."""
 servers.update({id: guild_data})
 save_server(guild, id)
 #creates a folder to store user data
 os.makedirs(f"users/{guild}#{id}", exist_ok=True)
 """saves the server data, not relevant, as we are just showing the dictionary can be 
 modified."""
 save_server(guild, id)So no issues there. The issue is in madlib.py.import os
from pathlib import Path
import time
import asyncio
import shutil
import re
import json
import random
import pygan
import discord
from discord.ext import commands
import base

#the dictionary that holds each server's list of word types \
madlibs={}
#this dictionary is used to refer back to certain answers in earlier parts of the story
game_keys={}

#this function is suppose to refer to the global madlibs dictionary, but doesn't
def load_word_types(guild, id):
 #we check if the server is not in the madlibs dict yet
 if f"{id}" not in madlibs:
  madlibs.update({id: {}})
 word_types= os.listdir(os.getcwd()+f"\\mad lib\\{guild}#{id}\\word type")
 if base.debug["mad lib word types"] or base.debug["mad lib all"]:
  pygan.speech.speak(f"{len(word_types)}")
 if len(word_types)>0:
  #we get rid of the .txt extension. The word types are the filenames
  for type in word_types:
   type= type[:-4]
   if base.debug["mad lib word types"] or base.debug["mad lib all"]:
pygan.speech.speak(type)
   if type not in madlibs[id]:
madlibs[id].update({type: []})
if base.debug["mad lib update"] or base.debug["mad lib all"]:
 pygan.speech.speak("added type")I haven't gotten to test if th egame_keys dictionary has this issue, but I can't until this is fixed. I use to refer to madlibs[id] as base.madlibs[id], and it like that. But now it doesn't like the dictionary being in the same module.So here is the result. It adds the server id into the madlibs dictionary, and adds the word types, as it should. But as soon as the function is over, it empties the dictionary. Why? Something that I found that was odd is when looping through the servers with a for loop and running the load_word_types function, it doesn't delete the dictionary until after the for loop. I know this because I had it speak the length of the keys. The bot has 2 servers. So it reported 2 in the for loop. However, there is another place where the word_types are loaded, and when I run that function, it empties every time after running the load function. So my guess is it empties after the functio is was called from, is finished. But again, why? It is a global variable. So any time i mentin madlibs[id], it gives me a key error since the dictionary is empty.

URL: https://forum.audiogames.net/post/621907/#p621907




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


Re: python global dictionary not saving modifications

2021-03-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: python global dictionary not saving modifications

This is for my mad libs discord bot. I decided to move the mad libs and game_keys dictionaries out of base.py and put them in madlib.py. Now it is causing issues.in base.py, with the working servers and users dictionaryimport os
from pathlib import Path
import time
import asyncio
import shutil
import json
import pygan
import discord

#used to handle audio requests from servers
class Request:
 def __init__(self):
  self.list= []
  self.index=0

request= Request()
servers={}
users={}
#admins to perform global commands
global_admins=["my discord user id"]
#a list of events for the screen reader to speech when debugging
debug={}
def save_debug():
 f = open("debug.json", "w")
 json.dump(debug, f, indent=" ")
 f.close()
def load_debug():
 global debug
 with open("debug.json") as f:
  debug= json.load(f)
  f.close()

#server functions
"""when the bot connects to discord, it loops through each server and loads the data. If no data for the server is found, it creates data for it with this function."""
def create_server(guild, id, members):
 if debug["server create"] or debug["server all"]:
  pygan.speech.speak("creating server")
 with open("server template.json") as f:
  guild_data = json.load(f)
  f.close()
 guild_data.update({"name": guild})
 guild_data.update({"id": id})
 """notice how we can successfully use the global servers dictionary  to add a new key 
 value pair. THis also works with the users dictionary."""
 servers.update({id: guild_data})
 save_server(guild, id)
 #creates a folder to store user data
 os.makedirs(f"users/{guild}#{id}", exist_ok=True)
 """saves the server data, not relevant, as we are just showing the dictionary can be 
 modified."""
 save_server(guild, id)So no issues there. The issue is in madlib.py.import os
from pathlib import Path
import time
import asyncio
import shutil
import re
import json
import random
import pygan
import discord
from discord.ext import commands
import base

#the dictionary that holds each server's list of word types \
madlibs={}
#this dictionary is used to refer back to certain answers in earlier parts of the story
game_keys={}

#this function is suppose to refer to the global madlibs dictionary, but doesn't
def load_word_types(guild, id):
 #we check if the server is not in the madlibs dict yet
 if f"{id}" not in madlibs:
  madlibs.update({id: {}})
 word_types= os.listdir(os.getcwd()+f"\\mad lib\\{guild}#{id}\\word type")
 if base.debug["mad lib word types"] or base.debug["mad lib all"]:
  pygan.speech.speak(f"{len(word_types)}")
 if len(word_types)>0:
  #we get rid of the .txt extension. The word types are the filenames
  for type in word_types:
   type= type[:-4]
   if base.debug["mad lib word types"] or base.debug["mad lib all"]:
pygan.speech.speak(type)
   if type not in madlibs[id]:
madlibs[id].update({type: []})
if base.debug["mad lib update"] or base.debug["mad lib all"]:
 pygan.speech.speak("added type")I haven't gotten to test if th egame_keys dictionary has this issue, but I can't until this is fixed. I use to refer to madlibs[id] as base.madlibs[id], and it like that. But now it doesn't like the dictionary being in the same module.So here is the result. It adds the server id into the madlibs dictionary, and adds the word types, as it should. But as soon as the function is over, it empties the dictionary. Why? Something that I found that was odd is when looping through the servers with a for loop and running the load_word_types function, it doesn't delete the dictionary until after the for loop. I know this because I had it speak the length of the keys. The bot has 3 servers. So it reported 2 in for loop. However, there is another place where the word_types are loaded, and when I run that function, it empties every time after running th eload function.

URL: https://forum.audiogames.net/post/621907/#p621907




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


Re: python global dictionary not saving modifications

2021-03-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: python global dictionary not saving modifications

This is for my mad libs discord bot. I decided to move the mad libs and game_keys dictionaries out of base.py and put them in madlib.py. Now it is causing issues.in base.py, with the working servers and users dictionaryimport os
from pathlib import Path
import time
import asyncio
import shutil
import json
import pygan
import discord

#used to handle audio requests from servers
class Request:
 def __init__(self):
  self.list= []
  self.index=0

request= Request()
servers={}
users={}
#admins to perform global commands
global_admins=["my discord user id"]
#a list of events for the screen reader to speech when debugging
debug={}
def save_debug():
 f = open("debug.json", "w")
 json.dump(debug, f, indent=" ")
 f.close()
def load_debug():
 global debug
 with open("debug.json") as f:
  debug= json.load(f)
  f.close()

#server functions
"""when the bot connects to discord, it loops through each server and loads the data. If no data for the server is found, it creates data for it with this function."""
def create_server(guild, id, members):
 if debug["server create"] or debug["server all"]:
  pygan.speech.speak("creating server")
 with open("server template.json") as f:
  guild_data = json.load(f)
  f.close()
 guild_data.update({"name": guild})
 guild_data.update({"id": id})
 """notice how we can successfully use the global servers dictionary  to add a new key 
 value pair. THis also works with the users dictionary."""
 servers.update({id: guild_data})
 save_server(guild, id)
 #creates a folder to store user data
 os.makedirs(f"users/{guild}#{id}", exist_ok=True)
 """saves the server data, not relevant, as we are just showing the dictionary can be 
 modified."""
 save_server(guild, id)So no issues there. The issue is in madlib.py.import os
from pathlib import Path
import time
import asyncio
import shutil
import re
import json
import random
import pygan
import discord
from discord.ext import commands
import base

#the dictionary that holds each server's list of word types \
madlibs={}
#this dictionary is used to refer back to certain answers in earlier parts of the story
game_keys={}

#this function is suppose to refer to the global madlibs dictionary, but doesn't
def load_word_types(guild, id):
 #we check if the server is not in the madlibs dict yet
 if f"{id}" not in madlibs:
  madlibs.update({id: {}})
 word_types= os.listdir(os.getcwd()+f"\\mad lib\\{guild}#{id}\\word type")
 if base.debug["mad lib word types"] or base.debug["mad lib all"]:
  pygan.speech.speak(f"{len(word_types)}")
 if len(word_types)>0:
  #we get rid of the .txt extension. The word types are the filenames
  for type in word_types:
   type= type[:-4]
   if base.debug["mad lib word types"] or base.debug["mad lib all"]:
pygan.speech.speak(type)
   if type not in madlibs[id]:
madlibs[id].update({type: []})
if base.debug["mad lib update"] or base.debug["mad lib all"]:
 pygan.speech.speak("added type")I haven't gotten to test if th egame_keys dictionary has this issue, but I can't until this is fixed. I use to refer to madlibs[id] as base.madlibs[id], and it like that. But now it doesn't like the dictionary being in the same module.

URL: https://forum.audiogames.net/post/621907/#p621907




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


python global dictionary not saving modifications

2021-03-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


python global dictionary not saving modifications

I am using 2 global dictionaries in 2 separate files. In 1 file, I can modify that global dictionary just fine. But in the other file, any time I reference or modify that dictionary, it thinks it is empty. Why is this? Even when using the global keyword it still doesn't save the modifications, it acts like a local variable when it shouldn't.

URL: https://forum.audiogames.net/post/621864/#p621864




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


Re: where can I learn python? the basics.

2021-03-01 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: where can I learn python? the basics.

most people jump straight to lucia because they need speech output, as the person works with external files instead of printing from the terminal. It is much easier, and of course they can save all of their work that way.

URL: https://forum.audiogames.net/post/619302/#p619302




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


Re: where can I learn python? the basics.

2021-03-01 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: where can I learn python? the basics.

python guides by Americranian in articles room, and tutorials by Nathan tech, if not already suggested in post 2.

URL: https://forum.audiogames.net/post/619272/#p619272




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


Re: Heat Engine, a game engine for BGT games

2021-02-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Heat Engine, a game engine for BGT games

might I add, deleted by Hailey herself after she raged at the forum.

URL: https://forum.audiogames.net/post/618832/#p618832




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


Re: Heat Engine, a game engine for BGT games

2021-02-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Heat Engine, a game engine for BGT games

might I add, deleted by Hailey herslef after she raged at the forum.

URL: https://forum.audiogames.net/post/618832/#p618832




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


Re: Heat Engine, a game engine for BGT games

2021-02-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Heat Engine, a game engine for BGT games

then there is the I need to rant to you topic, but Iron Cross had it coming to him anyway being an idiot. But that doesn't let you off the hook. But hey, I pointed out the obvious, and I only did that because this library is no longer being updated and new ones for other languages have been built. I haven't brought my python debate into any other bgt topic in the dev room. Maybe once, but that was like half a year ago? If you don't believe me, just look at my post history. Count the number of times I brought python into a bgt topic that isn't one of tunmi's threads, and provide links. If you feel you need to release all of your stress and squeeze those titties harder, then count the python posts in Tunmi's threads too. There is only like 2 or 3 of them anyway. Let's see what the answer is.

URL: https://forum.audiogames.net/post/618822/#p618822




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


Re: Heat Engine, a game engine for BGT games

2021-02-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Heat Engine, a game engine for BGT games

then there is the I need to rant to you topic, but Iron Cross had it coming to him anyway being an idiot. But that doesn't let you off the hook. But hey, I pointed out the obvious, and I only did that because this library is no longer being updated and new ones for other languages have been built. I haven't brought my python debate into any other bgt topic in the dev room. Maybe once, but that was like half a year ago? If you don't believe me, just look at my post history. Count the number of times I brought python into a bgt topic that isn't one of tunmi's threads, and provide links.

URL: https://forum.audiogames.net/post/618822/#p618822




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


Re: Heat Engine, a game engine for BGT games

2021-02-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Heat Engine, a game engine for BGT games

then there is the I need to rant to you topic, but Iron Cross had it coming to him anyway being an idiot. But that doesn't let you off the hook.

URL: https://forum.audiogames.net/post/618822/#p618822




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


Re: Heat Engine, a game engine for BGT games

2021-02-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Heat Engine, a game engine for BGT games

I don't think my opinion is much of an opinion anymore. Look at the amount of python vs bgt topics in the dev room now adays, oh and go look at the audio dev discord server and tell me how many posts are in the bgt discussion topic. The only one time that topic was used, wasn't even about bgt, it was literally just mentioned in there.Also I agree with the open libraries being trash, but you know what? That trash is still better than bgt, and you can always make your own library. In fact, that is what I have started to do already within less than a year of working with the language.No one said we need the best language, we just need a step up from bgt. And most people have taken that step, which is why projects like this, and even bgt itself, are no longer being updated. As a result, you won't find working versions, and even if you do, it will be in a bigger clusterfuck than a trashy python library. So choose your poison. If you're going to resist time and updates, you might as well just not code. Because things are always going to be updating constantly.

URL: https://forum.audiogames.net/post/618731/#p618731




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


Re: Heat Engine, a game engine for BGT games

2021-02-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Heat Engine, a game engine for BGT games

I don't think my opinion is much of an opinion anymore. Look at the amount of python vs bgt topics in the dev room now adays, oh and go look at the audio dev discord server and tell me how many posts are in the bgt discussion topic. The only one time that topic was used, wasn't even about bgt, it was literally just mentioned in there.Also I agree with the open libraries being trash, but yo uknow what? That trash is still better than bgt, and you can always make your own library. In fact, that is what I have started to do already within less than a year of working with the language.No one said we need the best language, we just need a step up from bgt. And most people have taken that step, which is why projects like this, and even bgt itself, are no longer being updated. As a result, you won't find working versions, and even if you do, it will be in a bigger clusterfuck than a trashy python library. So choose your poison.

URL: https://forum.audiogames.net/post/618731/#p618731




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


Re: Heat Engine, a game engine for BGT games

2021-02-26 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Heat Engine, a game engine for BGT games

there are like 4 audio game libraries in python, so go learn one of those instead of trying to find working outdated abandoned libraries for outdated bgt. You will spend more time trying to find one and learn that than you will trying to learn one of the python libraries.

URL: https://forum.audiogames.net/post/618603/#p618603




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


trouble finding good places to advertise my discord bots.

2021-02-22 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


trouble finding good places to advertise my discord bots.

I've wrote 1 bot that I would like to advertise, and I am thinking of making a second one. Mad libs and family feud. However, I can not find any discord servers or any places on the internet that discuss these games. I could advertise it on sites like disboard and top.gg, but that is not going to be as practical as finding a community who are interested in it. I am not apart of many servers, but the few I am apart of, either do not have a big population and/or no one is interested.So what should I do? I've seen other mad libs bots, so that bot would definitely be free. The family feud bot I am considering making a payed bot, as I do not think this bot has been made before and I could have potential to earn some money from a new idea. But of course there are already online family feud games, so I have to consider that too. I'm not even worried about money yet, I need to find people who will care.

URL: https://forum.audiogames.net/post/617468/#p617468




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


Re: what types of skills do I need to work with arduinos?

2021-02-21 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

what if I don't make it? I'm not going to lie, I'm scared that I'm going to fall apart from all the stress in college. I'm pretty much paralyzed by fear of coming short from anything. Not being fast enough to keep up, or not having the materials or resources I need, or not understanding the sciences, or the worst, losing interest and hating the field. Yes I'm a pussy cry baby lol. How do I man up and just freaking do it? Am I overreacting, and if so how long does this phase last for? Probably until I get started. Which won't be until fall. Oh god this year is going to be tough, and I haven't even started. Lol sorry, I'm just bitching when I shouldn't. Harder than it sounds though.

URL: https://forum.audiogames.net/post/617187/#p617187




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


Re: what types of skills do I need to work with arduinos?

2021-02-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

the college I did have 1 semester at was good with accessibility and accommodations. The professor wanted to get the braille textbook for math since online wasn't working. I ended up canceling that class for the semester because it was going to take too long for the braille book to arrive.

URL: https://forum.audiogames.net/post/617045/#p617045




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


Re: what types of skills do I need to work with arduinos?

2021-02-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

@18 I have done a bit of general research on cs majors and real life applications to get a fuller picture. If you wish to read the few short articles I saved, I will link them at the end of this post. I will need to study more terminology and career path details.This sounds hard and scary, and it is going to take a lot for me to push from the lower 50% into the higher 50%. But I am the only one who can stop me from getting there. I have the resources for college, and it is free in my state. And as long as I know what is coming next and I do a bit of research before hand so I have a basic understanding when entering each class, I should do alright. Though I'm not sure if I am excited about math. I like it, but sometimes my head hurts from it. Integrals in calculus, the polar system in trigonometry, everything to do with geometry, etc. I like learning it, but there is a lot to keep up with in such a short amount of time to process. Well that's due to the class setting. After college I will have to do my own studies at my own pace, so that pressure won't be as tense. And I also have to keep in mind, I have only taken math in a high school setting, so I can not assume college is the same. And on top of that, each professor can teach the way they want. So I can not have the same mindset going into college, expecting the pressure to be exactly the same level. But one thing I am very concerned about is how I will do work for the class, if it is online. Do you have any tips or answers to help with online math?personal values checklist:https://www.wayup.com/guide/computer-sc … jor-right/pros and cons:https://careersidekick.com/major-in-computer-science/information and requirements:https://study.com/articles/Computer_Sci … ments.htmlcareer paths:https://www.thebalancecareers.com/compu … jor-525371

URL: https://forum.audiogames.net/post/617029/#p617029




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


Re: what types of skills do I need to work with arduinos?

2021-02-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

@18 I have done a bit of general research on cs majors and real life applications to get a fuller picture. If you wish to read the few short articles I saved, I will link them at the end of this post. I will need to study more terminology and career path details.This sounds hard and scary, and it is going to take a lot for me to push from the lower 50% into the higher 50%. But I am the only one who can stop me from getting there. I have the resources for college, and it is free in my state. And as long as I know what is coming next and I do a bit of research before hand so I have a basic understanding when entering each class, I should do alright. Though I'm not sure if I am excited about math. I like it, but sometimes my head hurts from it. Integrals in calculus, the polar system in trigonometry, everything to do with geometry, etc. I like learning it, but there is a lot to keep up with in such a short amount of time to process. Well that's due to the class setting. After college I will have to do my own studies at my own pace, so that pressure won't be as tense. And I also have to keep in mind, I have only taken math in a high school setting, so I can not assume college is the same. And on top on that, each professor can teach they way they want. So I can not have the same mindset going into college, expecting the pressure to be exactly the same level. But one thing I am very concerned about is how I will do work for the class, if it is online. Do you have any tips or answers to help with online math?personal values checklist:https://www.wayup.com/guide/computer-sc … jor-right/pros and cons:https://careersidekick.com/major-in-computer-science/information and requirements:https://study.com/articles/Computer_Sci … ments.htmlcareer paths:https://www.thebalancecareers.com/compu … jor-525371

URL: https://forum.audiogames.net/post/617029/#p617029




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


Re: what types of skills do I need to work with arduinos?

2021-02-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

@18 I have done a bit of general research on cs majors and real life applications to get a fuller picture. If you wish to read the few short articles I saved, I will link them at the end of this post. I will need to study more terminology and career path details.This sounds hard and scary, and it is going to take a lot for me to push from the lower 50% into the higher 50%. But I am the only one who can stop me from getting there. I have the resources for college, and it is free in my state. And as long as I know what is coming next and I do a bit of research before hand so I have a basic understanding when entering each class, I should do alright. Though I'm not sure if I am excited about math. I like it, but sometimes my head hurts from it. Integrals in calculus, the polar system in trigonometry, everything to do with geometry, etc. I like learning it, but there is a lot to keep up with in such a short amount of time to process. Well that's due to the class setting. After college I will have to do my own studies at my own pace, so that pressure won't be as tense.personal values checklist:https://www.wayup.com/guide/computer-sc … jor-right/pros and cons:https://careersidekick.com/major-in-computer-science/information and requirements:https://study.com/articles/Computer_Sci … ments.htmlcareer paths:https://www.thebalancecareers.com/compu … jor-525371

URL: https://forum.audiogames.net/post/617029/#p617029




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


Re: what types of skills do I need to work with arduinos?

2021-02-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

@18 I have done a bit of general research on cs majors and real life applications to get a fuller picture. If you wish to read the few short articles I saved, I will link them at the end of this post. I will need to study more terminology and career path details.This sounds hard and scary, and it is going to take a lot for me to push from the lower 50% into the higher 50%. But I am the only one who can stop me from getting there. I have the resources for college, and it is free in my state. And as long as I know what is coming next and I do a bit of research before hand so I have a basic understanding when entering each class, I should do alright. Though I'm not sure if I am excited about math. I like it, but sometimes my head hurts from it. Integrals in calculus, the polar system in trigonometry, everything to do with geometry, etc. I like learning it, but there is a lot to keep up with in such a short amount of time to process.personal values checklist:https://www.wayup.com/guide/computer-sc … jor-right/pros and cons:https://careersidekick.com/major-in-computer-science/information and requirements:https://study.com/articles/Computer_Sci … ments.htmlcareer paths:https://www.thebalancecareers.com/compu … jor-525371

URL: https://forum.audiogames.net/post/617029/#p617029




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


Re: what types of skills do I need to work with arduinos?

2021-02-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

What are some ways I can learn about realistic timeline expectations? Or is the only one experience? You're right about my ignorance of timeframes. Often i tell myself that something is taking too long, so there is no point or I won't get anywhere. I don't feel that way with python though. If I have a project that I don't yet have enough knowledge for, I put it on the back burner and work on other projects that I know I can do. I learn knowledge with those projects and I still get something done, and eventually I can return to my bigger back burner project and either attempt a rewrite, or continue working on where I left off. So it isn't like I am constantly banging my head on the wall on one project over and over 24/7; I do have other things that I can focus on and put the project to the side, but not trash it. With me, I rarely ever trash projects. I may end up doing several rewrites, but each rewrite shows progress and gives me a better idea of what I have learned since last time, and what I still need to work on. I have like 2 huge projects I know I want to eventually put all of my attention on, a few side projects for learning/gradification, and I even have a small publically released project that I update from time to time. With those 2 projects I have gotten somewhere, but it isn't clean and it isn't organized. So I would rather take my time and rewrite it several times, like twice a year, to get it in better conditions. As for learning, I think my error lies in the fact that I don't do learning exercises from webpages or other online references. I am really only learning from the projects I do, which is a very limited scope.

URL: https://forum.audiogames.net/post/616818/#p616818




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


Re: what types of skills do I need to work with arduinos?

2021-02-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

What are some ways I can learn about realistic timeline expectations? Or is the only one experience? You're right about my ignorance of timeframes. Often i tell myself that something is taking too long, so there is no point or I won't get anywhere. I don't feel that way with python though. If I have a project that I don't yet have enouh knowledge for, I put it on the back burner and work on other projects that I know I can do. I learn knowledge with those projects and I still get something done, and eventually I can return to my bigger back burner project and either attempt a rewrite, or continue working on where I left off. So it isn't like I am constantly banging my head on the wall on one project over and over 24/7; I do have other things that I can focus on and put the project to the side, but not trash it. With me, I rarely ever trash projects. I may end up doing several rewrites, but each rewrite shows progress and gives me a better idea of what I have learned since last time, and what I still need to work on. I have like 2 huge projects I know I want to eventually put all of my attention on, a few side projects for learning/gradification, and I even have a small publically released project that I update from time to time. With those 2 projects I have gotten somewhere, but it isn't clean and it isn't organized. So I would rather take my time and rewrite it several times, like twice a year, to get it in better conditions. As for learning, I think my error lies in the fact that I don't do learning exercises from qwvpages or other online references. I am really only learning from the projects I do, with is a very limited scope.

URL: https://forum.audiogames.net/post/616818/#p616818




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


Re: what types of skills do I need to work with arduinos?

2021-02-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

What are some ways I can learn about realistic timeline expectations? Or is the only one experience? You're right about my ignorance of timeframes. Often i tell myself that something is taking too long, so there is no point or I won't get anywhere. I don't feel that way with python though. If I have a project that I don't yet have enouh knowledge for, I put it on the back burner and work on other projects that I know I can do. I learn knowledge with those projects and I still get something done, and eventually I can return to my bigger back burner project and either attempt a rewrite, or continue working on where I left off. So it isn't like I am constantly banging my head on the wall on one project over and over 24/7; I do have other things that I can focus on and put the project to the side, but not trash it. With me, I rarely ever trash projects. I may end up doing several rewrites, but each rewrite shows progress and gives me a better idea of what I have learned since last time, and what I still need to work on.

URL: https://forum.audiogames.net/post/616818/#p616818




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


Re: what types of skills do I need to work with arduinos?

2021-02-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

Jesus Christ. Are you sure you are not just a lucky one? Lol. It sounds like you have to be a natural to get there. And even if not, I'm barely getting started. I'm still struggling to create a menu based game lol. I'm getting further as I go, but for me it is not a piece of cake.

URL: https://forum.audiogames.net/post/616734/#p616734




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


Re: what types of skills do I need to work with arduinos?

2021-02-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: what types of skills do I need to work with arduinos?

What made me think this was going to be doable? Lol. I'm just trying to find myself. I've probably spent so much time thinking about the half a million jobs I can't do, tht I haven't got a clue what jobs I can do. Jobs that are innovative or creative. There is art, but I'm not an art person. Coding is the most creative I have gotten. But a career with coding sounds like a nightmare.

URL: https://forum.audiogames.net/post/616643/#p616643




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


what types of skills do I need to work with arduinos?

2021-02-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


what types of skills do I need to work with arduinos?

I am considering building things with arduinos and other robotic things as a career instead of the typical college and then job search path. Though I would still like to go to college for these skills. However, I don't know what skills and knowledge I need to work with robotics. I know there is mechanical engineering, electrical engineering, physics depending on what it is I am doing, and coding. But I don't know the terminology that I am looking for, or if there are multiple fields for this stuff, and which field I want to zoom in on.

URL: https://forum.audiogames.net/post/616238/#p616238




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

Everyone has to learn the lesson of proper case sensitivity and correct path composition at some point. Lol

URL: https://forum.audiogames.net/post/608220/#p608220




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

ah ok. Thanks @14, I'll tak a look at that function.

URL: https://forum.audiogames.net/post/608155/#p608155




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

holy crap! The lowercase was the issue. I made the lowercase only occur in the if statement like shown in post 12 and it now plays.@11 thanks for the suggestion. Didn't think lowercase would matter. I also reinserted os.path.join() in the search_system function just to be safe.Now that this issue is solved, I have another less concerning matter. The current function I use to search for files only supports 1 layer of subdirectories. How would I modify this function to search every single subdirectory with multiple layers from the starting path? And is there a way to make this function non recursive? Sorry I forgot the word opposite of recursive lol.

URL: https://forum.audiogames.net/post/607921/#p607921




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

holy crap! The lowercase was the issue. I made the lowercase only occur in the if statement like shown in post 12 and it now plays.@11 thanks for the suggestion. Didn't think lowercase would matter. I also reinserted os.path.join() in the search_system function just to be safe.

URL: https://forum.audiogames.net/post/607921/#p607921




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

holy crap! The lowercase was the issue. I made the lowercase only occur in the if statement like shown in post 12 and it now plays. @11 thanks for the suggestion. Didn't think that would matter. I also reinstered os.path.join() in the search_system function just to be safe.

URL: https://forum.audiogames.net/post/607921/#p607921




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

ok, I'll try that and see if that helps. I can also get rid of the case lowering by doing the following:in the search_system function, I return the list without lowercasing

def filter_result(server, supported_files, search_string):
 #case sensitive is a bitch, so we make everything lowercase
 search_string= search_string.lower()
 index=0
 while indexthis way, I am only making the list item lowercase in the if statement.Also @11 please check your discord dm when you have time. I have some questions for you.

URL: https://forum.audiogames.net/post/607916/#p607916




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

ok, I'll try that and see if that helps. I can also get rid of the case lowering by doing the following:in the search_system function, I return the list without lowercasing

def filter_result(server, supported_files, search_string):
 #case sensitive is a bitch, so we make everything lowercase
 search_string= search_string.lower()
 index=0
 while indexthis way, I am only making the list item lowercase in the if statement.

URL: https://forum.audiogames.net/post/607916/#p607916




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


Re: Scripting language for audio game creation

2021-01-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Scripting language for audio game creation

anything is better than bgt. I switched to python almost a year ago and don't regret it. I have learned so much more and in a faster time than with bgt. I still have a lot to learn, but I am making progress and gaining sskills with each project I do.

URL: https://forum.audiogames.net/post/607881/#p607881




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

I know the path joining works because the full path of the file is printed to my terminal. I'll provide some code.#file with path variable is loaded from json.load()
servers["random server"]["current path"]
#let's say it is set to:
"K:\team\pokemon"

@bot.command(help= "play an audio file with the bot")
async def test(ctx, search_string=""):
 #make sure the server name matches what is in the dictionary. If not, update the name before continuing
 server= get_server(ctx.guild.name, ctx.guild.id)
 server["supported files"]= search_system(server["current path"])
 if debug["audio deliver"] or debug["audio all"]:
  lucia.output.speak("Delivered "+str(len(server["supported files"]))+" files.")
 #we copy this list so that the server's supported files doesn't need to be rebuilt constantly
 supported_files= server["supported files"].copy()
 #if the user wants to search for part of a filename, filter the list
 if search_string!="":
  supported_files= filter_result(ctx.guild.name, supported_files, search_string)
 if debug["audio filter"] or debug["audio all"]:
  lucia.output.speak(f"After filter {len(supported_files)} files.")
 #if the supported_files list is empty, it returns a string instead to display to the user
 if type(supported_files)==list:
  filename= random.choice(supported_files)
  if debug["audio file"] or debug["audio all"]:
   lucia.output.speak(filename)
  #we do some processing here, but to cut it short in this example, we will jump directly to the play function
  #we pass the server, the event type, in this case a user requested file, and the full path of the file to play
  await play_audio(ctx.guild, "file", server["current file"]+filename)
 else:
  await ctx.send(supported_files, tts= server["use tts"])

def search_system(start_directory, file_types=["*.wav", "*.mp3", "*.ogg", "*.flac", "*.m4a", "*.wma"]):
 supported_files=[]
 #this recursive function only supports 1 layer of subdirectories which is unfortunate, but not our main concern
 for root, dirnames, filenames in os.walk(start_directory):
  for extensions in file_types:
   for filename in fnmatch.filter(filenames, extensions):
#this use to have the os.join() function, but that doesn't matter in the end since we are using pathlib.Path
supported_files.append(f"{root.lower()}\\{filename.lower()}")
 if debug["audio list"] or debug["audio all"]:
  lucia.output.speak("made list")
 return supported_files

def filter_result(server, supported_files, search_string):
 #case sensitive is a bitch, so we make everything lowercase
 search_string= search_string.lower()
 index=0
 while indexIf anyone has any solutions please let me know. Again, if I were to hard code a path in here, such as await play_audio(server, event, r"k:\team\pokemon")that would play the audio file. I have also tried converting the path immediately after the file is chosen instead of when it is time to play the file, but that doesn't make a difference.

URL: https://forum.audiogames.net/post/607789/#p607789




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

I know the path joining works because the full path of the file is printed to my terminal. I'll provide some code.#file with path variable is loaded from json.load()
servers["random server"]["current path"]
#let's say it is set to:
"K:\team\pokemon"

@bot.command(help= "play an audio file with the bot")
async def test(ctx, search_string=""):
 #make sure the server name matches what is in the dictionary. If not, update the name before continuing
 server= get_server(ctx.guild.name, ctx.guild.id)
 server["supported files"]= search_system(server["current path"])
 if debug["audio deliver"] or debug["audio all"]:
  lucia.output.speak("Delivered "+str(len(server["supported files"]))+" files.")
 #we copy this list so that the server's supported files doesn't need to be rebuilt constantly
 supported_files= server["supported files"].copy()
 #if the user wants to search for part of a filename, filter the list
 if search_string!="":
  supported_files= filter_result(ctx.guild.name, supported_files, search_string)
 if debug["audio filter"] or debug["audio all"]:
  lucia.output.speak(f"After filter {len(supported_files)} files.")
 #if the supported_files list is empty, it returns a string instead to display to the user
 if type(supported_files)==list:
  filename= random.choice(supported_files)
  if debug["audio file"] or debug["audio all"]:
   lucia.output.speak(filename)
  #we do some processing here, but to cut it short in this example, we will jump directly to the play function
  #we pass the server, the event type, in this case a user requested file, and the full path of the file to play
  await play_audio(ctx.guild, "file", server["current file"]+filename)
 else:
  await ctx.send(supported_files, tts= server["use tts"])

def search_system(start_directory, file_types=["*.wav", "*.mp3", "*.ogg", "*.flac", "*.m4a", "*.wma"]):
 supported_files=[]
 #this recursive function only supports 1 layer of subdirectories which is unfortunate, but not our main concern
 for root, dirnames, filenames in os.walk(start_directory):
  for extensions in file_types:
   for filename in fnmatch.filter(filenames, extensions):
#this use to have the os.join() function, but that doesn't matter in the end since we are using pathlib.Path
supported_files.append(f"{root.lower()}\\{filename.lower()}")
 if debug["audio list"] or debug["audio all"]:
  lucia.output.speak("made list")
 return supported_files

def filter_result(server, supported_files, search_string):
 #case sensitive is a bitch, so we make everything lowercase
 search_string= search_string.lower()
 index=0
 while indexIf anyone has any solutions please let me know. Again, if I were to hard code a pth in here, such as away play_audio(server, event, r"k:\team\pokemon")that would play the audio file. I have also tried converting the path immediately after the file is chosen instead of when it is time to play the file, but that doesn't make a difference.

URL: https://forum.audiogames.net/post/607789/#p607789




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


Re: discord bot won't play audio from keybase, but does on local drive

2021-01-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: discord bot won't play audio from keybase, but does on local drive

@2 no playing files from the keybase drive works, I can hard code a path and it will work. It is when I load a path from a dictionary and add onto it that it then stops working. But this doesn't happen with the local drive, not sure about another external drive.@3 what are you talking about? Also this issue isn't related to keybase, it is more about coding. I know playing from keybase works, as I stated above. So I am just doing something wrong.

URL: https://forum.audiogames.net/post/607433/#p607433




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


discord bot won't play audio from keybase, but does on local drive

2021-01-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


discord bot won't play audio from keybase, but does on local drive

So I've been frustrated with this for weeks now. I've tried lots of things, did research, still no answer. So hopefully someone here can help me with this issue.My discord bot can play audio from my local drive perfectly fine. It can choose a random file in a directory, and play it. Great. However, when I try to play audio from keybase, it's a whole other story.It will choose the file, and process the audio request. It will break as soon as it is suppose to play the audio, saying file or directory does not exist. But it does indeed exist because I through the path to a function to choose a random file from, so of course it works because it didn't give me a path error at that point. To fix this, I tried many things. I tried changing the backslashes to slashes. I tried importing pathlib and using the path function to convert it. Still nothing works. It is possible to play audio from this drive, because if I type out the path manually using r"k:\team\(etc)", it will accept that.So what is the issue here?

URL: https://forum.audiogames.net/post/607396/#p607396




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


discord bot won't play audio from keybase, but does on local drive

2021-01-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


discord bot won't play audio from keybase, but does on local drive

So I've been frustrated with this for weeks now. I've tried lots of things, did research, still no answer. So hopefully someone here can help me with this issue.My discord bot can play audio from my local drive perfectly fine. It can choose a random file in a directory, and play it. Great. However, when I try to play audio from keybase, it's a whole other story.It will choose the file, and process the audio request. It will break as soon as it is suppose to play the audio, saying file or directory does not exist. But it does indeed exist because I through the path to a function to choose a random file from, so of course it works. To fix this, I tried many things. I tried changing the backshlashes to slashes. I tried importing pathlib and using the path function to convert it. Still nothing works. It is possible to play audio from this drive, because if I type out the path manually using r"k:\teamt\(etc)", it will accept that.So what is the issue here?

URL: https://forum.audiogames.net/post/607396/#p607396




-- 
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 ForumDevelopers 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 ForumDevelopers 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 ForumDevelopers 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 ForumDevelopers 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 ForumDevelopers 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 ForumDevelopers 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


lucia error, makes no sense to me

2021-01-06 Thread AudioGames . net ForumDevelopers 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 ForumDevelopers 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 ForumDevelopers 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 ForumDevelopers 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


Re: An Opportunity May Be Just Around The Corner...

2020-12-29 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: An Opportunity May Be Just Around The Corner...

but audiogames.net is not a business freelancer site. You can't and shouldn't apply the same expectations.We barely get enough games with solo devs, and most team projects in the past 5 years besides somehow crazy party has gotten major backlash.I'm just hoping because this is Nocturnus, it is an exception. This guy is amazing and he's one of the most respected people on this forum. He certainly has one of the best reputation. I would hate for it to go down for him to lower his own confident or hope if this project doesn't go well.

URL: https://forum.audiogames.net/post/603006/#p603006




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


Re: An Opportunity May Be Just Around The Corner...

2020-12-29 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: An Opportunity May Be Just Around The Corner...

but audiogames.net is not a business freelancer site. You can't and shouldn't apply the same expectations.We bareally get enough games with solo devs, and most team projects in the past 5 years besides somehow crazy party has gotten major backlash.I'm just hoping because this is Nocturnus, it is an expection. This guy is amazing and he's one of the most respected people on this forum. Certainly has one of the best reputation. I would hate for it to go down for him to lower his own confident or hope if this project doesn't go well.

URL: https://forum.audiogames.net/post/603006/#p603006




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


Re: Sound designer looking for something to do

2020-12-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Sound designer looking for something to do

Yeah Zapsplat is a great idea. I don't know how much you earn from them, but it's better than nothing, and they have a good business model of 30 bucks for any sound, any time for a whole year.

URL: https://forum.audiogames.net/post/600364/#p600364




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


Re: Sound designer looking for something to do

2020-12-20 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: Sound designer looking for something to do

Yeah Zapsplat is a great idea. I don't know how much you earn from them, but ti's better than nothing, and they have a good business model of 30 bucks for any sound, any time for a whole year.

URL: https://forum.audiogames.net/post/600364/#p600364




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


Re: manage file archive in keybase using commandline

2020-12-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: manage file archive in keybase using commandline

well this is strange. Lol:keybase fs recover --rev 744 "/keybase/team/(rest of path)"- ERROR name exists (code 5101)It still worked though. I got my file back, yay!

URL: https://forum.audiogames.net/post/600069/#p600069




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


Re: manage file archive in keybase using commandline

2020-12-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: manage file archive in keybase using commandline

well this is strange. Lol:keybase fs recover --rev 744 "/keybase/team/(rest of path)"- ERROR name exists (code 5101)

URL: https://forum.audiogames.net/post/600069/#p600069




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


Re: manage file archive in keybase using commandline

2020-12-19 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: manage file archive in keybase using commandline

Is there a keybase path argument for teams? I've tried /keybase/team/(rest of my path) and it doesn't seem valid. I didn't see anything about teams in the kb docx for keybase path arguments either.

URL: https://forum.audiogames.net/post/600065/#p600065




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


Re: manage file archive in keybase using commandline

2020-12-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: manage file archive in keybase using commandline

ok I tried to paste this command, and it gives this error:keybase fs stat --show-archived "my path"result:Only one instance of keybase GUI allowed, bailing!

URL: https://forum.audiogames.net/post/599954/#p599954




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


Re: dictionary key error, list index out of range

2020-12-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: dictionary key error, list index out of range

So I think I figured out the problem. In my while loop, I never had it increase the index...Yeah, something that simple was missed. The reason it wasn't effecting my code was because I was only testing it with one server, thus there was only one request to run.

URL: https://forum.audiogames.net/post/599835/#p599835




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


Re: code to refer to a dictionary with and without nested dictionaries

2020-12-18 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: code to refer to a dictionary with and without nested dictionaries

makes sense.

URL: https://forum.audiogames.net/post/599833/#p599833




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


Re: manage file archive in keybase using commandline

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: manage file archive in keybase using commandline

I found the page I was talking about. I had to go back in 2 months history of a discord chat. Here the link is.https://book.keybase.io/docs/files/deta … resolutionEdit well it looks like this is useless to me because my dumbass doesn't know how to get command prompt to recognize keybase commands. God I'm so helpless!

URL: https://forum.audiogames.net/post/599716/#p599716




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


Re: manage file archive in keybase using commandline

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: manage file archive in keybase using commandline

I found the page I was talking about. I had to go back in 2 months history of a discord chat. Here the link this.https://book.keybase.io/docs/files/deta … resolution

URL: https://forum.audiogames.net/post/599716/#p599716




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


manage file archive in keybase using commandline

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


manage file archive in keybase using commandline

I asked in off topic, but no one replied, so figured it is more fitting here. I once saw a page in the keybase book talking about commandline commands. I have looked in the keybase book at the commandline section, and it doesn't have what I am looking for.Can someone please help me find the section where it talks about accessing the files archive/recovering from it?

URL: https://forum.audiogames.net/post/599707/#p599707




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


manage file archive in keybase

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


manage file archive in keybase

I asked in off topic, but no one replied, so fugired it is more fitting here. I once saw a page in the keybase book talking about commandline commands. I have looked in the keybase book at the commandline section, and it doesn't have what I am looking for.Can someone please help me find the section where it talks about accessing he files archive/recovering from it?

URL: https://forum.audiogames.net/post/599707/#p599707




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


Re: dictionary key error, list index out of range

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: dictionary key error, list index out of range

oh sorry, I meant to say audio files won't play from the k drive. The code runs frine from there. When it selects a random file, it says no such file or directory. So it knows they are there, but it can not play them. I don't know what the cause is. My friend's js bot can play k drive files perfectly fine. I know nothin gabout js so maybe it has something python doesn't natively have. But I know this should be possible in python.

URL: https://forum.audiogames.net/post/599700/#p599700




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


Re: code to refer to a dictionary with and without nested dictionaries

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: code to refer to a dictionary with and without nested dictionaries

I like programming, and the skills I learn from it, but I like socializing more. But that's not an option. So I take to coding because it engages me in a way that challenges myself. But again, it is not beyond the hobby level. I honestly didn't think about the audio game engine needing to have the modules intercept with networking. I admit, I am a dumbass for not remembering that. But I guess that is showing that I know I have to take it one step at a time with this. I have to build it without networking first. That's already a big enough task. Even if I have to copy and rewrite my audio game engine, at least I have a perfect working prototype of what I am aiming for. And it works. Sure it doesn't have the badass thrill of networking, but it's a game, that works.I'm willing to sacrifice time for a working prototype, even if the interworkings will not look anything similar. I know, i'm a fool. Coding a project based on networking without networking. Hey, I have to start somewhere. At least I'm not continuing to build it in bgt. I have given up the instant gratification of the networking, in order to focus all my attention on the ways I code it, and the cleanest way. I've learned a lot since switching to python. I've cleaned up my python code a few times, and it makes a huge difference. I don't regret making the switch from bgt to python at the sacrifice of easy networking. I do want to clarify. I am not cocky. If anything, I undermine myself all the time. But I'm trying to be positive about it. If I'm not positive, then I won't try at all. Even if I don't think I can do it, at least I will have tried.

URL: https://forum.audiogames.net/post/599699/#p599699




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


Re: code to refer to a dictionary with and without nested dictionaries

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: code to refer to a dictionary with and without nested dictionaries

I like programming, and the skills I learn from it, but I like socializing more. But that's not an option. So I take to coding because it engages me in a way that challenges myself. But again, it is not beyond the hobby level. I honestly didn't think about the audio game engine needing to have the modules intercept with networking. I admit, I am a dumbass for not remembering that. But I guess that is showing that I know I have to take it one step at a time with this. I have to build it without networking first. That's already a big enough task. Even if I have to copy and rewrite my audio game engine, at least I have a perfect working prototype of what I am aiming for. And it works. Sure it doesn't have the badass thrill of networking, but it's a game, that works.I'm willing to sacrifice time for a working prototype, even if the interworkings will not look anything similar. I know, i'm a fool. Coding a project based on networking without networking. Hey, I have to start somewhere. At least I'm not continuing to build it in bgt. I have given up the instant gratification of the networking, in order to focus all my attention on the ways I code it, and the cleanest way. I've learned a lot since switching to python. I've cleaned up my python code a few times, and it makes a huge difference. I don't regret making the switch from bgt to python at the sacrifice of easy networking.

URL: https://forum.audiogames.net/post/599699/#p599699




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


Re: code to refer to a dictionary with and without nested dictionaries

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: code to refer to a dictionary with and without nested dictionaries

My brain doesn't work like that at the moment. It is hard to wrap my head around concepts like class vs dict, and it's my fault for not reading enough on it lol. Most of my projects are top to bottom, again that's how my brain works. But there actually is one project that I have found, I am doing differently from the rest...Exactly 2 years ago, I started on one of my firt successful bgt projects. It happened to have networking, because of course, it is bgt. Well that first version was so bad, that I literally wrote out 4 players with no classes. I have 4 variables for everything, and I copied the send and receive functions for every player. Yeah, talk about a pain in the ass. Back then I wanted instant gratification with that project. But since then, I have rewritten it 3 more times. After the second time, I switched to python. I stopped developing that project, but not because I gave up on it. I stopped developing it, because I want to figure all the pieces out and combine them into a sort of audio game engine first, so that  y project finally has a solid foundation with most of the design already down, from those small pieces.As far as the audio game engine, I'm aware of how big this is. It's a crazy idea. But there are modules that I always see myself using, and instead of having to copy them from project to project, I would like to have an engine that all my projects can refer to. This also helps with having multiple different versions from each project. Now sometimes, I end up modifying a module to meet the project's specific needs. But that's something I going to have to deal with after I get the initial prototype working. And the answer will most likely involve classes. Since in my instance of the class, I can add something that allows me to have specific data tfor that project.Are my plans perfect? Absolutely not. Am I crazy for trying to attempt something this big? Yes. But I've realized how much it would help me, and how much cleaner my projects would be with it. Not to mention if I need to fix a bug, or I update one of the modules, currently I have to go to every place that module is, and update it.Back to the project with networking, I know I am going to have to write it without networking first, because networking is a pain in the ass. And i have to accept that it might never get networking support. But on the off chance that it ever does, I am going to have to rewrite it a 6th time for that networking support. I've already written it 4, so there is no point in giviing up now. And if the 5th version was a success, I honestly probably would be excited enough to have the motivation to write it the 6th time to add network support. Because that's the main idea of the game.

URL: https://forum.audiogames.net/post/599589/#p599589




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


Re: code to refer to a dictionary with and without nested dictionaries

2020-12-17 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: code to refer to a dictionary with and without nested dictionaries

My brain doesn't work like that at the moment. It is hard to wrap my head around concepts like class vs dict, and it's my fault for not reading enough on it lol. Most of my projects are top to bottom, again that's how my brain works. But there actually is one project that I have found, I am doing differently from the rest...Exactly 2 years ago, I started on one of my firt successful bgt projects. It happened to have networking, because of course, it is bgt. Well that first version was so bad, that I literally wrote out 4 players with no classes. I have 4 variables for everything, and I copied the send and receive functions for every player. Yeah, talk about a pain in the ass. Back then I wanted instant gratification with that project. But since then, I have rewritten it 3 more times. After the second time, I switched to python. I stopped developing that project, but not because I gave up on it. I stopped developing it, because I want to figure all the pieces out and combine them into a sort of audio game engine first, so that  y project finally has a solid foundation with most of the design already down, from those small pieces.As far as the audio game engine, I'm aware of how big this is. It's a crazy idea. But there are modules that I always see myself using, and instead of having to copy them from project to project, I would like to have an engine that all my projects can refer to. This also helps with having multiple different versions from each project. Now sometimes, I end up modifying a module to meet the project's specific needs. But that's something I going to have to deal with after I get the initial prototype working. And the answer will most likely involve classes. Since in my instance of the class, I can add something that allows me to have specific data tfor that project.Are my plans perfect? Absolutely not. Am I crazy for trying to attempt something this big? Yes. But I've realized how much it would help me, and how much cleaner my projects would be with it. Not to mention if I need to fix a bug, or I update one of the modules, currently I have to go to every place that module is, and update it.

URL: https://forum.audiogames.net/post/599589/#p599589




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


Re: dictionary key error, list index out of range

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: dictionary key error, list index out of range

update. I solved it, but didn't solve it. So for whatever reason, it doesn't like my keybase drive. So I changed the path I was using for testing, to the c drive. THe audio files now play. However, it still says list index out of range. So... nothing is wrong, it works... but something makes it think it is out of range. That's strange. Maybe delete _py cache? Doubt it will work.

URL: https://forum.audiogames.net/post/599440/#p599440




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


Re: code to refer to a dictionary with and without nested dictionaries

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: code to refer to a dictionary with and without nested dictionaries

Ok. Honestly I don't think I can learn the right way. I can tell you for a fact I only do this as a slight hobby. Yes I put in time into it, and some research. But definitely not enough to take this seriously. And, I get lost in advice. But that part is on me, becuase like you said I am not being clear with what I am doing. I will admit it is because I am scared to be told to stop working on it, do more learning, then rebuild it. And that makes a lot of sense. It is what I should do. I just... don't work like that though. You can call me one of those people who wants instant gratification I guess. I do try somewhat, but I could be trying a lot harder.But I want you to know that I do trust you with what you say. I'm not in denial or arrogant. If you say that there is a better way, or that I am struggling because lack of knowledge, and taking on too big of tasks, and that I don'tr recognize when to use classes verses functions verses dictionaries verses more things, I believe you. And... I surprisingly know that part. I have good expereience with functions, I have written some really cool general functions that have helped with many of my projects. But I struggle with classes, though I am slightly better off than I was a few weeks ago. And for dictionaries, yeah. Hard to tell when to use that verses a class. I guess i could do more research on that. Discussions like this help me remind myself what things i should read about sometimes.This got really long. Lol sorry. I know I'm not doing myself the best favors. My coding practices are not that great. But, I am improving. Slowly, but surely. And again, sorry I am not clear enough. And as a result, sorry for not being able to wrap my head around a lot of your advice. Ok this is really getting long. I'm stopping here. But thanks again. Your replies do help me even if it doesn't seem like it very much 

URL: https://forum.audiogames.net/post/599439/#p599439




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


Re: dictionary key error, list index out of range

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: dictionary key error, list index out of range

Ok. I'll do more variable checking to see what's going on. Thanks.

URL: https://forum.audiogames.net/post/599424/#p599424




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


Re: dictionary key error, list index out of range

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: dictionary key error, list index out of range

it is a global, and I declare it after importing everything. As for the list index, how is that possible when it tells me the information perfectly fine, but it just refuses to be used in the dictionary? I verify it has the correct inforatmion, and none of it is off, so how is it suddenly out of range? I can even assign a string to the server name right before the dictionary and it will work. I just can't use it as a dictionary key...

URL: https://forum.audiogames.net/post/599414/#p599414




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


Re: code to refer to a dictionary with and without nested dictionaries

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: code to refer to a dictionary with and without nested dictionaries

you've never dealt with an unknown dictionary key and a multi-layer dictionary before? Sometimes the unknown value I need is in the top layer, sometimes it isn't. I've needed to do this twice now, in just a few months. How have you not needed to do this in 10 years? I know I'm stupid, but I can't be that dumb, right? Lol. But really. How have you solved issues like this?

URL: https://forum.audiogames.net/post/599411/#p599411




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


Re: dictionary key error, list index out of range

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: dictionary key error, list index out of range

I already tried that. It had the same result. I suppose I could just pass the server's dictionary instead of the name, but I don't know if that would make a new instance of the dictionary, or if it will modify the global one. I want it to modify the global.

URL: https://forum.audiogames.net/post/599392/#p599392




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


Re: dictionary key error, list index out of range

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: dictionary key error, list index out of range

I already tried that. It had the same result.

URL: https://forum.audiogames.net/post/599392/#p599392




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


dictionary key error, list index out of range

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


dictionary key error, list index out of range

I have a class, which has a list and an index.When a discord server wants to put in an audio file play request, the 3 parameters are put into a list object, that is appended to the request list.the server name (ctx.guild.name), the event that is happening on the server which in this case is a file, and the audio file to play.I send the request list to a function to run through requests and play audio. However, whenever I try to refer to the server in my dictionary of servers, it says list index out of range. But I know this isn't the case, because right after I refer to the server, I have lucia speak a message telling me the current request number and each of the 3 parameters. So why can I reference the server name, but when I try to reference it in the dictionary of servers, it gives a list index out of range error?I've used, server= data[ctx.guild.name] plenty of times. So now why is it all of a sudden not liking that?The line reads as follows:server= data[request.list[request.index][0]]data is the dictionary of servers. Request is the class that stores the list of requests and the index.The 0 is the server name (ctx.guild.name), 1 is the event, and 2 is audio file name.Why is it getting upset about this? Even more odd, why can I still reference it, just not in a dictionary?

URL: https://forum.audiogames.net/post/599384/#p599384




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


dictionary key error, makes no sense to me

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


dictionary key error, makes no sense to me

Kind of undescriptive title. I'll explain below.I have a class, which has a list and an index.When a discord server wants to put in an audio file play request, the 3 parameters are put into a list object, that is appended to the request list.the server name (ctx.guild.name), the event that is happening on the server which in this case is a file, and the audio file to play.I send the request list to a function to run through requests and play audio. However, whenever I try to refer to the server in my dictionary of servers, it says list index out of range. But I know this isn't the case, because right after I refer to the server, I have lucia speak a message telling me the current request number and each of the 3 parameters. So why can I reference the server name, but when I try to reference it in the dictionary of servers, it gives a list index out of range error? I've used, server= data[ctx.guild.name] plenty of times. So now why is it all of a sudden nt liking that?The line reads as follows:server= data[request.list[request.index][0]]data is the dictionary of servers. Request is the class that stores the list of requests and the index. The 0 is the server name (ctx.guild.name), 2 is event, and 2 is audio file name.Why is it getting upset about this? Even more odd, why can I still reference it, just not in a dictionary?

URL: https://forum.audiogames.net/post/599384/#p599384




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


Re: code to refer to a dictionary with and without nested dictionaries

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: code to refer to a dictionary with and without nested dictionaries

no, I am trying to be able to access both normal and a nested scope at the same time.my_server["admins"]
my_server["members"]["welcome message"]I would like to be able to refer to both "admins" and "member"["welcome message"] as a variable.value= "admins"
my_server[value]
value= "member"[welcome message]
my_server[value]However that value of a nested dictionary is an error. So how do I get around this?

URL: https://forum.audiogames.net/post/599383/#p599383




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


code to refer to a dictionary with and without nested dictionaries

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


code to refer to a dictionary with and without nested dictionaries

Hello. Is there a way to refer to a key that contains a nested dictionary? Say we have a dictionary of discord servers. In one of our servers, we have some values, like admins, welcome messages, so on. But then there are user dictionaries. This would include things like online and offline messages, sound avatars for joining and leaving voice channels, and so on. Btw I don't even know if online and offline messages are possible, but it's an example.I would like to refer to the server on the entry level, for example,server= data[ctx.guild.name]server["admins"], server["welcome messages"], etc.However, in order to access user dictionaries, I would have to put,server[username]["join avatar"]The issue is, I can not write, username["join avatar"] into a string. I could use 2 separate strings, however that would mean that the dictionary is expected to have a nested layer, so server["admins"] would then be invalid.Better phrasing of my question, how can I write a key that supports nested dictionaries while keeping my zoom on the server's entry level? I did find 1 solution, but it is awkward, ridiculous, and much more trouble than worth. If there is a solution, I am assuming it could work with an infinite amount of nests.

URL: https://forum.audiogames.net/post/599372/#p599372




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


code to refer to a dictionary with and without nested dictionaries

2020-12-16 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


code to refer to a dictionary with and without nested dictionaries

Hello. Is there a way to refer to a key that contains a nested dictionary? Say we have a dictionary of discord servers. In one of our servers, we have some values, like admins, welcome messages, so on. But then there are user dictionaries. This would include things like online and offline messages, sound avatars for joining and leaving voice channels, and so on. Btw I don't even know if online and offline messages are possible, but it's an example.I would like to refer to the server on the entry level, for example,server= data[ctx.guild.name]server["admins"], server["welcome messages"], etc.However, in order to access user dictionaries, I would have to put,server[username]["join avatar"]The issue is, I can not write, username["join avatar"] into a string. I could use 2 separate strings, however that would mean that the dictionary is expected to have a nested layer, so server["admins"] would then be invalid.Better phrasing of my question, how can I write a key that supports nested dictionaries while keeping my zoom on the server's entry level?

URL: https://forum.audiogames.net/post/599372/#p599372




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


Re: numpy error on windows 2004

2020-12-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: numpy error on windows 2004

I'm only using it because cython requires it.

URL: https://forum.audiogames.net/post/597926/#p597926




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


Re: numpy error on windows 2004

2020-12-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: numpy error on windows 2004

I'm about to sound really stupid. I don't know which version I need to download.

URL: https://forum.audiogames.net/post/597914/#p597914




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


numpy error on windows 2004

2020-12-12 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


numpy error on windows 2004

I was cythonizing my code, when this beautiful error came upRuntimeError: The current Numpy installation ('c:\\users\\daniel\\documents\\python\\lib\\site-packages\\numpy\\__init__.py')fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information:https://tinyurl.com/y3dm3h86So unbelievably, I actually did research and looked at that link. It appears that windows 2004 has broken part of numpy for some users. I didn't find answers immediately of course, so I jumped to the most recent post on the discussion.Someone did find a solution a few hours ago, on page 3 of that tinyurl link. The post reads as follows:Installing prebuild numpy binary from https://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy worked for me.Unbelievable that MS feels breaking Numpy-library is just OK.I looked at the link in the post, but didn't know what to do. This is also strange, because it didn't happen on my bootcamp installation, but it does happen on this computer.

URL: https://forum.audiogames.net/post/597882/#p597882




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


Re: should I be worried that this python package won't update?

2020-12-11 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: should I be worried that this python package won't update?

how can I help it find the vc complier? And again, is that 1 outdated package anything to worry over?

URL: https://forum.audiogames.net/post/597577/#p597577




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


should I be worried that this python package won't update?

2020-12-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


should I be worried that this python package won't update?

Hello. So I installed all of the updates I could with pip-review, but one is apparently not up to date, and it seems that the rest of my packages are too high for this one package to update.aiohttp==3.7.3 is available (you have 3.6.3)When I try to upgrade, it gives the following messages.aiohttp 3.7.3 requires chardet<4.0,>=2.0, but you have chardet 4.0.0 which is incompatible.I also got another error message after updating the first one, it mentioned discord requires a lower version than 3.7.0.So it's either, I can leave this one out of date, or the other package that it mentioned. What should I do? And also, side problem, I get this error when trying to cythonize a script:error: Unable to find vcvarsall.bat

URL: https://forum.audiogames.net/post/597520/#p597520




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


should I be worried that this python package won't update?

2020-12-10 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


should I be worried that this python package won't update?

Hello. So I installed all of the updates I could with pip-review, but one is apparently not up to date, and it seems that the rest of my packages are too high for this one package to update.aiohttp==3.7.3 is available (you have 3.6.3)When I try to upgrade, it gives the following messages.aiohttp 3.7.3 requires chardet<4.0,>=2.0, but you have chardet 4.0.0 which is incompatible.I also got another error message after updating the first one, it mentioned discord requires a lower version than 3.7.0.So it's either, I can leave this one out of date, or the other package that it mentioned. What should I do?

URL: https://forum.audiogames.net/post/597520/#p597520




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


Re: ffmpeg environment variable incorrect path?

2020-12-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: ffmpeg environment variable incorrect path?

wait. I'm not as big of a dumbass as I sound. I figured it out, thanks @4.Well ok I'm still just as big of a dumbass. Look I don't like nerd shit lol.

URL: https://forum.audiogames.net/post/595813/#p595813




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


Re: ffmpeg environment variable incorrect path?

2020-12-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: ffmpeg environment variable incorrect path?

it is suppose to be in the path, whatever that means. It isn't in user vars, it is in system. How did I do this on my other laptop? Somehow it got into the python scripts var, I don't understand any of this stuff. Lol i just want it to magicly work like it somehow did the first time.

URL: https://forum.audiogames.net/post/595775/#p595775




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


Re: ffmpeg environment variable incorrect path?

2020-12-05 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: ffmpeg environment variable incorrect path?

it is suppose to be in the path, whatever that means. It isn't in user vars, it is in system. How did I do this on my other laptop?

URL: https://forum.audiogames.net/post/595775/#p595775




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


ffmpeg environment variable incorrect path?

2020-12-04 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


ffmpeg environment variable incorrect path?

Hello, I am trying to get ffmpeg working on my new computer. I have created an environment variable, credentials below.ffmpeg; Value: C:\Users\Daniel\Music\ffmpeg\binWhen I join my discord bot to the voice channel, it doesn't play audio. For the record, it does on my other computer. I could double check the path by booting back into bootcamp and checking there, but I'd rather ask here. Maybe I should just double check on the other machine. Ah well.

URL: https://forum.audiogames.net/post/595365/#p595365




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


Re: bgt is a virus?

2020-11-30 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: bgt is a virus?

I picked up some bad habits from bgt, and I still suck at coding, but I did manage to switch from it to python. I'm happy with my decision. I've noticed an immediate impact in my work.

URL: https://forum.audiogames.net/post/594329/#p594329




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


Re: I can't install python, please help

2020-11-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: I can't install python, please help

I don't need that. I just want a basic setup. So I'll say no to environment variables. Plus when I did try it gave me the error 260 character limit.

URL: https://forum.audiogames.net/post/593330/#p593330




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


Re: I can't install python, please help

2020-11-27 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: I can't install python, please help

So good news. I just randomly ran the installer again and it is actually letting me unstall now. And I removed the python environment variable. So now my question is, should I add python to my environment variables or or ot do that? I don't exactly no the use of it.

URL: https://forum.audiogames.net/post/593296/#p593296




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


Re: I can't install python, please help

2020-11-26 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: I can't install python, please help

Told you I am not smart with installing things, and even less  with coding. Dare I go into the registry and delete anything related to python? I'm aware, I'm making myself look like an even bigger dumbass. I won't hide it. I've already blown any credibility lol.

URL: https://forum.audiogames.net/post/593094/#p593094




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


Re: I can't install python, please help

2020-11-26 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


Re: I can't install python, please help

same damn result. Here's this incase it helps.[2E5C:188C][2020-11-26T13:02:11]i001: Burn v3.11.1.2318, Windows v10.0 (Build 18363: Service Pack 0), path: C:\Users\Daniel\AppData\Local\Package Cache\{de694e50-e0d0-48a5-9a7a-56fd037154e2}\python-3.8.5-amd64.exe[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'ActionLikeInstalling' to value 'Installing'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'ActionLikeInstallation' to value 'Setup'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'ShortVersion' to value '3.8'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'ShortVersionNoDot' to value '38'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'WinVer' to value '3.8'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'WinVerNoDot' to value '38'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'InstallAllUsers' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'InstallLauncherAllUsers' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'TargetDir' to value ''[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'DefaultAllUsersTargetDir' to value '[ProgramFiles64Folder]Python[WinVerNoDot]'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'TargetPlatform' to value 'x64'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'DefaultJustForMeTargetDir' to value '[LocalAppDataFolder]Programs\Python\Python[WinVerNoDot]'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'OptionalFeaturesRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstalledFeatures'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'TargetDirRegistryKey' to value 'Software\Python\PythonCore\[WinVer]\InstallPath'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'DefaultCustomTargetDir' to value ''[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'InstallAllUsersState' to value 'enabled'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'InstallLauncherAllUsersState' to value 'enabled'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'CustomInstallLauncherAllUsersState' to value '[InstallLauncherAllUsersState]'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'TargetDirState' to value 'enabled'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'CustomBrowseButtonState' to value 'enabled'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_core' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_exe' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_dev' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_lib' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_test' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_doc' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_tools' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_tcltk' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_pip' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_launcher' to value '-1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'Include_launcherState' to value 'enabled'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_symbols' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Include_debug' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'LauncherOnly' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'DetectedLauncher' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'DetectedOldLauncher' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'AssociateFiles' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'Shortcuts' to value '1'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'PrependPath' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'CompileAll' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing numeric variable 'SimpleInstall' to value '0'[2E5C:188C][2020-11-26T13:02:11]i000: Initializing string variable 'SimpleInstallDescription' to value ''[2E5C:188C][2020-11-26T13:02:11]i009: Command Line: '"-burn.clean.room=C:\Users\Daniel\AppData\Local\Package Cache\{de694e50-e0d0-48a5-9a7a-56fd037154e2}\python-3.8.5-amd64.exe" -burn.filehandle.attached=612 -burn.filehandle.self=624 

I can't install python, please help

2020-11-26 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


I can't install python, please help

I got a new computer and fucked up the python installer. Try to install, then realized I need to install it in a different location than program files, and tried to cancel it. So now the python setup acts as if there is a functional installation, but if I try repairing, uninstalling, or reinstalling, it just says no installation found. I'm a dumbass! What do I do?I'm not smart with installing software, and especially not when it comes to coding languages.

URL: https://forum.audiogames.net/post/593005/#p593005




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


I can't install python, please help

2020-11-26 Thread AudioGames . net ForumDevelopers room : Zarvox via Audiogames-reflector


  


I can't install python, please help

I got a new computer and fucked up the python installer. Try to install, then realized I need to install it in a different location than program files, and tried to cancel it. So now the python setup acts as if there is a functional installation, but if I try repairing, uninstalling, or reinstalling, it just says no installation found. I'm a dumbass! What do I do?

URL: https://forum.audiogames.net/post/593005/#p593005




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


  1   2   3   4   5   >