![]() |
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! |
This would be one hell of an X-mas gift for my members if this hack goes out of beta before 12/23 :P
Altho not very probably due to the size of the hack and possible bugs it might have ;) |
Seem that I miss one thing, is there possible for me to tweak fast or slow increase percent of exp? Thanks in advance
|
:ogre: im always getting
Your opponent is ineligible for battle at this time. or You are ineligible for battle at this time. Please try updating your stats in the User Control Panel. pls help |
does this ONLY work on 2.2.7+?
2.2.6 work at all? |
Goldknight:
I will include that feature in the next release. It will be editable in the admin cp. corsacrazy: Did you read this post? https://vborg.vbsupport.ru/showthrea...672#post328672 Vivi Ornitier: I have not tested this on 2.2.6 because I do not have a copy. Feel free to set up a test board of v2.2.6 and give it a shot. If it does work, let me know and I will update the thread accordingly. If not, let me know what went wrong and I might make a separate version for 2.2.6. The next version (v0.55) will hopefully be released tonight. It will include many bug fixes and some new features. I am currently testing it on my test board. |
Ok, I have many questions for Bitsy, 1 how do you make a link so people kno where to go for these battles. Also I want to kno why for instance my stats like attack and speed are all at zero. DO i need to battle for them to go up? An example of my forum is here http://forums.ani-pro.com/vb/index.php
|
jags, why are you running a new install of 2.2.6?
|
Nice work, it'll be great if the full release works ok w/ Zaj's...His is one I've been anticipating...
I got a chance to test out Zajako's new Battle Hack, and let me tell you people, IT'S PURELY AMAZING... It still needs work, but for what he has so far, it's like nothing you've ever seen before...Like a FULL RPG... This looks pretty cool too, so when both are final releases, I'll probably install them both... |
When I wage anything it says
Processing battle You do not have 2 gil to wager But I have 20 gil! |
jags2ooo:
When you create a battle, you should receive a PM giving you a link to the battle. If the link does not work, then please re-read the install file (step #1). You can also find a list of battles on the Battle Browse screen (link from battle.php). kmfdm_kid2000: I have tested his hack. We have also traded template names and database tables. So far, the two hacks are compatible with one another. geniuscrew: You must have money in the bank in order to wager. The money is taken directly from the bank. I did this to prevent cheating. I will see if it is OK to pull money from your pocket and I will update it accordingly. |
Thanks a lot for your help! That explains it then :: goes off to test battle system ::
|
I have put 10 gil in the bank, but
- it says Bank Deposit:, then nothing after the colon - is there meant to be something there? - it says Total Bank Property: 0 and Total Bank Clients: 0 too even though I've put some money in the bank. Also, it's still not letting me fight [You do not have 3 gil to wager] Edited: Now I can't take any money out [The amount of money you entered is invalid!] i'm using a fresh 2.2.9 install btw |
Yes, it is supposed to look like the screenshot "itemshop_generic". Make sure that you are logged in. Also, can you create a battle by specifying $0 as the wager?
|
Problem fixed
|
To give users gil in the admin CP, go to "Find Users". Click on "List All Users". Find the user you want and click the "Edit" link. At the bottom, you will see a field called "Points". Put as much gil as you want in that field and click "update".
To solve your "I can't use items in battle" problem, do the following: In admin cp, go to "Edit Items". Look at a category name. Click on the edit link next to that category. Make sure that there is a battle type associated with that item category. Make sure that the amor and accessories have a check mark next to them under the Generic item type (in the "Edit Item Type" menu in the admin CP). If they do, and you still can't see them in the itemshop, then let me know. The next version will fix this by assigning everything to generic as the default. |
Hey Bitsys freat hack.. I'm installing it now. May I please talk to you on AOL Instant Messenger? My screename is glennelmo. Please, I'd like to ask you something on there. Thanks for the hack :)
|
Thanks for answer
About gil, oops you re right. I miss that one. Again sorry to waste your time.. I know how annoy I am right now =\ As for Itemshop, I still cannot see Armor or Item at all, my member still can see it or buy it. Yes I did mark all of checkboxes in Generic and still not work for me. As for battle, I cannot do anything since my member is gone for while. I ll let you know more right after test the battle for Weapons to attack. Many thanks |
did you click expand next to Armor or Accessories? and u need to set items to generic or whatever to see them
|
thats not the problem, i had 2 members register befor i installed it and 1 after. they all bought 1 of each item without a problem. well all fought without problems
|
go on your msn messenger or whatever. i added Goldiknight@hotmail.com to my list
|
Thanks to DarkDraco to clear everything else. It s work perfect now. Thanks to him/her and Bitsys =)
|
im a him!!
|
Okkk sorry =( you re HIM
|
hey bibsys, a question. was the "pm when its your turn" gonna be in v55?
|
Edit again:
My alignment changes back to Unknown for no reason. Running on a test board v229 |
No I am not using 2.2.6, I am using 2.2.8, it only says 2.2.6, i have to update the image. Well you did not answer my question, why are all the stats empty. Speed, Magic, etc are all set to 0, why is that? and when everyone punches it never hits!
|
v0id:
What other options did you select in the user cp? What race? What class? What gender? etc. jags2ooo: Stats are empty until you select a gender, alignment, class, race, etc. in the user control panel. Punches don't do any damage right now because they would be unbalanced if they did. Right now, they should be used as an "I skip this turn" type of move. I am working on a balanced amount of damage for using your fists. One idea I had was to make it so that if you attack your opponent with your fists, and he is not wearing armor, then you have a chance of doing damage. If you try to punch your opponent and he is wearing armor, then you have a high chance of injuring yourself. v0.55 is almost done with testing and should be ready for release soon. It will not include the "PM when it is your turn in battle" feature, yet. |
Bitsys or Darco
Right after good sleep, I rechecked everything else and rpg battle work perfect. But one thing I still cannot figure (Darco, I tried!) the spells. How can I get it to work? Is there any way for me to add new spells? Thur Add Item category/ items or ? In battle, I choose Black mage and still cannot access "spells" attack since its grey out. That is my very last QQ... |
for those of you wanting to see a test board with this working on it check
http://www.twisted-revoltnetwork.com/testvb oh, if your not loggedin you cant view the battles... GoldKinght: To do spells you have to make one in the Itemshop and sell it. You can only have one spell at a time right now though.. maybe he will fix that in a future version. |
Elements screen
|
All times are GMT. The time now is 04:20 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:
|