Jump to content
Sign in to follow this  
Totoka

PKOII - Issue with friends List

Recommended Posts

Recently I noticed that the friend list does not work properly, when a new friend is added, the list tree never gets filled. someone know how to solve this already ?

Others like mentor/disciple, guild, party, seems to work fine.


Discord: andresc

Share this post


Link to post
Share on other sites

make sure you have this line in your string line     GP_FRIEND_H_00001 {"Friends" }   in your en_US Compiled in server side.

Edited by Andy
  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Andy said:

make sure you have this line in your string line     GP_FRIEND_H_00001 {"Friends" }   in your en_US Compiled in server side.

There, and compiled, client also has same reference many times, but not under same key GP_FRIEND_H_00001

 

res-friends.png

 

Edit ------------------------------------------------------------------------------------------------------------

friend-list.png

 

Looking at the packet, word `Friends`  does not appears to be there. It maybe posible that groupserver isn't loading the string resources pretty well.

 

There suppose to be 5 parameters into the packet,
but the client gets:

string (0x00000C2A ...), ?? <-- here shall be "Friends"? isn't an string
long   (0x00000000), ??      <-- character id, but empty instead
string ("charOtherName"),  <-- thats ok
string (0x00000100), ??      <-- it should be motto ? isn't an string
short (0x00000001), ??       <-- icon?

 

Edit: ----------------------------------------------------------------------------------------------------------

Groupserver

friend.log:

    [08-25 00:44:08]player charOtherName(797408) and player charName(797403) make friends

 

group_sql.log:
[08-25 00:43:34]execute SQL success![08-25 00:44:08]Table [friends], begin execute SQL [insert friends (cha_id1,cha_id2,relation) values(797408,797403,'')]
[08-25 00:44:08]execute SQL success![08-25 00:44:08]Table [friends], begin execute SQL [insert friends (cha_id1,cha_id2,relation) values(797403,797408,'')]

Edited by Totoka

Discord: andresc

Share this post


Link to post
Share on other sites
1 hour ago, Totoka said:

There, and compiled, client also has same reference many times, but not under same key GP_FRIEND_H_00001

 

res-friends.png

 

 

Check .clu files

Friend list is bugged it show like this 

PKO2.jpg

Share this post


Link to post
Share on other sites
10 minutes ago, Lua said:

[OFFTOPIC] @Totoka did you fixed the invisible icons ? (client side).

 

Not sure, I think no, which ones?


Discord: andresc

Share this post


Link to post
Share on other sites

I solve the resource string load, thanks @Andy.

 

Then friend's tree has been duplicated =/, as @Lucky mention, there is no typo between both, I don't know why system is unable to find the friend tree.
I'm gonna debug it later


Discord: andresc

Share this post


Link to post
Share on other sites

here posible solution to duplicate node tree 'Friends'

 

The string 'Friends' which comes from GroupServer, is being compared with some magic string 'ºÃÓÑ', which should be Friends instead.

 

friends-tree-error.png

 

friends-tree-fix.png

 

and also jump out the chance to add a new group when a new friend is added. dunno what else can comes up after that :}

friends-tree-error2.png

 

friend-tree-fix2.png

 

result:

friends-tree-result.png

 

Edited by Totoka
  • Like 1

Discord: andresc

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...