Register for your free account! | Forgot your password?

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

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

Advertisement



Rebirth system not saving correctly.

Discussion on Rebirth system not saving correctly. within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Rebirth system not saving correctly.

Hi elitepvpers,

I have build in the rebirth system that Andrej released in his source.
Almost everything works. The only downside is that its not saving it to the database.

Inside the CHARACTER_TBL i have made an new field called m_nRebirthCount

In the CHARACTER_STR procedure i have added this to S1 U1 I1

Now when i do an rebirth i get this inside the m_nRebirthCount
-101
If i do an other rebirth its updating to -100 etc.

So what i dont get is where does it say that it must be -101 instead of 1

With kind regards.
raventh1984 is offline  
Old 07/12/2013, 10:35   #2
 
elite*gold: 0
Join Date: Oct 2012
Posts: 108
Received Thanks: 29
You have done the obj.cpp?

Code:
	
m_nRebirthCount= pMover->m_nRebirthCount;

if( m_nRebirthCount < 0 )
	m_nRebirthCount = 0;
so you do not have a negative value
SourceShop is offline  
Thanks
1 User
Old 07/12/2013, 11:01   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Thank you that works. Now i have run some tests and i noticed that everytime i reloged the m_nRebirthCount is set to 0 in the database.

So when i do an rebirth the field gets updated with the number 1 after relogging its back to 0. Where do i need to look for this.
raventh1984 is offline  
Old 07/12/2013, 11:29   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 108
Received Thanks: 29
Do you have skype?
SourceShop is offline  
Old 07/12/2013, 17:31   #5
 
ThoughtfulDev's Avatar
 
elite*gold: 28
Join Date: Aug 2012
Posts: 2,335
Received Thanks: 471
Quote:
Originally Posted by raventh1984 View Post
Thank you that works. Now i have run some tests and i noticed that everytime i reloged the m_nRebirthCount is set to 0 in the database.

So when i do an rebirth the field gets updated with the number 1 after relogging its back to 0. Where do i need to look for this.
you have the correct dbmanagersave.cpp part?
ThoughtfulDev is offline  
Reply


Similar Threads Similar Threads
Saving Rebirth to database!
06/30/2013 - Flyff Private Server - 1 Replies
Hi elitepvpers, Well i was scripting the rebirth system over again to use and different field instead of m_nCampusPoint what most people are using. So what i did was inside character_tbl i have an new field called m_nRebirth Also in the character_str Procedure i have added these lines in their correct order @im_nRebirth int = 0 U1
Rebirth System
10/05/2012 - SRO Private Server - 17 Replies
Is there a release how to input Rebirth System into your server? If so can someone link me to the thread or site? Please and Thank You Love , ZX
Rebirth system
07/29/2012 - Fiesta Online - 29 Replies
Kann mir jmd. die files von Rebirth system geben?
Adding new garments & Saving System problems
07/28/2011 - CO2 Private Server - 2 Replies
hey guz i wanna know 3 things:- 1st: i've added the new garments that begger raider and Schooluniform and another garment i added them to shop and they appeared clearly with their edited prices but when i wanted to buy them they didnt come in my invetory idont know the reason for that ???? 2nd:i've problem in saving the Halos of Class pk and elite pk too and the big problem in guildwar cuz when u dc then login the Halo disappear and u can claim it again so it make the guild winner a...
[Help Request] Saving a Custom System (5165)
03/08/2010 - CO2 Private Server - 10 Replies
Hey you guys, I need help. =\ http://i746.photobucket.com/albums/xx110/brokentw ilight91/cute.png I know that sounds lame but it's really hard for me and I've been trying for days. My goal is to save a variable M and D to a character file in a folder called "example" (Like the Flower System's save system). http://i746.photobucket.com/albums/xx110/brokentw ilight91/Capture-7.png This is what I have for the System's cs (located in Features called Example.cs): using System;



All times are GMT +2. The time now is 05:00.


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.