.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   YaPB (http://forums.bots-united.com/forumdisplay.php?f=55)
-   -   YaPB 2.51 Source Code Compile Help (http://forums.bots-united.com/showthread.php?t=6719)

He@dShot 25-03-2008 22:57

[For CODERS] YaPB 2.51 Source Code Compile Help
 
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 !

ProRaiL 26-03-2008 11:37

Re: YaPB 2.51 Source Code Compile Help
 
how do you gonna improve it lol if you at least don't able to even compile it :D
for me it works fine without any problems (latest visual c++ installed)

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

Minh-Lo-Hwang 26-03-2008 11:45

Re: YaPB 2.51 Source Code Compile Help
 
Sorry, i cant help you, but welcome to the Forums!

And good luck with your work! :)

He@dShot 26-03-2008 13:56

Re: [For CODERS] YaPB 2.51 Source Code Compile Help
 
Thank you ! :)

jeefo 27-03-2008 01:07

Re: [For CODERS] YaPB 2.51 Source Code Compile Help
 
Quote:

Originally Posted by He@dShot (Post 57557)
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...

ProRaiL 27-03-2008 08:38

Re: [For CODERS] YaPB 2.51 Source Code Compile Help
 
Quote:

Originally Posted by jeefo (Post 57567)
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

szfzafa 18-04-2010 07:38

Re: YaPB 2.51 Source Code Compile Help
 
:unsure::unsure:mine is 428KB... using VS2005, release, not debug:unsure::unsure:


All times are GMT +2. The time now is 01:11.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.