Jump to content

Recommended Posts

Hello, i have problem with shop, when i create shop or rename shop name is okey, but when i close game and start client again, shop name missing.
Can somebody help me?
here is video:
 
here are python files:
uiprivateshopbuilder.py : https://pastebin.com/DByEdU2Y
interfacemodule.py: https://pastebin.com/smSkYEBY
add me on skype: petr-sek
skype name: Peterio Ukulele
 
for fix i will pay you 20€
  • Love 1
Link to comment
Share on other sites

  • Premium
16 hours ago, mafianekcek said:

LOL, i have fixed it, error was in char.cpp in function EncodeInsertPacket

find:


p.mode = ch->m_bNowWalking ? WALKMODE_WALK : WALKMODE_RUN;

after this is 


if (IsPC() && GetMyShop())

you need to change this for


if (GetMyShop())

 

This is not a fix. Put it back.

Go at IsPc() function and register your new character there.

Edit. Syreldar is right. It is not needed for offline shop.

Link to comment
Share on other sites

  • Premium
1 hour ago, Dobrescu Sebastian said:

This is not a fix. Put it back.

Go at IsPc() function and register your new character there.

The Shop is not a character but an NPC, so yes, that's a fix, cause he was legit telling the game to set the name only if the shop was both a shop and a character (which is correct for normal shops, not offline shops).

 

"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

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.