Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Kirk's Bot

 
Post new topic   Reply to topic Printable version
 View previous topic  VB Bots Post :: Post Ship plugin..  View next topic  
Author Message
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Fri Dec 31, 2004 1:59 am    Post subject: Kirk's Bot Reply to topic Reply with quote

Everytime I try to compile Kirk's bot, it gives me errors. Even though I havent done a single thing to it. I dont know C++, so Im going to learn from his bot. But could someone first get rid of those errors Im getting? Thanks.

**I can attach the file because its too big, but you can get the same source files from his website: http://www.metalgearctf.net/kirksbots/sourcedl.php
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Dec 31, 2004 2:56 am    Post subject: Reply to topic Reply with quote

Why don't you tell us what errors you are getting; what compiler are you using, etc.
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Fri Dec 31, 2004 3:02 am    Post subject: Reply to topic Reply with quote

Im using Microsoft Visual C+6 6.0

Compiling...
BotCore.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Checksum.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
CommWrapper.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
ConInterp.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
FileInterp.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Log.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
LogicBot.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
SSPacket.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
SSProtocol.cpp
c:\documents and settings\yader\desktop\projects\intel bot\source\logicbot.h(12) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Generating Code...
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\BotCore.sbr': No such file or directory
Error executing bscmake.exe.

LogicBot.exe - 10 error(s), 0 warning(s)


Though these files seem to be there.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Dec 31, 2004 3:36 am    Post subject: Reply to topic Reply with quote

You're missing zlib; i wonder if you borrowed the appropriate files from merv, i wonder it'd it'd build.. :shrug:
Back to top
View users profile Send private message Add User to Ignore List
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Fri Dec 31, 2004 10:53 am    Post subject: Reply to topic Reply with quote

zlib.h is there. I had to put it in manually because it wasnt there before. But even though i did that, it still gives me those errors...
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Dec 31, 2004 11:02 am    Post subject: Reply to topic Reply with quote

did you include it in your project?
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Fri Dec 31, 2004 12:02 pm    Post subject: Reply to topic Reply with quote

Yea, but I might been doing something wrong. Again I dont know anything about this program. All I did is go to the option to "Add files or Folder" and I inserted zlib.h
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Dec 31, 2004 1:29 pm    Post subject: Reply to topic Reply with quote

uhhh zlib.h needs to either be in your include directory or in \source.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Fri Dec 31, 2004 2:08 pm    Post subject: Reply to topic Reply with quote

It is, but its not working...
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Jan 01, 2005 1:37 pm    Post subject: Reply to topic Reply with quote

Wait, is it <zlib.h> or "zlib.h"?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Sat Jan 01, 2005 2:05 pm    Post subject: Reply to topic Reply with quote

zlib.h
Back to top
View users profile Send private message Add User to Ignore List
myke
Seasoned Helper


Gender:Gender:Male
Joined: Sep 11 2003
Posts: 142
Offline

PostPosted: Sat Jan 01, 2005 2:27 pm    Post subject: Reply to topic Reply with quote

Pixel wrote:
zlib.h


he asked if it says #include <zlib.h> or #include "zlib.h" he knows it says zlib.h but in which format
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Sat Jan 01, 2005 2:49 pm    Post subject: Reply to topic Reply with quote

I have no clue. Like I stated above, I have no idea about C++ and im trying to learn.

I knew c++ was complicated and hard, but I would've never guessed it would've been so complicated from the start without editing anything icon_cry.gif
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sat Jan 01, 2005 7:01 pm    Post subject: Reply to topic Reply with quote

Uhhh look in logicbot.h. The line myke and I are talking about will be somewhere near the top of the file.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Sat Jan 01, 2005 11:04 pm    Post subject: Reply to topic Reply with quote

<zlib.h>
Back to top
View users profile Send private message Add User to Ignore List
myke
Seasoned Helper


Gender:Gender:Male
Joined: Sep 11 2003
Posts: 142
Offline

PostPosted: Sun Jan 02, 2005 3:10 am    Post subject: Reply to topic Reply with quote

change it to #include "zlib.h" and see if that works
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Sun Jan 02, 2005 3:18 pm    Post subject: Reply to topic Reply with quote

Now im getting 56 errors :sigh:


