Scroll of Perfect Pets(Different)

05/17/2013 10:18 raventh1984#1
Hi Epvpers,

Well i was using the Scroll of raised pets from jopsi.

Its an nice system it only has some flaws in it.
For example if the pet is out you cant click any items in your inventory.
Jopsi has provided the solution and i am thankfull of that.

But i was thinking way would you put that system in MoverSkill instead of DPSrvr.

So thats what i did i used most of the code from jopsi and altered it an bit

Now its all working when the pet is out you can click on your items and you also wont have to click on the pet itself to put it back into your inventory again.


here we go

DPSrvr.h

#ifdef __RAISED_PET
BOOL DoUseItemTarget_PerfectPet( CUser* pUser, CItemElem* pMaterial, CItemElem* pTarget );
#endif

DPSrvr.cpp

After

Put this

Add to the bottom of DPSrvr.cpp
This


Add to VersionCommon.h in WorldServer
#define __RAISED_PET

Compile the WorldServer and voila you are done.

@Credits Jopsi for the base code

Original thread for the resource
[Only registered and activated users can see links. Click Here To Register...]
05/17/2013 20:54 FunkyJustice#2
I have a question, is this a fix from the system? sry my english is very bad

Kann das jemand bitte grob übersetzen?
05/17/2013 21:21 raventh1984#3
This is indeed the fix. Added it to my server and its working like it should do.
05/17/2013 21:57 Paintii#4


Quote:
Originally Posted by Fire' View Post
Kann das jemand bitte grob übersetzen?


Scroll von Jopsi benutzt, schönes System, einige Bugs...
Wenn das perfekte Pet draußen ist, kann man danach nichts im Inventar anklicken. Jopsi hatte ne Lösung dazu und er dachte daran das System an eine andere Stelle zu verfrachten "MoverSkill \anstatt/ DPSrvr"
Benutzt wird größtenteils Jopsis Code, wurde aber ein bissl modifiziert.
Mit den vorangegangenen erklärten Änderungen, sollte das gefixt sein.



Sprich um auf deine Frage zurückzukommen Fire', ja, es ist ein Fix zu Jopsis "Scroll of perfect Pet".
05/17/2013 21:57 Desmater#5
Quote:
Originally Posted by Fire' View Post
I have a question, is this a fix from the system? sry my english is very bad

Kann das jemand bitte grob übersetzen?
Er hat das System von Jopsi genommen und nach seinen Vorstellungen verbessert, allerdings hat er es anders implementiert wenn ich ihn richtig verstanden habe.
06/01/2013 10:05 jeromerz#6
any tut on how to make it 9/9/9/9/9 instead of 1/3/5/7/9
06/01/2013 10:29 raventh1984#7
This is for 9/9/9/9/9
06/01/2013 14:53 Laymi#8
But you could re edit the pet levels for yourself by editing
Code:
for( int i = 0; i < 6; i++ )
pPet->SetAvailLevel(i, 9 );
quite easy ;)

Greetz
08/08/2013 14:40 jeromerz#9
how can i fix this error?

[Only registered and activated users can see links. Click Here To Register...]

i already defined the Pets in defineItem.h
08/09/2013 18:44 Serenity-.#10
There are many more Errors to Fix boy xD
08/10/2013 11:04 raventh1984#11
Quote:
Originally Posted by jeromerz View Post
how can i fix this error?

[Only registered and activated users can see links. Click Here To Register...]

i already defined the Pets in defineItem.h
This has nothing to do with the pets defined in defineItem.h

Look closer at your errors and then you will see it.

Also re-check your code. You must have placed something inside the wrong function
08/11/2013 15:07 jeromerz#12
Quote:
Originally Posted by raventh1984 View Post
This has nothing to do with the pets defined in defineItem.h

Look closer at your errors and then you will see it.

