Ask for help regarding any technical issue or report any bug or OS independent issues.
-
Blamoo
- Peon

- Posts: 98
- Joined: Fri Feb 03, 2006 11:07 pm
Post
by Blamoo » Fri Jun 22, 2007 8:49 pm
what should i do to compile tmwserv? step by step plz... im newbie...
i've downloaded codeblocks, tmw-svn.DevPak, dev-c++ and lastest source code(
https://svn.sourceforge.net/svnroot/the ... erv/trunk/)
and now?
build log:
Code: Select all
Project : TMWServ Gameserver
Compiler : GNU GCC Compiler (called directly)
Directory : C:\WINDOWS\Desktop\trunk\
--------------------------------------------------------------------------------
Switching to target: default
Compiling: src\game-server\trigger.cpp
src\game-server\trigger.cpp:24:35: game-server/trigger.hpp: No such file or directory
src\game-server\trigger.cpp:26:40: game-server/mapcomposite.hpp: No such file or directory
src\game-server\trigger.cpp:27:40: game-server/movingobject.hpp: No such file or directory
src\game-server\trigger.cpp:28:34: game-server/object.hpp: No such file or directory
src\game-server\trigger.cpp:29:33: game-server/state.hpp: No such file or directory
src\game-server\trigger.cpp:31: error: `WarpAction' has not been declared
src\game-server\trigger.cpp:31: error: variable or field `process' declared void
src\game-server\trigger.cpp:31: error: `Object' was not declared in this scope
src\game-server\trigger.cpp:31: error: `obj' was not declared in this scope
src\game-server\trigger.cpp:32: error: expected `,' or `;' before '{' token
src\game-server\trigger.cpp:40: error: `TriggerArea' has not been declared
src\game-server\trigger.cpp:40: error: `Rectangle' has not been declared
src\game-server\trigger.cpp:40: error: `TriggerAction' has not been declared
src\game-server\trigger.cpp:41: error: ISO C++ forbids declaration of `TriggerArea' with no type
src\game-server\trigger.cpp:41: error: ISO C++ forbids declaration of `r' with no type
src\game-server\trigger.cpp:41: error: ISO C++ forbids declaration of `ptr' with no type
src\game-server\trigger.cpp: In function `int TriggerArea(int, int&, int*)':
src\game-server\trigger.cpp:41: error: only constructors take base initializers
src\game-server\trigger.cpp:41: error: `OBJECT_OTHER' undeclared (first use this function)
src\game-server\trigger.cpp:41: error: (Each undeclared identifier is reported only once for each function it appears in.)
src\game-server\trigger.cpp:43: error: `setMapId' undeclared (first use this function)
src\game-server\trigger.cpp: At global scope:
src\game-server\trigger.cpp:46: error: `TriggerArea' is not a class or namespace
src\game-server\trigger.cpp: In function `void update()':
src\game-server\trigger.cpp:48: error: `MapComposite' undeclared (first use this function)
src\game-server\trigger.cpp:48: error: `map' undeclared (first use this function)
src\game-server\trigger.cpp:48: error: `gameState' undeclared (first use this function)
src\game-server\trigger.cpp:48: error: `getMapId' undeclared (first use this function)
src\game-server\trigger.cpp:50: error: `MovingObjectIterator' undeclared (first use this function)
src\game-server\trigger.cpp:50: error: expected `;' before "i"
src\game-server\trigger.cpp:50: error: `i' undeclared (first use this function)
src\game-server\trigger.cpp:52: error: `mZone' undeclared (first use this function)
src\game-server\trigger.cpp:54: error: `mAction' undeclared (first use this function)
Process terminated with status 1 (0 minutes, 2 seconds)
30 errors, 0 warnings
please help me... im a DELPHI programmer... not a C++ programmer T_T
-
trapdoor
- Novice

- Posts: 216
- Joined: Sun Feb 18, 2007 1:36 pm
Post
by trapdoor » Sat Jun 23, 2007 9:54 am
I would advise not to run the server on windows, instead use a UNIX or linux box and compile it & run it on there.
--
trapdoor
-
Blamoo
- Peon

- Posts: 98
- Joined: Fri Feb 03, 2006 11:07 pm
Post
by Blamoo » Sat Jun 23, 2007 4:53 pm
k... ill try to compile it under linux
thx

-
Crush
- TMW Adviser

- Posts: 8046
- Joined: Thu Aug 25, 2005 5:08 pm
- Location: Germany
Post
by Crush » Sun Jun 24, 2007 7:39 pm
The server runs and compiles fine 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.
-
Blamoo
- Peon

- Posts: 98
- Joined: Fri Feb 03, 2006 11:07 pm
Post
by Blamoo » Mon Jun 25, 2007 12:54 am
Crush wrote:The server runs and compiles fine on windows.
but i dont know what should i do... im a delphi programmer... not a c++ programmer T_T
-
ElvenProgrammer
- TMW Adviser

- Posts: 2526
- Joined: Tue Apr 13, 2004 8:11 pm
- Location: Italy
-
Contact:
Post
by ElvenProgrammer » Mon Jun 25, 2007 9:11 am
To compile the server you need to add the src folder to the include directiories for the compiler or get latest svn to fix it
-
Blamoo
- Peon

- Posts: 98
- Joined: Fri Feb 03, 2006 11:07 pm
Post
by Blamoo » Tue Jun 26, 2007 2:37 pm
i did...
do i need enet library to compile it?
-
Blamoo
- Peon

- Posts: 98
- Joined: Fri Feb 03, 2006 11:07 pm
Post
by Blamoo » Wed Jun 27, 2007 12:00 am
i need pthread and SQLite too right?
-
Crush
- TMW Adviser

- Posts: 8046
- Joined: Thu Aug 25, 2005 5:08 pm
- Location: Germany
Post
by Crush » Wed Jun 27, 2007 1:01 am
yes, you do.
- 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.
-
Manaboy
- Novice

- Posts: 114
- Joined: Tue Nov 21, 2006 8:44 am
- Location: Germany
Post
by Manaboy » Thu Jul 05, 2007 6:27 pm
Hello my englich is not so good.
i from german
my lvl is 71
and my name is Manaboy in tmw
-
Blamoo
- Peon

- Posts: 98
- Joined: Fri Feb 03, 2006 11:07 pm
Post
by Blamoo » Fri Jul 06, 2007 12:10 am
Manaboy wrote:
waht is tahts???
Event?
what?
-
Crush
- TMW Adviser

- Posts: 8046
- Joined: Thu Aug 25, 2005 5:08 pm
- Location: Germany
Post
by Crush » Fri Jul 06, 2007 12:22 am
Just ignore manaboy. He doesn't speak enough english to understand what's going on here let alone enough to express himself. But that doesn't stop him from trying anyway.
- 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.