EOSERV Forum > EOSERV > R189 Compiled
Topic is locked.
Page: << 1 2 3 4 5 6 >>
R189 Compiled
Author Message
Post #39852 Re: R189 Compiled
Sacred Phoenix posted: (14th Jun 2010 11:41 pm)

Logitech posted: (14th Jun 2010 09:33 pm)

Sorry again guys, i just keep coming back with more problems. I tried rebuilding Welcome.cpp in Code::Blocks to change the login message (I believe it was: Soulstealer has logged in followed by a Quake). Anyway I'm relitavely new to EOServ as i used Seose from V0.1.8 all the way up to0.2.7.Butnow i want to switch over to EOServ i have been wanting to do so for quite some time although i could never compile, anyway, back on subject, I tried to Compile welcome.cpp and i get the following 19 Error(s):

C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|10|stdafx.h: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|12|character.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|13|eoclient.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|14|eoserver.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|15|packet.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|16|player.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|17|world.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|9|eodata.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|10|guild.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|11|map.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|12|npc.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `EOClient' has not been declared|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketFamily' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketAction' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketReader' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `reader' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: expected primary-expression before "int"|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|15|error: initializer expression list treated as compound expression|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|15|error: expected `,' or `;' before '{' token|
||=== Build finished: 19 errors, 0 warnings ===|

Could anybody help me with this ^^. Once i can compile i can add my own code, which is the whole reason i switched to EOSERV in the first place, because its open source. Thanks.

Lol im the complete opposite then. I can compile but for some reason i cant add codes.

From looking at the errors you must be missing a directory or you missed a needed file that u needed to link to...


What files/directorys should i be linking to?

Edit: In Settings -> Compiler and Debugger -> Linker Settings i have two directorys:

C:\Program Files\MYSQL\MySQL Server 5.1\include\libmysql.lib
C:\Program Files\MYSQL\MySQL Server 5.1\include\WS2_32.lib

In Settings -> Compiler And Debugger -> Search Directorys i have one Search directory for Linker, Compiler and Resource Compiler.

C:\Program Files\MYSQL\MySQL Server 5.1\include\

Is there anything here that im missing?
15 years, 9 weeks ago
Post #39857 Re: R189 Compiled
Logitech posted: (15th Jun 2010 04:35 pm)

Sacred Phoenix posted: (14th Jun 2010 11:41 pm)

Logitech posted: (14th Jun 2010 09:33 pm)

Sorry again guys, i just keep coming back with more problems. I tried rebuilding Welcome.cpp in Code::Blocks to change the login message (I believe it was: Soulstealer has logged in followed by a Quake). Anyway I'm relitavely new to EOServ as i used Seose from V0.1.8 all the way upto0.2.7.Butnow i want to switch over to EOServ i have been wanting to do so for quite some time although i could never compile, anyway, back on subject, I tried to Compile welcome.cpp and i get the following 19 Error(s):

C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|10|stdafx.h: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|12|character.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|13|eoclient.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|14|eoserver.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|15|packet.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|16|player.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|17|world.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|9|eodata.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|10|guild.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|11|map.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|12|npc.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `EOClient' has not been declared|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketFamily' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketAction' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketReader' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `reader' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: expected primary-expression before "int"|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|15|error: initializer expression list treated as compound expression|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|15|error: expected `,' or `;' before '{' token|
||=== Build finished: 19 errors, 0 warnings ===|

Could anybody help me with this ^^. Once i can compile i can add my own code, which is the whole reason i switched to EOSERV in the first place, because its open source. Thanks.

Lol im the complete opposite then. I can compile but for some reason i cant add codes.

From looking at the errors you must be missing a directory or you missed a needed file that u needed to link to...


What files/directorys should i be linking to?

Edit: In Settings -> Compiler and Debugger -> Linker Settings i have two directorys:

C:\Program Files\MYSQL\MySQL Server 5.1\include\libmysql.lib
C:\Program Files\MYSQL\MySQL Server 5.1\include\WS2_32.lib

