1

Topic: [SOLVED] Map Problem when testing

I've recently created a map in the TeeWorlds level editor and I tried testing it out, but it just shows "connecting to localhost" but it never connects. I've made levels before with the editor and they were really lag so I changed them and now I'm trying to test them, but now they won't load.

Be there. Aloha.

2

Re: [SOLVED] Map Problem when testing

Ok, we will need more information to help you.
What OS do you use?
How do you start your server?
What does your server configuration look like?
How do you connect to the server?
Did the server work before?
Have you already tested some of your own maps before?

aka cheesy

3

Re: [SOLVED] Map Problem when testing

grummi wrote:

Ok, we will need more information to help you.
What OS do you use?
How do you start your server?
What does your server configuration look like?
How do you connect to the server?
Did the server work before?
Have you already tested some of your own maps before?

I'm on Windows 7 Pro, 64 bit, I haven't really set the server up, I just followed the level editor tutorial on TeeWiki to test your maps. I have tested maps before, but when it loaded it was really screwed up the mouse and all the textures were leaving trails and it wasn't working at all. Playing games causes no issues, but it seems to be an issue with my custom made maps.


My full specs below:
Windows 7 Pro 64 Bit
8400 AMD 64 Triple Core
3gb DDR2
XFX 9800 GT

Be there. Aloha.

4

Re: [SOLVED] Map Problem when testing

Ryan Dale wrote:

I have tested maps before, but when it loaded it was really screwed up the mouse and all the textures were leaving trails and it wasn't working at all. Playing games causes no issues, but it seems to be an issue with my custom made maps.

That's not a problem with your server, but with your maps.
You need a background in your maps. Look in the Teewiki to see how you can make one. It mentions a standard blue background is a default, but I think that is just for older versions of Teeworlds.
If you just want to test your maps without adding a background first, press F1 ingame and enter

gfx_clear 1

But if you want to share your maps, you will have to add a background.

aka cheesy

5

Re: [SOLVED] Map Problem when testing

grummi wrote:
Ryan Dale wrote:

I have tested maps before, but when it loaded it was really screwed up the mouse and all the textures were leaving trails and it wasn't working at all. Playing games causes no issues, but it seems to be an issue with my custom made maps.

That's not a problem with your server, but with your maps.
You need a background in your maps. Look in the Teewiki to see how you can make one. It mentions a standard blue background is a default, but I think that is just for older versions of Teeworlds.
If you just want to test your maps without adding a background first, press F1 ingame and enter

gfx_clear 1

But if you want to share your maps, you will have to add a background.

I tried the gfx_clear 1 and adding a background and neither one seem to work for me, it still says "Connecting to LOCALHOST"

Be there. Aloha.

6

Re: [SOLVED] Map Problem when testing

You said you tested your maps before. What did change between then and now?
Please post your configuration file and how you start your server.

aka cheesy

7

Re: [SOLVED] Map Problem when testing

grummi wrote:

You said you tested your maps before. What did change between then and now?
Please post your configuration file and how you start your server.

I don't have a config file because I'm not running a server and the only change I made to my map was I added a wall to surround the map I thought that might help with the super slowness of it. I removed the wall, but same story.

Be there. Aloha.

8

Re: [SOLVED] Map Problem when testing

How do you test yout maps if you don't have a server?

aka cheesy

9

Re: [SOLVED] Map Problem when testing

grummi wrote:

How do you test yout maps if you don't have a server?

I just hit F1, sv_map "map name", LOCALHOST, connect.

Be there. Aloha.

10 (edited by grummi 2010-02-25 14:39:26)

Re: [SOLVED] Map Problem when testing

It seems that this is another mistake in the Tutorial.
You need to fit F2.

But you need also a server.
Look here for a guide for a Windows server.
After starting your server, you can test your map as explained in the editor tutorial.

aka cheesy

11

Re: [SOLVED] Map Problem when testing

grummi wrote:

It seems that this is another mistake in the Tutorial.
You need to fit F2.

But you need also a server.
Look here for a guide for a Windows server.
After starting your server, you can test your map as explained in the editor tutorial.

Oh ok thanks, I didn't realize the tutorial was flawed, but I will just create a server then.

Be there. Aloha.

12

Re: [SOLVED] Map Problem when testing

OK I got the server up and running just fine, but how do I load my custom maps? I've changed all the maps in the config to my map, but it still loads the default. When I load the game I hit F2, sv_map "map name", LOCALHOST, connect, but it still loads the default. What am I doing wrong?

Be there. Aloha.

13 (edited by Lanta 2010-02-25 20:18:09)

Re: [SOLVED] Map Problem when testing

You are running the server, but seems like it can't load your configuraion file.
Create a file "autoexec.cfg" with notepad in the server folder, and put inside it the following text:
--------------------------------------
sv_name yourname
sv_rcon_password mypassword
sv_map dm1
sv_gametype dm
--------------------------------------
Now run the server. If you join, press F2 and type the password (mypassword). Now you can change the map using the command
change_map mapname
where mapname is the name of the file of your map, without the extension.

Support Staff - ESL.eu Teeworlds Admin

14

Re: [SOLVED] Map Problem when testing

I put it in the same folder as my srv exe, but it tells me I need to set a "rcon password on server"

Be there. Aloha.

15

Re: [SOLVED] Map Problem when testing

It seems like your config file isn't loaded by the server.
Make the config file in your teeworlds-folder:

sv_name test server
sv_rcon_password mypassword

and save it, for example as server.cfg.
Now press [win] + [R], type

cmd

now enter cd /path/to/teeworlds/folder, e.g.:

cd C:\Games\teeworlds-0.5.2-win32\

Now start the server with this command:

teeworlds_srv.exe -f server.cfg

If it works, the output from the server should contain a message similar to this:

<...>
[4b86bc28][console]: executing 'server.cfg'
<...>

You can now connect to your server and load your map with sv_map mapname after entering the password(mypassword)

aka cheesy

16

Re: [SOLVED] Map Problem when testing

grummi wrote:

It seems like your config file isn't loaded by the server.
Make the config file in your teeworlds-folder:

sv_name test server
sv_rcon_password mypassword

and save it, for example as server.cfg.
Now press [win] + [R], type

cmd

now enter cd /path/to/teeworlds/folder, e.g.:

cd C:\Games\teeworlds-0.5.2-win32\

Now start the server with this command:

teeworlds_srv.exe -f server.cfg

If it works, the output from the server should contain a message similar to this:

<...>
[4b86bc28][console]: executing 'server.cfg'
<...>

You can now connect to your server and load your map with sv_map mapname after entering the password(mypassword)

That worked great, thanks.

Be there. Aloha.