@isaacjaco49111 said in join a resource with a variable:
@Fox I understand, so for example if I have 20 accounts and I want to obtain resource 18, should I create 18 resources?
Create one resource and put the data of 20 accounts in it
@Roy-Mustang Already tried that solution too. Twaego says my script doesn’t read the database schema, although it seems strange to me because in other situations it reads the database perfectly. Now, as a drastic solution, I’ll try to redo everything
I’m definitely missing something. I created a script that creates a new account. Once it’s created, I use "insert record" to save various data like login, password, cookies, and fingerprint into the database. However, if I continue the script and want to increment a variable (e.g., warm), it doesn’t work. I think I’m missing a command to recall the data of the same account, or am I wrong?
My opinion is that the INSERT RECORD action does not save, or rather, any action to update the record cannot find the record. So, in between, there is a missing function to read the updated data from the database.
@to-nice said in Increase Variable:
I’m definitely missing something. I created a script that creates a new account. Once it’s created, I use "insert record" to save various data like login, password, cookies, and fingerprint into the database. However, if I continue the script and want to increment a variable (e.g., warm), it doesn’t work. I think I’m missing a command to recall the data of the same account, or am I wrong?
My opinion is that the INSERT RECORD action does not save, or rather, any action to update the record cannot find the record. So, in between, there is a missing function to read the updated data from the database.
You would create a test script as short as possible that demonstrates the problem. Users would have offered you a solution to the problem a long time ago.
@to-nice said in Increase Variable:
@Fox @Roy-Mustang This is a simple script. As mentioned, when I do "insert record," it's working, but in "update," it's not working. I also tried inserting VARIABLE VALUE [[RISPOSTE]] and name RISPOSTE.
There is no database in your script

It is also not very clear what exactly your script does and what you want to achieve. Are you probably expecting that increasing the variable will automatically increase this value in the database?
@to-nice It is not clear what you want to achieve, if you need to do just +1 to a variable I have already described it
@to-nice said in Increase Variable:
db is connect,
Maybe I'm missing a step then. Do I need to call it back? Doesn't the script insert it automatically?That's just one page of the script; I didn't send everything. Did I make a mistake?
You may not have saved the script before submitting it to the forum.
@Roy-Mustang @Fox It's not like that. When I use parse CSV, it gives me a different record, meaning it retrieves a record from the database that is not the correct one. My simple process is this: I assign a fingerprint, create a new account, and save it with insert record in the database. From there, I need to increase the variable for that account. The strange thing is that if I take an existing record from the database, the variable increment procedure works. So, I'm missing something that retrieves that newly created account.
I believe the problem is easy to solve. When I create a new account, I don’t have the account ID available, so if I want to parse, I don’t think there is a solution. The only solution that comes to mind is to assign an ID directly in the insert record. Right or wrong?