Register for your free account! | Forgot your password?

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

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

Advertisement



[Suche]Cs Pet filter

Discussion on [Suche]Cs Pet filter within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old 02/26/2011, 10:20   #31
 
-Ŭńĭ©-'s Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 302
Received Thanks: 69
Quote:
Originally Posted by xXConsXx View Post
Stimmt bei den Petfilter fehlt was

viel spaß damit

Code:
-- AIPet.cpp 

BOOL b1 = TRUE;

#ifdef __WORLDSERVER
#ifdef _PETFILTER_HOL_B
						//Error("Kind1: %i,Kind2: %i,Kind3: %i; pMover->m_pActMover->bQuestItem: %i", (int) pItemProp->dwItemKind1, (int) pItemProp->dwItemKind2, (int) pItemProp->dwItemKind3, (int)pMover->m_pActMover->bQuestItem);
						// BYTE cQuestItem , cWeapons , cArmor , cCards , cDrinks, cEggs, cStones , cAccessory
						if(!pOwner->bQuestItem && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_GEM && pItemProp->dwItemKind3 == IK3_GEM)
							b1 = FALSE;
						else if(!pOwner->bWeapons && pItemProp->dwItemKind1 == IK1_WEAPON)
							b1 = FALSE;
						else if(!pOwner->bArmor && pItemProp->dwItemKind1 == IK1_ARMOR)
							b1 = FALSE;
						else if(!pOwner->bCards && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_MATERIAL && pItemProp->dwItemKind3 != IK3_ULTIMATE && pItemProp->dwItemKind3 != IK3_ENCHANT && pItemProp->dwItemKind3 != IK3_PIERDICE)
							b1 = FALSE;
						else if(!pOwner->bFood && pItemProp->dwItemKind1 == IK1_GENERAL && (pItemProp->dwItemKind2 == IK2_FOOD || pItemProp->dwItemKind2 == IK2_REFRESHER || pItemProp->dwItemKind2 == IK2_POTION))
							b1 = FALSE;
						else if(!pOwner->bEggs && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_GENERAL && pItemProp->dwItemKind3 == IK3_EGG)
							b1 = FALSE;
						else if(!pOwner->bStones && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind2 == IK2_MATERIAL && (pItemProp->dwItemKind3 == IK3_PIERDICE || pItemProp->dwItemKind3 == IK3_ENCHANT || pItemProp->dwItemKind3 == IK3_ULTIMATE || pItemProp->dwItemKind3 == IK3_SUPSTONE))
							b1 = FALSE;
						else if(!pOwner->bAccessory && pItemProp->dwItemKind1 == IK1_GENERAL && pItemProp->dwItemKind3 == IK2_JEWELRY)
							b1 = FALSE;
#endif
#endif

//-------> if( pOwner->IsLoot( pItem, TRUE ) ) ändern zu if( pOwner->IsLoot( pItem, TRUE ) && b1 )<-------
edit: Hatte ich vergessen
Code:
BuffPet-APP (resdata.inc)

