Jump to content
Eternal Lands Official Forums
Raytray

Buddy List Bug

Recommended Posts

I've resetted the buddy list (cleared it) after the second bugfix update for the buddylist and added everyone from that point forward.

 

This screenshot is as of a few minutes ago and my friend that is on my buddy list does not show up as light blue on the minimap while other buddys do.

There was no one else around (and therefore no other 'blip' on the minimap covering his)

 

I do not know how to recreate this bug (as of now I don't recall seeing my buddy light blue since after teh second update.)

 

elscreen032.jpg

Share this post


Link to post
Share on other sites

It seems this occurs when the names on the buddy list doesn't match the name of the player. (Casing) In the screenshot Kitential ingame and kitential on the buddy list. I've experienced it again with Mystic_Shadow on the list and Mystic_shadow in game.

Share this post


Link to post
Share on other sites
It seems this occurs when the names on the buddy list doesn't match the name of the player. (Casing) In the screenshot Kitential ingame and kitential on the buddy list. I've experienced it again with Mystic_Shadow on the list and Mystic_shadow in game.

 

The function, is_in_buddylist, in buddy.c appears to test case senstive, so that would make it fail.

Perhaps a tolower or a strncasecmp, as in del_buddy function, instead of strncmp.

 

See:

if(buddy_list[i].type < 0xff && strncmp(buddy_list[i].name, name, strlen(buddy_list[i].name)) == 0)

 

to

 

if(buddy_list[i].type < 0xff && strncasecmp(buddy_list[i].name, name, strlen(buddy_list[i].name)) == 0)

 

I just fast glanced.

Share this post


Link to post
Share on other sites
The function, is_in_buddylist, in buddy.c appears to test case senstive, so that would make it fail.

Perhaps a tolower or a strncasecmp, as in del_buddy function, instead of strncmp.

Well spotted, I've committed that change to CVS. Thanks. :hehe:

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.

×