Chocobo Heaven  

Go Back   Chocobo Heaven > Pub > Help Desk

Notices

Help Desk Help is freely given over here! Yes, you can ask for support in here, whether it is from Chocobo Heaven's website or forum. Also all RPG issues are answered here.

Reply
 
LinkBack Thread Tools
Old 02-10-2007, 04:29 AM   #1 (permalink)
Newbie

Points: 1,101, Level: 18
Points: 1,101, Level: 18 Points: 1,101, Level: 18 Points: 1,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
No Avatar
 

Join Date: Feb 2007
Age: 25
Posts: 9
Gil: 67,312
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Reputation: 1
carpy is an unknown quantity at this point
Default Resetting RPG users SQL error

This is mainly for Yoherz or anyone who has their own forum with this RPG hack installed. You guys are my last hope for fixing my own RPG. I've searched and searched for hours now on vbulletin.org and have come up empty. The author doesn't provide support now so I hope someone here knows something.

When I use the admincp to try to Reset All the RPG Users, I get a database error

Code:
Invalid SQL:

			UPDATE `rpg_user`
			SET
				`wins` = '0', `losses` = '0', `draws` = '0', `retreats` = '0',`xp` = '0'`alignmentid` = '1', `classid` = '1', `genderid` = '1', `raceid` = '1', `typeid` = '1';

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alignmentid` = '1', `classid` = '1', `genderid` = '1', `raceid` = '1', `typeid` ' at line 3
Its coming from rpg_maintenance.php

I completely uninstalled/reinstalled the mod including deleting the tables manually from the database. This redid everything EXCEPT all the users show up as "N/A" now and when they reset and recreate a new character, the same Null stats show up.

Is there a code modification or update I missed? By the way I have RPG v3.5.1 Update 2

Last edited by carpy; 02-10-2007 at 04:31 AM.
carpy is offline   Reply With Quote
Old 02-10-2007, 04:42 AM   #2 (permalink)
Grand RPG King

Points: 28,853, Level: 99
Points: 28,853, Level: 99 Points: 28,853, Level: 99 Points: 28,853, Level: 99
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Yoherz's Avatar
 

Join Date: Nov 2006
Location: Right here.
Age: 18
Posts: 7,147
Gil: 2,520,235
Thanks: 0
Thanked 21 Times in 18 Posts
My Mood:
Rep Power: 10
Reputation: 179
Yoherz has a spectacular aura aboutYoherz has a spectacular aura about
Default

I'm really not a coder. I have no clue.....
My only suggestion would be to uninstall it. Like completely wipe every last bit of data of the RPG there is. Then install the newest version. I think its v3.6.1 or something. Pacman is really the only one of us admin that knows coding.
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quote:
Originally Posted by Yoh's family saying
I don't lie. I have a hard enough time getting people to believe the truth, much less a lie.
Quote:
Originally Posted by Nykocide
I wasn't expecting it to be that big.
Yoherz is offline   Reply With Quote
Old 02-10-2007, 04:57 AM   #3 (permalink)
Newbie

Points: 1,101, Level: 18
Points: 1,101, Level: 18 Points: 1,101, Level: 18 Points: 1,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
No Avatar
 

Join Date: Feb 2007
Age: 25
Posts: 9
Gil: 67,312
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Reputation: 1
carpy is an unknown quantity at this point
Default

The funny part is. His uninstall.php doesn't actually do anything. All the tables it says it removed, are still there. So I guess I"m gonna have to find a way to search through the entire database for anything that says "rpg".
carpy is offline   Reply With Quote
Old 02-10-2007, 05:35 AM   #4 (permalink)
Watermelon

Points: 6,199, Level: 51
Points: 6,199, Level: 51 Points: 6,199, Level: 51 Points: 6,199, Level: 51
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Tidus Blade's Avatar
 

Join Date: Dec 2006
Location: Melon Island
Age: 15
Posts: 772
Gil: 104,915
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
Reputation: 59
Tidus Blade will become famous soon enough
Default

umm i dunno if this helps but sometimes when I get errors I delete everything from my cache and temporary files or private data or restart the browser and then stuff are working again...
__________________
Tidus Blade is offline   Reply With Quote
Old 02-10-2007, 06:18 AM   #5 (permalink)
Grand RPG King

Points: 28,853, Level: 99
Points: 28,853, Level: 99 Points: 28,853, Level: 99 Points: 28,853, Level: 99
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Yoherz's Avatar
 

Join Date: Nov 2006
Location: Right here.
Age: 18
Posts: 7,147
Gil: 2,520,235
Thanks: 0
Thanked 21 Times in 18 Posts
My Mood:
Rep Power: 10
Reputation: 179
Yoherz has a spectacular aura aboutYoherz has a spectacular aura about
Default

That's a good point, Tidus. It shouldn't be too hard to delete the RPG and then delete the cookies and private data and such. After that, just reinstall the RPG and it should be fine.
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quote:
Originally Posted by Yoh's family saying
I don't lie. I have a hard enough time getting people to believe the truth, much less a lie.
Quote:
Originally Posted by Nykocide
I wasn't expecting it to be that big.
Yoherz is offline   Reply With Quote
Old 02-10-2007, 06:53 AM   #6 (permalink)
Newbie

Points: 1,101, Level: 18
Points: 1,101, Level: 18 Points: 1,101, Level: 18 Points: 1,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
No Avatar
 

Join Date: Feb 2007
Age: 25
Posts: 9
Gil: 67,312
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Reputation: 1
carpy is an unknown quantity at this point
Default

Well its not working. I'm deleting everything the installer puts in, but when its reinstalled, I go to Seach Characters, there's 261 "N/A"s right after I do a fresh install even after overwriting all the files in the ftp. So that is somehow still tagging each user. Its gotta be hidden in a table somewhere but I can't find it.

I've been at this for 9 hours now. I wish the freakin author of the hack would've written the Reset code correctly.
carpy is offline   Reply With Quote
Old 02-10-2007, 01:04 PM   #7 (permalink)
Watermelon

Points: 6,199, Level: 51
Points: 6,199, Level: 51 Points: 6,199, Level: 51 Points: 6,199, Level: 51
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Tidus Blade's Avatar
 

Join Date: Dec 2006
Location: Melon Island
Age: 15
Posts: 772
Gil: 104,915
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
Reputation: 59
Tidus Blade will become famous soon enough
Default

did you PM pacman?
__________________
Tidus Blade is offline   Reply With Quote
Old 02-10-2007, 05:05 PM   #8 (permalink)
Grand RPG King

Points: 28,853, Level: 99
Points: 28,853, Level: 99 Points: 28,853, Level: 99 Points: 28,853, Level: 99
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Yoherz's Avatar
 

Join Date: Nov 2006
Location: Right here.
Age: 18
Posts: 7,147
Gil: 2,520,235
Thanks: 0
Thanked 21 Times in 18 Posts
My Mood:
Rep Power: 10
Reputation: 179
Yoherz has a spectacular aura aboutYoherz has a spectacular aura about
Default

That's probably not a good idea. Just wait until he see's this. I'm sure Pacman will be able to help you. He knows like 5 different coding programs, if not more.

Anywho. Yes, it should show them all as N/A since you deleted all of the member's characters. Once you make a new character, then it'll change. My guess is that once it doesn't show anything RPG related whatsoever on the members, then it's all deleted. Otherwise, just keep deleting RPG things until that happens.
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quote:
Originally Posted by Yoh's family saying
I don't lie. I have a hard enough time getting people to believe the truth, much less a lie.
Quote:
Originally Posted by Nykocide
I wasn't expecting it to be that big.
Yoherz is offline   Reply With Quote
Old 02-10-2007, 07:08 PM   #9 (permalink)
1st Class Soldier / n#1

Points: 11,804, Level: 71
Points: 11,804, Level: 71 Points: 11,804, Level: 71 Points: 11,804, Level: 71
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Pacman's Avatar
 

Join Date: Aug 2006
Location: Right here.
Age: 20
Posts: 1,921
Gil: 306,673
Thanks: 7
Thanked 11 Times in 10 Posts
My Mood:
Rep Power: 10
Reputation: 475
Pacman is a glorious beacon of lightPacman is a glorious beacon of lightPacman is a glorious beacon of lightPacman is a glorious beacon of lightPacman is a glorious beacon of light
Default

There is a Syntax error in the code you gave, a "," is missing here.
Code:
`xp` = '0'`alignmentid` = '1'
it should look like this:
Code:
UPDATE `rpg_user`
			SET
				`wins` = '0', `losses` = '0', `draws` = '0', `retreats` = '0',`xp` = '0',`alignmentid` = '1', `classid` = '1', `genderid` = '1', `raceid` = '1', `typeid` = '1';
That is why it says this:
Quote:
for the right syntax to use near 'alignmentid` = '1', `classid` = '1', `genderid` = '1', `raceid` = '1', `typeid` '
If you notice it only starts saying alignmentid... so starting here is gets the error...

