Page 2 of 2

Re: Compilation problems with rev: 1013

Posted: Tue Mar 24, 2015 1:12 am
by Belfedia
[quote="John Adams"]WorldServer: host="localhost"

This is incorrect. Must be the LAN IP if you want outside connections to bind to it.

Database can stay localhost.[/quote]

That working, thanks to your help, but you must change this in vgemu-world.yml :p
[quote]
host: This is your internal IP (e.g. localhost, 127.0.0.1, 192.168.x.x, etc).
This may be your external IP address if you are not using a router or your router
will resolve your external IP address from within your network.
[/quote]
To Vgemu 0.3 i think it is a dev version ?

Re: Compilation problems with rev: 1013

Posted: Tue Mar 24, 2015 3:40 pm
by John Adams
0.3 is the current dev cycle, yes. It is on Public SVN now.

As for the xml comment, localhost is correct for locally run servers. The example states "...192.168.x.x, etc." for a reason and nearly everything in the Server Admin wiki shows 192.168.x.x :p so the documentation is fine.

Re: Compilation problems with rev: 1013

Posted: Thu Mar 26, 2015 11:53 am
by Belfedia

Code: Select all

Item.cpp: In member function ‘void Item::ShowFullItemDetails(std::shared_ptr<Client>&, bool)’:
Item.cpp:629:63: error: expected ‘)’ before ‘PRIu64’
Item.cpp:629:84: warning: spurious trailing ‘%’ in format [-Wformat]
Item.cpp:629:84: warning: too many arguments for format [-Wformat-extra-args]
Item.cpp:629:84: warning: spurious trailing ‘%’ in format [-Wformat]
Item.cpp:629:84: warning: too many arguments for format [-Wformat-extra-args]
Item.cpp:645:62: error: expected ‘)’ before ‘PRIu64’
Item.cpp:645:82: warning: spurious trailing ‘%’ in format [-Wformat]
Item.cpp:645:82: warning: too many arguments for format [-Wformat-extra-args]
Item.cpp:645:82: warning: spurious trailing ‘%’ in format [-Wformat]
Item.cpp:645:82: warning: too many arguments for format [-Wformat-extra-args]
Item.cpp:647:63: error: expected ‘)’ before ‘PRIu64’
Item.cpp:647:84: warning: spurious trailing ‘%’ in format [-Wformat]
Item.cpp:647:84: warning: too many arguments for format [-Wformat-extra-args]
Item.cpp:647:84: warning: spurious trailing ‘%’ in format [-Wformat]
Item.cpp:647:84: warning: too many arguments for format [-Wformat-extra-args]
make: *** [Item.o] Erreur 1
make: *** Attente des tâches non terminées....
Something wrong ? or i miss another thing ?

Re: Compilation problems with rev: 1013

Posted: Thu Mar 26, 2015 12:35 pm
by Kandra
It's not you, it's viewtopic.php?f=16&t=1283&hilit=PRIu64 all over again. Guess not that many builds on linux machines at the moment.

Re: Compilation problems with rev: 1013

Posted: Fri Mar 27, 2015 7:34 am
by Belfedia
[quote="Kandra"]It's not you, it's viewtopic.php?f=16&t=1283&hilit=PRIu64 all over again. Guess not that many builds on linux machines at the moment.[/quote]

Thanks i apply scatman's fix and all working