01-18-2014, 09:22 PM
If you are using Windows XP you have to use 2008. If you have an higher windows version then you could use 2013 if you want. If cmake works (we had/have some problems) then you could also use 2010.
(01-18-2014, 09:22 PM)STR_Warrior Wrote: [ -> ]If you are using Windows XP you have to use 2008. If you have an higher windows version then you could use 2013 if you want. If cmake works (we had/have some problems) then you could also use 2010.
(01-18-2014, 10:38 PM)daniel0916 Wrote: [ -> ]So only download Visual Studio 2013 Express?
a_Player->SendMessage(a_Item->m_ItemType + "");
a_Player->SendMessage(Printf("ItemType: %d", a_Item->m_ItemType));The first parameter to Printf() is the formatting string; every %-prefixed item will get replaced with the next parameter in queue. The formatting sequences follow the standard C printf() function- %d for signed integer, %u for unsigned integer, %x for hexadecimal, %f for floating point, %s for string. Have a look at the docs here: http://www.cplusplus.com/reference/cstdio/printf/
(01-19-2014, 04:25 AM)xoft Wrote: [ -> ]You need to right-click the MCServer project in the Solution Explorer and select Set as startup project; then running from VS will work.I didn't find Set.
(01-19-2014, 04:25 AM)xoft Wrote: [ -> ]Currently the easiest way to convert from a number to a string is by using the Printf() function:Thanks.
a_Player->SendMessage(Printf("ItemType: %d", a_Item->m_ItemType));
a_Player->GetEntityType
a_Player->GetLookVector()Even if the GetLookVector() is a function in cEntity - the cPlayer inherits them all.