GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Aug-2003, 15:28
Boogy Boogy is offline
New Member
 
Join Date: Aug 2003
Posts: 5
Boogy is an unknown quantity at this point

C++ Irc Bot


Hello I downloaded the source code to an IRC bot, and Im having trouble compiling it.

I get the following errors.

--------------------Configuration: ZOMBOT - Win32 Debug--------------------
Compiling...
ZOMBOT.CPP
c:\documents and settings\administrator\desktop\zombot\hide.cpp(2) : error C4226: nonstandard extension used : '__pascal' is an obsolete keyword
c:\documents and settings\administrator\desktop\zombot\util.cpp(40) : error C2143: syntax error : missing ';' before '}'
c:\documents and settings\administrator\desktop\zombot\brolist.cpp( 16) : error C2065: 'setmem' : undeclared identifier
c:\documents and settings\administrator\desktop\zombot\parser.cpp(1 : error C2106: '=' : left operand must be l-value
c:\documents and settings\administrator\desktop\zombot\rndstr.cpp(1 6) : error C2106: '^=' : left operand must be l-value
c:\documents and settings\administrator\desktop\zombot\rndstr.cpp(2 4) : warning C4244: '=' : conversion from 'unsigned long' to 'char', possible loss of data
c:\documents and settings\administrator\desktop\zombot\irctool.cpp( 30) : warning C4244: 'argument' : conversion from 'unsigned long' to 'unsigned short', possible loss of data
c:\documents and settings\administrator\desktop\zombot\sleep.cpp( : error C2664: 'RegQueryValueExA' : cannot convert parameter 5 from 'char *' to 'unsigned char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrator\desktop\zombot\sleep.cpp(14 ) : error C2664: 'RegSetValueExA' : cannot convert parameter 5 from 'char *' to 'const unsigned char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\documents and settings\administrator\desktop\zombot\install.cpp( 12) : error C2664: 'RegSetValueExA' : cannot convert parameter 5 from 'char *' to 'const unsigned char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.

ZOMBOT.exe - 8 error(s), 2 warning(s)


Was wondering if anyone could help me ?

And tell me what file I can find the setmem function in.

THanks
  #2  
Old 09-Aug-2003, 16:35
Garth Farley Garth Farley is offline
Awaiting Email Confirmation
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
Hey, welcome to the forums!

It looks like a compiler thing, so where did you get the source & what compiler <if any> was recommended?

It's hard to debug without any source

The only mention of a www.clipx.net function I can see is one of Turbo C's propietry functions. Not part of the ANSI standard.

GF
  #3  
Old 09-Aug-2003, 18:41
Boogy Boogy is offline
New Member
 
Join Date: Aug 2003
Posts: 5
Boogy is an unknown quantity at this point
I got the source from http://www.z0mbie.host.sk/zombot.zip
and I am using Mircosoft Visual Studio C++ Compiler.

And I wasnt recommended a compiler.. im just one of those M$ idiots lol.

Thanks for the reply.

Too many .cpp files make me go crazy
  #4  
Old 11-Aug-2003, 18:18
Boogy Boogy is offline
New Member
 
Join Date: Aug 2003
Posts: 5
Boogy is an unknown quantity at this point
Garth could you download the source and try to compile.. see how many errors you get with your compiler ? plz and thx.
  #5  
Old 12-Aug-2003, 12:49
Garth Farley Garth Farley is offline
Awaiting Email Confirmation
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
I'll try, but at the moment, I've only access to work PCs (I've been moved for the summer), so only if I've time.

If anyone else could help out, I'd appreciate it.

GF
  #6  
Old 13-Aug-2003, 14:10
Boogy Boogy is offline
New Member
 
Join Date: Aug 2003
Posts: 5
Boogy is an unknown quantity at this point
Ah no need, I fixed it. You were right it was the compiler. I used lcc compiler and it worked fine.
  #7  
Old 01-May-2004, 09:12
DarkSteel DarkSteel is offline
New Member
 
Join Date: May 2004
Posts: 2
DarkSteel is on a distinguished road

virus


Just to let those of you who dont have an antivirus. Enclosed in that zip file were various viruses that my anti virus picked up. Just to let you know
  #8  
Old 03-May-2004, 09:18
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Thanks for the warning, DarkSteel. I will remove the link to the infected file.
  #9  
Old 03-May-2004, 11:50
aaroncohn's Avatar
aaroncohn aaroncohn is offline
Regular Member
 
Join Date: Feb 2004
Location: Bay Area, CA.
Posts: 564
aaroncohn is a jewel in the roughaaroncohn is a jewel in the roughaaroncohn is a jewel in the rough
Bots are always regarded as viruses due to their explicit ability to run code on the host machine. It is not necessarily malicious.
__________________
-Aaron
  #10  
Old 03-May-2004, 11:57
Garth Farley Garth Farley is offline
Awaiting Email Confirmation
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
If I remember correctly, the zip file had only source code enclosed. It may have been taken over or something ??:
GF
 
 

Recent GIDBlogNot selected for officer school by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:20.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.