Also re-check your code. You must have placed something inside the wrong function
FIXED SIR ^^ THANKS
08/14/2013 09:46 jeromerz#13
i already fixed that error but my problem is when i try to use the scroll of box like thing nothing happens the eggs stays as an egg :(
08/14/2013 12:19 raventh1984#14
The egg must be summoned out.
Also be sure you use the correct spec_item/propitem entrance.
08/14/2013 12:59 jeromerz#15
yeap i manage to add it right and the egg is summoned i double click the box icon then nothing.. the source is fixed already defined it on world server and no errors was found during compiling method.. the problem now is ingame the scroll doesn't work. :(

Code:
15	II_SYS_LION	IDS_PROPITEM_TXT_013278	1	1	IK1_SYSTEM	IK2_SYSTEM	IK3_SCROLL	=	=	1	=	0	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	XI_SYS_EXPAN01	=	=	=	=	=	=	WUI_NOW	=	=	=	=	=	=	=	=	=	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	"""Itm_SysSysScrBxLuck.dds"""	0	""""""	IDS_PROPITEM_TXT_013279		1	300	0	0	1	0	0	0	1	0	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0																																																																																																																															
15	II_SYS_RABBIT	IDS_PROPITEM_TXT_013280	1	1	IK1_SYSTEM	IK2_SYSTEM	IK3_SCROLL	=	=	1	=	0	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	XI_SYS_EXPAN01	=	=	=	=	=	=	WUI_NOW	=	=	=	=	=	=	=	=	=	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	"""Itm_SysSysScrBxLuck.dds"""	0	""""""	IDS_PROPITEM_TXT_013281		1	300	0	0	1	0	0	0	1	0	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0																																																																																																																														
15	II_SYS_FOX	IDS_PROPITEM_TXT_013282	1	1	IK1_SYSTEM	IK2_SYSTEM	IK3_SCROLL	=	=	1	=	0	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	XI_SYS_EXPAN01	=	=	=	=	=	=	WUI_NOW	=	=	=	=	=	=	=	=	=	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	"""Itm_SysSysScrBxLuck.dds"""	0	""""""	IDS_PROPITEM_TXT_013283		1	300	0	0	1	0	0	0	1	0	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0																																																																																																																														
15	II_SYS_TIGER	IDS_PROPITEM_TXT_013288	1	1	IK1_SYSTEM	IK2_SYSTEM	IK3_SCROLL	=	=	1	=	0	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	XI_SYS_EXPAN01	=	=	=	=	=	=	WUI_NOW	=	=	=	=	=	=	=	=	=	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	"""Itm_SysSysScrBxLuck.dds"""	0	""""""	IDS_PROPITEM_TXT_013289		1	300	0	0	1	0	0	0	1	0	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0																																																																																																																														
15	II_SYS_DRAGON	IDS_PROPITEM_TXT_013284	1	1	IK1_SYSTEM	IK2_SYSTEM	IK3_SCROLL	=	=	1	=	0	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	XI_SYS_EXPAN01	=	=	=	=	=	=	WUI_NOW	=	=	=	=	=	=	=	=	=	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	"""Itm_SysSysScrBxLuck.dds"""	0	""""""	IDS_PROPITEM_TXT_013285		1	300	0	0	1	0	0	0	1	0	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0																																																																																																																														
15	II_SYS_HIPPOGRIPH	IDS_PROPITEM_TXT_013286	1	1	IK1_SYSTEM	IK2_SYSTEM	IK3_SCROLL	=	=	1	=	0	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	XI_SYS_EXPAN01	=	=	=	=	=	=	WUI_NOW	=	=	=	=	=	=	=	=	=	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	"""Itm_SysSysScrBxLuck.dds"""	0	""""""	IDS_PROPITEM_TXT_013286	1	300	0	0	1	0	0	0	1	0	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0																																																																																																																													
15	II_SYS_II_SYS_HORSE	IDS_PROPITEM_TXT_013288	1	1	IK1_SYSTEM	IK2_SYSTEM	IK3_SCROLL	=	=	1	=	0	=	=	=	=	=	=	=	0	=	=	1	=	=	1	1	=	=	=	=	_NONE	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	XI_SYS_EXPAN01	=	=	=	=	=	=	WUI_NOW	=	=	=	=	=	=	=	=	=	0	0	0	0	0	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	=	"""Itm_SysSysScrBxLuck.dds"""	0	""""""	IDS_PROPITEM_TXT_013289	1	300	0	0	1	0	0	0	1	0	2	=	=	=	=	=	=	=	=	=	=	1	1	1	1	1	0
my spec_item.txt