Jump to content

Moooooon-Aisha

Members
  • Posts

    116
  • Joined

  • Last visited

Posts posted by Moooooon-Aisha

  1. Greetings rAthena,

    Here's a release for a SQL-based Race to 99 Event script that I made recently.

    This script follows these rules ---

    1. Only 2 winners for each TRANSCENDENT Class
    2. If you won once already, you may not win another one (account-based)

    If you there are any issues or bugs, feel free to post and I'll fix it up when I can.

    raceto99.txt

    • Upvote 2
  2. diff --git a/src/login/login.cpp b/src/login/login.cpp
    index b35fa5e1b..ea12eccf2 100644
    --- a/src/login/login.cpp
    +++ b/src/login/login.cpp
    @@ -121,7 +121,8 @@ void login_remove_online_user(uint32 account_id) {
                    delete_timer( p->waiting_disconnect, login_waiting_disconnect_timer );
            }
     
    -       accounts->disable_webtoken( accounts, account_id );
    +       if (login_config.use_web_auth_token)
    +               accounts->disable_webtoken( accounts, account_id );
     
            online_db.erase( account_id );
     }

    Was assisted via discord by Nitrous, this issue resolved the disabled message to appear on the logs, but it still did not really improve the issue that I can not login again after getting disconnected to the login screen.

  3. I'm not sure if this is the correct catogory,

    Below is the web auth token thing for my server. But even when "disabled" it still runs on my login and it's causing me login issues. How can this be resolved?

     

    // Enable web authentication token system
    // This is required for new clients that get data via an additional API over HTTP
    use_web_auth_token: no

    // Delay (in milliseconds) disabling webtoken after character logs off
    // There's a race condition when the client logs off. The char-server could revoke the token before
    // the client can save the changed configs.
    disable_webtoken_delay: 0

     

    image.png.c5c4c9d78674148ddcfcbb5d4e33dd9b.png

    image.png

  4.     for(.@i = 0; .@i <= 38; .@i++)
            query_sql("DELETE FROM `achievement` WHERE `achievement`.`id` = 40000"+.@i+";"

    I am currently using this code to reset my achievements, is there any other way to avoid using multiple query_sql (since its a loop)

    Thanks. I'm using this to manipulate offline player data.

  5.  

    I am trying to increase the damage of my MVP monsters by a substantial amount, but at the current settings for PRE-RE, it seems to be capped at 60k~64k damage. No matter how much STR stats I put in, it does not really go above the 60k~64k damage range. Is there anything I can do to break that ceiling? I want them to be able to hit above 60~64k.

    Below is a stat of one of my boss monsters, again this boss monster hits at 60~64k per damage but I need it to go above that.

      - Id: 1373
        AegisName: LORD_OF_DEATH
        Name: Lord of the Dead
        JapaneseName: Lord of Death
        Level: 99
        Hp: 19903383
        BaseExp: 131343
        JobExp: 43345
        MvpExp: 65671
        Attack: 120000
        Attack2: 130000
        Defense: 77
        MagicDefense: 73
        Str: 879
        Agi: 299
        Vit: 30
        Int: 809
        Dex: 1028
        Luk: 306
        AttackRange: 3
        SkillRange: 10
        ChaseRange: 12
        Size: Large
        Race: Demon
        Element: Dark
        ElementLevel: 3
        WalkSpeed: 180
        AttackDelay: 80
        AttackMotion: 120
        DamageMotion: 360
        Ai: 21
        Class: Boss
        Modes:
          Mvp: true
  6. Quote

    Now im asking  GRF for another account and character but can not get it from same person without payment.

    How can i edit my GRF  and what should i do ?

    Pay? You pretty much have the solution right there. Nobody would do that kind of edit for free, good luck on finding one that's free.

  7. All I want from Desperado is that GS doesn't get grilled from reflected damage. How do I edit this, didn't meant to post this, I thought I was editing previous post :x

    Fixed with adding a skill check under battle_calc_return_damage

    Credit to Mabuhay to pointing out the Land Protector side of the issue

  8. On 3/9/2020 at 4:53 AM, Mabuhay said:

    I checked the https://github.com/rathena/rathena/blob/master/doc/skill_db.txt

    You can see the thing you are looking for. It is now under `Flag`.

    Oh, I just saw it just now. However, the Range for Desperado is still not applicable. I tried to add Range to it somehow and it just breaks the skill.

      - Id: 516
        Name: GS_DESPERADO
        Description: Desperado
        MaxLevel: 10
        Type: Weapon
        TargetType: Self
        Range: 5
        DamageFlags:
          Splash: true
        Flags:
          IgnoreLandProtector: true
        Hit: Multi_Hit
        HitCount: 1
        Element: Weapon
        SplashArea: 3
        AfterCastActDelay: 1000
        AfterCastWalkDelay: 1000
        Duration1: 1000
        Requires:
          SpCost:
            - Level: 1
              Amount: 32
            - Level: 2
              Amount: 34
            - Level: 3
              Amount: 36
            - Level: 4
              Amount: 38
            - Level: 5
              Amount: 40
            - Level: 6
              Amount: 42
            - Level: 7
              Amount: 44
            - Level: 8
              Amount: 46
            - Level: 9
              Amount: 48
            - Level: 10
              Amount: 50
          Weapon:
            Revolver: true
          Ammo:
            Bullet: true
          AmmoAmount: 10
        Unit:
          Id: Dummyskill
          Layout: 3
          Interval: 100
          Target: Enemy

    Adding Range: 5 broke the skill. It will not hit anything anymore.
    Changing

        Unit:
          Id: Dummyskill
          Layout: 3

    I added Range: Just right under Layout, and it did change the range of the skill, but it also changed the area affected by the skill. Whereas in the older skill_db it would still remain in an area around the GS itself. Any solutions to this?

  9. 4 minutes ago, Mabuhay said:

    Maybe creating a new issue here will let the devs know about this and/or if this is an issue to be reviewed. https://github.com/rathena/rathena/issues

    No, I believe that is how Desperado has always behaved. My issues is where can I actually change that in the new skill_db? Because before it was just a setting you could set if the skill is affected by Land Pro or not.

  10. Just now, Mabuhay said:

    I am not mistaken, Land Protector only ignores ground skills. If deperado is not a ground skill, it shouldn't be ignored.

    It currently is ignored. Desperado won't hit at all if used under Land Protector.

  11. With the new changed Skill_db, how can I set desperado's range from Melee to range? It used to be just change the 4 to a 5 or something along the lines, as well as how to make it ignored by Land Protector Skill? I can't seem to find it anymore.

  12. Digital Ocean works as well. Avoid RO Hostings.

    1. They'll have access to your server files
    2. They'll have access to your database (passwords,etc)
    3. They pretty much charge way more than a regular VPS Cloud

    The only time you'd want to take RO Hostings is

    1. You have no clue what you're doing
    2. You don't care about server security
    3. You want quick and easy set up for a quick cash grab RO server /$

  13. On 2/17/2020 at 1:22 AM, Akkarin said:

    I think there's an old @command somewhere that does the same thing - so in your equip & unequip scripts you would have something similar to:

    
    {},{ headvar=getlook(LOOK_HEAD_BOTTOM); changelook LOOK_HEAD_BOTTOM, 2231; },{ changelook LOOK_HEAD_BOTTOM, headvar; }

     

    I've tried it this way as well, doesn't want to work as well, it does not want to revert back to the previous headgear's look at all.

     

    Sorry ,got it figured out. Seems to be working now!

  14. So I was testing some stuff out and found that if I use CHANGELOOK upon equipping and un-equipping, it does not want to revert back to what the player is wearing.
    Code is as follows

    { changelook LOOK_HEAD_BOTTOM,2231; },{},{ changelook LOOK_HEAD_BOTTOM,getequipid(EQI_HEAD_LOW); }

    tried the other one and still the same result

    ,{},{ changelook LOOK_HEAD_BOTTOM,2231; },{ changelook LOOK_HEAD_BOTTOM,getequipid(EQI_HEAD_LOW); }

    I want to know, how do I revert back to the regular headgear I am wearing after I wore the other item that changes what I am wearing.

     

×
×
  • Create New...