APP_BUFFPET_STATUS "WndTile00.tga" 1 352 128 0x2410000 26
{
// Title String
IDS_RESDATA_INC_006602
}
{
// Help Key
IDS_RESDATA_INC_006603
}
{
    WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 8 6 72 90 0x260000 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006604
    }
    {
    // ToolTip
IDS_RESDATA_INC_006605
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT1 "WndElemItemBlank.tga" 0 80 2 112 34 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006606
    }
    {
    // ToolTip
IDS_RESDATA_INC_006607
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT3 "WndElemItemBlank.tga" 0 144 2 176 34 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006608
    }
    {
    // ToolTip
IDS_RESDATA_INC_006609
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT2 "WndElemItemBlank.tga" 0 112 2 144 34 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006610
    }
    {
    // ToolTip
IDS_RESDATA_INC_006611
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT4 "WndElemItemBlank.tga" 0 80 32 112 64 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006612
    }
    {
    // ToolTip
IDS_RESDATA_INC_006613
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT7 "WndElemItemBlank.tga" 0 80 62 112 94 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006614
    }
    {
    // ToolTip
IDS_RESDATA_INC_006615
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT9 "WndElemItemBlank.tga" 0 144 62 176 94 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006616
    }
    {
    // ToolTip
IDS_RESDATA_INC_006617
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT5 "WndElemItemBlank.tga" 0 112 32 144 64 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006618
    }
    {
    // ToolTip
IDS_RESDATA_INC_006619
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT8 "WndElemItemBlank.tga" 0 112 62 144 94 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006620
    }
    {
    // ToolTip
IDS_RESDATA_INC_006621
    }
    WTYPE_STATIC WIDC_BUFFPET_SLOT6 "WndElemItemBlank.tga" 0 144 32 176 64 0x2220002 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_006622
    }
    {
    // ToolTip
IDS_RESDATA_INC_006623
    }
    WTYPE_STATIC WIDC_STATIC2 "WndEditTile200.tga" 1 178 2 340 18 0x2220001 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007068
    }
    {
    // ToolTip
IDS_RESDATA_INC_007069
    }
    WTYPE_BUTTON WIDC_CHECK1 "ButtCheck.bmp" 0 180 22 276 38 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007070
    }
    {
    // ToolTip
IDS_RESDATA_INC_007071
    }
    WTYPE_BUTTON WIDC_CHECK2 "ButtCheck.bmp" 0 180 40 276 56 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007072
    }
    {
    // ToolTip
IDS_RESDATA_INC_007073
    }
    WTYPE_BUTTON WIDC_CHECK3 "ButtCheck.bmp" 0 180 56 276 72 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007074
    }
    {
    // ToolTip
IDS_RESDATA_INC_007075
    }
    WTYPE_BUTTON WIDC_CHECK4 "ButtCheck.bmp" 0 180 72 276 88 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007076
    }
    {
    // ToolTip
IDS_RESDATA_INC_007077
    }
    WTYPE_BUTTON WIDC_CHECK5 "ButtCheck.bmp" 0 258 24 354 40 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007078
    }
    {
    // ToolTip
IDS_RESDATA_INC_007079
    }
    WTYPE_BUTTON WIDC_CHECK6 "ButtCheck.bmp" 0 258 39 354 55 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007080
    }
    {
    // ToolTip
IDS_RESDATA_INC_007081
    }
    WTYPE_BUTTON WIDC_CHECK7 "ButtCheck.bmp" 0 258 56 354 72 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007082
    }
    {
    // ToolTip
IDS_RESDATA_INC_007083
    }
    WTYPE_BUTTON WIDC_CHECK8 "ButtCheck.bmp" 0 259 72 355 88 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_007084
    }
    {
    // ToolTip
IDS_RESDATA_INC_007085
    }


-- resdata.txt.txt

IDS_RESDATA_INC_007068	Drop Filter
IDS_RESDATA_INC_007069	
IDS_RESDATA_INC_007070	Quest Items
IDS_RESDATA_INC_007071	
IDS_RESDATA_INC_007072	Waffen
IDS_RESDATA_INC_007073	
IDS_RESDATA_INC_007074	Rüstungsteile
IDS_RESDATA_INC_007075	
IDS_RESDATA_INC_007076	Karten
IDS_RESDATA_INC_007077	
IDS_RESDATA_INC_007078	Getränke
IDS_RESDATA_INC_007079	
IDS_RESDATA_INC_007080	Egg´s
IDS_RESDATA_INC_007081	
IDS_RESDATA_INC_007082	Steine
IDS_RESDATA_INC_007083	
IDS_RESDATA_INC_007084	Schmuck
IDS_RESDATA_INC_007085
Wo das ist die AiPet.cpp?
-Ŭńĭ©- is offline  
Old 02/26/2011, 10:32   #32
 
elite*gold: 0
Join Date: Jul 2009
Posts: 21
Received Thanks: 13
Quote:
Originally Posted by philli View Post
Wo das ist die AiPet.cpp?
Geh doch einfach im windows explorer in den source ordner und suche dann nach aipet.cpp

