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
How to compile MervBot with VC++ 6.0

 
Post new topic   Reply to topic Printable version
 View previous topic  Star Trek DS9 needs a duel bot Post :: Post Change multiple settings in one swipe  View next topic  
Author Message
MineToo!!!
Guest


Offline

PostPosted: Fri Jan 31, 2003 4:34 pm    Post subject: How to compile MervBot with VC++ 6.0 Reply to topic Reply with quote

Hi!
I`ve tried to compile Mervbot using VC++ 6.0 since it doesen`t support VC++ 7.0`s vcproj files...

This is what I`ve done :
1.File->New->Win32 Console Application
2.Empty Project
3.Project->Add to Project->Files
4.Added all of Mervbots source files which came in the src.zip file with Mervbot except the files which came in Backup.zip.
5.Compiled...

Then I get the following errors :
src\basewin.cpp(22) : error C2065: 'MEMCPY' : undeclared identifier
src\bigint.cpp(34) : error C2065: 'MEMCPY' : undeclared identifier
src\fileio.cpp(32) : warning C4018: '==' : signed/unsigned mismatch
src\md5.cpp(255) : error C2065: 'MEMCPY' : undeclared identifier
Error executing cl.exe.
db2.exe - 3 error(s), 1 warning(s)

I`ve tried including those files in backup.zip as well, but then I get lots of unresolved externals which I bet are winsock APIs..

What have I done wrong now ?icon_sad.gif

-MineToo!!!
Back to top
SOS
Server Help Squatter


Joined: Dec 02 2002
Posts: 329
Offline

PostPosted: Sat Feb 01, 2003 4:11 am    Post subject: Reply to topic Reply with quote

Those ARE the backup.zip files..... get rid of them
_________________
3y3 4m l33t h4x0r
j0! 3y3 4m t4lking to j00!
fux0red 5cr1pt k1dd13.
-"l33t h41ku"
Back to top
View users profile Send private message Add User to Ignore List Send email
MineToo!!
Guest


Offline

PostPosted: Sat Feb 01, 2003 8:42 am    Post subject: Reply to topic Reply with quote

Uh-oh, that`s right icon_smile.gif

Okay, here are the errors when I add only the files in src.zip without backup.zip :

Code: Show/Hide
Compiling...
algorithms.cpp
botdb.cpp
botdll.cpp
botinfo.cpp
checksum.cpp
chunk.cpp
client.cpp
clientprot.cpp
command.cpp
commtypes.cpp
datatypes.cpp
dllcore.cpp
encrypt.cpp
hack.cpp
host.cpp
hostlist.cpp
map.cpp
player.cpp
prng.cpp
sockets.cpp
specialprot.cpp
system.cpp
Linking...
sockets.obj : error LNK2001: unresolved external symbol __imp__WSAGetLastError@0
sockets.obj : error LNK2001: unresolved external symbol __imp__WSAStartup@8
sockets.obj : error LNK2001: unresolved external symbol __imp__WSACleanup@0
sockets.obj : error LNK2001: unresolved external symbol __imp__closesocket@4
sockets.obj : error LNK2001: unresolved external symbol __imp__WSACloseEvent@4
sockets.obj : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
sockets.obj : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
sockets.obj : error LNK2001: unresolved external symbol __imp__bind@12
sockets.obj : error LNK2001: unresolved external symbol __imp__socket@12
sockets.obj : error LNK2001: unresolved external symbol __imp__sendto@24
sockets.obj : error LNK2001: unresolved external symbol __imp__recvfrom@24
sockets.obj : error LNK2001: unresolved external symbol __imp__WSAWaitForMultipleEvents@20
sockets.obj : error LNK2001: unresolved external symbol __imp__htons@4
sockets.obj : error LNK2001: unresolved external symbol __imp__inet_ntoa@4
sockets.obj : error LNK2001: unresolved external symbol __imp__gethostbyname@4
sockets.obj : error LNK2001: unresolved external symbol __imp__inet_addr@4
sockets.obj : error LNK2001: unresolved external symbol __imp__gethostname@8
system.obj : error LNK2001: unresolved external symbol _uncompress
Debug/DB1.exe : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.

DB1.exe - 19 error(s), 0 warning(s)


Any clue?
icon_eek.gif
MineToo!!
Back to top
SOS
Server Help Squatter


Joined: Dec 02 2002
Posts: 329
Offline

PostPosted: Sat Feb 01, 2003 11:10 am    Post subject: Reply to topic Reply with quote

Link to ws2_32.lib
Back to top
View users profile Send private message Add User to Ignore List Send email
MineToo!!
Guest


Offline

PostPosted: Sat Feb 01, 2003 11:14 am    Post subject: Reply to topic Reply with quote

Agh, of course icon_smile.gif

Works now! Thanks!

-MineToo!!
Back to top
Ras Kass
Guest


Offline

PostPosted: Thu Apr 10, 2003 2:06 pm    Post subject: Mervbot compile Reply to topic Reply with quote

Sorry for bringing up an old post, but I'm having the same problem compiling the MERVbot. I typed

#pragma comment (lib, "Ws2_32.lib")

in one of the headers, and I'm still getting


Compiling...
sockets.cpp
Linking...
system.obj : error LNK2001: unresolved external symbol _uncompress
Debug/Soccer Bot Core.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

Soccer Bot Core.exe - 2 error(s), 0 warning(s)

any suggestions?
Back to top
catid
Guest


Offline

PostPosted: Fri Apr 25, 2003 10:53 am    Post subject: solution Reply to topic Reply with quote

#pragma comment (lib, "zlibdll.lib")
Back to top
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: 71 page(s) served in previous 5 minutes.

phpBB Created this page in 0.469961 seconds : 31 queries executed (95.1%): GZIP compression disabled