fix for rollback when pets name is greater then 12 letters

for(alive>0){makeMoney()}
Joined
Aug 1, 2006
Messages
357
Reaction score
68
Well, here is a simple fix for a problem that your character gets rolled back if your pets name is greater then 12 letters.

Just run this SQL script:
PHP:
ALTER TABLE `odinms`.`pets` MODIFY COLUMN `name` VARCHAR(999) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL;

Enjoy.

Edit: this is a permanent fix so you just have to run this once.
 
Re: [release]fix for rollback when pets name is greater then 12 letters

do you know where the petid release is? :S cant seem to find it =/ one of the sources i have doesnt have the name tag
 
Re: [release]fix for rollback when pets name is greater then 12 letters

Bumps because its important and this guy pwns
 
Re: [release]fix for rollback when pets name is greater then 12 letters

Applauses*


Sir, your epic fucking win and I hope you know that
 
Re: [release]fix for rollback when pets name is greater then 12 letters

Code:
 ALTER TABLE `odinms`.`characters` MODIFY COLUMN `name` VARCHAR(999) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL;

is this the correct sql for name limit? o.o

Edit : this don't work, tried. will dc lol
 
Re: [release]fix for rollback when pets name is greater then 12 letters

wow i lol amazingly i almost dropped off my chair if you didn't know this you pretty much fail..?how about doing it the hard way and set a limit on the nametag :|If someone has their pet name 999 characters it'll cover the whole map and thats really annoying O.o;
 
Back