Jump to content

gancy94

Inactive Member
  • Posts

    7
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by gancy94

  1. Thanks for answer. I have follewd this guideI have also followed what the others users have suggested in the comment. Then i have modify in dump_proto this:

    src/tools/DumpProto/dump_proto/dump_proto.cpp

    ITEM_SOCKET_MAX_NUM            = 3

    to

    ITEM_SOCKET_MAX_NUM            = 6

    Then i have compiled all, the socket are ok, but i don't see shining.

    1 hour ago, Cyber36 said:

    Without nowing anything, we can't help.

    Where do you changed what, exactly?

    Do you have a backup, that belongs to the time, before you implemented that things?

     

  2. Here is the python function, have fun ;)

     

    Spoiler

        def SendWhisper(self):

            text = self.chatLine.GetText()
            textLength = len(text)

            if textLength > 0:
                if net.IsInsultIn(text):
                    chat.AppendChat(chat.CHAT_TYPE_INFO, localeInfo.CHAT_INSULT_STRING)
                    return

                PcLevel = str(player.GetStatus(player.LEVEL))
                Time = time.strftime("%H:%M")
                net.SendWhisperPacket(self.targetName, text)
                self.chatLine.SetText("")

                chat.AppendWhisper(chat.WHISPER_TYPE_CHAT, self.targetName,"[" + Time + "] " + player.GetName() + " (" + PcLevel + ") : " + text)

     

  3. Hello community, i need help.

    Someone know how to do a questlua function for get gained exp when i kill a mob?

    I have tried so:

    Spoiler

         int npc_get_exp_rate(lua_State* L)
        {
            CQuestManager& q = CQuestManager::instance();
            LPCHARACTER npc = CQuestManager::instance().GetCurrentNPCCharacterPtr();
            
            lua_pushnumber(L, npc->GetMobExpRate());

            return 1;
        }

    But doesn't compile.

    Please i need this function. Help me

  4. Please help me, i have this error:

    Severity    Code    Description    Project    File    Line
    Error    C2872    'data': ambiguous symbol    EterLib    D:\Metin2\Sorgenti\client\source\EterLib\JpegFile.cpp    216
    Error    C2872    'size': ambiguous symbol    EterLib    D:\Metin2\Sorgenti\client\source\EterLib\JpegFile.cpp    217
    Error    C2039    'back_inserter': is not a member of 'std'    UserInterface    D:\Metin2\Sorgenti\client\source\UserInterface\MarkManager.cpp    396
    Error    C3861    'back_inserter': identifier not found    UserInterface    D:\Metin2\Sorgenti\client\source\UserInterface\MarkManager.cpp    396

    How can i solve it?

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