Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 01:18

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

Advertisement



Pet Exp Effekt Source

Discussion on Pet Exp Effekt Source within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Pet Exp Effekt Source

Guten Tag Epvp,

ich wollte gerne das mein Pet auch den Exp Effekt bekommt, bzw die gelben Kugeln nach nem Mobs kill, jedoch in Blau.



Habe im Source den Fehler:

PHP Code:

compile char_battle
.cpp
char_battle
.cppIn function 'void GiveExp(CHARACTER*, CHARACTER*, int)':
char_battle.cpp:2513error'struct CPetSystem::TPetActorMap' has not been declared
char_battle
.cpp:2513errorexpected `;' before 'iter'
char_battle.cpp:2513: error: 'iter' was not declared in this scope
char_battle.cpp:2513: error: invalid use of incomplete type 'struct CPetSystem'
char.h:18: error: forward declaration of 'struct CPetSystem'
char_battle.cpp:2515: error: 'CPetActor' was not declared in this scope
char_battle.cpp:2515: error: 'petActor' was not declared in this scope
char_battle.cpp:2520: error: expected 
`;' before '{' token
char_battle.cpp:3667: error: expected `}' 
at end of input
char_battle
.cppAt global scope:
char_battle.cpp:2346warning'void GiveExp(CHARACTER*, CHARACTER*, int)' defined but not used
gmake
: *** [OBJDIR/char_battle.oError 1 
°Ace° is offline  
Old 11/02/2015, 13:21   #2
 
elite*gold: 0
Join Date: Aug 2015
Posts: 29
Received Thanks: 5
Hast du es den schon angepasst in der Source?
#.Abuse is offline  
Old 11/02/2015, 13:59   #3
 
elite*gold: 2785
Join Date: Dec 2014
Posts: 403
Received Thanks: 1,354
Du hast beim einfügen einen Fehler gemacht so wie ich es sehe eine } vergessen und ein ; wenn du das mal bitte hier teilen würdest das man sich das anschauen könnte wie du es bei dir gemacht hast könnte man dir schneller helfen
.K0rí is offline  
Old 11/02/2015, 19:50   #4
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
PHP Code:
    //Exp Pet (Effect) | Edit: 27/10/2015 | 17:06 
    
for (CPetSystem::TPetActorMap::iterator iter to->GetPetSystem()->m_petActorMap.begin();iter != to->GetPetSystem()->m_petActorMap.end(); ++iter)
        if(
CPetActorpetActor iter->second)
            if(
petActor->IsSummoned())
                
from->CreateFly(FLY_SP_MEDIUMpetActor->GetCharacter());
    
//Exp Pet (Effect) | Edit: 27/10/2015 | 17:06  end 
°Ace° is offline  
Old 11/04/2015, 00:11   #5
 
elite*gold: 2785
Join Date: Dec 2014
Posts: 403
Received Thanks: 1,354
So dein Fixx,

ganz Oben:
Code:
#include "PetSystem.h"
und nun das :

Code:
	for (CPetSystem::TPetActorMap::iterator iter = to->GetPetSystem()->m_petActorMap.begin();iter != to->GetPetSystem()->m_petActorMap.end(); ++iter)

            if(CPetActor* petActor = iter->second)
                if(petActor->IsSummoned())
                    from->CreateFly(FLY_EXP, petActor->GetCharacter());
so kannst du alles machen
.K0rí is offline  
Thanks
1 User
Old 11/04/2015, 15:23   #6
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Quote:
Originally Posted by .K0rí View Post
So dein Fixx,

ganz Oben:
Code:
#include "PetSystem.h"
und nun das :

Code:
	for (CPetSystem::TPetActorMap::iterator iter = to->GetPetSystem()->m_petActorMap.begin();iter != to->GetPetSystem()->m_petActorMap.end(); ++iter)

            if(CPetActor* petActor = iter->second)
                if(petActor->IsSummoned())
                    from->CreateFly(FLY_EXP, petActor->GetCharacter());
so kannst du alles machen
Danke hat geklappt, jedoch kriegt mein Pet Exp in Gelb wie der Charakter. Kann ich die fliegende Erfahrungen auch in blau machen ? Wenn ja, wie ?
°Ace° is offline  
Old 11/04/2015, 16:11   #7

 
Drαεth's Avatar
 
elite*gold: 35
Join Date: Jan 2014
Posts: 1,421
Received Thanks: 268
ein neuen FLY_EXP erstellen.
Drαεth is offline  
Old 11/04/2015, 16:33   #8
 
elite*gold: 2785
Join Date: Dec 2014
Posts: 403
Received Thanks: 1,354
FLY_EXP in FLY_SP_MEDIUM umbenennen schon sind sie blau
.K0rí is offline  
Old 11/04/2015, 21:48   #9
 
DasSchwarzeT's Avatar
 
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,937
Btw solltest du aufpassen, dass das Release ziemlich bugbar ist. Kann, wenn gewollt, zu core crashes etc. führen.
DasSchwarzeT is offline  
Old 11/05/2015, 18:14   #10
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Quote:
Originally Posted by DasSchwarzeT View Post
Btw solltest du aufpassen, dass das Release ziemlich bugbar ist. Kann, wenn gewollt, zu core crashes etc. führen.
Wie soll es denn zu Core crash kommen ? Könntest du es eventuell erläutern.
°Ace° is offline  
Old 11/05/2015, 19:39   #11
 
DasSchwarzeT's Avatar
 
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,937
Nullpointer
DasSchwarzeT is offline  
Old 11/05/2015, 20:14   #12
 
elite*gold: 0
Join Date: Jan 2013
Posts: 1,818
Received Thanks: 336
Quote:
Originally Posted by DasSchwarzeT View Post
Nullpointer
Wie kann ich den crash beheben und den TuT trotzdem einfügen ?
°Ace° is offline  
Reply


Similar Threads Similar Threads
[HowTo] VB.NET Aero Effekt ! inkl. Source-Code
11/23/2013 - Coding Tutorials - 3 Replies
Servus Leute:) Hier mal ein kleines Tutorial wie man eine Form durchsichtig macht, auch genannt "Areo Effekt" "mehr" dazu muss ich denke ich nicht sagen. Video: https://www.youtube.com/watch?v=dmcmv-L5xww Source-Code
Ring Effekt an lvl up Effekt anbinden.
06/20/2013 - Metin2 Private Server - 4 Replies
Hey, ich hab folgende Idee, wie kann ich den Ring effekt nehmen und in lvl up Effekt umwandeln? Und dann den "Ring" oben über dem kopf in "Level Up" auch ändern ^^ , wäre cool :)
Suche Halbmondring Effekt und Lolli Effekt
08/06/2012 - Metin2 Private Server - 6 Replies
Hallo Com, Wollte mal fragen da ich die Suchfunktion schon durchgenommen habe ob es den Halbmondring und den Lollieffekt zum Download noch gibt. Bräuchte dazu evtl. auch noch die richtige Exe.
Set Effekt von +3 auf +10
09/07/2007 - Flyff - 0 Replies
guten abend leutz!!! hab bis jetzt alles selber gefunden aber das hab ich bis jetzt noch nicht gefunden kann einer mir vielleicht helfen wie man dden set effekt von +3 auf +10 ändert ganz unten in der except.txt datei wie es im anderen thread steht gibt es keine spur von irgend dem +3 +4 +5 usw. also könnt ihr mir helfen bitte den run speed bräucht ich auch noch ^^ ich bedanke mich im Vorraus MFG Kehrenkamp



All times are GMT +1. The time now is 01:18.


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.