--------------------Configuration: LogicBot - Win32 Debug--------------------
Compiling...
BotCore.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
Checksum.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
CommWrapper.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
ConInterp.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
FileInterp.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
Log.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
LogicBot.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
SSPacket.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
SSProtocol.cpp
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\logicbot.h(12) : error C2006: #include expected a filename, found 'identifier'
c:\documents and settings\yader\desktop\projects\c++\ssprotocol.cpp(1010) : error C2065: 'uLongf' : undeclared identifier
c:\documents and settings\yader\desktop\projects\c++\ssprotocol.cpp(1010) : error C2146: syntax error : missing ';' before identifier 'UCLen'
c:\documents and settings\yader\desktop\projects\c++\ssprotocol.cpp(1010) : error C2065: 'UCLen' : undeclared identifier
c:\documents and settings\yader\desktop\projects\c++\ssprotocol.cpp(1011) : error C2065: 'Z_OK' : undeclared identifier
c:\documents and settings\yader\desktop\projects\c++\ssprotocol.cpp(1035) : error C2065: 'uncompress' : undeclared identifier
c:\documents and settings\yader\desktop\projects\c++\ssprotocol.cpp(1038) : error C2065: 'Z_BUF_ERROR' : undeclared identifier
Generating Code...
Error executing cl.exe.
Creating browse info file...

LogicBot.exe - 53 error(s), 0 warning(s)
Back to top
View users profile Send private message Add User to Ignore List
myke
Seasoned Helper


Gender:Gender:Male
Joined: Sep 11 2003
Posts: 142
Offline

PostPosted: Sun Jan 02, 2005 4:09 pm    Post subject: Reply to topic Reply with quote

yeah sorry i can't help i lost my VC++ cd but you took out #include <zlib.h> and made it #include "zlib.h"

make sure its
Code: Show/Hide
#include "zlib.h"


not
Code: Show/Hide
#include 'zlib.h'
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sun Jan 02, 2005 4:34 pm    Post subject: Reply to topic Reply with quote

Jesus, is it that hard to read?
Back to top
View users profile Send private message Add User to Ignore List
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Sun Jan 02, 2005 5:31 pm    Post subject: Reply to topic Reply with quote

--------------------Configuration: LogicBot - Win32 Debug--------------------
Linking...
SSProtocol.obj : error LNK2001: unresolved external symbol "public: __thiscall SSReliable::SSReliable(void)" (??0SSReliable@@QAE@XZ)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: __thiscall SSReliable::~SSReliable(void)" (??1SSReliable@@QAE@XZ)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: class SSPacket __thiscall SSReliable::GetFromServer(void)" (?GetFromServer@SSReliable@@QAE?AVSSPacket@@XZ)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: bool __thiscall SSReliable::AvailableFromServer(void)const " (?AvailableFromServer@SSReliable@@QBE_NXZ)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: void __thiscall SSReliable::AddFromServer(unsigned __int32,class SSPacket const &)" (?AddFromServer@SSReliable@@QAEX_IABVSSPacket@@@Z)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: void __thiscall SSReliable::AddFromClient(class SSPacket &)" (?AddFromClient@SSReliable@@QAEXAAVSSPacket@@@Z)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: class SSPacket __thiscall SSReliable::GetFromClient(unsigned __int32,unsigned __int32)" (?GetFromClient@SSReliable@@QAE?AVSSPacket@@_I0@Z)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: bool __thiscall SSReliable::AvailableFromClient(unsigned __int32,unsigned __int32)const " (?AvailableFromClient@SSReliable@@QBE_N_I0@Z)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: void __thiscall SSReliable::RemoveFromClient(unsigned __int32)" (?RemoveFromClient@SSReliable@@QAEX_I@Z)
SSProtocol.obj : error LNK2001: unresolved external symbol "public: void __thiscall SSReliable::Clear(void)" (?Clear@SSReliable@@QAEXXZ)
Debug/LogicBot.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.

LogicBot.exe - 11 error(s), 0 warning(s)
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Jan 02, 2005 11:06 pm    Post subject: Reply to topic Reply with quote

Sounds like you're not linking one of the cpp files you need?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Mon Jan 03, 2005 12:18 am    Post subject: Reply to topic Reply with quote

YEA?! thats great... can you tell me which one do i "link" and how do i "link" ?
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Mon Jan 03, 2005 12:29 am    Post subject: Reply to topic Reply with quote

Someone give this guy a zip (or another type) archive with a VC++ project in it which is ready for compiling, this is getting sad.
Back to top
View users profile Send private message Add User to Ignore List
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Mon Jan 03, 2005 12:41 am    Post subject: Reply to topic Reply with quote

THANK YOU! This is what ive been waiting for....
Back to top
View users profile Send private message Add User to Ignore List
Pixel
Newbie


Joined: Dec 30 2004
Posts: 16
Offline

PostPosted: Tue Jan 04, 2005 1:29 pm    Post subject: Reply to topic Reply with quote

bump
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 1541 page(s) served in previous 5 minutes.

phpBB Created this page in 8.658525 seconds : 49 queries executed (99.4%): GZIP compression disabled