Jump to content

tierrilopes

Premium
  • Posts

    666
  • Joined

  • Days Won

    31
  • Feedback

    0%

Posts posted by tierrilopes

  1. char_item.cpp

    Inside:

    void CHARACTER::ReceiveItem (LPCHARACTER from, LPITEM item)

     

    Look for:

    	case DEVILTOWER_BLACKSMITH_WEAPON_MOB:
            case DEVILTOWER_BLACKSMITH_ARMOR_MOB:
            case DEVILTOWER_BLACKSMITH_ACCESSORY_MOB:
                if (item->GetRefinedVnum() != 0 && item->GetRefineSet() != 0 && item->GetRefineSet() < 500) {
                    from->SetRefineNPC (this);
                    from->RefineInformation (item->GetCell(), REFINE_TYPE_MONEY_ONLY);
                }
                else {
                    from->ChatPacket (CHAT_TYPE_INFO, LC_TEXT ("ÀÌ ¾ÆÀÌÅÛÀº °³·®ÇÒ ¼ö ¾ø½À´Ï´Ù."));
                }
                break;

     

     

    change REFINE_TYPE_MONEY_ONLY  into REFINE_TYPE_MUSIN 

    I dont remember if it was musin, i cant test it now. Check item_lenght.h for all types or:

        REFINE_TYPE_NORMAL
        REFINE_TYPE_SCROLL
        REFINE_TYPE_HYUNIRON
        REFINE_TYPE_MONEY_ONLY
        REFINE_TYPE_MUSIN
        REFINE_TYPE_BDRAGON

    • Love 2
  2. 3 minutes ago, FlorinMarian said:

    so:

    - pc.get_map_index need to be exactly map_index (110 and 111 in my case)

    eg: pc.get_map_index == 110 or pc.get_map_index == 111

    - between pc.get_map_index() need to be "or" not "and" beccause if you say "and" will never happen. A player cannot be in two maps same time.

    Happ new year !

    If you know, why you come here to ask then? Just do it.

  3. « Out of range value »

    part_main` smallint(6) NOT NULL DEFAULT '0',

    __

    smallint max value: 32.767

    the query part_main value: 679.845.925

    __

    part_main max length structure: 6

    the query part_main max length structure: 9

     

     

    Fix:

    On structure, change max length to 20 for example.

    Change type to bigint.

    • Love 2
  4. 23 minutes ago, DeYaN. said:

    Ok, i do :

    • Stop the metin server
    • Repair all the tables to make sure they are functional.
    • Create a .sql dump to all databases belonging to metin.
    • Stop the MySQL server. ( service mysql-server stop)
    • Delete the folder / var / db / mysql
    • Now start again mysql server
    • Now configure your mysql server again (The user " root " )
    
    GRANT ALL PRIVILEGES ON *.* TO root@"%"
    IDENTIFIED BY 'password' WITH GRANT OPTION;
    FLUSH PRIVILEGES;
    • Now install metin tables from .sql dump
    • Run command:
    • 
      // Mysql 5.6
      mysql_upgrade
      // mysql 5.7
      mysql_upgrade -u root -p

    Now i`m waiting ... But i`m still ussing the mariadb.

    #####

     

    First time, i wanted to move on mysqlserver57 (the mysqlserver55 i see that is vunerable) but when i do the command "portsnap fetch extract" , after 20 seconds beggin of update , the putty and server don`t respond. I login to the VNC console to see what are happens and :

      Reveal hidden contents

    i194_cimgpsh_orig.png

    So .. f`ck myself what`s wrong with this vds !

    Just do this:

    pkg install -y mysql57-server

  5. 23 minutes ago, Night said:

    well metin2 does not even run correctly under mysql > 5.5 so you should stick with the older version OR fix it so that it work properly with it.

    and going back to what @127.0.0.1 said , the mysql folder should never be overwritten , (which almost all those noob devs do).

    so to come up to what you did, you just uploaded a mysql.tar.gz and unpacked it with a smile :). causing the mysql to fuck up at some point.

    what you should do?

    try running mysql on safe mode.

    what if my db does not work even with this mode?

    (if you have a running server)

    take a backup of it, then reinstall the same version to get a backup of data. the reinstall it with a lower version (eh there should be some other way).

    then install your db with this data.

    (if not)

    reinstall a lower version nvm your data mate.

    note :

    make sure that the mysql folder is not there. (in your backup)

     

    Just to say that metin2 works fine on higher versions, even mariadb forks.

    People should leave old versions and their bugs behind.

  6. Nvm Sema, you didnt understood.

    Renco, on UserInterface.cpp, inside:

    bool RunMainScript (CPythonLauncher &pyLauncher, const char *lpCmdLine)

    Add this at the ending (remove what you added previously)

    std::string stRegisterDebugFlag;
    #ifdef NDEBUG
    	stRegisterDebugFlag = "__DEBUG__ = 0";
    #else
    	stRegisterDebugFlag = "__DEBUG__ = 1";
    #endif

     

    Example (dont copy paste below code):

    bool RunMainScript (CPythonLauncher &pyLauncher, const char *lpCmdLine)
    {
    	initpack();
    	initdbg();
    	initime();
    	initgrp();
    	initgrpImage();
    	initgrpText();
    	initwndMgr();
    	initapp();
    	initsystemSetting();
    	initchr();
    	initchrmgr();
    	initPlayer();
    	initRandomKey();
    	initProtections();
    	initObfuscation();
    	initTMTAntiCheat();
    	initItem();
    	initNonPlayer();
    	initTrade();
    	initChat();
    	initTextTail();
    	initnet();
    	initMiniMap();
    	initProfiler();
    	initEvent();
    	initeffect();
    	initfly();
    	initsnd();
    	initeventmgr();
    	initshop();
    	initskill();
    	initquest();
    	initBackground();
    	initMessenger();
    	initsafebox();
    	initguild();
    	initServerStateChecker();
    	std::string stRegisterDebugFlag;
    #ifdef NDEBUG
    	stRegisterDebugFlag = "__DEBUG__ = 0";
    #else
    	stRegisterDebugFlag = "__DEBUG__ = 1";
    #endif
    	if (!pyLauncher.RunLine (stRegisterDebugFlag.c_str())) {
    		TraceError ("RegisterDebugFlag Error");
    		return false;
    	}
    	if (!pyLauncher.RunFile ("system.py")) {
    		TraceError ("RunMain Error");
    		return false;
    	}
    	return true;
    }

     

  7. I read everything actually.

    __

    Reliability because you dont own any server yourself. As far as a costumers know, you may dont even have anything.

    This point was to say that you have no word in the market yet.

    I didnt confused anything, its the image you sent to your possible clients, with a questionable domain

    Yes you can get a .com/.net for free, even another reason why you shouldnt use a domain thats gives you a bad image.

    About anti-ddos, maybe you should read again what i actually wrote, no?

    The whole point of the post was not to attack you on your services but for you to clarify why you considered no cons on your vps metin2 services.

    ___

    Next time when answering, i recommend you to answer wisely and in a proper manner.

    I have not insulted you so keep some respect when you write as i did. If you dont know how to, then thats another issue.

     

    About the text in red:

    Your not a moderator.

    That wasn't off-topic.

    Im not criticizing you or your services but wanting to clarify some aspects on your list.

     

     

    Tl;dr:

    My question was to get this answer from you, an simple explanation on why to get your services, wich you didnt gave on the beginning:

    « As other providers, the differences is the support, extra services, installations and configurations of machines. Other providers are based on OVH, because they have big, quality and economical machines, but low support, no optimized and customized installation and no small machines. »

     

    Yet you started by attacking without me doing so.

     

     

  8. So, this seems to be created in order to promote your own service.

    About the tables, theres no cons in your "VPS Metin2" part.

    Heres some:

    • No reliability
    • Security is questionable. Even private server nowadays have a ssl certificate, even if free, as it provides confidence to costumers.
    • .Ga free domain. Again, appears more like a scam then a legitimate service. Get a .com/.net at least.
    • Higher costs then a Kimsufi.

     

    You refer this at SoYouStart Game:

    « Products too large for Metin2. Discrete Anti-DDoS. »

    Well, they use the same « Anti-DDoS Pro OVH. Firewall OVH. » as you use in your "services". Yet, because you're no the one selling them they get downgraded into "discrete". Seems legit.

    What you do is get some a ovh branded machine (or aws/azure. But seems like ovh resell.) and rent it for a higher price then the person would normally pay.

     

    After this, why would people get your services at all?

     

     

  9. 1 minute ago, Summex said:

    Thanks, I got that working. Still the problem remains that the Network Configuration isn't quite right. I think the ip adress dhcp automatically sets is wrong, is that a possibility and could that be the cause of the problems ? I assume it has something to do with the default router / gateway that is set in the options. when i use a website that tells me my ip is that of any use ? cause ifconfig gives me the "wrong" ip adress that is set in the default router in networking configuration.

    If you want it only for yourself, you dont need to touch your router.

    PM me with your teamviewer.

    • Love 1
  10. 5 minutes ago, Summex said:

    No I want to be the only one able to connect to the server

    How can I save the changes I make to the sshd_config via ee /etc/ssh/sshd_config ? dumb question i know but i cant find the option / command prompt / whatever to save and exit. Are there any other places that I have to enable port 22 ? And the ip adress dhcp is giving me is different compared to a 192.168.xx.xx one.

     

    use ee.

     

    Do this:

    ee /etc/ssh/sshd_config

    Look for:

    #PermitRootLogin no

    Change into:

    PermitRootLogin yes

     

    Look for:

    #Port 22

    Change into:

    Port 22

     

    To save and exit editor, press:

    ESC-->Enter-->Enter

     

    Then restart sshd with:

    service sshd restart

    • Love 1
  11. 1 hour ago, Summex said:

    I changed the adapter to nat, activated dhcp. When I run dhclient em0 it tells me the service is already running. When i enable dhcp it automatically sets an ip and the netmask, when i change any of the values it disables it again. Using the automatically set ip by dhcp wont allow me to connect to the server via filezilla. Any ideas ?

    It allows you do to so, im using it.

    Make sure you edited sshd config to permit root login and enabling port 22.

    Like i said, vmware will allow you to have dhcp on without changing ip on every session. It wont happen because the ip assigned it out of reach for the other pcs on your home (if you have for example 192.168.1.2 >> 192.168.1.25   it will assign you in the 192.168.200.x fr example).

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