Log-in Problems

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Log-in Problems

Post by kjLotus » Tue Mar 31, 2015 10:36 pm

Desufire wrote:Okay, I thought I was going crazy. Thank you Kj. So has everything been fixed or should I keep an eye on the git for info?
it is fixed as of about 30 minutes ago (or should be, at any rate)

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

Re: Log-in Problems

Post by Desufire » Tue Mar 31, 2015 10:50 pm

I did a pull about 10 minutes ago and when I build the Connect server, I get the following:

Code: Select all

1>------ Build started: Project: DSConnect-server, Configuration: Debug Win32 ------
1>  login_session.cpp
1>  login_auth.cpp
1>  login.cpp
1>  lobby.cpp
1>c:\darkstar\src\login\lobby.cpp(278): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(1850) : see declaration of 'inet_addr'
1>  message_server.cpp
1>c:\darkstar\src\common\socket.h(12): warning C4005: 'FD_SETSIZE' : macro redefinition
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(133) : see previous definition of 'FD_SETSIZE'
1>c:\darkstar\src\login\message_server.cpp(150): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(1868) : see declaration of 'inet_ntoa'
1>c:\darkstar\src\login\message_server.cpp(157): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(1850) : see declaration of 'inet_addr'
1>c:\darkstar\src\login\message_server.cpp(165): warning C4244: '=' : conversion from 'uint64' to 'ULONG', possible loss of data
1>c:\darkstar\src\login\message_server.cpp(166): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(1868) : see declaration of 'inet_ntoa'
1>  account.cpp
1>  zlib.cpp
1>  utils.cpp
1>c:\darkstar\src\common\utils.cpp(122): warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
1>c:\darkstar\src\common\utils.cpp(127): warning C4244: 'return' : conversion from 'double' to 'uint8', possible loss of data
1>c:\darkstar\src\common\utils.cpp(169): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
1>c:\darkstar\src\common\utils.cpp(171): warning C4244: 'argument' : conversion from 'double' to 'float', possible loss of data
1>c:\darkstar\src\common\utils.cpp(462): warning C4244: '=' : conversion from 'uint64' to 'uint8', possible loss of data
1>c:\darkstar\src\common\utils.cpp(520): warning C4244: '=' : conversion from 'uint64' to 'uint8', possible loss of data
1>c:\darkstar\src\common\utils.cpp(535): warning C4244: 'return' : conversion from 'double' to 'float', possible loss of data
1>  timer.cpp
1>  taskmgr.cpp
1>  strlib.cpp
1>  sql.cpp
1>  socket.cpp
1>c:\darkstar\src\common\socket.cpp(252): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(2238) : see declaration of 'gethostbyname'
1>c:\darkstar\src\common\socket.cpp(380): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(2238) : see declaration of 'gethostbyname'
1>c:\darkstar\src\common\socket.cpp(388): warning C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(1868) : see declaration of 'inet_ntoa'
1>c:\darkstar\src\common\socket.cpp(393): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1>          c:\program files\windows kits\8.1\include\um\winsock2.h(1850) : see declaration of 'inet_addr'
1>  showmsg.cpp
1>  md52.cpp
1>  malloc.cpp
1>  kernel.cpp
1>  blowfish.cpp
1>  Generating Code...
1>  DSConnect-server.vcxproj -> C:\darkstar\win32\DSConnect-server\..\..\DSConnect-server.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Now, it does say 1 succeeded, but I've never gotten any errors before. I'll do another pull just in case.

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: Log-in Problems

Post by TeoTwawki » Wed Apr 01, 2015 2:41 am

Just warnings, not real errors. They are things that should (usually) eventually be changed but which won't stop it from working. These things happen to old code as technology marches on and compilers get updated.
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

User avatar
kjLotus
Special Guest
Posts: 1813
Joined: Sun Jul 22, 2012 2:16 pm

Re: Log-in Problems

Post by kjLotus » Wed Apr 01, 2015 8:46 am

you did get them all the first time you compiled actually, you probably just didn't notice :p

Desufire
Posts: 162
Joined: Sun Feb 22, 2015 2:58 am

Re: Log-in Problems

Post by Desufire » Wed Apr 01, 2015 10:37 pm

kjLotus wrote:you did get them all the first time you compiled actually, you probably just didn't notice :p
Wouldn't doubt it, but thank you all for figuring everything out. Updated late last night and server is stable.

Post Reply