Well i tried to add the 2 new skills and i added the Skill book ID in packethandler and i added the Skills ID into magictype.SQL but when i tried to use them i got that Error ..What should i do ?
Sounds like you never handle the skill properly inside the source.
You say that you 'handle the skill in the packet handler'. It should be part of your attack./spell handling code. You should scroll up to see what the error is and where it occurs, check out that section of code and do a bit of breakpointing.
Sounds to me like you're just not coding it properly inside the source.
It mentions Packet handler because that's how the data flows.
You receive the packet (AsyncSocket.cs line 89), you then handle the packet receive method (Program.cs line 1212) and then process the packet in your Packet processor before handling the skill. The actual ERROR is in the SKILL handling as I said. Go to the line it's talking about, place some breakpoints and use some common sense to figure out where the actual issue lies.
From the last few words of the error that is visible I'm assuming it's a null reference exception where you're not targeting or handling the skill properly.
Again, a few simple tests on your end would fix this up.... you just need to spend some time actually DOING IT yourself. Few breakpoints and 5-10 min of research should be enough.
actually for pro4never(most coders, including me) would take upto a minute to figure out depending on the problem(if its advanced, 10 mins max as you said) but yeah, this should take a beginner who knows how to breakpoint and the very basics of c# a few minutes, if you cant figure it out, you quite possibly need to get help from google.
Adding more than 3 skills in DB-Bot doesn't work 08/01/2010 - SRO Private Server - 3 Replies Hey All
my bot use only 3 skills if i add more than 3 skills in attack skill list it only use the first 3 skills
except the buffs
it use all buffs i add
i'm using bot: SRO-DB Bot v1.0b2
[Question]Adding Skills 08/22/2009 - CO2 Private Server - 1 Replies How do you add skills? For example I want a skill for GMs only that uses magic and 1 hits everyone.
[Help] With adding skills in lotf 09/09/2008 - CO2 Private Server - 4 Replies How exactly would i like add skills in lotf casue i want to add some more skills. I'll release it if some one could help me on how to do it :)
Adding Skills [LOFT] 08/24/2008 - CO2 Private Server - 1 Replies #Edit :
Already got the skill working,