>> Some put on the self destruct >> sequence, some simply close the connection. > > This might be happening because of race condition ... see if you can > capture more data, such as network packets. A connection reset can > cause loss of that CP_QUIT in the server buffer before it is read > by the > server process. I'm happy to help with that. Race conditions? in my code? very likely :-) there are some points where i just know i should have used locks. But in this case i don't know. Basically the client only sends the CP_QUIT and remains in the game. The closing of the socket on the server side or the explosion of the player will lead to the hiding of the game display and the raising of the outfit menu. >> P.S. I've reached a state where RSA is more or less in the code, and >> would like to check it on some servers. Shall i post the generated >> MacTrek_Key file here ? MacTrek_Key:ct=MacTrek:cr=Chris:\ :cd=November 2006:ar=OSX-Tiger:\ :cm=No-Comment:\ :gk=359b0e6aee1a586b193b01cc8c7ddac88ba569fc63bc79ffdeced44771b228b3 :\ :pk=efb89fa2e04e4105b4727825a8f32dfdff3034dcc25cbcd5929b5d02b879995f : The key will remain stable for now, the rsa_box files will not be released though generating them on os x is not that easy. (i actually generated these on linux) > Sure ... I could add it to inl.real-time.com's key list for you to > test > with. Sounds great, what is a inl.real-time.com key list ? (inl sounds like international netrek league, but i never saw the server listed on the meta server, which would make it kind of hard to test) > The best solution is to define more FEATURE packets in the > protocol, default them > to on, and leave it up to the server owners whether they respond to > demands to turn them off. So far i don't think many of the current features have been implemented at all. MacTrek is probably less than JTrek, but with some other new things. Things like beeplite are in the code but did not make it to the graphical layer yet. #define FEATURE_LIST_FEATURE_PACKETS 0 #define FEATURE_LIST_NEW_MACRO 1 #define FEATURE_LIST_SMART_MACRO 2 #define FEATURE_LIST_WHY_DEAD 3 #define FEATURE_LIST_SB_HOURS 4 #define FEATURE_LIST_CLOAK_MAXWARP 5 #define FEATURE_LIST_SELF_8FLAGS 6 #define FEATURE_LIST_SELF_8FLAGS2 7 #define FEATURE_LIST_GEN_DISTRESS 8 #define FEATURE_LIST_MULTILINE_ENABLED 9 #define FEATURE_LIST_SHIP_CAP 10 #define FEATURE_LIST_BEEPLITE 11 #define FEATURE_LIST_CONTINUOUS_MOUSE 12 #define FEATURE_LIST_CONTINUOUS_STEER 13 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.us.netrek.org/pipermail/netrek-dev/attachments/20061130/84890508/attachment.htm