1

Topic: Testing and making a server of my map

I have been looking through the forums and the only thing I got was in Sebaci's stiky in Content: Maps.  He talkes about the .exe   How do you make a .exe in Teeworlds.  Also I can't find how to make a server because its all in Geek language, please help me.

The Problem-O-matic!

2

Re: Testing and making a server of my map

He talks about teeworlds_srv.exe that can be found in your teeworlds-folder.

The easiest way of testing your map is to start cmd and from there use the command "cd" to get to your teeworlds-folder. then you start the server with your map by entering

teeworlds_srv.exe "sv_map mymap"
Used to be very active waay back

3 (edited by robots816 2009-01-11 19:33:19)

Re: Testing and making a server of my map

It's also a CTF Map, how do you test it in CTF Mode?
What is a cmd?
Which part of the folder is it in?  I can only find the file and then the computer does not recognise it!

The Problem-O-matic!

4

Re: Testing and making a server of my map

Assuming you have teeworlds in c:\teeworlds, start cmd (also known as the "command prompt") by pressing win+r and type cmd.
Then use

cd c:\teeworlds
teeworlds_srv "sv_map mymap" "sv_gametype ctf"

For all commands and other ways to do it, see the docs.

Used to be very active waay back

5

Re: Testing and making a server of my map

cant he just use this: http://www.teeworlds.com/forum/viewtopic.php?id=2869 smile but if he is on a Mac he has to do it the other way..

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

6

Re: Testing and making a server of my map

That does not work when you ask it to download and can you give me exactly what to put into command promt please?

The Problem-O-matic!

7 (edited by DiM SuM! 2009-01-12 13:07:19)

Re: Testing and making a server of my map

robots816, the easiest way  to test your map is to use a batch file:

1.open notepad and type:

cd (type the path of teeworlds here eg C:\folder1\folder2\folder3\teeworlds)
teeworlds_srv "sv_map [type your map name here with out the braces]" "sv_gametype [put game type here]"

2.goto save as and change save type as to "all files" then name it anythingyoulike.BAT

3.Save it and then execute it.

4. if done correctly command prompt should open and you should see a load of text.

5. execute teewrolds and goto "LAN" you should see your game {if you cant see it try unticking game types , has people playing , etc}

6. if you still cant see your game. you prob messed up the batch file.

7. if you messed up the batch file then remake it (make sure to put the exact path of teeworlds , etc)

8. oh yh make sure your map is in the map folder in data folder in your teeworlds directory

9. hope this helps? / if you need any help just let me know.

8

Re: Testing and making a server of my map

if the local server is running you can connect to it by typing localhost:8303 in the field where you normally can find the ip-adresses

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

9 (edited by robots816 2009-01-12 15:53:29)

Re: Testing and making a server of my map

IT is still...not.working...AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
It does come up with the black box with text in for a millisecond then it goes away again!

The Problem-O-matic!

10

Re: Testing and making a server of my map

Type in the correct map name without .map

The name must be 100% the same!!

11

Re: Testing and making a server of my map

i (hope) i can help, copy you .cfg file and paste it (NOT shortcut) delete the old .cfg file AFTER, then make the change to the .exe file (maybe some other files cant remeber sad ), then should it works smile , but do it not work so try agan some times, but when it still not works so make ALL from the beginnig. But will it not works so sad (BAD!)

smile.,??????•$•??????.,:)        smile.,???????•$•???????.,:)
?????      Ps3     ?????        ?????   Ps3_main   ?????
smile.,??????•$•??????.,:)        smile.,???????•$•???????.,:)

12 (edited by robots816 2009-01-12 23:09:24)

Re: Testing and making a server of my map

How do you save it as a .cfg file?
I know this is off this topic but how or where do you get an avatar?

The Problem-O-matic!

13 (edited by DiM SuM! 2009-01-13 03:22:19)

Re: Testing and making a server of my map

