Jump to content

BigBoss

Inactive Member
  • Posts

    9
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by BigBoss

  1. Hi,

     

    I immediately get kicked after logging into my client. I have no errors client side and I found this in my database logs (serverside):

    SYSERR: Apr 12 23:19:46 :: Process: FDWATCH: peer null in event: ident 20
    SYSERR: Apr 14 22:02:12 :: DirectQuery: MySQL connection was reconnected. querying locale set
    SYSERR: Apr 14 22:02:12 :: Process: FDWATCH: peer null in event: ident 20
    SYSERR: Apr 14 22:02:23 :: DirectQuery: MySQL connection was reconnected. querying locale set

    Can anyone help me? Thanks :)

  2. 3 hours ago, WLsj24 said:

    You havent ENABLE_SEND_TARGET_INFO in PythonApplicationModule.cpp (UserInterface)

    Thanks for the reply. Could you maybe help me understand the error message so next time I can decipher it myself and fix my problems myself ? :D

    At first sight I knew the problem existed in python because the .py files are affected. Now for the first line 'system.py(line:273) RunMainScript'. Does that mean an error occured on line 273 affecting the RunMainScript function / method? And how did you figure out that a constant was missing in the pythonapplicationmodule?

    Thank you :)

  3. 2 hours ago, WLsj24 said:

    You havent ENABLE_SEND_TARGET_INFO in PythonApplicationModule.cpp (UserInterface)

     

     

    Thanks for the reply. Could you maybe help me understand the error message so next time I can decipher it myself and fix my problems myself ? :D

    At first sight I knew the problem existed in python because the .py files are affected. Now for the first line 'system.py(line:273) RunMainScript'. Does that mean an error occured on line 273 affecting the RunMainScript function / method? And how did you figure out that a constant was missing in the pythonapplicationmodule?

    Thank you :)

  4. Hi,

     

    I successfully compiled my Game and DB file from the server source (Using Fliege files, I haven't modified anything!).

    When I try to start the server (sh index.sh) I get the following error:

    Illegal instruction (core dumped) 

    So I changed the game and db makefiles by removing the '-march=-native' command from the cflag.

    Still didn't work and I get the error message from above. 

    So now I tried to debug the game.core file and I get the following message:

     #0  0x081c6216 in _GLOBAL__sub_I_item_manager_read_tables.cpp ()     at length.h:716

    I opened my item_manager_read_tables.cpp file and went to line 716 ? (I don't understand 'at length.h:716', I guess it means line 716?)

    And I have the following if statement:

    					if (iCount < 1)
    					{
    						M2_DELETE(pkLevelItemGroup);
    						return false;
    					}

    So does anyone have any idea what I am doing wrong / what I can do, to fix it ? :)

     

    Regards

  5. 54 minutes ago, [GF]Froslass said:

    To be honest some of those questions sounds kinda weird to me if you have already programmed before, if you want to know the purpose of server/game source you should just look at them in visual studio.. The difference between server source and the server which you upload on freebsd is that the second one use lua for the quest, so if you want to add a new system to your server, you are limited on what you can do, while with the source you have no limit on the changes you can do. Plus you will use the second one in order to add new quests, new map, new monster etc.

    Game source and normal client is kinda the same thing, with the source you will create the metin2client.exe file that will load files from the client (images, items, npcs, maps, monsters etc.)

    TLDR: Sources are used to modify what your client can do, client and server are used to add quests, items, maps and everything your client already can do. Anyway once you will try to modify them you will understand everything.

    Honestly, thank you so much for the reply. Since I wrote the question I've learnt a lot about the files and I've gained a little more knowledge about the scene. I've already compiled my game file form the source file etc. I have one question (I should probably make a new thread about it). I've successfully compiled the game file using the server source, do I also have to compile the database the same way ? (navigate to the db src folder and use the gmake command?) because the game file has been created but there isn't a database file.

     

    Edit: In addition, is there a way to make compiling faster? If I change one file do I have to compile the whole game / db files everytime ? Because the process takes a long time..

    Thanks

  6. Hi,

    I'm trying to understand the metin scene a little better and I want to create my own server for fun. I've programmed before in C#, Java,VB etc. but I want to grasp a better understanding of Python / C++. Therefore metin 2 is going to be like a learning project for me and I'll probably have some fun at the same time.

    Before I ramble on I have a couple of questions about the metin2 scene.

    1. What is the purpose of the server source?

    2. What is the purpose of the game source?

    3. What is the difference between the server source and the server which you upload on freebsd?

    4. What is the difference between the game source and the normal game client?

    That's all I'd like to know for now, thank you and have a nice day :)

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