--- deliantra/server/socket/request.C 2007/04/02 18:04:47 1.83 +++ deliantra/server/socket/request.C 2007/04/18 09:38:58 1.86 @@ -150,14 +150,7 @@ object *ob = pl->ob; char buf[MAX_BUF]; /* eauugggh */ - if (socket.force_newmap) - { - // force newmap is used for clients that do not redraw their map - // after image uploads. - socket.current_map = ob->map; - clear_map (pl); - } - else if (socket.current_map != ob->map) + if (socket.current_map != ob->map || socket.force_newmap) { clear_map (pl); socket.current_map = ob->map; @@ -507,6 +500,7 @@ AskSmooth (char *buf, int len, client *ns) { ns->send_face (atoi (buf)); + ns->flush_fx (); } /** @@ -1191,10 +1185,10 @@ if (socket.extmap) { - uint8 stat_hp = 0; + uint8 stat_hp = 0; uint8 stat_width = 0; - uint8 flags = 0; - UUID player = 0; + uint8 flags = 0; + tag_t player = 0; // send hp information, if applicable if (object *op = ms.faces_obj [0]) @@ -1245,7 +1239,7 @@ *last_ext |= 0x80; last_ext = &sl[sl.length ()]; - sl << uint8 (0x47) << uint8 (8) << (uint64)player; + sl << uint8 (0x43) << uint8 (4) << (uint32)player; } if (lastcell.flags != flags) @@ -1329,6 +1323,8 @@ } /* for x loop */ } /* for y loop */ + socket.flush_fx (); + /* Verify that we in fact do need to send this */ if (socket.ext_mapinfos) {