inherit
267029
0
Aug 9, 2024 14:55:15 GMT -8
Schodusk
20
October 2022
schodusk
|
Post by Schodusk on Apr 23, 2023 3:37:06 GMT -8
Just had another case of miss/hit rate not working as intended. A creature with a 0% hit rate (0% Chance of a successful attack from a player) just got hit by an attack from a player. There is definitely something going wrong with how hit rate is calculated, because we're having hits at 0% hit rate and misses at 150% hit rate. Any help would be greatly appreciated. I've tested and tested, but as yet have not had an unexpected hit or miss. It is possible to be hit by the creature, but recieve no damage, is it possible you are assuming this is a miss? Okay. So let's start by making sure I'm not making any mistakes. Here is an example of a hit (when it should miss), and a miss (when it should hit). EXAMPLE 1: January 17th - Version 0.1.5.1 Creature Hunt settingsCreature missMy understanding is that a 150% hit chance should mean that neither the player nor the creature should EVER miss. The creature clearly missed in the above example because it showed the miss text. EXAMPLE 2: April 1st - Version 0.1.5.2 Creature Hunt settingsCreature hitHere we have the opposite, a 0% hit chance that connected... Can you please confirm that I'm not missing something obvious in the settings linked above? Assuming that the settings are all correct, could there be some key data that needs to be reset or something? Again, this in itself isn't a COMMON issue, but is happens often enough for me to be coming to you asking if I'm doing something wrong in the settings.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Apr 23, 2023 7:07:12 GMT -8
Okay. So let's start by making sure I'm not making any mistakes. Here is an example of a hit (when it should miss), and a miss (when it should hit). EXAMPLE 1: January 17th - Version 0.1.5.1 Creature Hunt settingsCreature missMy understanding is that a 150% hit chance should mean that neither the player nor the creature should EVER miss. The creature clearly missed in the above example because it showed the miss text. Going by the above example, the plugin appears to be working as expected. The creature has a 150% chance of a successful attack, so even if it was hit, it would still have a 104% chance of hitting the member, and that is what happened.. 'The Exeggcute attacks, causing 4 damage! You have 0 Tall Grass HP remaining!The 150% chance of a successful MEMBER attack is different. More than a 100% chance of success should indeed guarantee that the member hits the creature, providing they are able to attack. the damage a member can cause to a creature is based on his/her strength (HP), the lower the members' HP, the less damage he/she can cause. This member has 0 HP, meaning that they can NOT produce a successful attack. With 0 HP EVERY attack will result in a miss, which highlights a problem with your request that I failed to think of before. If you guarantee that a creature will always hit it's opponent, there is never a chance for your members to recover their lost HP. A member of staff would have to add HP via their profile whenever they see the need. So unless you are prepared to do that, guaranteeing that a creature hits is possible but unworkable. This example is a weird one. Not only has the creature hit when it shouldn't have, it appears to have been defeated even though it still has 82 hit points remaining. There are a couple of reasons for this that I can think of. The message suggesting the creature was defeated has been added to the wrong box, so the plugin is displaying the wrong message, or the creature stats for this creature may have been changed in the plugin settings while this battle was already in progress. Doing that will mean that the battle will continue as it was before the settings where changed, but would display the messages from the updated settings. Whenever the creature settings are changed, they will only take effect in any NEW battles, they will only screw with existing battles as the battle stats have been saved to a key. I will also add that, since V6 has been put on hold, I am updating this plugin, so I will add settings to guarantee attacks make contact, and will add a retreat message as you requested. I am not so sure about how I will allow members to recover if they can never escape without being hit though. That will take some thought.
|
|
inherit
267029
0
Aug 9, 2024 14:55:15 GMT -8
Schodusk
20
October 2022
schodusk
|
Post by Schodusk on Apr 23, 2023 8:23:16 GMT -8
EXAMPLE 1:Oh! So the creature attacks before the player? I have always assumed that the attacks happened in the order displayed in the message, with the player attacking first and then the creature, but that makes perfect sense if it's the other way around. With this in mind, maybe it would be better to either reverse these calculations or reverse the order that they are displayed in? Or even just adding a little note in the settings to say that creatures hit first. The solution we have implemented on site for healing are areas called 'shrines'. The shrines are unhittable creatures that don't hit back, and because players should always be hitting in combat we set HP regen on a missed creature attack to 100%. This means that when players post at one of the shrines they are restored to full HP. This is a part of our core gameplay cycle, so no worries on that front. EXAMPLE 2:Sorry for any confusion there. The creature wasn't defeated in that scenario. We just set custom miss text for the creature so that it looks like it isn't attacking you. Your assumption that the text was added to the wrong box is basically correct, only that's been done on purpose to give a specific experience. Don't worry about that. I can guarantee that the settings were not changed during battle. I've experienced issues with that before and I'm always careful to warn users before making changes. Fantastic news! Again, really appreciate all of your hard work. This is an amazing plugin and I'm looking forward to the updates. I already mentioned my workaround for player healing above, but I've also experimented with enemies that deal negative damage (essentially healing the player). This works, though it does open the door to over-healing the player above their max HP, so I haven't worked with it much. The shrine solution is much more reliable. Here are my settings for the shrine (green) and the healing creature (pink), if you're interested.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Apr 23, 2023 9:52:45 GMT -8
EXAMPLE 1:Oh! So the creature attacks before the player? I have always assumed that the attacks happened in the order displayed in the message, with the player attacking first and then the creature, but that makes perfect sense if it's the other way around. With this in mind, maybe it would be better to either reverse these calculations or reverse the order that they are displayed in? Or even just adding a little note in the settings to say that creatures hit first. The solution we have implemented on site for healing are areas called 'shrines'. The shrines are unhittable creatures that don't hit back, and because players should always be hitting in combat we set HP regen on a missed creature attack to 100%. This means that when players post at one of the shrines they are restored to full HP. This is a part of our core gameplay cycle, so no worries on that front. EXAMPLE 2:Sorry for any confusion there. The creature wasn't defeated in that scenario. We just set custom miss text for the creature so that it looks like it isn't attacking you. Your assumption that the text was added to the wrong box is basically correct, only that's been done on purpose to give a specific experience. Don't worry about that. I can guarantee that the settings were not changed during battle. I've experienced issues with that before and I'm always careful to warn users before making changes. Fantastic news! Again, really appreciate all of your hard work. This is an amazing plugin and I'm looking forward to the updates. I already mentioned my workaround for player healing above, but I've also experimented with enemies that deal negative damage (essentially healing the player). This works, though it does open the door to over-healing the player above their max HP, so I haven't worked with it much. The shrine solution is much more reliable. Here are my settings for the shrine (green) and the healing creature (pink), if you're interested. I like the idea you have of the 'shrines', very clever. As for the attack order, the player does indeed attack first, but the image only shows the current HP, I assumed it was 0 BEFORE the attack, hence the miss.. The creature was successful, causing additional damage, but as you can't go below 0 HP, it was held. Though thinking about it, if you have 0 HP you shouldn't be able to attack anyway. Some more thought is needed methinks.
|
|
inherit
267029
0
Aug 9, 2024 14:55:15 GMT -8
Schodusk
20
October 2022
schodusk
|
Post by Schodusk on Apr 24, 2023 19:24:27 GMT -8
|
|
inherit
267029
0
Aug 9, 2024 14:55:15 GMT -8
Schodusk
20
October 2022
schodusk
|
Post by Schodusk on Apr 24, 2023 19:31:40 GMT -8
Also, one more feature request. Don't worry, this one isn't linked to any sort of issue, purely something I'd love to see in a future release:
Encounter probability
Right now all creatures in a group have an equal chance of appearing. 5 creatures means each has a 20% chance of appearing in the thread. The ability to tweak those numbers would be amazing. So for example instead of 20%/20%/20%/20%/20% I could change it to 40%/30%/20%/9%/1%, thereby making some creatures very common and others super rare.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Apr 29, 2023 18:21:20 GMT -8
Can you please install the Creature Hunt Stats plugin. You should then get a 'Key Data' link to the right of the Creature Info box at the top of your creature threads. Clicking that link will open a box displaying the current stats for that creature, can you please copy/paste that info either here, or preferably into a PM to me. Thank you. Also, one more feature request. Don't worry, this one isn't linked to any sort of issue, purely something I'd love to see in a future release: Encounter probabilityRight now all creatures in a group have an equal chance of appearing. 5 creatures means each has a 20% chance of appearing in the thread. The ability to tweak those numbers would be amazing. So for example instead of 20%/20%/20%/20%/20% I could change it to 40%/30%/20%/9%/1%, thereby making some creatures very common and others super rare. I will see what I can do.
|
|
inherit
267029
0
Aug 9, 2024 14:55:15 GMT -8
Schodusk
20
October 2022
schodusk
|
Post by Schodusk on Apr 29, 2023 18:43:44 GMT -8
Installed the plugin and PM'ed you the Key Data.
|
|
Arson
New Member
Posts: 8
inherit
141740
0
Jun 28, 2023 10:05:08 GMT -8
Arson
8
June 2009
arson
|
Post by Arson on Jun 28, 2023 8:12:35 GMT -8
Hello! I was curious, would you ever be willing to (for commission cost, of course) be willing to port this to jcink? Or assist with the port? I LOVE this pplug in so much and I believe it had so much potential!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 7, 2023 15:06:36 GMT -8
Hello! I was curious, would you ever be willing to (for commission cost, of course) be willing to port this to jcink? Or assist with the port? I LOVE this pplug in so much and I believe it had so much potential! I don't know the first thing about Jcink, and unless it had post, thread and personal keys that all function in a very similar way to what they do here on PB, then this plugin, at least the way it works now, would be impossible. That being said, I have only ever written plugins for ProBoards, and have been doing so a looong time, and with PB offering me the role of moderator, I do feel a part of the PB community, and have no inclination to write plugins for one of their competitors. Sorry.
|
|
inherit
266343
0
Nov 23, 2024 3:21:51 GMT -8
giovanni79
594
May 2022
giovanni79
|
Post by giovanni79 on May 4, 2024 1:19:03 GMT -8
ciao todge mi potresti spiegare a che cosa serve questo plugin che hai creato in pratica cosa dovresti fare devi combattere delle creature scrivendo i post nelle discussioni io nonostante ho letto alcuni post qui non ho capito bene come funziona se trovo che è interessante come gioco avrei lo spazio per installarlo ma prima mi dovresti spiegare in che cosa consiste
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on May 4, 2024 10:08:21 GMT -8
ciao todge mi potresti spiegare a che cosa serve questo plugin che hai creato in pratica cosa dovresti fare devi combattere delle creature scrivendo i post nelle discussioni io nonostante ho letto alcuni post qui non ho capito bene come funziona se trovo che è interessante come gioco avrei lo spazio per installarlo ma prima mi dovresti spiegare in che cosa consiste Questo plugin ti consente di cacciare, combattere o catturare creature durante la pubblicazione. Dovrai selezionare una bacheca su cui far funzionare questo plugin e selezionare chi può aggiungere creature alle nuove discussioni. Quando una creatura viene aggiunta a una discussione, puoi scegliere quanti hanno risposto alla discussione prima che la creatura appaia e la probabilità che appaia. Dopo che appare una creatura, chiunque scriva in quella discussione ha la possibilità di attaccare o ritirarsi. A seconda delle impostazioni del plugin, i tuoi membri possono avere punti ferita e, se permetti alle creature di vendicarsi, i tuoi membri possono farsi male. Nelle impostazioni del plugin puoi scegliere percentuali di successo, percentuali di successo, velocità di recupero, ecc. Il plugin mostra le immagini delle creature contro cui stai combattendo, quindi avrai bisogno anche di un host di immagini che consenta l'hotlinking. Il plugin viene fornito con istruzioni complete e la maggior parte dei problemi riscontrati dalle persone durante la configurazione di questo plugin sono già stati trattati da qualche parte in questo thread.
|
|
inherit
266343
0
Nov 23, 2024 3:21:51 GMT -8
giovanni79
594
May 2022
giovanni79
|
Post by giovanni79 on May 5, 2024 17:42:12 GMT -8
fammi capire per bacheca intendi una sezione suppongo quindi apro una discussione lì ci metto una creatura da attaccare e ogni volta che scrivo un post la creatura subisce dei danni in pratica mi potresti dire il tempo che una creatura può apparire a quanto può arrivare perchè vorrei che come regola si possa attaccare ogni dieci post scritti ma dovunque escludendo ovviamente dove si attacca la creatura così ci sarebbe tutto il tempo appena li ho scritti potrei non arrivarci in tempo un momento posso essere sul forum un momento no sarebbe stato divertente in compagnia questo gioco se ti devo dire la verità così si poteva fare che chi ci arrivava prima sferrava un attacco ma visto che ci giocherò da solo devo movimentare un pò il tutto certo che la pecora vampiro è proprio simpatica doveva averle mio padre le pecore così visto che una volta tenevano un pitbull con il suo amico e se le era mangiate quel cattivone veramente credimi va beh magari non ti interessa era per restare in tema volendo ci potrei mettere un pitbull come prima creatura da distruggere
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on May 7, 2024 9:42:57 GMT -8
Puoi avere una varietà di creature e consentire al plug-in di scegliere una creatura in modo casuale o limitarlo a una singola creatura. Per quanto riguarda l'attacco della creatura, hai la possibilità di attaccare o ritirarti con ogni risposta dopo l'apparizione della creatura, non riesco a farlo facilmente ogni 10 post, mi spiace.
|
|
inherit
266343
0
Nov 23, 2024 3:21:51 GMT -8
giovanni79
594
May 2022
giovanni79
|
Post by giovanni79 on May 7, 2024 14:07:30 GMT -8
va bene non ti preoccupare i post li conto io non è un problema per questo una creatura alla volta direi che può andare installerò il plugin più tardi e mi auguro di riuscire a impostare tutto bene nel caso che non riesco a fare qualcosa te lo faccio sapere
|
|