Emca

L2 Shrine Staff
  • Content Count

    2156
  • Joined

  • Last visited

  • Days Won

    144

Everything posted by Emca

  1. Emca

    ENCHANT RATES

    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 }
  2. Emca

    ENCHANT RATES

    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
  3. 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)
  4. Emca

    Server's clock

    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...
  5. Web has already been moved and seems running fine. Game server migration in progress, estimated time to finish is around an hour from now.
  6. Hi, can anyone else confirm? We're on l2off data so it should be ok... What level Summon Shadow did you use? I'll check in script data
  7. Emca

    OLY BUG

    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í...
  8. Emca

    Lost kookabura/pet

    Hi, found it, I'll send it to you when I'm ingame
  9. Hi, I helped them around half year or maybe year back with some client-side stuff. You're talking about the encryption, am I right?
  10. Emca

    Spuštění hry

    Ahoj, odškrtni si v launcheru "Keep my system messages" a pusť update (nebo si tam nahraj vlastní systemmsg-e.dat, pokud máš upravený)
  11. Na shoutbox mrkneme, jinak ten odkaz mi normálně jede - můžeš prosím udělat screenshot? Na H5 průběžně dělám, ale ještě tam toho zbývá hodně. O eventu uvažuju, ale musím na to najít dost času abych dala dohromady nějaké slušné odměny...
  12. I'm slowly working on it https://bitbucket.org/l2shrine/extender-h5/commits/ Those last optional custom changes are for a friend who helps me a lot
  13. 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)
  14. Emca

    In-game gamma

    Hi, did you run update after unchecking that option?
  15. 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.
  16. Here you can see TODO list https://bitbucket.org/l2shrine/extender-h5
  17. Emca

    Server moving

    Done and everything works
  18. Emca

    Stěhování serveru

    Hotovo a vše jede
  19. Emca

    Stěhování serveru

    Budeme stěhovat dnes
  20. Emca

    Server moving

    We'll move the server today.
  21. Emca

    Server moving

    If everything goes well, we'll move the server this weekend.
  22. Emca

    Stěhování serveru

    Vypadá to, že server budeme stěhovat tento víkend
  23. Emca

    Výpadek serveru

    Omlouváme se za včerejší a dnešní výpadek serveru. Byla to výjimečná událost, poté, co server přestěhujeme do novějšího datasálu (pravděpodobně tento víkend), nemělo by se to již stát.