C# Bot, In Progress Looking For Help

01/16/2012 21:45 rover2341#1
Request
If you have interest, and have experience working in any c language and are intersted in working on this with me post here or pm me. Currently there are 3 people working on the project.
So far Its only in C#. But If you code in another .net language and make a dll. that's fine too.

Whats Done/Works
A bot in C# Using WPF, called "Rappelz X Bot".
I have spent about 6 months on this.
The Bot can currently level to 15 on its own.

Details
  • Reads In Game Memory (HP, Mana, targetName, targetHP, ect)
  • Controls Mouse/Key Board

Whats being worked on
  • UI
  • Data Gathering

Dont know C#?
No Problem,
Create somthing in a .net lanwage and make it into a dll, that the bot can use.


Video Release

About Project/If you want To join the Project


Public Release
This release is the full project expect for the battle bot.
It will be able to change camera, path, repeat, and show some in game data.
Also List work now.

NOTE: If Any updates happen from (Date Posted (4/18/2012)) the bot may not function correctly.
Making it stand though updates is the new focus.

Setup:
- Using SandBoxie (Or a sand box program), Run Rappelz
- Log in a account
- Load a Hero
- Run RappelzXBot.exe



[Only registered and activated users can see links. Click Here To Register...]
(You have to type the code in and hit download , and then do both steps twice)

Dont have Sandboxie? [Only registered and activated users can see links. Click Here To Register...]

Q And A

Q: What Works
A: It can battle, path, change camera.

Q: What is that Picture Attached?
A: Shows the logic of Pathing.

Q: Is this a pixel bot ? (reading infos from the screen)
A: Not a Pixel Bot, All Memory reading
No, But it can be the classes just take instances of classes with a common interface. So far its all memory reading.

Q: Do you read/understand the IP-Stream
A: No
01/18/2012 10:07 veysel7216#2
link ?
01/18/2012 12:29 Wambimbo#3
There is no link:

Public Release

No Public release, in-till i am done using the bot, likely 3-4 months, but if you help me work on it, then you would have it.
01/18/2012 17:12 haj0#4
very nice, so the bot is now working or you need help to finish it? I don't have any experience in C but if you need some beta testers for the bot send me a PM and I'll give my best to send you a good feedback
01/18/2012 23:25 Gertos#5
Quote:
Originally Posted by Wambimbo View Post
..., but if you help me work on it, then you would have it.
Wambimbo = rover2341?

Write a bit more about the things that already work.
What kind of technique are you using?
Is this a pixel bot ? (reading infos from the screen)
Do you read/understand the IP-Stream ?

You noticed "Pathing". Is that working ? How do you find your own location?

Greetings
Gertos

P.S.
Maybe this link is useful for you:
[Only registered and activated users can see links. Click Here To Register...]

The old bot isn't working anymore, but there is maybe still some useful code that can be reused.
01/19/2012 11:49 Wambimbo#6
I am not rover but i am just pointing out that there is no link to the bot since its not public and if you wanna help him out you would recieve the work he made till now.
01/20/2012 20:00 rover2341#7
Added Q and A To the First Post

@haj0 Ill Keep that in mind. Ill let you know, but i am going to hold out for now.

@Gertos Thanks for the thoughts and link.

Cool I downloaded, cant get it to compile. I guess cause 64 Bit.
What stops yours from running?
One thing to keep in mind in case you want to revile your project, Using SandBoxie
Will stop the game from touching your program.

I wont answer any more questions about how to find that data in this forum.
But Feel free to pm me on a question about it and ill tell you how i did it or found it.
01/20/2012 23:15 Gertos#8
Oh, this is getting interesting.

My old Compot Software was a mix between a public Kernel Driver and a C# program.
I assume you haven’t installed the Kernel driver , so the project is missing an important file.

The 32 Bit Kernel Driver got blocked after a few weeks, so the old software wasn’t useable anymore.

I am using since 3 years now a private kernel driver for my own not published bot that works perfect since.
But it is just a pixel bot, so I use only the data that are on the screen.

( Own HP + MP in percent / Monster HP / Name of Monster ( via own OCR logic) / Status of Buffs ( Heavy Bitmap Logic); Searching for Buttons for an emergency logout / … )

One huge problem of all pixel bots is the actual location.
You can fight for hours inside of a spot and find your mobs with TAB without a problem.
After some time you slowly move out of the spot and may get into a to dangerous area.

I am still using a 32 Bit OS, so your way will not work for me.
( I have played with direct memory access as well, but all important functions are blocked under win32 in the meantime )

Now a few words about your way:
I think you focus to much on the low level quests. ( < Level 20)

Sure , all the rupies seller earn there money with low level quest, but I think they have build a own client software ( without GUI / DirectX / .. )
So they can play many many characters at the same time and earn a good amount of rupies with it.

You are using a normal client, so the typical quests rewards are not so good.
But the technique can be used for other interesting things.
e.g.
Delevel Bot ( run to a Mob and die, respawn and start again)
Farm-Bot for the Ursa Caverns (e.g. dying 12 times ~ 900 Holic Points )
Tame basic pets and build stage them to level 5

