Jump to content

Gouki

Members
  • Posts

    261
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Gouki

  1. Hi All,

    Wondering if its as easy to create a cuustom item_group_db. Im planning to use it on a custom lapine synthesis group. apparently adding it to item_group_db doesn't recognize it. 

    Tried searching into forums and doc, and not sure if I need to add it to const.yml, or do an SRC update in script_constants.hpp?

  2. 14 minutes ago, Mice said:

    It's possible that, based on what you mentioned, the issue occurs when you run a command. So, it might be related to the custom command you added. Try to replicate the issue by going back to the changes you made before the problem started. Right now, I can't assist with your issue, especially since I don't know the history of what you did and can't see the problem myself. What you need to do is enable debug mode if you're using Visual Studio, or use GDB if you're on Linux.

    GDB didn't print any as maybe because the server didn't really crash.  GDB didn't print any.

    image.png.37539da44b05b4df085cfaab4c3f70f4.png

  3. 11 minutes ago, Mice said:

    No, did you add any custom source code to your server? When you access the command, does it only appear there? Did you add any custom commands before?

    there are quite some commands being added already for sometime now, unfortunately this charcommand was not tested since its on dev phase. do you think added commands affected it?

    Could there be other options to check as to why this happens?

  4. Hi Guys,

    Been wondering why my charcommands (#item, #zeny, etc) are not working. It instantly disconnects the account from the client and shows a warning in console. Mapserver does not crash, you can log back in right away.
    image.png.df77e4365788161959613e803cdc4cf5.png

    The account group set on DB is 99.

    groups.yml settings is in default, which I think by default 99 - admin level should have permission to it.

    Could anyone enlighten me is this is a client diff / SRC / setting issue?

  5. 13 hours ago, GM Winter said:

    hello im noob in client making i can patch the exe but the clean client i dont know how to make it 

    Well, everyone started as a noob in server creating. we all learn by the process and you should be eager to learn.  Honestly, there are lots of materials/tutorials already, here in the forum and in youtube that you can follow step by step.

    Chris translation has its own youtube channel where he explains how to use the tool to create a clean data file, prerenewal included.  very helpful. unlike when we started we all have to merge files and translations to get what we like.

    I can't give you a straight answer on how to do things, but learning by yourself with the help of the forum will teach you alot of things and you'll understand better than just following what people will tell you to do.

     

    When you choose a client, you should update your src packets as well and compile to the client date. this is for it to work. 

    • Love 1
  6. The current client date pre setup in rAthena is 2021-11-03, so I'd recommend the same.

    Another famous client for Pre-renewal is 20180620, however if you use more robe costumes, it wont look good as 2021.

    I believe this depend on the goal you are trying to set as a pre-renewal server, definitely there are some client bug fixes along the way. But most significant changes here is the feel of the client, the older the client, the lesser the features it will provide.  so again it will lead to the goal of the server you are recreating.


    Pre-renewal but with newer features 2021.
    Pre-renewal in general 2018.
    Totally pre-renewal, maybe you can go as far as 2015 client.

    Just be cautious since if you use older client, there might be packet/compatibility issues as well, if you'll use the latest rAthena.

  7. On 9/28/2024 at 9:44 AM, Chaos92 said:

    yes because GRF Editor can change the encoding automatically but I dont know how did u change the files inside GRF. Some software cant detect and automatically changed to correct encoding.

    I think thats what happened, language of GRF editor broke the ANSI encoding.

    The items were fixed already, what I did was I created a new blank GRF and set it initially to ANSI before adding my files. then just saved it as GRF.  I did a GRF diet on my files, not sure if that caused the issue.  

    Nonetheless fixed now. Topic may be closed.

  8. 34 minutes ago, Chaos92 said:

    maybe more details ? what clientdate, what translation, and some more.

    and why not use default one first without HD to make sure all are correct.

    Client date is 20240902
    I'm using the most recent ROenglishTranslation by Chris

    I did try to use the original kRO now and apparently, issue seems the same.



    UPDATE: seems to be working now, just reverted back everything, GRF seems to be the issue.

  9. Hi All,

    Just wondering if this is a client issue wherein the client is reading the resource files not in ANSI (i presume)?
    As you can see below, all file name are in ANSI and identical. However, on the last image, you'll see that the Resource File Loading Fail seems to be reading the item name on a different encoding.

    Does this have to do with client diffing, servicetype, langtype? kindly enlighten please! thank you!

    Note* my sprite accessory files are separated on a different GRF on purpose due to HD.  I have also ran ai4rei's GRF Diet Plan on these GRFs, not sure if that would cause the issue.

    image.png.3ecd3aa9dffb5253ef95f93390208661.pngimage.png.20adbff25378ee4f878ab0f38172a1f3.png
    image.png.ea8a13593d4b91e6cc87fb85f0bd6345.png

    image.png

  10. On 9/3/2024 at 8:02 PM, Playtester said:

      

    Attached you can find a patch file that shows how to do it. The patch file contains a few more things and is not up-to-date to latest rAthena (it's from May 2024).

    What is in the patch:

    - Replace all unknown drops with Apple and all unknown MVP drops with Elunium

    - Remove random option feature (doesn't work in pre-re)

    - Recalculate renewal DEF to pre-renewal DEF if monster ID is 2083 or higher

    - Recalculate renewal MDEF to pre-renewal MDEF if monster ID is 2083 or higher

    - Recalculate renewal ATK/ATK2 to pre-renewal ATK/ATK2

    - Replace all unknown monster skills with NPC_EMOTION

     

    If you are only interested in the DEF/MDEF part, you can only take over those changes:

    @@ -4561,6 +4570,12 @@ uint64 MobDatabase::parseBodyNode(const ryml::NodeRef& node) {
     		if (!this->asUInt16(node, "Defense", def))
     			return 0;
     
    +#ifndef RENEWAL
    +		// Renewal to pre-re conversion
    +		if (mob_id >= 2083)
    +			def = static_cast<uint16>(100.0 - ((4000.0 + def) / (4000.0 + def * 10.0) * 100.0));
    +#endif
    +
     		if (def < DEFTYPE_MIN || def > DEFTYPE_MAX) {
     			this->invalidWarning(node["Defense"], "Invalid monster defense %d, capping...\n", def);
     			def = cap_value(def, DEFTYPE_MIN, DEFTYPE_MAX);
    @@ -4575,6 +4590,12 @@ uint64 MobDatabase::parseBodyNode(const ryml::NodeRef& node) {
     		if (!this->asUInt16(node, "MagicDefense", def))
     			return 0;
     
    +#ifndef RENEWAL
    +		// Renewal to pre-re conversion
    +		if (mob_id >= 2083)
    +			def = static_cast<uint16>(100.0 - ((1000.0 + def) / (1000.0 + def * 10.0) * 100.0));
    +#endif
    +
     		if (def < DEFTYPE_MIN || def > DEFTYPE_MAX) {
     			this->invalidWarning(node["MagicDefense"], "Invalid monster magic defense %d, capping...\n", def);
     			def = cap_value(def, DEFTYPE_MIN, DEFTYPE_MAX);

    Hope this helps!

    I mainly wrote this patch so I can use all renewal monsters directly in pre-re by copying them over without having to worry about unsupported features and changes of functionality of stats.

    load_re_mobs_in_prere.patch 3.38 kB · 0 downloads

    Hi @Playtester,

    I think you understood what I wanted to imply.

    Currently what I did was my Pre-RE mob DB are all RE mobs and added the pre-re mob db to import.

     will have a test at it and give feedback after.

  11. Hi All,

    Just want to ask if there's a correct or newer way of updating map_cache on new rAthena?

    From experience, usually like updating new izlude to old izlude, just drag and drop the old .gat file to pre/map_cache and you're good to go, of course needs to update client files as well.

    same goes with pvp_y_1-2 / pvp_y_2-2. before I just rename old izlude's files to the corresponding pvp maps and update pre/map_cache. 

    Right now when I do these steps, instant crash upon entering the map. Is my method the correct way or files must be extracted from browedit for it to work?

×
×
  • Create New...