Jump to content
Maintenance ×
×
×
  • Create New...
  • 0

Shop name bug


mafianekcek

Question

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

5 answers to this question

Recommended Posts

  • 0
  • 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

  • 0
  • 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

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.


  • Activity

    1. 0

      erorrs after update granny to 2.9

    2. 0

      Navicat Premium 16.1.1 x64

    3. 5

      problem Dargon Soul Changre Attribute

    4. 5

      problem Dargon Soul Changre Attribute

    5. 41

      Global Chat

    6. 5

      problem Dargon Soul Changre Attribute

    7. 2

      Startup Loading Window Library

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.