Jump to content

cuceritorul28

Member
  • Posts

    45
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by cuceritorul28

  1. Hello! 

    I have a problem with my server, i get crash core randomly....and i don't know why.....this is my debug

     

    Quote

    [New LWP 100209]
    [New LWP 100254]
    [New LWP 100255]
    [New LWP 100259]
    Core was generated by `./core_2'.
    Program terminated with signal SIGSEGV, Segmentation fault.
    Address not mapped to object.
    #0  0x0807616a in CHARACTER::GetName (this=0x2b582000) at char.cpp:747
    747     char.cpp: No such file or directory.
    [Current thread is 1 (LWP 100209)]
    (gdb) bt full
    #0  0x0807616a in CHARACTER::GetName (this=0x2b582000) at char.cpp:747
            bLocale = <optimized out>
            bLocale = <optimized out>
    #1  0x0817eece in ITEM_MANAGER::SaveSingleItem (this=0xffffa994, item=0x367adba0) at item_manager.cpp:441
            t = {id = 30019275, window = 1 '\001', pos = 16, count = 1, vnum = 55005, alSockets = {0, 0, -690442752}, aAttr = {{bType = 40 '(', sValue = 704}, {bType = 0 '\000', sValue = 8233}, {
                  bType = 238 '\356', sValue = -1}, {bType = 0 '\000', sValue = 0}, {bType = 0 '\000', sValue = 3024}, {bType = 32 ' ', sValue = 19502}, {bType = 86 'V', sValue = 13879}}, owner = 143946744,
              transmutation = 4294945172}
    #2  0x0817f2b0 in ITEM_MANAGER::Update (this=0xffffa994) at item_manager.cpp:478
            item = <optimized out>
            it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*, false>> = {_M_cur_node = 0x2e2003b0, _M_cur_bucket = 0x3637571c}, <No data fields>}
            this_it = {<std::tr1::__detail::_Hashtable_iterator_base<CItem*, false>> = {_M_cur_node = 0x2e200c28, _M_cur_bucket = <optimized out>}, <No data fields>}
     

     Can anyone help me?

     

    Thank You!

    • Love 1
  2. I'm new to python and i wanna do some text processing with it. So, I have one file that contains this type of text:

    text["ro"][13361] = "Some text 1"

    text["ro"][13362] = "Some text 2"

    text["ro"][*3363] = "Some text 3"

    text["ro"][13364] = "Some text 4"

    Then I have a bunch of files that contains only the text between the double quotes

    say ( "Some text 1" )

    say ( "Some text 2" )

    say ( "Some text 3" )

    say ( "Some text 4" )

    My need is to make this thing:

    Replace the text from the bunch of files with this:

    say ( text [ LC ( ) ] [ 13361 ] )

    say ( text [ LC ( ) ] [ 13362 ] )

    say ( text [ LC ( ) ] [ 13363 ] )

    say ( text [ LC ( ) ] [ 13364 ] )

    I'm thinking that python is the best way to do this...but I don't know how....if anyone can help me I would appreciate!

  3. 1 hour ago, TMP4 said:

    It's directly in root.eix-epk 🤔

    054749Keperny-kep-2021-12-05-124713.png

    But if you open the file you will see it just loads the locale files so you probably not looking to edit this, but finding the root of your error's origin what you messed up in the loaded files.
    And please keep your further questions in questions & answers or that release's topic, because it is off topic for this release.

    can you give me an tutorial how to implement FoxFS? It's easyer to clean the client....

  4. Hello, i have a little problem with channel status, the problem comes from desc_client.cpp where, the function void CLIENT_DESC::UpdateChannelStatus(DWORD t, bool fForce) is not working properly. The function defines 4 states for the server, OFFLINE, NORM, BUSY and FULL. I parsed the variables into a syslog from the function and i realised that the iTotal it's always 0, so the server works in only 2 states, OFFLINE and NORM. Can anybody help me to fix this problem? I want to implement the count of players of the servers into the login interface. Another test i've made is with the command /who ingame, command which count properly the numbler of players.

    Here is the function:

    void CLIENT_DESC::UpdateChannelStatus(DWORD t, bool fForce)
    {
        enum {
            // CHANNELSTATUS_UPDATE_PERIOD = 5*60*1000,    // 5분마다
            CHANNELSTATUS_UPDATE_PERIOD = 1*1000,    // 5분마다
        };
        DWORD tLCSUP = m_tLastChannelStatusUpdateTime+CHANNELSTATUS_UPDATE_PERIOD;
        if (fForce || tLCSUP < t) {

            int iTotal;
            int * paiEmpireUserCount;
            int iLocal;
            DESC_MANAGER::instance().GetUserCount(iTotal, &paiEmpireUserCount, iLocal);
            TChannelStatus channelStatus;
            channelStatus.nPort = mother_port;
    #if defined(__CHANNEL_STATUS_UPDATE__)
            channelStatus.player_count = iTotal;
    #endif        

            if (g_bNoMoreClient) channelStatus.bStatus = 0;
            else channelStatus.bStatus = iTotal > g_iFullUserCount ? 3 : iTotal > g_iBusyUserCount ? 2 : 1;
            sys_log(0, "Total %d , FullUserCount %d , BusyUserCount %d", iTotal, g_iFullUserCount, g_iBusyUserCount);
            DBPacket(HEADER_GD_UPDATE_CHANNELSTATUS, 0, &channelStatus, sizeof(channelStatus));
            m_tLastChannelStatusUpdateTime = t;
        }
    }

  5. I get this in syserr of client...i get this when i enter the game and at each teleport in other map...

    0901 17:06:50428 :: BORRAR QID|2
    0901 17:06:50428 :: antiexp_index 9
    0901 17:06:50428 :: depozit_index 10
    0901 17:06:50429 :: teleporter_index 11
    0901 17:06:50429 :: actualizare_bara_putere 100
    0901 17:06:50429 :: bonus_activ 0
    0901 17:06:50429 :: Unknown Server Command bonus_activ 0 | bonus_activ
    0901 17:06:50429 :: status_putere 0 0 0 0 110
    0901 17:06:50429 :: questindex_activare_putere 14
    0901 17:06:50429 :: questindex_buton1_putere 15
    0901 17:06:50429 :: questindex_buton2_putere 16
    0901 17:06:50429 :: questindex_buton3_putere 17
    0901 17:06:50429 :: questindex_buton4_putere 18
    0901 17:06:50429 :: super_quest 21
    0901 17:06:50429 :: valori_ucideri 0 0 5 42
    0901 17:06:50429 :: utilizari_kill_ramase 0
    0901 17:06:50429 :: sistem_onoare_questindex 23
    0901 17:06:50429 :: zetsugfsys 24
    0901 17:06:50449 :: Abilitate QID|32
    0901 17:06:50449 :: Unknown Server Command Abilitate QID|32 | Abilitate
    0901 17:06:50450 :: Abilitati |2
    0901 17:06:50450 :: Unknown Server Command Abilitati |2 | Abilitati
    0901 17:06:50450 :: SLOTMACHINE QID/36
    0901 17:06:50450 :: ACHIEVEMENTS QID#37
    0901 17:06:50453 :: ACHIEVEMENTS SET_CATEGORY#1
    0901 17:06:50453 :: ACHIEVEMENTS SET_CATEGORY#2
    0901 17:06:50453 :: ACHIEVEMENTS SET_CATEGORY#3
    0901 17:06:50471 :: ACHIEVEMENTS SET_CATEGORY#4
    0901 17:06:50471 :: ACHIEVEMENTS SET_CATEGORY#5
    0901 17:06:50471 :: ACHIEVEMENTS SET_CATEGORY#6
    0901 17:06:50487 :: ACHIEVEMENTS SET_ACHIEVEMENT#2#0#10#5#101
    0901 17:06:50487 :: ACHIEVEMENTS SET_ACHIEVEMENT#2#0#15#10#101
    0901 17:06:50487 :: ACHIEVEMENTS SET_ACHIEVEMENT#2#0#20#15#101
    0901 17:06:50503 :: ACHIEVEMENTS SET_ACHIEVEMENT#2#0#25#20#101
    0901 17:06:50503 :: ACHIEVEMENTS SET_ACHIEVEMENT#2#0#30#25#101
    0901 17:06:50503 :: ACHIEVEMENTS SET_ACHIEVEMENT#2#11#29#29#102
    0901 17:06:50520 :: ACHIEVEMENTS SET_ACHIEVEMENT#2#11#99#99#104
    0901 17:06:50520 :: ACHIEVEMENTS SET_ACHIEVEMENT#2#11#2674#2000#104
    0901 17:06:50520 :: ACHIEVEMENTS SET_ACHIEVEMENT#3#0#5#50#691
    0901 17:06:50537 :: ACHIEVEMENTS SET_ACHIEVEMENT#3#0#10#100#691
    0901 17:06:50537 :: ACHIEVEMENTS SET_ACHIEVEMENT#4#0#2#10#8001
    0901 17:06:50537 :: ACHIEVEMENTS SET_ACHIEVEMENT#4#0#5#15#8001
    0901 17:06:50553 :: ACHIEVEMENTS SET_ACHIEVEMENT#1#110#5#10#0
    0901 17:06:50553 :: ACHIEVEMENTS SET_ACHIEVEMENT#1#110#10#20#0
    0901 17:06:50553 :: ACHIEVEMENTS SET_ACHIEVEMENT#1#110#20#40#0
    0901 17:06:50570 :: ACHIEVEMENTS SET_ACHIEVEMENT#1#110#30#60#0
    0901 17:06:50570 :: ACHIEVEMENTS SET_ACHIEVEMENT#1#110#110#80#0
    0901 17:06:50570 :: ACHIEVEMENTS SET_ACHIEVEMENT#1#110#120#130#0
    0901 17:06:50586 :: ACHIEVEMENTS SET_ACHIEVEMENT#1#110#127#180#0
    0901 17:06:50586 :: ACHIEVEMENTS SET_ACHIEVEMENT#5#3455#500#50#0
    0901 17:06:50586 :: ACHIEVEMENTS SET_ACHIEVEMENT#5#3455#2000#200#0
    0901 17:06:50602 :: ACHIEVEMENTS SET_ACHIEVEMENT#5#3455#5000#500#0
    0901 17:06:50602 :: ACHIEVEMENTS SET_ACHIEVEMENT#5#3455#10000#1000#0
    0901 17:06:50602 :: ACHIEVEMENTS SET_ACHIEVEMENT#5#3455#17500#3000#0
    0901 17:06:50618 :: ACHIEVEMENTS SET_ACHIEVEMENT#5#3455#25000#5000#0
    0901 17:06:50618 :: ACHIEVEMENTS SET_ACHIEVEMENT#5#3455#40000#8000#0
    0901 17:06:50618 :: ACHIEVEMENTS SET_ACHIEVEMENT#5#3455#50000#10000#0
    0901 17:06:50635 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#2#300#0
    0901 17:06:50635 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#5#600#0
    0901 17:06:50635 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#8#900#0
    0901 17:06:50651 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#10#1200#0
    0901 17:06:50651 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#1750#1500#0
    0901 17:06:50651 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#2000#1800#0
    0901 17:06:50668 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#2650#2200#0
    0901 17:06:50668 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#3000#2600#0
    0901 17:06:50668 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#4250#3200#0
    0901 17:06:50685 :: ACHIEVEMENTS SET_ACHIEVEMENT#6#18#5000#4000#0
    0901 17:06:50685 :: ACHIEVEMENTS SET_AP#5940
    0901 17:06:50685 :: ACHIEVEMENTS CLEAR_LAST_FINISHED#
    0901 17:06:50702 :: ACHIEVEMENTS SET_LAST_FINISHED#5,500,50,0
    0901 17:06:50702 :: ACHIEVEMENTS SET_LAST_FINISHED#1,5,10,0
    0901 17:06:50702 :: ACHIEVEMENTS SET_LAST_FINISHED#1,10,20,0
    0901 17:06:50717 :: ACHIEVEMENTS SET_LAST_FINISHED#5,2000,200,0
    0901 17:06:50717 :: ACHIEVEMENTS SET_LAST_FINISHED#1,20,40,0
    0901 17:06:50717 :: ACHIEVEMENTS SET_LAST_FINISHED#1,30,60,0
    0901 17:06:50734 :: ACHIEVEMENTS SET_LAST_FINISHED#1,110,80,0
    0901 17:06:50734 :: ACHIEVEMENTS SET_LAST_FINISHED#6,2,300,0
    0901 17:06:50734 :: ACHIEVEMENTS SET_LAST_FINISHED#6,5,600,0
    0901 17:06:50750 :: ACHIEVEMENTS SET_LAST_FINISHED#6,8,900,0
    0901 17:06:50750 :: ACHIEVEMENTS SET_LAST_FINISHED#6,10,1200,0
    0901 17:06:50750 :: ACHIEVEMENTS REFRESH_LAST_FINISHED#
    0901 17:06:50768 :: ACHIEVEMENTS SET_ACHIEVEMENTSHOP_CATEGORY#1
    0901 17:06:50768 :: ACHIEVEMENTS SET_ACHIEVEMENTSHOP_CATEGORY#2
    0901 17:06:50768 :: ACHIEVEMENTS SET_ACHIEVEMENTSHOP_CATEGORY#3
    0901 17:06:50783 :: ACHIEVEMENTS SET_ACHIEVEMENTSHOP_CATEGORY#4
    0901 17:06:50783 :: ACHIEVEMENTS SET_ACHIEVEMENTSHOP_CATEGORY#5
    0901 17:06:50783 :: ACHIEVEMENTS SET_ACHIEVEMENTSHOP_ITEM#1#1#19#2

    Thanks !

  6. I get this in syserr...the categories appear but the items doesn't appear.....can anyone help me? thank you!
    This is where i've installed the system:
     
    0713 23:28:29524 ::   File "generateInterface.py", line 1486, in CallEvent
     
    0713 23:28:29525 ::   File "generateInterface.py", line 3868, in ClickButton
     
    0713 23:28:29525 ::   File "uiItemShop.py", line 102, in SelectCategory
     
    0713 23:28:29525 ::   File "generateInterface.py", line 4208, in InsertItem
     
    0713 23:28:29525 ::   File "generateInterface.py", line 4083, in SetItem
     
    0713 23:28:29525 ::   File "uiToolTip.py", line 1138, in AddItemData
     
    0713 23:28:29526 ::   File "uiToolTip.py", line 1542, in __AdjustMaxWidth
     
    0713 23:28:29526 ::   File "uiToolTip.py", line 1554, in __AdjustAttrMaxWidth
     
    0713 23:28:29526 :: IndexError
    0713 23:28:29526 :: : 
    0713 23:28:29526 :: list index out of range
    0713 23:28:29526 ::
  7. I search a DEV, which can help me with some little bugfixes like,

    - counter tradeduell not work...

    - edit max yang from offline shop and tradeduell

    - profilsystem buttons at top not work more

    - look why Petsystem not more work

    And some other things, the best is to contact me via

     

    3d20c65fd6.jpg

     

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