1

Topic: Help with own server

Hi,

I've tried everything what i could find with them Server configs etc but every time i start the Server this message Comes:


[5c2eb9d5][engine]: running on windows-win32-ia32
[5c2eb9d5][engine]: arch is little endian
[5c2eb9d5][storage]: added path '$USERDIR' ('C:\Users\#####\AppData\Roaming/Teeworlds')
[5c2eb9d5][storage]: added path '$DATADIR' ('data')
[5c2eb9d5][storage]: added path '$CURRENTDIR' ('C:\Users\++++\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c2eb9d5][storage]: added path '$APPDIR' ('C:\Users\####\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c2eb9d5][console]: failed to open 'autoexec.cfg'
[5c2eb9d5][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed
[5c2eb9d5][server]: starting...
[5c2eb9d5][datafile]: loading. filename='maps/dm1.map'
[5c2eb9d5][datafile]: allocsize=3644
[5c2eb9d5][datafile]: readsize=3484
[5c2eb9d5][datafile]: swaplen=3504
[5c2eb9d5][datafile]: item_size=3096
[5c2eb9d5][datafile]: loading done. datafile='maps/dm1.map'
[5c2eb9d5][datafile]: loading data index=14 size=288 uncompressed=1148
[5c2eb9d5][datafile]: loading data index=15 size=592 uncompressed=1380
[5c2eb9d5][datafile]: loading data index=16 size=238 uncompressed=448
[5c2eb9d5][datafile]: loading data index=17 size=303 uncompressed=860
[5c2eb9d5][datafile]: loading data index=18 size=517 uncompressed=1828
[5c2eb9d5][datafile]: loading data index=19 size=114 uncompressed=224
[5c2eb9d5][server]: maps/dm1.map crc is 64548818
[5c2eb9d5][server]: server name is 'unnamed server'
[5c2eb9d5][server]: version 0.7 802f1be60a05665f
[5c2eb9d5][server]: +-------------------------+
[5c2eb9d5][server]: | rcon password: 'NDAkBk' |
[5c2eb9d5][server]: +-------------------------+
[5c2eb9d5][engine/mastersrv]: refreshing master server addresses
[5c2eb9d5][register]: refreshing ip addresses
[5c2eb9d5][engine/mastersrv]: saving addresses
[5c2eb9d5][register]: fetching server counts
[5c2eb9d8][register]: chose 'master3.teeworlds.com' as master, sending heartbeats
[5c2eb9e0][register]: no firewall/nat problems detected
[5c2eb9e0][register]: server registered



does anyone have an idea why it´s like that?


Thx FREDo

2

Re: Help with own server

[5c2eb9d5][console]: failed to open 'autoexec.cfg'

The server couldn't find a file called "autoexec.cfg" with all needed settings, or it has insufficient file rights to read it. Create this file, grant it all permissions needed and put all settings there.

You can find a good listing of all server settings here.

Note: The file has to be located in one of those paths. Most easy just place it right to the server binary.

[5c2eb9d5][storage]: added path '$USERDIR' ('C:\Users\#####\AppData\Roaming/Teeworlds')
[5c2eb9d5][storage]: added path '$DATADIR' ('data')
[5c2eb9d5][storage]: added path '$CURRENTDIR' ('C:\Users\++++\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c2eb9d5][storage]: added path '$APPDIR' ('C:\Users\####\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')

3

Re: Help with own server

Hi

FREDo wrote:

[5c2eb9d5][console]: Info: only relative paths starting from the ones you specify in 'storage.cfg' are allowed

I think your problem may be here. Can you tell us where your .cfg is located?
You cannot add a config using an absolute path (e.g. C:\...\...), only a relative path (e.g. configs\casual.cfg)

Not Luck, Just Magic.

4

Re: Help with own server

hi,

sorry that it take me so Long to answer…


C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32



here ist the autoexec.cfg located

5

Re: Help with own server

And where is your teeworlds.exe?

Not Luck, Just Magic.

6

Re: Help with own server

also there

7

Re: Help with own server

- Open your file explorer and go to the location
- Click on"View"(top of the window) and enable "File name extension"
- Check if the file name is autoexec.cfg.txt, in that case remove the .txt

Remember the 80s - good times smile

8

Re: Help with own server

yes big_smile big_smile big_smile big_smile big_smile big_smile thank you it worked

but there is still something not working:


[5c33a66d][engine]: running on windows-win32-ia32
[5c33a66d][engine]: arch is little endian
[5c33a66d][storage]: added path '$USERDIR' ('C:\Users\*****\AppData\Roaming/Teeworlds')
[5c33a66d][storage]: added path '$DATADIR' ('data')
[5c33a66d][storage]: added path '$CURRENTDIR' ('C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c33a66d][storage]: added path '$APPDIR' ('C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c33a66d][console]: executing 'autoexec.cfg'
[5c33a66d][Console]: No such command: sv_vote_map.
[5c33a66d][server]: skipped invalid command '10'
[5c33a66d][server]: skipped invalid command 'dm.cfg'
[5c33a66d][server]: skipped invalid command 'ctf.cfg'
[5c33a66d][server]: skipped invalid command 'duel.cfg'
[5c33a66d][server]: skipped invalid command 'tdm.cfg'
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][Console]: Invalid arguments... Usage: add_vote sr
[5c33a66d][server]: starting...
[5c33a66d][datafile]: loading. filename='maps/dm1.map'
[5c33a66d][datafile]: allocsize=3644
[5c33a66d][datafile]: readsize=3484
[5c33a66d][datafile]: swaplen=3504
[5c33a66d][datafile]: item_size=3096
[5c33a66d][datafile]: loading done. datafile='maps/dm1.map'
[5c33a66d][datafile]: loading data index=14 size=288 uncompressed=1148
[5c33a66d][datafile]: loading data index=15 size=592 uncompressed=1380
[5c33a66d][datafile]: loading data index=16 size=238 uncompressed=448
[5c33a66d][datafile]: loading data index=17 size=303 uncompressed=860
[5c33a66d][datafile]: loading data index=18 size=517 uncompressed=1828
[5c33a66d][datafile]: loading data index=19 size=114 uncompressed=224
[5c33a66d][server]: maps/dm1.map crc is 64548818
[5c33a66d][server]: server name is '*****'
[5c33a66d][server]: version 0.7 802f1be60a05665f
[5c33a66d][engine/mastersrv]: refreshing master server addresses
[5c33a66d][register]: refreshing ip addresses
[5c33a66e][engine/mastersrv]: saving addresses
[5c33a66e][register]: fetching server counts
[5c33a671][register]: chose 'master1.teeworlds.com' as master, sending heartbeats
[5c33a675][game]: start match type='DM' teamplay='0'
[5c33a676][register]: no firewall/nat problems detected
[5c33a676][register]: server registered



i used a complete Server config from this Forum https://www.teeworlds.com/forum/viewtopic.php?id=4627

9

Re: Help with own server

That's because your commands in autoexec.cfg are wrong and thus invalid

I will be banned if I troll again ...

10 (edited by Dune 2019-01-08 17:10:29)

Re: Help with own server

This is because the add_vote function changed. You need a string now. Change the cfg to this:


autoexec.cfg

sv_max_clients 12
sv_name your_server_name
sv_port 8303
sv_rcon_password your_rcon_password
sv_register 1
sv_spamprotection 0
sv_vote_map 1
sv_warmup 10

add_vote "restart restart 10"
add_vote "dm exec dm.cfg"
add_vote "ctf exec ctf.cfg"
add_vote "duel exec duel.cfg"
add_vote "tdm exec tdm.cfg"
add_vote "change_map ctf1"
add_vote "change_map ctf2"
add_vote "change_map ctf3"
add_vote "change_map ctf4"
add_vote "change_map ctf5"
add_vote "change_map dm1 dm1"
add_vote "change_map dm2 dm2"
add_vote "change_map dm6 dm6"
add_vote "change_map dm7 dm7"
add_vote "change_map dm8 dm8"
add_vote "change_map dm9 dm9"

Edit: sorry, I was clearly tired, this config is full of errors. The one I posted over https://www.teeworlds.com/forum/viewtop … 44#p122444 should be fine

Not Luck, Just Magic.

11

Re: Help with own server

Dune wrote:

This is because the add_vote function changed. You need a string now. Change the cfg to this:


autoexec.cfg

sv_max_clients 12
sv_name your_server_name
sv_port 8303
sv_rcon_password your_rcon_password
sv_register 1
sv_spamprotection 0
sv_vote_map 1
sv_warmup 10

add_vote "restart restart 10"
add_vote "dm exec dm.cfg"
add_vote "ctf exec ctf.cfg"
add_vote "duel exec duel.cfg"
add_vote "tdm exec tdm.cfg"
add_vote "change_map ctf1"
add_vote "change_map ctf2"
add_vote "change_map ctf3"
add_vote "change_map ctf4"
add_vote "change_map ctf5"
add_vote "change_map dm1 dm1"
add_vote "change_map dm2 dm2"
add_vote "change_map dm6 dm6"
add_vote "change_map dm7 dm7"
add_vote "change_map dm8 dm8"
add_vote "change_map dm9 dm9"



now there Comes this :


[5c33e881][engine]: running on windows-win32-ia32
[5c33e881][engine]: arch is little endian
[5c33e881][storage]: added path '$USERDIR' ('C:\Users\*****\AppData\Roaming/Teeworlds')
[5c33e881][storage]: added path '$DATADIR' ('data')
[5c33e881][storage]: added path '$CURRENTDIR' ('C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c33e881][storage]: added path '$APPDIR' ('C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c33e881][console]: executing 'autoexec.cfg'
[5c33e881][Console]: No such command: sv_vote_map.
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][Console]: Invalid arguments... Usage: add_vote sr
[5c33e881][server]: starting...
[5c33e881][datafile]: loading. filename='maps/dm1.map'
[5c33e881][datafile]: allocsize=3644
[5c33e881][datafile]: readsize=3484
[5c33e881][datafile]: swaplen=3504
[5c33e881][datafile]: item_size=3096
[5c33e881][datafile]: loading done. datafile='maps/dm1.map'
[5c33e881][datafile]: loading data index=14 size=288 uncompressed=1148
[5c33e881][datafile]: loading data index=15 size=592 uncompressed=1380
[5c33e881][datafile]: loading data index=16 size=238 uncompressed=448
[5c33e881][datafile]: loading data index=17 size=303 uncompressed=860
[5c33e881][datafile]: loading data index=18 size=517 uncompressed=1828
[5c33e881][datafile]: loading data index=19 size=114 uncompressed=224
[5c33e881][server]: maps/dm1.map crc is 64548818
[5c33e881][server]: server name is '*****'
[5c33e881][server]: version 0.7 802f1be60a05665f
[5c33e881][engine/mastersrv]: refreshing master server addresses
[5c33e881][register]: refreshing ip addresses
[5c33e882][engine/mastersrv]: saving addresses
[5c33e882][register]: fetching server counts
[5c33e885][register]: chose 'master3.teeworlds.com' as master, sending heartbeats
[5c33e888][game]: start match type='DM' teamplay='0'
[5c33e889][register]: no firewall/nat problems detected
[5c33e889][register]: server registered

12 (edited by Slayer *gV* 2019-01-08 14:25:01)

Re: Help with own server

Remove the line (there is no such setting)

sv_vote_map 1

And your votes should be

add_vote <description> <command>

Example

add_vote "restart" "restart 10"

13 (edited by DEXi 2019-01-08 14:47:15)

Re: Help with own server

add_vote "restart" "restart 10"
#or 
add_vote  restart restart 10


add_vote "dm8" "change_map dm8"
#or
add_vote dm8 change_map dm8

Template:

add_vote "Description" "Command"
#or
add_vote Description Command ( Without quotes)

~~~~Simple

14 (edited by FREDo 2019-01-08 16:55:47)

Re: Help with own server

big_smile big_smile big_smile big_smile big_smile


it´s working! Thank you all for your prompt Replys big_smile There is still something wrong

I'm so bad in that, I'm so sorry hahaahahaha




[5c34b5e6][engine]: running on windows-win32-ia32
[5c34b5e6][engine]: arch is little endian
[5c34b5e6][storage]: added path '$USERDIR' ('C:\Users\*****\AppData\Roaming/Teeworlds')
[5c34b5e6][storage]: added path '$DATADIR' ('data')
[5c34b5e6][storage]: added path '$CURRENTDIR' ('C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c34b5e6][storage]: added path '$APPDIR' ('C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c34b5e6][console]: executing 'autoexec.cfg'
[5c34b5e6][server]: added option 'restart' 'restart 10'
[5c34b5e6][server]: skipped invalid command 'dm.cfg'
[5c34b5e6][server]: skipped invalid command 'ctf.cfg'
[5c34b5e6][server]: skipped invalid command 'duel.cfg'
[5c34b5e6][server]: skipped invalid command 'tdm.cfg'

[5c34b5e6][server]: added option 'ctf1' 'change_map ctf1'
[5c34b5e6][server]: added option 'ctf2' 'change_map ctf2'
[5c34b5e6][server]: added option 'ctf3' 'change_map ctf3'
[5c34b5e6][server]: added option 'ctf4' 'change_map ctf4'
[5c34b5e6][server]: added option 'ctf5' 'change_map ctf5'
[5c34b5e6][server]: added option 'dm1' 'change_map dm1'
[5c34b5e6][server]: added option 'dm2' 'change_map dm2'
[5c34b5e6][server]: added option 'dm6' 'change_map dm6'
[5c34b5e6][server]: added option 'dm7' 'change_map dm7'
[5c34b5e6][server]: added option 'dm8' 'change_map dm8'
[5c34b5e6][server]: added option 'dm9' 'change_map dm9'
[5c34b5e6][server]: starting...
[5c34b5e6][datafile]: loading. filename='maps/dm1.map'
[5c34b5e6][datafile]: allocsize=3644
[5c34b5e6][datafile]: readsize=3484
[5c34b5e6][datafile]: swaplen=3504
[5c34b5e6][datafile]: item_size=3096
[5c34b5e6][datafile]: loading done. datafile='maps/dm1.map'
[5c34b5e6][datafile]: loading data index=14 size=288 uncompressed=1148
[5c34b5e6][datafile]: loading data index=15 size=592 uncompressed=1380
[5c34b5e6][datafile]: loading data index=16 size=238 uncompressed=448
[5c34b5e6][datafile]: loading data index=17 size=303 uncompressed=860
[5c34b5e6][datafile]: loading data index=18 size=517 uncompressed=1828
[5c34b5e6][datafile]: loading data index=19 size=114 uncompressed=224
[5c34b5e6][server]: maps/dm1.map crc is 64548818
[5c34b5e6][server]: server name is '*****'
[5c34b5e6][server]: version 0.7 802f1be60a05665f
[5c34b5e6][engine/mastersrv]: refreshing master server addresses
[5c34b5e6][register]: refreshing ip addresses
[5c34b5e6][engine/mastersrv]: saving addresses
[5c34b5e6][register]: fetching server counts
[5c34b5e9][register]: chose 'master1.teeworlds.com' as master, sending heartbeats
[5c34b5ea][register]: no firewall/nat problems detected
[5c34b5ea][register]: server registered
[5c34b5ed][game]: start match type='DM' teamplay='0'

15

Re: Help with own server

[5c34b5e6][server]: skipped invalid command 'dm.cfg'
[5c34b5e6][server]: skipped invalid command 'ctf.cfg'
[5c34b5e6][server]: skipped invalid command 'duel.cfg'
[5c34b5e6][server]: skipped invalid command 'tdm.cfg'

Guess you wrote

add_vote "exec" "dm.cfg"
...

Instead of

add_vote "dm" "exec dm.cfg"
...

"exec <file>" will apply all settings from the referenced file. Make sure it exists!

16

Re: Help with own server

i wrote i like this hahahaha

add_vote "dm exec" "dm.cfg"
add_vote "ctf exec" "ctf.cfg"
add_vote "duel exec" "duel.cfg"
add_vote "tdm exec" "tdm.cfg"   


lol... i do it like you explained and now ist perfekt big_smile tank you a lot

[5c34c724][engine]: running on windows-win32-ia32
[5c34c724][engine]: arch is little endian
[5c34c724][storage]: added path '$USERDIR' ('C:\Users\*****\AppData\Roaming/Teeworlds')
[5c34c724][storage]: added path '$DATADIR' ('data')
[5c34c724][storage]: added path '$CURRENTDIR' ('C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c34c724][storage]: added path '$APPDIR' ('C:\Users\*****\OneDrive\Desktop\teeworlds-0.7.2-win32\teeworlds-0.7.2-win32')
[5c34c724][console]: executing 'autoexec.cfg'
[5c34c724][server]: added option 'restart' 'restart 10'
[5c34c724][server]: added option 'dm' 'exec dm.cfg'
[5c34c724][server]: added option 'ctf' 'exec ctf.cfg'
[5c34c724][server]: added option 'duel' 'exec duel.cfg'
[5c34c724][server]: added option 'tdm' 'exec tdm.cfg'
[5c34c724][server]: added option 'ctf1' 'change_map ctf1'
[5c34c724][server]: added option 'ctf2' 'change_map ctf2'
[5c34c724][server]: added option 'ctf3' 'change_map ctf3'
[5c34c724][server]: added option 'ctf4' 'change_map ctf4'
[5c34c724][server]: added option 'ctf5' 'change_map ctf5'
[5c34c724][server]: added option 'dm1' 'change_map dm1'
[5c34c724][server]: added option 'dm2' 'change_map dm2'
[5c34c724][server]: added option 'dm6' 'change_map dm6'
[5c34c724][server]: added option 'dm7' 'change_map dm7'
[5c34c724][server]: added option 'dm8' 'change_map dm8'
[5c34c724][server]: added option 'dm9' 'change_map dm9'
[5c34c724][server]: starting...
[5c34c724][datafile]: loading. filename='maps/dm1.map'
[5c34c724][datafile]: allocsize=3644
[5c34c724][datafile]: readsize=3484
[5c34c724][datafile]: swaplen=3504
[5c34c724][datafile]: item_size=3096
[5c34c724][datafile]: loading done. datafile='maps/dm1.map'
[5c34c724][datafile]: loading data index=14 size=288 uncompressed=1148
[5c34c724][datafile]: loading data index=15 size=592 uncompressed=1380
[5c34c724][datafile]: loading data index=16 size=238 uncompressed=448
[5c34c724][datafile]: loading data index=17 size=303 uncompressed=860
[5c34c724][datafile]: loading data index=18 size=517 uncompressed=1828
[5c34c724][datafile]: loading data index=19 size=114 uncompressed=224
[5c34c724][server]: maps/dm1.map crc is 64548818
[5c34c724][server]: server name is '*****'
[5c34c724][server]: version 0.7 802f1be60a05665f
[5c34c724][engine/mastersrv]: refreshing master server addresses
[5c34c724][register]: refreshing ip addresses
[5c34c724][engine/mastersrv]: saving addresses
[5c34c724][register]: fetching server counts
[5c34c727][register]: chose 'master1.teeworlds.com' as master, sending heartbeats
[5c34c72a][register]: no firewall/nat problems detected
[5c34c72a][register]: server registered
[5c34c72b][game]: start match type='DM' teamplay='0'



maybe there is a contribution where it is described in this way with all possibilities?

17 (edited by Dune 2019-01-08 18:56:39)

Re: Help with own server

The documentation has all the resources you need: https://teeworlds.com/?page=docs&wiki=docs_overview

Server settings
Server setup

By the way, you can use PunBB's [ code ] [ /code ] for error logs

Not Luck, Just Magic.