SRL Archive - C/C++ Help and Tutorials

Advanced Autofighter


Runehack123

2012-12-25 07:21:49

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!

Runehack123

2012-12-25 07:25:25

This space is reserved for future debug-box reports.

~ Debug ~ Debug ~ Debug ~ Debug ~

A new hero has entered the game: Goblin (HP:20/AP:5)
A new hero has entered the game: Dumbledore (HP:10/AP:11)
A new hero has entered the game: Alliance (HP:30/AP:16)
Goblin and Dumbledore have formed an alliance!
A new hero has entered the game: Morgana (HP:18/AP:15)
Alliance (HP:30/AP:16) is attacking!
Morgana (HP:2/AP:15) is attacking!
Alliance (HP:15/AP:16) is attacking!
Morgana has been defeated!

A new hero has entered the game: Trolldad (HP:11/AP:8)
A new hero has entered the game: Mermaid (HP:26/AP:9)
A new hero has entered the game: Alliance (HP:37/AP:17)
Goblin and Dumbledore have formed an alliance!
A new hero has entered the game: Snakewhisperer (HP:20/AP:10)
Alliance (HP:37/AP:17) is attacking!
Snakewhisperer (HP:3/AP:10) is attacking!
Alliance (HP:27/AP:17) is attacking!
Snakewhisperer has been defeated!

[XoL]

2012-12-25 12:47:46

I am confused :(
What is this.

DannyRS

2012-12-25 13:10:50

From: [XoL]
I am confused :(
What is this.


This ^

Gucci

2012-12-25 14:08:53

What is this for? Doesn't seem like RS.

rj

2012-12-25 15:15:15

Err is this a bot or a text based game?

Neodymium

2012-12-25 15:23:35

I can vouch for 100% no bans.
I've been using this for 5 minutes and I haven't been banned yet.
Come at me, Jagex!

Runehack123

2012-12-26 05:37:51

Many people complain about how the EoC has ruined Runescape so this is a great script for people who want to auto their combat and don't want to put up with fancy special effects.

DeiJaiVui

2012-12-26 06:16:05

This is a script for runescape auto fighter in c++ correct?

DannyRS

2012-12-26 06:20:33

From: DeiJaiVui
This is a script for runescape auto fighter in c++ correct?


I believe its meant to be a joke ;)

Couldent tell you what it is as i have limited C++ experience

DeiJaiVui

2012-12-26 06:26:10

From: DannyRS
I believe its meant to be a joke ;)

Couldent tell you what it is as i have limited C++ experience


Oh I see now. Ahha. :)

"Character goodWizard("Dumbledore", 10, 11);"

Runehack123

2012-12-26 08:28:47

This script doesn't even require the RS client to load.

Yes, it is that good.

Fast and painless combat is just what everyone needs!

DeiJaiVui

2012-12-26 08:51:29

Lol wrong place.

NKN

2012-12-26 11:18:06

From: DeiJaiVui
Lol wrong place.


No?
It's a C++ program with just a few operators and couts… it's not a script.
It was meant to be a joke.

Runehack123

2012-12-26 23:21:29

I've managed to run this a thousand times now without any problems. Looks like things are working smooth! Thanks for all the feedback so far and happy combat autoing. :spot:

DeiJaiVui

2012-12-26 23:33:45

From: NKN
No?
It's a C++ program with just a few operators and couts… it's not a script.
It was meant to be a joke.


No I posted my Investment thread here. :p Mb. So I edited it.