Log in

View Full Version : RPG Integration Hack /w Battle (BETA)


Pages : 1 2 3 4 5 6 7 8 [9] 10 11

Areku
07-30-2003, 07:21 AM
Yesterday at 02:06 AM Bitsys said this in Post #2032 (https://vborg.vbsupport.ru/showthread.php?postid=421436#post421436)
Another user has already translated it to Spanish. Would you like to see if they will share their version?



Woops! Already translated it...

Now I'm just missing how to translate the name of the months and the "th" besides the DATE (already modified the th,rd on the positions).

SInce I guess it's the system Date, how could I modify this?

And oh yes, I use the Today/Yesterday hack... is it possible to use this on the Arcade?


Thanks!

Triade
07-30-2003, 09:36 AM
I installed the hack but that's an odd thing. Some users told me that in battle they do always 5 hit damage.
They are at level 1 and fight with fists.
3 battles always with 5 hit each one.

Why? there's a way to modify it?
i modifyed the .15 in the battleupdate.php but nothing happened.

Can you help me?

Edit to add:

There's a way to give an ampount of money to a new member when he signs in the forum?

Darkwaltz4
07-30-2003, 06:36 PM
Today at 05:36 AM Triade said this in Post #2038 (https://vborg.vbsupport.ru/showthread.php?postid=421769#post421769)
There's a way to give an ampount of money to a new member when he signs in the forum?


yeah...there was a mini hack made for this, its somewhere near like page 60, lol. if you cant find it i might be able to dig it up again :-p a zillion people come to me for it

Triade
07-30-2003, 07:49 PM
Today at 08:36 PM Darkwaltz4 said this in Post #2039 (https://vborg.vbsupport.ru/showthread.php?postid=421834#post421834)
yeah...there was a mini hack made for this, its somewhere near like page 60, lol. if you cant find it i might be able to dig it up again :-p a zillion people come to me for it


It's a your hack or someone else?

Triade
07-30-2003, 07:54 PM
GOTCHA!

https://vborg.vbsupport.ru/attachment.php?s=&postid=356779

This is the Add-on, to give to a user an amount of money when he register.

Tks fot the hint Darkwaltz4 :D

EDIT !!!!

Ugh! it's not this...

Darkwaltz4
07-30-2003, 07:56 PM
lol, no thats not it..thats something i recommend you use if you apply 'registration' gil :-p the line for registration gil was ..somewhere >.< lost in this sea of pages...

Triade
07-30-2003, 08:13 PM
HERE IT IS!

:)


to make 'register' points....
in register.php, find this: (its right under the placed code)


// insert custom user fields


and decide an amount to give...ill label it as XXX in the next bit (i use 1000 currently)

replace the above code with:


// insert custom user fields
$pfield=$DB_site->query_first("SELECT pointfield FROM items_options");
$pointfield = "$pfield[0]";
$DB_site->query("UPDATE userfield SET $pointfield=XXX WHERE userid=$userid");

Dark Dragon
07-30-2003, 08:26 PM
I'd just like to say thank you to everyone who helped make these/this hack(s), it is the best I have ever seen. I was getting like 50 posts per day and after I installed this hack it my board got like 800 posts per day. Thanks.

VeoMorphine
07-30-2003, 08:38 PM
wow, back after a huge vacation. Nice to see this hack is still in development. When is it going final? ANd im going to put this on my new site.

chrisz
07-31-2003, 12:11 AM
I have a suggestion for an addon.
I tried it myself and no luck. (I might stick to gfx lol)
Well what I want it to do is, when you pick a race, you have certain class types, with certain classes.
So each race has its own class types/ classes.
DW if you want me to explain more I can talk to you lataz on msn.
And bitsys your aim is messing with me your always afk! lol.
Anyways I have gotten emails about making more battle scenes.
If you like my battle scenes (the ones in the hack) PM me if you want more. I have about 50 unreleased.

Bitsys
07-31-2003, 06:20 PM
Yesterday at 03:21 AM Areku said this in Post #2037 (https://vborg.vbsupport.ru/showthread.php?postid=421752#post421752)
Woops! Already translated it...

Now I'm just missing how to translate the name of the months and the "th" besides the DATE (already modified the th,rd on the positions).

SInce I guess it's the system Date, how could I modify this?

And oh yes, I use the Today/Yesterday hack... is it possible to use this on the Arcade?


Thanks!

Umm, I am not sure about how to do that.

Yesterday at 05:36 AM Triade said this in Post #2038 (https://vborg.vbsupport.ru/showthread.php?postid=421769#post421769)
I installed the hack but that's an odd thing. Some users told me that in battle they do always 5 hit damage.
They are at level 1 and fight with fists.
3 battles always with 5 hit each one.

Why? there's a way to modify it?
i modifyed the .15 in the battleupdate.php but nothing happened.

Can you help me?

Edit to add:

There's a way to give an ampount of money to a new member when he signs in the forum?


Fist damage is based on the user's level. Once they level up a few times they should be doing more damage and it should be more random.

Yesterday at 04:38 PM VeoMorphine said this in Post #2045 (https://vborg.vbsupport.ru/showthread.php?postid=421867#post421867)
wow, back after a huge vacation. Nice to see this hack is still in development. When is it going final? ANd im going to put this on my new site.


No estimate for final.

Yesterday at 08:11 PM chrisz said this in Post #2046 (https://vborg.vbsupport.ru/showthread.php?postid=421911#post421911)
I have a suggestion for an addon.
I tried it myself and no luck. (I might stick to gfx lol)
Well what I want it to do is, when you pick a race, you have certain class types, with certain classes.
So each race has its own class types/ classes.
DW if you want me to explain more I can talk to you lataz on msn.
And bitsys your aim is messing with me your always afk! lol.
Anyways I have gotten emails about making more battle scenes.
If you like my battle scenes (the ones in the hack) PM me if you want more. I have about 50 unreleased.


Hmm, I always get your messages an hour after I go to sleep and an hour before I wake up. Kind of odd. You can always try PMing me here.

Today at 07:38 AM Me! said this in Post #2047 (https://vborg.vbsupport.ru/showthread.php?postid=422076#post422076)
Hmm an interesting idea someone gave to me today. To have certain gender-specific items. Like hairbow for women and such. That would be a cool idea ^^


Interesting indeed.

Areku
07-31-2003, 06:34 PM
Bitsys, my apologies, my message was for another hack (the Arcade ;))

legendarysk8er
08-01-2003, 12:54 AM
I've recently had a problem. On my forums I have about 3,400 posts and I'm about 1500 more than the second top poster. My character was 12,000 hp when we first made the rpg, and a few days ago he dropped to 7,000. Most other members that our like 20 levels below have like more hp than me, I didn't edit my account or anything, and I dont know whats wrong.

Wedge
08-01-2003, 03:45 AM
Hey, I just installed it on my board... but the itemshop.php won't load. and I get a mysql error.. the battle page works as does the cp page... but itemshop and heal get:

Database error in vBulletin 2.2.7:

Invalid SQL: SELECT items_user.bankval, userfield.field5 FROM items_user, userfield WHERE items_user.userid='1' AND userfield.userid='1'
mysql error: Unknown column 'userfield.field5' in 'field list'

mysql error number: 1054

Can someone help me?

Triade
08-01-2003, 09:36 AM
Little problem with weapons... they do a lot of miss...
here a log of a battle...



Morkai tried to use his fists. Luck was with him, and he dealt Mikael 31 points of damage.
Morkai shouts:
ma il forum era andato down ??
Debug Variables:
Damage Done ($damagedone): 31
New HP ($newhp): 51



Uh-oh, looks like someone got mad. Mikael used his Spada Katana to deal 2 points of damage. Morkai tried to dodge, but was not successful.
Mikael shouts:
ehm, te lo richiedo, mi aiuti a testare o no? Il tutto ? ancore in fase di test e se non si testa non si mette a posto.
Debug Variables:
Anger ($anger): 1.5
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 71
Regular Attack Bonus ($regattbonus): 293.971251475
Regular Defense Minus ($regdefminus): 219.048115334
Damage Done ($damagedone): 2 == [floor((2 + 293.971251475) * 0.5 * 1.5 + 0 - 0 - 219.048115334)]
Dodge Chance ($dodgechance): 100
New HP ($newhp): 249



Morkai used his Ascia di ghiaccio, but Mikael dodged! Morkai's anger grows by 13.
Morkai blasts:
si ma cosa vuoi testare ??
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 90
Random Mad ($randmad): 13



Mikael used his Spada Katana, but failed to do any damage to Morkai. Morkai begins to taunt Mikael! Mikael's anger grows by 15.
Mikael shouts:
le armi, le stiamo ancora mettendo a posto... devo capire com'? possibile che ho missato per 17 volte di seguito con te quando con triade lo colpivo ad ogni colpo...
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 82
Regular Attack Bonus ($regattbonus): 293.971251475
Regular Defense Minus ($regdefminus): 219.048115334
Damage Done ($damagedone): -58 == [floor((2 + 293.971251475) * 0.5 * 1 + 0 - 0 - 219.048115334)]
Random Mad ($randmad): 15



Morkai used his Ascia di ghiaccio, but failed to do any damage to Mikael. Mikael begins to taunt Morkai! Morkai's anger grows by 12.
Morkai blasts:
anche io misso sempre... le uniche volte che tu non missi ? quando usi berserek
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 87
Regular Attack Bonus ($regattbonus): 147.345643761
Regular Defense Minus ($regdefminus): 153.696337936
Damage Done ($damagedone): -68 == [floor((0 + 147.345643761) * 0.5 * 1 + 0 - 0 - 153.696337936)]
Random Mad ($randmad): 12



Mikael used his Spada Katana, but failed to do any damage to Morkai. Morkai begins to taunt Mikael! Mikael's anger grows by 13.
Mikael shouts:
ma tu leggi le mosse normalmente o vedi anchei messaggi di debug? ho messo su il debug per capire il problema..
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 65
Regular Attack Bonus ($regattbonus): 293.971251475
Regular Defense Minus ($regdefminus): 219.048115334
Damage Done ($damagedone): -60 == [floor((2 + 293.971251475) * 0.5 * 1 + 0 - 0 - 219.048115334)]
Random Mad ($randmad): 13



Morkai used the potion "Potion" to gain 100 HP. "I've never felt better", says Morkai.
Morkai taunts:
si lo vedo il debug..
capisco solo che la chance per colpire ? 0.9 quindi sotto 1 forse ? per quello..
Debug Variables:



Mikael used his Spada Katana, but failed to do any damage to Morkai. Morkai begins to taunt Mikael! Mikael's anger grows by 15.
Mikael shouts:
no, probabilmente ? nella formula lunga.. quello 0.5 che divide la prima parte a met? e ci sottrae la seconda parte.. risultato: danno negativo e quindi miss
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 82
Regular Attack Bonus ($regattbonus): 293.971251475
Regular Defense Minus ($regdefminus): 219.048115334
Damage Done ($damagedone): -70 == [floor((2 + 293.971251475) * 0.5 * 1 + 0 - 0 - 219.048115334)]
Random Mad ($randmad): 15



Morkai used his Ascia di ghiaccio, but failed to do any damage to Mikael. Mikael begins to taunt Morkai! Morkai's anger grows by 10.
Morkai taunts:
non so..

cmq ho usato per sbaglio la pozione 100gil buttati
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 80
Regular Attack Bonus ($regattbonus): 147.345643761
Regular Defense Minus ($regdefminus): 153.696337936
Damage Done ($damagedone): -65 == [floor((0 + 147.345643761) * 0.5 * 1 + 0 - 0 - 153.696337936)]
Random Mad ($randmad): 10



Mikael tried to use his fists. Luck was with him, and he dealt Morkai 35 points of damage.
Mikael taunts:
LOL. Uso un secondo il pugno per vedere la differenza... te usa katana mi raccomando... anche perch? intanto expi visto che ogni mossa ? 2 px
Debug Variables:
Damage Done ($damagedone): 35
New HP ($newhp): 216



Morkai used his Ascia di ghiaccio, but failed to do any damage to Mikael. Mikael begins to taunt Morkai! Morkai's anger grows by 14.
Morkai shouts:
usando l'arma viene | bonus attacco * 0.5 * 1 + 0 - 0 - malus difesa |
quindi avendo attacco maggiore dovrebbe riuscire..

cmq non usare pi? pugno se no mi fai secco
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 83
Regular Attack Bonus ($regattbonus): 147.345643761
Regular Defense Minus ($regdefminus): 153.696337936
Damage Done ($damagedone): -64 == [floor((0 + 147.345643761) * 0.5 * 1 + 0 - 0 - 153.696337936)]
Random Mad ($randmad): 14


As you see, there's worse chance of hit with weapons and a good one with fists

It a buff weapon problem? or something else?

Bitsys
08-01-2003, 01:07 PM
Yesterday at 08:54 PM legendarysk8er said this in Post #2050 (https://vborg.vbsupport.ru/showthread.php?postid=422267#post422267)
I've recently had a problem. On my forums I have about 3,400 posts and I'm about 1500 more than the second top poster. My character was 12,000 hp when we first made the rpg, and a few days ago he dropped to 7,000. Most other members that our like 20 levels below have like more hp than me, I didn't edit my account or anything, and I dont know whats wrong.


Since HP is based on posts per day and the amount of time you have been with the forums, it is possible that your HP went down because you posted less, or the other members have a much higher post per day count. Can you verify this?

Yesterday at 11:45 PM Wedge said this in Post #2051 (https://vborg.vbsupport.ru/showthread.php?postid=422286#post422286)
Hey, I just installed it on my board... but the itemshop.php won't load. and I get a mysql error.. the battle page works as does the cp page... but itemshop and heal get:

Database error in vBulletin 2.2.7:

Invalid SQL: SELECT items_user.bankval, userfield.field5 FROM items_user, userfield WHERE items_user.userid='1' AND userfield.userid='1'
mysql error: Unknown column 'userfield.field5' in 'field list'

mysql error number: 1054

Can someone help me?


Did you run install_itemshop_items.php?

