Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Mob Skills

Status
Not open for further replies.
Experienced Elementalist
Joined
Apr 15, 2008
Messages
234
Reaction score
0
Re: [Release] Mob Skills

So basically, we just have to modify how monsters attack, sort of like the fix for mob skills?
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
32
Reaction score
0
Re: [Release] Mob Skills

Yes!

If the mob can already target all players, everyone should already be getting hit.
I believe it's either a "break;" or a "return" since it stops when i finds a target...

I expected a pro to reply but, oh well.
 
Newbie Spellweaver
Joined
Apr 25, 2008
Messages
14
Reaction score
0
Re: [Release] Mob Skills

here's an interesting twist.

A friend and I went to pianus after installing this fix, he was the only one getting hit. after we killed it, it respawned and both of us were getting shot.

dun dun dun.
 
Junior Spellweaver
Joined
Apr 12, 2008
Messages
103
Reaction score
0
Re: [Release] Mob Skills

PHP:
for (unsigned int x=0; x<Maps::info[player->getMap()].Players.size(); x++) {
			SkillsPacket::useSkill(Maps::info[player->getMap()].Players[x], Maps::info[player->getMap()].Players, skillid, 1800*1000, (char)0x80, (char)0x1, 0, 0, 0, 0, 0, 0, vals, 0);
			timer->setSkillTimer(Maps::info[player->getMap()].Players[x], "endHaste", 1800*1000);
		}
This is part of GM Haste, which effects all players... Could this be templated into a fix?
 
Newbie Spellweaver
Joined
Apr 9, 2008
Messages
60
Reaction score
0
Re: [Release] Mob Skills

Hmm, good find iheart. I'll have to test that.
 
Newbie Spellweaver
Joined
Mar 16, 2008
Messages
5
Reaction score
0
Re: [Release] Mob Skills

here's an interesting twist.

A friend and I went to pianus after installing this fix, he was the only one getting hit. after we killed it, it respawned and both of us were getting shot.

dun dun dun.

Nice find! I will test.
 
Newbie Spellweaver
Joined
Apr 22, 2008
Messages
40
Reaction score
0
Re: [Release] Mob Skills

here's an interesting twist.

A friend and I went to pianus after installing this fix, he was the only one getting hit. after we killed it, it respawned and both of us were getting shot.

dun dun dun.
NOOO WAIIII!!!!
This is getting more confusing every second >.>
 
Newbie Spellweaver
Joined
Apr 14, 2008
Messages
61
Reaction score
0
Re: [Release] Mob Skills

NOOO WAIIII!!!!
This is getting more confusing every second >.>

I think this is what he means. When you enter the map, the fish targets you first. However when all 3 of you are in the map, he has to target all 3..
 
Newbie Spellweaver
Joined
Apr 11, 2008
Messages
72
Reaction score
0
Re: [Release] Mob Skills

so since the fish doesn't know who to target since all three are in the map he is forced to target all three
so then would the problem be in the re spawn of monsters?
 
Elite Diviner
Joined
Apr 6, 2008
Messages
447
Reaction score
0
Re: [Release] Mob Skills

it works !!!!!!!!!!! the mobs finally fight back !!!!!!!!!!!!! cool~
thx you so much !!!!!!!!!! u are the best !!!!
 
Junior Spellweaver
Joined
Mar 22, 2008
Messages
139
Reaction score
5
Re: [Release] Mob Skills

Anyone else having problems with monsters not spwning?
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
6
Reaction score
0
Re: [Release] Mob Skills

I haven't tested this yet, but this should make everyone see the damage:
Change:
Code:
packet.packetSend(player);
to
Code:
packet.sendTo(player, players, 0);
 
Newbie Spellweaver
Joined
Apr 25, 2008
Messages
14
Reaction score
0
Re: [Release] Mob Skills

Then soon after we tried going to tauros, since they just seemed right for this test.

Results as follows:-drum rolls-

I come in first, gets repeatedly hit since I provoked them with my powerguard. (lets name my friend Mike)
Mike comes in after, he sees me getting owned by nothing. we kill everything.
New spawn.
Only hits him, I see him getting owned by nothing.

Conclusion?
Pianus is special. Or maybe he wasn't targeting both of us, but rather the aoe of his laser thing reaches both of us. BUT (twist here) if his laser can reach the both of us then why didn't it hit me after I joined the map after mike?
Theory suggests that it has something to do with the skills SHOWING rather than it taking effect, so if we could somehow get it to be visible to all players in map, regardless of the damage, it would be a great step.
 
Junior Spellweaver
Joined
Apr 12, 2008
Messages
103
Reaction score
0
Re: [Release] Mob Skills

Drkgodz, that makes them stop using m.atks... :(
 
Newbie Spellweaver
Joined
Apr 25, 2008
Messages
14
Reaction score
0
Re: [Release] Mob Skills

Sorry for the double posting, but sometimes my firefox won't show the new posts after mine. even after I refresh the page.


I'm going to sleep soon so I turned my server down, but gathering from what I've read so far.

This might work.

Code:
void MobsPacket::moveMob(Player* player, Mob* mob ,vector <Player*> players, unsigned char* pack, int pla){
    Packet packet = Packet();
    packet.addHeader(0x9C);
    packet.addInt(mob->getID());
    packet.addShort(getShort(pack+4));
    packet.addByte(1); 
    packet.addInt(mob->getMP());
    packet.packetSend(player, players, 0);
    packet = Packet();
    packet.addHeader(0x97);
    packet.addInt(mob->getID());
    packet.addByte(0);
    packet.addInt(0xFF);
    packet.addByte(1);
    packet.addBytesHex(pack+17, pla-17);
    packet.sendTo(player, players, 0);
}
 
Newbie Spellweaver
Joined
Apr 9, 2008
Messages
60
Reaction score
0
Re: [Release] Mob Skills

Well, when I go to some monsters like those small death teddys they target who ever hits them and not only the person who comes in the map first. But you can see damage, not the magic attack.
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
32
Reaction score
0
Re: [Release] Mob Skills

Code:
packet.packetSend(player, players, 0);

Stops monsters from moving....
 
Experienced Elementalist
Joined
Apr 4, 2008
Messages
258
Reaction score
0
Re: [Release] Mob Skills

DrkGodz, that made both of us not see the Magic attack.
 
Newbie Spellweaver
Joined
Apr 14, 2008
Messages
61
Reaction score
0
Re: [Release] Mob Skills

Then soon after we tried going to tauros, since they just seemed right for this test.

Results as follows:-drum rolls-

I come in first, gets repeatedly hit since I provoked them with my powerguard. (lets name my friend Mike)
Mike comes in after, he sees me getting owned by nothing. we kill everything.
New spawn.
Only hits him, I see him getting owned by nothing.

Conclusion?
Pianus is special. Or maybe he wasn't targeting both of us, but rather the aoe of his laser thing reaches both of us. BUT (twist here) if his laser can reach the both of us then why didn't it hit me after I joined the map after mike?
Theory suggests that it has something to do with the skills SHOWING rather than it taking effect, so if we could somehow get it to be visible to all players in map, regardless of the damage, it would be a great step.

Two of my friends, and I went to Zakum. I was the first to reach the map. Only I was getting hit by his magic attacks. It ignored all my other friends.
 
Status
Not open for further replies.
Back
Top