robots816 - to make .cfg just open note pad and go save as and then change save as type to "all files" and then name it exec <- i think? and then give it the extension .cfg - there are a few server tweeking tools floating about the forum - u could use them to make ur exec .cfg - i still think the best way to test your map is to use a batch file.


off topic - where to get avatar? - google? make one? pic on ur comp?

EDIT:

ps3 wrote:

i (hope) i can help, copy you .cfg file and paste it (NOT shortcut) delete the old .cfg file AFTER, then make the change to the .exe file (maybe some other files cant remeber sad ), then should it works smile , but do it not work so try agan some times, but when it still not works so make ALL from the beginnig. But will it not works so sad (BAD!)

lol Ps3 mate, how would he make changes to the .exe he would need to no how to "hack" - use a hexadecimal editor to make the changes  or he would need a decomplier to atempt to "reverse engineer" teewolrds back to native code and then make his changes and then recompile it - <- lol

ohyh: he would also need alot of time and patients if  he wanted to hack via HEX

14 (edited by robots816 2009-01-15 18:53:34)

Re: Testing and making a server of my map

I have done all that DiM SuM! told me to do but it still wont work-ffs.  Here iswhat I have written:

cd C:\program files\teeworlds-0.4.2-win32\teeworlds-0.4.2-win32\data\maps
sv_name World Of Cheese
sv_map Matthew CTF
sv_scorelimit 500
sv_gametype ctf
sv_rcon_password
sv_motd Reds Vs Blues Who will win it's up to you! Owner of server: Zezima

cd C:\program files\teeworlds-0.4.2-win32\teeworlds-0.4.2-win32\data
teeworlds_srv
sv_map Matthew CTF
sv_gametype (ctf)

Which is best?            Although none of them work LOL

P.S. I also need to know how to bump (send to top) threads

The Problem-O-matic!

15 (edited by DiM SuM! 2009-01-16 17:09:06)

Re: Testing and making a server of my map

what are you using? batch file? - you dont need to go so far into teeworlds directory just:

cd C:\program files\teeworlds-0.4.2-win32\teeworlds-0.4.2-win32

yh with the second one you should have  teewordls_srv / map / game type all on one 1 line. your batch file sohuld look like this:

cd C:\program files\teeworlds-0.4.2-win32\teeworlds-0.4.2-win32
teeworlds_srv "sv_map Matthew CTF" "sv_gametype ctf"

oh yh and make sure you made the file correctly.

16

Re: Testing and making a server of my map

Woooooooooooooooooooooooooooooooooot!!!!!!!!!!!! it worked!
well not entirely,  nothing shows up and the invisible tee just falls to the bottom FFS

The Problem-O-matic!

17

Re: Testing and making a server of my map

Read the map-making tutorial. You have probably missplaced some layers and haven't added any solid.

Used to be very active waay back

18

Re: Testing and making a server of my map

I have tested my map and after tweeking I have made it work how I want, the only thing is, when I try to setup my server it just pops up for a sec then goes down again, this is what I have written:
cd C:\program files\teeworlds-0.4.2-win32\teeworlds-0.4.2-win32
"sv_name Zezima's Cool Server"
"sv_map Zezima's CTF"
"sv_scorelimit 500"
"sv_gametype ctf"
what iswrong with that???

The Problem-O-matic!

19

Re: Testing and making a server of my map

The map can probably not be loaded. Try to name it like ctf_zezima.map and load it by

sv_map ctf_zezima

and it should work perfectly.

20

Re: Testing and making a server of my map

is it in the right context, layout and do I need the speech marks?

The Problem-O-matic!

21

Re: Testing and making a server of my map

You don't need to have " around the options.

Read the docs and this thread for information about how to host a server.
http://www.teeworlds.com/forum/viewtopic.php?id=1018

22

Re: Testing and making a server of my map

Can you please give me a config code thinggy that I can change the relavent bits like the score limit.  I know there is one on the FAQs but it doesn't work for me.

The Problem-O-matic!