Today at 03:40 AM Me! said this in Post #2052 (https://vborg.vbsupport.ru/showthread.php?postid=422314#post422314)
I'm having a little problem displaying items. I did as you said about keep adding"AND" statements to only display certain items. However it displays only in text now. For example this is what I did in admin/functions.php:

}
$xc="item$nr";
if($post[$xc]!="No Item" AND $nr == 1 AND $nr == 2 AND $nr == 3 AND $nr == 4) {
$xvv = "item$nr";
$xvvv = "icon$nr";
if(empty($post[$xvvv])) {
$post[items] .= "<a href=\"itemshop.php?action=view&id=$post[$xv]\"><img src=\"https://vborg.vbsupport.ru/images/itemshop/$post[$xvv].gif\" border=\"0\" alt=\"$post[$xvv]\"></a> ";
} else {

To show the items I used:

$post[item1]

and in the postbit it doesn't display an image, rather it just says "Cotton Shirt"


Try doing this instead:
}
$xc="item$nr";
if($post[$xc]!="No Item" AND ($nr == 1 OR $nr == 2 OR $nr == 3 OR $nr == 4)) {
$xvv = "item$nr";
$xvvv = "icon$nr";
if(empty($post[$xvvv])) {
$post .= "<a href=\"itemshop.php?action=view&id=$post[$xv]\"><img src=\"https://vborg.vbsupport.ru/images/itemshop/$post[$xvv].gif\" border=\"0\" alt=\"$post[$xvv]\"></a> ";
} else {

[i]Today at 05:36 AM Triade said this in Post #2053 (https://vborg.vbsupport.ru/showthread.php?postid=422325#post422325)
Little problem with weapons... they do a lot of miss...
here a log of a battle...



As you see, there's worse chance of hit with weapons and a good one with fists

It a buff weapon problem? or something else?


I see two problems. First, the armor that each person is wearing is providing a huge defense bonus. Second, the element types of each person are both considered the weaker one to their opponent. This means that all damage is halved. My only suggestion would be to halve the defenses of all armor, but maintain the current prices. Or, you could let people just use their fists when it is a stalemate with weapons.

Wedge
08-01-2003, 01:09 PM
Today at 03:07 PM Bitsys said this in Post #2054 (https://vborg.vbsupport.ru/showthread.php?postid=422369#post422369)



Did you run install_itemshop_items.php?




Yep. And when I did vbhacker, it didn't require any manual changes... maybe it is because I'm using 2.2.6? If I used 2.3.0 instead, would it work?

-Wedge

Triade
08-01-2003, 09:30 PM
I see two problems. First, the armor that each person is wearing is providing a huge defense bonus. Second, the element types of each person are both considered the weaker one to their opponent. This means that all damage is halved. My only suggestion would be to halve the defenses of all armor, but maintain the current prices. Or, you could let people just use their fists when it is a stalemate with weapons.


Hmmm the people in this case didn't have any armour...
Only weapons.
one with buff 2 the other with buff 0...

Any suggestion about how to put buffs on items and, the average number to give HP in Elements?

Darkwaltz4
08-01-2003, 09:36 PM
wow, buffs have to be HUGE becausebuff is about the amount of damage the weapon will be doing....2 just leaves it at such a horribly low amount O.o unless you plan to have like 100x hp or something

Mistah Roth
08-02-2003, 01:12 AM
Hey DarkWaltz, are your addons included in the integration zip? or do we have to install them seperately?

Legendary Kid
08-02-2003, 01:28 AM
You have to install them seperatly, btw, is the anyway to use spells yet? Because I haven't found a way :-/

Triade
08-02-2003, 07:27 AM
Legendary Kid, what do you mean? I use them... No problems in there.

Another question (sorry but i'm n00b in this hack):
i read in the faq, a user can have a guild, having a own alignment with 5 classes.
Can the user do it by himself, or the Admin have to do it by Admin CP?

Pricyber
08-02-2003, 07:52 AM
Ok there's alot of stuff there to pick through so I figure it'd just be easier to ask my questions and see if they were answered already (though I'm sure they weren't..)

1. I would like to maintain my use of Lesane's Store Hack, however at this time it does not allow me to use the bank feature. Is there a way to make it work?

If not, would it be possible just to install the bank hack, and then the bank to store integration for Lesane's?

2. When you are in usercp and you select your gender & alignment, you must submit that information before the ability to choose a race comes up, etc. Is there a way to make those combo boxes auto-fill upon choosing without having to submit and reload?

3. I would really like to be able to make it possible for users to not change their characters once they have been created (unless maybe purchasing the ability to do so at Lesane's Store). Is there a way to block a character from being eligable for battle or from buying items until the forum user clicks on 'Finalize Character' and it locks it from being edited?

4. Is there a way you could adapt this so an admin may edit characters through the admin cp?

Also, many thanks for your time and effort, this is a great hack and has given my forum users so much more to do!!!

Pricyber
08-02-2003, 12:27 PM
Well I found out how to get the bank feature working for those using Lesane's Store Hack.

Goto itemshop.php

Find:

// ###################### display bank stuff #######################
// credit goes to ---- mem ----
if(!$options[lesanestore]) {


Change to:

// ###################### display bank stuff #######################
// credit goes to ---- mem ----
if($options[lesanestore]) {


Find:

// ###################### get bank #######################
if($action==bank && !$options[lesanestore]) {
eval("dooutput(\"".gettemplate("itemshop_bank")."\");");
exit;
}


Change to:

// ###################### get bank #######################
if($action==bank && $options[lesanestore]) {
eval("dooutput(\"".gettemplate("itemshop_bank")."\");");
exit;
}


Find:

if ($HTTP_POST_VARS['action']=="save" && !$options[lesanestore]) {

$bank=trim(addslashes($moneysave));
for($i=0;$i<strlen($bank);$i++)
if (!((substr($bank,$i,1)<="9")&&(substr($bank,$i,1)>="0"))) {
eval("standarderror(\"".gettemplate("itemshop_error-banknumber")."\");");
exit;
}
$bank=intval($bank);

if ($bank>$points) {
eval("standarderror(\"".gettemplate("itemshop_error-banknumber")."\");");
} else {
$DB_site->query("UPDATE items_user SET bankval=bankval+$bank,btime='".time()."' WHERE userid=$bbuserinfo[userid]");
$DB_site->query("UPDATE userfield SET $pointfield=$points-$bank WHERE userid=$bbuserinfo[userid]");
eval("standardredirect(\"".gettemplate("itemshop_redir-bankthanks")."\",\"itemshop.php?action=bank\");");
}
}


Change to:

if ($HTTP_POST_VARS['action']=="save" && $options[lesanestore]) {

$bank=trim(addslashes($moneysave));
for($i=0;$i<strlen($bank);$i++)
if (!((substr($bank,$i,1)<="9")&&(substr($bank,$i,1)>="0"))) {
eval("standarderror(\"".gettemplate("itemshop_error-banknumber")."\");");
exit;
}
$bank=intval($bank);

if ($bank>$points) {
eval("standarderror(\"".gettemplate("itemshop_error-banknumber")."\");");
} else {
$DB_site->query("UPDATE items_user SET bankval=bankval+$bank,btime='".time()."' WHERE userid=$bbuserinfo[userid]");
$DB_site->query("UPDATE user SET storep=$points-$bank WHERE userid=$bbuserinfo[userid]");
eval("standardredirect(\"".gettemplate("itemshop_redir-bankthanks")."\",\"itemshop.php?action=bank\");");
}
}


Find:

if ($HTTP_POST_VARS['action']=="load" && !$options[lesanestore]) {

$bank=trim(addslashes($loadmoney));
for($i=0;$i<strlen($bank);$i++)
if (!((substr($bank,$i,1)<="9")&&(substr($bank,$i,1)>="0"))) {
eval("standarderror(\"".gettemplate("itemshop_error-banknumber")."\");");
exit;
}
$bank=intval($bank);

if ($bank>$bankuser[bankval]) {
eval("standarderror(\"".gettemplate("itemshop_error-banknumber")."\");");
} else {
$DB_site->query("UPDATE items_user SET bankval=bankval-$bank,btime='".time()."' WHERE userid=$bbuserinfo[userid]");
$DB_site->query("UPDATE userfield SET $pointfield=$points+$bank WHERE userid=$bbuserinfo[userid]");
eval("standardredirect(\"".gettemplate("itemshop_redir-bankthanks")."\",\"itemshop.php?action=bank\");");
}
}


Change to:

if ($HTTP_POST_VARS['action']=="load" && $options[lesanestore]) {

$bank=trim(addslashes($loadmoney));
for($i=0;$i<strlen($bank);$i++)
if (!((substr($bank,$i,1)<="9")&&(substr($bank,$i,1)>="0"))) {
eval("standarderror(\"".gettemplate("itemshop_error-banknumber")."\");");
exit;
}
$bank=intval($bank);

if ($bank>$bankuser[bankval]) {
eval("standarderror(\"".gettemplate("itemshop_error-banknumber")."\");");
} else {
$DB_site->query("UPDATE items_user SET bankval=bankval-$bank,btime='".time()."' WHERE userid=$bbuserinfo[userid]");
$DB_site->query("UPDATE user SET storep=$points+$bank WHERE userid=$bbuserinfo[userid]");
eval("standardredirect(\"".gettemplate("itemshop_redir-bankthanks")."\",\"itemshop.php?action=bank\");");
}
}


That wasn't overly difficult however I'm trying to figure out how to:

A) Make the top 10 richest show users based on gold on hand plus their gold in bank.

B) Make the postbit show gold on hand plus gold in bank.

Any help would be appreciated.

MSX
08-02-2003, 02:22 PM
When I installed the hack, it didn't add the Alignment, ect. to the User CP > Profile part of the User CP

www.impactanime.com

I'm talking about where you enter your RPG Name...the rest of the RPG fields arent there...help?

Triade
08-02-2003, 02:39 PM
Another question: Personal shop

No way to add icons in user items...
No way to add buff in user items...

So... what's the personal shop for?
Am i missing some step or it's in this way?

kaotic
08-02-2003, 04:34 PM
Try to imagine what would happen to you local economy if the users could define the cost and buff on their own. :p

Jimmy011991
08-02-2003, 05:44 PM
I installed this hack this morning and found a bug in the battle system. Even though i have an item the bubble thing at the bottom says that i don't and will only let me use my fists. Is there any way this can be fixed? My VB version is 2.3.0. Thanks in advance!

Legendary Kid
08-02-2003, 07:01 PM
This was for versions 2.2.6, 2.2.7, 2.2.8, and 2.2.9 mainly so there are probably a few bugs with version 2.3.0.

================================


Legendary Kid, what do you mean? I use them... No problems in there.


How do you get it so you can use magic and it uses mp or whatever it is called? (lol)

================================

Good Job With the Bank-Store Hack Intergration Hack, I made a .txt file of it here it is:

Pricyber
08-02-2003, 10:27 PM
With a little help from my friend I was able to make the top 10 richest show the bankval + storep value.

In store.php

Find:

$topresult = $DB_site->query("SELECT * FROM user ORDER BY storep DESC LIMIT 10");
while ($top = mysql_fetch_array($topresult)) {


Replace with:

$topresult = $DB_site->query("SELECT user.*,bankval+storep as total FROM user,items_user WHERE user.userid = items_user.userid ORDER BY total DESC LIMIT 10");


I didn't find a way to combine the two in the postbit section, simply because the $post query was far too complicated to mess with.

If you want to show Bank: underneath Gold: where each user's avatar is in the showposts, just add:

Bank: $store[bankval]

Legendary Kid
08-02-2003, 11:28 PM
I'll edit the txt file, gj Pricyber

Blackangel
08-02-2003, 11:49 PM
well nice hack, but i can get icon for item in postbit.
he display nothing.

Legendary Kid
08-03-2003, 01:51 AM
Can somebody make the files in the mod directory,bank.php, and points.php work with the store hack?

Pricyber
08-03-2003, 04:23 AM
Just like to mention there are a few bugs with the following:

1. Putting no password in battles results in invalid password display.

2. Having the 'unknown' class allows users to open up the items via the unknown and purchase them whether they have permission to or not (i removed that field from my dbase for now).

3. The healer sometimes shows a bad value, such as intead of 18 it will show 8, then the user wonders why they can't heal because they have 10 gold.

Pricyber
08-03-2003, 04:55 AM
Just an update on my removal of the unknown field from the rpg_types table.

If you do this to prevent users from buying items they shouldn't, then you are left with all of the categories upon first going to the itemshop, however they can't be expanded.

This looks messy... so I fixed it.

Simply open itemshop.php

Find (right at the end of the file):

eval("dooutput(\"".gettemplate("itemshop")."\");");


Replace with:

if($action=="" && $itemtype < 1) {
eval("dooutput(\"".gettemplate("itemshop_viewfirst")."\");");
} else {
eval("dooutput(\"".gettemplate("itemshop")."\");");
}


Then create a new template called itemshop_viewfirst and insert the following:


{htmldoctype}
<html>
<head>
$metarefresh
<title>$bbtitle - Itemshop</title>
$headinclude
</head>
<body>
$header

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td width="100%"><img src="{imagesfolder}/vb_bullet.gif" alt="" border="0" align="absmiddle">
<normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &gt; Itemshop</b></normalfont></td>
</tr>
</table>

<br>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr id="cat">
<td bgcolor="{tableheadbgcolor}" colspan="5"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><smallfont color="{tableheadtextcolor}"><b>$bbuserinfo[username]'s Current Status</b></smallfont></td><td align="right"><smallfont color="{tableheadtextcolor}"><b>$points Gold</b></smallfont></td></tr></table></td>
</tr>
</tr>
<tr>
<td bgcolor="{categorybackcolor}" width="5%" align="center"><normalfont color="{categoryfontcolor}"><b>Icon</b></normalfont></td>
<td bgcolor="{categorybackcolor}" width="35%" align="center"><normalfont color="{categoryfontcolor}"><b>Name</b></normalfont></td>
<td bgcolor="{categorybackcolor}" width="50%" align="center"><normalfont color="{categoryfontcolor}"><b>Description</b></normalfont></td>
<td bgcolor="{categorybackcolor}" width="5%" align="center"><normalfont color="{categoryfontcolor}"><b>Cost</b></normalfont></td>
<td bgcolor="{categorybackcolor}" width="5%" align="center"><normalfont color="{categoryfontcolor}"><b>Refund</b></normalfont></td>
</tr>
$loop
$loopp
<tr id="cat">
<td bgcolor="{tableheadbgcolor}" colspan="5"><table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><smallfont color="{tableheadtextcolor}"><b>Bank Deposit: $bankuser[bankval]</b></smallfont></td><td align="right"><smallfont color="{tableheadtextcolor}"><b>Total Bank Property: $banktotal | Total Bank Clients: $clients</b></smallfont></td></tr></table></td>
</tr>
</table>
</td></tr></table>
<br>

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>

<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr id="cat">
<td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="33%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$PHP_SELF?action=bank">Visit The Bank</a></b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="34%" align="center"><smallfont color="{tableheadtextcolor}"><b>Total Profit: $options[profit]&nbsp;|&nbsp;Total Sold Items: $options[sold]</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="33%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$PHP_SELF?action=buypers">Buy Personal Itemshop</a></b></smallfont>
</td></tr>

<tr id="cat">
<td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="33%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$bburl/store.php">Visit The Traveller's Shop</a></b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="34%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$bburl/battle.php">Go To The Battle Arena</a></b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="33%" align="center"><smallfont color="{tableheadtextcolor}"><b><a href="$bburl/heal.php">Visit The Healer</a></b></smallfont>
</td></tr></table>

</td></tr></table>
<br>
<center>$typelinks
<br>
<normalfont>Please choose a class to view the items...</normalfont>
</center>
<br>
<br>
<br>
<br>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr id="cat">
<td bgcolor="{tableheadbgcolor}" colspan="5" align="center" width="100%"><smallfont color="{tableheadtextcolor}"><b>Copyright 2002 <a href="mailto:gheghe@rnc.ro">Mewtwo</a>. <a href="http://ffd.ffrepublic.com">FFDiscovery</a></b></smallfont></td>
</tr>
</table>
</td></tr></table>
<br>

$footer

</body>
</html>


That way the user must select a class before being able to see any items :)

Bitsys
08-03-2003, 07:33 PM
Wow, gone for 2 days and I miss a page and a half of posts.

08-01-03 at 09:09 AM Wedge said this in Post #2055 (https://vborg.vbsupport.ru/showthread.php?postid=422370#post422370)
Yep. And when I did vbhacker, it didn't require any manual changes... maybe it is because I'm using 2.2.6? If I used 2.3.0 instead, would it work?

-Wedge

Do you have phpmyadmin? If so, do the following:

Go to your forums database. Find the rpg_type, rpg_race, rpg_classf, and rpg_classm tables. Click "Browse" on each of these. Verfiy that there is dat in these tables. If there isn't any data, then clicking "Browse" will return an empty set.


08-01-03 at 05:30 PM Triade said this in Post #2056 (https://vborg.vbsupport.ru/showthread.php?postid=422486#post422486)
Hmmm the people in this case didn't have any armour...
Only weapons.
one with buff 2 the other with buff 0...

Any suggestion about how to put buffs on items and, the average number to give HP in Elements?


Generally, Buffs should be between 10 and 1000. HP on elements should be between 30 and 100.

08-01-03 at 09:28 PM Legendary Kid said this in Post #2059 (https://vborg.vbsupport.ru/showthread.php?postid=422516#post422516)
You have to install them seperatly, btw, is the anyway to use spells yet? Because I haven't found a way :-/


Please try the following:

ADmin CP -> Edit Items. Find the "[Edit]" link next to a category name (the one for spells). Click the link. On the next menu, select "Spells" as the battle type and save changes. Back at the Edit Items screen, make sure that you have given the spell a buff value and an MA cost. Additionally, either the "Attack" or "Heal" checkbox (or both) must be checked.

Yesterday at 03:27 AM Triade said this in Post #2060 (https://vborg.vbsupport.ru/showthread.php?postid=422561#post422561)
Legendary Kid, what do you mean? I use them... No problems in there.

Another question (sorry but i'm n00b in this hack):
i read in the faq, a user can have a guild, having a own alignment with 5 classes.
Can the user do it by himself, or the Admin have to do it by Admin CP?

That admin must do it. That part of the FAQ was written by a user who made up that rule for his forums.

Yesterday at 03:52 AM Pricyber said this in Post #2061 (https://vborg.vbsupport.ru/showthread.php?postid=422564#post422564)
Ok there's alot of stuff there to pick through so I figure it'd just be easier to ask my questions and see if they were answered already (though I'm sure they weren't..)

1. I would like to maintain my use of Lesane's Store Hack, however at this time it does not allow me to use the bank feature. Is there a way to make it work?

If not, would it be possible just to install the bank hack, and then the bank to store integration for Lesane's?

I think you fixed that one on your own ;)

Yesterday at 03:52 AM Pricyber said this in Post #2061 (https://vborg.vbsupport.ru/showthread.php?postid=422564#post422564)
2. When you are in usercp and you select your gender & alignment, you must submit that information before the ability to choose a race comes up, etc. Is there a way to make those combo boxes auto-fill upon choosing without having to submit and reload?

It is supposed to automatically change the drop-down options based on which gender and alignment you select. If this is not the case, then can you send me a copy of the HTML source (In IE, go to View -> Source) of member.php when you are modifying your profile?

Yesterday at 03:52 AM Pricyber said this in Post #2061 (https://vborg.vbsupport.ru/showthread.php?postid=422564#post422564)
3. I would really like to be able to make it possible for users to not change their characters once they have been created (unless maybe purchasing the ability to do so at Lesane's Store). Is there a way to block a character from being eligable for battle or from buying items until the forum user clicks on 'Finalize Character' and it locks it from being edited?

Not currently.

Yesterday at 03:52 AM Pricyber said this in Post #2061 (https://vborg.vbsupport.ru/showthread.php?postid=422564#post422564)
4. Is there a way you could adapt this so an admin may edit characters through the admin cp?
There is an "Edit Users" Link in teh admin cp that lets you edit RPG Users. Does this not work for you? Or are you looking for a different way to edit RPG Users?


Yesterday at 03:52 AM Pricyber said this in Post #2061 (https://vborg.vbsupport.ru/showthread.php?postid=422564#post422564)
Also, many thanks for your time and effort, this is a great hack and has given my forum users so much more to do!!!

:)

Yesterday at 10:39 AM Triade said this in Post #2064 (https://vborg.vbsupport.ru/showthread.php?postid=422628#post422628)
Another question: Personal shop

No way to add icons in user items...
No way to add buff in user items...

So... what's the personal shop for?
Am i missing some step or it's in this way?


Personal shops allow a little more user interaction. The items they add are novelty items only. Allowing users to assign buff values for items would jeapardize the integrity and balance of battles.

Yesterday at 01:44 PM Jimmy011991 said this in Post #2066 (https://vborg.vbsupport.ru/showthread.php?postid=422676#post422676)
I installed this hack this morning and found a bug in the battle system. Even though i have an item the bubble thing at the bottom says that i don't and will only let me use my fists. Is there any way this can be fixed? My VB version is 2.3.0. Thanks in advance!


See my above response to Legendary Kid's post.

Yesterday at 07:49 PM Blackangel said this in Post #2070 (https://vborg.vbsupport.ru/showthread.php?postid=422723#post422723)
well nice hack, but i can get icon for item in postbit.
he display nothing.

Did you purchase an item? Do you see the item when you go to the itemshop?

Today at 12:23 AM Pricyber said this in Post #2072 (https://vborg.vbsupport.ru/showthread.php?postid=422763#post422763)
Just like to mention there are a few bugs with the following:

1. Putting no password in battles results in invalid password display.

Will be fixed in next version.

Today at 12:23 AM Pricyber said this in Post #2072 (https://vborg.vbsupport.ru/showthread.php?postid=422763#post422763)
2. Having the 'unknown' class allows users to open up the items via the unknown and purchase them whether they have permission to or not (i removed that field from my dbase for now).

Are they allowed to purchase an item for a different class, or only items that are in the Generic class?

Today at 12:23 AM Pricyber said this in Post #2072 (https://vborg.vbsupport.ru/showthread.php?postid=422763#post422763)
3. The healer sometimes shows a bad value, such as intead of 18 it will show 8, then the user wonders why they can't heal because they have 10 gold.

Which option does this happen with? All of them, or just the 25% option, etc.?

Moreliator
08-03-2003, 08:18 PM
Yesterday at 09:52 AM Pricyber said this in Post #2061 (https://vborg.vbsupport.ru/showthread.php?postid=422564#post422564)

3. I would really like to be able to make it possible for users to not change their characters once they have been created (unless maybe purchasing the ability to do so at Lesane's Store). Is there a way to block a character from being eligable for battle or from buying items until the forum user clicks on 'Finalize Character' and it locks it from being edited?



I made an addon that is really close to this... it locks a user's RPG stats when they reach a certain level. I have mine set to level 5, that way my members can examine all characters, but once they get to level 5 they have to make a permanant decision because it locks and users can't change stats anymore.

Bitsys, would you mind adding this addon to the front page, I have had a few people ask me for it. Its been working on my board for over a month now. Heres the link: CLICK HERE for Auto-Lock Stats Addon (https://vborg.vbsupport.ru/showthread.php?s=&postid=411111&highlight=lock+stats#post411111)

Dras
08-04-2003, 03:13 AM
I just installed your hack and I am having some problems with member.php

http://69.57.156.44/~dras/1.jpg
http://69.57.156.44/~dras/2.jpg

The addtional info is shown twice! I tried to edit modifyprofile but no luck. I also looked at member.php but TOO long to look at. Any help would be nice.

Triade
08-04-2003, 06:28 AM
Yesterday at 09:33 PM Bitsys said this in Post #2074 (https://vborg.vbsupport.ru/showthread.php?postid=422896#post422896)

Personal shops allow a little more user interaction. The items they add are novelty items only. Allowing users to assign buff values for items would jeapardize the integrity and balance of battles.



I thought this:

Allow users to put buff in items... but... with a certain range, and with a cost. I think we can put also an image library for the user items.

Example: in the add item shop, put a select box with buff
+10 +20 +30 +100 +1000 ecc.
Another box with Att, Def, Att+Def

if someone choose a buff in another window will display the price.

if i made an armour with +10 in Att. i'll pay 1000
if it's +50 i'll pay 5000
if it's +50 Add+Def i'll pay 10000
If i make 2 of this i'll pay 20000

This will influence also the sell price, so nobody can make a +1000 item sold for 20 gil.


i'm not a php programmer (but i want to study for it), so someone think it's possible and easy to do?

Moreliator
08-04-2003, 11:40 AM
Today at 05:13 AM Dras said this in Post #2076 (https://vborg.vbsupport.ru/showthread.php?postid=423017#post423017)
I just installed your hack and I am having some problems with member.php

http://69.57.156.44/~dras/1.jpg
http://69.57.156.44/~dras/2.jpg

The addtional info is shown twice! I tried to edit modifyprofile but no luck. I also looked at member.php but TOO long to look at. Any help would be nice.



Hey,
it is simple template error that has been known to happen with this RPG Hack. In the modifyprofile template, simply delete the first instance of:

<tr><td bgcolor="$bgcolor"><normalfont><b>Element Type:</b></normalfont><br>
<smallfont>The Element type you want to be at the boards.</smallfont></td>
<td bgcolor="$bgcolor"><normalfont>

<select name="element">
$elementoptions
</select>

</normalfont></td>
</tr>
<tr>
<td bgcolor="$bgcolor"><normalfont><b>RPG Alignment:</b></normalfont><br>
<smallfont>The side you want your character to be on the RPG.</smallfont></td>
<td bgcolor="$bgcolor"><normalfont>
<select name="alignment" onchange="updateRaces()">
$alignmentoptions
</select></normalfont></td>
</tr>
<tr>
<td bgcolor="$bgcolor"><normalfont><b>RPG Race:</b></normalfont><br>
<smallfont>The Race you want your character to be on the RPG.</smallfont></td>
<td bgcolor="$bgcolor"><normalfont>
<select name="rpgrace">
$raceoptions
</select></normalfont></td>
</tr>
<tr>
<td bgcolor="$bgcolor"><normalfont><b>RPG Gender:</b></normalfont><br>
<smallfont>This would be your RPG Character's Gender, not your gender in real life.</smallfont></td>
<td bgcolor="$bgcolor"><normalfont>
<select name="rpggender" onchange="updateClasses()">
$genderoptions
</select></normalfont></td>
</tr>

<tr>
<td bgcolor="$bgcolor"><normalfont><b>RPG Class:</b></normalfont><br>
<smallfont>The Class you want your character to be on the RPG.</td>
<td bgcolor="$bgcolor"><smallfont>
<select name="rpgclass" onchange="updateType()">
$classoptions
</select></smallfont>

</td>
</tr>
<tr>
<td bgcolor="$bgcolor"><normalfont><b>RPG Type:</b></normalfont><br><smallfont>Your type is automatically determined by your class.</smallfont></td>

<td bgcolor="$bgcolor" >
<input type="text" class="bginput" name="rpgtypename" value="$rpgtypename" length="30" READONLY><input type="hidden" name="rpgtypeid" value="$rpgtypeid">
</td>
</tr>
<tr>
<td bgcolor="$bgcolor"><normalfont><b>Build Stats</b></normalfont><br>
<smallfont>Click here if you want to have stats shown on the board.</smallfont></td>
<td bgcolor="$bgcolor"><normalfont>
<input type="checkbox" name="updatestats">Update stats
</normalfont></td>
</tr>




-mor

Dras
08-04-2003, 12:19 PM
Could you please give me a hint where modifyprofile is? I updated it directly from PHPmyadmin last time =/

Triade
08-04-2003, 01:00 PM
Go to Admin CP
Click in the bottom of the menu in MODIFY on TEMPLATES
Click on Expand List
Click Expand in User Option Templates
here you find the modifyprofile :)

Dras
08-04-2003, 01:34 PM
Thnx worked like a charm.

Legendary Kid
08-04-2003, 05:30 PM
What is the value for points in the itemshop hack? I know the store's point value is storep.

saint_seiya
08-05-2003, 03:00 AM
Hey, one of my users has this problem:

Okay, my HP , once I got to approximately level 30, drastically 1,000 points.

I heard many other forums have the same problem... any fix?

Dras
08-05-2003, 03:52 AM
When I go to edit my users info I get this:

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: SELECT field6 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054

Pricyber
08-05-2003, 09:03 AM
Are they allowed to purchase an item for a different class, or only items that are in the Generic class?

It allows them to purchase items for any class. However I removed it and recoded some of the template & php file so that the unknown does not show up and no item boxes show up until they choose a class.

I'm sure I could dig up what I had to change if you need it.

Which option does this happen with? All of them, or just the 25% option, etc.?

I believe it is usually the one before heal full or heal full... I can't be 100% sure, as I've only seen it happen a couple of times. However picking a different one always solves the problem. It's never more than 1 at a time.

There is an "Edit Users" Link in teh admin cp that lets you edit RPG Users. Does this not work for you? Or are you looking for a different way to edit RPG Users?

Thanks I must be blind lol.

It is supposed to automatically change the drop-down options based on which gender and alignment you select. If this is not the case, then can you send me a copy of the HTML source (In IE, go to View -> Source) of member.php when you are modifying your profile?

I will redownload the hack and review the member.php edits. If I still can't fix it I will pm you the information you requested :)

Blackangel
08-05-2003, 02:19 PM
it's possible to prevent user who have not selected any class/race /etc to get any experience and lvl ... ?

because i have some user already lvl 5 but all information are unknown (not playing, only post) , i have the lock at lvl 10

thx.

Legendary Kid
08-05-2003, 03:45 PM
Today at 04:19 PM Blackangel said this in Post #2086 (https://vborg.vbsupport.ru/showthread.php?postid=423427#post423427)
it's possible to prevent user who have not selected any class/race /etc to get any experience and lvl ... ?

because i have some user already lvl 5 but all information are unknown (not playing, only post) , i have the lock at lvl 10

thx.


Delete the unknown class, race, type. But there really isn't anything else you can do, maybe edit it so that other than unknown stuff appears when somebody first registers you could edit somestuff to make it so that a certain other race, class, type appears for every users stats appear the same when they register.

Today at 05:52 AM Dras said this in Post #2084 (https://vborg.vbsupport.ru/showthread.php?postid=423328#post423328)
When I go to edit my users info I get this:

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: SELECT field6 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054

Um, normally field5 or field6 is the point field, are you using store points or itemshop points? Go into the admin cp and see what is in field6.

Wedge
08-05-2003, 04:13 PM
I was wondering if it is possible.... to specify a class that only comes up with a specific race? (kind of like how the male/female works)

-Wedge

Dras
08-05-2003, 05:18 PM
I am useing Store points.

In Itemshop settings it's field5

Wedge
08-05-2003, 05:50 PM
Today at 07:18 PM Dras said this in Post #2089 (https://vborg.vbsupport.ru/showthread.php?postid=423479#post423479)
I am useing Store points.

In Itemshop settings it's field5


I had the same problem... go into your mysql database and find out what field in userfield has the rpgname and points. then go into your admincp and change field5 (item cp) and field6 (battle cp) to what the real fields are.

Mine turned out to be field15 and field16 instead of field5 and 6

-Wedge

Blackangel
08-05-2003, 06:00 PM
i have a question
it's seen that Evil alignement got less hp/ma/pp by lvl than a good.

it's normal ?!

lioncool1589
08-05-2003, 07:12 PM
bitsys how do i descrease % miss in battle
or i have to decrease def

saint_seiya
08-05-2003, 07:40 PM
Hey, one of my users has this problem:

Okay, my HP , once I got to approximately level 30, drastically 1,000 points.

I heard many other forums have the same problem... any fix?

-----
Also did oyu ever post the fix for the members with problems with healing and bank stealing their money???

Legendary Kid
08-05-2003, 07:45 PM
Today at 07:18 PM Dras said this in Post #2089 (https://vborg.vbsupport.ru/showthread.php?postid=423479#post423479)
I am useing Store points.

In Itemshop settings it's field5

Well actually itemshop doesn't have to be field5 it could be field 43 or field15 or any field lol, but wedge is right with the solution ;)


Hey, one of my users has this problem:

Okay, my HP , once I got to approximately level 30, drastically 1,000 points.

I heard many other forums have the same problem... any fix?

-----
Also did oyu ever post the fix for the members with problems with healing and bank stealing their money???

1) Can you re-explain that?

2)What problems with healing, and what do you mean by bank stealing, if they use a script from a different website of from localhost I can give you a script that will make it so you cannot enter your bank unless you came from another part of your forum.

Blackangel
08-05-2003, 09:25 PM
is there any hack, for user to regen some hp when posting a thread (same style than gain gils)

Dras
08-05-2003, 09:55 PM
Today at 07:50 PM Wedge said this in Post #2090 (https://vborg.vbsupport.ru/showthread.php?postid=423487#post423487)
I had the same problem... go into your mysql database and find out what field in userfield has the rpgname and points. then go into your admincp and change field5 (item cp) and field6 (battle cp) to what the real fields are.

Mine turned out to be field15 and field16 instead of field5 and 6

-Wedge



I don't see any fields with numbers... All i see is info... lol

Legendary Kid
08-05-2003, 11:55 PM
Yesterday at 11:55 PM Dras said this in Post #2096 (https://vborg.vbsupport.ru/showthread.php?postid=423577#post423577)
I don't see any fields with numbers... All i see is info... lol




It's in "Custom Profile Fields" in your admin cp, where you see the edit button right-click and click "copy shortcut" and paste it in your address bar and at the edit you should get something like this: admin/profilefield.php?action=edit&profilefieldid=3 That is the field.

Dras
08-06-2003, 01:08 AM
Alright thnx guys that fixed it

lioncool1589
08-06-2003, 09:15 PM
i have moved to new host but when i create new battle it send links ask yes/no battle invite to old host anyway i can fix it

legendarysk8er
08-06-2003, 11:41 PM
08-01-03 at 03:07 PM Bitsys said this in Post #2054 (https://vborg.vbsupport.ru/showthread.php?postid=422369#post422369)

Since HP is based on posts per day and the amount of time you have been with the forums, it is possible that your HP went down because you posted less, or the other members have a much higher post per day count. Can you verify this?



No, I have a pretty high post per day percentage and it didn't drop any. My actvity actually increased...

Also, what prevents a user from creating a personal itemshop, then just buying items from his own store and giving himself money?

Wedge
08-07-2003, 01:13 AM
hmm, dunno if anyone saw this when I originally posted it..

I want to limit a class to a race. So that each race has it's own classes that other races can't use. is there a way to do that?

-Wedge

Rogue Pan
08-07-2003, 10:25 AM
when i change the Item types in the admin cp i pick items to show up in type id 10 its show up in 0 too same with 1 & 11 and so on

Triade
08-07-2003, 10:42 AM
Rogue, there's a correction in the forum to this... i don0t know where... i think in the last 20 pages.
try seraching.

Blackangel
08-07-2003, 12:16 PM
it's fine no more needed hack for heal epr thread, i have change a bit your script :)

now hp and ma are no more affected by post per day, and join date.

each class and race got a hp/ma/pp modifier, and now i have mage class with more magic power than a warrior.

more fun in fight :)

and i have an option for healing at 50% hp when posting a thread in the rpg battle forum only :)

Triade
08-07-2003, 07:11 PM
I ask you a help to understand a little thing...

In Itemshop.php, in BUY PERSONAL
i found this...

$userr=$DB_site->query_first("SELECT * FROM items_cats WHERE ownerid=$bbuserinfo[userid]");

if(sizeof($userr)!=16 AND $points >= $options[pcost]) {

This part is where you can buy a personal shop... but i don't understand the control that makes on userr in the IF.

In my opinion (but i'm not a php programmer and i can say stupid things) if(sizeof($userr)!=16 can be ereased.

What do you think? Am i wrong?

EDIT TO ADD:

I changed
if(sizeof($userr)!=16 AND $points >= $options[pcost]) {
in

if($userr[ownerid]!=$bbuserinfo[userid] AND $points >= $options[pcost]) {

in this way, a user can have only 1 shop.

legendarysk8er
08-08-2003, 12:06 AM
Can anyone tell me how I could make the AP not do as much damage? When a user reaches 100% AP there is no chance in you surviving, not even me and I have 3000 posts on my forum, can someone help me with this?

saint_seiya
08-08-2003, 03:14 AM
08-05-03 at 09:45 PM Legendary Kid said this in Post #2094 (https://vborg.vbsupport.ru/showthread.php?postid=423519#post423519)
Well actually itemshop doesn't have to be field5 it could be field 43 or field15 or any field lol, but wedge is right with the solution ;)



1) Can you re-explain that?

2)What problems with healing, and what do you mean by bank stealing, if they use a script from a different website of from localhost I can give you a script that will make it so you cannot enter your bank unless you came from another part of your forum.


1) He got to level 30 and instead of increasing his stats decreased drastically...

2) Some people's hp bar just wont go up when they click heal.

3) The bank instead of giving interest seems to eat the money...

legendarysk8er
08-08-2003, 04:48 AM
I also had a problem with my HP dropping dramatically along with another member.

Legendary Kid
08-08-2003, 04:12 PM
Today at 05:14 AM saint_seiya said this in Post #2107 (https://vborg.vbsupport.ru/showthread.php?postid=424226#post424226)
1) He got to level 30 and instead of increasing his stats decreased drastically...

