Runehack123
12-25-2012, 12:21 PM
Welcome!
... TO THE FULLY-WORKING ADVANCED AUTOFIGHTER!
Tired of Runescape's EoC combat? This is YOUR SOLUTION RIGHT HERE! This is a next-gen C++ autofighter that will leave you laid-back on your seat while sipping on hot cocoa! :)
If you enjoy autoing combat then YOU WILL LOVE THIS SCRIPT! :) 100% safe and working! The chances of you getting banned on Runescape for using this script are 0!
~Written in C++~
This is a flawless script that will leave the fighting to your PC while you can sit back and enjoy the action! ;)
// myRS.h
#include <iostream>
#include <string>
using namespace std;
#ifndef __MYRS_H__
#define __MYRS_H__
class Character {
private:
string race;
int hp;
int ap;
public
Character(string, int, int);
void heal();
void intoBattle(Character& );
void getStatus() const;
Character operator+(Character&);
};
#endif
// myRS.cpp
#include <iostream>
#include <string>
using namespace std;
#include "myRS.h"
Character::Character(string s, int h, int m) :
race(s), hp(h), ap(m) {
cout << "A new hero has entered the game: ";
getStatus();
cout << endl;
}
void Character::heal() {
hp+=10
}
void Character::intoBattle(Character &c1) {
while(1) {
this->getStatus();
cout << " is attacking!\n";
c1.hp-=this->ap;
if (c1.hp <= 0) {
cout << c1.race << " has been defeated!\";
break;
}
c1.getStatus();
cout << " is attacking!\n";
this->hp-=c1.mp;
if (this->hp <=0 ) {
cout << this->race << " has been defeated!\n";
break;
}
}
}
void Character::getStatus() {
cout << race << " (HP:" << hp << "/AP:" << ap << ")";
}
Character Character::operator+Character& c) {
Character Alliance("Alliance", this->hp+c.hp,
this->ap+c.ap);
cout << this->race << " and " << c.race
<< " have formed an alliance!\n";
return Alliance;
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Now all you need to do is include this code in your int main() and then be prepared to see some really nice action:
Character oneHero("Goblin", 20, 5);
Character goodWizard("Dumbledore", 10, 11);
Character Alliance = oneHero + goodWizard;
Character mostEvil("Morgana", 18, 15);
Alliance.intoBattle(mostEvil);
Happy autoing and enjoy!
... TO THE FULLY-WORKING ADVANCED AUTOFIGHTER!
Tired of Runescape's EoC combat? This is YOUR SOLUTION RIGHT HERE! This is a next-gen C++ autofighter that will leave you laid-back on your seat while sipping on hot cocoa! :)
If you enjoy autoing combat then YOU WILL LOVE THIS SCRIPT! :) 100% safe and working! The chances of you getting banned on Runescape for using this script are 0!
~Written in C++~
This is a flawless script that will leave the fighting to your PC while you can sit back and enjoy the action! ;)
// myRS.h
#include <iostream>
#include <string>
using namespace std;
#ifndef __MYRS_H__
#define __MYRS_H__
class Character {
private:
string race;
int hp;
int ap;
public
Character(string, int, int);
void heal();
void intoBattle(Character& );
void getStatus() const;
Character operator+(Character&);
};
#endif
// myRS.cpp
#include <iostream>
#include <string>
using namespace std;
#include "myRS.h"
Character::Character(string s, int h, int m) :
race(s), hp(h), ap(m) {
cout << "A new hero has entered the game: ";
getStatus();
cout << endl;
}
void Character::heal() {
hp+=10
}
void Character::intoBattle(Character &c1) {
while(1) {
this->getStatus();
cout << " is attacking!\n";
c1.hp-=this->ap;
if (c1.hp <= 0) {
cout << c1.race << " has been defeated!\";
break;
}
c1.getStatus();
cout << " is attacking!\n";
this->hp-=c1.mp;
if (this->hp <=0 ) {
cout << this->race << " has been defeated!\n";
break;
}
}
}
void Character::getStatus() {
cout << race << " (HP:" << hp << "/AP:" << ap << ")";
}
Character Character::operator+Character& c) {
Character Alliance("Alliance", this->hp+c.hp,
this->ap+c.ap);
cout << this->race << " and " << c.race
<< " have formed an alliance!\n";
return Alliance;
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Now all you need to do is include this code in your int main() and then be prepared to see some really nice action:
Character oneHero("Goblin", 20, 5);
Character goodWizard("Dumbledore", 10, 11);
Character Alliance = oneHero + goodWizard;
Character mostEvil("Morgana", 18, 15);
Alliance.intoBattle(mostEvil);
Happy autoing and enjoy!