.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   STEAM Update breaking bots again? (http://forums.bots-united.com/showthread.php?t=21)

stefanhendriks 27-11-2003 22:36

STEAM Update breaking bots again?
 
I really get sick of this; last time you could 'fix' this issue by making your liblist.gam read-only. But now it definatly seems to crash the bots. Does anyone know how to fix this?

I know botman posted code, but it was not complete?

Pierre-Marie Baty 27-11-2003 23:15

:( I don't have any Steam CS running... because Steam keeps wanting me to redownload the CS cache again. Since it's more than 100 Mbytes and I'm behind a solidly slow modem, I've sticked to using Steam with HLDS and TFC only, since they're the only MODs that want to work (well, work, it's a large term though, I need to wait 20 minutes online before I am deigned to be granted a connection to any server).

I'm not surprised of this anyway. Lately it's clearly becoming the official policy of the big guys in the gaming industry to kill any third party coder alive. It's as if they were afraid.

I wonder... is metamod crashing as well ?

stefanhendriks 27-11-2003 23:20

i don't know about metamod, none of my users reported such a thing yet.

However, the one that mailed me was as far as i believe also a metamod user... its a fimiliar person on my forum.

The quicker we get independant the better, perhaps even with our own 3D engine, capable of running any game you like.. Quake 1/2/3, Unreal, Half-Life.
Lol that would be a huge project... and a waste of time i think... (besides the time you learn a lot, it is redundant in a way).

stefanhendriks 28-11-2003 21:49

News from botmans forums:

Botman posted:
Quote:

Alfred just posted this to the hlcoders e-mail list at valvesoftware.com...



--------------------------------------------------------------------------------
The recent Counter-Strike update on steam has exposed some differences
between the current SDK engine interface and the one currently used by
the engine. In the process of porting the engine to the 64-bit AMD
architecture we had to make changes to ensure data type size coherence
across architectures. The up-shot of this change is that the compiler
signatures of the engine interface differ slightly between the SDK and
steam version.

This difference caused a crash when accessing the new member functions
we introduced for Czero.

To fix this problem you will need to update your SDK, put the files in
this zip:
http://www.adminmod.org/downloads/updated_eiface.tgz
Into the "engine/" directory (so it overwrites eiface.h and adds
Sequence.h and archtypes.h). These files are formatted for linux
machines (i.e \n line endings, not \r\n). MSVC should be able to handle
these files without a problem.

MetaMod also needs a code patch, the diff for it (against version 1.17)
can be downloaded from:
http://www.adminmod.org/downloads/metamod_1.17_diff.gz


I have posted updated MetaMod and AdminMod binaries that contains these
fixes:
http://www.adminmod.org/downloads/me...nmod_25058.tgz
for people that want the fixes right now.
--------------------------------------------------------------------------------

...so it seems the 64 bit AMD processor version has a different MOD interface than the 32 bit Intel version. It appears that, now, the Steam engine interface is the one used by the 64 bit AMD version and not the old 32 bit Intel version.

I'm sure you can contact Alfred at Valve for more detail.

botman


stefanhendriks 28-11-2003 21:50

btw, do we LOVE progres?

YES OFCOURSE WE DO!!!!

and do we love STEAM?

as MUCH as we love progres in this matter i would say! :S

aaaaaaaaaaaaarghhhhhhhh

stefanhendriks 03-12-2003 17:30

Rofl,

it seems my bot still works with the new CS. I did make changes though to my code, so it will keep on working after the new update.

Anyway, it seems we have 2 sources not to keep up with if we want to keep supporting CS 1.5.

Pierre-Marie Baty 03-12-2003 17:39

No... not necessarily, do we ?

Have you thought of putting a detection method in GetEntityAPI ? If it detects CS 1.5, it "shortens" the enginefuncs_t interface that is passed away to the engine so as to make it match the "old" interface...

But anyway, why don't you just port the whole crap away to metamod ? 9_9

botmeister 04-12-2003 06:58

Quote:

Originally Posted by Pierre-Marie Baty
But anyway, why don't you just port the whole crap away to metamod ?

Yeah! Just let Will Day deal with the madness. LOL

Steam has been dishing out a steady stream of forced beta updates which tend to break our code and do other unpleasant things. If we're to keep working with HL + steam it will have to stabilze to infrequent updates, and the interface has to remain reasonably constant.

I think the people with modems are doomed under steam no matter what.

NOTICE: This post may change content without warning, or vanish into thin air, or perhaps become unreadable, or it may display on your screen veeeery slowly, and it is possiible that one day a toll will be charged just to read it. The current text you are reading is considered as the final working version, but the contents may change to make it even more final. Is it final? Yes and no. Confused? Don't worry,the contents of this post will automatically adjust on its own every time you read it. Have a nice day!

Pierre-Marie Baty 04-12-2003 15:24

Quote:

Originally Posted by botmeister
NOTICE: This post may change content without warning, or vanish into thin air, or perhaps become unreadable, or it may display on your screen veeeery slowly, and it is possiible that one day a toll will be charged just to read it. The current text you are reading is considered as the final working version, but the contents may change to make it even more final. Is it final? Yes and no. Confused? Don't worry,the contents of this post will automatically adjust on its own every time you read it. Have a nice day!

Wait... I've already seen that elsewhere :|

stefanhendriks 04-12-2003 19:28

a detection method would be possible i guess, but yet again it is strange that valve claims it SHOULD NOT work if you do not update your code... while it does work.

Porting to METAmod, no way. THere are to many people who do not use it, so i don't even want to send them into that big hell of installing more programs and stuff to make one bot work. The principle should be simple and clean, hit install, hit play, and play.

I bet even METAMod cannot keep up the changes of STEAM this fast. Btw, i don't care if i have to update my bot frequently, i won't give up due steam or something. I just find it very annoying.


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

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