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

Go Back   .:: Bots United ::. > Cyborg Factory > RACC
RACC Autonomous fragmachines by PMB Counter-StrikeDMCHLDMThe Specialists

Reply
 
Thread Tools
Re: hehehehe
Old
  (#41)
Rifleman
This user broke our rules and has been BANNED
 
Status: Offline
Posts: 128
Join Date: Sep 2004
Location: Mars
Default Re: hehehehe - 08-12-2004

how about make the file "read-only" ? I remember STEAM wont overwrite the liblist.gam file if we set it to read-only mode
   
Reply With Quote
Re: hehehehe
Old
  (#42)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,075
Join Date: Nov 2003
Location: Netherlands
Default Re: hehehehe - 08-12-2004

you mean HL2 has the DLL inside the gcf file? I find that pretty odd! I remember CS 1.6 (steamed as well) had a seperated DLL and also CZ too... i dunno about CSS. It does have a seperated directory, but i dunno if the dll is too... that would be enough? ..


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
   
Reply With Quote
Re: hehehehe
Old
  (#43)
Whistler
Whistler
 
Whistler's Avatar
 
Status: Offline
Posts: 1,478
Join Date: Feb 2004
Location: Beijing, P. R. China
Default Re: hehehehe - 08-12-2004

well the Steam will just extract the dll out of the gcf file every time we start the game...
and the bad thing is that we can't change the name of dll in liblist.gam for the HL2 engine, the name is hardcoded as "bin\server.dll"
   
Reply With Quote
Re: hehehehe
Old
  (#44)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,075
Join Date: Nov 2003
Location: Netherlands
Default Re: hehehehe - 08-12-2004

but how do other mods work then? They do have a liblist.gam right?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
   
Reply With Quote
Re: hehehehe
Old
  (#45)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 4643'60N 043'0W 0.187A
Default Re: hehehehe - 08-12-2004

I wouldn't worry, Whistler, as I know for almost certain that the Valve guys planned (maybe they've done it, or maybe not yet) to implement hook abilities for third-party plugins, in the metamod style. It WILL be possible to add third-party plugins to Source games, they told it themselves.



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
Re: hehehehe
Old
  (#46)
Whistler
Whistler
 
Whistler's Avatar
 
Status: Offline
Posts: 1,478
Join Date: Feb 2004
Location: Beijing, P. R. China
Default Re: hehehehe - 08-12-2004

well from what I have seen in my saved copy of CS:S beta version, the liblist.gam in HL2 is only for the name of the MOD (e.g., "Counter-Strike", "Half-Life", etc). You can specify the name of the game DLL in it.
   
Reply With Quote
Re: hehehehe
Old
  (#47)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,075
Join Date: Nov 2003
Location: Netherlands
Default Re: hehehehe - 08-12-2004

I am trying to strip my own bot very naked to get the principe 'engine independant' working. I can compile and run it now in CS and it does nothing but running. I can't even spawn a bot yet.

The problem is, i figured that we rely on METAMOD now. On HL 2 we DO NOT have METAMOD! Unless someone from Valve releases something like that, or we have some miracle we can just hook up to the dll and find all functions ourselves, writing an interace for the bot dll will be difficult.

Anyone thought about that?


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
   
Reply With Quote
Re: hehehehe
Old
  (#48)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,075
Join Date: Nov 2003
Location: Netherlands
Default Re: hehehehe - 08-12-2004

I have taken a closer look at the RACC new code. I got confused by this principle:

At start you try to catch as less network messages as possible. Doing some loops and check out the entity state of the Hl engine, updating your own entity list. Thats fair and thats logical imo.

Later on i see all engine messages (yet in a bit different name)....

so , how come? did the principle fail? Or did something else make it like this?

I like the approach of having an entity list, and seperated player list. I also like the idea of updating the entity list with the loop , so you have a most independant way of doing so. But then i get fuzzed. I am trying to get a clear picture to make a bare minimum template.

So far, my code can compile, and it can run (does not crash). It still shows my welcome message even, but a lot of garbage is in the code that can be taken out.

As i see it now, there is in general :

the bot brain
the information for the bot brain
the interface

the bot brain is empty , the information for the bot brain(the updating cycle, entity list etc) is also empty, the interface works basicly.

I want to deliver my 'template' with an 'empty' interface so you know what basics have to be in to get it working. Its a shame i don't know a thing about Quake 3 or something, because else i could try 2 different 'interface.cpp' files and try to run the same code with it... thats the true way of showing it works.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
   
Reply With Quote
Re: hehehehe
Old
  (#49)
MarD
Waypointer/Moderator
 
MarD's Avatar
 
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
Default Re: hehehehe - 08-12-2004

Heyyo,

Well Stef, adding plugins shouldn't be too hard. If someone was able to leak the CZbot onto CSS I'm sure it won't be too long until others learn how he did it or find another way.


Later-a-much, and LONG LIVE THE D!,
(Link>>>MarD's Moddin' Site<<<Link) MarD

Rock Hound. (<Link)
   
Reply With Quote
Re: hehehehe
Old
  (#50)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 4643'60N 043'0W 0.187A
Default Re: hehehehe - 08-12-2004

I don't quite understand the question you're asking... can you be more precise ?

As for the metamod "problem", refer to my previous post. Metamod or no metamod is not part of the problem, since all is needed for this framework to be usable is a hook on the video frame and a few engine functions. No matter the way, metamod or hook DLL (or anything else), if these parts are hookable, it WILL work. Here, metamod was used because it's a convenient way to hook the HL engine. You can consider metamod itself as "part" of the interface.

BTW, I got a mail telling that the United Admins might be interested in this 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
Reply


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

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 - 2017, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com