Jump to content
×
×
  • Create New...
  • 0

Problème de monture


Scratt
 Share

Question

Salut à tous, demain c'est les résultats bacs :P Alors bonne chance

 

Version des files : 2013

Domaine (Base de données, Core, etc.) : Excéllente question

Votre niveau (débutant, intermédiaire, avancé) : Noob

 

Description du problème : Voilà j'ai un soucis avec les montures du client 2013 à partir de :

			[52001] = { 20201,	60*60*24*365, apply.ATTBONUS_MONSTER,	0,	0,	false,	true	},
			[52002] = { 20201,	60*60*24*365, apply.MALL_EXPBONUS,		0,	0,	false,	true	},
			[52003] = { 20201,	60*60*24*365, apply.MAX_HP,				0,	0,	false,	true	},
			[52004] = { 20201,	60*60*24*365, apply.DEF_GRADE_BONUS,	0,	0,	false,	true	},
			[52005] = { 20201,	60*60*24*365, apply.ATT_GRADE_BONUS,	0,	0,	false,	true	},
			[52006] = { 20205,	60*60*24*365, apply.ATTBONUS_MONSTER,	3,	0,	false,	true	},
			[52007] = { 20205,	60*60*24*365, apply.MALL_EXPBONUS,		3,	0,	false,	true	},
			[52008] = { 20205,	60*60*24*365, apply.MAX_HP,				250,	0,	false,	true	},
			[52009] = { 20205,	60*60*24*365, apply.DEF_GRADE_BONUS,	50,	0,	false,	true	},
			[52010] = { 20205,	60*60*24*365, apply.ATT_GRADE_BONUS,	30,	0,	false,	true	},
			[52011] = { 20209,	60*60*24*365, apply.ATTBONUS_MONSTER,	5,	0,	false,	true	},
			[52012] = { 20209,	60*60*24*365, apply.MALL_EXPBONUS,		5,	0,	false,	true	},
			[52013] = { 20209,	60*60*24*365, apply.MAX_HP,				500,	0,	false,	true	},
			[52014] = { 20209,	60*60*24*365, apply.DEF_GRADE_BONUS,	150,	0,	false,	true	},
			[52015] = { 20209,	60*60*24*365, apply.ATT_GRADE_BONUS,	100,	0,	false,	true	},

			[52016] = { 20202,	60*60*24*365, apply.ATTBONUS_MONSTER,	0,	0,	false,	true	},
			[52017] = { 20202,	60*60*24*365, apply.MALL_EXPBONUS,		0,	0,	false,	true	},
			[52018] = { 20202,	60*60*24*365, apply.MAX_HP,				0,	0,	false,	true	},
			[52019] = { 20202,	60*60*24*365, apply.DEF_GRADE_BONUS,	0,	0,	false,	true	},
			[52020] = { 20202,	60*60*24*365, apply.ATT_GRADE_BONUS,	0,	0,	false,	true	},
			[52021] = { 20206,	60*60*24*365, apply.ATTBONUS_MONSTER,	3 ,	0,	false,	true	},
			[52022] = { 20206,	60*60*24*365, apply.MALL_EXPBONUS,		3 ,	0,	false,	true	},
			[52023] = { 20206,	60*60*24*365, apply.MAX_HP,				250,	0,	false,	true	},
			[52024] = { 20206,	60*60*24*365, apply.DEF_GRADE_BONUS,	50,	0,	false,	true	},
			[52025] = { 20206,	60*60*24*365, apply.ATT_GRADE_BONUS,	30,	0,	false,	true	},
			[52026] = { 20210,	60*60*24*365, apply.ATTBONUS_MONSTER,	5 ,	0,	false,	true	},
			[52027] = { 20210,	60*60*24*365, apply.MALL_EXPBONUS,		5 ,	0,	false,	true	},
			[52028] = { 20210,	60*60*24*365, apply.MAX_HP,				500,	0,	false,	true	},
			[52029] = { 20210,	60*60*24*365, apply.DEF_GRADE_BONUS,	150,	0,	false,	true	},
			[52030] = { 20210,	60*60*24*365, apply.ATT_GRADE_BONUS,	100,	0,	false,	true	},


			[52031]= { 20204,	60*60*24*365, apply.ATTBONUS_MONSTER,	0,	0,	false,	true	},
			[52032]= { 20204,	60*60*24*365, apply.MALL_EXPBONUS,		0,	0,	false,	true	},
			[52033]= { 20204,	60*60*24*365, apply.MAX_HP,				0,	0,	false,	true	},
			[52034]= { 20204,	60*60*24*365, apply.DEF_GRADE_BONUS,	0,	0,	false,	true	},
			[52035]= { 20204,	60*60*24*365, apply.ATT_GRADE_BONUS,	0,	0,	false,	true	},
			[52036]= { 20208,	60*60*24*365, apply.ATTBONUS_MONSTER,	3 ,	0,	false,	true	},
			[52037]= { 20208,	60*60*24*365, apply.MALL_EXPBONUS,		3 ,	0,	false,	true	},
			[52038]= { 20208,	60*60*24*365, apply.MAX_HP,				250,	0,	false,	true	},
			[52039]= { 20208,	60*60*24*365, apply.DEF_GRADE_BONUS,	50,	0,	false,	true	},
			[52040]= { 20208,	60*60*24*365, apply.ATT_GRADE_BONUS,	30,	0,	false,	true	},
			[52041]= { 20212,	60*60*24*365, apply.ATTBONUS_MONSTER,	5 ,	0,	false,	true	},
			[52042]= { 20212,	60*60*24*365, apply.MALL_EXPBONUS,		5 ,	0,	false,	true	},
			[52043]= { 20212,	60*60*24*365, apply.MAX_HP,				500,	0,	false,	true	},
			[52044]= { 20212,	60*60*24*365, apply.DEF_GRADE_BONUS,	150,	0,	false,	true	},
			[52045]= { 20212,	60*60*24*365, apply.ATT_GRADE_BONUS,	100,	0,	false,	true	},


			[52046]= { 20203,	60*60*24*365, apply.ATTBONUS_MONSTER,	0,	0,	false,	true	},
			[52047]= { 20203,	60*60*24*365, apply.MALL_EXPBONUS,		0,	0,	false,	true	},
			[52048]= { 20203,	60*60*24*365, apply.MAX_HP,				0,	0,	false,	true	},
			[52049]= { 20203,	60*60*24*365, apply.DEF_GRADE_BONUS,	0,	0,	false,	true	},
			[52050]= { 20203,	60*60*24*365, apply.ATT_GRADE_BONUS,	0,	0,	false,	true	},
			[52051]= { 20207,	60*60*24*365, apply.ATTBONUS_MONSTER,	3 ,	0,	false,	true	},
			[52052]= { 20207,	60*60*24*365, apply.MALL_EXPBONUS,		3 ,	0,	false,	true	},
			[52053]= { 20207,	60*60*24*365, apply.MAX_HP,				250,	0,	false,	true	},
			[52054]= { 20207,	60*60*24*365, apply.DEF_GRADE_BONUS,	50,	0,	false,	true	},
			[52055]= { 20207,	60*60*24*365, apply.ATT_GRADE_BONUS,	30,	0,	false,	true	},
			[52056]= { 20211,	60*60*24*365, apply.ATTBONUS_MONSTER,	5 ,	0,	false,	true	},
			[52057]= { 20211,	60*60*24*365, apply.MALL_EXPBONUS,		5 ,	0,	false,	true	},
			[52058]= { 20211,	60*60*24*365, apply.MAX_HP,				500,	0,	false,	true	},
			[52059]= { 20211,	60*60*24*365, apply.DEF_GRADE_BONUS,	150,	0,	false,	true	},
			[52060]= { 20211,	60*60*24*365, apply.ATT_GRADE_BONUS,	100,	0,	false,	true	},


			-- Àü°©¼ý¼ø·Ï 
			[52061]= { 20213,	60*60*24*365, apply.ATTBONUS_MONSTER,	0,	0,	false,	true	},
			[52062]= { 20213,	60*60*24*365, apply.MALL_EXPBONUS,		0,	0,	false,	true	},
			[52063]= { 20213,	60*60*24*365, apply.MAX_HP,				0,	0,	false,	true	},
			[52064]= { 20213,	60*60*24*365, apply.DEF_GRADE_BONUS,	0,	0,	false,	true	},
			[52065]= { 20213,	60*60*24*365, apply.ATT_GRADE_BONUS,	0,	0,	false,	true	},
			[52066]= { 20214,	60*60*24*365, apply.ATTBONUS_MONSTER,	3 ,	0,	false,	true	},
			[52067]= { 20214,	60*60*24*365, apply.MALL_EXPBONUS,		3 ,	0,	false,	true	},
			[52068]= { 20214,	60*60*24*365, apply.MAX_HP,				250,	0,	false,	true	},
			[52069]= { 20214,	60*60*24*365, apply.DEF_GRADE_BONUS,	50,	0,	false,	true	},
			[52070]= { 20214,	60*60*24*365, apply.ATT_GRADE_BONUS,	30,	0,	false,	true	},
			[52071]= { 20215,	60*60*24*365, apply.ATTBONUS_MONSTER,	5 ,	0,	false,	true	},
			[52072]= { 20215,	60*60*24*365, apply.MALL_EXPBONUS,		5 ,	0,	false,	true	},
			[52073]= { 20215,	60*60*24*365, apply.MAX_HP,				500,	0,	false,	true	},
			[52074]= { 20215,	60*60*24*365, apply.DEF_GRADE_BONUS,	150,	0,	false,	true	},
			[52075]= { 20215,	60*60*24*365, apply.ATT_GRADE_BONUS,	100,	0,	false,	true	},

			-- Àü°©¾Ï¼ø·Ï
			[52076]= { 20216,	60*60*24*365, apply.ATTBONUS_MONSTER,	0,	0,	false,	true	},
			[52077]= { 20216,	60*60*24*365, apply.MALL_EXPBONUS,		0,	0,	false,	true	},
			[52078]= { 20216,	60*60*24*365, apply.MAX_HP,				0,	0,	false,	true	},
			[52079]= { 20216,	60*60*24*365, apply.DEF_GRADE_BONUS,	0,	0,	false,	true	},
			[52080]= { 20216,	60*60*24*365, apply.ATT_GRADE_BONUS,	0,	0,	false,	true	},
			[52081]= { 20217,	60*60*24*365, apply.ATTBONUS_MONSTER,	3 ,	0,	false,	true	},
			[52082]= { 20217,	60*60*24*365, apply.MALL_EXPBONUS,		3 ,	0,	false,	true	},
			[52083]= { 20217,	60*60*24*365, apply.MAX_HP,				250,	0,	false,	true	},
			[52084]= { 20217,	60*60*24*365, apply.DEF_GRADE_BONUS,	50,	0,	false,	true	},
			[52085]= { 20217,	60*60*24*365, apply.ATT_GRADE_BONUS,	30,	0,	false,	true	},
			[52086]= { 20218,	60*60*24*365, apply.ATTBONUS_MONSTER,	5 ,	0,	false,	true	},
			[52087]= { 20218,	60*60*24*365, apply.MALL_EXPBONUS,		5 ,	0,	false,	true	},
			[52088]= { 20218,	60*60*24*365, apply.MAX_HP,				500,	0,	false,	true	},
			[52089]= { 20218,	60*60*24*365, apply.DEF_GRADE_BONUS,	150,	0,	false,	true	},
			[52090]= { 20218,	60*60*24*365, apply.ATT_GRADE_BONUS,	100,	0,	false,	true	},

 

