GUILD STR ERROR

08/24/2014 02:18 Ecrypter#1
HI EPVPERS

i have a problem about the guild str, and when i create a guild i got an error in the error logs

and this is my problem
PHP Code:
2014/08/23    16:07:56
query
:GUILD_STR 'A1',@im_idPlayer='0000001',@iserverindex='01',@im_idGuild='000001',@im_szGuild='www.alysium.com',@iLv_1=0,@iLv_2=0,@iLv_3=0,@iLv_4=0,@im_nLevel=0,@im_nGuildGold=0,@im_nGuildPxp=0,@im_nWin=0,@im_nLose=0,@im_nSurrender=0,@im_dwLogo=0,@im_szNotice='',@im_nClass=0
SQLSTATE
:22001 error:[Microsoft][SQL Native Client][SQL Server]String or binary data would be truncated.
2014/08/23    16:07:56
query
:GUILD_STR 'A1',@im_idPlayer='0000001',@iserverindex='01',@im_idGuild='000001',@im_szGuild='www.alysium.com',@iLv_1=0,@iLv_2=0,@iLv_3=0,@iLv_4=0,@im_nLevel=0,@im_nGuildGold=0,@im_nGuildPxp=0,@im_nWin=0,@im_nLose=0,@im_nSurrender=0,@im_dwLogo=0,@im_szNotice='',@im_nClass=0
SQLSTATE
:01000 error:[Microsoft][SQL Native Client][SQL Server]The statement has been terminated.
2014/08/23    16:08:13
query
:GUILD_STR 'A2',@im_idPlayer='0000002',@iserverindex='01',@im_idGuild='000001',@im_szGuild='',@iLv_1=0,@iLv_2=0,@iLv_3=0,@iLv_4=0,@im_nLevel=4,@im_nGuildGold=0,@im_nGuildPxp=0,@im_nWin=0,@im_nLose=0,@im_nSurrender=0,@im_dwLogo=0,@im_szNotice='',@im_nClass=0
SQLSTATE
:24000 error:[Microsoft][SQL Native Client]Invalid cursor state 

hope you can advice my problem

sorry for my bad english
08/24/2014 11:16 Mognakor#2
Have you tried a shorter guild name?
08/24/2014 11:59 TrøublêMakêr#3
GuildName > 16 length = error
08/24/2014 12:36 xTwiLightx#4
Quote:
Originally Posted by TrøublêMakêr View Post
GuildName > 16 length = error
This one has a length of 15 (wondering why dots are allowed...).

Can you show us the table definition of your GUILD_TBL?
08/25/2014 01:34 Ecrypter#5
its fix now., @im_szGuild varCHAR(225)
09/03/2014 15:26 Ecrypter#6
Quote:
Originally Posted by xTwiLightx View Post
This one has a length of 15 (wondering why dots are allowed...).

Can you show us the table definition of your GUILD_TBL?
this is my GUILD_TBL

PHP Code:
USE [CHARACTER_01_DBF]
GO
/****** Object:  Table [dbo].[GUILD_TBL]    Script Date: 09/03/2014 09:25:24 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE 
[dbo].[GUILD_TBL](
    [
m_idGuild] [char](6NOT NULL,
    [
serverindex] [char](2NOT NULL,
    [
Lv_1] [intNULL,
    [
Lv_2] [intNULL,
    [
Lv_3] [intNULL,
    [
Lv_4] [intNULL,
    [
Pay_0] [intNULL,
    [
Pay_1] [intNULL,
    [
Pay_2] [intNULL,
    [
Pay_3] [intNULL,
    [
Pay_4] [intNULL,
    [
m_szGuild] [varchar](225NULL,
    [
m_nLevel] [intNULL,
    [
m_nGuildGold] [intNULL,
    [
m_nGuildPxp] [intNULL,
    [
m_nWin] [intNULL,
    [
m_nLose] [intNULL,
    [
m_nSurrender] [intNULL,
    [
m_nWinPoint] [intNULL,
    [
m_dwLogo] [intNULL,
    [
m_szNotice] [varchar](127NULL,
    [
isuse] [char](1NULL,
    [
CreateTime] [datetimeNULL
ON [PRIMARY]

GO
SET ANSI_PADDING OFF