Hmm, I installed this hack but funny enough some images won't show although in the correct directories...This is especially the case for the itemshop directory. hat.gif shows for example but racket.gif not although it exists in that directory.
Hmm, I installed this hack but funny enough some images won't show although in the correct directories...This is especially the case for the itemshop directory. hat.gif shows for example but racket.gif not although it exists in that directory.
This I never encountered. All my test forums show the image correctly.... You sure both images are in the same dir?
Quote:
Originally Posted by Rahzel_hx
I'm lv2 in the rpg and i have like 56 hp, 8k ma and 20k pp ? >_< and i'm not able to reset the rpg stats it goes to a blank page
When i try to start the battle accepting it, it says invaild password or battle
i also get this error when i try to cancle a battle
PHP Code:
Database error in vBulletin 3.0.3:
Invalid SQL: DELETE FROM battle WHERE battlenumber='1'
mysql error: Table 'spiritno_forum.battle' doesn't exist
mysql error number: 1146
Date: Saturday 21st of August 2004 03:00:45 PM
Script: http://--------/forum/battlefight.php?action=cancelbattle
Referer: http://--------forum/battlefight.php?action=enterbattle&battlenumber=1
Username: ----------
IP Address: ----------
Edit wish i could fix this my self but i'ma vb no0b umm
PHP Code:
Parse error: parse error, unexpected T_CASE in /home/spiritno/public_html/forum/includes/functions_online.php on line 1318
i get this when i goto look at users profiles
First of all, your massive amounts of MA and PP are because the MA and PP modifiers are way off the scale.
Enter your AdminCP, and select Edit Options under Battle.
There set new values for MA and PP, recommended values are 0.003
For your battle accept error, this has happened before but was reported to have gone away. But as I see its back, it will be pinned down and fixed for v2.5
For your Cancel Battle error, that is a small fix which I am just about to note down in the changelog. To fix it quickly, enter battlefight.php and search for:
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
change to
[sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]
And as for your functions_online stuff:
find
PHP Code:
case 'rpgcp':
$userinfo['action'] = "Viewing <a href='rpgcp.php'>RPG CP</a>";
change to
PHP Code:
case 'rpgcp':
$userinfo['action'] = "Viewing <a href='rpgcp.php'>RPG CP</a>";
break;
Quote:
Originally Posted by Pixelgrounds
have al lthe bug fixes iv read in this thread and all the little mods been added to the main page zip file yet?
Bug fixes: Most
Addons: None. The addons are in a special post linked to from the main page.
Status on the v2.5:
I am just going through the files looking for missing ".TABLE_PREFIX."es, with much help from DeMiNe0
After this I will start picking apart the battle part of the hack on the live forum.
Then, Im gonna do a fresh reinstall (cos I made tweaks to the installer), and go through it all again.
After THAT, then all bugs should be gone and I can put out the new version
And dont worry about having to redo/reupload all the files if you make modifications to the files, all the changes are documented in a changelog file.
EDIT: I just managed to fix all bugs in the heal.php file, healing now works 100 %
For your Cancel Battle error, that is a small fix which I am just about to note down in the changelog. To fix it quickly, enter battlefight.php and search for:
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
change to
[sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]
And as for your functions_online stuff:
find
PHP Code:
case 'rpgcp':
$userinfo['action'] = "Viewing <a href='rpgcp.php'>RPG CP</a>";
change to
PHP Code:
case 'rpgcp':
$userinfo['action'] = "Viewing <a href='rpgcp.php'>RPG CP</a>";
break;
PHP Code:
Parse error: parse error, unexpected T_CASE in /home/spiritno/public_html/forum/includes/functions_online.php on line 1319
after that change it gaive me another new error -_- also
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
change to
[sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]
i don't have a [sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
it is already [sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]
Thanks for your help ^__^ i know you will do ur best even though it isn't paid XP
Yes, they are in the same dir. Also, if I right-click on the cross and check the path, it's correct.
Would it be possible that mod_rewrite does sth wrong there?
Yes, they are in the same dir. Also, if I right-click on the cross and check the path, it's correct.
Would it be possible that mod_rewrite does sth wrong there?
Mod rewrite sth what? :ermm:
All I know is that it works correctly here, and every dam other test/live board Ive ever seen...
Quote:
Originally Posted by Rahzel_hx
PHP Code:
Parse error: parse error, unexpected T_CASE in /home/spiritno/public_html/forum/includes/functions_online.php on line 1319
after that change it gaive me another new error -_- also
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
change to
[sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]
i don't have a [sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
it is already [sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]
Thanks for your help ^__^ i know you will do ur best even though it isn't paid XP
Then whats the new error, if that was it then its not cause of this, because I checked all the rpg edits for functions_online and that rpgcp.php was the only one that lacked a break;
Can you post the 2-3 lines surrounding your line 1319 in that file then?
Well, I only know that the weapons, asc.gif, desc.gif, src.gif and no item.gif give a red cross. All other gifs work. Funny thing is that if I enter the path to those images directly, it leads me to a crappy main page of my site whereas the working images show up. That's why I asked about mod_rewrite as I use it for the main site. See the following examples:
I can see both of them fine, just like the normal images.
This problem doesnt seem like it can be fixed on my side, sorry
On a brighter note, Ive sent the RC1 of the changelog for v2.5 over to the team's testers (yeah didnt that sound fancy ), and it addresses 14 errors, redundant coding, adds the features of Admin Only-Classes settable in the ACP (this is actually just a touchup of the old code, previously the Admin classes was selectable for users, now they are hidden), and the RPG CP now also displays your current Battle Type (like Generic etc)
I think im going to wait till this is more stable before i install it. Last thing i want is my boss getting mad at me for the site going down or any errors.