Register for your free account! | Forgot your password?

You last visited: Today at 21:50

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


Fix Companions in Lotf 5165(or whatever version)

Reply
 
Old   #1
 
elite*gold: 20
Join Date: Jan 2006
Posts: 886
Received Thanks: 231
Fix Companions in Lotf 5165(or whatever version)

Change the SpawnEntity packet for Companions to the one listed below.

public static COPacket SpawnEntity(Game.Companion Cmp)
{
byte[] Packet = new byte[8 + 138 + Cmp.Name.Length];
COPacket P = new COPacket(Packet);

P.WriteInt16((ushort)(Packet.Length - 8));
P.WriteInt16((ushort)10014);
P.WriteInt32(Cmp.Mesh);
P.WriteInt32(Cmp.EntityID);
P.WriteInt32(0);
P.WriteInt64(0);//Status Effect
P.Move(28);
P.WriteInt16((ushort)Cmp.CurHP);
P.WriteInt16(Cmp.Level);
P.Move(2);//Hair
P.WriteInt16(Cmp.Loc.X);
P.WriteInt16(Cmp.Loc.Y);
P.WriteByte(Cmp.Direction);
P.WriteByte(100);
P.Move(72);
P.WriteByte(1);
P.WriteByte((byte)Cmp.Name.Length);
P.WriteString(Cmp.Name);

return P;
}

should work. if it doesn't feel free to tell me and ill look into it.



lostsolder05 is online now  
Thanks
23 Users
Old 02/14/2010, 06:06   #2
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
If this works...
I hate you lol...


Arcо is offline  
Old 02/14/2010, 06:08   #3
 
elite*gold: 20
Join Date: Jan 2006
Posts: 886
Received Thanks: 231
Quote:
Originally Posted by .Arco View Post
If this works...
I hate you lol...
it should. thanks for the positive feedback lol.
lostsolder05 is online now  
Old 02/14/2010, 06:17   #4
 
elite*gold: 0
Join Date: Apr 2009
Posts: 749
Received Thanks: 432
Quote:
Originally Posted by .Arco View Post
If this works...
I hate you lol...
shouldn't i'm saying this but.....

You guys don't like any release that will help the people huh??

i think you shoudn't be anything if you don't wanna to help.....


12tails is offline  
Old 02/14/2010, 06:19   #5
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by 12tails View Post
shouldn't i'm saying this but.....

You guys don't like any release that will help the people huh??

i think you shoudn't be anything if you don't wanna to help.....
Um, I was just joking.
Arcо is offline  
Thanks
1 User
Old 02/14/2010, 06:21   #6
 
elite*gold: 0
Join Date: Apr 2009
Posts: 749
Received Thanks: 432
for sure.......
12tails is offline  
Old 02/14/2010, 06:28   #7
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by 12tails View Post
for sure.......
Yeah, I'm pretty sure.
Arcо is offline  
Old 02/14/2010, 07:07   #8
 
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
what is companion do? what does it do in serveR? sorry but i dont know what is the used of companion, anyone can tell me?
salem rey is offline  
Old 02/14/2010, 08:14   #9
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by salem rey View Post
what is companion do? what does it do in serveR? sorry but i dont know what is the used of companion, anyone can tell me?
GoldGuards, Silverguards, etc.
Arcо is offline  
Old 02/14/2010, 08:20   #10
 
elite*gold: 0
Join Date: Jul 2009
Posts: 91
Received Thanks: 28
Hey =P
Unfortunately, it's more than just that. It has no connections to them at all. I just don't understand it. <<my thread has the picture of what it does instead.
darkdestiny54 is offline  
Thanks
1 User
Old 02/14/2010, 08:22   #11
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by darkdestiny54 View Post
Hey =P
Unfortunately, it's more than just that. It has no connections to them at all. I just don't understand it. <<my thread has the picture of what it does instead.
Even with this packet?
Arcо is offline  
Old 02/14/2010, 09:24   #12
 
elite*gold: 0
Join Date: Feb 2010
Posts: 180
Received Thanks: 81
Hope it work

#EDIT : same like old , no thing new
StarEvaAfta!~ is offline  
Old 02/14/2010, 11:51   #13
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,124
Received Thanks: 2,503
Quote:
Originally Posted by darkdestiny54 View Post
Hey =P
Unfortunately, it's more than just that. It has no connections to them at all. I just don't understand it. <<my thread has the picture of what it does instead.
They are definately linked, i had a look at where the thread goes if a summon spell is cast and it definately should call this packet and spawn the monster.

You might want to check that the companion database is populated.
Korvacs is offline  
Old 02/14/2010, 15:16   #14
 
elite*gold: 0
Join Date: Sep 2006
Posts: 36
Received Thanks: 27
Worked for me, thanks.
Hanibal is offline  
Old 02/14/2010, 17:02   #15
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,740
Received Thanks: 5,268
Quote:
Originally Posted by Hanibal View Post
Worked for me, thanks.
Screenshots for those that doubt the great lostsolder lol.
Attached Images
File Type: jpg 50868490.jpg (268.9 KB, 97 views)
File Type: jpg 51063434.jpg (292.1 KB, 70 views)
File Type: jpg 50868076.jpg (267.0 KB, 55 views)


Arcо is offline  
Reply


Similar Threads
[Fix] Companions Disappear (5165)
03/20/2010 - CO2 PServer Guides & Releases - 14 Replies
None of you deserve this. #request close
[Request] Companions Mesh in Lotf 5165
02/19/2010 - CO2 PServer - Discussions / Questions - 4 Replies
I will be very thankful :handsdown:
[Request] Companions ID in Lotf 5165
02/19/2010 - CO2 PServer - Discussions / Questions - 4 Replies
I will be very thankful if someone gimme that
[5165] Summoning Companions
02/14/2010 - CO2 PServer - Discussions / Questions - 10 Replies
Hey everyone, I'm using the 5165 source and I was going to replace the bat with something cooler ... but the bat, skeleton, FireEvil, and BatBoss doesn't work. Instead of summoning a bat, it does this effect (which does nothing): http://i746.photobucket.com/albums/xx110/brokentwilight91/Capture3.png Help would be appreciated. Thank you =s



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


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.