Jump to content

FileX

Premium
  • Posts

    76
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by FileX

  1. 2 hours ago, Amun said:

    I don't know if I'm late to the party or not, but 32GB ram is useless if you're just getting started. I would advise to do the math for about 5mb ram per player.. and even that is probably way more than needed.

    If you estimate 5-600 players online, just get one with 4 or 8 GB ram.

     

    Edit: Also, get your players first, don't worry about getting your server closed, that can be solved by getting another VPS or changing the company, which wouldn't take more than a couple hours anyway.

    Full answer. Thank you..the problem is that OVH does not offer dedicated servers with less RAM than those mentioned. It offers VPS, but it is not possible to install FreeBSD

  2. Okay, its good for host server GAME Plan by OVH? Or this i dont need?

    Specification:
    Plan: Rise-1
    CPU: Intel Xeon-E 2136 - 6c/12t - 3.3GHz/4.5GHz
    RAM: 32GB DDR4 ECC 2666MHz
    DISK: 2x SSD NVMe 512GB Enterprise Class Soft RAID
    NET: Unlimited traffic - 500Mbps bandwidth

    Its okay for MT2 server? How many players i can get on this server?

  3. 11 hours ago, Mattyfikrt said:

    Hi, how man? i have the same problem..

    Quote

     

    /usr/local/etc/rc.d/mysql-server stop

    mysqld_safe --skip-grant-tables

     

    mysql -u root

    use mysql;

     



    and AFTER

    service mysql-server restart

    you must change password if you using root for connect in CONFIG for Cores in ch1, ch2, ch99 etc. in (for example) .../srv1/chan

    Like:

    ygeUlqL.png
     

    If you want connect to root via Navicat (another IP) you must:

    mysql -u root -p

    enter pass

    GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '<there_wrote_your_pw>';

    • Metin2 Dev 1
  4. Hello,
    I was able to successfully run the server on FreeBSD 13 and I would like to know about hosting options with good AntiDDOS quality. I used to use OVH for my projects, but I heard that OVH has a problem hosting servers at this company because it is said to work with GmForge.

    What is the best solution for long-term server operation? I don't want my server deleted in a few months.

    Thank you

     

    • Good 1
  5. Hey,

    I work on multilang in quest. But i dont know, how i can escape in "quest lang".

    I have now:

    local s=select ( "Porneşte evenimentul", "Opreşte evenimentul", "Şansă aruncare", "Ieşire" )

    And i need add:

    translate [ pc . get_language ( ) ] . fotbal . _1button

    Intro one button etc.

    In PHP is escape like '.for_example.' ...but how i can escape in local by quest?

    OR can i doing like this:

     

    local s=select ( translate [ pc . get_language ( ) ] . fotbal . _1button, translate [ pc . get_language ( ) ] . fotbal . _2button, translate [ pc . get_language ( ) ] . fotbal . _3button, translate [ pc . get_language ( ) ] . fotbal . _4button )

    Thank 🙂

  6. Hi, I fixed the scale using the instructions. And it seems to be working. The problem, however, is that it is not possible to add other parts to certain "tetris" parts (the client seems to think that they do not belong there).

    I am willing to pay for the repair. I don't know how it works here, but please contact me on the discord.

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif/review/677702595/b9a55922e3

    Discord: SinFileX#7759

    • Metin2 Dev 1
  7. Hey,

    I haved problem with installing. 

    In fact, everything probably works correctly. I created files.json using a script and so on. The problem is, that:

    1. Do not run download percent
    2. Only a few files will be downloaded and then it will end.

    How can I edit it? I probably made a mistake, but I don't know which one.

    Now i have problem with stuck on 87%.. 😞

  8. 9 hours ago, WeedHex said:
    
    GameWindow.Open - <type 'exceptions.RuntimeError'>:skill.GetSkillType - Failed to find skill by 112
    
      Hide contents

     

     

    PyObject * skillGetSkillType(PyObject * poSelf, PyObject * poArgs)
    {
        int iSkillIndex;
        if (!PyTuple_GetInteger(poArgs, 0, &iSkillIndex))
            return Py_BadArgument();

        CPythonSkill::SSkillData * c_pSkillData;
        if (!CPythonSkill::Instance().GetSkillData(iSkillIndex, &c_pSkillData))
            return Py_BuildException("skill.GetSkillType - Failed to find skill by %d", iSkillIndex);

        return Py_BuildValue("i", c_pSkillData->byType);
    }
     

    BOOL CPythonSkill::GetSkillData(DWORD dwSkillIndex, TSkillData ** ppSkillData)
    {
        TSkillDataMap::iterator it = m_SkillDataMap.find(dwSkillIndex);

        if (m_SkillDataMap.end() == it)
            return FALSE;

        *ppSkillData = &(it->second);
        return TRUE;
    }

    YOU MUST DELETE ALL SKILL DATA STORED IN THE CHARACTER.
    YOU GIVEN A WRONG SKILL NUMBER TO THE CHAR, THE CLIENT CANNOT EXECUTE IT AND GOES IN EXCEPTION.

    112 I DON'T HAVE THIS SKILL IN MY SKILL_PROTO BUT 111 EXIST SO I CAN THINK THAT YOU MADE MISTAKES APPLYING 111...

    USE BRAIN GUYS.

    IF YOU DON'T REMOVE THE BAD SKILL NUM APPLICATION FROM CODES, YOU'LL GET ALWAYS THIS PROBLEM.

     


    Thank you for answer. My friend set on Shaman - /setsk 112 xxx and this bugget him account. I deleted him account and now all work fine. Thank you for help. I tried to imitate the mistake, but without success.

    • Love 2
  9. 9 hours ago, Syreldar said:
    
    SYSERR: Apr 11 01:13:09 :: SpawnMob: SpawnMob: no mob data for vnum 9004

    A map is trying to spawn non-existent monsters. Find the culprit regen and remove said monsters.

    Thank you, fixed

    -------------------------------------------

    @MrQuin ar u normal? I simply did the fix by the syserr. I don't understand your absurd contribution to this topic. And i have problem in my complier - i must manually create xml :P ..this errors is problem by XML file ;) ..heh. Do you think I'll write a story and then wait for someone to answer? I wouldn't ever see that. So I wrote a post and then tried to fix the error.

    @asdajdja tested, but dont work. I have maybe problem in source client. Tomorrow i must visite it.

     
  10. :D again me...

    Hey, my friend exping on map. 

    I'll pay $ 10 for the correct solution

    The game went out of nowhere. And the syserr wrote it to him. Now, if he tries to log in to the game, he will get this error.

     

    Spoiler
    
    0416 03:27:18325 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/warrior/effect/spark.mse) Error
    0416 03:27:18375 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/warrior/effect/spark_2.mse) Error
    0416 03:27:18386 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/warrior/effect/spark_3.mse) Error
    0416 03:27:18397 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/warrior/effect/spark_4.mse) Error
    0416 03:27:18397 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/warrior/effect/gihyeol_4.mse) Error
    0416 03:27:18402 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/warrior/effect/noegeomdorae_4.mse) Error
    0416 03:27:18402 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/warrior/effect/noegeomdorae_loop_4.mse) Error
    0416 03:27:19494 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/assassin/effect/seomgwang_hand_4.mse) Error
    0416 03:27:19495 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/season1/effect/pc/assassin/effect/seomgwang_blow_4.mse) Error
    0416 03:27:22346 :: 
    game.py(line:265) Open
    game.py(line:717) StartGame
    game.py(line:869) RefreshCharacter
    interfaceModule.py(line:725) RefreshCharacter
    uiCharacter.py(line:1150) RefreshCharacter
    uiCharacter.py(line:1195) __SetSkillSlotData
    uiCharacter.py(line:888) RefreshSkill
    uiCharacter.py(line:864) __RefreshSkillPage
    
    GameWindow.Open - <type 'exceptions.RuntimeError'>:skill.GetSkillType - Failed to find skill by 112
    
    0416 03:27:22346 :: ============================================================================================================
    0416 03:27:22346 :: Abort!!!!
    
    
    

     

    Mob_proto clear ; skildesc.txt clear, skilltable clear... RLY i dont know - what is it.

    • Good 1
  11. 6 minutes ago, WLsj24 said:

    Verification for sex is a good idea like this:

    if pc.get_sex() == 0 and pc.job == 1 then

    else if pc.get_sex()== 1 and pc.job== 1 then

    else if ........

    Can u give me example for "if pc-job == 0"?

    Like this:

    if pc.job == 0 and pc.get_sex() == 0 --This is for Warrior man?
    if pc.job == 0 and pc.get_sex() == 1 --This is for Warrior girl?

  12. 3 minutes ago, WeedHex said:

    Your code is made for Race. Job is an other thing.

    pc.get_race

    or you can check before the job and then the sex idk what you want to give and i don't understand comments

    You mean:

    pc.get_race == 0 -- Warrior man
    pc.get_race == 1 -- Ninja girl
    pc.get_race == 2 -- Sura man
    pc.get_race == 3 -- Shaman girl
    pc.get_race == 4 -- warrior girl
    pc.get_race == 5 -- Ninja man
    pc.get_race == 6 -- Sura girl
    pc.get_race == 7 -- Shaman man

    ?

    1 minute ago, WLsj24 said:

    What WeedHex said

    okay

  13. Again..me..

    Hey,

    I'm having trouble setting give_basic_weapon when a player logs in for the first time. I absolutely don't know where the problem is.

    Simply, it should work in such a way that, depending on the character, players assign things to it.

    It only works for: Warrior man, Ninja girl, Sura man, Shaman girl

    But it doesn't work: Warrior girl, ninja man, sura girl, shaman man....
     

    Spoiler
    
    quest give_basic_weapon begin
        state start begin	
    		when login begin
    			if pc.getqf("metin2")== 0 then	
    				pc.setqf( "metin2", 1)
    				
    				if pc.job == 0 then --Warrior muž // OK
    					pc.give_item2(27003,200 )
    					pc.give_item2(27003,200 )
    					pc.give_item2(27006,200 )
    					pc.give_item2(19)
    					pc.give_item2(3009)
    					pc.give_item2(11209)
    					pc.give_item2(41512)
    					pc.give_item2(45206)
    					pc.give_item2(71131)
    					pc.give_item2(35200)
    					pc.give_item2(35220)
    					pc.give_item2(12209)
    					pc.give_item2(13009)
    					pc.give_item2(14009)
    					pc.give_item2(15009)
    					pc.give_item2(16009)
    					pc.give_item2(17009)
    					pc.give_item2(72702)
    					horse.set_level(11)
    					pc.changegold(1000000)
    				
    				elseif pc.job == 1 then --Ninja žena // OK
    					pc.give_item2(27003,200 )
    					pc.give_item2(27003,200 )
    					pc.give_item2(27006,200 )
    					pc.give_item2(1009)
    					pc.give_item2(35240)
    					pc.give_item2(2009)
    					pc.give_item2(35250)
    					pc.give_item2(11409)
    					pc.give_item2(12349)
    					pc.give_item2(13009)
    					pc.give_item2(14009)
    					pc.give_item2(15009)
    					pc.give_item2(16009)
    					pc.give_item2(17009)
    					pc.give_item2(72702)
    					pc.give_item2(71131)
    					pc.give_item2(45206)
    					pc.give_item2(41514)
    					horse.set_level(11)
    					pc.changegold(1000000)
    				
    				elseif pc.job == 2 then --Sura muž // OK
    					pc.give_item2(27003,200 )
    					pc.give_item2(27003,200 )
    					pc.give_item2(27006,200 )
    					pc.give_item2(19) 
    					pc.give_item2(11609)
    					pc.give_item2(12489)
    					pc.give_item2(13009)
    					pc.give_item2(14009)
    					pc.give_item2(15009)
    					pc.give_item2(16009)
    					pc.give_item2(17009)
    					pc.give_item2(72702)
    					pc.give_item2(45206)
    					pc.give_item2(41512)
    					pc.give_item2(71131)
    					pc.give_item2(35210)
    					horse.set_level(11)
    					pc.changegold(1000000)
    				
    				elseif pc.job == 3 then --Šaman žena // OK
    					pc.give_item2(27003,200 ) 
    					pc.give_item2(27003,200 ) 
    					pc.give_item2(27006,200 ) 
    					pc.give_item2(7009)
    					pc.give_item2(5009)
    					pc.give_item2(11809)
    					pc.give_item2(12629)
    					pc.give_item2(13009)
    					pc.give_item2(14009)
    					pc.give_item2(15009)
    					pc.give_item2(16009)
    					pc.give_item2(17009)
    					pc.give_item2(72702)
    					pc.give_item2(45206)
    					pc.give_item2(41514)
    					pc.give_item2(71131)
    					pc.give_item2(35260)
    					pc.give_item2(35230)
    					horse.set_level(11)
    					pc.changegold(1000000)
    				
    				elseif pc.job == 4 then --Warrior žena // NOK
    					pc.give_item2(27003,200 )
    					pc.give_item2(27003,200 )
    					pc.give_item2(27006,200 )
    					pc.give_item2(19) 
    					pc.give_item2(3009)
    					pc.give_item2(11209)
    					pc.give_item2(41514)
    					pc.give_item2(45206)
    					pc.give_item2(71131)
    					pc.give_item2(35200)
    					pc.give_item2(35220)
    					pc.give_item2(12209)
    					pc.give_item2(13009) 
    					pc.give_item2(14009)
    					pc.give_item2(15009) 
    					pc.give_item2(16009) 
    					pc.give_item2(17009)
    					pc.give_item2(72702)
    					horse.set_level(11)
    					pc.changegold(1000000)
    				
    				elseif pc.job == 5 then --Ninja muž // NOK
    					pc.give_item2(27003,200 )
    					pc.give_item2(27003,200 )
    					pc.give_item2(27006,200 )
    					pc.give_item2(1009)
    					pc.give_item2(35240)
    					pc.give_item2(2009)
    					pc.give_item2(35250)
    					pc.give_item2(11409)
    					pc.give_item2(12349)
    					pc.give_item2(13009)
    					pc.give_item2(14009)
    					pc.give_item2(15009)
    					pc.give_item2(16009)
    					pc.give_item2(17009)
    					pc.give_item2(72702)
    					pc.give_item2(71131)
    					pc.give_item2(45206)
    					pc.give_item2(41512)
    					horse.set_level(11)
    					pc.changegold(1000000)
    				
    				elseif pc.job == 6 then --Sura žena // NOK
    					pc.give_item2(27003,200 )
    					pc.give_item2(27003,200 )
    					pc.give_item2(27006,200 )
    					pc.give_item2(19) 
    					pc.give_item2(11609)
    					pc.give_item2(12489)
    					pc.give_item2(13009)
    					pc.give_item2(14009)
    					pc.give_item2(15009)
    					pc.give_item2(16009)
    					pc.give_item2(17009)
    					pc.give_item2(72702)
    					pc.give_item2(45206)
    					pc.give_item2(41514)
    					pc.give_item2(71131)
    					pc.give_item2(35210)
    					horse.set_level(11)
    					pc.changegold(1000000)
    				
    				elseif pc.job == 7 then --Šaman muž //NOK
    					pc.give_item2(27003,200 )
    					pc.give_item2(27003,200 )
    					pc.give_item2(27006,200 )
    					pc.give_item2(7009)
    					pc.give_item2(5009)
    					pc.give_item2(11809)
    					pc.give_item2(12629)
    					pc.give_item2(13009)
    					pc.give_item2(14009)
    					pc.give_item2(15009)
    					pc.give_item2(16009)
    					pc.give_item2(17009)
    					pc.give_item2(72702)
    					pc.give_item2(45206)
    					pc.give_item2(41512)
    					pc.give_item2(71131)
    					pc.give_item2(35260)
    					pc.give_item2(35230)
    					horse.set_level(11)
    					pc.changegold(1000000)
    				end
    				
    				pc.set_skill_level (122,2)
    				pc.set_skill_level (128,59)
    				pc.set_skill_level (129,59)
    			end
    		end
        end
    end

     

     

    I went through the code several times, but I just found no mistake. I tried every elseif to replace if and end it, but it didn't help.

    I also tried to make all the characters divided into more quests and it didn't work either.

     

    I know I'm still annoying, but I don't really know where the mistake is.

     

    • Metin2 Dev 1
    • Good 3
    • Love 2
  14. Hey,

    I have on my server installed costume system. But i dont know how i can use wapons for this.

     

    35200	Magma Sword	[P] Magma me�	28	4	0	2	557360	0	0		200	0	0	0	0	0	7	259200	0	0	53	150	63	20	43	2	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0
    35210	Magma Sword	[P] Magma �epel	28	4	0	2	557356	0	0		200	0	0	0	0	0	7	259200	0	0	53	150	63	20	43	2	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0
    35220	Magma Two Handed	[P] Magma sekera	28	4	0	3	557368	0	0		200	0	0	0	0	0	7	259200	0	0	53	150	63	20	43	2	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0
    35230	Magma Fan	[P] Magma v�j��	28	8	0	1	557340	0	0		200	0	0	0	0	0	7	259200	0	0	53	150	63	20	43	2	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0
    35240	Magma Dagger	[P] Magma d�ky	28	1	0	1	557364	0	0		200	0	0	0	0	0	7	259200	0	0	53	150	63	20	43	2	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0
    35250	Magma Bow	[P] Magma luk	28	2	0	2	557364	0	0		200	0	0	0	0	0	7	259200	0	0	53	150	63	20	43	2	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0
    35260	Magma Bell	[P] Magma zvon	28	5	0	1	557340	0	0		200	0	0	0	0	0	7	259200	0	0	53	150	63	20	43	2	0	0	0	0	0	0	-1	-1	-1	-1	-1	-1	0	0	0

     

    35200,35210,35220 working. But other - 35230,35240,35250,35260 no.

    How do i find number for Two handed, fan, dagger, bow and bell - i mean SUBTYPE or WEARFLAG? Rly i dont know.

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