In Settings -> Compiler And Debugger -> Search Directorys i have one Search directory for Linker, Compiler and Resource Compiler.

C:\Program Files\MYSQL\MySQL Server 5.1\include\

Is there anything here that im missing?

Make sure you have these links.

Settings>compiler and debugger>Search directories
in compiler, linker and resource has it linked to your include folder.

Settings>Compiler and debugger>linker Settings
Make sure you have that linked to your libpthreadGC2.a, and libmysql.lib Files. (should be in your include folder)

Then your not done.

Project>Build options>On the left section...pick which ever ur using. For me its mysql
Search directories>Compiler/linker/resource should be linked to project folder (should already be set for you.)

Then in linker settings...should also link them to your libpthreadGC2.a, and libmysql.lib files.

Thats what i did and mine works.

---
Owner of Endless Online Insanity
Looking for: 2 Artists
Darkrulerjoe
15 years, 9 weeks ago
Post #39858 Re: R189 Compiled
microchip posted: (15th Jun 2010 12:08 am)

No It says I'm missing the WSD_32 and something else, and I'm not he must have edited it and messed it up. 


NOTE: before people go and say "well it works for me you must be doing something wrong" actually no where not, I'm sure I can set it up.

He must have edited the source and re-uploaded it.


Its not just a case of clicking rebuild after adding commands you need to setup the linker settings in codeblocks too. Me and alot of other people use this server with no problems, it must be something you guys are doing wrong.
15 years, 9 weeks ago
Post #39859 Re: R189 Compiled

If I don't recall I have already clicked "rebuild" and the fact that the linker settings are already set up if you have already used codeblocks, then there isn't a need to


(yes I have even redid them)

Something's wrong.
15 years, 9 weeks ago
Post #39860 Re: R189 Compiled
Soulstealer posted: (15th Jun 2010 06:55 pm)

microchip posted: (15th Jun 2010 12:08 am)

No It says I'm missing the WSD_32 and something else, and I'm not he must have edited it and messed it up. 


NOTE: before people go and say "well it works for me you must be doing something wrong" actually no where not, I'm sure I can set it up.

He must have edited the source and re-uploaded it.


Its not just a case of clicking rebuild after adding commands you need to setup the linker settings in codeblocks too. Me and alot of other people use this server with no problems, it must be something you guys are doing wrong.

Yea i need help on adding commands to the server. So what am i suppose to do exactly when i add a code? I tried rebuilding, tried build/run etc. I know its nothing to do with my directories/linkers because the server has no errors.
---
Owner of Endless Online Insanity
Looking for: 2 Artists
Darkrulerjoe
15 years, 9 weeks ago
Post #39863 Re: R189 Compiled

Well what happens when you run the server if you get no errors?

15 years, 9 weeks ago
Post #39865 Re: R189 Compiled

When iset everything up i get this when i run eoserv.exe

--- 06/15/10 12:09:01 ---

[ERR] Database_OpenFailed: Invalid database engine.


--- 06/15/10 12:18:57 ---

[ERR] Database_OpenFailed: Invalid database engine.

15 years, 9 weeks ago
Post #39869 Re: R189 Compiled
Soulstealer posted: (15th Jun 2010 07:10 pm)

Well what happens when you run the server if you get no errors?


No i mean the server works but when i try adding codes in it saves in the source but it never actually applys in the server.

Example: Your welcome.cpp with the "Soulstealer has loged in" i changed ur name to mine and when i log in nothing happens but if i make a character named soulstealer and then log in it still does the "soulstealer has log in" message with the earthquake.

I dont know whats going on, seems i cant do anything related in the source at all. And like i said...i get no warnings/errors and i tried build and run/ and also tried rebuild but when i do use rebuild my eoserv.exe is gone and i dont know how to get it back.
---
Owner of Endless Online Insanity
Looking for: 2 Artists
Darkrulerjoe
15 years, 9 weeks ago
Post #39872 Re: R189 Compiled

did u rebuild the source?

