Premium BAS license holders have the ability to compile BAS with other parameters, including some earlier versions.
I have compiled versions since 22.6.9, but I'm too lazy to throw in the file share and drop the link.
1. Decreasing DB records, 2. DB records not added instantly if ever = ?
-
Hello im hoping someone knows whats up.
I have made plenty of bots that are using database and they are kind of running 24/7.
My issues are:
- one database that should ONLY grow, has its records reduced. i refresh it every few seconds, and number goes lower and lower. current number 20471. it will be soon 20465.
This is really weird because im only adding records there as far as I recall. then why would it decrease?
Or are bugs caused because i have 430000 records overall in my database and its toomuch?
- I have console.log action that prints message when it acquired new data and added it to databse.
It prints the text, but it DOESNT add record to database. sometimes records are added, but in most cases they are not.
And they are NEVER in the same time when the console.log prints message. and these actions are right near each other.
what could be wrong? BTW AS i have done writing this question one of my dbs decreased to 20465 records as i predicted.
i think there may be wrongly specified group in some of my bots. thats why it takes from wrong group. But i cant find it. So maybe its bug.
And the second thing with records not being added is also troublesome.
Any thoughts?
i have been really checking these bots over and over and i dont see any action that has wrong group specified or that deletes something
- one database that should ONLY grow, has its records reduced. i refresh it every few seconds, and number goes lower and lower. current number 20471. it will be soon 20465.
-
Ok the value stopped being reduced after i turned one bot offline.
so i know which bot is it.
i checked the bot.
this is what gets and removes the record

i take 100 top elements with some criteria from group1.
then i take one random element from that list.
then i remove it from db with its ID.seems it removes the record from both group1 and group2 thats why both dbs are decreasing (when only one should)
but there are no same records that are in 2 groups simultaneously
can there be 2 records, one in group1,second with group2, that have same ID?
that seem to explain one issue.
But issue number 2 is still not clear whats going on.
Is it just record number bugged : ?

because it should be growing by one every 30 second but its been at this number for a while and eventually goes few up and few down
edit
NVM i was using older version of my bot (i created fixed version but launched wrong shortcut)... what a waste of time ! -
@yourfriendkarol said in 1. Decreasing DB records, 2. DB records not added instantly if ever = ?:
NVM i was using older version of my bot (i created fixed version but launched wrong shortcut)... what a waste of time !
Is the problem still relevant?