Register for your free account! | Forgot your password?

You last visited: Today at 01:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Cubi Bot Problem

Discussion on Cubi Bot Problem within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
cyberkeks95's Avatar
 
elite*gold: 6
Join Date: Jul 2010
Posts: 585
Received Thanks: 84
Question Cubi Bot Problem

hi,

ich arbeite gerade an einem Cubi-Bot auf vBot basis

Nun habe ich folgendes Problem:
Im gegensatz zu normalen NPCs fliegt der Cubi langsam vom spieler weg, selbst wenn man auf ihn schießt.
Bei normalen NPCs könnte man einfach hinterher fliegen
beim cubi geht das nicht, da sobald die protis draußen sind (und immer wieder über den cubi fliegen) ein Pixelbot den Cubi nicht erkennen kann und somit nicht weiß in welche richtung er fliegt

Hat jemand von euch ne idee wie man dieses Problem lösen könnte?
Ich dachte vielleicht könnt es klappen wenn der bot nur nach einem Teil des cubis suchen soll (z.b. einen Ecke)?

Gruß
Cyberkeks
_______________________________________________

hi,
at the monent im working on a cubi bot
the problem is that a Cubi is slowly moving away from the player, even if he shoots at it.
so the bot has to move next to the cubi.
I ask you now how to solve this problem?
When the protis are out, its impossible for a Pixelbot to detect the cubi, because they always fly over it.

if you have any idea, post it
i thought about searching only a part of the cubi (e.g. a corner), to localize it

regards
cyberkeks
cyberkeks95 is offline  
Old 02/17/2014, 12:09   #2
Moderator




 
Scytex's Avatar
 
elite*gold: 156
Join Date: Feb 2011
Posts: 3,352
Received Thanks: 1,901
Man könnte, schätze ich einfach mal, ein bestimmtes Schiff, z.B. Bastion, nehmen und dessen Spitzen, die er immer zum Gegner richtet, suchen lassen.
Also guckt der Bot erst wo die Mitte des Bildschirms wäre und danach in welche Richtung sich die Spitze bewegt hätte. In diese müsste er sich dann auch bewegen.

So sollte er immer dem Cubi folgen.
Scytex is offline  
Old 02/17/2014, 13:22   #3
 
TskulT's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 733
Received Thanks: 777
Make it hold the mouse button after selecting it, and the make it keep the mouse between the cubi and the ship(cubi will be visible at some blinks, put the imagesearch in the loop). Use command "Click down" to hold and "Click up" to release(). And MouseMove, x, y to move the mouse.

Edit: the formula for getting the middle coords is at the point where it finds the cubi.

Code:
Click down

Loop{
	ImageSearch, CubiX, CubiY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, *20 sources\Cubikon.png
	if(ErrorLevel==0){
		Random, randx, -10, 15
		Random, randy, -5, 20
		clx := (((cx - CubiX) // 2) + CubiX)+randx
		cly := (((cy - CubiY) // 2) + CubiY)+randy
		MouseMove, %clx%, %cly%
	}else{
		break
	}
}

Click up
Something like that ^
TskulT is offline  
Thanks
2 Users
Old 02/17/2014, 16:37   #4
 
cyberkeks95's Avatar
 
elite*gold: 6
Join Date: Jul 2010
Posts: 585
Received Thanks: 84
thank you i will try it
cyberkeks95 is offline  
Reply

Tags
cubi


Similar Threads Similar Threads
Cubi Bot
02/04/2014 - DarkOrbit - 12 Replies
hi, i would like to present you my idea of a cubikon bot: for a VE Goli its easy to kill a Cubi with SAB and x3 (with apis&zeus,8 LF4 and shield booster also with x2) its easy and very lucrative but boring -.- so why ndont automate this? like palla-collecting so i had the idea of a Cubi Bot:
Can i do cubi?
12/08/2012 - DarkOrbit - 8 Replies
hello, can i do cubi alone? I have nearly 5000 dmg (without prom/seprom upgrade) x1 and i have 240 000 shields =1 conf, i have aegis, can i do cubi with it? Should i do the second confi same like this? should i use sab and x2(i dont have much x3 and no x4)?
CUBI! AWESOMENESS
10/18/2012 - DarkOrbit - 11 Replies
I just found out that the cubi keep spawning protegits !
Kbot/Ibot can take cubi?
11/28/2011 - DarkOrbit - 9 Replies
Hi, does anybody know if Kbot/Ibot will be able to kill cubicons with kamikaze in the future? And how long is there going before this functions gets added?
WTB> Non-cubi shop dupe method
07/25/2011 - Perfect World Trading - 0 Replies
I know there is a dupe method that requires no cubi shop nor dropping. Buying the method or flooder tool, willing to pay serious money. Will keep it for private use only and wont be leaked. For private servers of course.. PM me if interested.



All times are GMT +1. The time now is 01:16.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.