IPC GUI todo
IPC GUI source code is available here. Feel free to make appropriate modifications and send a PR.
Bugs
- [Global] Load fallback strings if dynamic loaded i18n strings are empty
- [Bots] Fix all images being showed Described here
ToDos
- [Global] Think about NLog layout
- [Bots] Auto detect order of keys in BGR Consider this suggestion
- [Commands] Implement wiki parser for command descriptions Show tooltip/box with wiki info about the selected command - Consider this suggestion
- [Config] Implement wiki parser for config properties Show tooltip/box with wiki info about the selected config property - Consider this suggestion
- [Config] Implement Driver.js Wiki parser for Editor and Generator, Whats new?, Tips&Tricks, missing input etc.
- [Config] Do not include default properties when updating config Current save method in ASF ignores default properties and writes whole BotConfig to file
- [Config] Implement parsing helper to editor and generator
Suggestions
- [Commands] Add "quick commands" feature Consider this suggestion
- [Commands] Save last
Command sentinfo Maybe add a button to resend last sent command - [Commands] Add
multiplesupport for botsDropDown - [Commands] Think about adding
autoCompletetocommandInput - [Commands] Get raw
.mdfile and parse it Consider this suggestion
Final Steps
- Implement style guide and coding conventions
- Check nightmode support
- Optimize and clean code
- Check for input/output sanitation
- Minimize all files
FAQ
Error 1006 when viewing Log page
This is getting caused by one of the following points:
- Adblocker - Add IPC GUI to whitelist
- Windows 7 - Websockets are not supported on win7
- nginx - Check websocket proxying
When using nightmode and swiching between pages, lightmode is visible for a short moment Sadly I cant change that.
Random suggestion - it'd be nice if BGR keys importer offered also a switch that would change order from name<delimiter>key into key<delimiter>name. Even better if it could automatically detect that based on regex (so "order" dropbox with 3 options - auto-detect, key-name and name-key, default to auto).
BTW, #799 should also solve lack of websockets on Windows 7 - runtime uses managed implementation in this case 🙂.
Hopefully here is the correct place to report this bug:
IPC GUI is unable to send commands to bots containing a # in their name
Sending (any) command to bots containing a # in their name fails with bot not found error. For example bot name 'x#y' The # and everything past it gets cut off in the parsing somewhere. I suppose the issue is html/http replacing symbols like # and some others to %-codes. Escaping them when sending might solve that.
Re Error 1006.
Using ASF on local machine on Win10 with AdBlock installed on Chrome, Firefox and Opera: only on Firefox this error occurs.
i got the error both on chrome and firefox. i think it depends on the settings you have in your adblocker (the block-lists you chose)
Pressing "-" won't minimize the window, the "-" will turn into a "+" only.

I changed code of drop-down menu, cuz old was uncomfortable. I know, it's not best code, but it's simple and working.
.scrollable-menu { height: auto; max-height: 220px; overflow-x: hidden; }
.scrollable-menu { height: auto; max-height: 300px; overflow-x: hidden; top:-300px }
ASF\www\css\app.css
before

after

@user777888999 as you where told now several times, both on discord and github in the issue you opened: you should rather open a pull-request than copying your message from one text-box to another in hope someone does those 10 lines of work for you.
I've opened a pull request #820 to fix the issue I reported above.
IPC-GUI PRs take their time @Tristar7
as you can see mine is now open for 18 days, as the people behind it also have something else to do 😉
Hi I got this error when I click save. I didnt put any character in the #web proxy column.

{"Message":"OK","Result":{"GlobalConfig":{"AutoRestart":true,"BackgroundGCPeriod":0,"Blacklist":[],"CommandPrefix":null,"ConfirmationsLimiterDelay":10,"ConnectionTimeout":60,"CurrentCulture":null,"Debug":false,"FarmingDelay":15,"GiftsLimiterDelay":1,"Headless":false,"IdleFarmingPeriod":8,"InventoryLimiterDelay":3,"IPC":true,"IPCPassword":"**REMOVED**","IPCPrefixes":["http://*:1242/"],"LoginLimiterDelay":10,"MaxFarmingTime":10,"MaxTradeHoldDuration":15,"OptimizationMode":0,"Statistics":false,"UpdateChannel":0,"UpdatePeriod":24,"WebLimiterDelay":200,"SteamOwnerID":76561198404611632,"SteamProtocols":3,"WebProxyUsername":null,"s_SteamOwnerID":"76561198404611632","WebProxy":null},"MemoryUsage":17602,"ProcessStartTime":"2018-06-24T03:25:04.59+00:00","Version":{"Major":3,"Minor":2,"Build":0,"Revision":2,"MajorRevision":0,"MinorRevision":2}},"Success":true}
It would be nice when one could retrieve the keys.used and keys.unused files over the webinterface.
as of now there is no API endpoint for this but if archi approves of this idea i'd be happy to implement the backend for this feature
It could be done as part of GET /Api/GamesToRedeemInBackground/{BotName} and DELETE /Api/GamesToRedeemInBackground/{BotName}, both should return/delete used and unused keys files. You can send a PR if you want to.
@MrBurrBurr welcome!
TBH I don't know if the endpoint should return the raw-file or the data in form of a list of json-objects like following:
{
"Message": "string",
"Result": {
"AAAAA-BBBBB-CCCCC": {
"Name": "Profit",
"Result": "NoDetail",
"Game": "Edepth Angel: Pinocchio's Murder VN",
"ID": 226106
},
"CCCCC-BBBBB-AAAAA": {
"Name": "Profit",
"Result": "NoDetail",
"Game": "Edepth Angel: Pinocchio's Murder VN",
"ID": 226106
}
},
"Success": true
}
which of course would be a whole lot more of work :3
You should return 2 objects of Dictionary<string, string> - one for unused keys and one for used ones.
ok. i would've made two endpoints 😅 e.g. /Api/GamesToRedeemInBackground/{BotName}/used and /Api/GamesToRedeemInBackground/{BotName}/unused
IMHO no need to explicitly divide it, user will want to get/delete both files 100% of time.
Then i'm the exception 😂