Thread starter, MAKE credits for the packets u get.
And, for booster, I got it working with the speed like the one in gMS. =D
Printable View
Thread starter, MAKE credits for the packets u get.
And, for booster, I got it working with the speed like the one in gMS. =D
Nice to see no credits went at all to the person who tested those values with a server restart every single byte change.
I thought I'd lurk around here til someone posted these values, or used them without any reference to who tested them or at least a link to the thread where they were posted.
You're also coding in booster wrongly, most likely.
An example of a correctly working skill + timer:
In Skills.cpp
under static vector <STimer> timers; section
under the void Skills::cancelSkill(Player* player, unsigned char* packet){ section:Code:else if(strcmp(name, "end4201003") == 0) Skills::end4101003(player);
under the void Skills::useSkill(Player* player, unsigned char* packet){ section:Code:else if(skillid == 4201003){
timer->stop(player, "end4201003");
end4101003(player);
}
under void Skills::end1001(Player* player){ section:Code:else if(skillid == 4201003){
vals.push_back(skills[skillid][level].x);
timer->stop(player, "end4201003");
SkillsPacket::useSkill(player, Maps::info[player->getMap()].Players , skillid, skills[skillid][level].time*1000, 0, (char)0x8, 0, 0, 0, 0, 0, 0, vals, 0);
timer->setSkillTimer(player, "end4201003", skills[skillid][level].time*1000);
}
In Skills.hCode:void Skills::end4201003(Player* player){
SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, 0, (char)0x8, 0, 0, 0, 0, 0, 0, 0);
}
I also should have known better than to release them, because there are people who always try to steal the credit... I personally tested Booster, Rage, Power Guard and Shadow Partner.Code:static void end4201003(Player* player);
EDIT:
Use 0x3 instead of 0x1 for both w.atk and w.def to be calculated with Rage.
Hey s4itox, can I have your msn please?
So can test with you the skills..
I am not planning to release my codes for the timer to work properly either, too easy to figure that out.
Since someone's already gone ahead and "released" them even though they themselves were not the ones who did all the testing, it's kind of a waste now.
For your skill timer to work properly, ALL CHAR TYPES MUST BE THE SAME.
So if your skilltimer uses 0x3, 0, 0, 0, 0, 0, 0, 0 ;; then down the bottom with the end bit, you MUST use 0x3, 0, 0, 0, 0, 0, 0, 0 for it to work properly. Otherwise you have a failed timer that half-works.
s4itox, I know how you feel towards these kind of people.
Oh well, I should simply call them, "pathetic leecher".
Even the noob leecher know how to give credits. How shame.
Lmao, I just wanna be a jerk and show off what skills I have working so far. Yes these are the things it adds when it's maxed.
GM Bless +20 Wep Attack, 10+00 Wep Def, +20 Magic, +100 Magic Def, +100 Accuracy and +100 Avoidability
Regular Bless +20 Wep Def, Magic Def, Accuracy, and Avoidability
Rage +10 Wep Att, -10 Wep Def
All Boosters Not as fast as GMS though :(
Power Guard Works
Shadow Partner CS Effect, damages still take effect, always hit 50% of original damage which is not what it's suppose to do?
Timers work and everything and I've been coding these skills a few days ago.
Mine as fast as gMS.
Trying to get bless packet.. seems weird to collide them ><
compiled fine, thanks
How did you get them as fast as GMS?
To prove GM Bless works :)
http://gzpupload.net/files/vtx5e0lvrps5chkttpk3.png
I tried editing the X and Y values on the xml file. Doesn't do anything.
I still wish there was a way to remove the damage cap.
There is a way, but not publicly released. ^_^
It does do something on the skillid.xml [x] [y] values, you just need do some search.
If you're willing to exchange your Bless code for my Booster speed part. ^^
I get a bunch of errors while compiling.
Will try and fix myself, if I can't fix it, I'll post the errors.
Are you getting a constant 50% regardless of normal attack or skill?
If that's the case, have you tried putting in both x and y values?
example:
Put both in and tell me what happens. I have both in and skills deal 50% while normal attacks deal 80%.Code:vals.push_back(skills[skillid][level].x);
vals.push_back(skills[skillid][level].y);
I'm not getting 50% on both skill and regular attack. Just noticed it is working fine. Now I just hope there is a way to make Shadow Partner show to other players also instead of just yourself. Also, GM Haste is kinda hard to get working.
I wonder how are we going to make GM Bless and the other skills to effect everyone on the map also.