• 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!

Pytanie cast system

Status
Not open for further replies.

Govern

Member
Joined
May 6, 2011
Messages
182
Reaction score
5
Location
Warsaw
Cześć,

mam problem z kompilacja silnika z cast system, mianowicie robię to w następujący sposób:

Code:
./autogen.sh
./configure --enable-mysql --enable-root-permission
./build.sh

Otrzymuję takie coś:

Code:
 CXX    actions.o
  CXX    beds.o
  CXX    chat.o
  CXX    combat.o
  CXX    condition.o
  CXX    container.o
  CXX    configmanager.o
  CXX    creature.o
  CXX    creatureevent.o
In file included from actions.cpp:24:0:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from party.h:20:0,
                 from chat.h:24,
                 from chat.cpp:18:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from creatureevent.cpp:26:0:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from house.h:31:0,
                 from beds.cpp:20:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from house.h:31:0,
                 from configmanager.cpp:21:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from creature.cpp:20:0:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from game.h:31:0,
                 from condition.cpp:22:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from game.h:31:0,
                 from combat.cpp:23:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
In file included from game.h:31:0,
                 from container.cpp:20:
player.h: In member function ‘uint32_t Player::getCastIpByName(std::string)’:
player.h:206:11: error: converting to non-pointer type ‘uint32_t {aka unsigned int}’ from NULL [-Werror=conversion-null]
player.h: In member function ‘void Player::kickCastViewers()’:
player.h:224:36: error: cannot call constructor ‘PlayerCast::PlayerCast’ directly [-fpermissive]
player.h:224:36: error:   for a function-style cast, remove the redundant ‘::PlayerCast’ [-fpermissive]
player.h: In member function ‘bool Player::addCastBan(std::string)’:
player.h:237:46: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:237:46: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
player.h: In member function ‘bool Player::addCastMute(std::string)’:
player.h:258:47: error: cannot call constructor ‘CastBan::CastBan’ directly [-fpermissive]
player.h:258:47: error:   for a function-style cast, remove the redundant ‘::CastBan’ [-fpermissive]
cc1plus: all warnings being treated as errors
make[1]: *** [creatureevent.o] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[1]: *** [configmanager.o] Błąd 1
make[1]: *** [actions.o] Błąd 1
cc1plus: all warnings being treated as errors
make[1]: *** [chat.o] Błąd 1
cc1plus: all warnings being treated as errors
make[1]: *** [beds.o] Błąd 1
cc1plus: all warnings being treated as errors
make[1]: *** [condition.o] Błąd 1
cc1plus: all warnings being treated as errors
make[1]: *** [creature.o] Błąd 1
cc1plus: all warnings being treated as errors
make[1]: *** [combat.o] Błąd 1
cc1plus: all warnings being treated as errors
make[1]: *** [container.o] Błąd 1

Wie ktoś co jest nie tak?
Silnik: TFS 0.3.7_SVN 9.60/61
 
brak donatora = brak pomocy przy 0.3.7/0.4
 
Miałem donatora, ale się skończył, rozumiem że pomocy nie uzyskam?
 
Govern witaj na Polish board tutaj z jakim kolwiek pytaniem o tfs jeżeli nie posiadsz premium zostaniesz zrównany z glebą.
 
Albo jak nie chcesz kupować donatora masz kilka opcji:

- Uzyskać zielony nick, pisząc podanie o moderatora.
- Uzyskać pomarańczowy nick, j/w ale na okres próbny.
- Mieć filoletowy ale to dla elity.
- Czerwony, zrobić dotacje w wysokości 10.00.-50.000 na otland albo szalonekorki.twojsprzet.net
- Uzyskać czarny nick, podając się za świetnego programistę.
- Błękitny, to samo co czarny ale udzielaj się w support i request.



A tak poważnie kilka groszy dzięki którym zarabiasz zapewnie 3-4 cyfrowe zera i nie możesz ich za to wspomóc że tu się wychowałeś / ew. na tnet.
 
Wyślij mi source na PM, a skompiluje ci lub powiem co jest źle.
 
Wyślij mi source na PM, a skompiluje ci lub powiem co jest źle.


poker-face-meme.png
 
Status
Not open for further replies.
Back
Top