Jump to content

ByLost

Inactive Member
  • Posts

    110
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ByLost

  1. On 7/12/2020 at 2:57 AM, TMP4 said:
    
    20031

    This is santa as i remember, and it is intended to disappear.

    (Originally it appears and disappers in Sohan but Gameforge never used this event)

     

    Open xmas_event.h from game source and look for this:

    
    MOB_SANTA_VNUM = 20031, //Ȑ٠
    

    And edit the vnum to something else what you don't use.

    You can remove the whole santa system if you like to.

     

    You are very perceptive.

    Thank you very much.

  2. Version of Files 40k

    Hello Devs :D
    I'm doing an event where I need to invoke the npc.

     


    Example: 

    regen_in_map(41, "data/events/fimdeano/npc3.txt")
    regen_in_map(21, "data/events/fimdeano/npc2.txt")
    regen_in_map(1, "data/events/fimdeano/npc1.txt")

    Invokes npc normally
    The problem is that the npc disappears after a few seconds.

    My regen

    npc1.txt

    m    682    596    0    0    0    6    5184000s    100    1    20031


    Thanks :D

     

  3. Hi Devs 

    I have a problem in my shop offline and would like to solve.

    spacer.png

     

    I also need help with the DC that's going on.

    I would also like to add two new coins in the shopoffline, if anyone can pass me a tutorial, I'm very grateful.

     

    Thanks
    By Lost 

  4. Version of Files 40k

    Hi Devs

    I finally managed to do the debugging in the game.core.. "Don't ask me how".
    I received this information while doing the bt.

    BT
    
    
    #0  0x28b15b5f in thr_kill () from /usr/lib32/libc.so.7
    [Current thread is 1 (LWP 101205)]
    (gdb) bt
    #0  0x28b15b5f in thr_kill () from /usr/lib32/libc.so.7
    #1  0x28b15b3b in raise () from /usr/lib32/libc.so.7
    #2  0x28b15a9f in abort () from /usr/lib32/libc.so.7
    #3  0x081bf58d in std::_Rb_tree_iterator<std::pair<unsigned int const, SECTREE*> >::operator++ (this=<synthetic pointer>)
        at /usr/local/lib/gcc49/include/c++/bits/stl_tree.h:203
    #4  SECTREE_MAP::DumpAllToSysErr (this=0x2aa68a80) at sectree_manager.h:94
    #5  SECTREE_MANAGER::LoadAttribute (this=0xffffab1c, pkMapSectree=0x2aa68a80,
        c_pszFileName=0xffff98db "locale/germany/map/mon_cave/server_attr", r_setting=...) at sectree_manager.cpp:436
    #6  0x081c376e in SECTREE_MANAGER::Build (this=0x0,
        c_pszListFileName=0x29d601b2 "\001;X\b\200\321\360\b\001;X\b\020",
        c_pszMapBasePath=0x29d602a6 "\003") at sectree_manager.cpp:738
    #7  0x00000000 in ?? ()


    Thanks ^^

  5. 11 hours ago, HITRON said:

    Use Crons


    I'm already using cron on cpanel.
     

    wget -q -O - "https://www.myurl/file.php" > /dev/null 2>&1	

    Silence cron ^^

    #closerequest

    11 hours ago, Vanilla said:

    If you wanna run a query each Saturday at a specific time I'd highly suggest you're using an Event Scheduler depending on what Query you wanna run.

    https://dev.mysql.com/doc/refman/5.7/en/event-scheduler.html

     

    This allows you to time reoccuring queries and manage them directly via mysql instead of running php.


    I did so to manipulate the data with PHP pulling the data from the database.
    Thanks

  6. 10 minutes ago, Vanilla said:

    I highly recommend switching to utf-8 for client encoding.

    Either way the problem you encounter here is mismatching encoding. The client expects a different encoding and therefore cannot display the character properly.

    There are also bulk tools that allow you to change the encoding of multiple files. For UTF8 there's for example UTFCast Express which is free.

     

    I will try UTF8 without visual code for C ++. Thank you. ps: you are very well known in Brazil ^^

    • Love 1
  7. 11 hours ago, .plechito' said:

    Example. If your coordinates are 210000 x 2260000, you will have the problem you mentioned. If you divide these numbers by 256, you have ( 82,03 x 88,28 ) which is wrong.
    So you need to edit those coordinates so you can divide them by 256.

    So, if you edit them like this -> 2099200 x 2252800, now you can divide them (82 x 88).

    If you divide the coordinates number by 256 and you wont get integer, it's wrong.


    I understood very well and it was very clear.
    https://www.calculateme.com/math/factor-calculator/256

    A doubt say I have an x y coordinate how is this defined? Can I change the number to another number until 256 without any problem?

    • Metin2 Dev 1
  8. Version of Files 40k

    Hi devs :D

    I already had this problem and I got it again. Some parts of the map are not possible to "summon" mobs etc ... are invisible. If I walk a little further, it is possible to invoke the mob. The same happens for regen.txt some parts of the map the monsters do not appear, only in certain coordinates.

    Thanks.

     

  9. I remembered the solution.
     

    For some reason this error is related to Windows.
    I've had this error many years ago and haven't been working with map.

    Just restart the computer that returns to normal.
    I don't know why this happens. 
    More if someone has a similar problem just restart the PC.

    Hi @Ace
    You're very considerate.

    Hi @WeedHex
    You're a good person, always helping.

    Hi @martysama0134
    for your knowledge

    Thanks all.

    • Good 1
    • Love 1
  10. 2 minutes ago, Ace said:

    Does that also happen when you see your character from above?

    if so, then no fear, that's because of the fly engine.

     


    That happens when I walk the map.
    When I enter the map this normal, when I change position it bug.
    the character does not move.

    Press movie
    https://metin2.download/picture/n45Xfg181WMKKK6SNLgCz8TOwE7X53XG/.gif

    10 minutes ago, Ace said:

    Does that also happen when you see your character from above?

    if so, then no fear, that's because of the fly engine.

     

    Hier will be the answer from Marty

      Hide contents

     

      Hide contents

     

      Hide contents

     

    HHswcab.jpg

     

     

     

     



    Ok ok Marty:

    WorldEditor_MfcRelease_vc100_v24

    Print:

    spacer.png

  11. 4 hours ago, juker said:

    # cd /usr/home/Lost/game/Channels/Canal1/Core_LosT_Cidades

    # gdb92
     

    #set gnutarget  x86_64-portbld-freebsd11.3
     

    #file game-ch1-Core_LosT_Cidades

    #core game.core

    you must have game.core to make gdb read it

     

     

    I do not have the game.core, how can I generate?

    update:
    I got to that part

    spacer.png

  12. Update gdb92 nice work :D

    Ok ok details of what occurs to me.

    1º path do channel 1

    spacer.png

     

     

    # cd /usr/home/Lost/game/Channels/Canal1/Core_LosT_Cidades

    # gdb92

    spacer.png

     

     

    gdb: file game-ch1-Core_LosT_Cidades

     

    spacer.png

     

     

    Not create game.core ?

     

    spacer.png

     

     

    Result:

     

    spacer.png

     

     

    bin:


    spacer.png

     

    thanks for your attention.

     

     

     

     

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