• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

The Forgotten Server v0.2rc10 (Mystic Spirit)

Status
Not open for further replies.
omg i wait a long time for this

can you post the features?
 
Last edited:
hehee good work, but i think is very importante for we to put the revision of sources in the post ^^ revision 629
 
Could someone please tell me what this is?

theforgottenserver0210-debian-etch-amd64.tar
 
I have problem to compiling.

I have 66 problems for databasepgsql.h

Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\Arkadius\Pulpit\Mystic Spirit\source\project\Makefile.win"
Executing make...
make.exe -f "C:\Documents and Settings\Arkadius\Pulpit\Mystic Spirit\source\project\Makefile.win" all
g++.exe -c ../databasepgsql.cpp -o ../databasepgsql.o -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Dev-Cpp/include/c++/3.4.2" -I"D:/Dev-Cpp/include" -D__USE_MYSQL__ -D__USE_SQLITE__ -D__SERVER_PROTECTION__

In file included from ../databasepgsql.cpp:24:

../databasepgsql.h:28:33: postgresql/libpq-fe.h: No such file or directory
In file included from ../databasepgsql.cpp:24:
../databasepgsql.h:53: error: ISO C++ forbids declaration of `PGconn' with no type

../databasepgsql.h:53: error: expected `;' before '*' token

../databasepgsql.h:71: error: expected `)' before '*' token
../databasepgsql.h:75: error: ISO C++ forbids declaration of `PGresult' with no type
../databasepgsql.h:75: error: expected `;' before '*' token

../databasepgsql.cpp: In constructor `DatabasePgSQL::DatabasePgSQL()':
../databasepgsql.cpp:35: error: `SQL_HOST' is not a member of `ConfigManager'
../databasepgsql.cpp:35: error: `SQL_DB' is not a member of `ConfigManager'
../databasepgsql.cpp:35: error: `SQL_USER' is not a member of `ConfigManager'
../databasepgsql.cpp:35: error: `SQL_PASS' is not a member of `ConfigManager'
../databasepgsql.cpp:37: error: `m_handle' undeclared (first use this function)
../databasepgsql.cpp:37: error: (Each undeclared identifier is reported only once for each function it appears in.)
../databasepgsql.cpp:37: error: `PQconnectdb' undeclared (first use this function)
../databasepgsql.cpp:38: error: `PQstatus' undeclared (first use this function)
../databasepgsql.cpp:38: error: `CONNECTION_OK' undeclared (first use this function)

../databasepgsql.cpp:41: error: `PQerrorMessage' undeclared (first use this function)
../databasepgsql.cpp: In destructor `DatabasePgSQL::~DatabasePgSQL()':
../databasepgsql.cpp:46: error: `m_handle' undeclared (first use this function)

../databasepgsql.cpp:46: error: `PQfinish' undeclared (first use this function)

../databasepgsql.cpp: In member function `bool DatabasePgSQL::executeQuery(const std::string&)':
../databasepgsql.cpp:86: error: `PGresult' undeclared (first use this function)
../databasepgsql.cpp:86: error: `res' undeclared (first use this function)
../databasepgsql.cpp:86: error: `m_handle' undeclared (first use this function)

