|
You last visited: Today at 16:13
Advertisement
Companion HP Bar
Discussion on Companion HP Bar within the CO2 Private Server forum part of the Conquer Online 2 category.
12/21/2016, 06:35
|
#1
|
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
|
Companion HP Bar
Hey all, so I'm working on companions on a 5517 source. I have them spawning with one issue. The HP bar doesn't show. I'm spawning them just i would spawn a monster. Am I missing anything?
Monsters spawn with HP bars no issue and I'm spawning them just the same. Is there something different in 10014 for companions?
|
|
|
12/21/2016, 08:14
|
#2
|
elite*gold: 200
Join Date: Sep 2011
Posts: 202
Received Thanks: 108
|
Quote:
Originally Posted by InsomniacPro
Hey all, so I'm working on companions on a 5517 source. I have them spawning with one issue. The HP bar doesn't show. I'm spawning them just i would spawn a monster. Am I missing anything?
Monsters spawn with HP bars no issue and I'm spawning them just the same. Is there something different in 10014 for companions?
|
Hm perhaps you're not sending their HP at the correct offset?
It should be 48 or 52 as a ushort (?) if I recall correctly. Not sure on such high patches.
|
|
|
12/21/2016, 08:38
|
#3
|
elite*gold: 0
Join Date: Feb 2013
Posts: 94
Received Thanks: 13
|
I fixed this problem before, iirc i think you need to make sure the Hitpoints must be the same in client and server..
|
|
|
12/21/2016, 15:06
|
#4
|
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
|
Quote:
Originally Posted by EOS 60D
I fixed this problem before, iirc i think you need to make sure the Hitpoints must be the same in client and server..
|
I verified that the HP was correct in both server and client.
Quote:
Originally Posted by Nyorai
Hm perhaps you're not sending their HP at the correct offset?
It should be 48 or 52 as a ushort (?) if I recall correctly. Not sure on such high patches.
|
The HP offset is correct, any other monster spawns with the HP bar above their head. Unless there's something different about the way companions are spawned.
|
|
|
12/21/2016, 15:51
|
#5
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
For HP bar to show it needs the name being sent to match what's in monstertype.dat
|
|
|
12/21/2016, 16:07
|
#6
|
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
|
CallPets fall into the 700000-799999 ID range. Don't forget to send MsgCallPetInfo (2035) to the owner of the CallPet. Otherwise, yes, it's just the normal MsgPlayer (1014/10014) to spawn it.
|
|
|
12/22/2016, 04:42
|
#7
|
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
|
Quote:
Originally Posted by nTL3fTy
CallPets fall into the 700000-799999 ID range. Don't forget to send MsgCallPetInfo (2035) to the owner of the CallPet. Otherwise, yes, it's just the normal MsgPlayer (1014/10014) to spawn it.
|
I'm following the 700k-799k for their ids, but no luck. Even setting a spawn in the db like a normal mob, they appear with no health bar.
S/n:
do you have any documentation on 2035?
|
|
|
12/22/2016, 05:38
|
#8
|
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
|
Quote:
Originally Posted by InsomniacPro
do you have any documentation on 2035?
|
| Offset | DataType | Name | | 4 | DWORD | UID (700000-799999) | | 8 | DWORD | Lookface | | 12 | DWORD | AIType | | 16 | WORD | PositionX | | 18 | WORD | PositionY | | 20 | char[16] | Name |
Pretty basic stuff, the only point worth mentioning is the AIType which informs the client (the owner) how it should control the CallPet, since it is the client that controls the movement, attacking, etc.
| id | name | lookface | ai_type | | 9000 | IronGuard | 920 | 1 | | 9001 | CopperGuard | 920 | 1 | | 9002 | SilverGuard | 920 | 1 | | 9003 | GoldGuard | 920 | 1 | | 9005 | GhostBat | 148 | 2 | | 9006 | FastBat | 148 | 2 | | 9007 | SwiftBat | 148 | 2 | | 9008 | MagicBat | 148 | 2 | | 9010 | GhostBatBoss | 548 | 2 | | 9011 | FastBatBoss | 548 | 2 | | 9012 | SwiftBatBoss | 548 | 2 | | 9013 | MagicBatBoss | 548 | 2 | | 9015 | EvilBatA | 206 | 3 | | 9016 | EvilBatB | 206 | 3 | | 9017 | EvilBatC | 206 | 3 | | 9018 | EvilBatD | 206 | 3 | | 9020 | FireRatA | 209 | 4 | | 9021 | FireRatB | 209 | 4 | | 9022 | FireRatC | 209 | 4 | | 9023 | FireRatD | 209 | 4 | | 9025 | SkeletonA | 211 | 5 | | 9026 | SkeletonB | 211 | 5 | | 9027 | SkeletonC | 211 | 5 | | 9028 | SkeletonD | 211 | 5 |
|
|
|
12/23/2016, 00:49
|
#9
|
elite*gold: 0
Join Date: Feb 2014
Posts: 397
Received Thanks: 205
|
Quote:
Originally Posted by nTL3fTy
| Offset | DataType | Name | | 4 | DWORD | UID (700000-799999) | | 8 | DWORD | Lookface | | 12 | DWORD | AIType | | 16 | WORD | PositionX | | 18 | WORD | PositionY | | 20 | char[16] | Name |
Pretty basic stuff, the only point worth mentioning is the AIType which informs the client (the owner) how it should control the CallPet, since it is the client that controls the movement, attacking, etc.
| id | name | lookface | ai_type | | 9000 | IronGuard | 920 | 1 | | 9001 | CopperGuard | 920 | 1 | | 9002 | SilverGuard | 920 | 1 | | 9003 | GoldGuard | 920 | 1 | | 9005 | GhostBat | 148 | 2 | | 9006 | FastBat | 148 | 2 | | 9007 | SwiftBat | 148 | 2 | | 9008 | MagicBat | 148 | 2 | | 9010 | GhostBatBoss | 548 | 2 | | 9011 | FastBatBoss | 548 | 2 | | 9012 | SwiftBatBoss | 548 | 2 | | 9013 | MagicBatBoss | 548 | 2 | | 9015 | EvilBatA | 206 | 3 | | 9016 | EvilBatB | 206 | 3 | | 9017 | EvilBatC | 206 | 3 | | 9018 | EvilBatD | 206 | 3 | | 9020 | FireRatA | 209 | 4 | | 9021 | FireRatB | 209 | 4 | | 9022 | FireRatC | 209 | 4 | | 9023 | FireRatD | 209 | 4 | | 9025 | SkeletonA | 211 | 5 | | 9026 | SkeletonB | 211 | 5 | | 9027 | SkeletonC | 211 | 5 | | 9028 | SkeletonD | 211 | 5 |
|
So I've followed this, sent the packet once the minion is spawned. Ensured the UID is between 700000-799999, spawn entity packet is correct. Yet HP bar is still not showing up. You have any ideas as to what other issues could be?
Btw, thanks a lot lefty. Shit helps.
So Chris was so correct. Apparently in 5517, the monster.dat names them as escorts instead of guards.
|
|
|
 |
