![]() |
lol, the variables arent defined in the index.php page :-p
|
Ive installed this hack and everything seems to be working correctly but Im having one small little error. In my profile, where people are supposed to set their stats, the race, gender, biography, ect. forms appear once at the top, and once at the bottom. The only one that works though is the one at the bottom. How do I get rid of the one on the top?
|
ff8_bomb
its a cosmetic hack for your profile, you have to go into the template for your profile, having brain fart, as to which one, and edit it. there are two sections you delete in the top one that removes the top rpg name, and some double code that has the rpg info at the top of the profile. I'm going to reinstall it again soon, when I do I'll post a link for the changed code... in the mean time I have a weapons and armor art upgrade I'm working on.. Bitsys, how stable ya think the next release of the battle system will be? any new addons or just lots of bug fixes? :) |
For some reason, my users' stats arent showing up at all. It keeps saying their at 0 HP and everything else, but mine works fine. Why is that?
|
I have a problem with the Battle.php. Whenever I try to create a battle, it won't remember the battle password I specified. For an example, my private message I get is:
Quote:
I'm running vB 2.3.0 The hack is installed on a production board because I'm part psycho. :confused: |
eh, sorry...but just what exactly were you looking to put up on index.php? the latest battle? i myself am getting sick of editing my index.php, there are 118 queries on it ^_^
|
*Raises hand*
I would be very interested in adding this to my front page as well... sort of a news ticker type-thing that displays the last five battles--with the appropriate character images for each character, names, battle name, and a link to the battle. T'would be very spiffy indeed. :) |
Quote:
More explination please... |
FF8 Bomb, other with this problem...
This will fix the dual fields problem in your edit profile. Please read the attached text file. Let me know if you have any other problems. You should have a full install of the battle system on your forum before adding this. If you have other changes to your "modifyprofile" make sure you make note of it. As Always make backups of your forum database before installing anything. |
Quote:
|
118 queries on forum home? You are killing the server! My server starts to die at 100!
|
thank you great hack
/me hits install. |
Here's a couple of things I'm curious about...
-Would a Item Trading or PvM feature be possible to create? -What is the query used to purchase an item? Help would be appreciated. :) Edit: Another question. :) Item categories (with exception of the top one) are automatically collapsed if you are "Generic Type". If you are another RPG type, the rows are automatically expanded. How would I go about having them collapsed to begin with, rather than expanded? |
Anyone know / think this hack is stable enough for a production environment?
Also, does this come with a clan system? |
Several large message boards already utilize this hack. I would say it's good enough for a production board.
And there is somewhat of a clan system. They're called "Alignments" in this case. I believe the default alignments are "Good" and "Evil" but you can set the clan name as an option. If you have a clan called "RPGers" add a new alignment called "RPGers" and anyone will be able to choose to be Good, Evil, or RPGers. :) |
I'm personally waiting to see how stable the next update is and to help with any bugs, but I think it's getting close to production server level.
Depends on how well you know php/mysql/html editing your self, to fix anything that still might be buggy. |
Quote:
Alright, thanks for the help guys. So these alignments can only be created by admins? Might work... I take it there's also a money system. |
I got the password problem solved by doing that key to key1 variable change. I did install it on a production board because my friends thought the hack kicked ass. After testing out the battle system (which went with no problem!), my friends all want to battle each other (I had to ban one of my friends for spamming the forums though. I even gave him a second chance to repent).
Great work on a great hack :D |
Alright, I've installed it on my boards and everything seems to be running smoothly. Had a small problem with the battle though, it said I didn't have a weapon....
|
You have to go to "Edit Item Type" (or something simliar) via your Admin CP, and check each item to fit your type. The default type = Generic.
|
They are all checked, and still can't use weapons or items, still says I don't have them.
|
lol, yes i would say its okay enough for a large active forum^_^ ffgon is pretty huge, and its been working fine...although ive had to tweak some thigs here and there, and im not sure what good any updates would do me unless there were official addons applied or something, lol. it is finally stable on mine :-p
|
Been working fine for a month on my boards... 10,000+ members and over 1500 battles so far.
Sure, there are SOME glitches, but we've been able to work through them all, and nothing has been serious enough to jeopardize the boards. |
I have a little problem with the hack--nothing major, but a weird occurance.
Several of my older members, the mods, have less hitpoints than members of quite a lower level. Our site is, so far, still in the beta testing phase, and fairly new, so noone is very high level yet, but it appears to be a trend that will continue and get far, far worse as the levels do go up. Our main programmers are not available for a good period of time because of IRL issues to go into the codes and find out, so I came here to ask the source. After the stats are updated, it looks like this for certain users, names will not be used. Most of the mods are about the same level and HP count, and from extrapolating with other mods and members who have been around since the begginning as opposed to new members, it appears that the trend carries through. The mods are all using superior classes, and the race, elements, weaponry, etc of the two example users are all the same. Level 44 Mod 1582 HP Level 35 Member 1880 HP |
its based on posts per day and how long youve been registered O.o which in my opinion, screws up amounts far too much, so i rewrote it to be more linear
|
Quote:
What do you mean by unique character? A unique class? Or a unique race? Or what? You can add more stats, but only through code edits and database changes. There is no way to add stats through the admin cp. Quote:
PHP Code:
log10() is a function that does log base 10 to the passed variable. rand() is a function that generates a random number between the two passed variables. * is the multiplication symbol So, here is how it works with a level of 15: $damage = log10(15) * 30 + rand(-15 * .15, 15 * .15) + 1 $damage = 1.176 * 30 + rand(-2.25, 2.25) + 1 (Assume the rand() function returns 1.8) $damage = 35.2827 + 1.8 + 1 $damage = 28.0827 (round down to the nearest whole number) $damage = 28 Quote:
I just re-wrote the entire money check code in battle.php. I think I fixed all the bugs it had. If you want to try the code I just wrote, do the following: In battle.php, find: Code:
// Check to see if the combatants have the specified wager Code:
if($wager > 0) Quote:
Try the code fix I did above and wait for the next update. I changed some of the code for this. Quote:
That would require a custom hack. Quote:
Have the user's updated their stats in their profile? Does this happen to everyone but you? Have you tried running DB Fix? Quote:
Quote:
PHP Code:
Quote:
In itemshop.php, find: PHP Code:
PHP Code:
Quote:
Quote:
Quote:
In the Auto-Update Stats add-on (newthread.php, newpost.php), and member.php, find: PHP Code:
PHP Code:
|
Welcome back. Thanks for the tip, but adding
Quote:
Quote:
|
Quote:
A unique class, and as for the stats thing *sorry to bother but im really sorta learning php still* can you like tell me what files are necesarry to edit to make it happen? Thnx for the answer and wb :) |
I keep getting this emailed to me - I think it is due to using spells or potions -
Invalid SQL: SELECT items_user.item5,items_user.itid5,items.type,items .extra FROM items_user LEFT JOIN items ON items.itemid=items_user.itid5 WHERE userid='10' mysql error: Unknown column 'items_user.item5' in 'field list' mysql error number: 1054 |
Quote:
Quote:
In order to add a new stat, you would have to change quite a few files. Off the top of my head, they would be member.php, rpgcp.php, battlefight.php, battleupdate.php, newthread.php, newpost.php, heal.php. Some of those are optional though, depending on what you want the stat to do. You would also have to change all the templates where the stats are displayed. Adding an additional stat is not an easy feat. Quote:
|
quote:
Yesterday at 01:02 AM mjp1111 said this in Post #1983 I keep getting this emailed to me - I think it is due to using spells or potions - Invalid SQL: SELECT items_user.item5,items_user.itid5,items.type,items .extra FROM items_user LEFT JOIN items ON items.itemid=items_user.itid5 WHERE userid='10' mysql error: Unknown column 'items_user.item5' in 'field list' mysql error number: 1054 At any time did you switch an item category from personal to public or vice versa? Do you recall any changes you made to the item categories before this happened? An easy solution would be to add those columns back to the items_user table, but I would rather figure out why this happened. I don't think I switched categories. The only new categories were shops created by users. I changed the battle type - I have narrowed it down - it is the Spells that don't work. I changed the items to Potions and it worked fine, but whenever I select Spells, everything just dies. |
This thing is also bugging me - battles are working fine apart from the spells thing as per last post, I've updated stats repeatedly, but postbit info shows up as -
RPG name: N/A Level: 2 Alignment: Race: HP: /206 Alive Not in battle. Check Stats :--- i.e. RPG name, X/206 HP and :--- all refuse to show up - any ideas? |
Quote:
What happens when you change the spell category to something other than spells? Does the error still occur? Wait, before answering those questions, try the following: In battlefight.php, find: PHP Code:
PHP Code:
Quote:
|
That fixed the spells!
<edited to comply with forum rules> |
DBFix didn't fix it.
|
Quote:
In showthread.php, find: PHP Code:
PHP Code:
|
OK - sorry - I'll edit my post and remove it.
Thanks too - very much appreciated. |
Drat - it didn't do anything.
|
Quote:
|
Sure - forum is at http://www.ffx2.com/vbulletin/ or jump straight to a post here http://www.ffx2.com/vbulletin/showth...hp?threadid=28
|
All times are GMT. The time now is 04:00 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:
|