Hyper Body

Status
Not open for further replies.
Re: [Release] Hyper Body

umm i get stuck at were it says
Code:
void Skills::end1333337(Player* player){ // Hyper Body - Spearman
SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, 0, (char) 0x20, 0, 0, 0, 0, 0, 0, 1);
}Code:
static void end1301007(Player* player); // Hyper Body - Spearman
so...
EDIT: nvm lol imso nub.
 
Re: [Release] Hyper Body

Leech protections are awsome. You don't realize it but your actually doing somethign helpful for everyone. With Leech protection people will have to figure out what to do and eventually it teaches everyone how to import scripts and debug <3

That's so true!!
I learned a lot like that fixing my own stupid faults (resulting in stupid errors :p)
But the only error I really need help for (can't find a solution)
Is:
1 Error
Error:Blocks nested to deeply (players.cpp)

I have no clue what is means and I tried a lot to fix this...
When I delete the whole command where to error occurs in and rebuild, it just appears in another command and so on...

anyone??
 
Re: [Release] Hyper Body

Code:
else if(strcmp(name, "end1301007") == 0) Skills::end1301007(player); // Hyper Body - Spearman

Code:
    else if(skillid == 1301007){ // Hyper Body - Spearman
        timer->stop(player, "end1301007");
        end1301007(player);
    }

Code:
    else if(skillid == 1301007){ // Hyper Body - Spearman
        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, 0, (char) 0x20, 0, 0, 0, 0, 0, 0, vals, 1);
        timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
    }

Code:
void Skills::end1301007(Player* player){ // Hyper Body - Spearman
    SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, 0, (char) 0x20, 0, 0, 0, 0, 0, 0, 1);
}

Code:
    static void end1301007(Player* player); // Hyper Body - Spearman


I fixed the error you had..

Yes, I know it was leech protection.
 
Re: [Release] Hyper Body

Code:
else if(strcmp(name, "end1301007") == 0) Skills::end1301007(player); // Hyper Body - Spearman

Code:
    else if(skillid == 1301007){ // Hyper Body - Spearman
        timer->stop(player, "end1301007");
        end1301007(player);
    }

Code:
    else if(skillid == 1301007){ // Hyper Body - Spearman
        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, 0, (char) 0x20, 0, 0, 0, 0, 0, 0, vals, 1);
        timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
    }

Code:
void Skills::end1333337(Player* player){ // Hyper Body - Spearman
    SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, 0, (char) 0x20, 0, 0, 0, 0, 0, 0, 1);
}

Code:
    static void end1301007(Player* player); // Hyper Body - Spearman


where do we put all these?
 
Re: [Release] Hyper Body

where do we put all these?

LOL dude cmon O_O, btw easy anti-leech :P:P

Skills.h
PHP:
    static void end1301007(Player* player); // Hyper Body - Spearman
Skills.cpp
PHP:
else if(strcmp(name, "end1301007") == 0) Skills::end1301007(player); // Hyper Body - Spearman
PHP:
    else if(skillid == 1301007){ // Hyper Body - Spearman
        timer->stop(player, "end1301007");
        end1301007(player);
    }
PHP:
    else if(skillid == 1301007){ // Hyper Body - Spearman
        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, 0, (char) 0x20, 0, 0, 0, 0, 0, 0, vals, 1);
        timer->setSkillTimer(player, "end1301007", skills[skillid][level].time*1000);
    }
PHP:
void Skills::end1333337(Player* player){ // Hyper Body - Spearman
    SkillsPacket::endSkill(player, Maps::info[player->getMap()].Players, 0, (char) 0x20, 0, 0, 0, 0, 0, 0, 1);
}

***NOTE****
I haven't removed the anti-leech so this wont work, find the anti-leech before compiling :P
 
Status
Not open for further replies.
Back