15 years, 9 weeks ago
Post #39873 Re: R189 Compiled
Sacred Phoenix posted: (15th Jun 2010 07:37 pm)

Soulstealer posted: (15th Jun 2010 07:10 pm)

Well what happens when you run the server if you get no errors?


No i mean the server works but when i try adding codes in it saves in the source but it never actually applys in the server.

Example: Your welcome.cpp with the "Soulstealer has loged in" i changed ur name to mine and when i log in nothing happens but if i make a character named soulstealer and then log in it still does the "soulstealer has log in" message with the earthquake.

I dont know whats going on, seems i cant do anything related in the source at all. And like i said...i get no warnings/errors and i tried build and run/ and also tried rebuild but when i do use rebuild my eoserv.exe is gone and i dont know how to get it back.
Ill write a tutorial soon and post it on my site. It seems to me like your just adding the code and not recompiling it after you add it? Ill post a link here in a week or so when I get around to writing the tutorial.

15 years, 9 weeks ago
Post #39874 Re: R189 Compiled

i could write up a tutorial, and my post above?

15 years, 9 weeks ago
Post #39876 Re: R189 Compiled
perfect posted: (15th Jun 2010 07:52 pm)

i could write up a tutorial, and my post above?


What database are you using? Its kinda of obvious that your problem is what ever database you are using.
15 years, 9 weeks ago
Post #39878 Re: R189 Compiled

im using SQLITE ( not sqliteman)

15 years, 9 weeks ago
Post #39893 Re: R189 Compiled
Sacred Phoenix posted: (15th Jun 2010 06:08 pm)

Logitech posted: (15th Jun 2010 04:35 pm)

Sacred Phoenix posted: (14th Jun 2010 11:41 pm)

Logitech posted: (14th Jun 2010 09:33 pm)

Sorry again guys, i just keep coming back with more problems. I tried rebuilding Welcome.cpp in Code::Blocks to change the login message (I believe it was: Soulstealer has logged in followed by a Quake). Anyway I'm relitavely new to EOServ as i used Seose from V0.1.8 all the way upto0.2.7.Butnowi want to switch over to EOServ i have been wanting to do so for quite some time although i could never compile, anyway, back on subject, I tried to Compile welcome.cpp and i get the following 19 Error(s):

