Author Topic: Pbot GPP  (Read 43589 times)

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #30 on: June 07, 2011, 09:23:05 pm »
Updated it. Link fixed in OP.

Here is the new link: http://www.filedropper.com/pbot
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #31 on: June 08, 2011, 06:31:48 pm »
Thanks for update will give this a try had to download via me phone took a while lol

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #32 on: June 09, 2011, 06:35:12 pm »
The patch file worked fine, dont know if you worked on the .qvm or not but still cant join the human team, removed nearly all ref to human team in g_bot.c & compiled, still got the om error
« Last Edit: June 09, 2011, 06:37:08 pm by zoomer »

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #33 on: June 09, 2011, 07:16:43 pm »
You have to replace the game.qvm. The patch file and g_bot.c file is only there if you wish to change stuff and compile from source yourself. Just put the game.qvm in
Code: [Select]
%APPDATA%/Tremulous/gpp/vm
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #34 on: June 09, 2011, 07:28:21 pm »
allready have the server setup correctly with the pbot game.qvm file, when i try to join humans it comes up with overmind error it allows you to join aliens

all other game.qvm work perfectly with the setup i have

i've pached the trem source code /ggp and successfully compiled the new game.qvm,  editing the code to try and figure out why it wont let me join humans







« Last Edit: June 09, 2011, 07:30:05 pm by zoomer »

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #35 on: June 09, 2011, 10:53:27 pm »
The code isn't the issue. It's the datar####-gpp.pk3. Make sure you have the latest one.
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #36 on: June 10, 2011, 06:02:20 pm »
Thanks i was missing the vms-gppr2203.pk3 from c:\program files\server

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #37 on: June 10, 2011, 09:37:21 pm »
Ran a net/wan server atcs/niveus with path files for a few hours

Issues
Sometimes the human bots would not leave the spawns and shout come on
bots had problem with walking past target following along path and no attack
could not figure out how to get bots to connect if a server password was added

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #38 on: June 10, 2011, 09:56:12 pm »
Yeah, I actually prefer the other bots to these bots. Although, the other bots cannot navigate the map as readily, it's more fun fighting them. As for adding bots on a passworded server... I'll look into that.
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #39 on: June 13, 2011, 09:49:14 am »
hows about adding both the bots to 1 qvm ?
« Last Edit: June 13, 2011, 09:51:54 am by zoomer »

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #40 on: June 13, 2011, 09:50:22 am »
Yeah, but it won't be fun to combine them (coding-wise).
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #41 on: June 13, 2011, 09:53:32 am »
Could you not just search replace all the functions with bot2 add for example then combine the code
« Last Edit: June 13, 2011, 09:56:42 am by zoomer »

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #42 on: June 13, 2011, 07:16:27 pm »
Yes, and rename the conflicting functions and all instances of them. I'm sure you can do it with search and replace, but I'm a bit too lazy for that.
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #43 on: June 16, 2011, 05:16:31 pm »
http://www.megafileupload.com/en/file/316787/g-bot2-c.html

Renamed all cases of bot to bot2 (bot,Bot,BOT) I realise this is not all that needed to change in the code and that the end result will be quite alot of duplicated code.

Also played with the patchfile which i dont really understand much about and tried to patch it after the pbot code was added i it was about 40% successful patch allready applied errors


Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #44 on: June 16, 2011, 08:50:01 pm »
You actually only need to rename certain cases of bot to bot2. I'll try to do this today.
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #45 on: June 17, 2011, 03:17:06 pm »
Excellent, going to work on some maps and path files then

found this might be usefull to people

g_level1_range 1100
g_level1UPG_range 1200
g_level2_range 1300
g_level2UPG_range 1400
g_level3_range 1500
g_level3UPG_range 2000
g_level4_range 300
g_human_range 3000
g_bot_evolve 1 (allow/deny evolving)
g_bot_mgun 1(allow/deny weapons)
g_bot_shotgun 1
g_bot_psaw 1
g_bot_lasgun 1
g_bot_mdriver 1
g_bot_chaingun 1
g_bot_prifle 1
g_bot_flamer 1
g_bot_lcannon 1

« Last Edit: June 17, 2011, 04:36:50 pm by zoomer »

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #46 on: June 19, 2011, 05:00:23 am »
Okay, I didn't quite combine them, but made them not follow paths while an enemy is near (in essence, making them act like the pathless bots), which means that they don't run away from the enemy and instead follow it for a bit. If no enemy is found, it'll look for the nearest path and continue patrolling.

New link in OP and here.

http://www.mediafire.com/?xdqnrbj43txhnpq
« Last Edit: June 19, 2011, 09:13:40 pm by Celestial_Rage »
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #47 on: June 20, 2011, 04:23:24 pm »
That sounds spot on aliens were retarded will give this ago

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #48 on: June 22, 2011, 06:29:06 pm »
the aliens get stuck quite abit however it was alot more fair scores wise

kharnov

  • Spam Killer
  • *
  • Posts: 626
  • Turrets: +47/-791
    • Unvanquished