2) Some people's hp bar just wont go up when they click heal.

3) The bank instead of giving interest seems to eat the money...

Hmmm..... That is happening to another person named Kaotic, you might want to talk to him about the bank. I really can't help you must with the heal.php, you might what to download the rpg hack again and then re-upload a new copy of heal.php.

Mistah Roth
08-10-2003, 02:55 PM
Er a suggestion for an extra thing.... I see you have an add-on that converts Itemshop money to Store Hack money... can someone make a script the does the opposite? Converting Store Hack money to Itemshop money?

BlueBlazed
08-10-2003, 03:58 PM
what about NPC's can you code anything to battle NPC's to get you exp without playing others.

Mistah Roth
08-10-2003, 04:53 PM
I believe DarkWaltz is working on a "Monster Arena" that is pretty much the same as what you just requested, but I don't think he will have it available for free... we'll see what happens

legendarysk8er
08-10-2003, 09:21 PM
He is going to be selling it, but he has been busy with a few other things right now so he hasn't worked on it much. I think he'll be selling it for $20. I'm buying it, that's for sure.

Areku
08-10-2003, 09:31 PM
Any chances to have this hack stand alone... in the terms of keeping it hacked to vb interaction for messaging and stuff, BUT give users action points or life thru other means (i.e. TURNS-based, 1 turn each xx hours for example) instead of thru posts?

Because current way makes me think of 1000's of users posting stupid things just to gain life...

Otherwise I might have not understood the way this hack behaves...

Legendary Kid
08-11-2003, 01:49 AM
Yesterday at 11:31 PM Areku said this in Post #2114 (https://vborg.vbsupport.ru/showthread.php?postid=424974#post424974)
Any chances to have this hack stand alone... in the terms of keeping it hacked to vb interaction for messaging and stuff, BUT give users action points or life thru other means (i.e. TURNS-based, 1 turn each xx hours for example) instead of thru posts?

Because current way makes me think of 1000's of users posting stupid things just to gain life...

Otherwise I might have not understood the way this hack behaves...

Errr.... can you re-phrase that?

PixelFx
08-11-2003, 08:25 AM
It was brought up a while ago, but any of you guys want to try coding a PvM system? player vs monster?

Areku
08-11-2003, 08:28 AM
I didn't meant of monsters vs players... It's ok if it's players vs players, but if I understood it right (rephrasing!) you get life when you post on the forums right?

Don't users post stupid things on forums just to gain life then?

PixelFx
08-11-2003, 10:18 AM
adding geforce warning systems hack is good, ;) cuts down on spam ;) that and or just make it so that only time you chain points is in battle :P or other

VeoMorphine
08-11-2003, 11:36 AM
Ok, I ran into my first problem installing this on a new board (2.3.0). For some reasen when a user buys there items, they will show up in the shop on the top table where all the items you have are listed, and do work in battle, but will not show up in the postbit, the profile or any other place that the items are suppost to show up in.

Anyone have any idea? Its like the Var to show items is not working.

You can take alook at my board at Http://www.elite-network.net/forums/

lioncool1589
08-11-2003, 05:53 PM
VeoMorphine you have nice postbit on your site can i have codes

VeoMorphine
08-11-2003, 08:23 PM
Today at 07:53 PM lioncool1589 said this in Post #2120 (https://vborg.vbsupport.ru/showthread.php?postid=425221#post425221)
VeoMorphine you have nice postbit on your site can i have codes


Sorry, im not releasing my work. I'll make a cut down version of it though without the popout effects and all(witht he same layout) and let you guys use that. I wanna et this problem fixed first though.

up in smoke
08-11-2003, 11:11 PM
Is there anyway to base HP off of Total post and not post per day ?

legendarysk8er
08-11-2003, 11:22 PM
Yes, I would also like this because my post per day average sometimes drops when school starts because I have more important things to do, plus vacations and stuff.

up in smoke
08-12-2003, 12:42 AM
its not so much that...... its becuase a n00b that has been there 2 days can have twice the HP of the person with the highest psot count on the site....

Moreliator
08-12-2003, 11:05 PM
up in smoke, search this thread as your question has been answred many times.

up in smoke
08-13-2003, 12:59 AM
Alright thanks , it will only take me an hour to read through 142 pages , thanks again....

legendarysk8er
08-13-2003, 02:03 AM
Lol, once you find the page, give me the link because I'm too lazy to do it.

Moreliator
08-13-2003, 11:13 AM
Today at 02:59 AM up in smoke said this in Post #2126 (https://vborg.vbsupport.ru/showthread.php?postid=425610#post425610)
Alright thanks , it will only take me an hour to read through 142 pages , thanks again....

no, there is a "serach this thread" box at the bottom... it tooke me 5 seconds to find it, and shoulnd't take you any longer.

up in smoke
08-13-2003, 12:42 PM
I searched from 8:17 till 8:45 and found nothing.... mind telling me what words you used to search ?

kaotic
08-14-2003, 01:40 AM
I was wondering...

Would it be possible to add a "Tax" feature? Just something that would deduct about 2% for every week.

legendarysk8er
08-14-2003, 05:35 PM
Yeah, that would be neat, and it goes in a big pot to see how much tax is collected every so often or something..

Bitsys
08-14-2003, 07:05 PM
08-04-03 at 01:30 PM Legendary Kid said this in Post #2082 (https://vborg.vbsupport.ru/showthread.php?postid=423183#post423183)
What is the value for points in the itemshop hack? I know the store's point value is storep.


Itemshop money is stored in the userfield table. This table contains dynamic fields to store different values. The name of the field that stores Itemshop money is the same as the value you put for "Points field" in the Itemshop Options Menu.

08-04-03 at 11:00 PM saint_seiya said this in Post #2083 (https://vborg.vbsupport.ru/showthread.php?postid=423322#post423322)
Hey, one of my users has this problem:

Okay, my HP , once I got to approximately level 30, drastically 1,000 points.

I heard many other forums have the same problem... any fix?


In member.php (and in the Auto-Update Stats Add-on if needed), find:
* $hpmulti
And delete it.

08-04-03 at 11:52 PM Dras said this in Post #2084 (https://vborg.vbsupport.ru/showthread.php?postid=423328#post423328)
When I go to edit my users info I get this:

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: SELECT field6 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054


Do the following:
1. Go to your admin panel
2. Go to modify user profile fields
3. Find the RPG Name profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the battle options
9. In the top option put in field# and replace number with the number you recorded in step 7.

If that doesn't work, then try:
1. Go to your admin panel
2. Go to modify user profile fields
3. Find the Points profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the itemshop options
9. In the pointfield option put in field# and replace number with the number you recorded in step 7.

08-05-03 at 05:03 AM Pricyber said this in Post #2085 (https://vborg.vbsupport.ru/showthread.php?postid=423362#post423362)
[B]It allows them to purchase items for any class. However I removed it and recoded some of the template & php file so that the unknown does not show up and no item boxes show up until they choose a class.

I'm sure I could dig up what I had to change if you need it.[QUOTE]
I just tried buying an item when my class was set to Unknown and it didn't work. What was the structure and IDs of your classes before you deleted the Unknown?



[QUOTE]08-05-03 at 05:03 AM Pricyber said this in Post #2085 (https://vborg.vbsupport.ru/showthread.php?postid=423362#post423362)
I believe it is usually the one before heal full or heal full... I can't be 100% sure, as I've only seen it happen a couple of times. However picking a different one always solves the problem. It's never more than 1 at a time.
[QUOTE]

Still looking in to this one.

[QUOTE]08-05-03 at 10:19 AM [b]Blackangel said this in Post #2086 (https://vborg.vbsupport.ru/showthread.php?postid=423427#post423427)
it's possible to prevent user who have not selected any class/race /etc to get any experience and lvl ... ?

because i have some user already lvl 5 but all information are unknown (not playing, only post) , i have the lock at lvl 10

thx.


08-05-03 at 11:45 AM Legendary Kid said this in Post #2087 (https://vborg.vbsupport.ru/showthread.php?postid=423453#post423453)
Delete the unknown class, race, type. But there really isn't anything else you can do, maybe edit it so that other than unknown stuff appears when somebody first registers you could edit somestuff to make it so that a certain other race, class, type appears for every users stats appear the same when they register.

I wouldn't recommend deleting the Unknowns, since that would have an unknown effect on the hack. I do agree that there is not much to do to solve the problem right now.

08-05-03 at 12:13 PM Wedge said this in Post #2088 (https://vborg.vbsupport.ru/showthread.php?postid=423462#post423462)
I was wondering if it is possible.... to specify a class that only comes up with a specific race? (kind of like how the male/female works)

-Wedge


The relationshop and structure of races/classes does not permit that at this time.

08-05-03 at 02:00 PM Blackangel said this in Post #2091 (https://vborg.vbsupport.ru/showthread.php?postid=423490#post423490)
i have a question
it's seen that Evil alignement got less hp/ma/pp by lvl than a good.

it's normal ?!


It is possible, but I never noticed it before. Have you taken an average across the board making sure you aren't looking at skewed data?

08-05-03 at 03:12 PM lioncool1589 said this in Post #2092 (https://vborg.vbsupport.ru/showthread.php?postid=423507#post423507)
bitsys how do i descrease % miss in battle
or i have to decrease def

I would recommend decreasing defense, since the lowest chance to hit a player can have is 40%.

08-05-03 at 03:40 PM saint_seiya said this in Post #2093 (https://vborg.vbsupport.ru/showthread.php?postid=423517#post423517)
Hey, one of my users has this problem:

Okay, my HP , once I got to approximately level 30, drastically 1,000 points.

I heard many other forums have the same problem... any fix?
Try the above fix that I showed you.

08-05-03 at 03:40 PM saint_seiya said this in Post #2093 (https://vborg.vbsupport.ru/showthread.php?postid=423517#post423517)
-----
Also did oyu ever post the fix for the members with problems with healing and bank stealing their money???

I have re-written the code but I am still testing it.

08-06-03 at 07:41 PM legendarysk8er said this in Post #2100 (https://vborg.vbsupport.ru/showthread.php?postid=423966#post423966)
No, I have a pretty high post per day percentage and it didn't drop any. My actvity actually increased...
Try the above fix I posted for saint_seiya.

08-06-03 at 07:41 PM legendarysk8er said this in Post #2100 (https://vborg.vbsupport.ru/showthread.php?postid=423966#post423966)
Also, what prevents a user from creating a personal itemshop, then just buying items from his own store and giving himself money?

The money is taken out of his account, then put back in. I don't see a net gain, or am I missing something? If you were referring to the negative cost for personal itemshop items exploit, then that will be fixed in the next version.

08-06-03 at 09:13 PM Wedge said this in Post #2101 (https://vborg.vbsupport.ru/showthread.php?postid=423985#post423985)
hmm, dunno if anyone saw this when I originally posted it..

I want to limit a class to a race. So that each race has it's own classes that other races can't use. is there a way to do that?

-Wedge


Not currently.

