Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
- Doesn't seem to work across different bot tiers
- Doesn't seem to work on bot tiers other than the lowest.
This is likely because I'm using another mod "BotUpgrade" to change T0 bots to T1 and above
I shall test this.
I have a farming area where bots each have a 1x10 slice next to each other.
Each new bot i add I use the SameName thing then change the name afterwards so I can move the search area of each new bot up by one.
Maybe you could find a way to include "shifting" into the name, so each new bot has the SameName but a syntax in the name can have them "shift" by whatever is written like... I dunno Berry Farmer <Z+1>
Maybe you could make it so each new bot added "counts" how many with the SameName there are already and "shifts" that number of times.
A few options where you can toggle what aspects to ignore when copying scripts.
Things like storing locations, bot search locations, what building to use, player set values in scripts etc...
For example, two bots storing two different things at two locations.
You don't want to sync their search or storing location but what they do when the storage container is full, so you toggle the search location and store location to be ignored.
Of course I'm not asking for a perfect solution, I still expect having to tweak some values back to what they were, but I just think this might help just a little bit.
Yeah, same here ^^
Anyway, I would like to say, good luck & thanks for your mods. ^^
And don't push to hard, a new feature is coming to "register a bot to a script" (auto sync). But, it can be released in 2 months or 2 years, we don't know :D
I’m not familiar with lua. In fact, this is my first mod.
I have not done the performance analysis of this mod, so I don’t know what is the main reason for the performance problem, I guess it is in ModBot.GetScriptSavegameFormat() and ModBot.SetScriptSavegameFormat(), if it is really the problem of these two functions , There is probably no way to solve it, because the number of uses of these two functions cannot be reduced.
I have to find out how to check the running time of lua before testing
No worries! I have issues with english, and use google translate too :p
People can forget what the shortcut is indeed ^^ But they can re-read the mod's description instead. Set their own shortcut helps to remember (for F5 make sense to me)
That apart, using a shortcut to temporary pause/play auto sync is not ideal, yes x) But it was my solution to my design and, to the "lack of api"
In your case, for the performance concerns, (and i know too much loops can cause performance issues sometimes) , I don't know if 2 loops (register script ; set script) is "too much" or not. But it is necessary. Instead, this is maybe a game performance issue
I don't think either that adding a shortcut is useful in this case
But! (i'm way **not** a lua expert xD), maybe instead of 2 loops, using just one can improve performances:
- register script if its not already (re-check this bot later if no script)
- otherwise, set script
'just a thought, I don't know ^-^
Sorry for my bad English, although it is ok to read the file, but I can’t write, so I use Google Translate
Regarding the shortcut key part, I mean for the player, if he forgets what the shortcut key is for a certain operation in the game, he can’t check it in the game, he can only go back to the main screen and go to the mod setting to find it. I think this is bad.
So if the performance problem can be solved, I hope there is no need to set the AutoSync switch and shortcut keys (Always AutoSync)
But in this version of yours, there should be no way to remove the shortcut keys
I can try to fork from the current version to [...]
If it's a question, if you want, do as you like! :D
but (like i said, if i helped), yeah, i would like a mention of me somewhere, why not, and that would be nice of you ^-^
For the rest, I'm not sure if I understand very well what you mean :thinking: but let's try!
The more troublesome[...] (it's a fact)
Yes, indeed
"which shortcut", I suppose you mean " the player don't know what the shortcut do" ?
[But in case : NO]
We (you & me) don't need to know what the shortcut's value is (it's 1, 3 or something else ?),
we just need its name (eg. my "Toggle auto sync")
[YES] When I wrote this, I thought a description :
<shortcut name> do <this>. Please, check if it's not already used (we can only use 1-9, it's very limited)
I recommend <this shortcut>* ; in your case, you can use it
* My own shortcuts was
"Sync bots now" : F5
"Toggle auto sync" : F6 (or Ctrl+F5) -ish