Jump to content

Recommended Posts

Posted

Hello goddameit,

first thank u for sharing this. I really like it.

Second, I successfully added this skill in the source and can use it via "@useskill 996 1 target". But I am failing to implement it in a skill tree by this guide http://eathena.ws/wi...ding_new_skills .

My client crashes by reading the lub files.

-> After double click exe

error.png

--> after char select -> trying to log on map server:

error1.png

my lua, respectively, my lubs:

skillinfolist

[sKID.ST_CHASEWALK] = {
 "ST_CHASEWALK";
 SkillName = "Chase Walk",
 MaxLv = 5,
 _NeedSkillList = {
  { SKID.TF_HIDING,5 },
  { SKID.RG_TUNNELDRIVE,3 }
 }
},
[sKID.DOTASWAP] = {
 "DOTASWAP";
 SkillName = "Huch?",
 MaxLv = 1,
 SpAmount = { 100 },
 _NeedSkillList = {
  { SKID.RG_BACKSTAP,4 },
  { SKID.RG_RAID,5 }
 }
},
[sKID.ST_REJECTSWORD] = {
 "ST_REJECTSWORD";
 SkillName = "Reject Sword",
 MaxLv = 5,
 SpAmount = { 10, 15, 20, 25, 30 }
},

skilltreeview

},
[JOBID.JT_MONK_H] = {
 [11] = SKID.CH_PALMSTRIKE,
 [21] = SKID.CH_SOULCOLLECT,
 [25] = SKID.CH_TIGERFIST,
 [32] = SKID.CH_CHAINCRUSH
},
[JOBID.JT_ROGUE_H] = {
 [8] = SKID.ST_CHASEWALK,
 [30] = SKID.ST_FULLSTRIP,
 [38] = SKID.ST_PRESERVE,
 [28] = SKID.DOTASWAP,
 [31] = SKID.ST_REJECTSWORD
},
[JOBID.JT_BARD_H] = {
 [29] = SKID.CG_ARROWVULCAN,
 [30] = SKID.CG_MOONLIT,
 [31] = SKID.CG_MARIONETTE,
 [32] = SKID.CG_HERMODE,
 [38] = SKID.CG_LONGINGFREEDOM,
 [39] = SKID.CG_TAROTCARD
},

Sir, can u help me to add your skill in a skill tree?

Posted

how to fix this

src\map\skill.c(4984): warning C4013: 'DOTASWAPfu' undefined; assuming extern returning int

src\map\skill.c(13330): error C2371: 'DOTASWAPfu' : redefinition; different basic types

add correctly.

  • 4 weeks later...
Posted

i have a problem. i can see the skill but i can't add/use it.

so, i made added it to the platinum npc. and it works fine BUT the problem is when i reconnect the skill is gone.

so i need to talk to the npc all over again. how to fix it?

Posted

i have a problem. i can see the skill but i can't add/use it.

so, i made added it to the platinum npc. and it works fine BUT the problem is when i reconnect the skill is gone.

so i need to talk to the npc all over again. how to fix it?

I use well, read the #1 again.

Posted (edited)

@goddameit nice

Description:

Skill SWAP, enabling you to swap location on your targeted (monster,....)

Edited by zmref
  • Upvote 1
  • 1 month later...
  • 3 months later...
  • 5 years later...
Posted (edited)

The skill dosent show on my skill tree , then when i use it on @useskill it shows


[Error]: Skill '82' is undefined! skill.cpp:220::skill_chk
[Error]: Skill '82' is undefined! skill.cpp:220::skill_chk
[Error]: Skill '82' is undefined! skill.cpp:220::skill_chk
[Error]: Skill '82' is undefined! skill.cpp:220::skill_chk
[Error]: Skill '82' is undefined! skill.cpp:220::skill_chk
[Error]: Skill '82' is undefined! skill.cpp:220::skill_chk
[Error]: Skill '82' is undefined! skill.cpp:655::skill_isNotOk



Rebuild error

skill.cpp: In function âint skill_castend_nodamage_id(block_list*, block_list*, uint16, uint16, unsigned int, int)â:
skill.cpp:6604:4: error: âFIREIVYfunctionâ was not declared in this scope
    FIREIVYfunction(src,bl); //add
    ^~~~~~~~~~~~~~~
skill.cpp:6605:31: error: âskillidâ was not declared in this scope
    clif_skill_nodamage(src,bl,skillid,skilllv,0); //add
                               ^~~~~~~
skill.cpp:6605:31: note: suggested alternative: âskill_idâ
    clif_skill_nodamage(src,bl,skillid,skilllv,0); //add
                               ^~~~~~~
                               skill_id
skill.cpp:6605:39: error: âskilllvâ was not declared in this scope
    clif_skill_nodamage(src,bl,skillid,skilllv,0); //add
                                       ^~~~~~~
skill.cpp:6605:39: note: suggested alternative: âskill_lvâ
    clif_skill_nodamage(src,bl,skillid,skilllv,0); //add
                                       ^~~~~~~
                                       skill_lv
make[1]: *** [obj/skill.o] Error 1

 

Edited by Poring King
  • 2 years later...

Join the conversation

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

Guest
Reply to this topic...

×   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...