Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Working HyperBody- FIXED USE NEW ONE

Status
Not open for further replies.
Experienced Elementalist
Joined
Nov 10, 2006
Messages
256
Reaction score
25
THIS IS NOT FULLY RELEASED THIS IS JUST A WORKING HYPERBODY THAT DOSN'T STOP WORKING:D.
else if(skillid == 1301007){
vals.push_back(skills[skillid][level].x);//fix from haris
vals.push_back(skills[skillid][level].y);//fix from haris
timer->stop(player, "end1301007");
SkillsPacket::useSkill(player, Maps::info[player->getMap()].Players , skillid, skills[skillid][level].time*1000, (char)0x20, 0, 1, 0, 0, 0, 0, 0, vals, 1);
timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
}
FIXED IT
:p fixed again :p forgot the x and y
 
Last edited:
Junior Spellweaver
Joined
Mar 27, 2006
Messages
140
Reaction score
0
Re: Working HyperBody

please make all your skills release into 1 thread,
 
Experienced Elementalist
Joined
Aug 22, 2007
Messages
295
Reaction score
1
Re: Working HyperBody

rofl

thanks , i'mma test
 
Experienced Elementalist
Joined
Apr 5, 2008
Messages
287
Reaction score
1
the skill dosnt work... it makes the program to crash :S
 
Newbie Spellweaver
Joined
Apr 8, 2008
Messages
6
Reaction score
0
Didn't working for me.. And doing 9 Errors..
Under which line to put it?
 
Newbie Spellweaver
Joined
Apr 4, 2008
Messages
13
Reaction score
0
Here's my HB, it works but not 100% working :p
Code:
//Hyper Body by haris182
else if(skillid == 1301007){
vals.push_back(skills[skillid][level].x);
vals.push_back(skills[skillid][level].y);
timer->stop(player, "end1301007");
SkillsPacket::useSkill(player, Maps::info[player->getMap()].Players , skillid, skills[skillid][level].time*1000, (char)0x20, 0, 0, 0, 0, 0, 0, 0, vals, 1);
timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
}
 
Experienced Elementalist
Joined
Dec 7, 2006
Messages
294
Reaction score
0
what is the flw in your code haris, i cant seem to find it :|
 
Newbie Spellweaver
Joined
Mar 23, 2008
Messages
58
Reaction score
0
what is the flw in your code haris, i cant seem to find it :|

It's because he's using 0x20 for the first character type, which is avoidability. Also he's missing some parts and thats why it blinks forever without actually ending. so

This would be the code for hyperbody

Code:
else if(skillid == 1301007){
            timer->stop(player, "end1301007");
            vals.push_back(skills[skillid][level].x);
            vals.push_back(skills[skillid][level].y);
            SkillsPacket::useSkill(player, Maps::info[player->getMap()].Players , skillid, skills[skillid][level].time*1000, 0, (char)0x20, 0, 0, 0, 0, 0, 0, vals, 1);
            timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
This

Code:
void Skills::end1301007(Player* player){
    SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, 0, (char)0x20, 0, 0, 0, 0, 0, 0, 1);
}
would go under this(in skills.cpp)

Code:
void Skills::end1002(Player* player){
    SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, (char)0x80, 0, 0, 0, 0, 0, 0, 0, 1);
}
and this

Code:
else if(skillid == 1301007){
        timer->stop(player, "end1301007");
        end1301007(player);
    }
would go under this(in skills.cpp)

Code:
else if(skillid == 1002){
        timer->stop(player, "end1002");
        end1002(player);
    }
this

Code:
else if(strcmp(name, "end1301007") == 0) Skills::end1301007(player);
would go under this(in skills.cpp)

Code:
else if(strcmp(name, "end1002") == 0) Skills::end1002(player);
and finally, this

Code:
static void end1301007(Player* player);
would go under this(in skills.h)

Code:
static void end1002(Player* player);
 
Initiate Mage
Joined
Apr 6, 2008
Messages
1
Reaction score
0
It's because he's using 0x20 for the first character type, which is avoidability. Also he's missing some parts and thats why it blinks forever without actually ending. so

This would be the code for hyperbody

Code:
else if(skillid == 1301007){
            timer->stop(player, "end1301007");
            vals.push_back(skills[skillid][level].x);
            vals.push_back(skills[skillid][level].y);
            SkillsPacket::useSkill(player, Maps::info[player->getMap()].Players , skillid, skills[skillid][level].time*1000, 0, (char)0x20, 0, 0, 0, 0, 0, 0, vals, 1);
            timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
This

Code:
void Skills::end1301007(Player* player){
    SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, 0, (char)0x20, 0, 0, 0, 0, 0, 0, 1);
}
would go under this(in skills.cpp)

Code:
void Skills::end1002(Player* player){
    SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, (char)0x80, 0, 0, 0, 0, 0, 0, 0, 1);
}
and this