oder in Worldserver/Ai/ (in VS2003)
razor5000 is offline  
Old 02/26/2011, 10:41   #33
 
-Ŭńĭ©-'s Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 302
Received Thanks: 69
ja wo in der Datei
-Ŭńĭ©- is offline  
Old 02/26/2011, 10:43   #34
 
elite*gold: 0
Join Date: Jul 2009
Posts: 21
Received Thanks: 13
Hier meine AiPet.cpp






Hast du die Errors schon gefixt? Also die, die der Petfilter mit sich bringt?
razor5000 is offline  
Old 02/26/2011, 10:56   #35
 
-Ŭńĭ©-'s Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 302
Received Thanks: 69
jo funkt der bei dir?
-Ŭńĭ©- is offline  
Old 02/26/2011, 10:59   #36
 
elite*gold: 0
Join Date: Jul 2009
Posts: 21
Received Thanks: 13
Er muss funken ... schau dir den Code an ....

aber ich kann ihn halt noch nich ausprobieren, weil ich mit den Errors nich weiter komm
razor5000 is offline  
Old 02/26/2011, 11:02   #37
 
-Ŭńĭ©-'s Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 302
Received Thanks: 69
ja bei mir hebt er trotzdem alles auf
-Ŭńĭ©- is offline  
Old 02/26/2011, 11:04   #38
 
elite*gold: 0
Join Date: Jul 2009
Posts: 21
Received Thanks: 13
hast du die errors gefixt? dann hilf mir bitte da mal schnell, dann guck ich nochmal nach der AiPet.cpp


lad einfach die dateien hoch, die du verändert hast
razor5000 is offline  
Old 02/26/2011, 11:13   #39
 
-Ŭńĭ©-'s Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 302
Received Thanks: 69
was bekommst du den für erros?
-Ŭńĭ©- is offline  
Old 02/26/2011, 11:42   #40
 
elite*gold: 0
Join Date: Jul 2009
Posts: 21
Received Thanks: 13


die anderen 22 hab ich entweder gefixt oder falsch gefixt
razor5000 is offline  
Old 02/26/2011, 12:03   #41
 
-Ŭńĭ©-'s Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 302
Received Thanks: 69
PACKETTYPE_VISPET_UPDATECOLLECTIONS einfahc definieren wie die anderen Packetytpen
-Ŭńĭ©- is offline  
Old 02/26/2011, 12:19   #42
 
elite*gold: 0
Join Date: Jul 2009
Posts: 21
Received Thanks: 13
aber wo? ich habs schon n paar mal an verschiedenen orten definiert ...

als DWORD, oder?
razor5000 is offline  
Old 02/26/2011, 12:42   #43
 
-Ŭńĭ©-'s Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 302
Received Thanks: 69
ja
-Ŭńĭ©- is offline  
Old 02/26/2011, 12:43   #44
 
elite*gold: 0
Join Date: Jul 2009
Posts: 21
Received Thanks: 13
kannst du mir bitte sagen, wo du das definiert hast?
razor5000 is offline  
Old 02/26/2011, 13:44   #45
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
Code:
-- DPSrvr.cpp (14685) 

