Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > Seafight
You last visited: Today at 18:01

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

Advertisement



[Release] NpcBot(No Custom Client)

Discussion on [Release] NpcBot(No Custom Client) within the Seafight forum part of the Browsergames category.

Reply
 
Old 11/07/2014, 20:31   #331
 
elite*gold: 0
Join Date: Jun 2012
Posts: 55
Received Thanks: 4
I cant find an option to shoot spiders and bones after event is sunk to make pearls....
333bob333 is offline  
Old 11/07/2014, 20:42   #332
 
elite*gold: 0
Join Date: Aug 2014
Posts: 135
Received Thanks: 10
Quote:
Originally Posted by 333bob333 View Post
I cant find an option to shoot spiders and bones after event is sunk to make pearls....
Spider and bones are very difficult to implement, because animations are always in moviments
XfightXX is offline  
Thanks
1 User
Old 11/07/2014, 20:48   #333
 
trolleras9's Avatar
 
elite*gold: 132
Join Date: May 2013
Posts: 1,639
Received Thanks: 863
Quote:
Originally Posted by 333bob333 View Post
I cant find an option to shoot spiders and bones after event is sunk to make pearls....
They are not possible to get recognized. Their bitmaps are constantly moving.
Pumpkins are different, they are orange and with high tolerance they get recognized.
trolleras9 is offline  
Thanks
1 User
Old 11/07/2014, 21:43   #334
 
elite*gold: 0
Join Date: Jun 2012
Posts: 55
Received Thanks: 4
Quote:
Originally Posted by trolleras9 View Post
They are not possible to get recognized. Their bitmaps are constantly moving.
Pumpkins are different, they are orange and with high tolerance they get recognized.
That really sucks but works great besides. btw ty for quick response
333bob333 is offline  
Old 11/08/2014, 02:18   #335
 
elite*gold: 0
Join Date: Oct 2012
Posts: 391
Received Thanks: 75
Doesn't work. It drives, but it doesn't attack the ships.

comproputas is offline  
Old 11/08/2014, 03:47   #336
 
elite*gold: 0
Join Date: Dec 2010
Posts: 66
Received Thanks: 8
what does that mean
[Runtime Error] : Exception: Can't allocate the DIB handle in line 4139 in script C:\Users\Talha\Desktop\NpcBot3.0.scar

V2.9 works very well for me
Talha[69] is offline  
Old 11/08/2014, 06:17   #337
 
elite*gold: 0
Join Date: Oct 2009
Posts: 271
Received Thanks: 86
maybe you do not use scar 3.22
sp0wn3d is offline  
Old 11/08/2014, 11:32   #338
 
elite*gold: 0
Join Date: Dec 2010
Posts: 66
Received Thanks: 8
Quote:
Originally Posted by sp0wn3d View Post
maybe you do not use scar 3.22
no Im using 3.22
Talha[69] is offline  
Old 11/08/2014, 11:54   #339
 
trolleras9's Avatar
 
elite*gold: 132
Join Date: May 2013
Posts: 1,639
Received Thanks: 863
Quote:
Originally Posted by comproputas View Post
Doesn't work. It drives, but it doesn't attack the ships.

1)Your zoom is not 100%
2)You havent set to true the npcs that you want to search.
Quote:
Originally Posted by Talha[69] View Post
what does that mean
[Runtime Error] : Exception: Can't allocate the DIB handle in line 4139 in script C:\Users\Talha\Desktop\NpcBot3.0.scar

V2.9 works very well for me
Ah, shit. Man, i had never looked on this, im 99% it is my script's bug. It frees up a bitmap and then tries to find it, causing it to crash. One question. Did you have MapCol := 1; ??

@To all
When sending me your debug messages, please send the first part too(the part which shows your settings and the variables).
trolleras9 is offline  
Old 11/08/2014, 22:49   #340
 
elite*gold: 0
Join Date: Dec 2010
Posts: 66
Received Thanks: 8
Quote:
Originally Posted by trolleras9 View Post
1)Your zoom is not 100%
2)You havent set to true the npcs that you want to search.

Ah, shit. Man, i had never looked on this, im 99% it is my script's bug. It frees up a bitmap and then tries to find it, causing it to crash. One question. Did you have MapCol := 1; ??

@To all
When sending me your debug messages, please send the first part too(the part which shows your settings and the variables).
no, MapCol := 2;

Debug Log
Talha[69] is offline  
Old 11/08/2014, 22:58   #341
 
trolleras9's Avatar
 
elite*gold: 132
Join Date: May 2013
Posts: 1,639
Received Thanks: 863
Quote:
Originally Posted by Talha[69] View Post
no, MapCol := 2;

Debug Log
Hmmm, autodefine seachart is false.
Can you post your manual definitions??(seamap)
trolleras9 is offline  
Old 11/08/2014, 23:21   #342
 
