Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 00:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Database issues

Discussion on [Help] Database issues within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2022
Posts: 16
Received Thanks: 0
[Help] Database issues

When I added the magic mission, I kept prompting this error!

PromptbManagerFun.cpp, 1210.
Exec RETURN FALSE, ThreadID : 5100.
SQLSTATE:42000 error:[Microsoft][SQL Server Native Client 11.0][SQL Server] error converting from data type varchar to int.

Source: DbManagerFun.cpp
int nEventId,nX,nY,nCount,nDesc,nMagicDay;
char chElem,bLow;
CTime t = CTime::GetCurrentTime();
int nTmpDay = t.GetDay();
char szMagicQuest[1024] = {0,};
qry->GetStr("m_aMagicQuest",szMagicQuest);
if(VerifyString(szMagicQuest,__FILE__,__LINE__,lpD bOverlappedPlus->AccountInfo.szPlayer,NULL) == FALSE)
{
return;
}
CountStr = 0;
while('$' != szMagicQuest[CountStr])
{
nEventId = GetIntPaFromStr( szMagicQuest, &CountStr );
nDesc = GetIntPaFromStr( szMagicQuest, &CountStr );
nCount = GetIntPaFromStr( szMagicQuest, &CountStr );
chElem = (char)GetIntPaFromStr( szMagicQuest, &CountStr );
nX = GetIntPaFromStr( szMagicQuest, &CountStr );
nY = GetIntPaFromStr( szMagicQuest, &CountStr );
bLow = (char)GetIntPaFromStr( szMagicQuest, &CountStr );
nMagicDay = GetIntPaFromStr( szMagicQuest, &CountStr );
CountStr++;
//Error("%d %d %d %d %d %d %d %d [%d/%d]",nEventId,nX,nY,nCount,nDesc,nMagicDay,chElem,bLo w,CountStr,nStrLen);
if( nEventId > 0 && nMagicDay == nTmpDay)
{
CDayEventState* pDES = new CDayEventState;
pDES->SetEventId(nEventId);
CMagicQuest* pMQ = new CMagicQuest;
pMQ->SetCount(nCount);
pMQ->m_nDesc = nDesc;

sMagicPos* pMPos = new sMagicPos;
pMPos->bLow = (bLow == 1 ? true : false);
pMPos->chElem = chElem;
pMPos->nEventId = nEventId;
pMPos->nX = nX;
pMPos->nY = nY;
pMQ->SetMagicPos(pMPos);
pDES->SetMagicQuest(pMQ);
pMover->m_DayEvent.Add(pDES);
}
}

SQL Database:
Table:
m_aMagicQuest varchar(1024) Checked

Stored Procedures:
, @agicQuest varchar(1024) = '$'
,A.m_aMagicQuest
, m_aMagicQuest = @agicQuest
Does anyone know how to solve it? Thank you
liulinkan is offline  
Old 11/09/2022, 15:19   #2
 
elite*gold: 0
Join Date: Sep 2022
Posts: 16
Received Thanks: 0
New problems:
The pink balloon with +50 attack power has a duration of 3 days when used, but when I log in to the client again, the persistence time becomes 1 hour, does anyone know what caused it? Thank you
liulinkan is offline  
Reply


Similar Threads Similar Threads
[Official Release] Rainbow Database: Vampire/Godship/Legionairre Database!
04/25/2021 - EO PServer Guides & Releases - 106 Replies
http://i43.tinypic.com/jgo485.png Additional: The database contains all material and server features which I alone coded, designed and created. I can barely recall if their were any bugs. I think there was with one of the vampire skills. People said it was supposed to be an xp skill but they could use it without having to be on XP. So its pretty minor but if you find any other problems please report them to this thread and i'll make a fix asap. Many database releases have come before this...
Database storage issues
03/11/2020 - Flyff Private Server - 2 Replies
The role creation was unsuccessful, and the database has loaded the name I entered normally https://prnt.sc/reidyf 12/03/2020 - 06:36:00 query:CHARACTER_STR 'I1',@im_idPlayer='0000000' iServerindex='01',@iaccount='qqqq',@im_szName='sdf dsfdsf'...
Database Mssql to reg page issues
10/02/2012 - SRO Private Server - 0 Replies
I have been trying to get a reg page up asap and its not working anyone got a basic code they could help me with. Login. Password Password Email Thanks. If you wonder why I'm not using all the other codes posted on the forums A there isnt many and
EP5 database setup issues
12/14/2011 - Shaiya Private Server - 7 Replies
I managed to figure out how to attach the EP5 DB files from the ElitePvPers1.rar and attach them to my EP4.5 server that is stable and running (thanks to gods i have it backed up in multiple places) however there seems to be an error, when i open the ps_userdata>dbo.users_master there is no accounts, and i cannot create an account, administer mode and all. tells me the value 0 or 1 in the "admin" table is not a valid arguement, or something to the effect of that. the PS_gamedefs is however full...
[Help]DataBase Issues
09/10/2008 - CO2 Private Server - 1 Replies
Ok im trying to save "x" amount of times some one uses a exp ball What i have so far In Character.cs ok so far it all works i made a /expused command to see if it was even adding



All times are GMT +1. The time now is 00:24.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.