Quote:
07-12-03 at 07:32 PM kaotic said this in Post #1981
Welcome back. Thanks for the tip, but adding
before
Didn't work. I'll tinker with it a bit more, though.
|
Darn, I was hoping that would work. I will check in to it some more.
Quote:
07-12-03 at 07:43 PM Airs said this in Post #1982
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 [/B]
|
A unique class can be given to any mod or admin by setting its visibility to 0 in the Edit Classes Menu. Unfortunately, you can't give a single class to a single person.
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:
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.