.:: 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 > YaPB
YaPB Yet another POD-Bot flavor by Whistler and Jeefo Counter-Strike

Reply
 
Thread Tools
[For CODERS] YaPB 2.51 Source Code Compile Help
Old
  (#1)
He@dShot
Member
 
He@dShot's Avatar
 
Status: Offline
Posts: 40
Join Date: Mar 2008
Location: Romania, Craiova
Idea [For CODERS] YaPB 2.51 Source Code Compile Help - 25-03-2008

Hello, everyone ! I am kind of new in bot coding; I have downloaded the YAPB 2.51 source code project. When I try to compile the "yapb.vcproj" file it says:
"-------------- Build: Debug Win32 in yapb ---------------

Running target pre-build steps
..\..\tool\buildup\release\buildup.exe yapb.rc

Execution of '..\..\tool\buildup\release\buildup.exe yapb.rc' in 'C:\Documents and Settings\Hans\Desktop\yapb_v251_src_w32\project' failed.
Nothing to be done."
When I try to compile the "yapb_9.vcproj" it gives me a lot of warnings and 1 error:
"..\include\core.h|159|error: invalid conversion from `int (*)()' to `void*'|"
I try to delete the lines that gave me the error and it compiled with warnings. When I load it in Metamod is says "bad load". Even without Metamod it says "can't get Dll Entry" or something like this...
-------------------------------------------------------------------------
1. What can I use to compile the source code succesfully ?
2.Why is the size of the compiled "yapb.dll" so big (1.84 MB) compared to the release version that I got from this site ? Is it normal or am I using a wrong program ?

I am really trying to improove the BOT code to succesfully:
- use Shields like the original CS bot
- pick up dropped grenades like in CZ
- better communication system and many more...!

If anyone can help me I would be so gratefull...! Copyright remains to original author of YaPB !

Last edited by He@dShot; 26-03-2008 at 00:28..
  
Reply With Quote
Re: YaPB 2.51 Source Code Compile Help
Old
  (#2)
ProRaiL
Member
 
Status: Offline
Posts: 33
Join Date: Mar 2008
Default Re: YaPB 2.51 Source Code Compile Help - 26-03-2008

how do you gonna improve it lol if you at least don't able to even compile it
for me it works fine without any problems (latest visual c++ installed)

p.s. size is big because it isn't compressed

Last edited by ProRaiL; 26-03-2008 at 12:52..
  
Reply With Quote
Re: YaPB 2.51 Source Code Compile Help
Old
  (#3)
Minh-Lo-Hwang
Member
 
Status: Offline
Posts: 123
Join Date: Jan 2004
Location: Deinste-Germany;)
Default Re: YaPB 2.51 Source Code Compile Help - 26-03-2008

Sorry, i cant help you, but welcome to the Forums!

And good luck with your work!



  
Reply With Quote
Re: [For CODERS] YaPB 2.51 Source Code Compile Help
Old
  (#4)
He@dShot
Member
 
He@dShot's Avatar
 
Status: Offline
Posts: 40
Join Date: Mar 2008
Location: Romania, Craiova
Default Re: [For CODERS] YaPB 2.51 Source Code Compile Help - 26-03-2008

Thank you !
  
Reply With Quote
Re: [For CODERS] YaPB 2.51 Source Code Compile Help
Old
  (#5)
jeefo
путинхуйлоебаное
 
jeefo's Avatar
 
Status: Offline
Posts: 453
Join Date: Nov 2005
Location: Saint-Petersburg
Default Re: [For CODERS] YaPB 2.51 Source Code Compile Help - 27-03-2008

Quote:
Originally Posted by He@dShot View Post
Hello, everyone ! I am kind of new in bot coding; I have downloaded the YAPB 2.51 source code project. When I try to compile the "yapb.vcproj" file it says:
"-------------- Build: Debug Win32 in yapb ---------------

Running target pre-build steps
..\..\tool\buildup\release\buildup.exe yapb.rc

Execution of '..\..\tool\buildup\release\buildup.exe yapb.rc' in 'C:\Documents and Settings\Hans\Desktop\yapb_v251_src_w32\project' failed.
Nothing to be done."
When I try to compile the "yapb_9.vcproj" it gives me a lot of warnings and 1 error:
"..\include\core.h|159|error: invalid conversion from `int (*)()' to `void*'|"
I try to delete the lines that gave me the error and it compiled with warnings. When I load it in Metamod is says "bad load". Even without Metamod it says "can't get Dll Entry" or something like this...
-------------------------------------------------------------------------
1. What can I use to compile the source code succesfully ?
2.Why is the size of the compiled "yapb.dll" so big (1.84 MB) compared to the release version that I got from this site ? Is it normal or am I using a wrong program ?

I am really trying to improove the BOT code to succesfully:
- use Shields like the original CS bot
- pick up dropped grenades like in CZ
- better communication system and many more...!

If anyone can help me I would be so gratefull...! Copyright remains to original author of YaPB !
Sorry for the delays

Not sure where did you get that source but latest version is @ http://svn.jeefo.spb.ru/. And it's compile right after checkout with MSVC 2008 (Express too)..

Quote:
p.s. size is big because it isn't compressed
No, it's because by default debug builds contains debug symbols and other "not for the end user" stuff...
  
Reply With Quote
Re: [For CODERS] YaPB 2.51 Source Code Compile Help
Old
  (#6)
ProRaiL
Member
 
Status: Offline
Posts: 33
Join Date: Mar 2008
Default Re: [For CODERS] YaPB 2.51 Source Code Compile Help - 27-03-2008

Quote:
Originally Posted by jeefo View Post
No, it's because by default debug builds contains debug symbols and other "not for the end user" stuff...
but anyway I compressed that dll to 328 kb using upx
  
Reply With Quote
Re: YaPB 2.51 Source Code Compile Help
Old
  (#7)
szfzafa
Member
 
Status: Offline
Posts: 24
Join Date: Apr 2010
Location: Nanjing, PRC
Question Re: YaPB 2.51 Source Code Compile Help - 18-04-2010

mine is 428KB... using VS2005, release, not debug
  
Reply With Quote
Reply


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

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