![]() |
I'm STEAMed up !!!
NNNNNNNAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHH
NNNNNNNNNNNNNNAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHH the steam guys made an update to the HL SDK and they didnt notify anyone and they added functions in the engine interface and they just told the metamod guy and he released a new metamod and they changed it again and they released a patch and the patch doesnt work and even when you fix it and then you compile the new metamod then the new metamod doesnt work with 1.5 anymore and I lost the old metamod and now none of my plugins work and theres nothing to do but to upgrade to steam and I dont want to upgrade to steam because steam wont work because of 56k and even the SDK is not updated and now we're all forced to use steam becasue else it does not work DDDDDDDDAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHH :'( :'( :'( CHALLENGE OF THE DAY !!! figure out a way to make the new metamod 1.17 work BOTH with Steam AND with the old 1.5 servers. Possibly by shortening the new enginefuncs when it detects 1.5. Or whatever else. I don't care. Just want something that WORKS. If I find the solution I'll post the patch here. In the meanwhile, if you see a steam guy down the street, KILL HIM, MASSACRE HIM, CUT HIM IN PIECES AND FEED THEM TO THE ANTS >:( |
Re: I'm STEAMed up !!!
sure, i'll do so 8) ... but if he offeres me a free cable connection I might change my mind 8D
|
Re: I'm STEAMed up !!!
The biggest problem with STEAM is that it turns the software it deposits on your computer into a never ending "work in progress", or in otherwords a never ending "beta" version. The problem with a "beta" is that it will unexpectantly change, and when that happens whatever was built on top of it gets messed up, so you cannot build anything on top of it, which means, we'll be forever futzing around with patching our mods to work with the latest version of a work in progress.
I knew this problem would happen right after I first read Valve's description of the wonders of STEAM. I doubt the intention is to kill our mods, as it seems the free advertising Valve gets from free products such as Admin Mod, etc is a benifit to their sales, instead I think there is understanding of how to properly build and release software. It should be released in well defined and stable stages, each clearly labeld as being "final" or "not final". User can then upgrade to either the stable version, or the unstable version by choice. With STEAM *all* updates are by definition "unstable" and even worse, the updates are *forced* on to the users, i.e., if you choose not to upgrade, you can no longer use the software at all! The concept of STEAM is not really the problem, since adjustements can be made to it to allow beta upgrades or final upgrades, where users can chose to upgrade to a beta version, or to a final version. The final versions would be released far less frequently, while betas could be released as often as it desired. In addition, STEAM should allow for two version, the beta and the final to coexist on the same computer at the same time. I doubt we'd see such sophistication from STEAM for a very long time, if ever, since it appears the concept of final vs beta was never biult into the product, therefore they will likely have to rework the entire system to allow for it. I think the ultimate question, is what can we do (or should we even bother) to solve the problem of working on a continuos stream of unstable and unpredictable releases? |
Re: I'm STEAMed up !!!
pmb...
i tested realbot_mm.dll lately (compiled it myself btw). it works in CS 1.5 and CS 1.6. All i did was plugging the realbot_mm in and it worked :) anyway, it started the server... :) |
Re: I'm STEAMed up !!!
w000H00H00H00H00000000t!!!!
I impress myself sometimes. Sent this email to Will Day: Code:
Hi Will, me again :) |
Re: I'm STEAMed up !!!
if only i could compile metamod, i would immidiatly aply this patch myself! :)
stilll odd, i can run steam without metamod 1.17, perhaps its due i run a listen server? Or perhaps some trouble will be caused later.. :) |
Re: I'm STEAMed up !!!
Pierre:
Code:
// Pierre-Marie Baty -- STEAM/NOSTEAM auto-adaptative fix -- START Code:
extern mBOOL is_steam; |
Re: I'm STEAMed up !!!
Good point, Stefan ! Ah well, I suppose Will will know what to change himself :D
BTW to compile metamod, be aware that the .dsp file that comes with it hasn't been updated for AGES since Will Day only uses Linux ; chances are that it doesn't work at all. I made mine, it's attached below. Use it and I guarantee it will work better :) metamod.dsp: Code:
# Microsoft Developer Studio Project File - Name="metamod" - Package Owner=<4> |
Re: I'm STEAMed up !!!
ok, will try. Btw, could you not use that as attachement? rofl :D
|
Re: I'm STEAMed up !!!
yeah, just that the forum didn't want me to attach .dsp files... and I was too lazy to zip it ;)
erm, sorry :) |
Re: I'm STEAMed up !!!
Quote:
Sure: #include <sys/stat.h> struct _stat buf; if( _stat( "valve/steam.inf", &buf ) == 0 ) { //file exists } :) Quote:
Standard c lib stuff. |
Re: I'm STEAMed up !!!
Hey thanks Austin :)
is it portable ? |
Re: I'm STEAMed up !!!
@pmb, i tried ur .dsp file. Still the same errors i get. Kinda nuts making me now. ARGh
|
Re: I'm STEAMed up !!!
NOTE: The patch will also work for CS 1.6 servers that do not use the Steam cache.
|
Re: I'm STEAMed up !!!
yup :) already tested it. Works like a charm! :D
|
Re: I'm STEAMed up !!!
Quote:
|
Re: I'm STEAMed up !!!
I've had lengthy discussion with alfred reynolds about this. The changes needed in metamod to work with steam are minor, without them you will get sparadic crashes which are hard to debug. Its also important to note that 1.17 mm on the metamod site is NOT fixed for steam, alfred posted what needed to be changed to the valve mailing lists which included Sequence.cpp and an updated eiface.h IIRC and he also included some diff txt files which can be used with "patch" (under linux) to fix metamod. A precompiled metamod was also provided by alfred but you still need to fix your mm source and your SDK source with the stuff alfred mentioned. You can find this info by searching google or one of the valve mail list archive sites.
|
Re: I'm STEAMed up !!!
errr Sequence.h and eiface.h are the files... Sorry.
http://bs-linux.com/Sequence.h http://bs-linux.com/eiface.h http://bs-linux.com/metamod_1.17_diff the patch command under linux will apply the differences to your current files, no idea how you do this under windows though :( If you want pre-patched metamod files let me know... |
Re: I'm STEAMed up !!!
http://bs-linux.com/engine_api.cpp
http://bs-linux.com/engine_api.h Those are the modified metamod source files |
Re: I'm STEAMed up !!!
we did apply this patch by hand already :)
Unfortunately we can't seem to be able to get a hand on that famous "metamod SDK", which would be according to the legends in groups.yahoo.com a Half-Life SDK that Will Day would be keeping up to date to have it compile on newer compilers than those used by Valve in the paleolithic ages. Such a pearl is supposed to be available to download from the metamod site, but we can't seem to find it... ....HEEEEEEEEEEEEELP!!!!!!!!!!!!!!!! :'( |
Re: I'm STEAMed up !!!
according to alfred (the original metamod author and now employee of valve) all you need is the modified files I posted above to have an up to date sdk (from 2.3). I've had no compile issues with metamod and the sdk since applying alfreds patches.
|
Re: I'm STEAMed up !!!
Quote:
Use this: struct stat buf; if( stat( "valve/steam.inf", &buf ) == 0 ) { //file exists } I think this is much better since fopen can fail for a number of reasons when the file actually exists. |
Re: I'm STEAMed up !!!
the metamod.org site is down all the time. Perhaps we should host metamod for the sake of keeping it online.
|
Re: I'm STEAMed up !!!
Quote:
|
Re: I'm STEAMed up !!!
Quote:
http://sourceforge.net/project/showf...ckage_id=16423 download and install, add X:\Program Files\gnuwin32\bin to your system path (where X is the drive you chose to install diffutils), and there you go... Diff from the command prompt to your heart's content...:) I am trying to port Marine Bot (the only real bot for Firearms) into a MetaMod compatible plugin. I have the source code from the latest test release of MB, I have the latest (2.3) HL SDK I could find, and I downloaded your MetaMod 1.17sp source. I have searched the web over, and perused these forums for over 3 hours now, and can find no instructions anywhere on what I have to do to to my Marine Bot source files to make them into a MetaMod plugin. Any help or suggestions would be greatly appreciated. BTW, this will initially be a Linux only plugin, as I don't have enough hard-drive space left on my Windows box to install Visual Studio .NET and compile for Windows.???:( |
Re: I'm STEAMed up !!!
I believe the safe way is first to understand perfectly how a metamod plugin works. To achieve this, download some simple plugins and look closely at their source code. I would recommend mine, since for each I try to keep the same structure (except the most complicated ones such as the bots). There are, basically, two interfaces in the HL engine, and metamod provides hooks for both. Once you get used to what these interfaces are, how they work and how to hook them, you can give a go porting your bot to metamod. Download one of the current metamod bot's source code and keep it as a reference on how to do things when you're really stuck.
And BTW, when your bot is a metamod plugin, you can compile it for Windows with MinGW32, or if you're a real geek do like Will Day and cross-compile it for Windows directly on your linux box ;) Anyway, thanks for the diffutils ! |
Re: I'm STEAMed up !!!
Quote:
|
Re: I'm STEAMed up !!!
mh, perhaps it might be a smart idea to ask Will Day before even talking of stuff like that, what do you think ?
|
Re: I'm STEAMed up !!!
sure, its just that the idea is nice. Of course some aproval by Will Day would be handy :)
|
Re: I'm STEAMed up !!!
Hi,
i did not tell, but "our" meamod does compile with gcc 3.2 PMB, i just don't know why we should, or shoudl we? There are plenty of warnings, but thats just cosmetic. If needed i could beautify it.. The probability of problems with linux rental servers is bigger when using gcc 3.2. so using gcc 2.95.3 is just the safe way where my thoughts... i'm just installing the cross compile stuff, so then metamod won't be a problem to have for both platforms ;-) i will also try to make hpb_bot for win32 in linux. i acctualy never compiled win stuff on win, besides java stuff, but thats no win32 stuff *g* OT: guys the server is having a leak, a memory leak, the hlds is beyond 400mb ram, i wont kill it so someone who wants to can have a look at. OT2: we seem to got rid of the swap problem. it was the swap partition, the server is running on low mem for atleast 24 hrs and no crash or swap_free error in the logs for 10 days. cheers memed |
Re: I'm STEAMed up !!!
About the memory leak, what are the plugins currently running ?
|
Re: I'm STEAMed up !!!
meta list
Currently loaded plugins: description stat pend file vers src load unlod [ 1] HPB_Bot RUN - hpb_bot_mm_i386. v4.0.0 ini Start ANY [ 2] RealBot RUN - realbot_mm_i386. v2093 ini Start ANY [ 3] HLIRC RUN - hlirc_mm_i386.so v4.0 ini ANY ANY [ 4] Adminmod RUN - admin_MM_i386.so v2.50.58 ini Start Start *atomrofl* i will exchange the realbot oldie *g* but it was a good proof to my swap theory 8D now its: meta list Currently loaded plugins: description stat pend file vers src load unlod [ 1] HPB_Bot RUN - hpb_bot_mm_i386. v4.0.0 ini Start ANY [ 2] RealBot RUN - realbot_mm_i386. v3005 ini Start ANY [ 3] HLIRC RUN - hlirc_mm_i386.so v4.0 ini ANY ANY [ 4] Adminmod RUN - admin_MM_i386.so v2.50.58 ini Start Start anybody oposes installing a ping booster on the cs part of the server ? oh damn it friday and they realy do the update now jipie lets frag, it worked like expected =) ok thre cross build fails, there are a lot of ver types messed up, ahh i just hate that Code:
engine_api.cpp: In function `void* mm_PvAllocEntPrivateData(edict_t*, int)': http://www.bubblemod.org/forums/viewtopic.php?t=656 so the updates just broke mingw ? would be to bad, allthough the error just looks like a simple typedef mistake. sorry i'm low on time now, i will chek that later this weekend |
All times are GMT +2. The time now is 15:03. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.