Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 01:14

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

Advertisement



Rebirth Problem/Frage

Discussion on Rebirth Problem/Frage within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
Grening's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 228
Received Thanks: 99
Rebirth Problem/Frage

Moin Leute,
ich bin grade auf ein kleines Problem gestoßen.
Also folgendes:

Ich habe dieses Rebirth system verwendet .

Das
Code:
m_nCampusPoint
habe ich mit
Code:
m_iRebirth
ersetzt, damit es mit dem Release für die Icons übereinstimmt.

Soweit funktioniert alles wie es soll, auser...

Frage 1: Wie muss die Funktion lauten, das man ab Rebirth 5 kein /rebirth mehr machen kann?

Frage 2: Wo kann ich einstellen das die Exp pro Rebirth level weniger wird?

Frage 3: Was genau muss ich eingeben damit das Rebirth level im Statusfenster H angezeigt wird?
Grening is offline  
Old 12/04/2014, 16:56   #2
 
elite*gold: 20
Join Date: May 2014
Posts: 172
Received Thanks: 67
Frage 3: Was genau muss ich eingeben damit das Rebirth level im Statusfenster H angezeigt wird?

Antwort: WndField.cpp
GentrosOne is offline  
Old 12/04/2014, 17:04   #3
 
Grening's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 228
Received Thanks: 99
Quote:
Originally Posted by GentrosOne View Post
Frage 3: Was genau muss ich eingeben damit das Rebirth level im Statusfenster H angezeigt wird?

Antwort: WndField.cpp
Ich hab mich mit Status anzeigen noch nicht befasst, was muss ich wo eintragen?
Grening is offline  
Old 12/04/2014, 17:04   #4

 
elite*gold: 353
Join Date: Jan 2013
Posts: 923
Received Thanks: 616
Also bei mir sieht das so aus ;D[kannst es ja deinem Rebirth Anpassen]
Code:
#ifdef __PLATIN_SYSTEM
	if( g_pPlayer->GetPlatinLevel() > 0 )
	{
		p2DRender->TextOut( 7, y, "Platin Level:", dwColor ); y+= nNext;
	}
#endif // __PLATIN_SYSTEM
unter das :
Code:
	p2DRender->TextOut( 7, y, prj.GetText(TID_GAME_CHARACTER_02), dwColor ); y += nNext;
Kiseku is offline  
Thanks
1 User
Old 12/04/2014, 21:30   #5
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
1. Wie muss die Funktion lauten, das man ab Rebirth 5 kein /rebirth mehr machen kann?

Answer:

FuncTextcmd.cpp

#ifdef __REBIRTH
BOOL TextCmd_rebirth( CScanner& scanner )
{
#ifdef __WORLDSERVER
CUser *pUser;
pUser = (CUser*)scanner.dwValue;
if(pUser->m_iRebirth >= 5)
{
pUser->AddText("You have already max rebirths!");
}
else if(pUser->m_nLevel >= 150 && pUser->IsLegendHero() && pUser-> )
{
pUser->InitLevelRebirth( pUser->m_nJob-16,60);
}
else
pUser->AddText("You do not have the right level for a Rebirth!");
#endif
return TRUE;
}
#endif
raventh1984 is offline  
Thanks
1 User
Old 12/05/2014, 03:23   #6
 
elite*gold: 23
Join Date: Dec 2010
Posts: 743
Received Thanks: 617
lel.

Da alles andere schon beantwortet wurde hier die letze, hab aber gerade keine Source vor mir deswegen müsstest du schauen wie du es einbaust.
Bei der Exp hast du zwei Möglichkeiten einmal in der
Quote:
CMover::AddExperience
müsste das sein, da kannst du die Erfahrung die du tatsächlich bekommst senken like
Quote:
if( m_iRebirth > 0)
nExp /= (m_iRebirth*3)
, musst du mal schauen wie du das genau haben willst.
Ansonsten kannste die Exprate niedriger machen
Quote:
CMover::GetExpFactor
gehst du einfach ganz am Ende der Funktion hin und machst
Quote:
if( m_iRebirth > 0) fFactor /= (float)m_iRebirth*1.2f;
Hier falls du die Droprate bearbeiten willst ect.
Quote:
GetItemDropRateFactor, GetPieceItemDropRateFactor
.SnoX is offline  
Thanks
1 User
Old 12/05/2014, 20:21   #7
 
Grening's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 228
Received Thanks: 99
Noch eine kurze Frage, die mit dem Rebirth system oben aber nichts zu tun hat,jedoch ähnlich ist.

Beim compilieren des Datenbank Servers kommt folgender Fehler:

