26 Nov 11, 02:42PM
(26 Nov 11, 11:51AM)tempest Wrote:Server - MS "handshake" triggers a breakpoint. And it's not set by me, i think it's auto.(26 Nov 11, 02:45AM)SKB Wrote: Already did for my server side stuff. :P But I have encountered some interesting behaviour while debugging ac server.Such as...?
[SELECT ALL] Code:
> ac_server.exe!vector<char>::operator[](int i=0) Line 424 + 0x34 bytes C++
ac_server.exe!flushmasterinput() Line 151 + 0x15 bytes C++
ac_server.exe!serverms(int mode=0, int numplayers=0, int minremain=10, char * smapname=0x0056dc60, int millis=17452, const _ENetAddress & localaddr={...}, int * mnum=0x00570f40, int * msend=0x00570324, int * mrec=0x0057072c, int * cnum=0x00570f44, int * csend=0x00570b34, int * crec=0x00570f3c, int protocol_version=1132) Line 327 C++
ac_server.exe!serverslice(unsigned int timeout=5) Line 3861 + 0x50 bytes C++
ac_server.exe!initserver(bool dedicated=true, int argc=5, char * * argv=0x00dd3a70) Line 4206 + 0x7 bytes C++
ac_server.exe!main(int argc=5, char * * argv=0x00dd3a70) Line 4240 + 0xf bytes C++
ac_server.exe!__tmainCRTStartup() Line 266 + 0x19 bytes C
ac_server.exe!mainCRTStartup() Line 182 C
kernel32.dll!7c817077()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
variables:
[SELECT ALL] Code:
- this 0x00575ca0 struct vector<char> masterin {buf=0x00dfeab0 "ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ a vector<char> * const
+ buf 0x00dfeab0 "ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ" char *
alen 4096 int
ulen 0 int
i 0 int
Even if i click to continue instead of breaking. It says MS couldn't ping me. (and i'm not using -mlocalhost)
(26 Nov 11, 11:51AM)tempest Wrote:Imagine, you're trying to compile an ac server for the first time. It's just too ambiguous. Maybe a poor word choice on my end. :|(26 Nov 11, 02:45AM)SKB Wrote: You obviously can build a dedicated server in msvcpp. It's just named rather obscure.Indeed, at least it says so in the project file. But what's so obscure about "Standalone"?