December 03, 2021, 09:47:20 am

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Poll

-No Question, but don't know how to remove poll-

Nothing
- 9 (50%)
Nothing
- 9 (50%)

Total Members Voted: 15


Pages: 1 2 [3] 4 5 ... 15

Author Topic: [Real Mod] Orpheon's Hosting Utilities - v8.1  (Read 22793 times)

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #30 on: July 16, 2011, 11:38:41 am »

i feel likei should bring this up again

Also ive finished typing up my notes

(click to show/hide)

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #31 on: July 16, 2011, 11:42:29 am »

Updated version

Bot Ideas/Notes

Class Specific

Scout
Done, they just dont get the objective enough

Pyro
Done, Needs air blasting

Solider
Done

Heavy
Done, needs noming

Demoman
Not done
Uses waypoints or objectives to determine where to place mines if opposite team goes on the mines the bot will activate the, but has to see watch them or it is unfair.

Engie
Done

Spy
Sort of done
When within a certain range with an enemy will calculate how long it will take for them to reach the spy and then performs stab, if the stab fails then uncloak and shoot (constantly cloaked)

Sniper
Pretty much done
Stand still more

Medic
Not done
When a player calls for a medic and is within 150 x 150 pixles of the bot and is reachable and has 75% health or less go to the player and copy their movements (will switch to someone else is they have less health) when player reaches 100% health carry on healing until someone else calls for a medic, will not heal spies when they are cloaked, if medic gains an uber then only use it is there are 2 (3?) or more enemies on the screen or is health drops below 30/40%

Q/C
Constantly shoots bubbles, when they see an enemy fire blades at them

General class ideas
If health goes below 50% they will call for a medic

Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6426
  • Developer
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #32 on: July 16, 2011, 11:45:33 am »

___________________________________________
ERROR in
action number 1
of Begin Step Event
for object GameServer:

In script GameServerBeginStep:
In script processClientCommands:
In script getClass:
Error in code at line 5:
   if iterateTeammates(argument0) < global.classlimits[argument0]
                                           ^
at position 42: Unknown variable classlimits or array index out of bounds
___________________
ERROR in
action number 1
of Key Press Event for <Enter> Key
for object Console:

Error in code at line 4:
   bot_class = string_array[2]
               ^
at position 14: Unknown variable string_array or array index out of bounds
 :z4:
The second error is because you didn't give enough arguments when you called addBot.

The first one is more serious though. What class were you trying to spawn as?
Logged

Mew!

  • 2011 Haxxy Finalist
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 546
  • PAL5Q 1.15.2013
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #33 on: July 16, 2011, 11:54:23 am »

Runner.
Logged

Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6426
  • Developer
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #34 on: July 16, 2011, 12:07:43 pm »

Runner.
What the...

Were you hosting?
What was the classlimit?
Logged

Mew!

  • 2011 Haxxy Finalist
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 546
  • PAL5Q 1.15.2013
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #35 on: July 16, 2011, 12:10:05 pm »

I was hosting. I had the same problem when every limit was set to 999... I got the error above with Runner Class Limit=9. There were like 5 players in the server at the time including bot(s).
« Last Edit: July 16, 2011, 12:10:43 pm by Scroll Spirit »
Logged

Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6426
  • Developer
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #36 on: July 16, 2011, 12:22:18 pm »

I was hosting. I had the same problem when every limit was set to 999... I got the error above with Runner Class Limit=9. There were like 5 players in the server at the time including bot(s).
I'm honestly baffled. There is no code that touches that array, and it's defined correctly in game_init().
Try it with this
Does it appear again?
Logged

Orpheon

  • 2011 Haxxy Award Winner
  • *
  • Karma: 15
  • Offline Offline
  • Posts: 6426
  • Developer
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #37 on: July 17, 2011, 02:29:50 pm »

Ok guys, I'm gone.

If you want to try out a "beta", you can take this.

It mainly makes snipers hurt bots, which they didn't do before now.

Also, I've tried fixing arena and succeeded half-way. Now bots do spawn as normally but errors appear at the end of the match.

Good bye 'till the 25th!
« Last Edit: July 17, 2011, 02:30:09 pm by Orpheon [ONE] »
Logged

MTK5012

  • 2011 Haxxy Finalist
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 773
  • if (ping <= 150) jaw.y += 100;
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #38 on: July 17, 2011, 09:23:17 pm »

