Jump to content

Coutter

Inactive Member
  • Posts

    29
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Coutter

  1. Hi guys, i need a letter quest with multi options,

    how can i do it out of this quest: 

    quest daily begin
        state start begin
            when login begin
                if get_global_time() > pc.getqf(tempo) then
                    set_state(info)
                end
            end
        end
     
        state info begin -- info about the mission
            when letter begin
                send_letter("")
            end -- letter sent
             
            when button or info begin
                say_title("")
                say("")
                say("")
                say("")
                say("")
                say("")
            end -- when closed
        end -- INFO closed
    end -- closed QUEST

     

  2. 16 hours ago, ⚡FlasH⚡ said:

    You can use :

    Install them first: 

    • pkg install tcptrack -  Here u will see all connections 

    Usage:  tcptrack -i re0 (your network , ifconfig to see your name)

    unknown.png

    • pkg install nload - Bandwidth monitor.

    Thats an old school commands.

     

    Here u have new one with all tools u need to monitor ur server.

    • pkg install bpytop 

    Usage: bpytop in console.

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

    Appreciate that! Very helpfull

  3. 10 hours ago, Sonitex said:

    There is no quest state trigger unless you make one by yourself. Instead you can go to questmanager.cpp and take a look at this function:

    
    void CQuestManager::SetEventFlag(const string& name, int value)

     

    Right, could you please be a little bit more specific in this case?

    6 hours ago, Cappuccino said:

     

    You can use the lua function notice_all

     

    
    notice_all("message")

     

     

     

     

    I know how to use notice_all but when it comes to event_flag i cant make it work out...  

  4. Hi, here is my question: How set a notice when a game flag is changed?

    E.g: 

     

    quest test1 begin
        state start begin
            when 8027.kill with game.get_event_flag("event_test1_drop") == 1

     

    when that "event_test1_drop" == 1 some notice pop up on global chat, like: "Event Test1 is now enabled..." 

     

  5. I compiled my client source without any error on visual studio, but when i try to use the new metin2client.exe/binary i get these error:

     

    Error: https://metin2.download/picture/L3MSm22kJDVH5cc1c4KmVVX61zah0Q38/.png

    And this prompt ways opens when a run the client using the new .exe compiled: https://metin2.download/picture/DolsG1i76SSbv9200hi2q1EH7NB76e6C/.png

  6. Hey, i have a problem with my green switch/add bonuses item. 

    It was supposed to work on (weapon and armour 40-) But mine is working on every single item.

    How can i solve that? 

    Thats my char item.ccp https://filebin.net/pkrdxg47bi8zipuw/char_item.cpp?t=m80jb8lh

     

    if (item2->GetLimitType(i) == LIMIT_LEVEL && item2->GetLimitValue(i) > 40)

    {

    bCanUse = false;

    break;

    }

    This condition is working on my code i guess and still i items 71152 and 71151 working on every item

  7. 3 hours ago, iMerv3 said:
      Hide contents

    pkg-static bootstrap -f

     


    root@:~ # pkg-static bootstrap -f
    pkg(8) is already installed. Forcing reinstallation through pkg(7).
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now? [y/N]: y
    Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly, please wait...
    pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly/Latest/pkg.txz: Not Found
    A pre-built version of pkg could not be found for your system.
    Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
    root@:~ #
     

    • Love 1
  8. I got the error below when trying to run:  # pkg update && pkg upgrade -y 

    Could someone give me some light? I stucked at this a while... 

    root@:~ # pkg update && pkg upgrade -y
    Updating FreeBSD repository catalogue...
    pkg: Repository FreeBSD load error: access repo file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
    pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly/meta.txz: Not Found
    repository FreeBSD has no meta file, using default settings
    pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly/packagesite.txz: Not Found
    Unable to update repository FreeBSD
    Error updating repositories!
    root@:~ #

     

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