L2 Shrine strongly condemns the aggression of the barbaric russian federation. 🇺🇦 Slava Ukraini! 🇺🇦

Emca

L2 Shrine Staff
  • Content Count

    2158
  • Joined

  • Last visited

  • Days Won

    144

Posts posted by Emca

  1. On 11/14/2021 at 1:24 PM, claw said:

    @Jorn

    @Emca

    Hi guys, just wanted to check if you're still alive and kinda active/working on some other projects and also curious what you think about shrine?
    I'm asking cuz it's kinda good time to run gf/epilogue project this winter.
    Nothing else around and you guys have good files and only missing some promotion, so w/o big fishes around you could do smth worth which will attract ppl with bigger chance.

    Alive but not actually planning anything, we have some "h5 test server" but we need to finish lot of other things to make it happen and it seems that Jorn has even less time than I have... There's a crisis around covid and/or covid regulations (I don't want to tell anyone what to think about it) and unfortunately no much time for anything... we had an idea to start h5 testserver just for fun even with some bugs etc (so you would test if for us 😇) but it greatly depends on Jorn.

  2. Base chance is normal chance with normal scroll, like fighter weapons 70 % up to level 15 and then 35 %, mage weapons 40 % up to level 15 and then 20 % etc.

    This is how it may look like (there are some changes to make it more readable but the principle is the same; treat is as a pseudocode) for fighter weapons. Variable 'bonus_from_skill' can be changed by using Lucky Clover (it's 0 by default and clover increases it). I'm not sure what 'bonus' and 'type' variable exactly are, it would require more digging...

    chance = 100.0;
    if (level >= 3) {
        chance = 70.0;
        if (level >= 15) {
        	chance = 35.0;
        }
        chance = chance + bonus_from_skill;
        if (type == 1) {
            chance = chance + bonus * 100.0;
        } else if (!type) {
            chance = chance + chance * (bonus / 100.0);
        }
    }
    if (chance < drand() * 100.0) {
        // fail
    } else {
        // success
    }

     

  3. Hi,

    60 items is really small set - if I simulate your example with this one-liner in Python, I get these results:

    >>> [len([i for i in [random() <= 0.66*0.33*0.25 for i in range(60)] if i]) for i in range(100)]
    [4, 3, 4, 2, 7, 1, 3, 4, 3, 4, 4, 4, 0, 6, 3, 3, 2, 2, 5, 1, 1, 6, 1, 4, 6, 2, 2, 3, 5, 3, 2, 3, 2, 3, 3, 1, 3, 1, 4, 1, 2, 3, 2, 0, 7, 4, 4, 4, 5, 6, 2, 4, 2, 2, 1, 9, 3, 2, 5, 0, 3, 4, 1, 4, 9, 1, 4, 2, 2, 3, 5, 6, 4, 2, 2, 6, 4, 5, 2, 3, 5, 5, 3, 6, 4, 5, 5, 4, 2, 6, 2, 2, 5, 2, 1, 4, 1, 3, 2, 2]

    Explanation: it's 100 times simulating enchanting 60 items and the result number is how it ended (how many successfully enchanted weapons) and it's same type of random and you sometimes end up with 7 weapons and sometimes with 0. If I try it on bigger set, like 600 weapons, you'll see it's bit less spread:

    >>> [len([i for i in [random() <= 0.66*0.33*0.25 for i in range(600)] if i]) for i in range(100)]
    [36, 27, 32, 35, 38, 35, 27, 46, 29, 37, 36, 34, 35, 39, 35, 30, 33, 32, 29, 37, 35, 29, 33, 36, 39, 33, 31, 35, 30, 30, 26, 31, 34, 42, 31, 33, 29, 24, 38, 27, 37, 34, 32, 46, 38, 34, 37, 25, 38, 32, 30, 37, 42, 35, 37, 29, 36, 31, 37, 46, 35, 29, 36, 29, 35, 26, 33, 25, 35, 38, 43, 34, 35, 33, 30, 39, 37, 33, 28, 31, 24, 35, 32, 22, 29, 38, 35, 32, 35, 47, 32, 32, 34, 45, 33, 33, 27, 32, 35, 25]

    With 60000 weapons it's even less spread:

    >>> [len([i for i in [random() <= 0.66*0.33*0.25 for i in range(60000)] if i]) for i in range(100)]
    [3263, 3340, 3393, 3285, 3241, 3278, 3365, 3323, 3332, 3222, 3347, 3216, 3342, 3186, 3243, 3249, 3312, 3302, 3298, 3203, 3189, 3244, 3219, 3308, 3201, 3350, 3364, 3271, 3299, 3198, 3294, 3302, 3269, 3281, 3343, 3295, 3192, 3312, 3153, 3283, 3298, 3228, 3219, 3279, 3213, 3230, 3313, 3237, 3361, 3320, 3213, 3385, 3230, 3241, 3212, 3397, 3297, 3182, 3173, 3281, 3292, 3193, 3236, 3323, 3319, 3276, 3301, 3241, 3255, 3267, 3297, 3275, 3268, 3221, 3220, 3192, 3345, 3309, 3264, 3364, 3214, 3125, 3261, 3173, 3234, 3308, 3273, 3344, 3323, 3330, 3245, 3224, 3242, 3265, 3371, 3213, 3220, 3388, 3214, 3237]

    So I'm 99% sure it's just a bad luck

  4. On 5/14/2020 at 4:38 AM, Solaris said:

    Thanks for the suggestion, this doesn't work as well as wtfast.  Logging in without wtfast the game misses quite a few clicks if clicking quickly in a row.  This can mean death in melee aoe situations.  @Emcaor @Jorn any suggestions on how to make it work with wtfast?  Thanks for your time.

    Edit: I asked admin at topzone and he suggested the following: You may ask server admin it they can add other identifier for the buff like username or HWID if is possible.

    I'm guessing it is ip based and that's why wtfast blocks it from working?

    Yes, it's IP based (HWID would allow only one player from given IP address to vote) - you need to browse the web from the same IP address as you're playing (I don't know if it's possible with wtfast, you should contact their technical support)

    • Like 1
  5. 4 hours ago, Jorn said:

    Somehow Windows aren't syncing time. Emca did some update today and we just restarted the server, let's hope it's finally fixed.

    An update? Freakin' tweaking. It's unfortunate that newer versions of software usually break something in absolutely unpredictable ways...

    I hope it will run fine now...

    • Thanks 1
  6. Ahoj, kam mi ty PMka posíláte? Mám tu jen jedno ohledně levelu HB a jedno ohledně e-mailu u účtu, jinak vše, co mám v inboxu, je staršího data...

    Teď se nemůžu podívat do hry, jak to je tedy s těmi heroes? Nejsou vůbec nebo to nejde jen někomu? Potřebuju víc informací...

  7. Ahoj, koukala jsem na to a je to tak jak popisuješ, ale bug to podle všeho není. Až budu mít víc času, kouknu, jestli to v H5 nepředělali (pak by bylo možné, že to předělali už na Epilogu, pokud ne, tak to je určitě správně tak, jak to je)

  8. On 6/6/2019 at 1:03 PM, Zero said:

    Hello Emca, i see you do lot of work in this. Can you (or planning) make some beta server? I see that Eresea server is down so probably you can use it  for some private/vip beta test server?

    Hi, we don't have the hardware anymore, also it was really really old and wasn't enough for running H5.

    On the other side, when our H5 is ready for some real testing, we'll probably rent some server.

    • Like 1