Code:
else if(skillid == 1301007){
        timer->stop(player, "end1301007");
        end1301007(player);
    }
would go under this(in skills.cpp)

Code:
else if(skillid == 1002){
        timer->stop(player, "end1002");
        end1002(player);
    }
this

Code:
else if(strcmp(name, "end1301007") == 0) Skills::end1301007(player);
would go under this(in skills.cpp)

Code:
else if(strcmp(name, "end1002") == 0) Skills::end1002(player);
and finally, this

Code:
static void end1301007(Player* player);
would go under this(in skills.h)

Code:
static void end1002(Player* player);

Question, how do you know what code is for what stat example you said 0x20 is avoid how do we find this out?
 
Newbie Spellweaver
Joined
Jul 19, 2007
Messages
17
Reaction score
0
testing Monsoon's version now =]


edit:

many errors:

c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(63) : error C2039: 'end2301004' : is not a member of 'Skills'
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.h(32) : see declaration of 'Skills'
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(63) : error C3861: 'end2301004': identifier not found
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(64) : error C2039: 'end4101004' : is not a member of 'Skills'
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.h(32) : see declaration of 'Skills'
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(64) : error C3861: 'end4101004': identifier not found
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(65) : error C2039: 'end4201003' : is not a member of 'Skills'
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.h(32) : see declaration of 'Skills'
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(65) : error C3861: 'end4201003': identifier not found
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(107) : error C3861: 'end2301004': identifier not found
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(111) : error C3861: 'end4101004': identifier not found
c:\documents and settings\brett thompson\desktop\maplebm\maplestoryserver\maplestoryserver\skills.cpp(115) : error C3861: 'end4201003': identifier not found
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
12
Reaction score
0
------ Build started: Project: MapleStoryServer, Configuration: Debug Win32 ------
Compiling...
Skills.cpp
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(156) : error C2065: 'vals' : undeclared identifier
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(156) : error C2228: left of '.push_back' must have class/struct/union
type is ''unknown-type''
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(156) : error C2065: 'level' : undeclared identifier
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(156) : error C2228: left of '.x' must have class/struct/union
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(157) : error C2065: 'vals' : undeclared identifier
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(157) : error C2228: left of '.push_back' must have class/struct/union
type is ''unknown-type''
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(157) : error C2065: 'level' : undeclared identifier
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(157) : error C2228: left of '.y' must have class/struct/union
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(158) : error C2065: 'level' : undeclared identifier
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(158) : error C2228: left of '.time' must have class/struct/union
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(158) : error C2065: 'vals' : undeclared identifier
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(159) : error C2065: 'level' : undeclared identifier
c:\games\maplestoryserver\msrev7\maplestoryserver\maplestoryserver\skills.cpp(159) : error C2228: left of '.time' must have class/struct/union

I've gotten this for both versions of Hyper Body.
 
Junior Spellweaver
Joined
Apr 7, 2008
Messages
190
Reaction score
0
1>.\Skills.cpp(193) : error C2059: syntax error : 'else'
1>.\Skills.cpp(193) : error C2143: syntax error : missing ';' before '{'
1>.\Skills.cpp(193) : error C2447: '{' : missing function header (old-style formal list?)
 
Newbie Spellweaver
Joined
Apr 9, 2008
Messages
24
Reaction score
0
It's because he's using 0x20 for the first character type, which is avoidability. Also he's missing some parts and thats why it blinks forever without actually ending. so

This would be the code for hyperbody

Code:
else if(skillid == 1301007){
            timer->stop(player, "end1301007");
            vals.push_back(skills[skillid][level].x);
            vals.push_back(skills[skillid][level].y);
            SkillsPacket::useSkill(player, Maps::info[player->getMap()].Players , skillid, skills[skillid][level].time*1000, 0, (char)0x20, 0, 0, 0, 0, 0, 0, vals, 1);
            timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
You're missing something in this script, update it. People add this to his script to work:
Code:
else if(skillid == 1301007){
            timer->stop(player, "end1301007");
            vals.push_back(skills[skillid][level].x);
            vals.push_back(skills[skillid][level].y);
            SkillsPacket::useSkill(player, Maps::info[player->getMap()].Players , skillid, skills[skillid][level].time*1000, 0, (char)0x20, 0, 0, 0, 0, 0, 0, vals, 1);
            timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
[b]}[/b]
Add the }
 
Newbie Spellweaver
Joined
Jul 19, 2007
Messages
17
Reaction score
0
no its not that, i already caught that the first time and it still didn't work =/
 
Newbie Spellweaver
Joined
Apr 10, 2008
Messages
48
Reaction score
0
Question, how do you know what code is for what stat example you said 0x20 is avoid how do we find this out?
Checking would be a great start.
 
Status
Not open for further replies.
Back
Top