In the higher level ranges is farming nearly useless. You may find some drops, but the xp is ultra slow.
Here is a bot that supports you inside of a party better.
01/21/2012 00:55 rover2341#9
"I think you focus to much on the low level quests. ( < Level 20)"
I just need to get past the first 5 quest, There are some other really strong benefits to the way i have done it, ill try to show case it in the video.
I still dont see the point of geting much higher level. It would be nice and fun to achive but i dont see the gain, do they drop that much better drops?

"play many many characters at the same time"
I can run three instances of the game, and in theory the bot could handle all 3, but only doing input at one at a time. I have heard of ways of sending input to each at the same time. I am not smart enough to make it work with out gui/directX

"typical quests rewards are not so good"
I only do first few quest as it unlocks more features.

"Delevel bot"
This is easy, just put items in bank, delete hero, and make new hero. (I just tested this today). (Its nearly setup for auto)

My End goal is to have a bot , level to x level on its own, and start over non stop puting its items in the bank. With the ablity to grab a pet from the bank. (optional).

My goal Level for the bot is 40.
01/21/2012 11:58 Gertos#10
The drops in higher levels are much better ( R5/R6 + )
You can earn 1kk R + in an shorter amount of time easy.

But the problems in this area are also different from a low level bot.
You want to farm a longer time with your Hero and you risk your Equipment/Pet if somebody noticed that you are using a Bot.
The good farm spots are also often camped for hours , so you have to interact with other players as well.
I have normally used my bot more like a farm-helper. So I was close to the PC and watch the area/chat and the bot is doing the killing. (e.g. watching TV)

Delevel bot:
The goal is her not to start over. The goal is to build a really powerful farm character.
Level a char up to level 100 and delevel back to 25. (So you have 2. job / nearly all skills max )
This character can solo inside of the moon dungeon (even without a good pet)
With a good Pet (R5) it really rocks.
This is a good support char , if you want to farm for LAK or just Evil Items, to support your main character. This is also very nice during events :D
01/21/2012 17:53 rover2341#11
Quote:
The drops in higher levels are much better ( R5/R6 + )
You can earn 1kk R + in an shorter amount of time easy.
Good to know. This common knowledge or is there a link?

Delevel bot:
Sounds like a really cool idea.
To lose 1 Full level I am guessing at least 20 deaths. (May be much more)
I am also guessing it will take a full 2-3 min to walk to a guy die and rez.

Level 100. 20 * 75 = 1500 deaths. //Level 100 - 25 ..Only Do once (over 2-3 days is my est.)

Reach Level 40. deLevel to 25.

Level 100. 20 * 15 = 300 deaths. //Level 40 - 25 (half a day maybe)

*You would level slow, Good.
*You would farm fast
*Likely hood of geting killed would be insanely low.

Hard to say, I would need to see how fast it can delevel.
But I see what you are saying.



Question:
Is it true, when red you only get 10% exp? (like you attack other heros)
Is it true you lose more exp when your red when you die fighting?
And does your drop rate decrease?
01/21/2012 19:01 sadkingbilly#12
Quote:
Originally Posted by rover2341 View Post
Is it true, when red you only get 10% exp? (like you attack other heros)
I wouldn't say only 10% but you DO get less exp from killing mobs.

Quote:
Originally Posted by rover2341 View Post
Is it true you lose more exp when your red when you die fighting?
Yes.

Quote:
Originally Posted by rover2341 View Post
And does your drop rate decrease?
No.

About having a red name, keep in mind that some players KoS characters with red names. The only places you can be using a character like that is to solo in ursa, vulcanus, or on TI. Ursa is useful only if you can get to your 6k points/run or if there is a drop event which allow bears to drop stuff (pretty rare). And vulcanus, well, if you can make your bot change room when it's cleared, gz!. Which leaves only TI ;)
01/22/2012 01:14 Gertos#13
Quote:
Originally Posted by rover2341 View Post
Good to know. This common knowledge or is there a link?
own experience :)
Quote:
Originally Posted by rover2341 View Post
Is it true you lose more exp when your red when you die fighting?
with a white name: 3%
with a red name: 12%
Quote:
Originally Posted by rover2341 View Post
I am also guessing it will take a full 2-3 min to walk to a guy die and rez.
The best place are the "Ruins of city" in the far north.
You need from the resapwn point to some 140-150 mobs just a few sec.

----
But back to the original post:
You asked for help. What kind of task need to be done?
01/22/2012 01:48 rover2341#14
So to lose a Level. 10 deaths with red name.
Each death i think will still take around 30-60 sec. as the game had to reload the hero.
But perhaps faster then that. assuming it takes less then 30 sec from spawn to walk to monster to die.

so 10 min per level.

Do Once
1)Level Up as high as possible.
2)Level Down To Level 15

Repeat
1)Go To Cave
2)Farm Cave Intill Level x
3)DeLevel to 15.

With this, He should farm fast, Plus with a self healing pet even faster.

Hmm. This could be a long term goal.

Short team goal. Hopfuly less then 1-2 weeks. Have bot get to level 20 on its own, with the ability to grab pet from bank but be able to do it with out it. (Very Close to this goal)

If I am just going for event drops I think this isnt worth it. But If i am going for other drops, I can see the value. As for the first 25 levels red pixie kills guys in 1-2 hits. So you can farm very fast.

For now being able to get event items will be more then enoufe.
01/23/2012 00:01 sadkingbilly#15
Quote:
Originally Posted by rover2341 View Post
1)Go To Cave
What cave are you talking about?