Not a member yet? Register for your free account!

 

Go Back   elitepvpers > Other Online Games > Florensia

 

Florensia & AutoIT Bot Script v1.0

This is a discussion on Florensia & AutoIT Bot Script v1.0 within the Florensia forum part of the Other Online Games category; Hi guys, just finished to wrote down what you will see below. It is a simple AutoIT script which works ...

Reply
 
LinkBack Thread Tools
Old 10-10-2009, 04:31   #1
Member
 
Join Date: May 2006
Posts: 54
Received Thanks: 0
Exclamation Florensia & AutoIT Bot Script v1.1

Hi guys,
just finished to wrote down what you will see below.

It is a simple AutoIT script which works like this:
- Finds a target
- Hit target until it dies [Normal attack only]
- Loot target
- Check Character HP, If low it rests, otherwise it will loop back from start.

The only part missing in this work is a valid method to bypass HShield.
I have tried the method being used for S4 League:
[working] S4 League Hackshield Bypass *found*
Injecting FlorensiaEN.bin instead of S4 Client... but I got detected after 5-10 mins....

SO THIS ISN'T A FULLY WORKING RELEASE, DON'T ASK FOR ONE

*IMPORTANT*

1) I would really appreciate suggests on how to bypass HShield.
2) I would really appreciate suggests on how to optimize the "Get Monster HP/Get Character HP" part, cause I really think that GetPixelColor as I am doing isn't the best one...

Note: This is my first time trying on something like this
[Actually optimized for my computer for Pixel retrieving part]
[The game should be set in FullScreen Mode - Resolution: 1024x768x32]
[Automatic LOOT Option should be flagged in-game]


Source of V1.1 - Replaced numbers of skill bars with in-game built actions.
Code:
Sleep(5000)
Call ("FindTarget")
Func FindTarget()
   Sleep ( 500 )
   Send( "{TAB}" )
   Sleep ( 500 )
   Call ("Attack")
EndFunc

Func Attack()
   Send("{SPACE}")
   $MobHP = PixelGetColor(411,37)
   If $MobHP = 0x050103 Then
	   Sleep(1000)
	   Call("Attack")
   Else
	   Send("{SPACE}")
   EndIf

   Call ("Loot")
   $CharHP = PixelGetColor(143,36)
   If $CharHP = 0x611731 Then
   Call ("Rest")
   Else
	   Call ("FindTarget")
	   EndIf
   EndFunc
   
   Func Rest()
   Send ("{Z}")
   sleep (10000)
   Send ("{W}")
   Call ("FindTarget")
   EndFunc
   
   Func Loot()
	   Sleep(1000)
	   Send("{X}")
	   Sleep(3000)
	   Call ("FindTarget")
   EndFunc
I'm attaching the source and the compiled exe.
The password for the Archive is: www.elitepvpers.de
Attached Files
File Type: rar Florensia AutoIT Bot - v1.1.rar (268.3 KB, 309 views)


Last edited by Walter Sobchak; 03-03-2010 at 15:11. Reason: Updated to Version v1.1
r3dbull88 is offline  
Old 10-10-2009, 04:35   #2
Member
 
Join Date: May 2006
Posts: 54
Received Thanks: 0
Checked on VirusTotal, no virus founds.

Last edited by r3dbull88; 10-10-2009 at 04:37.
r3dbull88 is offline  
Old 10-10-2009, 10:05   #3
Stiffmeister
 
pwna=)'s Avatar
 
Join Date: Oct 2007
Posts: 243
Received Thanks: 21
nice first try dude.
but anyway the bypass is needed i lookin for one ,too
how u managed the hp,i only see pixelgetcolor,how it should work ô.o
and it would nice for some who not know autoit to explain which skill is which key.

Last edited by pwna=); 10-10-2009 at 10:19.
pwna=) is offline  
Old 10-10-2009, 13:04   #4
Senior Member
 
LemoniscooL's Avatar
 
Join Date: Sep 2006
Posts: 631
Received Thanks: 149
okay nice try but...

  1. use timers instead of sleep
  2. use commandsend instead of send
  3. dont use pixelgetcolor ... it sucks xD
  4. florensia already has shortcuts to attack, next mob, loot etc they are as follows
    Code:
    Next Mob: [Tab]
    Attack: [Space]
    Loot: [X]
    SitDown: German: [Y] | English: [Z]
  5. you forgot to tell the ppl to set the Game Option for Automatic Loot
  6. you forgot to tell the ppl what solution they should set your game to and weather it is FullScreen or windowed mode, if windowed mode where to place the window etc... cuz you use pixelgetcolor and it only gets the color of a certain place on your screen

for a HShield bypass get a disassembler and look arount in the FlorensiaEN.bin its really not hard but actually there seems to be a server side check you would have to emulate with c++

if this would work it could be an alternate bot until our new bot is released xD

greetz

Last edited by LemoniscooL; 10-10-2009 at 13:07.
LemoniscooL is online now  
Old 10-10-2009, 17:20   #5
Member
 
