.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Others (http://forums.bots-united.com/forumdisplay.php?f=60)
-   -   ODD_bot -> Steam (http://forums.bots-united.com/showthread.php?t=3142)

Eddy Hassle 06-12-2004 14:03

ODD_bot -> Steam
 
I was wondering if any had time, that maybe somebody could update The ODD_bot to play on a Steam server.
Just remember to tell them about the teleporters so they don't crash.
I don't care if they build teleporters, (Cool if any feel like going that far, but not necessary). Just want them able to be on a Steam server. I have some Great scripts wrote for some maps for them & would love to see them on Steam.

Oh, incase any wonder why i'm asking? It's because the author left coding in 2001. I think they were able to be ran on an 1.1.0.8 server last until they died.
Thank You VERY Much, if any have any time to take this on..
Oh BTW, i'm just looking for it's TFC support.. Any of the other mods is a Plus!

odd_bot_18_src.zip

Pierre-Marie Baty 06-12-2004 20:59

Re: ODD_bot -> Steam
 
Try this
ODD bot for Steam and metamod (quick and dirty port)

NOTE: install it like a metamod plugin (put it in metamod's plugins.ini file, NOT in liblist.gam).

Eddy Hassle 06-12-2004 23:56

Re: ODD_bot -> Steam
 
This is what it say's when i type Meta List:
] meta list
Currently loaded plugins: description stat pend file vers src load unlod [ 1] <oddbot_mm.dll> badf load oddbot_mm.dll v - ini - - 1 plugins, 0 running

No bots join. I am useing current, V1.17.3.0
I disabled Everything. Nothing running except ODD_bot & current Metamod. Tried a reload of 2fort, still no bots & same reply from Meta List.

Pierre-Marie Baty 07-12-2004 13:34

Re: ODD_bot -> Steam
 
"badf load" means that metamod couldn't find the plugin file (probably because you've put a wrong path). Check it.

I've fixed a few bugs and made a more decent port. Get it from the filebase here:
http://filebase.bots-united.com/inde...category&id=35

Eddy Hassle 07-12-2004 16:02

Re: ODD_bot -> Steam
 
I extracted from the zip, made sure all was correctly placed & tried to launch dedicated server. It gets to loading the plugin & then crashes:

Found 1 plugins to load
L 12/07/2004 - 08:34:25: [META] dll: Loading plugins...

Thats it..

I have All crash logs.
I tried through my C:\HLServer
And
C:\program files\steam\steamapps\southpork_server@cox.net\ded icated server\
I read about the chat crashing, so all bot_chat are 0

Error Logs

Pierre-Marie Baty 07-12-2004 17:36

Re: ODD_bot -> Steam
 
It works here...

Can metamod start without the odd bot plugin ? I want to make sure you installed metamod correctly.

*edit* nevermind. Your DrWatson log attests that the crash occured in the ODD bot DLL. Damn, I'll have to check that. Hold on...

*edit 2* hmm, there really must be something wrong with your setup. Because here no matter what I test, I cannot make it crash. Look:
http://racc.bots-united.com/oddbot-win32-ds.png
Did you put all the .owp files in the tfc\maps directory ?
Did you put all the odd_*.cfg and odd_*.txt files in the tfc directory ?
Do you have metamod.dll and oddbot_mm.dll in tfc\addons\metamod\dlls ?

Pierre-Marie Baty 07-12-2004 18:09

Re: ODD_bot -> Steam
 
to help a bit, open a DOS box into your "SteamApps\youraccount\dedicated server\tfc" directory and type
dir /s > output.txt
and post the contents of the output.txt file here.

Eddy Hassle 07-12-2004 18:40

Re: ODD_bot -> Steam
 
output.txt

You better find something wrong.. LOL..
I'll keep looking & trying..

-------
Here's all the steps i tried to get it to run. (All failed with the crash box).

1) -dll addons\metamod\dlls\metamod.dll (Properties box - Dedicated Server)
2) gamedll "addons/metamod/dlls/metamod.dll" (Made liblist Read Only. Took out line from Step 1)
3) Created an "autoexec.cfg" I put this in it - localinfo mm_gamedll addons/metamod/dlls/oddbot_mm.dll
4) Loaded just Metamod & then tried this - meta load addons\metamod\dlls\oddbot_mm.dll
5) took out "bot_chat 0" & addbot commands. Then put them back in since it solved nothing.
6) I extracted the zip, then hand dropped all files from preset folders from zip.
--------------------------

