#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
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.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Jun 25, 2023 10:41:15 GMT -8
Well, you can get the forum URL with this..
var forum_url = pb.data('forum_url');
As for the post number, there are a couple of ways, but the post's TR id is as good as any.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on May 12, 2023 17:21:12 GMT -8
This will allow your members to create a gallery for themselves where only they will be able add pictures and comments. You will need to create a board to be used for your galleries and assign that board to the plugin. Moderators can edit the comments or delete the image, but they can not edit the images. PluginDirect linkCurrent Version 3.1.2With version 1.2.0 and above you have the option to allow comments, but if you want that option you will need a key.. To create the needed key, install this plugin and ensure it is ABOVE the Member Galleries plugin in your plugins list. View AttachmentYou can also get a notification for new comments in the title bar with this plugin. View AttachmentYou can change the key permissions, the following settings work for me.. Read Permissions set to EveryoneWrite Permissions to Members and StaffI don't know how to find the delta between v3.1.1 and v3.1.2. Please point me to the change list. There is no operational difference between V3.1.1 and V3.1.2, it was just to fix a spelling mistake and to delete unused code that was left in the plugin after previous changes.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
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.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 29, 2023 18:10:40 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 29, 2023 5:18:19 GMT -8
Please try this version of the plugin. It is updated to work with V6 but is compatible with V5, and includes the width attribute for images. As for the censored words filter, you are right, as far as I'm aware text cannot be run through PBs censored words list via a plugin, and I'm not so sure it would be legal code if it could. The best I can do is add a censored words list to the plugin itself, which you would obviously need to fill in with your censor list. I tried that version of the plugin, and it displays the IMG tags with the width attribute as plain text. Make sure that the previous version is no longer installed on your forum. If it isn't, and you are still not seeing the resized images, please leave a link to your forum and make sure guests can view posts that contain the offending signatures. Thank you.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
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.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 23, 2023 9:43:19 GMT -8
I have this plugin on my forum, and it works pretty good. However, it is able to bypass the swear filter in the signatures. And also image widths don't work. Can I get help on how to fix this? Please try this version of the plugin. It is updated to work with V6 but is compatible with V5, and includes the width attribute for images. As for the censored words filter, you are right, as far as I'm aware text cannot be run through PBs censored words list via a plugin, and I'm not so sure it would be legal code if it could. The best I can do is add a censored words list to the plugin itself, which you would obviously need to fill in with your censor list.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
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.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 22, 2023 9:02:10 GMT -8
While it is not possible for a non-staff member to move a thread, there is a plugin that will allow a 'normal' forum member to mark a thread as important. Important threads can then be listed at the top of the forum on every page linking to the thread in it's original location. Important Threads
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 22, 2023 8:41:34 GMT -8
Hello! Is it possible to have the music player only play music on a specific board and not also on the mainpage? Also, would it be possible to hide the warning of when the music starts to play? This plugin does not have a warning when the music will start, it only plays the music when the user chooses to do so. Do you mean the Music Player (3.0.1) plugin?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 10, 2023 2:17:47 GMT -8
Thanks Todge. Just to be clear: select gallery (thread), then Actions | Moderate | Delete thread, yes? Yup, That will remove the entire gallery(s) that you have selected.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 9, 2023 4:33:17 GMT -8
I never noticed before, but a member asked if they could change the name of their gallery, and it appears that that can not be done. Is that true? Is there even a way for anyone to delete a gallery? OK, I figured out that you only need to edit the first gallery item to change the name of the gallery (head slap on that one!) Also, if every image in a gallery is deleted the gallery is apparently deleted. Is there an easier way to do that?
There sure is.. Try deleting the gallery from the thread list page, just as you would delete any thread from a normal board.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Apr 1, 2023 10:11:53 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?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Mar 27, 2023 9:12:14 GMT -8
Thanks once again Todge . Yes, it sounds like that plugin is the way to go. No worries..
|
|