08-07-03 at 06:25 AM Rogue Pan said this in Post #2102 (https://vborg.vbsupport.ru/showthread.php?postid=424052#post424052)
when i change the Item types in the admin cp i pick items to show up in type id 10 its show up in 0 too same with 1 & 11 and so on


Will be fixed in the next version.

08-07-03 at 03:11 PM Triade said this in Post #2105 (https://vborg.vbsupport.ru/showthread.php?postid=424152#post424152)
I ask you a help to understand a little thing...

In Itemshop.php, in BUY PERSONAL
i found this...



This part is where you can buy a personal shop... but i don't understand the control that makes on userr in the IF.

In my opinion (but i'm not a php programmer and i can say stupid things) if(sizeof($userr)!=16 can be ereased.

What do you think? Am i wrong?

EDIT TO ADD:

I changed

in



in this way, a user can have only 1 shop.


You are correct, the sizeof() function call is not really necessary. I did not write that code - it was a part of the original itemshop.

08-07-03 at 08:06 PM legendarysk8er said this in Post #2106 (https://vborg.vbsupport.ru/showthread.php?postid=424200#post424200)
Can anyone tell me how I could make the AP not do as much damage? When a user reaches 100% AP there is no chance in you surviving, not even me and I have 3000 posts on my forum, can someone help me with this?


100% AP is only supposed to do 1.5x damage. How much extra damage is it doing for you?

08-10-03 at 11:58 AM BlueBlazed said this in Post #2111 (https://vborg.vbsupport.ru/showthread.php?postid=424891#post424891)
what about NPC's can you code anything to battle NPC's to get you exp without playing others.


This has been suggested before and there are some people out there working on it right now. Unfortunately, I do not forsee doing it any time soon.

08-10-03 at 05:31 PM Areku said this in Post #2114 (https://vborg.vbsupport.ru/showthread.php?postid=424974#post424974)
Any chances to have this hack stand alone... in the terms of keeping it hacked to vb interaction for messaging and stuff, BUT give users action points or life thru other means (i.e. TURNS-based, 1 turn each xx hours for example) instead of thru posts?

Because current way makes me think of 1000's of users posting stupid things just to gain life...

Otherwise I might have not understood the way this hack behaves...

Gaining experience through posting can be turned off. That way, not matter how much a user posts, they only get experience in battle.

08-11-03 at 07:36 AM VeoMorphine said this in Post #2119 (https://vborg.vbsupport.ru/showthread.php?postid=425140#post425140)
Ok, I ran into my first problem installing this on a new board (2.3.0). For some reasen when a user buys there items, they will show up in the shop on the top table where all the items you have are listed, and do work in battle, but will not show up in the postbit, the profile or any other place that the items are suppost to show up in.

Anyone have any idea? Its like the Var to show items is not working.

You can take alook at my board at Http://www.elite-network.net/forums/


Have you tried running DB Fix?

08-11-03 at 07:11 PM up in smoke said this in Post #2122 (https://vborg.vbsupport.ru/showthread.php?postid=425293#post425293)
Is there anyway to base HP off of Total post and not post per day ?


You can't base it off of total posts, but you can turn off the post per day code as seen in my response to saint_seiya.

Yesterday at 09:40 PM kaotic said this in Post #2130 (https://vborg.vbsupport.ru/showthread.php?postid=425878#post425878)
I was wondering...

Would it be possible to add a "Tax" feature? Just something that would deduct about 2% for every week.


What would you tax? How would this affect interest? I like this idea though. Then at the end of the week, there can be a lottery to see who wins the pot.

legendarysk8er
08-14-2003, 09:17 PM
Ok, some users have done up to 30,000 damage when they reached 100% AP. The highest user on the board has only 8,000 HP. I hope btw, that thing you gave for seint_saiya works because this guys has 1000 posts less than me and has 1000 more posts than me. Anyways, how can I change this? Is it in battleupdate.php?

legendarysk8er
08-14-2003, 09:20 PM
Hey Bitsys, there are a lo of multihps in member.php..Do i delete them all or just the first one I come accross?

Bitsys
08-15-2003, 02:13 AM
Today at 05:20 PM legendarysk8er said this in Post #2134 (https://vborg.vbsupport.ru/showthread.php?postid=426061#post426061)
Hey Bitsys, there are a lo of multihps in member.php..Do i delete them all or just the first one I come accross?


In member.php, change:
$maxhpupdate = ( $level * $battleopt[hpmodifier] * $hpmulti) + $hpmodifier;
to
$maxhpupdate = ( $level * $battleopt[hpmodifier]) + $hpmodifier;

Jagang
08-15-2003, 09:45 PM
Is there a way for a person getting experence from post to have the amount of exp based on post length? So that a person writting a paragraph of text will get more exp than someone only posting a sentence. This may of been discussed before, if so just point me in the right direction.

legendarysk8er
08-15-2003, 10:18 PM
I actually have a friend who is working on that.

And Bitsys, I did what you said, yet my HP still is very low. Does it not change it?

Bitsys
08-16-2003, 12:23 AM
Today at 06:18 PM legendarysk8er said this in Post #2137 (https://vborg.vbsupport.ru/showthread.php?postid=426246#post426246)
I actually have a friend who is working on that.

And Bitsys, I did what you said, yet my HP still is very low. Does it not change it?

It won't change it unless you update your stats. Some other factors may be affecting it though. What is your level?

legendarysk8er
08-16-2003, 03:25 AM
87 currently, and I still want to know how to decrease the AP%.

legendarysk8er
08-16-2003, 03:27 AM
WHOA, I just updated my stats and it dropped 2000 again! This is ridiculious!

Bitsys
08-16-2003, 03:52 AM
Today at 11:25 PM legendarysk8er said this in Post #2139 (https://vborg.vbsupport.ru/showthread.php?postid=426295#post426295)
87 currently, and I still want to know how to decrease the AP%.

Oops, I told you wrong about Anger. I was thinking of elemental bonus. It will be rather difficult to change the anger %. However, if you really want to change it, in battleupdate.php, find:

if($user[ap] >= 100) {
If($userlevel < 11) {
$anger = 1.1;
} else {
$anger = $userlevel * .1;
}
$battleaction .= "Uh-oh, looks like someone got mad. ";
$DB_site->query("UPDATE user SET ap=0 WHERE userid='$bbuserinfo[userid]'");
} elseif($mad == 1) {
If($userlevel < 11) {
$anger = 1.1;
} else {
$anger = $userlevel * .1 * ($user[ap] / 100);
if($anger > 1.1)
$anger = 1.1;
}
$battleaction .= "Uh-oh, looks like someone got mad. ";
$DB_site->query("UPDATE user SET ap=0 WHERE userid='$bbuserinfo[userid]'");
} else {
$anger = 1;
}
and change it to:
if($user[ap] >= 100) {
$anger = 1.5;
$battleaction .= "Uh-oh, looks like someone got mad. ";
$DB_site->query("UPDATE user SET ap=0 WHERE userid='$bbuserinfo[userid]'");
} elseif($mad == 1) {
$anger = 1.5;
$battleaction .= "Uh-oh, looks like someone got mad. ";
$DB_site->query("UPDATE user SET ap=0 WHERE userid='$bbuserinfo[userid]'");
} else {
$anger = 1;
}

If you want it to do more damage, then change the 1.5 to 2.0 or something. 1.5 = 1.5 times the normal damage.

Triade
08-16-2003, 08:20 AM
Here is my first try to modify a hack.

I tested a lot, and i think it works.

In the txt you find all the instructions.

What this do?

The original personal shop, allows to have an item the don't do nothing in battle. With this hack, you can build items with bonus in battle (the bonus is in the attack now).

to prevent a user make an item with bonus 9999 selling it at 1 gil, the hack put a cost on the item.
a user spent X gil for 1 point of bonus (the x, is now 10 gil, but it can be modifyed in the admin CP in itemshop options)

to prevent a lvl 1 user, use an item with bonus +1000, the hack set a level for the item (level to use= bonus damage/X) where X is set by the admin by admin CP. Now i set this to 100.


I hope this help you to make more fun your rpg :D

P.S: If you have trouble, message me. It' s the first time, i modify a hack (really is the first time i program in php :D) so be gentle :P

legendarysk8er
08-16-2003, 12:17 PM
Ok bitsys, my AP problem is fixed, but I still want my original HP back. I don't understand why it has to be on posts per day..

Bitsys
08-16-2003, 02:56 PM
Today at 08:17 AM legendarysk8er said this in Post #2143 (https://vborg.vbsupport.ru/showthread.php?postid=426347#post426347)
Ok bitsys, my AP problem is fixed, but I still want my original HP back. I don't understand why it has to be on posts per day..


If you deleted hpmulti from the equation, then your HP is no longer based on posts per day. However, it won't go back to the way it was because you most likely were getting a bonus from the post per day variable (hpmulti). Once everyone updates their stats, then you will probably see their HP go down as well.

legendarysk8er
08-16-2003, 03:05 PM
Damn...That sucks..Maybe if I increase the number of HP added in the Admin CP, then do an update...

Oh, and on me and my friends forums, we installed this cool lil mini-hack called the RPG Map plus we made our own Clan hack, www.infinite-forums.com Just wondering if anyone wanted to see it, but I doubt we'll be giving those away.

legendarysk8er
08-16-2003, 03:07 PM
Hmmm...hey Bitsys, I updated my stats and my friend updated his and he still has 2000 more HP than me...I have 1000 more posts than him too..I know its not my class becase I checked to see what the best was.. Do you know why this is?

Bitsys
08-16-2003, 03:18 PM
Today at 11:07 AM legendarysk8er said this in Post #2146 (https://vborg.vbsupport.ru/showthread.php?postid=426373#post426373)
Hmmm...hey Bitsys, I updated my stats and my friend updated his and he still has 2000 more HP than me...I have 1000 more posts than him too..I know its not my class becase I checked to see what the best was.. Do you know why this is?


What level is he? What level are you?

Xyphen
08-16-2003, 03:22 PM
I see alot of posts have been made, I think a mod or something should kinda empty this thread a little by deleting posts that don't matter, also, all the addons that have been made, I think someone should make a list and give it to Bitsys so he can post the list on the first post, just my 0.02$.

Nice work Bitsys, im wondering if this works with vB2.3.2 because i plan on upgrading soon.

Bitsys
08-16-2003, 03:25 PM
Today at 11:22 AM AViO 07 said this in Post #2148 (https://vborg.vbsupport.ru/showthread.php?postid=426377#post426377)
I see alot of posts have been made, I think a mod or something should kinda empty this thread a little by deleting posts that don't matter, also, all the addons that have been made, I think someone should make a list and give it to Bitsys so he can post the list on the first post, just my 0.02$.

Nice work Bitsys, im wondering if this works with vB2.3.2 because i plan on upgrading soon.

Most of the major add-ons have been added to the first post. The minor stuff, like a single file edit here or there to do something, has not.

I haven't even installed vB2.3.2, so I am not sure if the code that changed affects this hack.

PixelFx
08-17-2003, 07:13 AM
my site runs on vb 2.3.2, Bitsys, its really stable, my vbulletin to photopost and back hack works perfectly with it and pp 4.10, I don't know how much will have changed, but when you release your next update of the battle system I can test it on vb2.3.2 plus I want to finish the art update I've been slaving on :)

Telchar
08-17-2003, 01:51 PM
Works on 2.3.0, except for the bank.. Takes money instead of giving..

legendarysk8er
08-17-2003, 03:18 PM
Yesterday at 05:18 PM Bitsys said this in Post #2147 (https://vborg.vbsupport.ru/showthread.php?postid=426376#post426376)
What level is he? What level are you?


I'm level 87, he's level 75.

legendarysk8er
08-18-2003, 01:54 AM
Wow, I found this forum with a really kickass rpg. I don't think it is vBulletin, but man, if someone could get some of these add-ons they had, that would be nice.

http://arc.xyberoptic.com

Bitsys
08-18-2003, 07:20 PM
Yesterday at 09:51 AM Telchar said this in Post #2151 (https://vborg.vbsupport.ru/showthread.php?postid=426601#post426601)
Works on 2.3.0, except for the bank.. Takes money instead of giving..


When does it take money instead of giving it?

Yesterday at 11:18 AM legendarysk8er said this in Post #2152 (https://vborg.vbsupport.ru/showthread.php?postid=426613#post426613)
I'm level 87, he's level 75.


What is the HP Modifier of you and your friend's elements?

If they are roughly the same, then I am at a loss as to why he has so much more than you.

Yesterday at 02:20 PM Me! said this in Post #2153 (https://vborg.vbsupport.ru/showthread.php?postid=426645#post426645)
Bitsys is there anyway I can do the following with items:

http://www.boomspeed.com/quasi/shirahimecard00.jpg

I don't mean to make a picture like that, rather align the items like that in a table.

Thank you


Where do you want to display them in a table?

Yesterday at 09:54 PM legendarysk8er said this in Post #2154 (https://vborg.vbsupport.ru/showthread.php?postid=426725#post426725)
Wow, I found this forum with a really kickass rpg. I don't think it is vBulletin, but man, if someone could get some of these add-ons they had, that would be nice.

http://arc.xyberoptic.com

forumhome:

Powered by Evil
[ GZIP Compression active | SQL Queries Performed: 77 | Page built in: 0.2986 ]

Itemshop:

Powered by Evil
[ GZIP Compression active | SQL Queries Performed: 42 | Page built in: 0.2612 ]

Battle:

Warning: Invalid argument supplied for foreach() in /home/virtual/site21/fst/var/www/html/rpg/battle.php on line 609
An error has occurred. The query being performed was SELECT skillid,name,mpuse FROM arc_skill WHERE ORDER BY element,power ASC

MySQL returned the error: You have an error in your SQL syntax near 'ORDER BY element,power ASC' at line 1

I think his RPG is still a work in progress.

legendarysk8er
08-18-2003, 07:22 PM
Yes, but the monster thing is too cool.

And my element is like 20 more HP points than his..

Bitsys
08-18-2003, 07:32 PM
Today at 03:22 PM legendarysk8er said this in Post #2156 (https://vborg.vbsupport.ru/showthread.php?postid=426870#post426870)
Yes, but the monster thing is too cool.


And my element is like 20 more HP points than his..


In that case, send me your member.php so that I can test it for myself.

legendarysk8er
08-18-2003, 07:35 PM
It won't let me attach full vB files, if you get on aim I can send it that way. My AIM is legendarysk8er2

TheRaven57
08-21-2003, 07:14 PM
I installed Moreliator's Random Turn hack, however now I get the "Invalid Password" error. I already made the "$key" -> "key1" change. Any suggestions?

Moreliator
08-21-2003, 07:23 PM
I'm not familiar with the "Invalid Password" error you are talking about, could you please explain it?

TheRaven57
08-21-2003, 11:35 PM
Basically, when a user creates a Battle it sends that PM. The opposing user clicks on the link however the screen says "Invalid Password". No password is stored in the database. I know that because on the PM it has a blank space where the password should be. My AIM is GuitarBro05 if you need any more information. You could of course use this thread...it's up to you. But I love the idea of your hack (perfect for this RPG tournament we're planning). I really hope you can help.

*EDIT: Fixed! ::Does Happy Dance::

Confuzzled
08-23-2003, 01:00 AM
Hello people :) I installed this addon on a site for someone and all was well. Suddenly though, it broke and we get a error like this.



Invalid SQL: SELECT items_user.item15,items_user.itid15,items.type FROM items_user
LEFT JOIN items ON items.itemid=items_user.itid15
WHERE items_user.userid='1'
mysql error: Unknown column 'items_user.item15' in 'field list'

mysql error number: 1054

Date: Friday 22nd of August 2003 10:03:16 PM
Script: http://www.domain/vb/vb/battlefight.php?action=enterbattle&battlenumber=461
Referer: http://www.domain/vb/battle.php?action=browse


The part that's REALLY confusing, is that it's adding a /vb onto it, could that be breaking it? We didn't do anything to the hack, it just suddenly did this @_@

I've run the database checker in the admincp, but still no avail
Any solutions?

~Francisco

Bitsys
08-23-2003, 01:11 AM
Today at 09:00 PM Confuzzled said this in Post #2162 (https://vborg.vbsupport.ru/showthread.php?postid=428029#post428029)
Hello people :) I installed this addon on a site for someone and all was well. Suddenly though, it broke and we get a error like this.



Invalid SQL: SELECT items_user.item15,items_user.itid15,items.type FROM items_user
LEFT JOIN items ON items.itemid=items_user.itid15
WHERE items_user.userid='1'
mysql error: Unknown column 'items_user.item15' in 'field list'

mysql error number: 1054

Date: Friday 22nd of August 2003 10:03:16 PM
Script: http://www.domain/vb/vb/battlefight.php?action=enterbattle&battlenumber=461
Referer: http://www.domain/vb/battle.php?action=browse


The part that's REALLY confusing, is that it's adding a /vb onto it, could that be breaking it? We didn't do anything to the hack, it just suddenly did this @_@

I've run the database checker in the admincp, but still no avail
Any solutions?

~Francisco


What is the structure of your items_user table?

In battlefight.php, are you able to find the following:
$itemcats = $DB_site->query("SELECT id, battletype FROM items_cats WHERE type = 0 ORDER BY battletype");

Have you added any personal item shops recently?

Confuzzled
08-23-2003, 01:38 AM
thank you for the quick reply.
I did a check on the file, and it IS there. I've talked with the admin, and he said that yes, there are personal shops are in play.

Is there any place in the admincp that lists the stores and what their selling? What should i look for in the personal shops that could bust it like this?

Thanks again

~Francisco

Bitsys
08-23-2003, 01:30 PM
Yesterday at 09:38 PM Confuzzled said this in Post #2164 (https://vborg.vbsupport.ru/showthread.php?postid=428046#post428046)
thank you for the quick reply.
I did a check on the file, and it IS there. I've talked with the admin, and he said that yes, there are personal shops are in play.

Is there any place in the admincp that lists the stores and what their selling? What should i look for in the personal shops that could bust it like this?

Thanks again

~Francisco


I am pretty sure there is nothing you did wrong. I think this is a bug from the last version that I have fixed on my version but I haven't released yet. To test this theory, try the following:

In battlefight.php, find:

$itemcats = $DB_site->query("SELECT id, battletype FROM items_cats ORDER BY battletype");

and CHANGE it to:

$itemcats = $DB_site->query("SELECT id, battletype FROM items_cats WHERE type = 0 ORDER BY battletype");

If that does not work then it may be something else that I am not aware of.

legendarysk8er
08-23-2003, 04:08 PM
I wish the new version would come soon.

Bitsys
08-25-2003, 05:51 PM
Version 0.68 is done. Check the first post for the new .zip file. Upgrade instructions are included in the upgrade directory.

This is a mainly bug fix version.

Bugs Fixed:

Fixed mysql error in battleupdate.php when personal itemshop IDs were greater than non-personal IDs and the user had a personal item.
Removed hard-coded references to the word "Gil" from battle.php. There is now a "$" in its place.
Fixed personal itemshop money exploit involving negative cost for items.
Fixed class bug in itemshop.php that allowed certain class IDs to buy items meant for other classes.


Major Changes:

All code in battleupdate.php has been re-written.
All code in battle.php and heal.php that deals with money will now use the user's cash instead of his/her bank account. This should alleviate the appearence of disappearing bank money and help track down any existing bugs.


The working shields add-on has been included in this version of the hack. You do not need to re-install it after upgrading.

The uninstaller for the previous version should work for this version as well.

This version will probably be buggy, since I have not had adequate time to test it, so as always, if you find any bugs or errors, let me know :)

legendarysk8er
08-25-2003, 06:00 PM
Ok, I'll wait for others to post how it went first to make sure there's nothing wrong with it.

Hobbes
08-25-2003, 11:43 PM
installed on 2.3.2....went good :)

legendarysk8er
08-25-2003, 11:47 PM
Ok, I guess I'll install on 2.3.0 now.

TheRaven57
08-26-2003, 02:04 AM
Is there a way to give users a set amount of money everytime they battle, regardless of bets (but not replacing them of course)?

sh-demon
08-27-2003, 03:37 AM
hmm just installed this hack and it seems to be working but im having a issue cuz i see 2 places for the options that you set for the rpg when you go to your user control panel and edit options. is this supposed to be like this or did i mess something up? any help will be greatly appreciated.

also i enter in my name that i want for my character but it doesnt show it also the pics that are supposed to show do not come up but they are in the right place. Someone please help me.

also i was wondering if there was a way to put links to the store and rpg and battle areas on the main forums page. If someone has done this already can you please paste what you did here.

thanks in advance for any help given with this.

hmm i tried uninstalling and reinstalling but its still the same thing but now i cant even pick a class or element or anything else rpg related for that matter. I really need help with thisl cuz i want to add this to my forums badly.

can someone post there modifyprofile template that has this hack installed cuz i think mine is messed up.