elite*gold: 0
Join Date: Dec 2010
Posts: 66
Received Thanks: 8
Unhappy

Quote:
Originally Posted by trolleras9 View Post
Hmmm, autodefine seachart is false.
Can you post your manual definitions??(seamap)
i think im just an idiot
i have swaped accidently Seamap and Minimap

////////////////////MANUAL DEFINITIONS/////////
smx1 := 0;//////////////////////////////////////////
smy1 := 0;/////////////////SEAMAP////////////////////
smx2 := 0;//////////////////////////////////////////
smy2 := 0; /////////////////////////////////////////
////////////////////////////////////////////////////
mmx1 := 35;///////////////////////////////////////////
mmy1 := 131;//////////////////MINIMAP/////////////////
mmx2 := 1770;//////////////////////////////////////////
mmy2 := 983;/////////////////////////////////////////
///////////////////////////////////////////////////

i m sorry it was my fault
i was looking all the time if i made a mistake here it is
Talha[69] is offline  
Old 11/08/2014, 23:48   #343
 
trolleras9's Avatar
 
elite*gold: 132
Join Date: May 2013
Posts: 1,639
Received Thanks: 863
Quote:
Originally Posted by Talha[69] View Post
i think im just an idiot
i have swaped accidently Seamap and Minimap

////////////////////MANUAL DEFINITIONS/////////
smx1 := 0;//////////////////////////////////////////
smy1 := 0;/////////////////SEAMAP////////////////////
smx2 := 0;//////////////////////////////////////////
smy2 := 0; /////////////////////////////////////////
////////////////////////////////////////////////////
mmx1 := 35;///////////////////////////////////////////
mmy1 := 131;//////////////////MINIMAP/////////////////
mmx2 := 1770;//////////////////////////////////////////
mmy2 := 983;/////////////////////////////////////////
///////////////////////////////////////////////////

i m sorry it was my fault
i was looking all the time if i made a mistake here it is
That makes sense. it was trying to find the smx2-100 which equals -100(as smx2 = 0) so an exception was thrown and it was crashing.

I also re-checked the script's drive procedure and it was very bad-written, i'll introduce a new one in v3.1
trolleras9 is offline  
Old 11/09/2014, 17:56   #344
 
elite*gold: 0
Join Date: Sep 2011
Posts: 158
Received Thanks: 18
can you make it for seamap 640 x 480? got a little screen ^^
dude999000 is offline  
Old 11/09/2014, 18:06   #345
 
trolleras9's Avatar
 
elite*gold: 132
Join Date: May 2013
Posts: 1,639
Received Thanks: 863
Quote:
Originally Posted by dude999000 View Post
can you make it for seamap 640 x 480? got a little screen ^^
You can manually define seamap.
However, im afraid that ranging npcs will not work good(so better set rangeNpc to false)
You can try it but im not sure if it is going to work good. Your field of view will be less so, it might not find npcs sometimes
trolleras9 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] Seafight Custom Client! NEW!
02/13/2015 - Seafight - 968 Replies
I fixed the problem with custom client :) Updated 07/08/2014 New ships added New island added Background color changed New ships added Updated, 13/05/2014 Turtles color fixed Turtle Hunter added
[Release] ShipwreckBot(No Custom Client)
01/13/2015 - Seafight - 68 Replies
Hey all!!! Since the event has started, i saw people asking for a shipwreckbot. I was working on npcbot but the "base script" was already ready. So i made some changes in range and bitmaps in order to shoot wrecks. For one more time, i have to mention that more than half of the procedures belong to xRiDDi, so part of the credits go to him. The bot is almost ready. Everything is working good, however if you find any bug report it here in order to be fixed as fast as possible. What does it...
[Release] BM Bot Klasse (No Custom Client)
01/04/2014 - Seafight - 10 Replies
BM Bot Klasse Scar (No Custom Client) http://image.noelshack.com/fichiers/2014/01/13887 81373-bm-bot-klasse.jpg https://www.virustotal.com/en/file/388aaa19076c5f 7bb487223854c910a9c236bb580fc7d88ae9e8f9ac13bb98d4 /analysis/1388782118/
Release seafight custom client scar
03/30/2013 - Seafight - 2 Replies
http://www.elitepvpers.com/forum/seafight/2450719- release-seafight-custom-client-scar-bot-edition.ht ml What is the script that i need for glitzi with this custom client from _Creator_ ?? :)
[RELEASE]Custom Client Background PSD
02/19/2010 - EO Weapon, Armor, Effects & Interface edits - 4 Replies
I better not find this released ANYWHERE unless I've posted it. :rtfm::rtfm::rtfm: Here is the PSD to my custom client background. Preview: http://i46.tinypic.com/iwuk3q.png



All times are GMT +1. The time now is 18:02.


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.