![]() |
Looks great bitsys, I might consider an installation on my localhost forum just for fun :p The design looks great, and I can tell you're an experienced coder. From most other battle-hack designs I've seen, this is so far the best. ;)
By the way, how query efficient is this hack? |
Sorry to bother you again Bitsys, I don't know if it's a bug, but it looks like one.
I cannot "wager" anything, not even 0 |
Velocd:
I have optomised the queries as best I can, including re-doing parts of the itemshop to make it more query efficient. For example, if you look at the picture title "itemshop_generic.jpg", you will notice that there is only one item category displayed. For each item category, there is one query that must be made. In order to save queries, I made it so that you have to click the "expand" link next to the Category name (in the picture, the link is yellow). When you click the link, the page refreshes with the selected category appearing in an "expanded" view at the top of the other categories, and the category that was expanded before becomes "compressed". The reason I did this is because the Generic Item Type page is the default page whenever someone visits itemshop.php. Some people were noticing that itemshop.php eats up quite a few queries. My solution was to have the Generic Items get contracted and all other item types (see itemshop_warrior.jpg) to be automatically all-expanded. Also, the files that I made (the battle hack files) have been optimised as compared to earlier version. I believe I eventually got battlefight.php down to 18 and battle.php to 7 or 8. Battle browse is 9 I think. I don't know about battleupdate.php though, since there are so many combinations of things that it could do based on how a user attacks. Also, whenever you view the bank, there are now around 8 queries, whereas before there were 21, I think. Overall, there may be some more places for improvement and I will be looking into that a little more. geniuscrew: Could you post the exact error message you are getting? |
Bitsys
So far your .53 verison work great. Several members and I test your hack and will let you know more. Anyway There are three things that I d like to bring up about.. First of all.. What is Ma, PP, and AP? I always like old classic rpg stats anyway I need to know what are these so I can change to old classic rpg stats. Thanks Second, Check Stats and Donate link (javascript) it s bit annoy me whenever I click these link and bump me to top of the thread. I wonder is there any way for me to stay where I am when I click the link? Thanks Third, One member want me to ask you, will it affect the queries if I add text and graphic stats both in postbit? Again, it is old classic rpg looks. I like it but I m not sure if it ll increase more queries or not. Pls lemme know. Many thanks! I ll come again if I have some QQ or suggestions. |
Quote:
PP = Power Percentage/Points. Currently, this does not affet the battle, because I have not implemented any kind of special moves for characters. However, in the future, this will act like a sort of "special attack" pool from which the character can draw upon for special attacks. This is subject to change. AP = Anger Percentage. This is how mad your character is. When it reaches 100, your character does 10%-X% extra damage, based on your level. Your character gets mad when he/she misses the opponent in battle, or when the opponent dodges, or when he/she fails to do any damage to the opponent. Quote:
Quote:
Let me know if you have any more questions. :) |
Many thanks for answer these questions =)
About Javascript, I ll check it out tmw to find a solution to see if I can solve and will let you know. Anyway I wonder is there any way for me to edit php or whatever to change the percent of increase hp, ma, pp, and ap? To slow these down I guess =D I just want to play with these a bit more. In any way, it is great hack and excellent work! Thanks! |
Quote:
In update.php find: PHP Code:
To adjust the amount that HP goes up, change the "75" to a number of your choice (a smaller number will make it go up less, since you are multiplying). To adjust the amount that MA goes up, change the "5" to a number of your choice (a greater number will make it go up less, since you are dividing). To adjust the amount that PP goes up, change the "3" to a number of your choice (once again, a greater number equals less PP). This change should apply retroactively once a user update's their stats. So, you shouldn't have to make a new character to test your changes; just keep updating your stats and notice the difference each time. Is that what you wanted to do? |
Excellent, finally a working battle script, even if its beta. Ill get a test board up later tonight and test this ;)
|
I'll probably install it, but I better be sure and change MA to MP :) MP just looks better and more FFish lol
EDIT: And yes, I am crazy enough to install this on a production board. :D |
Bitsys , yes thats what I want =D Sorry for not clear. I post these by appox 3 am.
Many thanks! |
All times are GMT. The time now is 06:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|