Im curious cuz now i have 3 rgp name areas when i look at my edit options link. Where can i fix this is it in a file or is it somewhere else?

sh-demon
08-27-2003, 06:11 AM
nvm this post i figured out how to remove what i needed to remove.

sh-demon
08-27-2003, 09:43 AM
Ok I got the hack to install and it said i didnt have errors but now when i go to my user control panel i get this error


Parse error: parse error, expecting `','' or `';'' in /home/sh-demon/public_html/forums/member.php on line 695


anyone know how to fix this?

my line 695 in member.php is this


$fetchclan=$DB_site->query("SELECT * FROM clan WHERE pass='$pickclan'");
$clanage=$DB_site->fetch_array($fetchclan);
$DB_site->query("UPDATE user SET clan='$clanage[clanid]' WHERE userid=$bbuserinfo[userid]");
if ($showbirthdays)
getbirthdays();

sh-demon
08-27-2003, 10:24 AM
ahh it just keeps getting worse lol when i go to the item store link i get this error someone please help me im going nuts.


Database error in vBulletin 2.3.2:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=1
mysql error: Unknown column 'field5' in 'field list'

mysql error number: 1054

Date: Wednesday 27th of August 2003 07:28:33 AM
Script: http://www.sogland.com/forums/forums/itemshop.php
Referer:

sh-demon
08-27-2003, 10:29 AM
hmm i fixed the error i was getting when i clicked on submit reply but im still getting that same error when i try and go to the store link or any other of the new places that this hack added.

just went to the rpgcp.php link and i get this error

Fatal error: Call to undefined function: getlevel() in /home/sh-demon/public_html/forums/rpgcp.php on line 107

god this is driving me nuts

just checked the battle link and that one works fine.

Man where is everyone ive been asking for help since 1 am and its now gonna be 8 am

sh-demon
08-27-2003, 04:15 PM
Fixed the above error but im still getting the parse error when i go to edit options or edit password or edit profile. god where is everyone its 1pm already someone has got to know how to fix this error.

sh-demon
08-27-2003, 10:02 PM
Ok all my errors are fixed thanks to bytsis. But im having a problem with the battle portion It seems that i cant use any items whatsoever. I did edit the item buffs (set them all to 20) but not sure exactly what im supposed to do there.

Elly
08-27-2003, 10:49 PM
This should have been asked already I just can not find it anywere

Is it possible to set it so that special classes, lets say admin only classes can only be viewed by the admins and the S-mods?

At my forums we dont allow Moderators to have their own special class and I woudl like them to not be able to chose from the special classes added in.

If it has been asked please just point me to the page or post if not I wont feel so bad and would like some help with that

thanks

- Elly

Blackangel
08-28-2003, 01:26 PM
i have found this bug on 67b, and i jsut see that they are on 68 too
find this line in battleupdate.php

$userattbonus = $DB_site->query_first("SELECT $id FROM items_user WHERE userid='$opponent[userid]'");

and replace by

$userattbonus = $DB_site->query_first("SELECT $id FROM items_user WHERE userid='$user[userid]'");


Because he take damage bonus item from your opponent and not our item.

i have do a test, a friend with damage item and me with nothing.
i got all damage bonus item from my friend, and my friend get 0 damage bonus.

i think it's a bug.

Bitsys
08-28-2003, 05:39 PM
Yesterday at 06:49 PM Elly said this in Post #2180 (https://vborg.vbsupport.ru/showthread.php?postid=429111#post429111)
This should have been asked already I just can not find it anywere

Is it possible to set it so that special classes, lets say admin only classes can only be viewed by the admins and the S-mods?

At my forums we dont allow Moderators to have their own special class and I woudl like them to not be able to chose from the special classes added in.

If it has been asked please just point me to the page or post if not I wont feel so bad and would like some help with that

thanks

- Elly

That is not currently possible because there is no easy way to tell if a user is a super moderator. It is much easier to tell if they are a moderator or above.

Today at 09:26 AM Blackangel said this in Post #2181 (https://vborg.vbsupport.ru/showthread.php?postid=429240#post429240)
i have found this bug on 67b, and i jsut see that they are on 68 too
find this line in battleupdate.php

$userattbonus = $DB_site->query_first("SELECT $id FROM items_user WHERE userid='$opponent[userid]'");

and replace by

$userattbonus = $DB_site->query_first("SELECT $id FROM items_user WHERE userid='$user[userid]'");


Because he take damage bonus item from your opponent and not our item.

i have do a test, a friend with damage item and me with nothing.
i got all damage bonus item from my friend, and my friend get 0 damage bonus.

i think it's a bug.


Thanks, will be fixed in the next version.

Red Blaze
08-29-2003, 03:05 AM
I was thinking of a little modification, or addon (what ever it would be considered as), about sprites. I was thinking of making it similiar to uploading a costum avatar, so that a user can upload a custom sprite. Sorry if I don't make sense, I'm totally sleepy and I'm doing this at the last minute. I was thinking on doing this on my own, but I can't seem to figure it out. Can someone help me out with this? Thanks in advance.

Blaine0002
08-29-2003, 11:25 PM
Okay i got some problems/ Questions

1.Is there any way to assign a certain image (charictor) to a certain user? for example i could sell special images for certain ammounts of gil
2.Is there any way to get the items people sell from their shops working? i dont want to use the bonus hack because i dont want a bonus. i just want the regular damage

Blaine0002
08-29-2003, 11:27 PM
Oh, and sorry for double posting but i want to know how to get potions to work. i can make the item type potion but there is no place to specifu how much HP/MA it heals.

legendarysk8er
08-30-2003, 01:05 AM
To know how much the HP/MA heals is the buff.

sh-demon
08-30-2003, 03:00 AM
hmm i just had a battle with one of my members and when we both went to heal it told us that we didnt have any gold but we do have alot of gold. also it seems all of the items have disapeared from the item shop. I have no clue how this happend but i did reset the users items and points. could that somehow have messed up the database and if so is there any way to get the items back?

sh-demon
08-30-2003, 03:12 AM
lol nvm this post i fixed my problem by just re-running the install_itemshop.php installer again. sorry for the wasted space lol.

Blaine0002
08-30-2003, 04:13 AM
Okay i got some problems/ Questions

1.Is there any way to assign a certain image (charictor) to a certain user? for example i could sell special images for certain ammounts of gil
2.Is there any way to get the items people sell from their shops working? i dont want to use the bonus hack because i dont want a bonus. i just want the regular damage

Bitsys
08-30-2003, 01:59 PM
08-28-03 at 11:05 PM Sonikku said this in Post #2183 (https://vborg.vbsupport.ru/showthread.php?postid=429359#post429359)
I was thinking of a little modification, or addon (what ever it would be considered as), about sprites. I was thinking of making it similiar to uploading a costum avatar, so that a user can upload a custom sprite. Sorry if I don't make sense, I'm totally sleepy and I'm doing this at the last minute. I was thinking on doing this on my own, but I can't seem to figure it out. Can someone help me out with this? Thanks in advance.


I understand what you are asking. However, I have never written an upload script before either. I guess I could go learn how to do it though ;)

Yesterday at 07:25 PM Blaine0002 said this in Post #2184 (https://vborg.vbsupport.ru/showthread.php?postid=429587#post429587)
Okay i got some problems/ Questions

1.Is there any way to assign a certain image (charictor) to a certain user? for example i could sell special images for certain ammounts of gil

Not currently.

Yesterday at 07:25 PM Blaine0002 said this in Post #2184 (https://vborg.vbsupport.ru/showthread.php?postid=429587#post429587)
2.Is there any way to get the items people sell from their shops working? i dont want to use the bonus hack because i dont want a bonus. i just want the regular damage

Allowing the items from personal shops to work has the problem of unbalancing the admin created items. The only way to fix this would be to have a moderation que ue in the admincp. However, such an addon is a little out of the scope of the direction of this hack.

RPGXtreme
08-30-2003, 02:58 PM
i have a little prob, the hack installed allright and everything is working apart from 2things, in the vbulletin control panel theres the same stuff but doubled and you cant choose your class, and in i also have a problem in a showthread.php, when its not edited my board works fine, but when i edit it when i go into a post the author+text dont show. Any ideas?

Bitsys
08-30-2003, 08:57 PM
Today at 10:58 AM RPGXtreme said this in Post #2191 (https://vborg.vbsupport.ru/showthread.php?postid=429746#post429746)
i have a little prob, the hack installed allright and everything is working apart from 2things, in the vbulletin control panel theres the same stuff but doubled

See https://vborg.vbsupport.ru/showthread.php?postid=423093#post423093

Today at 10:58 AM RPGXtreme said this in Post #2191 (https://vborg.vbsupport.ru/showthread.php?postid=429746#post429746)
and you cant choose your class,

After fixing the template, let me know if it still doesn't let you choose your class.

Today at 10:58 AM RPGXtreme said this in Post #2191 (https://vborg.vbsupport.ru/showthread.php?postid=429746#post429746)
and in i also have a problem in a showthread.php, when its not edited my board works fine, but when i edit it when i go into a post the author+text dont show. Any ideas?

Send me your showthread.php (the edited one) and I will make sure all of the edits were done properly.

Blaine0002
08-30-2003, 11:37 PM
Oh no!!!! we were just about to have a tournament when a MYSQL error sprung up! you get it when you are challenged and you click "Here" to go into your battle! It says somthing about "Field5" anything?

Blaine0002
08-30-2003, 11:59 PM
Here is the error

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT items_user.item5,items_user.itid5,items.type FROM items_user
LEFT JOIN items ON items.itemid=items_user.itid5
WHERE userid='1'
mysql error: Unknown column 'items_user.item5' in 'field list'

mysql error number: 1054

Date: Sunday 31st of August 2003 01:05:03 AM
Script: http://www.crossingcentral.com/forums/forums/battlefight.php?action=confirmbattle&battlekey=none&battlenumber=201
Referer: http://www.crossingcentral.com/forums/battlefight.php?action=enterbattle&battlenumber=201&battlekey=none
Repair Report: This type of error cannot be automatically repaired.

Blaine0002
08-31-2003, 12:22 AM
Okay, i just checked the Items_User thing in the Mysqladmin

and it goes from
Userid
all the way to
Itid3

Am i missing the ones all the way up to 5? and what SQL Query would i use to solve it?
Oh and i think the reason for this is because we turned off the battle system for 15 minutes? not sure though

PixelFx
08-31-2003, 12:51 AM
this error has been addressed before it's easy to fix ..

got your admin cp, go to "User Profile Fields"

look for
Points No Yes No 250 25 [edit] [remove]

run mouse over edit, make a note of what field number it says, default is field 5 normally.

goto your Itemshop section, Edit Options,

read where it says, Point Field

change the field info to the id that you saw when you hovered your mouse over the "Points No Yes No 250 25 [edit] [remove]" edit button.

you might have it like field6 or something so you would just change it to that, and your error will be fixed ;)

hope that helps :)

kaotic
08-31-2003, 01:49 AM
I wonder... would it be possible for users to set up their own characters? Perhaps each user automatically gets about 20 to 25 spending points for the statistics (reg att, reg def, mag att, mag def, speed, and evade), with each stat having a limit of 6 or 7 points each. I thought it through myself, but I'm not exactly sure how to set up an error page when a user tries to spend more points than the set number.

Also, has anyone else had a problem inactive battles not expiring after 24 hours?

Blaine0002
08-31-2003, 02:36 AM
PixelFX they are both 5 but the url just says the number "5" and the itemshop options say "Field5" dhould i make the itemshop options say just plain "5"

Bitsys
08-31-2003, 01:43 PM
Yesterday at 08:22 PM Blaine0002 said this in Post #2195 (https://vborg.vbsupport.ru/showthread.php?postid=429862#post429862)
Okay, i just checked the Items_User thing in the Mysqladmin

and it goes from
Userid
all the way to
Itid3

Am i missing the ones all the way up to 5? and what SQL Query would i use to solve it?
Oh and i think the reason for this is because we turned off the battle system for 15 minutes? not sure though


Go to the Edit Items menu in the admin cp. Find the item category that has an ID of 5. Is it a personal itemshop? Also, what is the name of the category and how was it added?

Yesterday at 09:49 PM kaotic said this in Post #2197 (https://vborg.vbsupport.ru/showthread.php?postid=429882#post429882)
I wonder... would it be possible for users to set up their own characters? Perhaps each user automatically gets about 20 to 25 spending points for the statistics (reg att, reg def, mag att, mag def, speed, and evade), with each stat having a limit of 6 or 7 points each. I thought it through myself, but I'm not exactly sure how to set up an error page when a user tries to spend more points than the set number.

That would be a little hard to implement in the current system, since those stats are generated on the fly and aren't stored in the database anywhere.

Yesterday at 09:49 PM kaotic said this in Post #2197 (https://vborg.vbsupport.ru/showthread.php?postid=429882#post429882)
Also, has anyone else had a problem inactive battles not expiring after 24 hours?

Inactive battles aren't supposed to automatically expire. They will only be removed when you run the Pruning script and they have been inactive for the specified amount of time.

Telchar
08-31-2003, 03:36 PM
Upgraded to v 0.68 and I get 'Invalid battle or password ' when trying to enter a battle..

Blaine0002
08-31-2003, 03:54 PM
i dont think its an personal itemshop error, because "Megamans Item Shop" Wich he baught for 2000 gil has always worked in the past...

Blaine0002
08-31-2003, 04:23 PM
Telchar, for that you need to fill in a battle password, you cant leave it blank :P

daveone
08-31-2003, 05:59 PM
ähm bitsy
is it now so , that people their challenged , not must pay money when they say no ?

Telchar
08-31-2003, 06:33 PM
Today at 07:23 PM Blaine0002 said this in Post #2202 (https://vborg.vbsupport.ru/showthread.php?postid=430084#post430084)
Telchar, for that you need to fill in a battle password, you cant leave it blank :P
I know that.. ;) But it makes no different wheather i put a password there or not, i get 'Invalid battle or password'.

This is the PM when we tried it.. Shouldn't there be a password some where?
Gamil has challenged you in a battle. It is battle number 103 and is called Test Battle. There is $10 at stake in this battle. Your battle password is ''. To go to your battle click here
And there's no battle key in the link:
battlefight.php?action=enterbattle&battlenumber=103&battlekey=

Blaine0002
09-01-2003, 12:24 AM
Ohh! Bitsys! the 5th shop IS a personal itemshop... Does that have anything to do with it?

kaotic
09-01-2003, 10:31 PM
Is there a way to lower or maybe even reset AP after a battle ends? We have organized tournaments sometimes, and some of the participants like to get their AP really high before their next battle begins.

Darkwaltz
09-02-2003, 09:42 AM
this hack is great but...

the stats show up fine in the rpg cp...

but when i add the code in the postbit or the getinfo....it all looks fine but the actuall numbers and names dont show so i get something like this

Level:
Race:
Gender:
Class:
Element: -
Alignment:

but in the rpg cp i see it all....anyone know how to fix this?

hp is staying on 0/0 even when i have alot of exp?

i am also missing a few of the options in the admin cp so if anyone could upload there fully edited Admin/index.php file that would be great

Red Blaze
09-02-2003, 05:34 PM
08-30-03 at 09:59 AM Bitsys said this in Post #2190 (https://vborg.vbsupport.ru/showthread.php?postid=429738#post429738)
I understand what you are asking. However, I have never written an upload script before either. I guess I could go learn how to do it though ;)



Really?! Mind if I help you along? I would also like to learn about how to upload during the process of making the modification. That's if you're not too busy rather. ^^;;

I was thinking it would be similar to the code of uploading an avatar. Just a thought.

Jagang
09-02-2003, 06:28 PM
Since I got no answer to this last time I posted it, I will ask again.


08-15-03 at 11:45 PM Jagang said this in Post #2136 (https://vborg.vbsupport.ru/showthread.php?postid=426238#post426238)
Is there a way for a person getting experence from post to have the amount of exp based on post length? So that a person writting a paragraph of text will get more exp than someone only posting a sentence. This may of been discussed before, if so just point me in the right direction.

legendarysk8er
09-03-2003, 01:31 AM
One of my friend's WAS working on that hack, but I don't know if he ever finished it or not. I'll ask him for you.

Bitsys
09-03-2003, 11:10 AM
08-31-03 at 11:36 AM Telchar said this in Post #2200 (https://vborg.vbsupport.ru/showthread.php?postid=430071#post430071)
Upgraded to v 0.68 and I get 'Invalid battle or password ' when trying to enter a battle..


I think the fix for this is to replace all references of $key in battle.php with $key1.

08-31-03 at 01:59 PM daveone said this in Post #2203 (https://vborg.vbsupport.ru/showthread.php?postid=430113#post430113)
?hm bitsy
is it now so , that people their challenged , not must pay money when they say no ?


That is correct. When you are challenged and you decline, then you do not have to pay the wager.

08-31-03 at 08:24 PM Blaine0002 said this in Post #2205 (https://vborg.vbsupport.ru/showthread.php?postid=430243#post430243)
Ohh! Bitsys! the 5th shop IS a personal itemshop... Does that have anything to do with it?


In battlefight.php, find:
$itemcats = $DB_site->query("SELECT id, battletype FROM items_cats WHERE type = 0 ORDER BY battletype");

Are you able to find it?

09-01-03 at 06:31 PM kaotic said this in Post #2206 (https://vborg.vbsupport.ru/showthread.php?postid=430540#post430540)
Is there a way to lower or maybe even reset AP after a battle ends? We have organized tournaments sometimes, and some of the participants like to get their AP really high before their next battle begins.


There isn't an automatic way of doing this. However, you can do it by running a query. I believe it would be:

UPDATE user SET ap = 0

That query would set the AP to 0 for everyone.


Yesterday at 05:42 AM Darkwaltz said this in Post #2207 (https://vborg.vbsupport.ru/showthread.php?postid=430670#post430670)
this hack is great but...

the stats show up fine in the rpg cp...

but when i add the code in the postbit or the getinfo....it all looks fine but the actuall numbers and names dont show so i get something like this

Level:
Race:
Gender:
Class:
Element: -
Alignment:

but in the rpg cp i see it all....anyone know how to fix this?

hp is staying on 0/0 even when i have alot of exp?

i am also missing a few of the options in the admin cp so if anyone could upload there fully edited Admin/index.php file that would be great


Make sure you update your stats. After that, run DB Fix. If neither of those work, then let me know.

Yesterday at 02:28 PM Jagang said this in Post #2209 (https://vborg.vbsupport.ru/showthread.php?postid=430769#post430769)
Since I got no answer to this last time I posted it, I will ask again.


Yes, there is a way to do that. However, it would require custom modifications.

Jagang
09-03-2003, 03:35 PM
Today at 01:10 PM Bitsys said this in Post #2211 (https://vborg.vbsupport.ru/showthread.php?postid=430947#post430947)
Yes, there is a way to do that. However, it would require custom modifications.

Bitsys, could you expand on that a little? What type of "custom modifications" would be needed and to what files? I just need a place to start looking.

Bitsys
09-03-2003, 06:24 PM
Today at 11:35 AM Jagang said this in Post #2212 (https://vborg.vbsupport.ru/showthread.php?postid=431009#post431009)
Bitsys, could you expand on that a little? What type of "custom modifications" would be needed and to what files? I just need a place to start looking.


In newthread.php and newreply.php, find:

$DB_site->query("UPDATE user SET xp=xp+$battleopt[expperpost] WHERE userid='$bbuserinfo[userid]'");

That is the query used to give the user experience. To determine the length of the message and store it in a variable, use the following code:

$messagelength = strlen($message);

You could change the query to something like:

$DB_site->query("UPDATE user SET xp=xp+" . intval($battleopt['expperpost'] * strlen($message) / 100) . " WHERE userid='$bbuserinfo[userid]'");

This would give the user the full amount of exp per post if the message was exactly 100 characters. If the message was 200 characters, then the user would get twice the amount of normal xp per post, etc.

You could always put a cap on the amount of exp people get could get so that people didn't make a post that contained the same characers over and over again.

Please note that I have not tested any of the above code.

Jagang
09-03-2003, 06:28 PM
That was exactly what I needed. I'll toy around with it and see what happens. Thanx Bitsys, you're the best.

Telchar
09-03-2003, 09:14 PM
Yesterday at 02:10 PM Bitsys said this in Post #2211 (https://vborg.vbsupport.ru/showthread.php?postid=430947#post430947)
I think the fix for this is to replace all references of $key in battle.php with $key1.

Still no password in the PM, and still get invalid password when trying to access the battle..

For 'wager' you use '$wager' but for 'battlekey' you use '$key'? Tried to change it, but had no effect..

Bitsys
09-03-2003, 10:31 PM
Today at 05:14 PM Telchar said this in Post #2215 (https://vborg.vbsupport.ru/showthread.php?postid=431096#post431096)
Still no password in the PM, and still get invalid password when trying to access the battle..