plugins.ini has ONLY this line: win32 addons/metamod/dlls/oddbot_mm.dll
That is of course where the oddbot's dll does reside.
Yes, metamod will load without oddbot. See step 4 above.

It all ends in crash box & crash box says it's oddbot_mm.dll 's fault..
Sucks.. Specially since i see you can run your server just fine..
Is there anything else that maybe i can post that might be helpfull?

ps, your port of the HPB_bot_mm.dll runs fine. FoxBot also runs too.

Oh, my dedicated server through the steam games menu is "Virgin", becuase i've allways ran through the stand alone server - C:\HLServer
But i've tried all the above on both which just brings the same results.

Pierre-Marie Baty 08-12-2004 16:44

Re: ODD_bot -> Steam
 
weird !

Try removing the .txt and .cfg files from your maps directory, to see ?

Eddy Hassle 08-12-2004 21:25

Re: ODD_bot -> Steam
 
Nope, still get the crash box that blames the oddbot_mm.dll. Nothing changed.

And before i came back to post this, i tried on a 3rd machine here (Clean Install), under a dedicated Steam server & the exact same crash.

Is maybe the .dll in the zip corupt?
Here's what mine says under properties:

Size: 196 KB (200,704 bytes)
Size On Disk: 196 KB (200,704 bytes)

If thats not it, maybe you could zip up the files in yours that are currently working for you? trident283@cox.net

Pierre-Marie Baty 09-12-2004 03:30

Re: ODD_bot -> Steam
 
let's do it the other way around: zip all your tfc directory and send it here (my mailbox is in my sig). I want to see it crashing with my own eyes.

Pierre-Marie Baty 09-12-2004 11:05

Re: ODD_bot -> Steam
 
well guess what: it does not crash...

Eddy Hassle 09-12-2004 13:15

Re: ODD_bot -> Steam
 
I figured that would be the outcome. Dam..
There's not really anything else to do then i guess..?

There was only 1 last thing that i thought of last night.
The old oddbot used to spit out any error message OR when you turned on bot_debug when waypointing, it would create a file called "odd_bot_errors.txt" to C:\SIERRA\Half-Life\
Maybe possible thats why it crashes for me??

Probably not though.. 9_9

MarD 09-12-2004 18:38

Re: ODD_bot -> Steam
 
Heyyo,

Agh, I remember seeing your update on the calender, I've gotta remember to get it once I get home, gotta go old skool TFC 1.5. So hopefully today I remember and I'll give this a go once I get home. I'll even try my fav mode spys vs spys... lol, oh god the horror. I always got last place cause I was a big n00b at this before when I played it. :)

Pierre-Marie Baty 09-12-2004 18:47

Re: ODD_bot -> Steam
 
I'm clueless. I don't know what to do about it. I'd like feedback from other people.

I do not have a true dedicated server, I use the dedicated server from the Steam games list. The only difference with you perhaps is that my Steam apps are in D:\Steam and not C:\Program Files\Steam or whatever.

Eddy, do you have MS Visual C or some sort of compiler/debugger on your machine ?

Eddy Hassle 09-12-2004 19:16

Re: ODD_bot -> Steam
 
I have MS Visual C++ 6.0 Standard Edition. I have no idea how to install it. I tried once but it wanted me to download some files. But i have no clue where to get them. It might as well be in a forgein language.. hehe

Or there's this - http://www.bloodshed.net/
But still wouldn't matter.. Totally clueless about these things..
You'd have to guide me through it.

-edit
I did a cd search & found that i also have Borland 55, i see a sub folder & it says Turbo Debugger..

MarD 10-12-2004 08:05

Re: ODD_bot -> Steam
 
Heyyo,

I gave it a shot, and yep, crashed as soon as I tried to load any map... keep tryin' PMB, I'm sure you'll fix it soon. :)

Pierre-Marie Baty 10-12-2004 22:15

Re: ODD_bot -> Steam
 
Eddy, the only thing that could make me help you now I think, would be that you install MSVC 6, you grab the metamod SDK and the HL SDK from the filebase here, and you compile the bot DLL yourself. I can guide you how to do that. And then, once the game crashes and displays the message box, instead of clicking "OK" click "Debug". You will land in the middle of the bot code inside the debugger at the line that caused the crash.

Eddy Hassle 11-12-2004 15:21

Re: ODD_bot -> Steam
 
Quote:

install MSVC 6, you grab the metamod SDK and the HL SDK from the filebase here, and you compile the bot DLL yourself. I can guide you how to do that.
Ok, installed MSVC 6 & got all the sources. Now i need your help with the compile. I don't know what i am supposed to put in. I'll have a look around in the meantime, maybe i can figure it out. I think botman or somebody did a tutorial on it.?

