PDA

View Full Version : RCbot broken with sc5.0x, need help



madmax2
11-04-2016, 12:32 PM
Tech Support: RCbot broken with sc5.0x, need help

I'm looking for some help to get RCbot working with sc5.0. I think what Cheeseh did the last time (sc4.7 to sc4.8) was to recompile with the new headers. It appears to be the same problem, crashes with a windows memory error just after adding a bot. The waypointing system still works without bots.

Can someone help with this (a developer? Sniper?), provide the new header info, or tell me where to find it? So I can pass it on to Cheeseh.

Sniper
11-04-2016, 12:45 PM
Just let me know what files you need, and we'll send them over.

madmax2
11-04-2016, 01:22 PM
Thanks for quick reply... I'll let Cheeseh know... :)

Sniper
15-04-2016, 01:35 AM
Any updates on this?

Not sure if something went into my spam folder or not. :)

madmax2
15-04-2016, 03:39 PM
Cheeseh didn't reply to my post yet, he could be busy with RL stuff? I just sent a PM to him and I'll link to this topic. But nothing new from me, I don't have the source code...

http://rcbot.bots-united.com/forums/index.php?s=&showtopic=2057&view=findpost&p=14163

Cheeseh
16-04-2016, 03:40 AM
I sent a PM a few months ago. Maybe missed it. Anyway should be just the same stuff as last time . This stuff was for SC4 http://www.svencoop.com/davemcd/sc_48_headers.zip . Probably need same stuff except for latest SC

Solokiller
16-04-2016, 04:08 AM
The Metamod-P for 5.0 source code should have the engine headers you need: http://files.catnip.nu/svencoop/metamod-p_sc5.0-src.zip

Cheeseh
16-04-2016, 04:28 AM
The Metamod-P for 5.0 source code should have the engine headers you need: http://files.catnip.nu/svencoop/metamod-p_sc5.0-src.zip although it seems to be missing the files I need : cbase and basemonster files

madmax2
20-04-2016, 01:07 PM
although it seems to be missing the files I need : cbase and basemonster files
bump... I know you guys are busy, but I didn't want this to get forgotten... ;)

Could someone on the team please post or pm those 2 files for Cheeseh ^^^

(cbase.h & basemonster.h)

[edit] I'm sending a PM to Sniper, he did say to "let me know"...;)

Thankyou :)

http://rcbot.bots-united.com/forums/index.php?s=&showtopic=2057&view=findpost&p=14176

Sniper
21-04-2016, 11:00 AM
Numerous updates might be needed, everything is still in flux as we move forward with Sven Co-op on Steam.

I've sent the files to Cheeseh's email.

madmax2
21-04-2016, 01:49 PM
Numerous updates might be needed, everything is still in flux as we move forward with Sven Co-op on Steam.

I've sent the files to Cheeseh's email.
Thankyou...:)

So these 2 files may be needed each time SC updates? If so, what would be the easiest way forward to keep RCbot current? Just email the files to Cheeseh at each update, automatically? What do you think, suggest?

w00tguy123
21-04-2016, 02:09 PM
I don't know if the vague plans in this thead (http://forums.svencoop.com/showthread.php/43228-A-very-technical-explanation-regarding-the-engine) are still valid, but metamod might not be supported for much longer (maybe at least a couple of years though?). I think in the future we will have to try and remake RCBot with AngelScript. I'm going to try that in any case since I've been wanting to make bots for a long time now.

madmax2
21-04-2016, 06:22 PM
So these 2 files may be needed each time SC updates? If so, what would be the easiest way forward to keep RCbot current? Just email the files to Cheeseh at each update, automatically? What do you think, suggest?
Yeah, I was going to ask Cheeseh about AngelScript at some point, I was thinking more short term.


I don't know if the vague plans in this thead (http://forums.svencoop.com/showthread.php/43228-A-very-technical-explanation-regarding-the-engine) are still valid, but metamod might not be supported for much longer (maybe at least a couple of years though?). I think in the future we will have to try and remake RCBot with AngelScript. I'm going to try that in any case since I've been wanting to make bots for a long time now.
Do you think converting RCbot to an AngelScript plugin would require a major rewrite from top to bottom, or just a rewrite of the front-end (plugin interface?)?

If it were an AS plugin, would that prevent it from breaking when SC updates? It seems the headers change with each update...

w00tguy123
21-04-2016, 07:22 PM
Personally, I would rewrite the bots from scratch just because it's more fun that way. It would be faster just to port RCBot though, and I don't think it would be too hard to do that (as long as the latest source is available somewhere).

All scripts are open-source and much easier to understand than metamod plugins, imo. Anyone who understands AS syntax and compiler errors can fix problems that come up (e.g. changes in the API). The time to fix problems between SC updates would probably be a matter of minutes in the usual case.

madmax2
28-10-2016, 06:09 PM
Hi Sniper,

Would this be a good time to send new headers to Cheeseh (I think the last ones you sent were in April, not sure if those are still good:confused:), he seems to have time to work on it now... He just asked me, to ask you...:D

Thanks...

madmax2
03-11-2016, 01:09 PM
Since I can't PM Sniper, guess I'll post it here. I'm not sure if this is a good time to ask again, but an update was just released and it's been about 5 months. If any other devs want to give input, feel free.


Hi Sniper,

Cheeseh is asking about the headers and has time to work on it now. I think the last headers you sent Cheeseh was back in April (cbase.h & basemonster.h). Could you send him any updated headers you think he would need. I'm guessing the headers he has are outdated? Anyways, you can reply to this topic or email Cheeseh directly...

Note... The last time he tried to compile he had problems, but may of been using the wrong rcbot source code, so I don't know if this is correct? At that time in June, he requested this:

enum Ownership is missing
definition VAR_CUSTOM in entvartype_s is missing
undefined non pointer class CStringMap

Thankyou...:)
madmax2

AdamR
03-11-2016, 01:52 PM
I did forward that message btw. :)

madmax2
03-11-2016, 02:32 PM
Thanks Adam, Message tracking still shows unread, so I thought you didn't get it?:rolleyes: