inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 3, 2016 2:43:20 GMT -8
Todge Thanks for letting me use the Awards plugin as a companion. I was going to split the key by pairs and run an index of the pairs for the character code of the number plus 174 and splice them together and blah di blah but I ended up just copying and pasting your popup code, removed the restrictions, changed the peeps and ids, hid the popup, simulated a click, saved the keys and re-did your document ready for the posting page. Which ended up working better for your notification plugin anyways.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 3, 2016 3:06:59 GMT -8
|
|
#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 3, 2016 3:24:54 GMT -8
Yes and no.. The reply at which the creature is set to appear is held within the thread key, but if the plugin is set for the creature to appear 'by chance', the key will only hold the reply number after which the creature could possibly appear. You can get that number like this.. parseInt(pb.plugin.key('creature_hunt').get()[1]); Odd. I guess that means by design when I reach the number of posts and have a 10 percent rate of a monster appearance I can keep refreshing the page until I get one. var posts = Object.keys(pb.data('proboards.post')) if(postID == parseInt(posts[parseInt(pb.plugin.key('creature_hunt').get()[1].split(' ')[0])])) This seems to work fine for reading your plugins intent. I really wouldn't have caught everything that I needed if you wouldn't have mentioned "by chance" lol. That and Key Viewer allows me to easily read and tap onto other people's keys. You can indeed... Originally the code sessionStorage to stop that anomoly, but I needed a way to test it on other forums, so that was removed, assuming that most users wouldn't suss that out. As a side note, won't the 'parseInt()' function erradicate the need for the '.split(' ')[0]'? Todge Thanks for letting me use the Awards plugin as a companion. I was going to split the key by pairs and run an index of the pairs for the character code of the number plus 174 and splice them together and blah di blah but I ended up just copying and pasting your popup code, removed the restrictions, changed the peeps and ids, hid the popup, simulated a click, saved the keys and re-did your document ready for the posting page. Which ended up working better for your notification plugin anyways. No worries.. And cool. I'm not sure it will effect you, but you are aware that the notification plugin has recently been updated to include the awarder, and a reason?
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 3, 2016 14:02:29 GMT -8
Odd. I guess that means by design when I reach the number of posts and have a 10 percent rate of a monster appearance I can keep refreshing the page until I get one. var posts = Object.keys(pb.data('proboards.post')) if(postID == parseInt(posts[parseInt(pb.plugin.key('creature_hunt').get()[1].split(' ')[0])])) This seems to work fine for reading your plugins intent. I really wouldn't have caught everything that I needed if you wouldn't have mentioned "by chance" lol. That and Key Viewer allows me to easily read and tap onto other people's keys. You can indeed... Originally the code sessionStorage to stop that anomoly, but I needed a way to test it on other forums, so that was removed, assuming that most users wouldn't suss that out. As a side note, won't the 'parseInt()' function erradicate the need for the '.split(' ')[0]'? Todge Thanks for letting me use the Awards plugin as a companion. I was going to split the key by pairs and run an index of the pairs for the character code of the number plus 174 and splice them together and blah di blah but I ended up just copying and pasting your popup code, removed the restrictions, changed the peeps and ids, hid the popup, simulated a click, saved the keys and re-did your document ready for the posting page. Which ended up working better for your notification plugin anyways. No worries.. And cool. I'm not sure it will effect you, but you are aware that the notification plugin has recently been updated to include the awarder, and a reason? the [1] contains 'Post# Appearance%' so .split(' ')[0] gives me Post# Yeah I removed all of that If you must have a reason junk, Went for the else statement that just pushes the notification anyways. From what I saw the reason is just optional. Saying that it was given by "Event" instead of the users name should be reason enough lol. (which I have changed on my local copy but haven't updated yet)
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 3, 2016 14:17:08 GMT -8
Yeah I thought it a little Yippy Skippy but I assumed since it initiates all of the trophies and then passes only the trophy variable to a global variable under my control it would allow me to postpone awarding trophies until the event was ready. Which by design yours are more for page load. I'm glad I got confirmation that you make trophies easier as you update it. If I can allow users to make as many trophies as they want - It's gotta be easy. Although I didn't spend much time understanding the init function for storing data in the key. I'll wait until that is more necessary.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Apr 3, 2016 14:40:34 GMT -8
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 4, 2016 23:55:21 GMT -8
Pretty much, if possible. Then I could have things like "the monster attacks you" and "you tripped and are temporarily stunned" and other fun events that would affect the battle but wouldn't make sense outside of the creature hunt. Try the newest link and see if the interests notification center works (must insert admin number) I haven't tested but see if that looks right to you.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 6, 2016 4:27:53 GMT -8
|
|
inherit
223470
0
Feb 27, 2019 17:05:53 GMT -8
₪» ⅀ ƪ Ƒ «₪
Original registration date: 2007. DeviantART: http://deviantart.com/ruanly. Discord: Ruanly#7946.
1,281
July 2015
fajita
|
Post by ₪» ⅀ ƪ Ƒ «₪ on Apr 7, 2016 1:29:23 GMT -8
Pretty much, if possible. Then I could have things like "the monster attacks you" and "you tripped and are temporarily stunned" and other fun events that would affect the battle but wouldn't make sense outside of the creature hunt. Try the newest link and see if the interests notification center works (must insert admin number) I haven't tested but see if that looks right to you. Seems to be functioning perfectly! The notification looks great, it worked the first try, it links right to the event.. I'm loving it! EDIT: Oops, I take a bit back. It does have one error I just now noticed. It doesn't appear to have an X for me to cancel/delete the notification about an event
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 7, 2016 1:35:11 GMT -8
Try the newest link and see if the interests notification center works (must insert admin number) I haven't tested but see if that looks right to you. Seems to be functioning perfectly! The notification looks great, it worked the first try, it links right to the event.. I'm loving it! EDIT: Oops, I take a bit back. It does have one error I just now noticed. It doesn't appear to have an X for me to cancel/delete the notification about an event Thanks for testing. The missing x is unrelated to this plugin. That should be handled in the next edition of Interests Notification Center for more theme support.
|
|
inherit
220732
0
May 11, 2023 17:45:44 GMT -8
saltin
237
April 2015
saltin
|
Post by saltin on Apr 13, 2016 18:16:58 GMT -8
Hi everyone, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ I really like the potential applications for this plugin so this is a features request.Is it possible to add: 1/G roups of events that only apply to certain threads as opposed to boards.Use:I have a single Role play board where multiple games with wildly different themes concurrently run.So obviously I dont want a spaceship event to happen in a stone age war game. 2/ Add permission for non-admin member to add/modify events I would like the regular non-staff membership that are game masters to be able to add and modify events,or else it would be too time consuming for a single admin to have to manage multiple events for multiple RP games. My site: european-war-4.boards.net
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 14, 2016 5:27:01 GMT -8
Hi everyone, P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ I really like the potential applications for this plugin so this is a features request.Is it possible to add: 1/G roups of events that only apply to certain threads as opposed to boards.Use:I have a single Role play board where multiple games with wildly different themes concurrently run.So obviously I dont want a spaceship event to happen in a stone age war game. 2/ Add permission for non-admin member to add/modify events I would like the regular non-staff membership that are game masters to be able to add and modify events,or else it would be too time consuming for a single admin to have to manage multiple events for multiple RP games. My site: european-war-4.boards.netI'll add feature 1 to requests. I don't know how to fix your issue for number 2. Allowing people to modify the event text on a post wouldn't be too hard I suppose. In regards to adding events, that would be possible when multiple events are supported. (to posts directly) But in regards to non-admin adding there own custom events to threads, this will not be possible in the main plugin. Perhaps an extension for the future that adds a thread key to threads that saves special thread-only events editable by specified users could be in order. But that means they would only be able to specify 20 (max) random events to happen on that thread. (Which in reality isn't that much)
|
|
inherit
220732
0
May 11, 2023 17:45:44 GMT -8
saltin
237
April 2015
saltin
|
Post by saltin on Apr 14, 2016 11:06:01 GMT -8
Great,so some of this might be possible to implement in the future then.I think it would add a lot of possible use and value to your plugin.Anyways,thanks for your attention.
|
|
inherit
159810
0
Jan 27, 2017 10:02:16 GMT -8
bokystroki
15
November 2010
bokystroki
|
Post by bokystroki on Apr 18, 2016 9:18:30 GMT -8
I have a small request, I do hope it's not too hard! I was wondering if there was a way to make it that someone can potentially 'reject' a random encounter. So, if it comes up saying: "You've run into a random encounter, do you accept your fate?" Users can have the option of hitting a 'yes' or 'no' option.
Thanks in advance!
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Apr 18, 2016 10:05:57 GMT -8
I have a small request, I do hope it's not too hard! I was wondering if there was a way to make it that someone can potentially 'reject' a random encounter. So, if it comes up saying: "You've run into a random encounter, do you accept your fate?" Users can have the option of hitting a 'yes' or 'no' option. Thanks in advance! What would be the purpose of rejecting your fate? I think that would ruin the purpose of the events giving you stuff.
|
|