.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > RealBot > The RealBot 'Source'
The RealBot 'Source' Discuss things about the source code. You can here point out bugs, share ideas and code. Assign to become an 'official team member' and so on!

Reply
 
Thread Tools
Re: Creating a workspace...
Old
  (#11)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: Creating a workspace... - 10-06-2004

Anywhere. Just set paths.
  
Reply With Quote
Re: Creating a workspace...
Old
  (#12)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Re: Creating a workspace... - 10-06-2004

Thanks. It compiled and is running now. I noticed it puts the new shared object file into the "Release" folder. Do I need to worry about anything besides copying the new shared object to the realbot dll folder? I saw a file called realbot_mm.map and wasn't sure if I need that for something. Anway, it appears to be working now. Will be testing tonight and then possibly starting to work on my own tweaks.


Nowhere does science promise emancipation.
  
Reply With Quote
Re: Creating a workspace...
Old
  (#13)
dstruct2k
 
dstruct2k's Avatar
 
Status: Offline
Posts: 225
Join Date: Feb 2004
Default Re: Creating a workspace... - 10-06-2004

Only the dll is needed. Other files are generated by VisualStudio during compile.
  
Reply With Quote
Re: Creating a workspace...
Old
  (#14)
yangmungi
Guest
 
Status:
Posts: n/a
Default Re: Creating a workspace... - 19-06-2004

--------------------Configuration: realbot_mm - Win32 Release--------------------Compiling...
bot.cpp
C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
(same 12 errors)

is this because its msvc++ 6.0?
  
Reply With Quote
Re: Creating a workspace...
Old
  (#15)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Creating a workspace... - 19-06-2004

I had that too you need to put the realbot paths on top of the list of paths, and it gives them higher priority

Hope this helps
  
Reply With Quote
Re: Creating a workspace...
Old
  (#16)
yangmungi
Guest
 
Status:
Posts: n/a
Default Re: Creating a workspace... - 20-06-2004

YES!! thank you musicman. time to learn some post college level code..
  
Reply With Quote
Re: Creating a workspace...
Old
  (#17)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: Creating a workspace... - 20-06-2004

no problem

Last edited by MusicMan; 20-06-2004 at 11:50..
  
Reply With Quote
Re: Creating a workspace...
Old
  (#18)
minorgod
Member
 
minorgod's Avatar
 
Status: Offline
Posts: 43
Join Date: Jan 2004
Default Re: Creating a workspace... - 21-06-2004

:o Thanks. I thought I had tried that already, but I had missed one of the include files so only two of the three MS includes were below the realbot includes. I fixed it and it finally compiled. Yay! Now I don't feel like I wasted an entire Sunday.

EDIT: Sorry...wrong thread


Nowhere does science promise emancipation.

Last edited by minorgod; 21-06-2004 at 02:18..
  
Reply With Quote
Re: Creating a workspace...
Old
  (#19)
[BBB]sluggo
Member
 
[BBB]sluggo's Avatar
 
Status: Offline
Posts: 153
Join Date: Jan 2004
Location: Stockholm, Sweden
Default Re: Creating a workspace... - 10-08-2004

Ok, bare with me now.... I'm totaly new to this.
When I try to compile realbot with visual-MinGW 0.56 I get errors... I'm not surpriced 9_9

This is what I get when trying to build.
./HLSDK/Multiplayer/dlls/extdll.h:62: No such file or directory
./HLSDK/Multiplayer/dlls/extdll.h:63: No such file or directory
./HLSDK/Multiplayer/dlls/extdll.h:64: No such file or directory
./HLSDK/Multiplayer/dlls/extdll.h:78: No such file or directory
./HLSDK/Multiplayer/dlls/extdll.h:79: No such file or directory
./HLSDK/Multiplayer/dlls/extdll.h:80: No such file or directory
./HLSDK/Multiplayer/dlls/extdll.h:83: No such file or directory
./HLSDK/Multiplayer/dlls/enginecallback.h:19: No such file or directory
./HLSDK/Multiplayer/dlls/player.h:19: No such file or directory
./HLSDK/Multiplayer/dlls/animation.cpp:29: No such file or directory
./HLSDK/Multiplayer/dlls/animation.cpp:30: No such file or directory
./HLSDK/Multiplayer/dlls/animation.cpp:31: No such file or directory
./HLSDK/Multiplayer/dlls/animation.cpp:32: No such file or directory
./HLSDK/Multiplayer/dlls/animation.cpp:34: No such file or directory
./HLSDK/Multiplayer/dlls/client.cpp:36: No such file or directory
./HLSDK/Multiplayer/dlls/client.cpp:38: No such file or directory

..... and so on. The include files are there somewhere in different dirs exept "malloc.h" or something, I don't have that one?
Well never mind, it crashed now and It refuses to open my project again :'(

I will try to convince the ppl at work to give me one of our licences for MS visual c++ ... I don't think that will help but I don't want to spend any more time on this right now.. I will throw the computer out the window if I keep trying to get this right. (not a joke, I spent the last 10 waken hours on this and it has gotten me nowhere, exept some experience on how NOT to do things )


An expert is a person who has made all the mistakes that can be made in a very narrow field. Niels Bohr (1885 - 1962)
  
Reply With Quote
Re: Creating a workspace...
Old
  (#20)
evy
Guest
 
Status:
Posts: n/a
Default Re: Creating a workspace... - 10-08-2004

Regarding Windows compilation, I'm also using MinGW (but not the visual one) and my Makefile:

Code:
 # Based on a Makefile from Hacker Harry (for MinGW32 support) 

# and the original Makefile from Stefan (?)

#

# Merge by eric@vyncke.org on $Date: 2004/07/20 19:29:24 $

#

# It is a Makefile for MinGW32 only

#

CPP = g++

ARCHFLAG = i386

METAMOD_SRCDIR = /d/sierra/metamod-1.17/metamod

HLSDK_BASEDIR = /d/sierra/HLSDK

BASEFLAGS = -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp

CPPFLAGS = ${BASEFLAGS} -march=${ARCHFLAG} -O2 -w -I"${METAMOD_SRCDIR}" -I"${HLSDK_BASEDIR}/multiplayer/common" -I"${HLSDK_BASEDIR}/multiplayer/dlls" -I"${HLSDK_BASEDIR}/multiplayer/engine" -I"${HLSDK_BASEDIR}/multiplayer/pm_shared"

OBJ = NodeMachine.o \

bot.o \

bot_buycode.o \

bot_client.o \

bot_func.o \

bot_navigate.o \

dll.o \

engine.o \

game.o \

util.o \

build.o \

ChatEngine.o \

IniParser.o

realbot_mm.dll: ${OBJ}

dllwrap -k -mwindows --add-stdcall-alias -o $@ ${OBJ}

install: realbot_mm.dll

cp realbot_mm.dll /d/Sierra/Counter-Strike/realbot/dll

clean:

rm -f *.o

rm -f *.so

rm -f *.dll

%.o: %.cpp

${CPP} ${CPPFLAGS} -c %4$slt; -o $@

%.o: %.c

${CPP} ${CPPFLAGS} -c %4$slt; -o $@

  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com