For 'wager' you use '$wager' but for 'battlekey' you use '$key'? Tried to change it, but had no effect..

Oops, I forgot to tell you to edit the new battle template ;)

Replace all "$key" with "$key1" in battle.php.

Then, in template battle_newbattle, find "key" and replace it with "key1".

Let me know if that works.

lioncool1589
09-04-2003, 02:36 AM
bitsys help me out why my angry still do alot dmg after i updated lastest version

http://www.clan-ice.com/showthread.php?postid=44129#post44129


Debug Variables:
Anger ($anger): 15.2
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 8
Regular Attack Bonus ($regattbonus): 8630.4900154444
Regular Defense Minus ($regdefminus): 3794.7144049102
Damage Done ($damagedone): 159575 == [floor((2350 + 8630.4900154444) * 1 * 15.2 + 2450 - 7400 - 3794.7144049102)]
Dodge Chance ($dodgechance): 1100
New HP ($newhp): -156442

Blackangel
09-04-2003, 08:16 AM
<a href="http://www.rpgpalace.net/forums/" target="_blank">http://www.rpgpalace.net/forums/</a>

they have a nice rpg hack...

Telchar
09-04-2003, 05:26 PM
Today at 01:31 AM Bitsys said this in Post #2216 (https://vborg.vbsupport.ru/showthread.php?postid=431113#post431113)
Oops, I forgot to tell you to edit the new battle template ;)

Replace all "$key" with "$key1" in battle.php.

Then, in template battle_newbattle, find "key" and replace it with "key1".

Let me know if that works.


It worked! :laugh: Thanks!

But now i got another problem..
I get this each time someone attacks:
Debug Variables:
Anger ($anger): 1
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 18
Regular Attack Bonus ($regattbonus): 568.112838537
Regular Defense Minus ($regdefminus): 388.721620688
Damage Done ($damagedone): 304 == [floor((450 + 568.112838537) * 1 * 1 + 0 - 350 - 388.721620688)]
Dodge Chance ($dodgechance): 32
New HP ($newhp): 1823

It happens with all weapons, though not the when using the shields.. Where do i edit so it dissapears?
The shields don't work on my character, but it works for another admin.

Bitsys
09-04-2003, 05:41 PM
Yesterday at 10:36 PM lioncool1589 said this in Post #2217 (https://vborg.vbsupport.ru/showthread.php?postid=431169#post431169)
bitsys help me out why my angry still do alot dmg after i updated lastest version

http://www.clan-ice.com/showthread.php?postid=44129#post44129


Debug Variables:
Anger ($anger): 15.2
Hit Chance ($hitchance): 0.9
Random Number ($randnum): 8
Regular Attack Bonus ($regattbonus): 8630.4900154444
Regular Defense Minus ($regdefminus): 3794.7144049102
Damage Done ($damagedone): 159575 == [floor((2350 + 8630.4900154444) * 1 * 15.2 + 2450 - 7400 - 3794.7144049102)]
Dodge Chance ($dodgechance): 1100
New HP ($newhp): -156442


Anger is still based on a user's level. To restrict anger damage, do the following:

In battleupdate.php, find:
$debugvariables .= "Anger (\$anger): $anger\n";
and ABOVE it, add:
if ($anger > XX)
{
$anger = XX;
}

Where XX is a number greater than 1. If XX is 3.0, then the user will do a maximum of 3 times as much damage.

Today at 01:26 PM Telchar said this in Post #2219 (https://vborg.vbsupport.ru/showthread.php?postid=431329#post431329)
It worked! :laugh: Thanks!

But now i got another problem..
I get this each time someone attacks:

It happens with all weapons, though not the when using the shields.. Where do i edit so it dissapears?
The shields don't work on my character, but it works for another admin.


In battleupdate.php, find:

$battledebug = 1;

and change it to:

$battledebug = 0;

What is the buff for the shield? Are you both using the same shield? How does it not work?

Telchar
09-04-2003, 05:55 PM
The buff for my shield is a bitt higher than his.
The option to use the shield for defence dosn't show up for me.

Bitsys
09-04-2003, 06:06 PM
Today at 01:55 PM Telchar said this in Post #2221 (https://vborg.vbsupport.ru/showthread.php?postid=431334#post431334)
The buff for my shield is a bitt higher than his.
The option to use the shield for defence dosn't show up for me.


Did you set the Battle Type of your Item Category for your shield to "Shields". Is the other admin's shield in the same item category as yours?

Telchar
09-04-2003, 06:07 PM
yes and yes.

These are my options:
Your Moves:
Use your Grond
Use your fists.
Use your Potion
Cast your Vilya (Heal: 120 MA)
Cast your The Staff of Light (Attack and Heal: 75 MA)
Request a draw.
Retreat

These are the options of another admin:
Use your Iron Spear
Use your Glamdring
Use your fists.
Use your Hp-Potion
Cast your Ring of Barahir (Heal: 30 MA)
Defend with your Dwarven Shield
Request a draw.
Retreat

LightBringer
09-04-2003, 06:28 PM
Bitsys, will you be moving this to vb3.0 when it's released?

Bitsys
09-04-2003, 06:48 PM
Today at 02:28 PM LightBringer said this in Post #2224 (https://vborg.vbsupport.ru/showthread.php?postid=431342#post431342)
Bitsys, will you be moving this to vb3.0 when it's released?

I have not decided one way or the other yet.

I am not very keen on the idea of "porting" it to vb3.

lioncool1589
09-05-2003, 12:36 AM
bitsys when ppl use spell to attack it didnt show Debug Variables

http://clan-ice.com/showthread.php?s=&threadid=4050

Bitsys
09-05-2003, 12:58 AM
Today at 08:36 PM lioncool1589 said this in Post #2226 (https://vborg.vbsupport.ru/showthread.php?postid=431431#post431431)
bitsys when ppl use spell to attack it didnt show Debug Variables

http://clan-ice.com/showthread.php?s=&threadid=4050


Spells don't have any battle debug messages.

lioncool1589
09-05-2003, 03:47 AM
bitsys if i want decrease percent miss in battle without decrease def armor, etc.. which codes i change in battleupdate.php

Bitsys
09-05-2003, 04:57 PM
Yesterday at 11:47 PM lioncool1589 said this in Post #2228 (https://vborg.vbsupport.ru/showthread.php?postid=431466#post431466)
bitsys if i want decrease percent miss in battle without decrease def armor, etc.. which codes i change in battleupdate.php

The following code handle the % chance to hit.

It should be pretty self-explanatory.


// ############ % Chance to hit code ############
if ($oevade > 0)
{
$hitchance = 0.6 + log10($uspeed / $oevade);
}
else
{
$hitchance = .9;
}
if ($hitchance < .4)
{
$aphitchance = ($user[ap] - 40) / 100;
if ($aphitchance < 0)
{
$aphitchance = 0;
}
$hitchance = .4 + $aphitchance;
}
if ($hitchance > .9)
{
$hitchance = .9;
}
$debugvariables .= "Hit Chance (\$hitchance): $hitchance\n";

Bitsys
09-05-2003, 08:59 PM
Today at 04:07 PM Me! said this in Post #2230 (https://vborg.vbsupport.ru/showthread.php?postid=431603#post431603)
Is it possible to set it so that the itemshop and bank are not viewable to guests?


In itemshop.php, find:
require('./global.php');
and BELOW it, add:
if ($bbuserinfo['userid'] == 0)
{
show_nopermission();
}

Boh
09-07-2003, 04:03 AM
Uh... hopefully this has been addressed before... if not... I need help...

When updating my profile, I cannot select an Element, Alignment, Race, Gender, Class, etc.

They exist too....!

Obviously, if I can't select those... if they won't show up... I can't battle :(

Attatched: screenshot of my edit profile

Bitsys
09-07-2003, 02:22 PM
Today at 12:03 AM Boh said this in Post #2233 (https://vborg.vbsupport.ru/showthread.php?postid=431899#post431899)
Uh... hopefully this has been addressed before... if not... I need help...

When updating my profile, I cannot select an Element, Alignment, Race, Gender, Class, etc.

They exist too....!

Obviously, if I can't select those... if they won't show up... I can't battle :(

Attatched: screenshot of my edit profile


Can you view the HTML source of the member profile webpage and paste it here?

Boh
09-07-2003, 03:24 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Chamber of Sages - Update profile</title>
<style type="text/css">
.noexpand {
display: none;
font-family: verdana, arial, helvetica;
font-size: 8pt;
position: relative;
}
.expand {
display: normal;
font-family: verdana, arial, helvetica;
font-size: 8pt;
position: relative;
}
a.drop {
font-family: verdana, arial, helvetica;
font-size: 8pt;
color: black;
text-decoration: underline;
}
</style>
<script language="Javascript">
function expand(n) {
var y= document.getElementById(n)
if(y.className=="noexpand" ) {
y.className = "expand"
}
else {
y.className="noexpand"
}
}
</script>
<meta http-equiv="MSThemeCompatible" content="Yes">
<style type="text/css">
BODY {
SCROLLBAR-BASE-COLOR: #006699;
SCROLLBAR-ARROW-COLOR: #FFFFFF;
}
SELECT {
FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
FONT-SIZE: 10px;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
}
TEXTAREA, .bginput {
FONT-SIZE: 10px;
FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
}
A:link, A:visited, A:active {
COLOR: #FFFFFF;
}
A:hover {
COLOR: #000000;
TEXT-DECORATION: underline;
}
#cat A:link, #cat A:visited, #cat A:active {
COLOR: #FFFFFF;
TEXT-DECORATION: none;
}
#cat A:hover {
COLOR: #FFFFFF;
TEXT-DECORATION: underline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
COLOR: #FFFFFF;
TEXT-DECORATION: none;
}
#ltlink A:hover {
COLOR: #000000;
TEXT-DECORATION: underline;
}
.thtcolor {
COLOR: #FFFFFF;
}
INPUT {border:1px solid #000000; background-color:#006699; border-style: solid; font-size: 9px; color: #FFFFFF
}
</style>


</head>
<body bgcolor="#528AAD" text="#000000" id="all" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#000020" vlink="#000020" alink="#000020">
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--



function updateRaces(){
with (document.profile.alignment){
var choice = options[selectedIndex].value;
}
document.profile.rpgrace.length = 0;
choice = eval(choice);
for (var i=0;i<choice.length;i++){
with (document.profile.rpgrace){
options[length] = new Option(choice[i],choice[++i],false,false);
}
}
if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape")) { history.go(0);
}
}

function updateType(){
with (document.profile.rpggender){
var gender = options[selectedIndex].value;
}
if (gender == "gd1"){
with (document.profile.rpgclass){
var rclass = options.selectedIndex;
}
rclass = eval(rclass);
document.profile.rpgtypename.value = typename1[rclass];
document.profile.rpgtypeid.value = typeid1[rclass];

} else if(gender == "gd2") {
with (document.profile.rpgclass){
var rclass = options.selectedIndex;
}
rclass = eval(rclass);
document.profile.rpgtypename.value = typename2[rclass];
document.profile.rpgtypeid.value = typeid2[rclass];
} else {
document.profile.rpgtypename.value = typename0[0];
document.profile.rpgtypeid.value = typeid0[0];

}
if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape")) { history.go(0);
}
}

function updateClasses(){
with (document.profile.rpggender){
var choice = options[selectedIndex].value;
}
document.profile.rpgclass.length = 0;
choice = eval(choice);
for (var i=0;i<choice.length;i++){
with (document.profile.rpgclass){
options[length] = new Option(choice[i],choice[++i],false,false);
}
}
document.profile.rpgtypename.value = typename0[0];
document.profile.rpgtypeid.value = typeid0[0];
updateType();
if ((parseInt(navigator.appVersion) < 5) && (navigator.appName == "Netscape")) { history.go(0);
}
}
//-->
</script>
<!-- logo and buttons -->
<center>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="left">
<!-- toplinks -->
<MAP NAME="forum top">
<AREA SHAPE="RECT" COORDS="28,23,0,1" HREF="http://www.zeldaphoenix.com" FRAME="_self">
<AREA SHAPE="RECT" COORDS="39,23,87,1" HREF="http://www.zeldaphoenix.com/network.php" FRAME="_self">
<AREA SHAPE="RECT" COORDS="0,165,48,181" HREF="usercp.php?" FRAME="_self">
<AREA SHAPE="RECT" COORDS="56,163,105,181" HREF="register.php?amp;action=signup" FRAME="_self">
<AREA SHAPE="RECT" COORDS="114,163,147,181" HREF="index.php?" FRAME="_self">
<AREA SHAPE="RECT" COORDS="156,163,204,180" HREF="calendar.php?" FRAME="_self">
<AREA SHAPE="RECT" COORDS="216,163,265,181" HREF="memberlist.php?" FRAME="_self">
<AREA SHAPE="RECT" COORDS="274,163,300,181" HREF="misc.php?amp;action=faq" FRAME="_self">
<AREA SHAPE="RECT" COORDS="309,163,348,181" HREF="search.php?" FRAME="_self">
<AREA SHAPE="RECT" COORDS="358,1,776,142" HREF="index.php?" FRAME="_self">
<IMG SRC="images/top_header.gif" USEMAP="#forum top" border="0" alt="Chamber of Sages">
</MAP>
<!-- /toplinks -->
</td>
</tr>
</table>
<!-- /logo and buttons -->

<!-- content table -->
<table bgcolor="#528AAD" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>


<!-- breadcrumb -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td width="100%"><img src="images/vb_bullet.gif" align="middle" alt="vBulletin">
<font face="verdana, arial, helvetica" size="1"><b><a href="index.php?">Chamber of Sages</a> &gt;
<a href="usercp.php?">User Control Panel For Rob</a> &gt;
Edit Profile</b></font></td>
</tr>
</table>
<!-- /breadcrumb -->

<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr align="center" valign="bottom">
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" ><b><a href="usercp.php?"><nobr>My vB Home</nobr></a></b></font></td>
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" ><b><a href="member.php?amp;action=editprofile">Edit Profile</a></b></font></td>
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" ><b><a href="member.php?amp;action=editoptions">Edit Options</a></b></font></td>
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" ><b><a href="member.php?amp;action=editpassword">Edit Password</a></b></font></td>
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" ><b><a href="member2.php?amp;action=viewlist&amp;userlist=buddy">Edit Buddy List</a></b></font></td>
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" ><b><a href="member2.php?amp;action=viewlist&amp;userlist=ignore">Edit Ignore List</a></b></font></td>
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" ><b><a href="private.php?">Private Messages</a></b></font></td>
</tr>
</table>
</td></tr></table>
<br>

<center></center>

<form name="profile" action="member.php" method="post">
<input type="hidden" name="s" value="a254ecbb1d58b81cfbeb58bd2a80598d">

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td bgcolor="#006699" colspan="2"><font face="verdana, arial, helvetica" size="1" color="#FFFFFF"><b>Edit Profile - Rob</b></font></td>
</tr>
<tr>
<td bgcolor="#528AAD" colspan="2"><font face="verdana, arial, helvetica" size="1" color="#FFFFFF" class="thtcolor"><b>Registration: Required Information</b></font>
<font face="verdana,arial,helvetica" size="1" color="#FFFFFF" class="thtcolor">All fields are required.</font></td>
</tr>