C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|10|stdafx.h: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|12|character.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|13|eoclient.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|14|eoserver.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|15|packet.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|16|player.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|17|world.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|9|eodata.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|10|guild.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|11|map.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|12|npc.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `EOClient' has not been declared|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketFamily' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketAction' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketReader' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `reader' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: expected primary-expression before "int"|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|15|error: initializer expression list treated as compound expression|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|15|error: expected `,' or `;' before '{' token|
||=== Build finished: 19 errors, 0 warnings ===|

Could anybody help me with this ^^. Once i can compile i can add my own code, which is the whole reason i switched to EOSERV in the first place, because its open source. Thanks.

Lol im the complete opposite then. I can compile but for some reason i cant add codes.

From looking at the errors you must be missing a directory or you missed a needed file that u needed to link to...


What files/directorys should i be linking to?

Edit: In Settings -> Compiler and Debugger -> Linker Settings i have two directorys:

C:\Program Files\MYSQL\MySQL Server 5.1\include\libmysql.lib
C:\Program Files\MYSQL\MySQL Server 5.1\include\WS2_32.lib

In Settings -> Compiler And Debugger -> Search Directorys i have one Search directory for Linker, Compiler and Resource Compiler.

C:\Program Files\MYSQL\MySQL Server 5.1\include\

Is there anything here that im missing?

Make sure you have these links.

Settings>compiler and debugger>Search directories
in compiler, linker and resource has it linked to your include folder.

Settings>Compiler and debugger>linker Settings
Make sure you have that linked to your libpthreadGC2.a, and libmysql.lib Files. (should be in your include folder)

Then your not done.

Project>Build options>On the left section...pick which ever ur using. For me its mysql
Search directories>Compiler/linker/resource should be linked to project folder (should already be set for you.)

Then in linker settings...should also link them to your libpthreadGC2.a, and libmysql.lib files.

Thats what i did and mine works.

I don't seem to have LibpthreadGC2.a, i have libmysql.lib and i have the Compiler Linker and Recource compiler linked to my Include folder. I'm missing LIBPTHREADGC2.a and when i click Project -> Build Settings the text is faded out and wont let me click on it.. This is really beginning to aggrovate me D

15 years, 9 weeks ago
Post #39972 Re: R189 Compiled
Logitech posted: (15th Jun 2010 08:57 pm)

Sacred Phoenix posted: (15th Jun 2010 06:08 pm)

Logitech posted: (15th Jun 2010 04:35 pm)

Sacred Phoenix posted: (14th Jun 2010 11:41 pm)

Logitech posted: (14th Jun 2010 09:33 pm)

Sorry again guys, i just keep coming back with more problems. I tried rebuilding Welcome.cpp in Code::Blocks to change the login message (I believe it was: Soulstealer has logged in followed by a Quake). Anyway I'm relitavely new to EOServ as i used Seose from V0.1.8 all the wayupto0.2.7.Butnowi want to switch over to EOServ i have been wanting to do so for quite some time although i could never compile, anyway, back on subject, I tried to Compile welcome.cpp and i get the following 19 Error(s):

C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|10|stdafx.h: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|12|character.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|13|eoclient.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|14|eoserver.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|15|packet.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|16|player.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\handlers.h|17|world.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|9|eodata.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|10|guild.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|11|map.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|12|npc.hpp: No such file or directory|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `EOClient' has not been declared|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketFamily' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketAction' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `PacketReader' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: `reader' was not declared in this scope|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|14|error: expected primary-expression before "int"|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|15|error: initializer expression list treated as compound expression|
C:\Users\Client\Desktop\EOSERV R189\R189\trunk\src\handlers\Welcome.cpp|15|error: expected `,' or `;' before '{' token|
||=== Build finished: 19 errors, 0 warnings ===|

Could anybody help me with this ^^. Once i can compile i can add my own code, which is the whole reason i switched to EOSERV in the first place, because its open source. Thanks.

Lol im the complete opposite then. I can compile but for some reason i cant add codes.

From looking at the errors you must be missing a directory or you missed a needed file that u needed to link to...


What files/directorys should i be linking to?

Edit: In Settings -> Compiler and Debugger -> Linker Settings i have two directorys:

C:\Program Files\MYSQL\MySQL Server 5.1\include\libmysql.lib
C:\Program Files\MYSQL\MySQL Server 5.1\include\WS2_32.lib

In Settings -> Compiler And Debugger -> Search Directorys i have one Search directory for Linker, Compiler and Resource Compiler.

C:\Program Files\MYSQL\MySQL Server 5.1\include\

Is there anything here that im missing?

Make sure you have these links.

Settings>compiler and debugger>Search directories
in compiler, linker and resource has it linked to your include folder.

Settings>Compiler and debugger>linker Settings
Make sure you have that linked to your libpthreadGC2.a, and libmysql.lib Files. (should be in your include folder)

Then your not done.

Project>Build options>On the left section...pick which ever ur using. For me its mysql
Search directories>Compiler/linker/resource should be linked to project folder (should already be set for you.)

Then in linker settings...should also link them to your libpthreadGC2.a, and libmysql.lib files.

Thats what i did and mine works.

I don't seem to have LibpthreadGC2.a, i have libmysql.lib and i have the Compiler Linker and Recource compiler linked to my Include folder. I'm missing LIBPTHREADGC2.a and when i click Project -> Build Settings the text is faded out and wont let me click on it.. This is really beginning toaggrovate me D


YES!, This is my error, 99%%! same error. Everything my linker settings and everything are correct.
But It says i'm missing WS2_32*Or what ever that one is called, libmysql.Lib

15 years, 8 weeks ago
Page: << 1 2 3 4 5 6 >>
Topic is locked.
EOSERV Forum > EOSERV > R189 Compiled