can some1 give me a link how to do this on ArcEmu? ^^ i realy want this... btw do u need to be in the same group as some1 else to see them in this room? or is it enought to be in the same guild? ^^ :P thx
can some1 give me a link how to do this on ArcEmu? ^^ i realy want this... btw do u need to be in the same group as some1 else to see them in this room? or is it enought to be in the same guild? ^^ :P thx
Lines of Coding: |||||||||| Goal 1000
Current: 677 Achived Goals: 500 Lines
A worldofwarcraft server, use mysql.h to configure the database. But Aspire/Arcemu maked Wrappers for it, a class that is easier to use.
And the server can't work without this wrapper or mysql.h.
You can't compile a working server without this file, or any of the files it includes.
-----
In a compile guide for compiling a core, there is a part when to include a folder called: mysql. Or you can go into that folder and put every file in it, into the VS Include folder. I prefer to transfer the folder straight to the Include of VS.
Maybe you choosed the way to copy the files, but anyway. You need these files.
if you copyed the folder use this include directory:
#include "mysql/mysql.h"
otherwise
#include "mysql.h"
------
This script isn't updated yet for Aspire rev 733+, cause of the use of new pointers.
-----
In my sample project i included the Libs: libmysql.lib and wsock32.lib.
But i don't think you need the wsock32.lib.
But test it anyway.
I'm sorry i'm not home right now, when i get home i'll write a guide how to make a project for this and do this properly ^^
-----
Keazain, if your try to build it for Aspire, sorry. This doesn't work with aspire. Cause they updated to those pointers.
Hi Link_s
I have maked a projectfile as usual and added:
#include "StdAfx.h"
#include "Setup.h"
#include "libmysql.lib"
#include "mysql/mysql.h"
#include <stdio.h>
also added dir/files to src source, but it still says now that there is a "unknowned character" in libmysql.lib
When your talking about project? are we talking of .cpp projectfile or visual projectfile?
ohh yes, im only making fun compiling on arcemu, because thats the best![]()
hee, i cant find that winsock32.lib where the hell is that .lib LOL
ahh ok, offcause it`s in windows SDK libalso just so other knows it
![]()
i added all files as you can but only still got unknowned character error all the time, no matter what![]()
Spam much thats 5 posts :P
no, not spam, im just the only one writing here the last hour LOOL
Hmm seems very much like spam. But still i gave you +Rep x 2 For the spam =D
Last edited by Fireking300; 01-11-2009 at 07:41 AM.
LOL k im not writing no more![]()
Link_S this is very nice
One error tho
Gossip_House.obj : error LNK2001: unresolved external symbol _mysql_close@4
Gossip_House.obj : error LNK2001: unresolved external symbol _mysql_error@4
Gossip_House.obj : error LNK2001: unresolved external symbol _mysql_use_result@4
Gossip_House.obj : error LNK2001: unresolved external symbol _mysql_query@8
Gossip_House.obj : error LNK2001: unresolved external symbol _mysql_fetch_row@4
Gossip_House.obj : error LNK2001: unresolved external symbol _mysql_real_connect@32
Gossip_House.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
Gossip_House.obj : error LNK2001: unresolved external symbol _mysql_init@4
Well 8 errors actually :P
Last edited by Fireking300; 01-11-2009 at 08:27 AM.
thanks ^^ Link_s make the guide noob friendly for me becous i have never compiled anything before :P
i dont work so much with private servers... or i do but not on that lvl im still in the "early stages" ^^
hahah thx
Edit1: and if there already is a guide how to compile this stuff with arcemu plz post link ^^ i searched but got nothing and then i went thru like 10 pages of guides but i couldent find it ^^ im probebly blind ^^
Last edited by Jonthe838; 01-11-2009 at 08:32 AM.
Lines of Coding: |||||||||| Goal 1000
Current: 677 Achived Goals: 500 Lines
G:\Program Files\Microsoft Visual Studio 9.0\VC\lib\libmysql.lib(1) : error C2059: syntax error : '<'
G:\Program Files\Microsoft Visual Studio 9.0\VC\lib\libmysql.lib(2) : error C2018: unknown character '0x60'
G:\Program Files\Microsoft Visual Studio 9.0\VC\lib\libmysql.lib(3) : error C2018: unknown character '0x1'
G:\Program Files\Microsoft Visual Studio 9.0\VC\lib\libmysql.lib(3) : fatal error C1004: unexpected end-of-file found
Pleas help I fixed my first issue but here is my second. also I have arcemu revision 1999 if that matters
Last edited by Fireking300; 01-11-2009 at 08:58 AM.
Im pretty good to compile, but i got same errors and i have tryed almost everything i know of:
>setup.cpp
1>d:\keazains compiling\arcemu svn\trunk\src\scripts\src\xpackhouse\libmySQL.lib(1) : error C2059: syntax error : '<'
1>d:\keazains compiling\arcemu svn\trunk\src\scripts\src\xpackhouse\libmySQL.lib(2) : error C2018: unknown character '0x60'
1>d:\keazains compiling\arcemu svn\trunk\src\scripts\src\xpackhouse\libmySQL.lib(3) : error C2018: unknown character '0x1'
1>d:\keazains compiling\arcemu svn\trunk\src\scripts\src\xpackhouse\libmySQL.lib(3) : fatal error C1004: unexpected end-of-file found
Can you pack your project dir for us ?asking nicely...