Jump to content
  • 0

Question

Posted (edited)

Please help I need this asap coz this is always getting on my mind and I'm not going to stop until I know how, and I'm currently reviewing my c++ book to regain my knowledge.

If I only know the classes which the effects are residing I could make this command.

Some other says it's from the client but when I look on some website they can customize the effect of this skills by just pasting the effects.

Visit this link and maybe some of you can crack this?. I don't know how yet but soon I will.

http://forum.ratemys...-effects-(wiz)/

Function of the command: This command enables you to on and off the effect of Stormgust, MeteorStorm, Lord of Vermilion

or

this command enables you to execute the "file effects" like @sound thus making you to change the effects of some skills by just calling the files from texture/effects.

Let's start with this

RESOURCES SAMPLE:

ACMD_FUNC(effectaoe)
{

status_check_skilluse(sd->skillcast, bl, WZ_STORMGUST, 2); //what does blocklist bl do?
clif_specialeffect(&sd, 89->105, flag); // 105 effect id is no effect, 89 effect id is the Stormgust's
return 0;
}

and


ACMD_FUNC(sound)
{
char sound_file[100];

memset(sound_file, '\0', sizeof(sound_file));

if(!message || !*message || sscanf(message, "%99[^\n]", sound_file) < 1) {
clif_displaymessage(fd, "Please, enter a sound filename. (usage: @sound <filename>)");
return -1;
}

if(strstr(sound_file, ".wav") == NULL)
strcat(sound_file, ".wav");

clif_soundeffectall(&sd->bl, sound_file, 0, AREA);

return 0;
}

and


ACMD_FUNC(snow)
{
nullpo_retr(-1, sd);
if (map[sd->bl.m].flag.snow) {
map[sd->bl.m].flag.snow=0;
clif_weather(sd->bl.m);
clif_displaymessage(fd, "Snow has stopped falling.");
} else {
map[sd->bl.m].flag.snow=1;
clif_weather(sd->bl.m);
clif_displaymessage(fd, "It is made to snow.");
}

return 0;
}

Edited by zmref

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...