Code Monkey home page Code Monkey logo

Comments (10)

assassina avatar assassina commented on May 22, 2024

I've noticed an issue happening when the monster gives an experience number points who happens to be odd, due to rounding down.
For example, a rat gives 5 xp. If it is killed by a summon, then the summon counts as a half rat, which should be 2.5 xp, but is rounded as 2 xp. If the exp rate is x 100, the player (and the summon) gets 200 xp. That can be easily patched.
But your issue with the cave rat (which gives an even number of xp points), I wasn't able to reproduce it. I am always getting 750 + 750 (which is ok, due to the premmy bonus). Are you sure that you haven't edited it to give you 7 xp points (instead of the usual 10)?

from server.

Pietia10 avatar Pietia10 commented on May 22, 2024

Nah not really Have you tried to actually let your summoned monster hit cave rat(and you hit as well) a bit and then count total experience?

from server.

assassina avatar assassina commented on May 22, 2024

Ok, it is happening here as well. And it is still the same issue of rounding things down. It is an easy patch. I will try to commit the patch at the next days, but I won't promise anything, I might be kind of busy with work at the next weeks, so I might take some time to do it.

from server.

assassina avatar assassina commented on May 22, 2024

It should be fixed by now. Please test it and let me know if I broke something or if there is something yet not fixed.

from server.

Pietia10 avatar Pietia10 commented on May 22, 2024

Write on skype to me ;p

from server.

assassina avatar assassina commented on May 22, 2024

I already commited the fix, haven't you noticed it?

from server.

Pietia10 avatar Pietia10 commented on May 22, 2024

Oh ok.The xp is fine but I'm experiencing a weird issue with showing of how much exp you gained basically when summon helps you out it's like you receive 2 diffrent kind of exp so it's hard for players to see how much exp you gained but the sum of experience match .
Is it just me?;s

from server.

assassina avatar assassina commented on May 22, 2024

Is it hard for players to see how much exp they have gained? But the number of gained experience points pulls out of the head of the char! What do you mean?

from server.

Pietia10 avatar Pietia10 commented on May 22, 2024

I just checked on clean trunk seems like it works fine there so just close it ,
It's just my server again and I'm pretty sure I did made all changes .

from server.

assassina avatar assassina commented on May 22, 2024

It has being fixed, so I am closing it now.

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.