Jump to content

Mitachi

VIP
  • Posts

    53
  • Joined

  • Last visited

1 Follower

About Mitachi

  • Birthday 11/26/2002

Informations

  • Gender
    Male

Social Networks

  • Discord
    Mitachi#9297
  • Skype
    https://join.skype.com/invite/miNx9DtMufaW

Recent Profile Visitors

695 profile views

Mitachi's Achievements

Contributor

Contributor (5/14)

  • Reacting Well Rare
  • Dedicated Rare
  • First Post
  • Collaborator
  • Conversation Starter

Recent Badges

18

Reputation

3

Community Answers

  1. They are used for various things, they are text files that usually contain "layer and layout" information, on metin2 we use them to take desired shapes from an image For example, in locale/ui/ u have "login.png and login.sub" or "logo.png and logo.sub" Thanks to the subfile it is possible to define the coordinates of each single pixel of an image. For example, in public.dds you have yang slot, cheque slot and much button File cheque_slot.sub: title subImage version 1.0 image "Public.dds" left 206 top 446 right 230 bottom 464 As you can see, this file crops the desired pixels from that image. Basically, if there were no .sub files everything should have its own image, a client consisting of 2kk of files is not nice (Also you should define the coordinates of anything in Python and we don't like useless code either) To create one you just need to have the photo from where you want to take the piece of image or the complete photo, and then through an editor such as GIMP or Photoshop take the measurements of the pixels
  2. "Those messages are a little bit sarcastic. Doesn't it?" I hope @Mali °-°
  3. By chance you played with the enumerator EWindows ? Search and diff in UserInterface/GameType.h and in common/lenght.h //example enum EWindows { RESERVED_WINDOW, INVENTORY, EQUIPMENT, SAFEBOX, MALL, DRAGON_SOUL_INVENTORY, BELT_INVENTORY, #ifdef __AUCTION__ AUCTION, #endif GROUND }; The order must be the same on both client and server sides But I honestly don't think you have changed that, if you give us more information we can help you, for example "it happened after I implemented this system" it's like going to a restaurant and not saying what you want to order :c
  4. Simple, in config.h you can declare ur variable, for example: extern BYTE g_variableExample; then, in config.cpp you define your variable, for example: BYTE g_variableExample = 100; after, in this file, search this function: static bool __LoadGeneralConfigFile(const char* configName) {.. in this function, search this while loop: while (fgets(buf, 256, fp)) { parse_token(buf, token_string, value_string); in this while u can find much Token, perfect, you have to create a new token for function TOKEN("newvariable") { str_to_number(g_variableExample, value_string); fprintf(stdout, "VARIABLE_LIMIT: %d\n", g_variableExample); continue; } If u search in token, u can find "fprint(stdout, "VARIABLE_LIMIT: %d\n", variable name); "VARIABLE_LIMIT: " is the declaration that you can put in the CONFIG of your cores to use the variable differently according to your needs
  5. If you want them for study, any base is optimal (they are all shit) if you want to open your own server, but you still want to work on it by adding systems and implementing new things, I recommend the clean and fixed base of @martysama0134 If you want something free, but with extra security, take a look at the Metin2Dev project as he suggested @niokio
  6. If you have solved it, make it clear so we can close the topic.
  7. Have you already tried Mali61's one? FREEBSD 9.2 GCC7 - C++ 17 Download: https://drive.google.com/uc?id=1888Ybi5hq9HBroaoiinz_AQtxzRp0hJT&export=download ARCHIVE PSW: black ID: root PSW: dev
  8. Calm, if you want to open a large and international server you can also bet for the best with machines like this. For a server in your country that targets less than 1k of players 16GB of ram and a 7k cpubenchmark, 250mbps+ of bandwidth is fine
  9. I don't know if you misspelled the question, or are you really asking this because it is full of guides around for these basic things, however I help you Navicat applytype= vnum bonus (applytype 0 - 1 - 2) applyvalue= value of bonus (applyvalue 0 - 1 - 2) Example: https://gyazo.com/87aafc6f57a6cb61f8e528c98f4fc136 37 = Magic Resistence 6 = how much magic resistance? This is for the server side, then to make them also visual in game, item_proto client, you have to manually give the bonuses to the item https://gyazo.com/f788c23df64bcd62fd931c27e8953c2c
  10. No problem, you can close the thread, if you have other problems, do not hesitate to write to me
  11. https://github.com/blackdragonx61/Metin2-Update-C-Status Use this, you can thank him @Mali61 (Use only part in source)
  12. What guide did you follow to update the compiler? you have to modify some files you know?
  13. Something tells me you are using martysama, I'm not sure so I'll give you a chance Add "-static" in your CFLAGS (Makefile game/db)
  14. @TMP4 I can't tell you why you don't start the game without a gdb, but I can tell you that the gdb problem you encountered does not come from the compilation the game file has undergone, but your jail is "badly updateds or not updates" as it is missing that flag required by gdb, probably in the latest versions You could try updating your freebsd
×
×
  • 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.