这个就是真正的心血所在了·看过了控制台编写源码的人都知道~针对新江湖OL写工具~都要设置N多变量和常量~因为他的道具和人物信息是分开的~
USE GAME01
declare
@jineng1 varchar(3),@jineng2 varchar(3),
@jineng3 varchar(3),
@jineng4 varchar(3),
@jineng5 varchar(3),
@jineng6 varchar(3),
@jineng7 varchar(3),
@jineng8 varchar(3),@jineng9 varchar(3),@jineng10 varchar(3)
declare @shulian1 varchar(3),@shulian2 varchar(3),@shulian3 varchar(3),
@shulian4 varchar(3),@shulian5 varchar(3),@shulian6 varchar(3),
@shulian7 varchar(3),@shulian8 varchar(3),@shulian9 varchar(3),@shulian10 varchar(3)
declare @Name varchar(12)
declare @jn1name varchar(3)
declare @技能一 varchar(12)
set @Name = '涛涛冷月'
select @jineng1 = substring(aSkill,1,3),
@shulian1 = substring(aSkill,4,6),
@jineng2 = substring(aSkill,7,9),
@shulian2 = substring(aSkill,10,12),
@jineng3 = substring(aSkill,13,15),
@shulian3 = substring(aSkill,16,18),
@jineng4 = substring(aSkill,19,21),
@shulian4 = substring(aSkill,22,24),
@jineng5 = substring(aSkill,25,27),
@shulian5 = substring(aSkill,28,30),
@jineng6 = substring(aSkill,31,33),
@shulian6 = substring(aSkill,34,36),
@jineng7 = substring(aSkill,37,39),
@shulian7 = substring(aSkill,40,42),
@jineng8 = substring(aSkill,43,45),
@shulian8 = substring(aSkill,46,48),
@jineng9 = substring(aSkill,49,51),
@shulian9 = substring(aSkill,52,54),
@jineng10 = substring(aSkill,55,57),
@shulian10 = substring(aSkill,58,60)
from AvatarInfo where aName=@Name
select @jineng1 as 技能,@shulian1 as 熟练度,@jineng2 as 技能,@shulian2 as 熟练度,@jineng3 as 技能,@shulian3 as 熟练度,
@jineng4 as 技能,@shulian4 as 熟练度,@jineng5 as 技能,@shulian5 as 熟练度,@jineng6 as 技能,@shulian6 as 熟练度,
@jineng7 as 技能,@shulian7 as 熟练度,@jineng8 as 技能,@shulian8 as 熟练度,@jineng9 as 技能,@shulian9 as 熟练度,
@jineng10 as 技能,@shulian10 as 熟练度
select @jineng1 = substring(aSkill,61,63),
@shulian1 = substring(aSkill,64,66),
@jineng2 = substring(aSkill,67,69),
@shulian2 = substring(aSkill,70,72),
@jineng3 = substring(aSkill,73,75),
@shulian3 = substring(aSkill,76,78),
@jineng4 = substring(aSkill,79,81),
@shulian4 = substring(aSkill,82,84),
@jineng5 = substring(aSkill,85,87),
@shulian5 = substring(aSkill,88,90),
@jineng6 = substring(aSkill,91,93),
@shulian6 = substring(aSkill,94,96),
@jineng7 = substring(aSkill,97,99),
@shulian7 = substring(aSkill,100,102),
@jineng8 = substring(aSkill,103,105),
@shulian8 = substring(aSkill,106,108),
@jineng9 = substring(aSkill,109,111),
@shulian9 = substring(aSkill,112,114),
@jineng10 = substring(aSkill,115,117),
@shulian10 = substring(aSkill,118,120)
from AvatarInfo where aName=@Name
select @jineng1 as 技能,@shulian1 as 熟练度,@jineng2 as 技能,@shulian2 as 熟练度,@jineng3 as 技能,@shulian3 as 熟练度,
@jineng4 as 技能,@shulian4 as 熟练度,@jineng5 as 技能,@shulian5 as 熟练度,@jineng6 as 技能,@shulian6 as 熟练度,
@jineng7 as 技能,@shulian7 as 熟练度,@jineng8 as 技能,@shulian8 as 熟练度,@jineng9 as 技能,@shulian9 as 熟练度,
@jineng10 as 技能,@shulian10 as 熟练度
select @jineng1 = substring(aSkill,121,123),
@shulian1 = substring(aSkill,124,126),
@jineng2 = substring(aSkill,127,129),
@shulian2 = substring(aSkill,130,132),
@jineng3 = substring(aSkill,133,135),
@shulian3 = substring(aSkill,136,138),
@jineng4 = substring(aSkill,139,141),
@shulian4 = substring(aSkill,142,144),
@jineng5 = substring(aSkill,145,147),
@shulian5 = substring(aSkill,148,150),
@jineng6 = substring(aSkill,151,153),
@shulian6 = substring(aSkill,154,156),
@jineng7 = substring(aSkill,157,159),
@shulian7 = substring(aSkill,160,162),
@jineng8 = substring(aSkill,163,165),
@shulian8 = substring(aSkill,166,168),
@jineng9 = substring(aSkill,169,171),
@shulian9 = substring(aSkill,172,174),
@jineng10 = substring(aSkill,175,177),
@shulian10 = substring(aSkill,178,180)
from AvatarInfo where aName=@Name
select @jineng1 as 技能,@shulian1 as 熟练度,@jineng2 as 技能,@shulian2 as 熟练度,@jineng3 as 技能,@shulian3 as 熟练度,
@jineng4 as 技能,@shulian4 as 熟练度,@jineng5 as 技能,@shulian5 as 熟练度,@jineng6 as 技能,@shulian6 as 熟练度,
@jineng7 as 技能,@shulian7 as 熟练度,@jineng8 as 技能,@shulian8 as 熟练度,@jineng9 as 技能,@shulian9 as 熟练度,
@jineng10 as 技能,@shulian10 as 熟练度