Hi guys, i coded an AI loop to iterate through 50 id's check if the player has any of those id's in his inventory, if he does the item gets deleted.
I did this with a for loop and it is working, but i know AI should be as fast as possible to finish its operations, im wondering would writing the 50 cases be faster performance wise and worth changing from the looping solution?
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hoodservices
https://campsite.bio/utchihaamkt
Storm War
Nuestro servidor cuenta con el sistema de subclase acumulativa. Al alcanzar el nivel 75 en cada subclase, se crea el personaje y se obtiene la primera y segunda profesión. Al llegar al nivel 75, se debe hacer la subclase, repitiendo este proceso tres veces. La última subclase será la principal, que es la que debe avanzar a la tercera profesión y con la cual se participará en las olimpiadas. Cabe recordar que no se puede cambiar ninguna subclase una vez elegida. Las subclases se realizan en el NPC ubicado en Giran.
https://www.storm-war.com.ar/
Question
caganitas
Hi guys, i coded an AI loop to iterate through 50 id's check if the player has any of those id's in his inventory, if he does the item gets deleted.
I did this with a for loop and it is working, but i know AI should be as fast as possible to finish its operations, im wondering would writing the 50 cases be faster performance wise and worth changing from the looping solution?
thanks!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.