NEW WEBINTERFACE - 1.0.1

Was auch immer an Tools für Shakes&Fidget aufkommen, hier können sie vorgestellt werden.
wxclxr
Beiträge: 14
Registriert: Fr 2. Jun 2023, 16:11
Hat sich bedankt: 1 Mal
Danksagung erhalten: 7 Mal

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von wxclxr »

Hello kewu,

this error is fine as this image isnt available at docker hub. I should maybe not give the name at all.

The password should also be set in your Acc.ini with remote access enabled otherwise this won’t work.

I can post tomorrow a example of what should be set in Acc.ini in order to make this work in case this is unclear.

Let me know if this helps.
kewu
Beiträge: 2
Registriert: Sa 7. Okt 2023, 17:31
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von kewu »

Still I got invalid creds my acc.ini:

REMOTE=1
REMOTE.DEBUG=0
REMOTE.IP=127.0.0.1
REMOTE.MASTER=kewu
REMOTE.MASTERPASSWORD=[mypassword]
REMOTE.PORT=1024
wxclxr
Beiträge: 14
Registriert: Fr 2. Jun 2023, 16:11
Hat sich bedankt: 1 Mal
Danksagung erhalten: 7 Mal

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von wxclxr »

@kewu, not sure if you have seen this but I pinged you directly to debug this together. Afterwards I would post it here for the rest.
smug_cat
Beiträge: 6
Registriert: Fr 12. Mai 2023, 10:37
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von smug_cat »

if you need help hit me up curently writing on a server bot using telegram
roac
Beiträge: 2
Registriert: Mo 19. Feb 2024, 10:30
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von roac »

Hi wxclxr,

thx for this docker.

Both containers are up, but:
I can't login
the Bot isn't working.

could you have a look to my settings?

Acc.ini

Code: Alles auswählen

[COMMON]
ADVANCED_SETTINGS=1
ARENA.LOCK_OP_TIME=00:00:00
ARENA.MAX_WAIT=15
ARENA.MIN_CHANCE=55
ARENA.MIN_WAIT=11
AUTO_LOGIN.DELAY=1
AUTO_SHUTDOWN=0
AUTO_SHUTDOWN.PC=0
BACKUP_INI=1
BACKUP_INI.TIMES=3
CACHING=1
GLOBDEB
GLOBDSKIN=1
GLOBDSKINCONT=0
GUILD.STOREMESSAGES=0
GUILD.WINDOW.LAYOUT=GuildDetails
HIDE_CLOSE_POPUP=1
HIDE_STILLRUNNING_POPUP=0
HIDE_UPDATE_POPUP=0
HIDEWINDOW=0
IDLEGAME.GROUPLOGGING=1
ITEMS.RESTRICT_LUCK=0
ITEMS.RESTRICT_LUCK.LEVEL=0
LANG=de
LOG.BYTE_COUNT=0
LOG.KEEP_OLD_LOGFILES_COUNT=1
LOGOUT_WAIT_TIME=5
MAX_TIME_SHORT=10
MIN_TIME_SHORT=8
MISC.COUNTALLUNREADMESSAGES=0
MISC.USEBLUEBGFOREPICS=1
MULTI_THREAD=1
NOTIFY=0
NOTIFY.EMAIL_ADDR
NOTIFY.INTERVAL=00:00:00
NOTIFY.LEVEL=Info
NOTIFY.TYPE=None
PROXY
PROXY.PASSWORD
PROXY.USER
RELOG_WAIT_TIME=0
REMOTE=1
REMOTE.DEBUG=0
REMOTE.IP=127.0.0.1
REMOTE.MASTER=roac
REMOTE.MASTERPASSWORD=xxxxxx
REMOTE.PORT=1024
REMOTE.USER
SEND_ERRORMESSAGES=YES
SIM.RELATIVELEVEL=0
SIMULATION.ENABLEFANCY=1
SKILLS.MODARENA=0.50
SKILLS.MODDUNG=0.50
SLEEP.NIGHT.EVENING=00:00:00
SLEEP.NIGHT.MORNING=00:00:01
STATISTIC.MAX_AGE=180
STATISTIC.SEND=0
TAVERN.SMART.MODIFIER=0.98
UPDATE.CHECKHOURLY=1
UPDATE_CONSOLE=1
UPDATECHANNEL=Release
USERAGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
VERSION=5.6.2.0
WAIT_TIME=50 


docker-compose.yml

Code: Alles auswählen

version: '3.3'
services:
  sfbot:
    container_name: sfbot
    build:
      context: ./bot
    image: sfbot:5.6.0.2
    expose:
      - 1025
    volumes:
      - ./Acc.ini:/bot/Acc.ini:rw
    restart: unless-stopped
  sfbot-web:
    container_name: sfbot-web
    build:
      context: ./webinterface
    environment:
      NUXT_PUBLIC_ADDRESS: ${ADDRESS}
      NUXT_PUBLIC_REFRESH_TIME_SEC: ${REFRESH_TIME_SEC}
      NUXT_PUBLIC_BOT_TIMEZONE: ${BOT_TIMEZONE}
      NUXT_PUBLIC_BOT_UTC: ${BOT_UTC}
      NUXT_PUBLIC_LOGIN: ${LOGIN}
      NUXT_PUBLIC_PASSWORD: ${PASSWORD}
      NUXT_PUBLIC_INSTANCE_COUNT: ${INSTANCE_COUNT}
      NUXT_PUBLIC_INSTANCE_NAMES: ${INSTANCE_NAMES}
      NUXT_PUBLIC_CHECK_VERSION: ${CHECK_VERSION}
    ports:
      - 3000:3000
    image: sfbot-web:1.0.1
    restart: unless-stopped 
greetings
roac
wxclxr
Beiträge: 14
Registriert: Fr 2. Jun 2023, 16:11
Hat sich bedankt: 1 Mal
Danksagung erhalten: 7 Mal

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von wxclxr »

Hey there,
when you’re logging in the interface try following url:

http://sfbot:1025

I think I messed that up.
Folgende Benutzer bedankten sich beim Autor wxclxr für den Beitrag:
roac (So 25. Feb 2024, 10:56)
roac
Beiträge: 2
Registriert: Mo 19. Feb 2024, 10:30
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von roac »

wxclxr hat geschrieben: Fr 23. Feb 2024, 16:44 Hey there,
when you’re logging in the interface try following url:

http://sfbot:1025

I think I messed that up.
Thx! Login is working.
Now I have to figure out how to get the Bot doing the right thing

regards roac
Meph
Beiträge: 15
Registriert: Do 7. Nov 2019, 12:55
Hat sich bedankt: 5 Mal
Danksagung erhalten: 1 Mal

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von Meph »

Hey chaps,
can someone please help me to get this to work in portainer or Synology's "Container Manager"?
I'm trying to move from a Raspberry 3 B to docker and I'm very new to this.

I could only find a way to upload/paste the docker-compose.yaml-file, but not to include/upload Acc.ini or any other file.

Any help is highly appreciated!

Kind regards - Meph
wxclxr
Beiträge: 14
Registriert: Fr 2. Jun 2023, 16:11
Hat sich bedankt: 1 Mal
Danksagung erhalten: 7 Mal

Re: NEW WEBINTERFACE - 1.0.1

Beitrag von wxclxr »

Hey Meph,

sorry for the late response but if I understand correctly you have to still generate the Acc.ini on your pc and then you can upload yours into the directory with the files.

In case you wonder where is Acc.ini located you can see it under volumes in docker-compose.yml
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast