Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 12:21

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

Advertisement



[Problem] Create Char Job

Discussion on [Problem] Create Char Job within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 14
Received Thanks: 0
[Problem] Create Char Job

Hello,

I have try to test this system

it's work fine, but when i click "Ok", my character is not create (not in char selection), however the character is in the DB.

Sorry for my english !
kinerzou is offline  
Old 01/29/2014, 12:26   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 14
Received Thanks: 0
Anyone ?
kinerzou is offline  
Old 01/29/2014, 21:14   #3
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 725
The Black Market: 516/0/0
Join Date: Jan 2012
Posts: 16,377
Received Thanks: 3,429
Did you excute the query?
Lumi is offline  
Old 01/29/2014, 22:02   #4
 
elite*gold: 0
Join Date: May 2009
Posts: 14
Received Thanks: 0
This?
Quote:
FROM BASE_VALUE_TBL
WHERE g_nSex = @im_dwSex AND
m_nJob
I have modify the stored procedure and execute.

My DBManager.cpp

Quote:
#ifdef __JOB_CREATE_CHAR
DBQryCharacter( szQuery, "I1", 0, g_appInfo.dwSys, lpDbOverlappedPlus->AccountInfo.szAccount, lpDbOverlappedPlus->AccountInfo.szPlayer, nSlot, dwWorldID,
dwIndex, vPos.x, vPos.y, vPos.z, '\0', nSkinSet, nHairMesh, dwHairColor, nHeadMesh, nSex, 0.0f, 0, 0.0f, 0, 0, 0, 0, 0, nJob );
#else //__JOB_CREATE_CHAR
DBQryCharacter( szQuery, "I1", 0, g_appInfo.dwSys, lpDbOverlappedPlus->AccountInfo.szAccount, lpDbOverlappedPlus->AccountInfo.szPlayer, nSlot, dwWorldID,
dwIndex, vPos.x, vPos.y, vPos.z, '\0', nSkinSet, nHairMesh, dwHairColor, nHeadMesh, nSex );
#endif //__JOB_CREATE_CHAR


if( FALSE == qry->Exec( szQuery ) )
{
WriteLog( "%s, %d\r\n\t%s", __FILE__, __LINE__, szQuery );
FreeRequest( lpDbOverlappedPlus );
return;
}

#ifdef __Chogiha
// ÃʱâÈ* ÀÛ¾÷ÇÒ¶§ ¾²ÀδÙ~~~~ Æò»ó½Ã ¾È¾¸
WriteToFile(nSkinSet, nHairMesh, nSex, nJob, nHeadMesh, dwHairColor, lpDbOverlappedPlus->AccountInfo.szPlayer );
#endif

if( qry->Fetch() )
{
int nError;
u_long nidPlayer;
nError = qry->GetInt( "fError" );
if( nError == 1 )
{
nidPlayer = qry->GetInt( "m_idPlayer" );
#if __VER >= 11 // __SYS_PLAYER_DATA
PlayerData pd;
#ifdef __JOB_CREATE_CHAR
pd.data.nJob = nJob;
#else //__JOB_CREATE_CHAR
pd.nJob = 0;
#endif // __JOB_CREATE_CHAR
kinerzou is offline  
Old 01/29/2014, 22:39   #5
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 725
The Black Market: 516/0/0
Join Date: Jan 2012
Posts: 16,377
Received Thanks: 3,429
You need the base_value query too.
Lumi is offline  
Old 01/29/2014, 23:14   #6
 
elite*gold: 0
Join Date: May 2009
Posts: 14
Received Thanks: 0
what is the base_value query?

Oh, ok i've find it ! Thanks.
But when i execute the query, they have an error. they have a primary key on g_nSex, i can't add.
kinerzou is offline  
Old 05/19/2014, 15:55   #7
 
marvincod1's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 86
Received Thanks: 9
Hey, do you have the v19 resdata for me? because here my client crash because of resdata.inc
marvincod1 is offline  
Old 05/19/2014, 17:21   #8
 
elite*gold: 294
Join Date: Jun 2009
Posts: 407
Received Thanks: 587
Quote:
Originally Posted by kinerzou View Post
what is the base_value query?

Oh, ok i've find it ! Thanks.
But when i execute the query, they have an error. they have a primary key on g_nSex, i can't add.
It's because the only thing the table is based of *** which causes the errors. You need to add m_nJob to the indexing as well as keeping *** involved.
Avalion is offline  
Reply


Similar Threads Similar Threads
create char problem
08/03/2013 - Dekaron Private Server - 1 Replies
so the problem is i create a new acc and a new char but he got lvl 250 how to fix that :confused:
Having problem with create char
09/01/2011 - Lineage 2 - 1 Replies
after login on my server and create character .my character is invicible and has a delete time on head (0 h 0 min...) how to fix this?:confused: sorry for bad english
i can create a [DEV]or[GM]char but ......
01/03/2011 - Dekaron Private Server - 21 Replies
i can create a char but i can not use commands dropitem. nothing happened. help !
Flyff Pserver Problem [No Char create avaliable]
12/16/2010 - Flyff Private Server - 1 Replies
Hallo com, Der Titel sagt es ! Ich kann mir keinen char erstellen auf meinem pserver! Und wenn ich Den Char vom server mysql erstelle komm ich nicht auf den World server pls help! - Server = Lightning Core - Client = Gpotato Client !!!AKT3!!! - DB - Aldimasters - Habe Flyff.a auch gelöscht!
[Problem] Cant create Char.
01/25/2009 - Silkroad Online - 2 Replies
When i try to create i char i get a DC :(



All times are GMT +2. The time now is 12:21.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.