SphereServer BugTracker - SphereServer
View Issue Details
0002483SphereServerexecutable - genericpublic24-02-15 12:0503-05-15 10:41
nolok 
XuN 
normaltweakalways
closedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
2191
0002483: VISUALRANGE doesn't work for values > 18
As title, VISUALRANGE doesn't work for values major than 18, whilst it's fine for values < 18. Is it possible to extend the maximum value to 30 or more, for example?
I know that more packets will be sent, but since custom clients or enhanced client support zooming in-out (and modern internet connections are generally better than those of 2000 :P), it would be very nice to see dynamic items distant > 18 tiles.
No tags attached.
Issue History
24-02-15 12:05nolokNew Issue
26-02-15 19:13CorujaNote Added: 0002709
26-02-15 20:09nolokNote Added: 0002710
26-02-15 21:18CorujaNote Added: 0002711
02-03-15 19:24nolokNote Added: 0002713
31-03-15 19:08XuNNote Added: 0002758
03-05-15 10:41XuNNote Added: 0002788
03-05-15 10:41XuNStatusnew => closed
03-05-15 10:41XuNAssigned To => XuN
03-05-15 10:41XuNResolutionopen => fixed
03-05-15 10:41XuNFixed in Version => 0.56c Nightly

Notes
(0002709)
Coruja   
26-02-15 19:13   
sphere already support higher values, but classic clients are limited internally on client-side to use 18 as max value (I think) and there's no way to change it. So sphere can set VISUALRANGE > 18 but the client will just use 18 as max value

on enhanced client I dont know the max value, probably it's 0001473:0000030
(0002710)
nolok   
26-02-15 20:09   
I can't remember now, but I think that setting VISUALRANGE to 20 and then doing .SHOW VISUALRANGE shows 18 (previous value, before setting it to 20, was 18). I won't be able to check it before 3 days, i'll let you know :)
(0002711)
Coruja   
26-02-15 21:18   
here I set it to 30 and using '.show visualrange' it return visualrange=30 without problems

I think 1~2 years ago the VISUALRANGE value was limited to 18 internally on sphere, but probably this limit was removed to make it compatible with higher values used by enhanced clients
(0002713)
nolok   
02-03-15 19:24   
Apparently sphere does well, the value is stored and showed correctly (as Coruja said) and the packet is sent right, even if i can't manage to check if it's sent correctly also after the client login. Maybe it's client's fault :(
(0002758)
XuN   
31-03-15 19:08   
I tried to remove its limit with no success, 2 days ago I entered on OSI to test some packets and found that even they have it increased (probably to do not give advantages to EC from CC) so my guess is that client is limiting it .
(0002788)
XuN   
03-05-15 10:41   
Closing this, changed all internals to 31 (VisualRange too) and the client still limits what it sees, so it may be a way to HexEdit this value? or using another custom clients around there so there is nothing we can do with this.

BTW, VisualRange is limited to 31.