Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 16:31

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

Advertisement



Problem beim Repair System

Discussion on Problem beim Repair System within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
Problem beim Repair System

Ich habe versucht das Repair System einzubauen und bekomme folgende 4 errors:

\Users\****\Desktop\Source\Program\_Common\MoverAt tack.cpp(2080) : error C2374: 'fValue' : redefinition; multiple initialization

\Users\****\Desktop\Source\Program\_Common\MoverAt tack.cpp(2094) : error C3861: 'fValue': identifier not found, even with argument-dependent lookup

\Users\****\Desktop\Source\Program\_Common\MoverAt tack.cpp(2094) : error C3861: 'fValue': identifier not found, even with argument-dependent lookup

\Users\****\Desktop\Source\Program\_Common\MoverAt tack.cpp(2096) : error C3861: 'fValue': identifier not found, even with argument-dependent lookup

2080 :

PHP Code:
    float fValue 1.0f
2094 :

PHP Code:
fValue fValue nValue 100.0f;        // Á¦·Ã¼öÄ¡°¡ °öÇØÁø´Ù. 
2096 :

PHP Code:
    return fValue


Ich bitte um Hilfe
DerJumbo is offline  
Old 08/08/2012, 09:13   #2
 
elite*gold: 4
Join Date: Mar 2010
Posts: 3,148
Received Thanks: 1,535
\Users\****\Desktop\Source\Program\_Common\MoverAt tack.cpp(2080) : error C2374: 'fValue' : redefinition; multiple initialization

iwo wurde der float fValue schonmal definiert
Jopsi332 is offline  
Thanks
1 User
Old 08/08/2012, 12:24   #3
 
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
ich habe jetzt das rein gemacht:

PHP Code:
#ifndef __WEAPONREPAIR
    
float fValue 1.0f;
#else // __WEAPONREPAIR
    
float fValue CMover::GetItemEnduranceInfluence( ( pItemElem->m_nHitPoint 100 ) / pItemProp->dwEndurance );
#endif // __WEAPONREPAIR 
und darunter stand das :

PHP Code:

#if __VER >= 11 // __REMOVE_ENDURANCE
    
float fValue 1.0f;
#else // __REMOVE_ENDURANCE
    
float fValue CMover::GetItemEnduranceInfluence( ( pItemElem->m_nHitPoint 100 ) / pItemProp->dwEndurance );
#endif // __REMOVE_ENDURANCE 
da habe ich mir gedacht: mhh das sieht sich sehr ähnlich und habe das :
PHP Code:
#if __VER >= 11 // __REMOVE_ENDURANCE
    
float fValue 1.0f;
#else // __REMOVE_ENDURANCE
    
float fValue CMover::GetItemEnduranceInfluence( ( pItemElem->m_nHitPoint 100 ) / pItemProp->dwEndurance );
#endif // __REMOVE_ENDURANCE 
weg gemacht, und ja es geht jetzt. Aber meine Frage ist : ist das schlimm wenn ich das raus mache hat das i-welche folgen?

Ich hoffe um Hilfe
DerJumbo is offline  
Old 08/09/2012, 19:13   #4

 
マリブ's Avatar
 
elite*gold: 12
The Black Market: 117/0/0
Join Date: Jun 2011
Posts: 2,512
Received Thanks: 1,062
Quote:
Originally Posted by DerJumbo View Post
ich habe jetzt das rein gemacht:

PHP Code:
#ifndef __WEAPONREPAIR
    
float fValue 1.0f;
#else // __WEAPONREPAIR
    
float fValue CMover::GetItemEnduranceInfluence( ( pItemElem->m_nHitPoint 100 ) / pItemProp->dwEndurance );
#endif // __WEAPONREPAIR 
und darunter stand das :

PHP Code:

#if __VER >= 11 // __REMOVE_ENDURANCE
    
float fValue 1.0f;
#else // __REMOVE_ENDURANCE
    