Join Date: May 2006
Posts: 54
Received Thanks: 0
Quote:
Originally Posted by pwna=) View Post
nice first try dude.
but anyway the bypass is needed i lookin for one ,too
how u managed the hp,i only see pixelgetcolor,how it should work ô.o
and it would nice for some who not know autoit to explain which skill is which key.
Thank you =)
I managed to involve the HP Check in a very very simple way:

- I first got coordinates and the pixel color of the very initial part of the monster HP Bar.

Click HERE for a screenshot Example, to understand better.

I got the coordinates and the pixel color by this external Func:

HotKeySet("{F4}", "GetPixelColor")
While 1
Sleep (1000)
WEnd

Func GetPixelColor()
$pos = MouseGetPos()
$var = PixelGetColor( $pos[0] , $pos[1] )
MsgBox(0,"The hex color is", Hex($var, 6))
MsgBox(0, "Mouse x,y:", $pos[0] & "," & $pos[1]);
EndFunc


Quote:
Originally Posted by eMale View Post
okay nice try but...

  1. use timers instead of sleep
  2. use commandsend instead of send
Ehm...
I should study on timers and commandsend to check weither them are better or just trickier to implement XP

Quote:
Originally Posted by eMale View Post
  1. dont use pixelgetcolor ... it sucks xD
Alternative to it?
Quote:
Originally Posted by eMale View Post
  1. florensia already has shortcuts to attack, next mob, loot etc they are as follows
    Code:
    Next Mob: [Tab]
    Attack: [Space]
    Loot: [X]
    SitDown: German: [Y] | English: [Z]
Didn't know this, I'm going to change it now, so there is no problem to Skill Bar settings of every different user.

Quote:
Originally Posted by eMale View Post
  1. you forgot to tell the ppl to set the Game Option for Automatic Loot
  2. you forgot to tell the ppl what solution they should set your game to and weather it is FullScreen or windowed mode, if windowed mode where to place the window etc... cuz you use pixelgetcolor and it only gets the color of a certain place on your screen
Yeah... the Automatic Loot, forgot that :P
About Resolution and Window/Full Screen.... I didn't mention that since it wasn't meant to be a working release and I mentioned that the program was optimized for my PC. =P
By the way I'll update my first post wih those infos

Quote:
Originally Posted by eMale View Post
for a HShield bypass get a disassembler and look arount in the FlorensiaEN.bin its really not hard but actually there seems to be a server side check you would have to emulate with c++

if this would work it could be an alternate bot until our new bot is released xD

greetz
I really don't get this part lul...
I can get inside FlorensiaEN.bin.... but...
"there seems to be a server side check you would have to emulate with c++"
How can you "translate" this into code XP?

Thanks for every suggestion


EDIT:// Updated to version 1.1

Last edited by r3dbull88; 10-10-2009 at 17:37.
r3dbull88 is offline  
Old 10-10-2009, 18:17   #6
Senior Member
 
LemoniscooL's Avatar
 
Join Date: Sep 2006
Posts: 631
Received Thanks: 149
timers and commandsend are both .. better and trickier ^^
you cant translate my last sentence simply into code .. thats higher knowledge of programming/gamehacking
an alternative to pixelgetcolor is to read the memory values
LemoniscooL is online now  
Old 10-10-2009, 18:32   #7
Member
 
Join Date: May 2006
Posts: 54
Received Thanks: 0
Quote:
Originally Posted by eMale View Post
timers and commandsend are both .. better and trickier ^^
you cant translate my last sentence simply into code .. thats higher knowledge of programming/gamehacking
an alternative to pixelgetcolor is to read the memory values
I think I will go deeper on this.
Next function to implement:
Get Mob's HP / Char HP by memory read.

Will I get it?

Let's try... =P *excited*

*Any hints on finding address / pointers?

Last edited by r3dbull88; 10-10-2009 at 18:35.
r3dbull88 is offline  
Old 10-10-2009, 18:36   #8
Stiffmeister
 
pwna=)'s Avatar
 
Join Date: Oct 2007
Posts: 243
Received Thanks: 21
it should be simple to read them out,
but anyway it all kinda nice if u finished the bot...
then u have the prob with the hs bypass so.. >.<
pwna=) is offline  
Old 10-10-2009, 18:39   #9
Senior Member
 
LemoniscooL's Avatar
 
Join Date: Sep 2006
Posts: 631
Received Thanks: 149
find the adresses with cheat engine but for that you need hs to be bypassed or an undetected one
and you need to find the static adesses and the offsets to form pointers in autoit ^^
LemoniscooL is online now  
Old 10-10-2009, 19:30   #10
Member
 
Join Date: May 2006
Posts: 54
Received Thanks: 0
Quote:
Originally Posted by eMale View Post
find the adresses with cheat engine but for that you need hs to be bypassed or an undetected one
and you need to find the static adesses and the offsets to form pointers in autoit ^^
I can't attach FlorensiaEN.bin to CE... how to do that?

I get the error:
Error while opening this process

I'm trying to attach CE to this process after Florensia Client is being launched, cause otherwise I get HackShield-Catched =P

Last edited by r3dbull88; 10-10-2009 at 19:34.
r3dbull88 is offline  
Reply

Thread Tools




All times are GMT +2. The time now is 11:28.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0