Re: Pbot GPP
« Reply #49 on: June 22, 2011, 07:26:58 pm »
So I decided to have the bots scrim each other.

Local server. Two teams of bots, 3 members each, confined to the outside area of Ingar's ATCS HD.

The alien base:



The human base:



The human bots had a distinct advantage. They had auto-aim, and thus completely ignored the dodging inherent to the alien team. Thus, the human bots were the first to gain heavy weapons.



As you can see, naked humans with lucifer cannons. And they were winning.



Happy mara.



About 20 minutes in, I turned gravity off.



Tyrant is happy because he is no longer constrained by his enormous bulk.



Poor tyrant. Those humans took him down.



Conclusion: bot vs bot scrims are completely hilarious and should be tried by everyone. If you've already downloaded the Brindus mod, you have them available. Just switch to the Brindus mod via the main Trem screen, type /devmap whatever, and set sv_privateclients to the number of bots you want. Build their bases, add the bots, watch them go.

Thanks go to Ingar (for ATCS HD) and Celestial_Rage for the bots.
« Last Edit: June 22, 2011, 07:41:28 pm by kharnov »

F50

  • Posts: 740
  • Turrets: +16/-26
Re: Pbot GPP
« Reply #50 on: June 22, 2011, 07:36:20 pm »
One problem kharnov: Those aren't pbots. Those are actually these bots.
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


kharnov

  • Spam Killer
  • *
  • Posts: 626
  • Turrets: +47/-791
    • Unvanquished
Re: Pbot GPP
« Reply #51 on: June 22, 2011, 07:37:20 pm »
I thought we were using these bots on Brindus?

Oh, crap.

Well, regardless. The other bots were still added/ported by Celestial, so the credits aren't any different.  :P

Would a moderator mind moving that post with the screenshots to this thread? http://tremulous.net/forum/index.php?topic=15100.0
« Last Edit: June 22, 2011, 07:42:29 pm by kharnov »

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #52 on: June 22, 2011, 08:58:18 pm »
If you want to make it more fair, give the humans a skill of 50 or so, so their aim isn't quite so aimbot like.
"The reports of my death are greatly exaggerated" ~Mark Twain

ziplocpeople

  • Posts: 346
  • Turrets: +23/-20
Re: Pbot GPP
« Reply #53 on: June 23, 2011, 01:32:07 am »
If you want to make it more fair, give the humans a skill of 50 or so, so their aim isn't quite so medistation like.
Oh, you. Complementing me behind my back and all that. I really don't know what to say.
Quote from: Sir|Periculosus
yes yes spam a little more and heyll understand! yes yes
मैं स्पैम बॉट समर्थन
मैं हिन्दी का समर्थन
~The Medistation

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #54 on: June 23, 2011, 03:57:57 pm »
hey,

If its not to much greef whats the command to create the patch file

example "diff -u g_bot.c"

many thanks ?

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #55 on: June 23, 2011, 04:52:36 pm »
Yeah. It's
Code: [Select]
diff -u [oldfile] [newfile] > patchfile
« Last Edit: June 23, 2011, 05:01:33 pm by Celestial_Rage »
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #56 on: June 23, 2011, 05:20:20 pm »
http://www.sendspace.com/file/mrqzgp

Removed not used // /* code & cleaned up slightly 
Removed bot friend
Decreased bot enemy range
* aliens can now win
* aliens dont get stuck as much


ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: Pbot GPP
« Reply #57 on: June 24, 2011, 06:10:48 pm »
I can't get the actual game to detect the qvm... I put it in library/app support/tremulous/gpp/vm (mac OS) and i can't seem to finds a tremded-gpp for mac... help?

This is the console, me trying to do the server commands... There's no bot command!
Quote
]bot
unknown command: bot
]!help   
unknown command: !help
]adminhelp
adjustban   adminhelp   admintest   alienint    allowbuild  allready   
ban         builder     buildlog    cancelvote  changemap   denybuild   
humanint    kick        listadmins  listlayouts listplayers lock       
mute        namelog     nextmap     passvote    pause       putteam     
readconfig  rename      restart     revert      setlevel    showbans   
spec999     specint     time        unban       unlock      unmute     
adminhelp: 36 available commands
run adminhelp [command] for adminhelp with a specific command.
And this is the path: Library/Application Support/Tremulous/gpp/vm/game.qvm

Anyone knows what happened?
« Last Edit: June 27, 2011, 02:00:26 pm by ULTRA Random ViruS »

zoomer

  • Posts: 24
  • Turrets: +0/-1
Re: Pbot GPP
« Reply #58 on: June 27, 2011, 05:45:56 pm »
maybe this will help but it might be diffrent for mac

library/app support/tremulous/yourserver folder/vm

tremded-gpp.exe +set fs_game  +exec "yourserver folder" server.cfg

Celestial_Rage

  • Posts: 636
  • Turrets: +120/-8
Re: Pbot GPP
« Reply #59 on: June 27, 2011, 06:53:15 pm »
You put the qvm in the wrong place. Type fs_homepath in console and put the qvm there/gpp/vm.
"The reports of my death are greatly exaggerated" ~Mark Twain