peq Rev2021 bot problem
So i have been looking around trying to find a fix. but nothing is working, or i'm just to tired to get it.
Anyways i am using Peq's rev2021 with bots. but when i try to create one i get the same error as many others in older revs. Quote:
Any help would be so greatful right now. |
this should fix the problem:
Code:
ALTER TABLE `botbuffs` ADD COLUMN `CorruptionCounters` INT(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `CurseCounters`; |
Where would i be fixing this at by chance?
Edit: Err nvm i think i know where lol. sorry tired from trying to get it all working. nope nvm i'm dumb atm and cant figure what to do with that lol. |
Main discussion on this if interested:
http://www.peqtgc.com/phpBB2/viewtopic.php?t=12520 What you do with that above is copy and paste it into your mysql prompt |
When i try to enter this in i just get an error
Quote:
|
the command line can be a bit tricky and time consuming if you are not familiar with it. I always use HeidiSQL which is a gui frontend to mysql.
this might be helpful to you if you want to do it on the command line: Type mysql -uroot -p Hit enter and enter your password. (Hit enter again) You should now see a prompt that looks like this: (along with "Welcome" text before it) mysql>_ Type the following (in order): use peq (Or whichever name you used for your database. Hit enter and you will see a short note saying "Database changed") Then type the following: ALTER TABLE `botbuffs` ADD COLUMN `CorruptionCounters` INT(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `CurseCounters`;(when this is done, you will be back at the mysql>_ prompt) then type this: ALTER TABLE `bots` ADD COLUMN `Corrup` SMALLINT(5) NOT NULL DEFAULT '0' AFTER `PR`; |
YEah still not working. giving errors. just DL HeidiSQL.
so for HeidiSQL i would add a new column with the +Add button Add the name set data type to INT Length being 11 Check for unsigned(?) and Null nothing for ZeroFill and for Default 0? |
you can just copy and paste to your Query window. make sure you select the database on the left hand column before you do anything else. then hit execute sql or F9
|
I am still getting the same 1064 syntax error :(
|
hmm I don't know. maybe just drop the database altogether and redo it. Sometime somewhere along the line where you do sourcing and trying to fix it, the database can get messed up in a process.
|
Sweet heavens. that worked. Ty. not to get all the newer spells.....
|
All times are GMT -4. The time now is 10:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.