Former Member
inherit
guest@proboards.com
177794
0
Nov 22, 2024 15:22:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 27, 2014 7:38:34 GMT -8
@greedsins, I have added the attack function and tidied everything up a little.. You can download the new version from the same link as before. Ignore the extra tabs in the plugin, they will be removed once it's been finished. Awesome! Ill be testing it later today after I get home from work! Cant wait!
|
|
Former Member
inherit
guest@proboards.com
177794
0
Nov 22, 2024 15:22:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 27, 2014 8:10:39 GMT -8
@greedsins, I have added the attack function and tidied everything up a little.. You can download the new version from the same link as before. Ignore the extra tabs in the plugin, they will be removed once it's been finished. Hi Todge! I ran a quick test and i'm running into some problems. The text doesn't seem to want to wrap so it cuts off half the attack text and seems to be pushed aside by my signature. Also would there be a way to take out the additional pop ups aside from the first one that's like the intro and just have the damage/attacks/misses show up in the posts? ^^
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Jul 27, 2014 8:39:00 GMT -8
Could you please PM me the settings you have in the plugin so I can see what you mean..
As for the first pop-up after you attack, that is there as a fail-safe to stop members from ignoring their attack if they do not like the hit points they get. Keys can only be written to after a member action, in other words, a mouse click, therefore, although the HPs have been worked out, they are not recorded until the member clicks the mouse, so the first pop-up is there to ensure the HPs are recorded before they are displayed.
I can remove that pop-up if you wish, but there will be the possibility that attacks may be ignored, especially if the member knows what they are doing... 'Tis up to you.
|
|
Former Member
inherit
guest@proboards.com
177794
0
Nov 22, 2024 15:22:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 27, 2014 11:44:49 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Jul 27, 2014 15:10:07 GMT -8
Thank you.. Can you please try version 0.1.1 from the same link as before..
The text wrapping should now be sorted out.
|
|
Former Member
inherit
guest@proboards.com
177794
0
Nov 22, 2024 15:22:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 27, 2014 22:30:26 GMT -8
IT works!! IT works like a charm! I did two whole test threads and so far no probs! Ill keep running tests and then ill do a dry run with the other admins. But so far its just like i had hoped! Exquisite work Todge! I really appreciate you working with me!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Jul 28, 2014 9:21:33 GMT -8
Not a problem, and I'm glad you are happy with the results so far. I'll wait a while for you to do a full test, and if you are still happy with it at the end I'll tidy everything up, and if you wish, will submit it to the library. If you'd like anything added, just ask and I'll see what I can do.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 28, 2014 20:49:08 GMT -8
I'll test it also on Devils Tears once I've finished my profile modifications
|
|
Former Member
inherit
guest@proboards.com
177794
0
Nov 22, 2024 15:22:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 28, 2014 22:21:54 GMT -8
Not a problem, and I'm glad you are happy with the results so far. I'll wait a while for you to do a full test, and if you are still happy with it at the end I'll tidy everything up, and if you wish, will submit it to the library. If you'd like anything added, just ask and I'll see what I can do. My fellow admins are testing it now. The only thing I noticed if its not too much trouble. Can the attack button be added to the Quick reply too? ^^ I also had a question about swarms? I tried to set it up like each small creature was killed in one hit. But I had to set the life really high since the general settings are set for a single creature. Making it seem like there were hundreds. While there are some that attack in a huge army. What would you recommend I use for say only ten enemies? Also how much space does the key that holds the attacks/misses have? ^^
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Jul 29, 2014 13:22:56 GMT -8
I'll add an attack button to the QR asap..
As for the swarms, I thought that the HP would indicate the amount of creatures in the swarm, that would also mean a one hit kill for each creature, but I forgot about the attack.. I guess that each attack would need to be, say, divided by 10, so that between 1 and 10 creatures would be slain by a successful attack.. I may have to redo a little bit of the code to take that into account.
The 'attack key' holds a total of 4000 characters, that includes the image URL, but that info is duplicated in the thread key too, which also has a 4000 byte limit, which also holds the data for the creature group, name, HPs, miss rate, reply number etc, so I would limit the notifications to around 2000 - 2500 characters each, just to be on the safe side.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Jul 29, 2014 14:47:10 GMT -8
The attack button has been added to the quick reply.. Same link as before.
|
|
Former Member
inherit
guest@proboards.com
177794
0
Nov 22, 2024 15:22:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 29, 2014 15:18:59 GMT -8
I'll add an attack button to the QR asap.. As for the swarms, I thought that the HP would indicate the amount of creatures in the swarm, that would also mean a one hit kill for each creature, but I forgot about the attack.. I guess that each attack would need to be, say, divided by 10, so that between 1 and 10 creatures would be slain by a successful attack.. I may have to redo a little bit of the code to take that into account. The 'attack key' holds a total of 4000 characters, that includes the image URL, but that info is duplicated in the thread key too, which also has a 4000 byte limit, which also holds the data for the creature group, name, HPs, miss rate, reply number etc, so I would limit the notifications to around 2000 - 2500 characters each, just to be on the safe side. If it could have a separate setting for swarms that would be neat! Oh i see. So 2500 for all notifications in total then. Ill have to make the attacks a little less elaborate then. ^^ Thanks!!! Ill keep testing and let you know!
|
|
Former Member
inherit
guest@proboards.com
177794
0
Nov 22, 2024 15:22:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 30, 2014 6:54:57 GMT -8
TodgeHey Todge. I had an idea. You know how you can add [HP] to the attacks and it brings up the creatures damage? Would it be possible to add in another line of random numbers that does not need to be recorded? Just a random number between 10 and 100? My idea was this. I have an arena that uses a simple random number generator. Players can fight one another and start out with a set number of HP. They type in an attack and click "attack" and the plug in pops up with number and the players deduct that from their total themselves. I was thinking I could add this to the creatures counter attacks so the players would have more of a challenge since if they run out of HP they too would be out or badly damaged. All they need to do is keep track of how many HP they have left. You can check hereand here to see what I mean. ^^ If it could be done it would make it even more perfect!
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,323
January 2004
todge
|
Post by Todge on Jul 31, 2014 14:59:12 GMT -8
That shouldn't be a problem.. I'll add [RAN] or similar for a random number that you can add to the attack notifications..
As for the key length, that is per post, not total.. Each notification can be up to 2500 characters in length, probably more if you wanted to risk it.
|
|
Former Member
inherit
guest@proboards.com
177794
0
Nov 22, 2024 15:22:28 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 31, 2014 17:32:47 GMT -8
That shouldn't be a problem.. I'll add [RAN] or similar for a random number that you can add to the attack notifications.. As for the key length, that is per post, not total.. Each notification can be up to 2500 characters in length, probably more if you wanted to risk it. That is great news! It just made my week! Thanks so much!! I cant wait to try it!
|
|