<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Email Address:</b></font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="email" value="rob@zeldaphoenix.com" size="30" maxlength="150"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Confirm Email Address:</b></font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="emailconfirm" value="rob@zeldaphoenix.com" size="30" maxlength="150"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD" colspan="2"><font face="verdana, arial, helvetica" size="1" color="#FFFFFF" class="thtcolor"><b>Optional Information</b></font> <font face="verdana,arial,helvetica" size="1" color="#FFFFFF" class=thtcolor>All information will be viewable by other Chamber of Sages members.</font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><b><font face="verdana, arial, helvetica" size="1">Homepage:</font></b></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="homepage" value="http://www.zeldaphoenix.com" size="30" maxlength="200"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><b><font face="verdana, arial, helvetica" size="1">ICQ Number:</font></b></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="icq" value="158650007" size="30" maxlength="30"></font></td>
</tr>
<tr bgcolor="#528AAD">
<td><b><font face="verdana, arial, helvetica" size="1">AOL Instant Messenger Handle:</font></b></td>
<td><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="aim" value="Bohsocks" size="30" maxlength="30"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><b><font face="verdana, arial, helvetica" size="1">MSN Messenger Handle:</font></b></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="msn" value="rob@zeldaphoenix.com" size="30" maxlength="30"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><b><font face="verdana, arial, helvetica" size="1">Yahoo Messenger Handle:</font></b></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="yahoo" value="wobbs915" size="30" maxlength="30"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD" valign="top"><b><font face="verdana, arial, helvetica" size="1">Signature:</font></b><br>
<font face="verdana,arial,helvetica" size="1" >Optional signature you may use to appear at bottom of your posts.</font>
<p><font face="verdana,arial,helvetica" size="1" >HTML code is OFF<br>
<a href="misc.php?amp;action=bbcode">vB Code</A> is ON<br>
[img] code is ON<br>
<a href="misc.php?amp;action=showsmilies">Smilies</a> are ON
</font></p></td>
<td bgcolor="#528AAD"><textarea name="signature" rows="6" cols="40">Never underestimate the Phoenix (http://www.zeldaphoenix.com)


</textarea></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Birthdate:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >If you select your birthday then other forum members will be able to see
your birthday on the forum calendar and in your profile. Adding your year of birth is also optional.</font></td>
<td bgcolor="#528AAD" valign="top">

<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="center"><font face="verdana,arial,helvetica" size="1" >Month</font></td>
<td align="center"><font face="verdana,arial,helvetica" size="1" >Day</font></td>
<td align="center"><font face="verdana,arial,helvetica" size="1" >Year</font></td>
</tr>
<tr>
<td><font face="verdana,arial,helvetica" size="1" ><select name="month">
<option value="-1" ></option>
<option value="1" >January</option>
<option value="2" >February</option>
<option value="3" >March</option>
<option value="4" >April</option>
<option value="5" >May</option>
<option value="6" >June</option>
<option value="7" >July</option>
<option value="8" >August</option>
<option value="9" selected>September</option>
<option value="10" >October</option>
<option value="11" >November</option>
<option value="12" >December</option>
</select></font></td>
<td><font face="verdana,arial,helvetica" size="1" ><select name="day">
<option value="-1" ></option>
<option value="1" >1</option>
<option value="2" >2</option>
<option value="3" >3</option>
<option value="4" >4</option>
<option value="5" >5</option>
<option value="6" >6</option>
<option value="7" >7</option>
<option value="8" >8</option>
<option value="9" >9</option>
<option value="10" >10</option>
<option value="11" >11</option>
<option value="12" >12</option>
<option value="13" >13</option>
<option value="14" >14</option>
<option value="15" selected>15</option>
<option value="16" >16</option>
<option value="17" >17</option>
<option value="18" >18</option>
<option value="19" >19</option>
<option value="20" >20</option>
<option value="21" >21</option>
<option value="22" >22</option>
<option value="23" >23</option>
<option value="24" >24</option>
<option value="25" >25</option>
<option value="26" >26</option>
<option value="27" >27</option>
<option value="28" >28</option>
<option value="29" >29</option>
<option value="30" >30</option>
<option value="31" >31</option>
</select></font></td>
<td><font face="verdana,arial,helvetica" size="1" ><input type="text" class="bginput" name="year" value="1986" size="4" maxlength="4"></font></td>
</tr>
</table>

</td>
</tr>
<tr>
<td bgcolor="#528AAD" valign="top"><b><font face="verdana, arial, helvetica" size="1">Custom User Text:<br></font></b>
<font face="verdana,arial,helvetica" size="1" >This is the title that appears beneath your name on your posts.<br>You may enter up to 25 characters.<br>Check the reset box if you wish to use the default title for your usergroup and post count.<br>HTML is not allowed.</font></td>
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" >Current title:</font><br><font face="verdana, arial, helvetica" size="1">Foo Fighter</font><br><br><table border="0" cellspacing="0" cellpadding="0"><tr><td><font face="verdana,arial,helvetica" size="1" >New Title:</font><br><input type="text" class="bginput" name="customtext" value="" size="30" maxlength="25"></td><td align="center"><font face="verdana,arial,helvetica" size="1" >Reset?</font><br><input type="checkbox" value="yes" name="resettitle"></td></tr></table>
</td>
</tr>
<tr>
<td bgcolor="#528AAD" colspan="2"><font face="verdana, arial, helvetica" size="1" color="#FFFFFF" class="thtcolor"><b>Additional Information</b></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Biography:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >A few details about yourself</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="field1" value="Secret agent.. I mean.. well... shh" size="25" maxlength="250"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Location:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >Where you live</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="field2" value="Rhode Island" size="25" maxlength="250"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Interests:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >Your hobbies, etc</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="field3" value="Music, Zelda, Sports, Girl!, Computers, Business" size="25" maxlength="250"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Occupation:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >Your job</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="field4" value="Subway -- I got a raise, so now I'm happy" size="25" maxlength="250"></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>RPG Name:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >The name of your RPG character.</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><input type="text" class="bginput" name="field7" value="Rob" size="25" maxlength="250"></font></td>
</tr>

<tr><td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Element Type:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >The Element type you want to be at the boards.</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1">

<select name="element">

</select>

</font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>RPG Alignment:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >The side you want your character to be on the RPG.</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1">
<select name="alignment" onchange="updateRaces()">

</select></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>RPG Race:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >The Race you want your character to be on the RPG.</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1">
<select name="rpgrace">

</select></font></td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>RPG Gender:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >This would be your RPG Character's Gender, not your gender in real life.</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1">
<select name="rpggender" onchange="updateClasses()">

</select></font></td>
</tr>

<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>RPG Class:</b></font><br>
<font face="verdana,arial,helvetica" size="1" >The Class you want your character to be on the RPG.</td>
<td bgcolor="#528AAD"><font face="verdana,arial,helvetica" size="1" >
<select name="rpgclass" onchange="updateType()">

</select></font>

</td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>RPG Type:</b></font><br><font face="verdana,arial,helvetica" size="1" >Your type is automatically determined by your class.</font></td>

<td bgcolor="#528AAD" >
<input type="text" class="bginput" name="rpgtypename" value="" length="30" READONLY><input type="hidden" name="rpgtypeid" value="">
</td>
</tr>
<tr>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1"><b>Build Stats</b></font><br>
<font face="verdana,arial,helvetica" size="1" >Click here if you want to have stats shown on the board.</font></td>
<td bgcolor="#528AAD"><font face="verdana, arial, helvetica" size="1">
<input type="checkbox" name="updatestats">Update stats
</font></td>
</tr>



</table>
</td></tr></table>

<br>

<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td align="center"><font face="verdana, arial, helvetica" size="1">
<input type="hidden" name="action" value="updateprofile">
<input type="submit" class="bginput" name="Submit" value="Submit Modifications" accesskey="s">
<input type="reset" class="bginput" name="Reset" value="Reset Fields">
</font></td>
</tr>
</table>

</form>

</td>
</tr>
</table>
<!-- /content area table -->
</center>

<p align="center">
<font face="verdana, arial, helvetica" size="1"><b>&lt; <a href="mailto:zeldaphoenix@cox.net">Contact Us</a> - <a href="http://www.zeldaphoenix.com/">Zelda Phoenix</a>
<!-- - <a href="">Privacy Statement</a> --> &gt;</b></font>
</p>

<p align="center"><font face="verdana,arial,helvetica" size="1" >
<!-- Do not remove this copyright notice -->
Powered by: vBulletin Version 2.3.2<br>
Copyright &copy;2000 - 2003, Jelsoft Enterprises Limited.<br>
<!-- Do not remove this copyright notice -->

</font>
</p>

</body>
</html>

Bitsys
09-07-2003, 03:48 PM
It looks like some of the edits to member.php did not execute properly. Try the following:

In member.php, find:
$signature=htmlspecialchars($bbuserinfo[signature]);

and ABOVE it, add:
// RPG Integration Hack by Bitsys
$user = $DB_site->query_first("SELECT rpgclass, rpggender, rpgrace, alignment, element, inbattle FROM user WHERE userid='$bbuserinfo[userid]'");
$classarrays = "var gd0 = new Array('Unknown','0');\n";

if (!ismoderator()) {
$specclasses = "WHERE visible=1";
}

If($user[inbattle] == 0) {
If ($user[rpggender] == 1) {
$unknown = $DB_site->query_first("SELECT * FROM rpg_type WHERE id=0");
$typearrayname0 = "var typename0 = new Array('$unknown[name]');\n";
$typearrayid0 = "var typeid0 = new Array('$unknown[id]');\n";
$typearrays .= "$typearrayname0\n$typearrayid0";
$rpgtypename = $unknown[name];
$rpgtypeid = 0;
$count = 0;
$row = $DB_site->query("SELECT * FROM rpg_classf $specclasses ORDER BY name");
while ($class = $DB_site->fetch_array($row)) {
If ($user[rpgclass] == $class[id]) {
if ($class[visible] == 0) {
$classoptions .= "<option value=\"$class[id]\" SELECTED>*$class[name]</option>";
} else {
$classoptions .= "<option value=\"$class[id]\" SELECTED>$class[name]</option>";
}
$unknown = $DB_site->query_first("SELECT * FROM rpg_type WHERE id=$class[type]");
$rpgtypename = $unknown[name];
$rpgtypeid = $unknown[id];
} else {
if ($class[visible] == 0) {
$classoptions .= "<option value=\"$class[id]\">*$class[name]</option>";
} else {
$classoptions .= "<option value=\"$class[id]\">$class[name]</option>";
}
}
If($count > 0) {
$classarrayvals .= ",'$class[name]','$class[id]'";
$typearrayname1vals .= ",'$class[typename]'";
$typearrayid1vals .= ",'$class[type]'";
} else {
$classarrayvals .= "'$class[name]','$class[id]'";
$typearrayname1vals .= "'$class[typename]'";
$typearrayid1vals .= "'$class[type]'";
}
$count++;
}
$classarrays .= "var gd1 = new Array($classarrayvals);\n";
$typearrays .= "var typename1 = new Array($typearrayname1vals);\n var typeid1 = new Array($typearrayid1vals);\n";
$classarrayvals = "";
$row = $DB_site->query("SELECT * FROM rpg_classm $specclasses ORDER BY name");
$count = 0;
while ($class = $DB_site->fetch_array($row)) {
If($count > 0) {
$classarrayvals .= ",'$class[name]','$class[id]'";
$typearrayname2vals .= ",'$class[typename]'";
$typearrayid2vals .= ",'$class[type]'";
} else {
$classarrayvals .= "'$class[name]','$class[id]'";
$typearrayname2vals .= "'$class[typename]'";
$typearrayid2vals .= "'$class[type]'";
}
$count++;
}
$classarrays .= "var gd2 = new Array($classarrayvals);\n";
$typearrays .= "var typename2 = new Array($typearrayname2vals);\n var typeid2 = new Array($typearrayid2vals);\n";
} elseif($user[rpggender] == 2) {
$unknown = $DB_site->query_first("SELECT * FROM rpg_type WHERE id=0");
$typearrayname0 = "var typename0 = new Array('$unknown[name]');\n";
$typearrayid0 = "var typeid0 = new Array('$unknown[id]');\n";
$typearrays .= "$typearrayname0\n$typearrayid0";
$rpgtypename = $unknown[name];
$rpgtypeid = 0;
$row = $DB_site->query("SELECT * FROM rpg_classm $specclasses ORDER BY name");
$count = 0;
while ($class = $DB_site->fetch_array($row)) {
If ($user[rpgclass] == $class[id]) {
if ($class[visible] == 0) {
$classoptions .= "<option value=\"$class[id]\" SELECTED>*$class[name]</option>";
} else {
$classoptions .= "<option value=\"$class[id]\" SELECTED>$class[name]</option>";
}
$unknown = $DB_site->query_first("SELECT * FROM rpg_type WHERE id=$class[type]");
$rpgtypename = $unknown[name];
$rpgtypeid = $unknown[id];
} else {
if ($class[visible] == 0) {
$classoptions .= "<option value=\"$class[id]\">*$class[name]</option>";
} else {
$classoptions .= "<option value=\"$class[id]\">$class[name]</option>";
}
}
If($count > 0) {
$classarrayvals .= ",'$class[name]','$class[id]'";
$typearrayname2vals .= ",'$class[typename]'";
$typearrayid2vals .= ",'$class[type]'";
} else {
$classarrayvals .= "'$class[name]','$class[id]'";
$typearrayname2vals .= "'$class[typename]'";
$typearrayid2vals .= "'$class[type]'";
}
$count++;
}
$classarrays .= "var gd2 = new Array($classarrayvals);\n";
$typearrays .= "var typename2 = new Array($typearrayname2vals);\n var typeid2 = new Array($typearrayid2vals);\n";
$classarrayvals = "";
$row = $DB_site->query("SELECT * FROM rpg_classf $specclasses ORDER BY name");
$count = 0;
while ($class = $DB_site->fetch_array($row)) {
If($count > 0) {
$classarrayvals .= ",'$class[name]','$class[id]'";
$typearrayname1vals .= ",'$class[typename]'";
$typearrayid1vals .= ",'$class[type]'";
} else {
$classarrayvals .= "'$class[name]','$class[id]'";
$typearrayname1vals .= "'$class[typename]'";
$typearrayid1vals .= "'$class[type]'";
}
$count++;
}
$classarrays .= "var gd1 = new Array($classarrayvals);\n";
$typearrays .= "var typename1 = new Array($typearrayname1vals);\n var typeid1 = new Array($typearrayid1vals);\n";
} else {
$unknown = $DB_site->query_first("SELECT * FROM rpg_type WHERE id=0");
$typearrayname0 = "var typename0 = new Array('$unknown[name]');\n";
$typearrayid0 = "var typeid0 = new Array('$unknown[id]');\n";
$typearrays .= "$typearrayname0\n$typearrayid0";
$classoptions = "<option value=\"0\">Unknown</option>";
$classarrayvals = "";
$row = $DB_site->query("SELECT * FROM rpg_classf $specclasses ORDER BY name");
$count = 0;
while ($class = $DB_site->fetch_array($row)) {
If($count > 0) {
$classarrayvals .= ",'$class[name]','$class[id]'";
$typearrayname1vals .= ",'$class[typename]'";
$typearrayid1vals .= ",'$class[type]'";
} else {
$classarrayvals .= "'$class[name]','$class[id]'";
$typearrayname1vals .= "'$class[typename]'";
$typearrayid1vals .= "'$class[type]'";
}

$count++;
}
$classarrays .= "var gd1 = new Array($classarrayvals);\n";
$typearrays .= "var typename1 = new Array($typearrayname1vals);\n var typeid1 = new Array($typearrayid1vals);\n";
$classarrayvals = "";
$row = $DB_site->query("SELECT * FROM rpg_classm $specclasses ORDER BY name");
$count = 0;
while ($class = $DB_site->fetch_array($row)) {
If($count > 0) {
$classarrayvals .= ",'$class[name]','$class[id]'";
$typearrayname2vals .= ",'$class[typename]'";
$typearrayid2vals .= ",'$class[type]'";
} else {
$classarrayvals .= "'$class[name]','$class[id]'";
$typearrayname2vals .= "'$class[typename]'";
$typearrayid2vals .= "'$class[type]'";
}
$count++;
}
$classarrays .= "var gd2 = new Array($classarrayvals);\n";
$typearrays .= "var typename2 = new Array($typearrayname2vals);\n var typeid2 = new Array($typearrayid2vals);\n";
$rpgtypename = $unknown[name];
$rpgtypeid = 0;
}

$aligns = $DB_site->query("SELECT * FROM rpg_alignment ORDER BY id");
while($alignrow = $DB_site->fetch_array($aligns)) {
$racearrayvals = "";
$races = $DB_site->query("SELECT * FROM rpg_race WHERE alignmentid='$alignrow[id]' ORDER BY raceid");
$count = 0;
while ($row = $DB_site->fetch_array($races)) {
If ($user[rpgrace] == $row[raceid] AND $user[alignment] == $row[alignmentid]) {
$raceoptions .= "<option value=\"$row[raceid]\" SELECTED>$row[name]</option>\n";
} elseif ($user[alignment] == $alignrow[id]) {
$raceoptions .= "<option value=\"$row[raceid]\">$row[name]</option>\n";
}
If($count > 0) {
$racearrayvals .= ",'$row[name]','$row[raceid]'";
} else {
$racearrayvals .= "'$row[name]','$row[raceid]'";
}
$count++;
}
$racearrays .= "var al$alignrow[id] = new Array($racearrayvals);\n";
If ($user[alignment] == $alignrow[id]) {
$alignmentoptions .= "<option value=\"al$alignrow[id]\" SELECTED>$alignrow[name]</option>";
} else {
$alignmentoptions .= "<option value=\"al$alignrow[id]\">$alignrow[name]</option>";
}
}
$elements = $DB_site->query("SELECT * FROM rpg_element ORDER BY elementid");
while ($row = $DB_site->fetch_array($elements)) {
If($user[element] == $row[elementid]) {
$elementoptions .= "<option value=\"$row[elementid]\" SELECTED>$row[name]</option>";
} else {
$elementoptions .= "<option value=\"$row[elementid]\">$row[name]</option>";
}
}

If($user[rpggender] == 0) {
$genderoptions = "<option value=\"gd0\" SELECTED>Unknown</option>";
} else {
$genderoptions = "<option value=\"gd0\">Unknown</option>";
}
If($user[rpggender] == 1) {
$genderoptions .= "<option value=\"gd1\" SELECTED>Female</option>";
} else {
$genderoptions .= "<option value=\"gd1\">Female</option>";
}
If($user[rpggender] == 2) {
$genderoptions .= "<option value=\"gd2\" SELECTED>Male</option>";
} else {
$genderoptions .= "<option value=\"gd2\">Male</option>";
}

} else {

$classoptions = "<option value=\"$user[rpgclass]\" DISABLED>You are in battle.</option>";
$raceoptions = "<option value=\"$user[rpgrace]\" DISABLED>You are in battle.</option>";
$alignmentoptions = "<option value=\"al$user[alignment]\" DISABLED>You are in battle.</option>";
$elementoptions = "<option value=\"$user[element]\" DISABLED>You are in battle.</option>";
$genderoptions = "<option value=\"gd$user[rpggender]\" DISABLED>You are in battle.</option>";
$rpgtypename = "In battle.";
$rpgtypeid = $user[rpgtype];
}
// End RPG Integration Hack by Bitsys

Blaine0002
09-07-2003, 04:02 PM
ahh! bytsys, i was trying to fix the $key error and now im getting an error message

Fatal error: Cannot redeclare getlevel() (previously declared in /home/gusxtwo/public_html/forums/admin/functions.php:472) in /home/gusxtwo/public_html/forums/admin/functions.php on line 492

Blaine0002
09-07-2003, 04:09 PM
I ran a file in vbhacker, then that error happned, but before that your changing $key and key to $key1 and key1 didnt work.

Telchar
09-07-2003, 04:39 PM
Had the same problem, but the reason it didn't work for me was because i had changed $key to $key1 in the .php file, but forgot to do it in the template: battle_newbattle

Blaine0002
09-07-2003, 04:42 PM
but i did it in the template too....

Blaine0002
09-07-2003, 04:45 PM
<p><b><normalfont>What is the password for the battle?</normalfont></b></p>
<input type="text" name="key1">
Right?

Bitsys
09-07-2003, 05:59 PM
Today at 12:02 PM Blaine0002 said this in Post #2237 (https://vborg.vbsupport.ru/showthread.php?postid=432016#post432016)
ahh! bytsys, i was trying to fix the $key error and now im getting an error message


Fatal error: Cannot redeclare getlevel() (previously declared in /home/gusxtwo/public_html/forums/admin/functions.php:472) in /home/gusxtwo/public_html/forums/admin/functions.php on line 492


Did you re-run the install file? It looks like you have getlevel() in there twice. To fix it, do the following:

In admin/functions.php, find the following twice:
// ###################### Start getlevel #######################
// This function is for the RPG Integration Hack by Bitsys.
// It calculates the level of a person, given their experience
// and the rate of experience gain. It can return float or int.
function getlevel($experience, $exprate=3, $returnfloat=0) {
if($returnfloat) {
if($experience > 0) {
return pow( log10( $experience), floor( $exprate));
} else {
return 0;
}
} else {
if($experience > 0) {
return floor( pow( log10( $experience), floor( $exprate))) + 1;
} else {
return 1;
}
}
}

When you have found it twice, delete one of the instances of it.

If that fixes it, then we can try to figure out what is wrong with the $key.

Blaine0002
09-07-2003, 06:20 PM
okay yeah, i found out a bit ago it was that :P but for the key...... im not sure how to fix it so i downgraded the RPG so it will work untill this bug is fixed..

Bitsys
09-07-2003, 07:39 PM
Today at 02:20 PM Blaine0002 said this in Post #2243 (https://vborg.vbsupport.ru/showthread.php?postid=432046#post432046)
okay yeah, i found out a bit ago it was that :P but for the key...... im not sure how to fix it so i downgraded the RPG so it will work untill this bug is fixed..

Is your battle privacy turned on or off?

tnguy3n
09-08-2003, 01:08 AM
anyone have this to work with VB2.3.2?

Boh
09-08-2003, 01:12 AM
When in battle it says that I don't have an item... and I do... :-\

sh-demon
09-08-2003, 01:15 AM
Works fine for me on 2.3.2 of course bitsys did help me out alot with some of my problems.

Boh
09-08-2003, 02:38 AM
In my postbit... NOBODY'S elements work... '

all the Image Sources link to

http://www.zeldaphoenix.com/forums/images/elements/.gif

And many people's Character Photo's don't work.. such as mine...

Also... No one can use an item in battle for some reason... it says that nobody has an item.... when in fact we all do...

And just a minor problem, it's not that I care or anything, but in battle some people's names are numbers.. like mine is 2147470872... odd

anyway.. included are the screenshots

http://www.zeldaphoenix.com/~rob/wtf1.gif
http://www.zeldaphoenix.com/~rob/wtf2.gif
http://www.zeldaphoenix.com/~rob/wtf3.gif

Bitsys
09-08-2003, 02:49 AM
Today at 10:38 PM Boh said this in Post #2248 (https://vborg.vbsupport.ru/showthread.php?postid=432176#post432176)
In my postbit... NOBODY'S elements work... '

all the Image Sources link to

http://www.zeldaphoenix.com/forums/images/elements/.gif

And many people's Character Photo's don't work.. such as mine...

One of the edits in showthread.php did not properly execute. Send me your showthread.php and I will fix it.


Today at 10:38 PM Boh said this in Post #2248 (https://vborg.vbsupport.ru/showthread.php?postid=432176#post432176)
Also... No one can use an item in battle for some reason... it says that nobody has an item.... when in fact we all do...

Admin CP -> Edit Items -> Click on the [Edit] Link next to an Item Category name -> Set the battle type.

Today at 10:38 PM Boh said this in Post #2248 (https://vborg.vbsupport.ru/showthread.php?postid=432176#post432176)
And just a minor problem, it's not that I care or anything, but in battle some people's names are numbers.. like mine is 2147470872... odd

anyway.. included are the screenshots

http://www.zeldaphoenix.com/~rob/wtf1.gif
http://www.zeldaphoenix.com/~rob/wtf2.gif
http://www.zeldaphoenix.com/~rob/wtf3.gif

Do the following:
1. Go to your admin panel
2. Go to modify user profile fields
3. Find the RPG Name profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the battle options
9. In the top option put in field# and replace number with the number you recorded in step 7.

If that doesn't work, then try:
1. Go to your admin panel
2. Go to modify user profile fields
3. Find the Points profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the itemshop options
9. In the pointfield option put in field# and replace number with the number you recorded in step 7.

If neither of those work, then you could be more specific as to whose names are numbers?

Boh
09-08-2003, 03:19 AM
EDIT: gone

Bitsys
09-08-2003, 10:41 AM
Boh, it is against the rules to post a vb file like that.

When I said "send it to me", I was referring to a PM.

Telchar
09-08-2003, 04:34 PM
Having a little problem with donation when viewing the profile.

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

Date: Monday 08th of September 2003 07:29:51 PM
Script: itemshop.php
Referer:


The popup works fine, it's just when i click donate, don't matter if it's Anonymous Donation or not, i get that error..

Boh
09-08-2003, 05:42 PM
Today at 07:41 AM Bitsys said this in Post #2251 (https://vborg.vbsupport.ru/showthread.php?postid=432247#post432247)
Boh, it is against the rules to post a vb file like that.

When I said "send it to me", I was referring to a PM.

It's much too long to send by PM..

Boh
09-08-2003, 09:37 PM
BIG problem

Error 1:
There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.



There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Error 2:

There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

The Heros Legend: I go to User CP from home page
The Heros Legend: that's fine
The Heros Legend: I go to Update Profile
The Heros Legend: that's fine
The Heros Legend: I insert a url tag into my signature
The Heros Legend: and that's all I do
The Heros Legend: I click submit
The Heros Legend: I get that first error I sent you
The Heros Legend: I click back and click submit again
The Heros Legend: I get the second error I sent you
The Heros Legend: I click back and try it again
The Heros Legend: and it asks me to login
The Heros Legend: so I do
The Heros Legend: but then it tells me
The Heros Legend: Invalid username. Please press the back button, enter the correct username and try again.
The Heros Legend: I try to login over and over
The Heros Legend: no good
The Heros Legend: so I ask Chaos Sage to check it out for me
The Heros Legend: not in the memberlist, and the profile doesn't exist

Ok.... now what???

chrisz
09-09-2003, 07:40 AM
Yo bitsys long time no talk.
What code would I have to add to make it so only certain usergroups can visit the rpg pages, Note this is for all rpg pages, so itemshop battle ect.
And where do i put the code.
Cheers mate

tnguy3n
09-09-2003, 11:00 AM
Yesterday at 03:15 AM sh-demon said this in Post #2247 (https://vborg.vbsupport.ru/showthread.php?postid=432149#post432149)
Works fine for me on 2.3.2 of course bitsys did help me out alot with some of my problems.

:cool: I just installed it, and it seems to work fine on my vb 2.3.2 board; however, my battle template looks a little weird.
Also, my lessane store hack was gone!! :ogre:

Red Blaze
09-09-2003, 04:14 PM
I tried installing it on 2.3.2 and messed up the showthreads. I'm going back to 2.2.9 and staying there. >_>;

legendarysk8er
09-09-2003, 08:43 PM
You know what would be cool? If you could purchase like HP, MA, and PP in the itemshop.

Red Blaze
09-11-2003, 04:18 PM
Ok, I guess it wasn't the different versions of Vb software. I got the same problems. You see, in forum display, the links show up. I click on the links (to the thread) and the postbits don't show up. Now go back to the forum display, I click on the little icon that goes to the last post. The post bit does show up BUT only the last post. Now in the post bit it puts me up as guest.

Any ideas?

Bitsys
09-11-2003, 06:20 PM
Having a little problem with donation when viewing the profile.


The popup works fine, it's just when i click donate, don't matter if it's Anonymous Donation or not, i get that error..

In the 'rpgcp' template, find:
$post[userid]
and chage it to:
$userid

It's much too long to send by PM..

Since we aren't supposed to be sending vb files to each other any more via PM, I will be posting the solution for you to try ina few minutes. Look for my next post below this one.

BIG problem

Error 1:
There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.



There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Error 2:

There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

The Heros Legend: I go to User CP from home page
The Heros Legend: that's fine
The Heros Legend: I go to Update Profile
The Heros Legend: that's fine
The Heros Legend: I insert a url tag into my signature
The Heros Legend: and that's all I do
The Heros Legend: I click submit
The Heros Legend: I get that first error I sent you
The Heros Legend: I click back and click submit again
The Heros Legend: I get the second error I sent you
The Heros Legend: I click back and try it again
The Heros Legend: and it asks me to login
The Heros Legend: so I do
The Heros Legend: but then it tells me
The Heros Legend: Invalid username. Please press the back button, enter the correct username and try again.
The Heros Legend: I try to login over and over
The Heros Legend: no good
The Heros Legend: so I ask Chaos Sage to check it out for me
The Heros Legend: not in the memberlist, and the profile doesn't exist



Ok.... now what???

Can you send me the error report? I need to know what the error actually was. The error report is usually sent to the admin's e-mail.

Yo bitsys long time no talk.
What code would I have to add to make it so only certain usergroups can visit the rpg pages, Note this is for all rpg pages, so itemshop battle ect.
And where do i put the code.
Cheers mate

In heal.php, battle.php, battlefight.php, and itemshop.php, find something like:
If ($bbuserinfo[userid] != 0 && $bbuserinfo[usergroupid] != 3 && $bbuserinfo[usergroupid] != 4 && $bbuserinfo[usergroupid] != 1){

All you have to do is add:
&& $bbuserinfo[usergroupid] != X
with X being the usergroup ID.

:cool: I just installed it, and it seems to work fine on my vb 2.3.2 board; however, my battle template looks a little weird.
Also, my lessane store hack was gone too!! :ogre:

here's da site ... http://www.all4actions.com

How does it look weird? What do you mean by the store hack being gone? Is all of it gone? Part of it? Which parts?

I tried installing it on 2.3.2 and messed up the showthreads. I'm going back to 2.2.9 and staying there. >_>;

See my next post below this one.

You know what would be cool? If you could purchase like HP, MA, and PP in the itemshop.

If I had any confidence in the security of the monetary system, then that would be cool :)

Ok, I guess it wasn't the different versions of Vb software. I got the same problems. You see, in forum display, the links show up. I click on the links (to the thread) and the postbits don't show up. Now go back to the forum display, I click on the little icon that goes to the last post. The post bit does show up BUT only the last post. Now in the post bit it puts me up as guest.

Any ideas?

See my next post below this one.

Bitsys
09-11-2003, 06:22 PM
See if you are experiencing one of the following symptoms:

All of my users are being labeled as "Guest" in the postbit template.
No posts are showing up.
None of the RPG variables will display in the postbit. The element/gender/class images are broken.
I get database errors when I go to showthread.php


If you are experiencing one or more of the above problems, then your showthread.php file was not edited correctly by the installer. This problem usually occurs on boards with other hacks installed that modify the queries in showthread.php. Please do the following:

In showthread.php, find the following code 2 times:
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter
and AFTER it, add the following (ONLY IF IT IS NOT THERE ALREADY):
,
user.ma AS uma,user.hp AS uhp,user.pp AS upp,user.ap AS uap,items_options.pointfield,items_options.lesanes tore,battle_options.namefield,battle_options.expra te,battle_options.privacy AS battleprivacy,items_user.*,battle_stats.*,rpg_race .name AS rpgracename,rpg_race.alignment AS rpgalignmentname,rpg_classf.name AS fclassname,
rpg_classf.folder AS fclassfolder,rpg_classm.name AS mclassname,rpg_classm.folder AS mclassfolder,rpg_element.name AS elename

(Yes, the comma at the very top is there on purpose. Do not forget to place the comma in showthread.php or else you will get database errors.)

In showthread.php, find the following code 2 times:
FROM post
".iif($forum[allowicons],'LEFT JOIN icon ON icon.iconid=post.iconid','')."

and CHANGE it to the following (ONLY IF IT DOES NOT LOOK LIKE THIS ALREADY):
FROM post, battle_options, items_options
".iif($forum[allowicons],'LEFT JOIN icon ON icon.iconid=post.iconid','')."

In showthread.php, find the following code 2 times:
LEFT JOIN userfield ON userfield.userid=user.userid

and BELOW it, add the following (ONLY IF IT DOES NOT LOOK LIKE THIS ALREADY):
LEFT JOIN items_user ON items_user.userid=user.userid
LEFT JOIN battle_stats ON battle_stats.userid=user.userid
LEFT JOIN rpg_classf ON rpg_classf.id=user.rpgclass
LEFT JOIN rpg_classm ON rpg_classm.id=user.rpgclass
LEFT JOIN rpg_element ON rpg_element.elementid=user.element
LEFT JOIN rpg_race ON rpg_race.raceid=user.rpgrace AND rpg_race.alignmentid=user.alignment

Do not forget to do ALL of the above edits 2 times!

After doing all of this, run DB Fix.

If all of the code is there, then you may have a different problem. However, doing the above edits will rectify problems in 95% of the cases.

Boh
09-11-2003, 10:53 PM
Nope that didn't work bah :(

As far as the other problem... I've had so many in the last while that I'll let it be until it happens again...

Any other ideas... it's not just the images not showing up, its also the stats and money and crap

EDIT: the file edits weren't there
EDIT: the gender images have always worked

Bitsys
09-12-2003, 12:36 AM
Nope that didn't work bah :(

As far as the other problem... I've had so many in the last while that I'll let it be until it happens again...

Any other ideas... it's not just the images not showing up, its also the stats and money and crap

EDIT: the file edits weren't there
EDIT: the gender images have always worked

So you tried doing the file edits to showthread.php and it didn't work? Were the file edits there or not?

Have you tried running DB Fix?

Boh
09-12-2003, 12:40 AM
They weren't there before, and no they didn't work

And no I haven't I'll do that now

Edit: Didn't work when I did db-fix :(

Red Blaze
09-12-2003, 01:35 AM
Ok I did it, and the posts do show up now, But I'm still under guest. I have points, but as posts, I have N/A.

EDIT: I'm guessing the problem lyies in member.php file, no? Because in showthread.php, I re-edited and the posts show up, but still under guest, when it comes to member info, doesn't it consern the member.php file? Just a thought. =/

Bitsys
09-12-2003, 02:02 AM
Ok I did it, and the posts do show up now, But I'm still under guest. I have points, but as posts, I have N/A.

EDIT: I'm guessing the problem lyies in member.php file, no? Because in showthread.php, I re-edited and the posts show up, but still under guest, when it comes to member info, doesn't it consern the member.php file? Just a thought. =/

Are you sure you did all of the edits both times?

Did you try running DB Fix?

This isn't a problem with member.php since it doesn't control which usergroup you are in.

Red Blaze
09-12-2003, 03:04 AM
Ah, THAT'S what I was missing. It's fixed now. Thanks alot Bitsys. ^_^ I'll report again if anything happens.

EDIT: Found something. Sigs won't show up. The tag for sigs is in the template, I have sigs active from Admin CP, I have sigs active in my userCP options. Should I send you the showthread.php file? I have the lesane store hack installed.

Rogue Pan
09-12-2003, 05:38 AM
Bitsys can you tell me all the fixs you did in the new version i am Smack Down Aust on aim

halo
09-13-2003, 03:14 AM
i have the guess problem also. About everyday or so I have to run a DB Fix and it gets on my nervs some times.. I did everything in post 2261 and all the file edits were there. Is this fixable or will I just have to do the DB Fix all the time to fix the geust problem?

Rogue Pan
09-13-2003, 11:21 AM
i am the one building it for burning Board so i need to know what he did in the php files

Boh
09-13-2003, 12:03 PM
I fixed my problem but I have one more... potions don't work, exactly what do I have to set the battle types for those items to say to make them work... they don't work for anyone... in battle it says I have elixir, but when I go to use it, it just refreshes and nothing has happened

mjp1111
09-13-2003, 02:16 PM
How do I reset my users' experience? I have adjusted how experience is earned so want to recalculate everyone's experience so it equals number of wins X experience points per win.

Telchar
09-13-2003, 03:37 PM
The bank dosn't seem to automaticly give 10% Daily Interest, though it does give interest to some members when i run the DB fix..

Red Blaze
09-14-2003, 03:41 AM
Alrighty, two things I gotta point out.

One. Entering an RPG Battle. When I try to, no matter what, having the right password or not, I get "Invalid Password or Battle Name" or something like that. But then I noticed, looking at the PM:


EdeNDarK has challenged you in a battle. It is battle number 2 and is called Testing. There is $0 at stake in this battle. Your battle password is ''. To go to your battle click here


Notice there is no password. There is suppose to be one, right?

2, for some reason ,when I modify my RPG Character, I have "*"'s in RPG Class. Does that mean something?

If you need any more info, I'd be glad to help.

Rogue Pan
09-14-2003, 09:54 AM
i need to know what he did in the php

jakob330
09-14-2003, 01:05 PM
FYI,

We had a user that managed to hack into his bank account and
"deposted" 64,000,000 gil.
He then made mass donations, and almost destroyed the economy.
Still trying to figure out how he did it...
Beware... The word is out.

Telchar
09-14-2003, 09:43 PM
Don't think your member hacked into the bank account..
What hack version do you have?

We had the same problem at my boards a while ago, but we figured out how it was done:

The user deposit all his/her gil in the bank, then withdraws all his/her gil. The result should be that the users bank deposit is "0", but there was a bug.. The bug redeposited the same amount as the user withdrew, dubling the gil he/she has..

If anyone does any bank activity it resets the 24 hour thing. If you add/withdraw anything from the bank that resets the 24 hour period.

But why did only some of the members get interest in the bank, and not all?
I got, but another admin that has been away on vacation for a week didn't get any.

Red Blaze
09-15-2003, 03:23 PM
You can foget about the Sig problem. Somehow that was fixed. I think my co-admin had something to do with it. *shrugs* In any case, I still have that "Invalid Password" problem even though he actually did put a password.

sonic3d
09-15-2003, 08:16 PM
I do have to congrat on Bitsys on making a good battle hack and sticking to it. I myself used it. Great job.

l8er
sonic

halo
09-15-2003, 08:30 PM
i have the guess problem also. About everyday or so I have to run a DB Fix and it gets on my nervs some times.. I did everything in post 2261 and all the file edits were there. Is this fixable or will I just have to do the DB Fix all the time to fix the geust problem?


any help?

Cassidy
09-16-2003, 05:27 PM
I get several problems when I installed the hack I've listed them and really need some help!

You can see the problems for yourself here: http://www.latias.net

#1: The RPG fields appear in the required information AND the optional information. How do I fix that?

#2: When a user posts a topic their post doesnt appear, and when someone replys to the topic it over-writes the post above. So basically every topic has 1 post. This is seriously wierd and I need help!

#3: The postbit doesn't update and the images don't have names when it trys to load them (it comes up as images/classes/mclasses/.gif)

#4: The postbit also displays the points as 0 for every user even if they have 2000. Basically the postbit is really screwed.

I'm sure theirs more errors, I followed the install instructions prefectly. Can someone please help? Or even if I reset it install it for me?

Red Blaze
09-16-2003, 05:51 PM
Oh oh! I can help on this one!! :D:D

I only know the second problem since it happend to me too. Check out post #1 or page number 152. The answer for that problem is there.

EDIT: What other hacks do you have installed in your message board?

Cassidy
09-16-2003, 05:56 PM
This is the first hack I've installed on the forum ^_^ It's my first attempt at installing a VB hack. I'm better with Vb3 XP

Thanks alot *checks page 152*

Edit: I'm gonna re-install it. I want vb. 2.2.9 I'm using vb 2.3.2 I think that's one of the problems.

Telchar
09-16-2003, 11:24 PM
It works perfecty on 2.3.0, atleast for me.

I removed all the stats from my postbit, the only thing i've got there is: Gender, a link to the Rpg Stats and Donate..
Mainly did it coz my postbit was huge, but in the prosess i got a very nice postbit, imho, witch isn't to big.. :)

Bitsys
09-17-2003, 01:10 AM
i have the guess problem also. About everyday or so I have to run a DB Fix and it gets on my nervs some times.. I did everything in post 2261 and all the file edits were there. Is this fixable or will I just have to do the DB Fix all the time to fix the geust problem?

Are you sure that DB Fix solves the problem? You should only have to run DB Fix when users are added in the admincp manually.

I fixed my problem but I have one more... potions don't work, exactly what do I have to set the battle types for those items to say to make them work... they don't work for anyone... in battle it says I have elixir, but when I go to use it, it just refreshes and nothing has happened

Potions must hace a buff assigned to them and must either heal MA or HP. If you haven't checked either of those checkboxes, then they will do nothing.

The bank dosn't seem to automaticly give 10% Daily Interest, though it does give interest to some members when i run the DB fix..

Find the userid of a user who doesn't get interest. Go to phpmyadmin. Browse the items_user table. Locate the row containing the information for the userid you recorded earlier. What is the value of the btime column?

Alrighty, two things I gotta point out.

One. Entering an RPG Battle. When I try to, no matter what, having the right password or not, I get "Invalid Password or Battle Name" or something like that. But then I noticed, looking at the PM:



Notice there is no password. There is suppose to be one, right?

Have you tried the $key to $key1 fix?

2, for some reason ,when I modify my RPG Character, I have "*"'s in RPG Class. Does that mean something?

If you need any more info, I'd be glad to help.
Could you be a little more specific as to what file you are in and what kind of html input these "*"s are showing up in? Maybe a screenshot or link?

FYI,

We had a user that managed to hack into his bank account and
"deposted" 64,000,000 gil.
He then made mass donations, and almost destroyed the economy.
Still trying to figure out how he did it...
Beware... The word is out.

Please let me know if you find out anything else.

Don't think your member hacked into the bank account..
What hack version do you have?

We had the same problem at my boards a while ago, but we figured out how it was done:

The user deposit all his/her gil in the bank, then withdraws all his/her gil. The result should be that the users bank deposit is "0", but there was a bug.. The bug redeposited the same amount as the user withdrew, dubling the gil he/she has..
QUOTE]

