Jump to content
  • 0

Pets: Null state & No name exists.


Question

Posted (edited)

The issue is experience on aCis 401 without any modifications on summon logic.

1. On every Summon item this is what I see.
https://prnt.sc/l8zjhfS_ZweB

2. Cannot interact with the summon (it doesn't open the summons's stats + skill/inventory)
3. On kill or on resurrection I receive this.

On die.
https://prnt.sc/dJEWa_hbW-SB
On resurrection.
https://prnt.sc/b1-rLyJJCZSy

Also the data from pets table in database.
https://prnt.sc/-vVn4BxlvuXT
Thank you in advance.

Edited by Vision

5 answers to this question

Recommended Posts

  • 0
Posted

this can be a datapack problem , probably you missing something check your summon_items.xml or i don't remember exactly name , try to copy datapack files again gameserver/data/xml.

  • Downvote 1
  • 0
Posted
17 minutes ago, LoVe+ said:

this can be a datapack problem , probably you missing something check your summon_items.xml or i don't remember exactly name , try to copy datapack files again gameserver/data/xml.

Already tried this nothing helped

Edited: Added screenshot from the database table of Pets ( name appears as null )

  • 0
Posted
Name appearing as null is fine, since it's the name the pet owner decides to put which is taken in consideration - and by default, no pet got any name.

The "null" appearance only occurs on custom (admin) messages, so it's not problematic aswell since nowhere else client finds such info. We can use template name if no personal name exists, but that's only for aesthetic purpose. I will make a commit for that.

The inventory flute with "no name exists" is also, perfectly fine from the moment the owner didn't set any name (same on L2OFF aswell). If he sets a name, the value is edited.

About the interaction itself, I tbh don't remember if I had to fix such issue between rev 401-latest. It works as intented on the PTS, which uses latest..
  • Upvote 1
  • 0
Posted

Client was fucked up, don't lock the topic yet would like to find the cause of this issue in order to post it here and help someone else with the same problem ! 🙂 

  • 0
Posted (edited)
5 hours ago, Odyssey said:

Client was fucked up, don't lock the topic yet would like to find the cause of this issue in order to post it here and help someone else with the same problem ! 🙂 

So, you need a name and not NoNameNpc or null returns everytime the pet hitting you...?

 

About "No name exists" on item, this will change when you first summon the pet. Then, it will show you "Name exists". If there's a name. Nothing to do with client files. Your files are ok, at least about the pets name.

 

I just add 3 lines at AbstractNpcInfo.java and SummonItems.java about the name. Go there, search for title, and you will get it.

But with this way, all pets(only item pets, not the pets of summoners or other class) it will show "Friendly Pet". To make the pets show names like "Wolf, Baby Wolf, Baby strider, Strider" you need to make it somehow like npcs getting name. More difficult, xml edit needed, can't explain it here..

But, another and easier way, it's to make pets getting name by their item's name(template). For example, the Wolf will get name Wolf Collar(you can change and this as well).

xzQsa7g.jpgcqy27fA.jpg

Edited by 'Baggos'
  • Like 1
  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.



×
×
  • Create New...