#ifdef _PETFILTER_HOL_B 
void CDPSrvr::OnBuffPetUpdateCollection( CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long ) 
{ 
    try 
    { 
        CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser ); 
         
        if( IsValidObj( pUser ) == TRUE ) 
        { 
            BYTE cQuestItem , cWeapons , cArmor , cCards , cFood , cEggs , cStones , cAccessory; 
            ar >> cQuestItem >> cWeapons >> cArmor >> cCards >> cFood >> cEggs >> cStones >> cAccessory; 
         
             
            if(cQuestItem > 0) { pUser->bQuestItem = TRUE; } else { pUser->bQuestItem = FALSE; } 
            if(cWeapons > 0) { pUser->bWeapons = TRUE; } else { pUser->bWeapons = FALSE; } 
            if(cArmor > 0) { pUser->bArmor = TRUE; } else { pUser->bArmor = FALSE; } 
            if(cCards > 0) { pUser->bCards = TRUE; } else { pUser->bCards = FALSE; } 
            if(cFood > 0) { pUser->bFood = TRUE; } else { pUser->bFood = FALSE; } 
            if(cEggs > 0) { pUser->bEggs = TRUE; } else { pUser->bEggs = FALSE; } 
            if(cStones > 0) { pUser->bStones = TRUE; } else { pUser->bStones = FALSE; } 
            if(cAccessory > 0) { pUser->bAccessory = TRUE; } else { pUser->bAccessory = FALSE; } 
            //Error("OnBuffPetUpdate (%i, %i, %i, %i, %i, %i, %i, %i)", (int) g_pPlayer->->bQuestItem, (int) pUser->m_pActMover->bWeapons, (int) pUser->m_pActMover->bArmor, (int) pUser->m_pActMover->bCards, (int) pUser->m_pActMover->bFood,  (int) pUser->m_pActMover->bEggs, (int) pUser->m_pActMover->bStones, (int) pUser->m_pActMover->bAccessory); 
        } 
    } 
    catch(...) 
    { 
        Hack("Exception caught in File %s on line %d", __FILE__, __LINE__); 
    } 
} 

#endif
**** I only have 12.3k lines. After what funcion or something I need to paste?

And if you get problem with packet, define it at msghdr.h
alfredico is offline  
Closed Thread


Similar Threads Similar Threads
WPE Pro - Dupe Filter + Tutorial + Klassen Filter Download (3.3.3a & 3.3.5)
03/27/2012 - WoW PServer Exploits, Hacks & Tools - 165 Replies
WPE Pro - Dupe Filter + Tutorial + Klassen Filter Download (3.3.3a & 3.3.5) Hier stelle ich euch mal eine tolle Filter Sammlung für WPE rein. Warum ich das reinstelle? Weil ich das im Inet gefunden habe und vielen die Arbeit ersparen will was ich in der letzten Woche hier hatte und immer noch zu keinem Ziel gekommen bin. Das Packet ist Viren frei, habe es selber gepackt, ihr könnt gern nachprüfen weil ich weis nicht wie das funktioniert. Download: WPE Pro - Dupe Filter + Tutorial +...
[SUCHE]Pickup-Bot mit Filter
02/18/2012 - Metin2 Private Server - 2 Replies
Hi, ihr kennt das bestimmt auch. Man farmt etwas aufm P-Server, aber man droppt so viel Scheiße auf einmal, dass man nichts mehr sieht! Suche deshalb nen Pickup-Bot mit Filter. Z.b. dass man einstellen kann, dass er nur Unbekannte alte Kisten aufnehmen soll etc. Würde das mit EasyMetin funktionieren? Bräuchte man da nen 2010er Clienten? Weiß nicht so recht^^ also für hilfreiche Antworten gibts THX! Achja Downloadlinks bitte per PN ^^
WoW wpe pro filter suche
12/24/2010 - WoW PServer Exploits, Hacks & Tools - 4 Replies
ich suche ein filter um zornerfülltgegenstände zu kaufen gibts da was ?
Suche WPE Pro Filter für krieger 3.3.5
09/21/2010 - WoW PServer Exploits, Hacks & Tools - 5 Replies
Hallo.... Ich wollte mal fragen, ob jemand nen paar wpe filter für Krieger kennt? Wenn ja, bitte posten =)
[Suche] WPE Pro Filter
12/21/2008 - World of Warcraft - 0 Replies
Suche ein paar WPE Pro Filter die noch auf 2.4.3 Servern funktionieren, egal welche, hauptsache irgendwelche. Am besten wären Sachen wo man mehr Damage macht oder so, egal welche Klasse. Wäre sehr dankbar. Search a few WPE Pro filters are still on 2.4.3 servers work, no matter what, any merits. Would be best things where you make more Damage or so, no matter what class. Would be very grateful.



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


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.