.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
STEAM Update breaking bots again?
Old
  (#1)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default STEAM Update breaking bots again? - 27-11-2003

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?
  
Reply With Quote
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default 27-11-2003

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 ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Old
  (#3)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default 27-11-2003

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).
  
Reply With Quote
Old
  (#4)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default 28-11-2003

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
  
Reply With Quote
Old
  (#5)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default 28-11-2003

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
  
Reply With Quote
Old
  (#6)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default 03-12-2003

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.
  
Reply With Quote
Old
  (#7)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default 03-12-2003

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



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Old
  (#8)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default 04-12-2003

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!


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Old
  (#9)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default 04-12-2003

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



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Old
  (#10)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default 04-12-2003

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.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com