I wang to compile the tmw server in win32 with VS2008,What dependencies should I download first?
who can tell me how to compile the source in VS2008,I got a lot of error info:
1>netcomputer.cpp
1>D:\Src\ServerCode\TheManaWorld\server\src\utils/logger.h(81) : error C2143: syntax error : missing '}' before 'constant'
1>D:\Src\ServerCode\TheManaWorld\server\src\utils/logger.h(81) : error C2059: syntax error : 'constant'
1>D:\Src\ServerCode\TheManaWorld\server\src\utils/logger.h(85) : error C2143: syntax error : missing ';' before '}'
1>D:\Src\ServerCode\TheManaWorld\server\src\utils/logger.h(85) : error C2238: unexpected token(s) preceding ';'
Help me,please~~
How can I compile the TMW Server in Win32 System?
Re: How can I compile the TMW Server in Win32 System?
There are prebuilt executables for it: http://nightly.themanaworld.org/
Re: How can I compile the TMW Server in Win32 System?
But how can i build it by myself?
I want to debug the svr to learn how does it run~~~
I want to debug the svr to learn how does it run~~~
Re: How can I compile the TMW Server in Win32 System?
I would suggest you to use Code::Blocks with MinGW (the compiler which comes with it). It is the development environment which is used by most (if not all) TMW developers who use windows and we provide (almost) up to date project files for it (the project files for other IDEs you find in some repositories are extremely outdated).
Also note: http://wiki.themanaworld.org/index.php/ ... on_Windows
Also note: http://wiki.themanaworld.org/index.php/ ... on_Windows
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Re: How can I compile the TMW Server in Win32 System?
ok,i have compiled the svr and the client in C::B,thx~~~
can you tell me where can i get the data for svr? i copy client data to svr/data,but i get a lot of warning info:
[22:39:27] [WRN] items.xml: Unknown item type "" for item #1 - treating it as "generic"
[22:39:27] [WRN] Item Manager: Missing max-per-slot property for item 1 in items.xml.
[22:39:27] [WRN] Item Manager: Missing weight for item 1 in items.xml.
[22:39:27] [WRN] items.xml: Unknown item type "" for item #2 - treating it as "generic"
[22:39:27] [WRN] Item Manager: Missing max-per-slot property for item 2 in items.xml.
[22:39:27] [WRN] Item Manager: Missing weight for item 2 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 119 in items.xml.
[22:39:28] [WRN] Item Manager: Missing weight for item 119 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 512 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 513 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 514 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 515 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 516 in items.xml.
[22:39:28] [WRN] Monster Manager: There is a monster (Maggot) without ID in monsters.xml! It has been ignored.
[22:39:28] [WRN] monsters.xml: No attributes defined for monster #4 (Giant Maggot)
[22:39:28] [WRN] monsters.xml: No behavior defined for monster #4 (Giant Maggot)
[22:39:28] [WRN] monsters.xml: No experience defined for monster #4 (Giant Maggot)
[22:39:28] [WRN] monsters.xml: No attributes defined for monster #5 (Yellow Slime)
[22:39:28] [WRN] monsters.xml: No behavior defined for monster #5 (Yellow Slime)
[22:39:28] [WRN] monsters.xml: No experience defined for monster #5 (Yellow Slime)
[22:39:46] [WRN] Unable to find a free spawn location for monster 5 on map new_5-1 (0,0,4096,4096)
[22:40:22] [WRN] Unable to find a free spawn location for monster 10 on map new_5-1 (0,0,4096,4096)
[22:41:34] [WRN] Unable to find a free spawn location for monster 10 on map new_5-1 (0,0,4096,4096)
...
i can't see any monster in any map,what's wrong?
can you tell me where can i get the data for svr? i copy client data to svr/data,but i get a lot of warning info:
[22:39:27] [WRN] items.xml: Unknown item type "" for item #1 - treating it as "generic"
[22:39:27] [WRN] Item Manager: Missing max-per-slot property for item 1 in items.xml.
[22:39:27] [WRN] Item Manager: Missing weight for item 1 in items.xml.
[22:39:27] [WRN] items.xml: Unknown item type "" for item #2 - treating it as "generic"
[22:39:27] [WRN] Item Manager: Missing max-per-slot property for item 2 in items.xml.
[22:39:27] [WRN] Item Manager: Missing weight for item 2 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 119 in items.xml.
[22:39:28] [WRN] Item Manager: Missing weight for item 119 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 512 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 513 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 514 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 515 in items.xml.
[22:39:28] [WRN] Item Manager: Missing max-per-slot property for item 516 in items.xml.
[22:39:28] [WRN] Monster Manager: There is a monster (Maggot) without ID in monsters.xml! It has been ignored.
[22:39:28] [WRN] monsters.xml: No attributes defined for monster #4 (Giant Maggot)
[22:39:28] [WRN] monsters.xml: No behavior defined for monster #4 (Giant Maggot)
[22:39:28] [WRN] monsters.xml: No experience defined for monster #4 (Giant Maggot)
[22:39:28] [WRN] monsters.xml: No attributes defined for monster #5 (Yellow Slime)
[22:39:28] [WRN] monsters.xml: No behavior defined for monster #5 (Yellow Slime)
[22:39:28] [WRN] monsters.xml: No experience defined for monster #5 (Yellow Slime)
[22:39:46] [WRN] Unable to find a free spawn location for monster 5 on map new_5-1 (0,0,4096,4096)
[22:40:22] [WRN] Unable to find a free spawn location for monster 10 on map new_5-1 (0,0,4096,4096)
[22:41:34] [WRN] Unable to find a free spawn location for monster 10 on map new_5-1 (0,0,4096,4096)
...
i can't see any monster in any map,what's wrong?
Re: How can I compile the TMW Server in Win32 System?
All the warnings you posted are normal.
When you want some monsters for testing you can find an NPC which spawns monsters in front of the Tulimshar city gate ("Scorpion Tamer").
When you want some monsters for testing you can find an NPC which spawns monsters in front of the Tulimshar city gate ("Scorpion Tamer").
Last edited by Crush on 13 Aug 2008, 15:17, edited 1 time in total.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Re: How can I compile the TMW Server in Win32 System?
yes,i know,thanks~
i find that when i in map 1,click on a far point in map,sometime the player didn't move to the point but transport to that point,why that?
in map 2 or 3,it will be better~
i find that when i in map 1,click on a far point in map,sometime the player didn't move to the point but transport to that point,why that?
in map 2 or 3,it will be better~
Re: How can I compile the TMW Server in Win32 System?
The whole movement code is currently very buggy and in a redesign phase.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Re: How can I compile the TMW Server in Win32 System?
o,i see.
i hope the new redesigned code will be perfect~~
i will go on to study and debug the program,thx very much~~~
i hope the new redesigned code will be perfect~~
i will go on to study and debug the program,thx very much~~~