Similar Threads
|
Companion Gifts Guide
05/08/2018 - SWTOR Guides & Strategies - 3 Replies
http://www.oldrepublic.net/content/attachments/691 d1324887164-impsheet.png/
http://www.oldrepublic.net/content/attachments/69 2d1324887166-repsheet.png/
Source: SWTOR Companion Gifts Guide: How to buy your love - OldRepublic.NET
http://img252.imageshack.us/img252/2176/imperialg ift.png
|
Revive Companion everywhere
12/27/2011 - SWTOR Hacks, Bots, Cheats & Exploits - 4 Replies
If your companion dies and you run away at that time and are able to get out of the fight just summon an other companion and after that the dead one again.
|
SWTOR Res Companion Anywhere
12/20/2011 - SWTOR Hacks, Bots, Cheats & Exploits - 1 Replies
SWTOR Resurrect Companion From Anywhere Exploit/Bug/Glitch - YouTube
|
[Help]Hit a companion (5165)
06/19/2010 - CO2 Private Server - 0 Replies
hey guys i tried to add the attacks so that the companions can get meeled (or ranged/magic'ed)...i managed to make skills (scatter,ss,fb, guard to hit other guard) but i can't make skills like thunder,tornado,normal hit(from archer), or normal hit(meele) anyone can help me with this? guards are really anoying when they can't be hitted...
thanks
|
Priest companion bot
08/27/2009 - PW Hacks, Bots, Cheats, Exploits - 46 Replies
Is there any 'bot' program out there specific for EP only (=PR for ID ^^), which can do any as follow :
1. Always follows main char, by flying at certain height or on foot,
2. Heals main char when hp reached certain point/percentage,
3. gives buffs after x minutes have passed,
4. can be set on/off to spam heal a char with the 'instant heal' skill (not the regen one, forgot what its called),
number four is useful when having a char tanking a boss coz switching windows to do this is...
|
All times are GMT +1. The time now is 16:13.
|
|