Beiträge von strangerino

    Would like to ask you one more thing, I'm trying to use utf-8 in the server source, but I only see "?" instead of our special symbols.
    I edit the file in Notepad++ (Encoding: UTF8 without BOM, WE > ISO 8859-1, ANSI). None of those worked correctly.


    Also, is it possible to change the color of the chat message / assign the chat output to client's locale (Displaying a predefined message from Client. Ex: Server requests variable CHAT_MINING_SPECIAL and client responds with CHAT_MINING_SPECIAL Blablabla)?

    Lua only.
    I'm editing the mining.quest file.


    Would like to call math.random only if the item is dropped, but I'm worried it will affect my game.drop_item_with_ownership, because it drops an item too and I don't want it to be called twice.


    This is my expectation:
    Player starts to mine an ore and every time he gets a drop the script will use an event to call a function generating a random number.
    If the random number equals to 156, the player will receive a message and a specified item.

    I don't know if anybody of you already faced this problem, but I will just give it a try.
    I'm trying to edit NPC names which are serversided, so changing NPC names in client's mob_proto won't affect them, which means you need to edit them in the database, but as I'm not from an english speaking country, I need to use our special letters.
    But the problem is that even if I set the database encoding to Ascii/utf8/cp1250/latin2/latin1 I can't see the ingame diacritics properly. I can only see long a (á).
    The only difference was made by latin1 and ascii which didn't even display the long a symbol.


    I have also been searching through the serverfiles and noticed there's a folder named "Datenbank" containing "conf.txt" and there is a line "LOCALE latin1" which I tried to edit to latin2, utf8, ansi, cp1250, but none of them worked and had any effect on my NPC names.


    My client DOES display our special letters properly, because I can see them in the chat and in the rest of client's mob_proto. Everything works just fine, it's just that there is a problem somewhere between the database and the server.


    What would you recommend me to figure this out?

    Well, so I found this on the internet and added it to the server.



    I created a folder in quest called "Actions" and then reloaded the quests, using Fliege's control panel (sh index.sh > 4 (Reload quests))
    Still can't mine any ore.

    Hello,
    I would like to ask you/tell you about my problem that I'm currently facing and cannout figure out whats wrong.


    The thing is that if I take a pickaxe and click an ore, I'm unable to mine it. My character moves to the ore, but doesn't mine.
    What should I take a look at as first? I tried to check mob_proto in the server database, but there is a huge load of paramaters and I honestly have no idea which one is the one affecting mining.


    Thanks in advance!

    I have no idea what was so different comparing to the tutorial I found, but surprisingly this works very well and my friends are now able to connect the server with no problems.
    Thank you so much! You actually helped me a lot, because I was messing with this since yesterday's morning, so it was a really long time, I can finally have a good sleep now, lmao.

    So, I've looked up the loopback adapter method you told me about and on an unnamed forum I found, that I need to create the loopback adapter and set IPv4 to my external IP with ending .1 and also use it as a gateway in sysinstall.


    Sysinstall:
    IPv4 Gateway: 86.63.xxx.1
    IPv4: 86.63.xxx.222
    Mask: 255.255.255.0


    Loopback Adapter:
    IPv4: 86.63.xxx.1
    Mask: 255.255.255.0


    I did these steps, set Loopback Adapter as the default connection for VirtualBox, but it didn't work.
    I tried to turn on the ports in portmaps, but every time I tried to check a specific port or connect to it, the portmaps application died.



    Let me explain you my situation.
    I have a router running on a public (static) IP 86.63.xxx.222 with a gateway 86.63.xxx.221 and mask 255.255.255.252.
    There are three devices behind the router:
    -> .100 (Computer)
    -> .101 (Computer I'm trying to run the FreeBSD VirtualBox server on)
    -> .101 (Switch leading into more devices)


    So theoretically... How am I able to use the external IP for the Loopback Adapter while it's being used by the router? As far as I know, I can never use one IP for multiple devices, because one of the devices would not work.


    So what steps should I take to make it work as it should?
    What should I set to the loopback adapter and what should I set to sysinstall, now that you know the situation I'm in and that you know my network configuration (scheme).

    I downloaded this serverfiles, configured everything, changed serverinfo.py to my IP, but I'm facing a little problem.


    Everything is set up on a public IP using DMZ, so all ports are open.
    But the problem is that if I join the server, everything works just fine, but when I tell my friend to join the server, he logins, chooses a character, but after he chooses a character, the game wont even get into loading "into the game" and it automatically logs him out.


    I even tried more clients, but still the same problem...


    Just a note:
    I edited serverinfo.py to my public IP 86.63.xxx.xxx and all ports are running.
    Even tried to disconnect my second computer from my network and connect it to t-mobile using my phone, I noticed that I'm unable to connect too... I'm only able to connect the server, when I'm connected to my network, where the server is running, otherwise I only log in and the game kicks/logs me out after I choose a character.


    What should I do? How do I fix this problem?
    Is it a client's fault or serverfiles fault?


    Note 2:
    Asked a friend of mine to access the ftp/mysql, he can access it with no problems, so I honestly have no idea where to take a look and what to focus on, to figure this all out.
    Sysser.txt is empty in both clients I tried out.

    Hello,
    I'm trying to create a metin2 server on a public IP, but I'm failing at portmaps configuration. I'm using my internal IP 192.168.0.102 as a portmap IP and then I forward it in router to my public IP, but whenever I start all the ports in the app portmap.exe, open the ports in router and check it from any website to check ports, then the portmap.exe file crashes, so the port gets closed... I tried a lot of portmaps, but every portmap I tried was doing the same thing...


    What can be wrong?

    Hello,
    I bought a VPS from OVH, but they don't offer FreeBSD as an optional OS, so I contacted them to get more info and I've been told to use KVM to install FreeBSD. That I need to change the boot settings and boot the OS from an iso file, but they didn't specify how to get into BIOS.
    I tried something on my own, but didn't succeed. Tried pressing F1 - F12, inc. Escape, but none of those worked, so I failed.


    Do you have any idea how to get into the BIOS and boot the FreeBSD iso file?