Jump to content

Rokco

Inactive Member
  • Posts

    14
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Rokco

  1. 22 minutes ago, narcisxb said:

    I don t have #include "service.h" in any of those files. Should I add it to every source file I modified? I don t think I have it in game source files either. 

    yes, you need to add them, if you do that im shure you solve all your compile errors.

  2. 23 hours ago, narcisxb said:

    If I add #ifdef ENABLE_CHEQUE_SYSTEM I get this error when I compile db:

    ClientManagerPlayer.cpp:165:12: error: no member named 'cheque' in SPlayerTable' ,pkTab-cheque
    ClietnManagerPlayer.cpp:536:23: erro: no member named 'cheque' in SPlayerTable' str_to_number(pkTab-»cheque, rowăcol++])

    If I do it without the #ifdef I don t get the error? Why?

    I have ENABLE_CHEQUE_SYSTEM defined in my Service.h file in common. 

     

    Check if you have put all import's for exemple ((( Table.h = #include "service.h" )))

    ClientManagerPlayer.cpp   =    #include "../../common/service.h"

  3. 1 hour ago, narcisxb said:

    I did and I managed to get the server started but only if I deleted the preprocessor directive (ifdef) from tables.h variables. If I use with directive I m getting a db compile error saying that my variables are missing from SPlayerTable (a struct that contains DWORD cheque). Any ideea?

    Go back in Tables.h and check for the line 

    typedef struct SPlayerTable

    {


    After(    short    horse_skill_point;) ADD:
        #ifdef ENABLE_CHEQUE_SYSTEM
        int        cheque;
        #endif
    ----------------------------------------------------------
    After that check

    typedef struct SShopItemTable
    {

    After (    DWORD        price;)

    #ifdef ENABLE_CHEQUE_SYSTEM
        DWORD        cheque;
    #endif

  4. 6 hours ago, narcisxb said:

    ok, but what am I missing? I did everything and my server now won t let me connect to it. It worked just fine before this. Now I get an error when typing in correct account and a ¨user or pwd is wrong¨ when typing in wrong login data. Also why my cheque code won t highlight the right way (it s like cheque_system is not enabled). What do I do wrong? Does common get compiled or I just edit stuff in there and it gets read or linked at some point during game/db compilation?

     

    EDIT: it also worked fine before adding the code to the server source (client and client binary part was fine).

     

    Check one more time in surce/db/src - ClientManagerPlayer.cpp / 

    Im thinking you have just miss a part or you have doing wrong. + ProtoReader.cpp and to the end you need to have the colum *Won* on your navicat you need to run the sql file from the arhive.

  5. Hello guys.

    I got a vizual problem on my offline shop by great,

    it's something from python, maiby uitooltip.py  but i still no have a solution for this,

    It's anyone who have an ideia about this problem, and hi can help me?

    Thx i really appreciate

     

    252310GreenCheck.pngThis is how the item and its bonuses are seen, how you view the shop like players!

    spacer.png

     

     

    252730RedInfo.pngThis is the wrong way how you see when you are editing your shop,

    spacer.png

     

     

  6. On 6/13/2021 at 12:37 PM, Exille said:

    Hi, I have a little problem. The system works, but when the server is restarted, all players in the database get -1077945576 check. You can help? Where could the error be?

    Check one more time all changes what you have done in *(serve/db/src) ClientMagagerPlayer.cpp

    I think you have done something wrong.

  7. 13 minutes ago, TMP4 said:

    If you revert your skill_proto back to it's original state the problem stays? (Since you have custom one)

    I haven't made any recent changes to skill_proto.

    The only thing recently added is the sash system with scale, but with this system everything goes perfectly. There are no bugs / errors.

    From what I noticed in the DB, the following things are not saved after a reboot, / shutdown No matter how long I wait, even if I wait 15 minutes. Not saved (Skill (what it's bring with him this error / Player Level and Horse Level)

  8. OK, I found the solution for this, but I don't understand why he does this when his name is too long in DB.

    The solution is this, I got in * DB * PLAYER = Item_proto (name and Locale_name) to the object that displayed my error, It was called [Esarfa Suveran (Ancient)]

    if you cut 4 or 5 characters from the object name, Example: [Esarfa Suv (Ancient)] (error disappears).

    I think because the name is too long, but I still don't see the connection.

    If anyone has an explanation for this, I would be happy to hear it! Thank you.

  9. Hi, i was just install sash with scale, All done no bugs or problem,

    Only thing what i can't solve it's this, Has anyone an idea about this error.

     

    (The error its aparar when i try to combine sash of different grades) Iven if is show this error no bug / problems in game.

     

    252730RedInfo.pngSYSERR: Jul 15 21:23:08 :: ChildLoop: AsyncSQL: query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 519, 968863, 278983, 11895041, 'COMBINE (REFINE SUCCESS)', 'Esarfa Roiala (Antica) 1 ',  errno: 1064)

      Thank you in advence.

  10. It's work perfectly, Thx

    spacer.png

     

     

     

    252730RedInfo.pngRegords, Rokco

     

    On 2/28/2020 at 9:40 PM, tarata12 said:

    My problem is the same can someone help me?

    @tarata12To short that problem

    https://metin2.download/picture/ie89ITu4U9DIJ034tir393ex7S4W4eRU/.gif

    you shod not chenge Item_proto (Client side)

    Make change just in DB (Navicat - Player - Item_Proto) (Type 28 and Subtipe 3/4/5  Depending how many things you got on your costume system)

    If you whant to make change in Item_proto from client you shud put a (REAL_TIME    86400) Value on your Mount!

     

    And Sorry for my bad ENG, I hope you undestend me.

    • Metin2 Dev 3
    • Good 3
    • Love 1
    • Love 2
×
×
  • 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.