Jump to content

Recommended Posts

Hi.

I have added Sash System, now I have got this problem.

I have checked all for five times.

I have got UNKNOW_TYPE[97]1

I have already checked uitooltip.py where self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE

and i have added it in locale_game.txt but i have Unknow_type yet.

Please help!

 

i can pay for fix

Link to comment
https://metin2.dev/topic/13828-sash-system-just-a-little-problem/
Share on other sites

  • Honorable Member

No you didn't, The client can't read a bonus which has Type number 97.

Add it in uitooltip.py and locale_game.py.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member
11 minutes ago, iRazer said:

I have already added it. Same problem

I am confident on the fact you do not know how to add new bonuses in your client, cause yeah, you are not the only one who had to get through this problem to add sash system, yet everyone knows this problem is a basic level problem.

If you know how bonuses work you should be aware about the fact you can't simply randomly add the bonus in the affect array in uitooltip.py, but you also have to define it on a specific line, in your case, the line number 97 of the affect array, the bonuses are indexed automatically.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member
44 minutes ago, iRazer said:

I have done all right, client too.

Programing is like math, if it doesn't work you are the one doing something wrong, not the client or the server, and i just gave you the solution for the problem, if it doesn't work, again you are doing something wrong.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member

It's not problem of uitooltip.py because it doesn't read bonus. It's spurce but idk where

..XD

  • Love 2

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Do you have this function -_-' ?

            if isCostumeAcce != 0:
                if metinSlot != 0:
                    absChance = int(metinSlot[1])
                    if absChance > 0:
                        self.AppendSpace(5)
                        self.AppendTextLine(localeInfo.ACCE_ABSORB_CHANCE % (absChance), self.CONDITION_COLOR)

 

I'm trying to fix. I have checked all and the type 97 is called everywhere so I don't know where is the problem.

and this "ACCE_ABSORB_CHANCE" is called just in Python files, and not in src files. So idk how to fix.

I CAN PAY FOR THIS FIX. 

 

  • Honorable Member
24 minutes ago, iRazer said:

I'm trying to fix. I have checked all and the type 97 is called everywhere so I don't know where is the problem.

and this "ACCE_ABSORB_CHANCE" is called just in Python files, and not in src files. So idk how to fix.

I CAN PAY FOR THIS FIX. 

 

or just post your uitooltip here.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

  • Honorable Member
3 minutes ago, iRazer said:

This is the hidden content, please

 

 use pastebin.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.