I suggest you open the file and JUST ADD the ",".
If you not sure where to look, let me know... and I'll tell you... just put the code here...

I usually always come here see threads, but you can PM me, to look at the problem faster...
__________________

"Oh Cloud! Your hair looks like a chocobo!!" - Tifa, Final Fantasy VII
"You'll cry. You're gonna cry. You always cry, see? You're crying." - Jecht, Final Fantasy X
"Fine, we rest. She's worse than the storm." - Auron, Final Fantasy X
"...Whatever." - Squall, Final Fantasy VIII

Must Read Announcements!! - Forum Rules & Guidelines - Reviews Templates - Premium Accounts
Pacman is offline   Reply With Quote
Old 02-10-2007, 09:00 PM   #10 (permalink)
Grand RPG King

Points: 28,853, Level: 99
Points: 28,853, Level: 99 Points: 28,853, Level: 99 Points: 28,853, Level: 99
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Yoherz's Avatar
 

Join Date: Nov 2006
Location: Right here.
Age: 18
Posts: 7,147
Gil: 2,520,235
Thanks: 0
Thanked 21 Times in 18 Posts
My Mood:
Rep Power: 10
Reputation: 179
Yoherz has a spectacular aura aboutYoherz has a spectacular aura about
Default

Good old coder.....I mean Pacman.
I knew he would be able to fix it.
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quote:
Originally Posted by Yoh's family saying
I don't lie. I have a hard enough time getting people to believe the truth, much less a lie.
Quote:
Originally Posted by Nykocide
I wasn't expecting it to be that big.
Yoherz is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error azzy9 Help Desk 5 11-06-2006 09:01 PM



Sponsored links
Ventrilo Server Teamspeak Servers COD4 Game Servers


Final Fantasy Topsites Square Union  - Final Fantasy Topsites Forgotten Memories Topsite Oritsuru Topsites Hell and Heaven Net // Topsites Final Fantasy Tears Topsites My Final Fantasy Topsites

All times are GMT. The time now is 05:14 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
Copyright 2006 © All rights reserved - ChocoboHeaven.com - Ad Management by RedTyger