Ces montures n'attaque pas même si je change la dif du client.

Comment reproduire le problème : Aucune idée

Recherches et tests effectué : Hexa lanceur / Hexa serveur

Résultat des recherches et tests : Rien de concluant

 

En postant ma demande d'aide, j'affirme avoir lu et accepté le règlement des demandes d'aides.

Link to comment
Share on other sites

  • Answers 10
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

10 answers to this question

Recommended Posts

  • 0
  • Funkiest

Malheureusement (enfin ça dépend), ça vient du code source.

 

pvp.cpp :

bool CPVPManager::CanAttack(LPCHARACTER pkChr, LPCHARACTER pkVictim)

 

tu toruveras ça :

     switch( pkChr->GetMountVnum() )
       {
           case 0:
           case 20030:
           case 20110:
           case 20111:
           case 20112:
           case 20113:
           case 20114:
           case 20115:
           case 20116:
           case 20117:
           case 20118:
               // this line separes the vnums
           case 20205:
           case 20206:
           case 20207:
           case 20208:
           case 20209:
           case 20210:
           case 20211:
           case 20212:
           case 20119:        
           case 20219:        
           case 20220:        
           case 20221:      
           case 20222:      
           case 20120:
           case 20121:
           case 20122:
           case 20123:
           case 20124:
           case 20125:
           case 20214:          
           case 20215:           
           case 20217:         
           case 20218:        

 

Pour une nouvelle tu rajoute l'id de ta monture :

case IDMONTURE:

 

 

La quest, elle, s'occupe des bonus lié aux montures.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.