npc_effect?

Forum closed. All further discussion to be discussed at https://github.com/OpenKore/

Moderator: Moderators

Message
Author
ikono
Noob
Noob
Posts: 3
Joined: 23 Feb 2009, 03:42
Noob?: No

npc_effect?

#1 Post by ikono »

In the npc_effect function in receive.pm, why is there a blank in

Code: Select all

message TF("%s: *%s*\n", $name, ' '), "npc";
                                 ^here
(for that matter, what is npc_effect?)
For some reason, in DarkRO force at least, I become inundated in spam about this where it says

Code: Select all

[npc] Unknown #3019394: **
, multiple times from the same id, then multiple times from another id, then silent for a bit. There never seems to be rhyme or reason to the frequency of the messages or when they happen. Each packet is 10 bytes in size, by the way. Here are a couple sample packets:

Code: Select all

f3 01 01 89 29 00 77 01 00 00   ....).w...
f3 01 01 89 29 00 4e 02 00 00   ....).N...
I've looked at other packets, and the 2nd and 3rd words make up the actor id, yes? What is the second to last word; the effect ID? What ever it is, it changes between packets, and is the 5th word just padding? Does anyone know why this is being spammed? For now, I've just commented out the message call in receive.pm.

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: npc_effect?

#2 Post by kali »

Which line of what version are we talking about?
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

ikono
Noob
Noob
Posts: 3
Joined: 23 Feb 2009, 03:42
Noob?: No

Re: npc_effect?

#3 Post by ikono »

sorry, it's the npc_effect function (that governs response to the npc_effect packet, 01F3h) in src/network/receive.pm of the what-will-become-2.0.7 SVN download.

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: npc_effect?

#4 Post by kali »

Try to file a bug report for that, it's a puzzle to me as well.
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: npc_effect?

#5 Post by Technology »

Check this.

Its possible that the original plan was to have a list of effectID's and effectname's (just like how kore handles the emoticons).
But turned out that wasn't really neccesary or desirable.
If this was ever used by anti-bots, we could easily make a hook for it.
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!

kali
OpenKore Monk
OpenKore Monk
Posts: 457
Joined: 04 Apr 2008, 10:10

Re: npc_effect?

#6 Post by kali »

Ah, that one.

We should probably comment it out for the mean time, while there still isn't any use for it so it doesn't spam too much.
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.

iamanoob
Plain Yogurt
Plain Yogurt
Posts: 82
Joined: 04 Apr 2008, 09:49

Re: npc_effect?

#7 Post by iamanoob »

darkRO ei?
try wearing icarus wing or dragon wing
then add stats... that effect would show
just like the effect you see on the client
though it is unknown for openkore XD
Image
DARKest Ninja

Locked