Code:
C:\Users\Administrator\Source\_Network\Objects\Obj.cpp(774): error C3861: 'm_nPlatinLv': identifier not found, even with argument-dependent lookup
Laut Errorlog kann ich entnehmen das er die definition "m_nPlatinLv" nicht findet, weil sie nicht definiert ist.
Code:
C:\Users\Administrator\Source\Source\_Network\Objects\Obj.cpp(773): error C2039: 'm_nPlatinLv' : is not a member of 'CMover'
Code:
C:\Users\Administrator\Source\Source\_Network\Objects\Obj.cpp(121): error C2065: 'm_nPlatinLv' : undeclared identifier
Kann mir jemand dabei helfen?
Werden noch mehr Informationen benötigt?

Die Stelle vom Error:

Code:
#ifdef __PLATIN
	m_nPlatinLv = pMover->m_nPlatinLv;
	if( m_nPlatinLv > MAX_PLATINLV || m_nPlatinLv < 0 ) // Fix Datenbank NULL -> -99 || Ist PlatinLv größer als MAX_PALTINLV oder kleiner als 0 dann auf 0 setzen
		m_nPlatinLv = 0;
#endif//__PLATIN
Grening is offline  
Old 12/06/2014, 14:22   #8
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Its already saying what the problem is

m_nPlatinLv' : is not a member of 'CMover'

So you need to add the m_nPlatinLv to the CMover Class
raventh1984 is offline  
Old 12/07/2014, 08:45   #9
 
Grening's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 228
Received Thanks: 99
How can i exactly do that?
Grening is offline  
Old 12/08/2014, 17:33   #10
 
Grening's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 228
Received Thanks: 99
~Push~
Grening is offline  
Old 12/08/2014, 18:09   #11
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Quote:
Originally Posted by Grening View Post
How can i exactly do that?
Here
Obj.h
class CMover: public CCtrl

Next time try to read the error code

'm_nPlatinLv' : is not a member of 'CMover'

it simply means its not inside the class CMover. And since this code is in your Obj.cpp you need to check Obj.h
raventh1984 is offline  
Thanks
1 User
Old 12/08/2014, 18:25   #12
 
Grening's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 228
Received Thanks: 99
Thank you very much.
It work´s now
Grening is offline  
Old 12/08/2014, 21:50   #13
 
elite*gold: 20
Join Date: May 2014
Posts: 172
Received Thanks: 67
Versuche es mal so


Code:
#ifdef __REBIRTH
	m_iRebirth = pMover->m_iRebirth;
	if( m_iRebirth > MAX_REBIRTH || m_iRebirth < 0 ) // Fix Datenbank NULL -> -99 || Ist Rebrith größer als MAX_REBIRTH oder kleiner als 0 dann auf 0 setzen
		m_iRebirth = 0;
#endif//__REBIRTH
GentrosOne is offline  
Old 12/09/2014, 06:13   #14
 
Grening's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 228
Received Thanks: 99
Raventh hat mich schon auf die richtige Lösung gebracht,hat auch geklappt.
Grening is offline  
Reply


Similar Threads Similar Threads
Rebirth Problem
11/24/2013 - Flyff Private Server - 8 Replies
Guten Tag, vllt kann mir irgw helfen. Ich habe rebirth bei mir eingebaut, läuft soweit auch, aber wenn ich Server neustarte bin ich zwar Level 150 und die geschenke sind auch noch da, aber habe keine Rebirths mehr. Die Tabelle von Rebirth ist in der Db vorhanden, aber er macht irgw keinen eintrag. Ich kriege auch keine errors.
Rebirth System Problem
10/30/2013 - Flyff Private Server - 1 Replies
Hallo leute, Habe ein Platin/Rebirth System eingefügt und immer kommen die errors! C:\Users\Simon\Desktop\FlyFFFiles\BoP-Source\Sour ce\_Interface\FuncTextCmd.cpp(1706): error C2039: 'InitLevelRebirth' : is not a member of 'CUser' C:\Users\Simon\Desktop\FlyFFFiles\BoP-Source\Sour ce\_Common\MoverRender.cpp(1033): error C2059: syntax error : 'else' C:\Users\Simon\Desktop\FlyFFFiles\BoP-Source\Sour ce\_Common\MoverRender.cpp(1033): error C2143: syntax error : missing ';' before '{'...
[Rebirth-System]Frage
07/16/2013 - Flyff Private Server - 9 Replies
hay, wie mache ich das damit ich ein Icon neben meinem Name habe also Rebirth level 1 bekommt ein Grünes icon und so wie mache ich das :D ? habe das rebirth von Crowley ;D Danke auch so also anders mein Rebirth Icon ist unter dem Master icon sieht ein bissche fail aus xD else if (m_nCampusPoint == 1) { strPath = MakePath( DIR_ICON, "icon_Expert5.dds");
Rebirth System Icon Frage
05/29/2013 - Flyff Private Server - 7 Replies
#erledigt
Rebirth System Frage
05/08/2013 - Flyff Private Server - 5 Replies
#erledigt



All times are GMT +2. The time now is 01:14.


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.