Jump to content

sylwek219awp

Member
  • Posts

    47
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by sylwek219awp

  1. Hello everyone!

    About 3-4 years ago I bought martysama files. I quickly stopped working on them because I didn't have time. Currently, I wanted to go back, but unfortunately I don't remember the VB password. Of course, I have already written to Martysam about this, but if anyone knows the VB password, I will be grateful for the information.

    I will also need help in starting them because I have forgotten many things. I do not rule out requests for help in the future, for which I will of course pay.

    If you are interested, please contact me by providing me your DC.

    Regards

  2. Hello everyone!

    About 3-4 years ago I bought martysama files. I quickly stopped working on them because I didn't have time. Currently, I wanted to go back, but unfortunately I don't remember the VB password. Of course, I have already written to Martysam about this, but if anyone knows the VB password, I will be grateful for the information.

    I will also need help in starting them because I have forgotten many things. I do not rule out requests for help in the future, for which I will of course pay.

    If you are interested, please contact me by providing me your DC.

    Regards

  3. Hi guys !!

     

    Like u see on the screen i have problem with sash. 

    1. When i want add weapon or armor to the sash i cant see a bonus - LOOK RED COLOR 

    2. Like u see i have skin in the game but not in the slot - LOOK ORANGE COLOR

    3. When i take him out from the slot i can see him- LOOK BLUE COLOR

      in inventory i can see him normaly but not when i use him then slot looks like a empty but i see skin in the game! 

     

    I dont have idea how i can fix this if u know and u want help me with this pls contact me hier or beter skype:  live:sylwek.peczkowski

    I can pay u when u fix this for me !

     

    SYSSER FROM CLIENT:

    1201 03:19:47058 :: Traceback (most recent call last):

    1201 03:19:47058 ::   File "ui.py", line 1564, in OnOverInItem

    1201 03:19:47058 ::   File "ui.py", line 88, in __call__

    1201 03:19:47058 ::   File "ui.py", line 79, in __call__

    1201 03:19:47059 ::   File "uisash.py", line 285, in OnOverInItem

    1201 03:19:47059 ::   File "uiToolTip.py", line 2126, in SetSashResultAbsItem

    Spoiler

  4. 13 godzin temu, Shelby napisał:

    what compiler?

    try

      Odkryj ukrytą treść
    
    
     bool CItemShopManager::IsEditor(LPCHARACTER ch)
    {
        for (itertype(m_vec_pkEditors) it = m_vec_pkEditors.begin(); it!= m_vec_pkEditors.end(); ++it )
        {
            char* szEditorName = *(it);
    
            if (strcmp(ch->GetName(), szEditorName) == 0)
                return true;
    
        }
    
        return false;
    } 

     

     

    Huge +++++++ for this gentelman :)

  5. 31 minut temu, Shelby napisał:

    add the file.cpp in your makefile

    i think ` ItemShopManager`

    Ok bro ! true :)

     

    But after this on my bsd i have other problem

     

    itemshop_manager.cpp: In member function 'void CItemShopManager::BuyItem(CHARACTER*, DWORD, DWORD)':
    itemshop_manager.cpp:133: warning: comparison between signed and unsigned integer expressions
    itemshop_manager.cpp: In member function 'bool CItemShopManager::IsEditor(CHARACTER*)':
    itemshop_manager.cpp:279: error: ISO C++ forbids declaration of 'it' with no type
    itemshop_manager.cpp:279: error: cannot convert '__gnu_cxx::__normal_iterator<char**, std::vector<char*, std::allocator<char*> > >' to 'int' in initialization
    itemshop_manager.cpp:279: error: no match for 'operator!=' in 'it != ((CItemShopManager*)this)->CItemShopManager::m_vec_pkEditors.std::vector<_Tp, _Alloc>::end [with _Tp = char*, _Alloc = std::allocator<char*>]()'
    affect_flag.h:64: note: candidates are: bool operator!=(const TAffectFlag&, const TAffectFlag&)
    itemshop_manager.cpp:281: error: invalid type argument of 'unary *'
    gmake: *** [OBJDIR/itemshop_manager.o] Error 1

     

     

     

    And hier u have this function:

     

    void CItemShopManager::AddEditor(char* szName)
    {
        m_vec_pkEditors.push_back(szName);
    }

    bool CItemShopManager::IsEditor(LPCHARACTER ch)
    {
        for (auto it = m_vec_pkEditors.begin(); it!= m_vec_pkEditors.end(); ++it )
        {
            char* szEditorName = *(it);

            if (strcmp(ch->GetName(), szEditorName) == 0)
                return true;

        }

        return false;
    }

  6. Dnia 14.10.2018 o 23:02, cBaraN napisał:

    I and the other servers' author are having a strange problem which crashes the game file. I solved the problem in a few days. I won't tell you how to do it because most people will try to do it.

     

    The problem is starting with accessing invalid address in the memory. It might cause lag or something else. The game file can't access m_stCurQuest (because it's invalid). The problem only happens when the quest contains select at least I have that problem. I just added a string variable in QuestState called quest_name. If quest_name is not empty, the game file will use quest_name of QuestState instead of GetCurrentQuestName().

    Open "quest.h" file, search "int        st;" and under;
     

    
    std::string quest_name;

    Open "questlua.cpp" file, search "qs.suspend_state = SUSPEND_STATE_SELECT; and under;
     

    
    qs.quest_name = GetCurrentPC() ? GetCurrentPC()->GetCurrentQuestName() : "no_quest";

    Open "questlua_quest.cpp" file, search "QuestState* pQS = pPC->GetRunningQuestState();" and under;
     

    
    std::string stQuestName = pPC->GetCurrentQuestName();
    	if (pQS->quest_name.length() != 0)
    		stQuestName = pQS->quest_name;

     

    Ok thats nice! 

     

    But we need this if we dont know how to check it? 

     

    Tell us how to use this. 

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