Jump to content
Eternal Lands Official Forums
Vegar

Typo In Morcraven

Recommended Posts

One of these days, we'll have to do a massive typo-hunt... until then, though, I guess adding features to the game will probably rank higher on the priority list than correcting English. (If only I had access to the scripts! <_< :D )

 

-Lyn-

Share this post


Link to post
Share on other sites

I figured it out...

 

They said it said "Welcome to Morcraven Marsm"

 

But on mine it says (sometimes) "Welcome to Morcraven MarfA"

 

The reason is most people's global filter word is smeg (the last 2 characters become the first two of your filter...Marsm, Naralsm...)

 

Hope that helps you narrow down where the glitch is.

Edited by Ravenod

Share this post


Link to post
Share on other sites

it is a string overflow

actually what happens is that the text you get from the server is not 0 ended and the buffer dosen't get wiped out before each read (a memset would be an easy fix) so you get from the server something:

 

Xilcox: you think like an italian !

Welcome to Morcraven marsh

 

and you end up with a combination of the two ending in sh*t ...

 

and the filter replace routine searches for words STARTING from each char up to the last occurance in the text, so up to 'h'.

 

this is hardly the only string overflow, just look at what happens with quest log (at least in the default official binaries, don't know if that was fixed). someone probably just assumed that texts from the server are 0-ended wich is not true.

Edited by Xilcox

Share this post


Link to post
Share on other sites

So the moral of the story is: Don't filter words.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×