float fValue CMover::GetItemEnduranceInfluence( ( pItemElem->m_nHitPoint 100 ) / pItemProp->dwEndurance );
#endif // __REMOVE_ENDURANCE 
da habe ich mir gedacht: mhh das sieht sich sehr ähnlich und habe das :
PHP Code:
#if __VER >= 11 // __REMOVE_ENDURANCE
    
float fValue 1.0f;
#else // __REMOVE_ENDURANCE
    
float fValue CMover::GetItemEnduranceInfluence( ( pItemElem->m_nHitPoint 100 ) / pItemProp->dwEndurance );
#endif // __REMOVE_ENDURANCE 
weg gemacht, und ja es geht jetzt. Aber meine Frage ist : ist das schlimm wenn ich das raus mache hat das i-welche folgen?

Ich hoffe um Hilfe
Genau das war dein Fehler.
Es war 2 Definiert.
マリブ is offline  
Thanks
1 User
Old 08/09/2012, 20:06   #5
 
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
also kann ich das raus machen?
DerJumbo is offline  
Old 08/09/2012, 21:57   #6
ベトナム警察



 
Lumi's Avatar
 
elite*gold: 725
The Black Market: 516/0/0
Join Date: Jan 2012
Posts: 16,346
Received Thanks: 3,425
Genau so ist es.
Das Repair System wurde schon (denke ich mal von Offi bereits) im Source definiert, nur er wurde nicht aktiviert.
Lumi is offline  
Thanks
1 User
Old 08/09/2012, 23:17   #7
 
Doomm's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 150
Received Thanks: 42
Quote:
Originally Posted by Lumi' View Post
Genau so ist es.
Das Repair System wurde schon (denke ich mal von Offi bereits) im Source definiert, nur er wurde nicht aktiviert.

Offi hat es im Src Definiert sieht man ja an :
Code:
#if __VER >= 11 // __REMOVE_ENDURANCE
    float fValue = 1.0f;
#else // __REMOVE_ENDURANCE
    float fValue = CMover::GetItemEnduranceInfluence( ( pItemElem->m_nHitPoint * 100 ) / pItemProp->dwEndurance );
#endif // __REMOVE_ENDURANCE
Das "#if __VER >= 11" sagt wenn die VER gößer gleich 11 ist wird "float fValue = 1.0f;" genommen .

Es liegt an der version das es nicht mehr drin is bzw aktiviert ist
Doomm is offline  
Thanks
2 Users
Old 08/10/2012, 00:05   #8

 
elite*gold: 142
Join Date: Apr 2010
Posts: 859
Received Thanks: 428
kl. zusatz zu doom:

Oder man changed die Stellen wo nach der VER gefragt wird aus mit zb
Code:
#ifdef __WEAPONREPAIR
o.ä. nur das man dann wohl mehr arbeit hat als zb die float defines umzudrehen ;D
©ross is offline  
Thanks
1 User
Old 08/10/2012, 00:20   #9
 
elite*gold: 0
Join Date: Mar 2012
Posts: 173
Received Thanks: 46
es geht jetzt alles kann geclosed werden
DerJumbo is offline  
Closed Thread


Similar Threads Similar Threads
[Release] Weapon/Armor Repair System - Offi
06/10/2012 - Flyff PServer Guides & Releases - 23 Replies
Hallo epvp, Ich leiste heute meinen ersten Beitrag zum Flyff Bereich. Es handelt sich um das Weapon/Armor-Repair System von Offi was es in den früheren Versionen hab. Die Credits gehen zu 100% an Offi, da ich hier nur zeige wie ihr es reaktiviert.
System Repair Programm aufeinmal da ?!?
07/13/2011 - Technical Support - 6 Replies
Hey ich habe mir gerade was gedownloaded (Key Gen <.< ich weiß illegal bla bla bal) so dann kam aufeinmal was unzwar ein Systemrepair teil das hab ich dann einmal durchlaufen lass er meinte dann Festplatte beschädigt etc. was nicht sein kann... Dann hat er Desktop Icons unsichtbar gemacht und den Bildschirm hitergrund gelöscht.. Was soll ich tun??? Ich wollte es iwie löschen aber geht auch nicht google sagt auch nichts ...



All times are GMT +1. The time now is 16:31.


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.