IPB

Welcome Guest ( Log In | Register )

> Added Payload and Dedicaded Server Support!, changed 0.43 Version
The_Shadow3
post Jun 27 2009, 05:09 PM
Post #1


Newbie
*

Group: Members
Posts: 8
Joined: 27-June 09
From: Germany
Member No.: 1,589



Hi,

I have added a basic payload support (Blue following the payload bomb)
and this works in pl_goldrush!

Known important bugs:
- Bots stuck at start (mostly engineers and snipers), but most bots running after the setup time

After this, i fixed the "rcbotd addbot" bug. Now its playable in dedicated server.
(Important: Read this thread: Link)


bot.cpp:
Line 1751 and 1755

CODE

        char cmd[64];

        sprintf(cmd,"bot -name \"%s\"\n",szOVName);
        // control next bot that joins server
        m_bControlNext = true;

        if ( CClients::get(0)->getPlayer() && !engine->IsDedicatedServer() )
            engine->ClientCommand(CClients::get(0)->getPlayer(),cmd);
        else
            engine->ServerCommand(cmd); // Might not work

        return true;


@Cheeseh: Please add the payload and dedicated server changes in you version!! smile.gif

-----------------------------------------------------

V2 Released:
  • Code change: add own schedule and Task Classes
  • Spys decloak if pushing the Bomb
  • small other changes
V3 Released!
See this Thread: Link

Download Link (sources included):
Version 1
Version 2
Version 3

Mirror:
Version 2

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Fillmore
post Jun 27 2009, 10:06 PM
Post #2


RCBot Guru
*****

Group: Waypointers
Posts: 447
Joined: 1-April 09
Member No.: 1,511



QUOTE(The_Shadow3 @ Jun 27 2009, 08:41 PM) *

thx!

I released Version 2.
This have only small gameplay changes, but more in the sourcecode.

Changes:
  • Code change: add own schedule and Task Classes
  • Spys decloak if pushing the Bomb
  • small other changes
Todo:
  • better defence for team red
  • payload race smile.gif

Do the spies remove their disguise also?
Heck yeah,payload race!
I agree with the defence thing.

QUOTE(KeReMiD4O @ Jun 27 2009, 09:31 PM) *

When blu moves the cart to the last point on pl_badwater, the game crashes biggrin.gif (the explosion)


Then I'll be happy with my waypoints. Except bots push the cart not by their own free will biggrin.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Jun 28 2009, 11:04 AM
Post #3


Admin
*****

Group: Admin
Posts: 3,066
Joined: 11-September 03
From: uk
Member No.: 1



QUOTE(Fillmore @ Jun 27 2009, 11:06 PM) *

Do the spies remove their disguise also?
Heck yeah,payload race!
I agree with the defence thing.
Then I'll be happy with my waypoints. Except bots push the cart not by their own free will biggrin.gif

Thanks Shadow, this is the way it should be coded, just a few things u don't need.

Also will need to add at some point a check to see if the payload bomb is the same team, for plr maps.

I added the code to the SVN. I won't release yet though since yours is good enough and I'm working on cp_badlands and cp_well support (already done cp_badlands, cp_well is next)

In General: also noticed a bug with the engineers, sometimes they can't select the wrench weapon which means they can't build. this is a bug due to the limited bot support for TF2

edit
Also, to provide better PL support for the defence team, the idea was to use the waypoint areas, so every time theres a new round the "area" would change, and the bots would only use waypoints in that "area".

I'm going to add a command that lets every waypoint that gets added get given an automatic area number, so it saves going round setting areas on every waypoint
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
The_Shadow3   Added Payload and Dedicaded Server Support!   Jun 27 2009, 05:09 PM
Geralt   Sounds good - I'll give it a go soon. Could I...   Jun 27 2009, 06:45 PM
Fillmore   Hi, I have added a basic payload support (Blue ...   Jun 27 2009, 07:05 PM
Geralt   Only pl at the moment.   Jun 27 2009, 07:08 PM
Skeggar   This is awesome, tried on goldrush (with my waypoi...   Jun 27 2009, 08:10 PM
The_Shadow3   thx! I released Version 2. This have only sma...   Jun 27 2009, 08:41 PM
KeReMiD4O   When blu moves the cart to the last point on pl_ba...   Jun 27 2009, 09:31 PM
Fillmore   thx! I released Version 2. This have only sm...   Jun 27 2009, 10:06 PM
Cheeseh   Do the spies remove their disguise also? Heck yea...   Jun 28 2009, 11:04 AM
The_Shadow3   Hi Cheeseh, I'm not finished with this Bot ;)...   Jun 28 2009, 01:44 PM
Cheeseh   Hi Cheeseh, I'm not finished with this Bot ;...   Jun 28 2009, 02:21 PM
MacinSam   Eh, I'm unable to download it - I'm gettin...   Jun 28 2009, 02:08 PM
The_Shadow3   Eh, I'm unable to download it - I'm getti...   Jun 28 2009, 05:02 PM
MacinSam   Mirror added, but the other links working! ...   Jun 29 2009, 06:33 AM
Cheeseh   Oops sorry I accidently deleted the last message a...   Jun 29 2009, 10:24 AM
MacinSam   Oops sorry I accidently deleted the last message ...   Jun 30 2009, 03:53 PM
Cheeseh   Yes. Maybe you should make a new thread about th...   Jun 30 2009, 04:17 PM
MacinSam   Maybe you should make a new thread about the prob...   Jul 1 2009, 05:45 AM
Geralt   Cheeseh - as Shadow3 said, the bots camp on the he...   Jun 28 2009, 02:08 PM
Geralt   In General: also noticed a bug with the engineers,...   Jun 29 2009, 04:37 AM
bir3yk   With changes The_Shadow3 in input "rcbotd add...   Jun 29 2009, 12:12 PM


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 20th July 2025 - 11:18 AM