Pierre-Marie Baty 11-12-2004 17:18

Re: ODD_bot -> Steam
 
OK, also, please download the bot again from the filebase. I updated it and changed minor things in the source code. Test the new DLL, if it works then all good (but I doubt it), and if it doesn't put the new bot sources in place and open the DSP file. Right-click on the project in the left part of the window and choose "settings". Then in the C/C++ tab change the "additional include directories" to point to the folders containing the metamod source code and the SDK files. Then, hit F7 and watch the output.

If you need help on a particular point, get in touch with me via MSN.

Eddy Hassle 11-12-2004 19:57

Re: ODD_bot -> Steam
 
Ok i tried to run the .dll first & guess what.. It loads now & no crash. Untill i type addbot, then it crashes. The addbot commands in the "odd_bot.cfg" & "2fort_odd.cfg" don't have any effect. Neither does the "min/max" settings..

Ok, i have 1 problem,
Quote:

Then in the C/C++ tab change the "additional include directories" to point to the folders containing the metamod source code and the SDK files.
See this - Settings. Where do i add? I see "additional include directories" under (Resources & MIDL) tabs though.

Whistler 12-12-2004 02:12

Re: ODD_bot -> Steam
 
find in each item in the above "category" list.

Eddy Hassle 12-12-2004 05:50

Re: ODD_bot -> Steam
 
Quote:

Originally Posted by Whistler
find in each item in the above "category" list.

Tried that, heh.. Nothing but errors, & in the end nothing compiles.

Ok PMB, i signed up for messanger. I'll turn it on tomorrow & maybe i'll catch you. I guess it don't send messages if the other party isn't on. That sucks. Oh i added you.

Pierre-Marie Baty 13-12-2004 00:48

Re: ODD_bot -> Steam
 
OK, we found and fixed the crash bugs with Eddy thanks to some remote debugging. It turns out it was a bad pointer in the message interception code. And the bot chat is fixed as well. Those who have downloaded the bot may want to download it again now. :)

MarD 13-12-2004 06:32

Re: ODD_bot -> Steam
 
Heyyo,

Heh, so ODDbot now works flawlessly? sweet, gotta try this now. :)

Good teamwork guys, you made me one happy TFC n00b. :P

MarD 14-12-2004 07:26

Re: ODD_bot -> Steam
 
Heyyo,

I tested it out, it failed sadly. :(

I even tried it on Old HL.. failed on that, xfire picked this up:

Code:

<?xml version="1.0" encoding="utf-8" ?>
 
  <ExceptionReport Version="4">
        <Application Build="10650" Command="&quot;D:\Games\Half-Life\hl.exe&quot; -fullscreen -development"/>
        <OperatingSystem Type="2"><Version Major="5" Minor="1" Build="2600"/></OperatingSystem>
        <Exception Code="C0000005" Address="07F45EAD"><Module Section="0001" Offset="00004EAD" FileName="d:\games\half-life\tfc\addons\metamod\dlls\oddbot_mm.dll"/></Exception>
        <Registers EAX="07F6B918" EBX="07F50F70" ECX="00000000" EDX="000000B9" ESI="00000000" EDI="00000020" CS="001B" EIP="07F45EAD" SS="0023" ESP="0013A48C" EBP="00000000" DS="0023" ES="0023" FS="003B" GS="0000" Flags="00010202"/>
          <BackTrace>
          </BackTrace>
  </ExceptionReport>

Dunno if that's useful at all...

Pierre-Marie Baty 14-12-2004 14:46

Re: ODD_bot -> Steam
 
:(
when did it fail ? did the map succeed to load ?
it worked for Eddy...

MarD 14-12-2004 18:10

Re: ODD_bot -> Steam
 
Heyyo,

It loaded the map, and then a split second later crashed with no warning messages back to the desktop...

It did this with and without steam versions of TFC 1.5

Pierre-Marie Baty 14-12-2004 19:16

Re: ODD_bot -> Steam
 
what was the map ? what were the config files ? maybe I can reproduce this one... hopefully !!!

MarD 14-12-2004 23:26

Re: ODD_bot -> Steam
 
Heyyo,

Well, I just right-clicked onnit in steam, let it install, and then copied n' pasted the tfc stuff over what I have, and then ran the game from steam, tried, crossover2, and 2fort, and both crashed just after displaying the map and the motd for like 2 seconds...

So whatever the default cfg files are, then that's what's messing me up...


All times are GMT +2. The time now is 03:39.

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