Jump to content

nicu1993

Inactive Member
  • Posts

    33
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by nicu1993

  1.  

    Acum 13 ore, Galet a spus:

    Hello,

    It is not a problem, this is a basic metin2 function. Indeed you can't go further than 10% of the level exp.

    Level 1 needed exp : 300. A mob cannot give you more than 10% of this number so a mob can give you a laximum of 30 exp at level once.

    Level 2 : 800. 800 / 10 = 80. A mob can't give you more than 80 exp.

    If you wan't to fully unlock the exp potential, then remove this function on the sources, so that the player will be able to receive a much larger exp amount at level 1. :D

    And how I can remove this function?

  2. Hello,

    When I put rates on with command or quest priv_empire 0 4 200/300/400/etc 24 ,they appear ,but,if I kill a monster I will get exp fix from the mob_proto table,in my case 30 exp,even if rates are 1000%.But,if I made level 2,I will receive 60 or 80 exp/same monster,but not because of the rates, if you remove them, you will still receive 60 or 80 exp on level 2,but in level 1 30 exactly how is in mob_proto ...
     

    Anyone know this problem ... ?

  3. There is not just a quest..more quest have this problem,not just one.

     

    quest mesaj_bun_venit begin
        state start begin
            when login begin
                -- Text informations | Start
                local hostname = "SkyMetin2" -- Sets the servername 
                -- Text informations | End
                
                -- Equipment settings | Start
                local lvl = 1 -- Sets player level
                local hkp = 8000 -- Sets alignment count
                -- Equipment settings | End
                
                local name = pc.get_name()
                
                if pc.getqf("basic_weapon") == 0 then
    say_size(350, 100)
    addimage ( - 85 , - 90 , "001.tga" ) 
    say_red ( "[ENTER][ENTER]" )
    say_red ( "Bun venit, "..pc.get_name ()..".")
    say_red ( "Acesta este un server privat de Metin2," )
    say_red ( "PVM. Aici vă asteaptă o multime de")
    say_red ( "aventuri alături de alti jucători care preferă " )
    say_red ( "mai multă actiune in lumea metinului." )
    say_red ( "Împreună, cu ajutorul vostru, al jucătorilor, cât" )
    say_red ( "si al echipei vrem să construim o comunitate" )
    say_red ( "cât se poate de dezvoltată din toate punctele" )
    say_red ( "de vedere.")
    say_red ( "[ENTER][ENTER]" )
    addimage ( - 85 , - 90 , "001.tga" ) 
                    if pc.get_job() == 0 then -- Warrior
                        pc.give_item2("19")
                        pc.give_item2("11209")    
                        pc.give_item2("12209")
                        notice_all(name.." (Războinic) este nou pe "..hostname)
                    elseif pc.get_job() == 1 then -- Assassin
                        pc.give_item2("1009")
                        pc.give_item2("2009")
                        pc.give_item2("11409")
                        pc.give_item2("12349")
                        pc.give_item2("8000",200)
                        notice_all(name.." (Ninja) este nou pe "..hostname)
                    elseif pc.get_job() == 2 then -- Sura
                        pc.give_item2("19")
                        pc.give_item2("11609")
                        pc.give_item2("12489")
                        notice_all(name.." (Sura) este nou pe "..hostname)
                    elseif pc.get_job() == 3 then -- Mage
                        pc.give_item2("5009")
                        pc.give_item2("7009")
                        pc.give_item2("11809")
                        pc.give_item2("12629")
                        
                        notice_all(name.." (Saman) este nou pe "..hostname)
                    end
                    while pc.get_level() < lvl do
                        pc.give_exp2(pc.get_next_exp())
                    end
                    horse.advance()
                    horse.ride()
                    pc.give_item2("13009")
                    pc.give_item2("14009")
                    pc.give_item2("15009")
                    pc.give_item2("16009")
                    pc.give_item2("17009")
                    pc.give_item2("50051")
                    pc.give_item2("50187")
                    pc.changealignment(hkp)
                    pc.setqf("basic_weapon",1)
                else
                    chat("Bun venit "..name)
                end
            end
        end
    end

  4. On 28.11.2014 at 7:16 PM, Sanchez said:

     

     

    Hi everyone,

    Maybe just in my country, but it looks so many people started using this annoying PM flooder which cause a buffer overflow in the target client. It can be fixed easily on server-side, so let's do it:

    Add these functions as public to char.h:

    
        void ClearPMCounter(void)       { m_iPMCounter = 0;      } 
        void IncreasePMCounter(void)    { m_iPMCounter++;        }
        void SetLastPMPulse(void);
        int  GetPMCounter(void)   const { return m_iPMCounter;   }
        int  GetLastPMPulse(void) const { return m_iLastPMPulse; }
        

    Add these to char.h too, but as protected:

    
    int m_iLastPMPulse;
    int m_iPMCounter;
        

    Add this function to char.cpp:

    
    void CHARACTER::SetLastPMPulse(void)
    {
          m_iLastPMPulse = thecore_pulse() + 25;
    }

    Still in char.cpp search for the Initialize and add these to the function:

    
    m_iLastPMPulse = 0;
    m_iPMCounter = 0;

    Now navigate to the Whisper function in input_main.cpp and add this after the iExtraLen variable checking at the top:

    
    if (ch->GetLastPMPulse() < thecore_pulse())
         ch->ClearPMCounter();
         
    if (ch->GetPMCounter() > 3 && ch->GetLastPMPulse() > thecore_pulse())
    {
       ch->GetDesc()->SetPhase(PHASE_CLOSE);
       return -1;
    } 

    Search for this still in the Whisper function:

    
    if (pkChr == ch)
        return (iExtraLen);
        

    Add these after that:

    
    ch->IncreasePMCounter();
    ch->SetLastPMPulse();
        

     

    Can you put there files with thease functions allrdy implemented please... ?

    THNX !

  5. Hello community,

    after I install " Weapon Costume ",I found a new bug on my server about horses,if is anoter level like 1/2/3/11/21etc, if I teleport/warp in other maps,while I am riding my horse it's die,but I can recall it without problem.
    Have someont solver this problem ?

    VIDEO: [bbvideo=560,315]https://www.youtube.com/watch?v=nMg5bG62iPQ[/bbvideo]

    Sorry for my bad english..

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