I have succeeded in modifying my client to see more tiles at once. (editing x11.c)
Unfortunately, most servers refuse to update these normally out of range squares,
so I get fog-of-war surrounding my 11x11 screen.
I might be wrong, but updates when moving or line-of-sight are controlled on the _server_?
Anyways I started hacking my local host so it updates these tiles. (mostly init.c and request.c)
Now I can see monsters and the map a good distance in front of me and behind,
but there's some annoyance with "line of sight" code.
Basically if I move so far that parts of the map are outside the _new_ range of sight,
and backtrack so it is visible again, it will be flagged fog of war, and will stay that way even as I run _through_ it. It only updates when I actually run behind a wall and back again. I can see the code that is supposed to be for LOS and move updates, and I changed and recompiled, but the refresh is still broken.
All over the place there are refs to hard-coded 11x11 limits, which I have been "fixing"...
Enlarging the visible game screen
Moderator: Board moderators
-
- Forum Aficionado
- Posts: 1994
- Joined: Tue Apr 29, 2003 5:55 pm
- Location: Minnesota, USA
- Contact:
Re: Enlarging the visible game screen
Which client and version are you using or referencing here?Basilisk wrote:I have succeeded in modifying my client to see more tiles at once.
And, what you are doing, is that different then what you can tweak in the gtkv1 client through Clinet -> Configure -> Map & Image (tab) -> Map Size ?
Ex: change Map Heigh and Width from 11 x 11 to some other value(s)
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Eric Meyer
I managed to fix the bug I was experiencing. Accidently setting one of the numbers +1 than it should have been messed it up for me. I am really grateful that this is open-source.
I would be interested in knowing if theres a way to configure the X11 client without modding and recompiling, I dont use the GTK one yet. The server really will send the extra data?
I would be interested in knowing if theres a way to configure the X11 client without modding and recompiling, I dont use the GTK one yet. The server really will send the extra data?