Is this still a bug? Did you fix it? I can't reproduce this bug.

[QUOTE=Cassidy]I get several problems when I installed the hack I've listed them and really need some help!

You can see the problems for yourself here: http://www.latias.net

#1: The RPG fields appear in the required information AND the optional information. How do I fix that?

https://vborg.vbsupport.ru/showpost.php?p=423093&postcount=2078

#2: When a user posts a topic their post doesnt appear, and when someone replys to the topic it over-writes the post above. So basically every topic has 1 post. This is seriously wierd and I need help!

#3: The postbit doesn't update and the images don't have names when it trys to load them (it comes up as images/classes/mclasses/.gif)

#4: The postbit also displays the points as 0 for every user even if they have 2000. Basically the postbit is really screwed.

I'm sure theirs more errors, I followed the install instructions prefectly. Can someone please help? Or even if I reset it install it for me?

https://vborg.vbsupport.ru/showpost.php?p=433115&postcount=2261

Red Blaze
09-17-2003, 02:03 AM
Yes, it does work now. Thanks. Sorry I didn't check that sooner.

Now a data base error I ran into. Dunno if it's been mentioned before.

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: SELECT field6 FROM userfield WHERE userid='4'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054

Date: Wednesday 17th of September 2003 06:59:28 AM
Script: http://members.lycos.co.uk/thesonicjoint/thesonicjoint/admin/rpgadmin.php
Referer: http://members.lycos.co.uk/thesonicjoint/admin/rpgadmin.php?action=editusers&
Repair Report: This type of error cannot be automatically repaired.


I tried to edit his RPG character but ran into this. Any fix?

Ran into another Database error. Again, dunno if it's been mentioned before.

Database error in vBulletin 2.2.9:

Invalid SQL: SELECT field6 FROM userfield WHERE userid='1'
mysql error: Unknown column 'field6' in 'field list'

mysql error number: 1054

Date: Wednesday 17th of September 2003 07:27:24 AM
Script: http://members.lycos.co.uk/thesonicjoint/thesonicjoint/battleupdate.php?action=battlereply&battlenumber=4&username=Red%20Blaze&userid=1&battlekey=test
Referer: http://members.lycos.co.uk/thesonicjoint/battlefight.php?action=confirmbattle&battlekey=test&battlenumber=4
Repair Report: This type of error cannot be automatically repaired.


Looks somewhat the same, but this happend when I attacked.

Oh yah, the Batte Arena Template needs some serious repair jobs. :s On the other hand I plan to make my own battle arena so no worries anyway. ^^;

EDIT Again: Oh, nevermind, had the window minimized. *feels stupid*

EDIT for like the 4th or 5th time. (I hate double posting. >_>; ): I figured out why I had "*" in every RPG Class. Only the admins were able to see it. ^^;; I needed to change the 0's to 1's. *feeling extra stupid* x_x;

Bitsys
09-17-2003, 01:21 PM
Yes, it does work now. Thanks. Sorry I didn't check that sooner.

Now a data base error I ran into. Dunno if it's been mentioned before.

I tried to edit his RPG character but ran into this. Any fix?

Ran into another Database error. Again, dunno if it's been mentioned before.

Looks somewhat the same, but this happend when I attacked.


1. Go to your admin panel
2. Go to modify user profile fields
3. Find the RPG Name profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the battle options
9. In the top option put in field# and replace number with the number you recorded in step 7.

1. Go to your admin panel
2. Go to modify user profile fields
3. Find the Points profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the itemshop options
9. In the Point Field option put in field# and replace number with the number you recorded in step 7.

NightWalk8r
09-18-2003, 12:49 AM
I just install the hack today.......everything runs perfect ecept for one thing........i cant use the reset feature in the admin cp =(

does anyone have any idea what could be the problem?

Bitsys
09-18-2003, 02:32 AM
I just install the hack today.......everything runs perfect ecept for one thing........i cant use the reset feature in the admin cp =(

does anyone have any idea what could be the problem?

Could you describe exactly what actions you are taking? What does the script do that it isn't supposed to do? Do you have a screenshot of any errors that it is giving you?

NightWalk8r
09-18-2003, 04:06 AM
ok.......here's the situation, i kinda screwed up w/ the experience stuff -_-; (my fault)
but after i though about it i wanted to reset everything so that everyone will be equal.

After i pick the option to reset the experience and click on the Reset button, the page would just go blank and stays like that =(
no error or nothing either =/

TIA~

NightWalk8r
09-18-2003, 05:57 AM
Hey, i got another problem.........it seems that the intergration hack doesnt work very well w/ the Lesane's Store. That's because when i enable that, i cant wager any money in battles =(

well.....maybe i did something wrong, if i did....that would be awesome! :D

Please let me know if it's the hack itself or just me :)

Tri@de
09-18-2003, 12:16 PM
In the reset you have to check the first button to make the modfy work. Did you checked it?