working on an alternate OHU version:
-bot can have custom name
-spy bot (buggy)
-fix the crash when there aren't "banlist.txt" file

MTK5012

  • 2011 Haxxy Finalist
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 773
  • if (ping <= 150) jaw.y += 100;
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #39 on: July 17, 2011, 10:24:55 pm »

HERE YOU GO:
:smiley16:
enjoy
how to change bot name:create a txt file name "BotNames"
each name must be a line seperate:
(click to show/hide)
however Tempest Bot will be one of their choice

Flaw

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 112
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #40 on: July 22, 2011, 03:27:01 am »

Aiming in general
Since the bot is run like the normal gang garrison wherever your cursor is effects where you aim so this makes shooting ‘difficult’ we need a system to make you (the person running the programme) not effect the aiming

Scripts -> Message Builders -> ClientInputstate
Quote
// Notify the server about the current keystate and aim direction
// Argument 0: Buffer or socket to write to
// Argument 1: the current keybyte

write_ubyte(argument0, INPUTSTATE);
write_ubyte(argument0, argument1);
write_ushort(argument0, point_direction(global.myself.object.x, global.myself.object.y, mouse_x, mouse_y)*65536/360);

You should be able to figure out what to change (the last line).
« Last Edit: July 22, 2011, 03:27:46 am by Flaw »
Logged

Mew!

  • 2011 Haxxy Finalist
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 546
  • PAL5Q 1.15.2013
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #41 on: July 22, 2011, 05:53:21 pm »

HERE YOU GO:
:smiley16:
enjoy
how to change bot name:create a txt file name "BotNames"
each name must be a line seperate:
(click to show/hide)
however Tempest Bot will be one of their choice
Bot names don't work for me. I've created a text file named BotNames and put it in the same directory as your modified client. Bots' names still appear as tempest bots'.
Logged

Jazzy

  • Junior Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 126
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #42 on: July 22, 2011, 11:45:12 pm »

Excellent mod. Very useful. However, there seem to be a few bugs, at least for me.
  • The rocketman class limit always resets to 9999 after launching gg2
  • The font isn't 8-bit or whatever but I'm sure you know and it's not important anyway
  • I can't change my name, when I try to, it just stays blank
  • I also got a few errors
ERROR in
action number 3
of Create Event
for object SplashController:

File is not opened for reading.


ERROR in
action number 3
of Create Event
for object SplashController:

Trying to close unexisting text file.
These two appear right before the faucet splash screen, I just ignore both and the game continues


ERROR in
action number 1
of Begin Step Event
for object GameServer:

In script GameServerBeginStep:
In script processClientCommands:
In script getClass:
Error in code at line 5:
  
if iterateTeammates(argument0) < global.classlimits[argument0]
                                           ^
at position 42: Unknown variable classlimits or array index out of bounds


ERROR in
action number 1
of Begin Step Event
for object GameServer:

In script GameServerBeginStep:
In script processClientCommands:
In script getClass:
Error in code at line 5:
  
if iterateTeammates(argument0) < global.classlimits[argument0]
                                           ^
at position 42: Unknown variable classlimits or array index out of bounds
these cause a crash

Most of these problems are probably my fault, it wouldn't surprise me  =/
« Last Edit: July 24, 2011, 12:29:39 am by Jazzy »
Logged
i have to wait all my team die and then i shot.

MTK5012

  • 2011 Haxxy Finalist
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 773
  • if (ping <= 150) jaw.y += 100;
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #43 on: July 23, 2011, 02:45:45 am »

Bot names don't work for me. I've created a text file named BotNames and put it in the same directory as your modified client. Bots' names still appear as tempest bots'.
that's weird,the botname work fine for me,i downloaded your names file and put it IN THE SAME FOLDER OF THE EXE
and it work fine ??????????
maybe im uploaded the wrong version (or you run the wrong version)
Try this
are your computer is "window" because Orpheon told me that "linux" doesnt have the ".txt" thing,it could be the problem

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: [Real Mod] Orpheon's Hosting Utilities
« Reply #44 on: July 23, 2011, 07:30:57 am »

you can spawn as the quote with this but its easy to fix
Pages: 1 2 [3] 4 5 ... 15
 

Page created in 0.04 seconds with 39 queries.