Jump to content

TMP4

Contributor
  • Posts

    1112
  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Posts posted by TMP4

  1. input_db.cpp search this:

            sys_err("InputDB::PlayerLoad : cannot find valid location %d x %d (name: %s)", pTab->x, pTab->y, pTab->name);
            d->SetPhase(PHASE_CLOSE);
            return;

     

    Change it to:

            sys_err("InputDB::PlayerLoad : cannot find valid location %d x %d (name: %s)", pTab->x, pTab->y, pTab->name);
            lMapIndex = EMPIRE_START_MAP(d->GetAccountTable().bEmpire);
            pos.x = EMPIRE_START_X(d->GetAccountTable().bEmpire);
            pos.y = EMPIRE_START_Y(d->GetAccountTable().bEmpire);
            // d->SetPhase(PHASE_CLOSE);
            // return;

     

  2. Bruh, you did not even tried to find it.

     

    Quote

             if get_time() < pc.getqf("next_time") then --Find this....
                    say_title("Change sex failed!")
                    say("You can only change your gender in 3 days period!")

     

    The other is pretty much same so i do not find it for you, everyone can find even with zero lua knowledge because of the texts.

    • Love 1
  3. Yes, if you walk to where there is no server_attr and you'll get kicked. (So walk around the very edge of the map)

    It will generate something i beleive "cannot find sectree/coordinates"

     

    But if the edges are all mountain so players can't go there, you'll only face by the slided attrs for pvp, water, block zones.

    (maybe the regen/npc/stone.txt spawns are also slided but i'm not sure)

    • Scream 1
    • Love 2
  4. Nice tutorial, it is good to sum up it for beginners :)

     

    Some things to mention:

     

    1)

    Quote

    Information. We generally use channel99 for dungeon maps but also when we want a map to be unique, regardless of the player's channel.


    Actually, dungeons are not good to be in ch99 at the most cases, because if the map where you want to teleport from, and the dungeon is not in the same core, it won't teleport. If you want to place a dungeon to ch99, you have to make a "lobby" level, like demon tower level 1. That level of demon tower is not a dungeon yet, it will be ported to dungeon after we destroy the metin there. Also the dungeon must be in same core with the map where you want to teleport to the dungeon. For example if you want to enter a dungeon from Map1 what is in ch1 core1, the dungeon should be in ch1 core1. If it's in core2/3/x, then it will not teleport, and you'll get a syserr like "cannot create dungeon".

     

    2)

    Quote

    In the case of my map, the BasePosition is: 2600000 2600000


    If the coordinates of the map can't be divided by 256, it will cause a lots of problem. (2600000/256=10156.25 so it will be bad)

    For example the server_attr will be slided, so the block, pvp, water areas will not 100% there where you placed, also if you go to the slide's opposite side you'll get kicked out because there is nothing there according to the server, because it is slided in the other way   

    (This is because the maps are stricted to areas, and 1 area's size is 256x256)

     

    Maybe it is hard to understand with just text so i gonna show it in a picture:

    Spoiler

     

    So your map should be in a grid with 100% matching edges:

    28461241wtfXC4umL.-SX342-.jpg

     

    But if it's not dividable by 256 (the grid size) it will "slide" sligthly:

    28404341wtfXC4umL.-SX342-1-.jpg

    If you check Ymir's maps, every default map can be divided by 256 to prevent this problem.

     

    This was not a criticism, please do not take it as that.

    • Love 10
  5. 1)

    Are you riding a mount or did you removed the movement speed cap when you're on foot?

    As i remember about ~180 movement speed the game caps it and you can't move faster on foot.

    If you're too fast (even with mounts, or even on foot with removed limit) this can happen.

     

    2)

    The map where you are, the coordinates can divided by 256?

    If not, it produces a lot of problem, maybe this too.

     

    Exampe: (Just a random number to show...)

    315136/256=1231 ~ Good

    315137/256=1231.0039 ~ Bad

     

    3)

    If it is not Ymir's map then dump a server_attr with WorldEditor Remix, maybe the creator used a default or not matching one.

     

    Disclaimer: I don't need money even if those solved your problem, i cannot accept it btw because of my country's strict laws.

    Once i sold a CS:GO skin for 90euro then i got a letter from the duty bureau 3weeks later that i should explain what was that ?

    • Love 1
  6. If just specified maps are affected (empirewar by default) then it's proably because of Ymir's castle system.

    (Was it ever used in any server btw? :D )

     

    At game/castle.h

    #define IS_CASTLE_MAP(map)		(181==(map)||182==(map)||(183)==(map))

    Change those mapindex to another, or change at your map/index + CONFIG, you decide.

     

     

    • Love 1
  7. M2 Download Center

    This is the hidden content, please
    ( Internal )

    Hello,

     

    This time i grab an old stuff again and bring back to life: Bangsan & Imji Valley. (Jinno's and Chunjo's orc maps)

    Originally every empire would have had their own orc map, but Bangsan (Jinno) and Imji (Chunjo) never finished nor used.

     

    Video:

     

    -Demon Tower (Hwang Temple) placed
    -Heaven Cave's entrance placed
    -Attrs and textures corrected
    -Added trees, rocks where it felt too empty
    -Atlas dumped
    -Full serveride made with complete regens
    -Etc

     

    Everything included, even quests with the new coordinates. You don't have to make anything :)

     

    Download1: 

    This is the hidden content, please

    Download2: 

    This is the hidden content, please

    Download3: https://data.hu/get/12491218/Bangsan__Imji_Valley_Finished_By_TMP4.zip

    • Metin2 Dev 30
    • kekw 1
    • Dislove 1
    • Not Good 2
    • Think 2
    • Scream 2
    • Good 5
    • Love 4
    • Love 44
×
×
  • 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.