../databasepgsql.cpp:86: error: `PQexec' undeclared (first use this function)
../databasepgsql.cpp:87: error: `ExecStatusType' undeclared (first use this function)
../databasepgsql.cpp:87: error: expected `;' before "stat"
../databasepgsql.cpp:89: error: expected primary-expression before '!=' token
../databasepgsql.cpp:89: error: `PGRES_COMMAND_OK' undeclared (first use this function)
../databasepgsql.cpp:89: error: expected primary-expression before '!=' token
../databasepgsql.cpp:89: error: `PGRES_TUPLES_OK' undeclared (first use this function)
../databasepgsql.cpp:90: error: `PQresultErrorMessage' undeclared (first use this function)
../databasepgsql.cpp:91: error: `PQclear' undeclared (first use this function)

../databasepgsql.cpp: In member function `DBResult* DatabasePgSQL::storeQuery(const std::string&)':
../databasepgsql.cpp:110: error: `PGresult' undeclared (first use this function)
../databasepgsql.cpp:110: error: `res' undeclared (first use this function)
../databasepgsql.cpp:110: error: `m_handle' undeclared (first use this function)
../databasepgsql.cpp:110: error: `PQexec' undeclared (first use this function)
../databasepgsql.cpp:111: error: `ExecStatusType' undeclared (first use this function)
../databasepgsql.cpp:111: error: expected `;' before "stat"
../databasepgsql.cpp:113: error: expected primary-expression before '!=' token
../databasepgsql.cpp:113: error: `PGRES_COMMAND_OK' undeclared (first use this function)
../databasepgsql.cpp:113: error: expected primary-expression before '!=' token
../databasepgsql.cpp:113: error: `PGRES_TUPLES_OK' undeclared (first use this function)

../databasepgsql.cpp:114: error: `PQresultErrorMessage' undeclared (first use this function)
../databasepgsql.cpp:115: error: `PQclear' undeclared (first use this function)
../databasepgsql.cpp: In member function `std::string DatabasePgSQL::escapeString(const std::string&)':
../databasepgsql.cpp:135: error: `m_handle' undeclared (first use this function)
../databasepgsql.cpp:135: error: `PQescapeStringConn' undeclared (first use this function)

../databasepgsql.cpp: In member function `std::string DatabasePgSQL::escapeBlob(const char*, uint32_t)':
../databasepgsql.cpp:151: error: `m_handle' undeclared (first use this function)
../databasepgsql.cpp:151: error: `PQescapeByteaConn' undeclared (first use this function)
../databasepgsql.cpp:155: error: `PQfreemem' undeclared (first use this function)

../databasepgsql.cpp: In member function `int32_t PgSQLResult::getDataInt(const std::string&)':
../databasepgsql.cpp:193: error: `m_handle' undeclared (first use this function)
../databasepgsql.cpp:193: error: `PQfnumber' undeclared (first use this function)
../databasepgsql.cpp:193: error: `PQgetvalue' undeclared (first use this function)
../databasepgsql.cpp: In member function `int64_t PgSQLResult::getDataLong(const std::string&)':
../databasepgsql.cpp:198: error: `m_handle' undeclared (first use this function)

../databasepgsql.cpp:198: error: `PQfnumber' undeclared (first use this function)
../databasepgsql.cpp:198: error: `PQgetvalue' undeclared (first use this function)
../databasepgsql.cpp: In member function `std::string PgSQLResult::getDataString(const std::string&)':
../databasepgsql.cpp:203: error: `m_handle' undeclared (first use this function)
../databasepgsql.cpp:203: error: `PQfnumber' undeclared (first use this function)
../databasepgsql.cpp:203: error: `PQgetvalue' undeclared (first use this function)
../databasepgsql.cpp: In member function `const char* PgSQLResult::getDataStream(const std::string&, long unsigned int&)':
../databasepgsql.cpp:208: error: `m_handle' undeclared (first use this function)
../databasepgsql.cpp:208: error: `PQfnumber' undeclared (first use this function)
../databasepgsql.cpp:208: error: `PQgetvalue' undeclared (first use this function)
../databasepgsql.cpp:209: error: `PQunescapeBytea' undeclared (first use this function)
../databasepgsql.cpp:212: error: `PQfreemem' undeclared (first use this function)
../databasepgsql.cpp: At global scope:
../databasepgsql.cpp:225: error: expected `)' before '*' token
../databasepgsql.cpp:225: error: expected `,' or `;' before '*' token
../databasepgsql.cpp: In destructor `PgSQLResult::~PgSQLResult()':
../databasepgsql.cpp:234: error: `m_handle' undeclared (first use this function)
../databasepgsql.cpp:234: error: `PQclear' undeclared (first use this function)

make.exe: *** [../databasepgsql.o] Error 1

Execution terminated
 
Last edited:
Status
Not open for further replies.
Back
Top