Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Posts posted by Dastgir


  1. On 8/24/2020 at 8:31 AM, 4144 said:

    it can be difficult to bring back old emblems features. because partially old code was removed from client.

    but in future will be don't need web server. i working on hercules for new features, but was slow down because 4th jobs and new game guard in kro..

     

    I think they reverted to old gameguard that was used years ago, maybe that could help? didn't they change to nProtect again? or is it something else now?


  2. On 7/6/2020 at 5:48 PM, astralprojection said:

    @Dastgir there are moments that this happens
    (07/06/2020 20:11:31) [ Error ] : get_variable: NULL RETURNED. 202-4
    (07/06/2020 20:11:31) [ Error ] : SET_VARIABLE_ADD: Cannot Add 186 to 202 (AccountID:2001296, Name:xxruid!)
    (07/06/2020 20:11:31) [ Error ] : get_variable: NULL RETURNED. 202-4
    (07/06/2020 20:11:31) [ Error ] : SET_VARIABLE_ADD: Cannot Add 114 to 202 (AccountID:2001296, Name:xxruid!)

    also this where some player can't get any reward at all:
    (07/06/2020 20:16:54) [ Warning ] : bg_team_rewards: Cannot give x5 7773 to BG_ID: 0

    The above error should be fixed in https://github.com/dastgirp/eBG/commit/0a80e689e78e878b561c53d490250565bd94d3d6

    About rewards, which bg mode? And was there any @reloadscript command run while bg was ongoing?

    More info would be appreciated.


  3. On 7/6/2020 at 5:48 PM, astralprojection said:

    @Dastgir there are moments that this happens
    (07/06/2020 20:11:31) [ Error ] : get_variable: NULL RETURNED. 202-4
    (07/06/2020 20:11:31) [ Error ] : SET_VARIABLE_ADD: Cannot Add 186 to 202 (AccountID:2001296, Name:xxruid!)
    (07/06/2020 20:11:31) [ Error ] : get_variable: NULL RETURNED. 202-4
    (07/06/2020 20:11:31) [ Error ] : SET_VARIABLE_ADD: Cannot Add 114 to 202 (AccountID:2001296, Name:xxruid!)

    also this where some player can't get any reward at all:
    (07/06/2020 20:16:54) [ Warning ] : bg_team_rewards: Cannot give x5 7773 to BG_ID: 0

    BG Type?

     

    13 hours ago, rans said:

    Hello, it is currently not giving any reward. no map-server error can anyone please share fix?

    BG Type?


  4. 14 hours ago, Psyz said:

    @Dastgir Can you explain how to configure?

     

      Hide contents

    OnMinute00Sub: // Called by callsub
        .@ret = true;
        // Fallthrough
    OnMinute00:
        if (gettime(GETTIME_HOUR) < 4) // Don't Choose Ranked Time if it is 12:00AM ~ 4:00 AM (Less players)
            end;
        .@year = $BGRanked_ / 1000000;
        .@month = ($BGRanked_ % 1000000) / 10000;
        .@day = ($BGRanked_ % 10000) / 100;
        .@hour = $BGRanked_ % 100;
        if (.@year == gettime(GETTIME_YEAR) && .@month == gettime(GETTIME_MONTH) && .@day == gettime(GETTIME_DAYOFMONTH)) {
            if (.@hour == gettime(GETTIME_HOUR)) // Ranked Matches
                $BGRanked = 1;
            else // Time has passed or yet to arrive
                $BGRanked = 0;
        } else {
            .@hour = rand(gettime(GETTIME_HOUR), 23);
            $BGRanked_ = gettime(GETTIME_YEAR) * 1000000 + gettime(GETTIME_MONTH) * 10000 + gettime(GETTIME_DAYOFMONTH) * 100 + .@hour;
            if (.@hour == gettime(GETTIME_HOUR))
                $BGRanked = 1;
            else
                $BGRanked = 0;
        }
        if (.@ret)
            return;
        end;

     

    It is currently random from 4AM-12PM.

    if you need it customized. Set $BGRanked to 1 whenever you want it, and 0 to disable.


  5. 4 hours ago, sabdopalon said:

    Hi guys, I've looking everywhere how to change the map info language from kr to eng when I open the world map, but I still can't find the way how to translate that part. Could you guys help to give me some clue ? Thanks!

    I use 20190530 ragexere client, the latest hercules, and latest translated data from ||chris||.

    Tried to load data folder first, even made the grf from translated data, but that even worse, my client just crash after that.

     

    Any help would be very appreciated.

    Thanks!

     

    RagexeRE uses file with suffix as "_sak"

    Which files did you try editing?

     


  6. On 5/17/2020 at 12:10 AM, Zeca said:

    market.c: In function ‘mob_clone_spawn_market’:
    market.c:138: error: too few arguments to function ‘mob->once_spawn_sub’
    market.c:143: error: ‘struct unit_interface’ has no member named ‘setdir’
    market.c:161: error: ‘SI_ON_PUSH_CART’ undeclared (first use in this function)
    market.c:161: error: (Each undeclared identifier is reported only once
    market.c:161: error: for each function it appears in.)
    market.c: In function ‘clif_getareachar_unit_post’:
    market.c:425: error: ‘SI_ON_PUSH_CART’ undeclared (first use in this function)
    market.c: In function ‘clif_blname_ack_pre’:
    market.c:441: error: variable ‘packet’ has initializer but incomplete type
    market.c:441: warning: excess elements in struct initializer
    market.c:441: warning: (near initialization for ‘packet’)
    market.c:441: error: storage size of ‘packet’ isn’t known
    market.c:441: warning: unused variable ‘packet’

    how to fix @AnnieRuru? =/
     

    Check here: https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/%40market.c

    For mob_once_spawn_sub, you need to add extra argument 0 (for Npc id)

    For Status Icon, need to use clif->sc_load


  7. On 5/17/2020 at 6:17 PM, ippo20 said:

    hello @AnnieRuru, I am having a problem trying to understand the random chance formula, could you enlighten me how it works? Because my players roll a .37% chance box like it is 10% chance. 

    "ItemChance * 10000 / TotalChance*

    ItemChance is individual chance that is defined in .item array

    TotalChance is sum of all chances defined in .item array


  8. 7 hours ago, elkun1510 said:

    Hello, I hope you can help me with my problem . .i tried to make a custom mob  . . i was able successfully spawn it in game . . but my problem is that . . if I try to hover my mouse pointer over it . . a callout(i don't know what it's called but the thing that indicates that you can talk to it, please refer to the attached images) will show instead of a sword(indicating that i can attack it) . . 

    How can i fix it? and also how can i set so it disappears immediately when i killed the mob. . Thank you so much

    Screenshot_85.png

    This might be due to monster ID in range of NPC IDs range.

     

    What have you assigned as id?


  9. 22 hours ago, Zeca said:

    Hello @Dastgir! thanks for updating the plugin. However, it is still not working. No error is shown on the console, but it prevents me from sending everyone a friendship.
    Regardless of the map, any map, it does not let me send requests.

    Both are on thr same map without the mapflag?

    I don't understand your problem. This plugin does restrict the request to be sent.


  10. On 2/24/2020 at 10:02 AM, astralprojection said:

    @Dastgir there are instance where server can place trader merchant where no merchant discount is allowed. It will be helpful if you can have time to look into it as plugin like

     

    sellitem Apple,100,bolean; 

     

    Thanks sir

    So a full price shop? This can be achievable currently with dynamic shops.


  11. 11 hours ago, aryuchoa said:

    no, im using rathena ( latest) and that script didnt work give the same problem.

    Yes, Because rAthena does not reset the NextBaseExp and NextJobExp variable to 0 when you reach max level.

    You will need to change that line to check BaseLevel != MaxLevel

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.