[Source 5679] Npcs special Effects

05/30/2013 20:35 jrcorgas#1
Hi guys i need a litel help im having a hard time removing the specials effects from the npcs from a source i get is fully working no bugs but the only ting i cant fix is the special effects from the npcs any help or sugestion?
05/30/2013 21:08 Super Aids#2
you can set/remove npceffects in the client from npc.ini
05/30/2013 22:04 jrcorgas#3
Quote:
Originally Posted by Super Aids View Post
you can set/remove npceffects in the client from npc.ini
The problem is in the npc.ini there are no effects

Heres a example from a special effect

[Only registered and activated users can see links. Click Here To Register...]
05/30/2013 22:11 Spirited#4
Searching the forum is always a good first step in trying to get a solution to a problem:
[Only registered and activated users can see links. Click Here To Register...]
(just one of many similar threads)
05/30/2013 23:05 Super Aids#5
Could be a mapeffect send to it using its entityuid then.

Also Fang, changing names can be done through the spawnpacket (Although they need a specific flag for it.) xD
05/31/2013 00:03 Spirited#6
Quote:
Originally Posted by Super Aids View Post
Could be a mapeffect send to it using its entityuid then.

Also Fang, changing names can be done through the spawnpacket (Although they need a specific flag for it.) xD
The "add glow" part was what I was referring to. He says in a later post how to find more effects to use as well. I'm trying to encourage the OP to search for similar threads that show how npc effects work.
05/31/2013 02:40 Super Aids#7
Well that could be done through the stringpacket though, since he already said it had no effect in the client then it's possible it's using the stirngpacket xD
05/31/2013 04:48 Spirited#8
Quote:
Originally Posted by Super Aids View Post
Well that could be done through the stringpacket though, since he already said it had no effect in the client then it's possible it's using the stirngpacket xD
He's asking about the NPC effects though, not string packets. I would never use a string packet to put an effect on an NPC. NPCs support effects through the npc.ini file as you specified prior to this discussion. There's no reason to send an additional packet to show an effect that can be displayed on the client side. You are correct though. You can change the npc's name by specifying it at the end of the packet, and you can put an effect on any entity, any tile using the string packet. Anyways, the question was regarding the removal of an NPC effect. That's done using the npc.ini file as Super Aids stated. The guide I linked to shows how to add effects, so it can also be used to remove effects. Cheers.
05/31/2013 04:57 Super Aids#9
Like I said, I didn't say it was the way to be doing it, but rather that's how it's done in OP's case, because he had already stated there was no effect in npc.ini

Although if you want your server to work on most clients without having to distribute anything then using packets to manipulate with such stuff is a great help.