eezclide
-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by eezclide
-
-
@Ninja hehehe its been a while and I'm about to practice more here in rathena again XD.
I remember why I need your diff here.
coz with this I can call out the wav files while using skills custom and easier for newbies.
like when using LORD of VERMILLION - the character is shouting the skills.
I just got back on developing again all my old files are gone now starting new hehehe
by the way I have this error here. using the latest revision.
/**
* Jezznar
* getskillname (skillid);
**/
BUILDIN_FUNC(getskillname)
{
int skill_id;
char *skill_name;
//get input skill_id
if (!script_hasdata(st, 2)) {
script_pushconststr(st, "null");
return SCRIPT_CMD_SUCCESS;
}
skill_id = script_getnum(st, 2);
if (!skill_get_index(skill_id)) {
ShowError("script:conv_str: Unknown skill_id supplied.\"\n");
script_pushconststr(st, "null");
return SCRIPT_CMD_SUCCESS;
}
skill_name = (char *)aMalloc(SKILL_NAME_LENGTH * sizeof(char));
memcpy(skill_name, skill_db[skill_get_index(skill_id)]->desc, SKILL_DESC_LENGTH);
script_pushstr(st, skill_name);
return SCRIPT_CMD_SUCCESS;
}Anyways thanks for this. I cant make the skill name appear but, The skillused_id is what I need for skills shout. thank you
-
On 11/5/2014 at 7:37 PM, Elsa Mist said:
Hello how did you do it?
-
Hi guys, How can i make my item
when click opens the world map?
-
I have diff may source using this
and followed everything
with no error.
but still i couldnt trigger OnPCUseSkillEvent:
and i couldnt find other guide or source from here
some are directed to eAthena but the site is down.
can anyone help me? TIA
-
This works for me
but can i disable the auto respawn when dead?
because im doing a map with no restriction
and will use battleground for a faction system.
-
thank you so much guys..
I'm sorry that i didnt use the proper way of posting questions.
I'm still new and learning.
thank you for the response.
-
If i use wavs from some sort of anime and implement on my server
do i need permission
even its downloadable at youtube or other open source site
do i get sued? XD
or can anyone give me link for the rules
on creating my own server
-
I can't seems to get this work XD
i have the same error jawbreaker mention
and change NPCE_ITEMUSE -> NPCE_SKILLUSE
and came out with no error
but still it doesnt work for me
On 3/21/2016 at 6:02 PM, Ninja said:Hi rAthena,
I've seen a lot of (old) posts that wanted to have skill detection through scripts. I'm releasing these stuff for scripters to munch on
Hope it helps expand the scripting scene and hope you guys release your work here in rAthena too.
Credits to Playtester for helping me find the entry point of skill usage.
working on Rev: 100644
OnPCSkillUseEventOnPCSkillUseEvent.diff
Detects when a player uses a skill returns:
@skillused_id - the id of the skill used
@skillused_lv - the level of the skill used
getskillnamegetskillname.diff
Sample Script
- script Test -1,{ OnPCUseSkillEvent: announce "You have used level"+@skillused_lv+" "+getskillname(@skillused_id),bc_self; end; }
I intentionally separated these so that getskillname can be used independently since I haven't really seen any script command that shows the "english" name of a skill.
Quoting, waiting for your response
-
This is Excellent.. but how can i put... Category list.. like = Consumable,Headgears, etc..
Help on this .diff error for PCSkillUseEvent
in Source Support
Posted
ive been tryin to figure our what's the prob here. Im not that good yet in scripting
/**
* Jezznar
* getskillname (skillid);
**/
BUILDIN_FUNC(getskillname)
{
int skill_id;
char *skill_name;
//get input skill_id
if (!script_hasdata(st, 2)) {
script_pushconststr(st, "null");
return SCRIPT_CMD_SUCCESS;
}
skill_id = script_getnum(st, 2);
if (!skill_get_index(skill_id)) {
ShowError("script:conv_str: Unknown skill_id supplied.\"\n");
script_pushconststr(st, "null");
return SCRIPT_CMD_SUCCESS;
}
skill_name = (char *)aMalloc(SKILL_NAME_LENGTH * sizeof(char));
memcpy(skill_name, skill_db[skill_get_index(skill_id)]->desc, SKILL_DESC_LENGTH);
script_pushstr(st, skill_name);
return SCRIPT_CMD_SUCCESS;
}