Legacy: Map recentering

New ideas, features you wish were in the game.
Post Reply
Froof
Berzerker
Posts: 61
Joined: Sat 26.10.2002, 17:11
Location: Atlanta, GA, USA

Legacy: Map recentering

Post by Froof » Sat 07.12.2002, 22:22

Map recentering?

(Note: This is all I had to go on.  Someone had issues with how and where the map recentered, I'm guessing?)

rahl
Drooling Harpy
Posts: 9
Joined: Thu 05.12.2002, 12:39

Re: Legacy: Map recentering

Post by rahl » Sat 07.12.2002, 23:06

As I recall, the server doesn't support continous map recentering for the client, whereby the player is always in the center of the screen and everything else moves around him.

Crimson
King Lich
Posts: 315
Joined: Sat 26.10.2002, 15:00
Location: Mangband Project Team Member
Contact:

Re: Legacy: Map recentering

Post by Crimson » Sun 08.12.2002, 09:32

Sure it *could*.

This might almost overload some slow connections though, redwawing the map creates a lot of traffic.
Are you not entertained?
Is this not what you came here for?

-- Maximus Decimus Meridias, The Gladiator

Volrak
Seedy Looking Human
Posts: 16
Joined: Thu 07.11.2002, 02:24
Location: Australia

Re: Legacy: Map recentering

Post by Volrak » Mon 09.12.2002, 02:37

Yeah.. i'm on a 56k modem, and i have occasional problems already.  The other day i was in a pit-sized room full of hummerhorns (+10 speed breeders), and my modem wasn't keeping up with the required download rate to track all of their movements and their attacks.

Keystrokes i entered would take around 30 seconds before i saw the results of them.. in fact when i portalled myself out, i was attacked by hounds without my knowledge for about that long, before the transfers caught up, and i could get somewhere safe  :-/

Xoreality
Mean-Looking Mercenary
Posts: 6
Joined: Sun 03.11.2002, 06:15
Location: Auckland, New Zealand

Re: Legacy: Map recentering

Post by Xoreality » Tue 10.12.2002, 01:08

Shouldn't the current uncovered/known map be stored on the client? Then looking around/recentering would take place on the client avoiding connection issues. The server would send updates to the client when they took place as it does now. Pressing Ctrl-R for redraw would cause the server to send the entire known map again in case anything is missed/garbled.

Hmmm... am I understanding the problem fully? I suppose if the client doesn't do any of this already it'd be a bit of work eh?

Plus there's probably lots of other issues related to this.

Maybe I should just shut up. :-)

Crimson
King Lich
Posts: 315
Joined: Sat 26.10.2002, 15:00
Location: Mangband Project Team Member
Contact:

Re: Legacy: Map recentering

Post by Crimson » Tue 10.12.2002, 18:33

That's a perfectly valid question.

The reason it currently does not is simple.  There can be changes to the map the client might not know about.  For instance, another character might *Destruct* the level.  This could be handled via curses-style-update-only-what's-been-changed once  virtual pad has been established, but it also requires the client buffer all the pertinent information, which just isn't being done yet.

In fact, doing it this way would greately simplify things like animating multi-hued items, projecting missle objects, and allow "record" mode in the client.  It's a great idea.

Patches Welcome :)

Of course, the patch has to work on terminal mode, X mode, Windows mode, and Aqua mode.
Are you not entertained?
Is this not what you came here for?

-- Maximus Decimus Meridias, The Gladiator

Post Reply