Warcraft II Forum
Warcraft II => Server.War2.ru => Topic started by: I hate naggers on January 11, 2015, 05:49:21 PM
-
how about 2-3 bots CONSTANTLY running and hosting games? Games would be: compstop EASY, compstop MEDIUM, compstop HARD, for example for 2 human players, the number of computers and/or maps would differ across the levels.
that solves 2 major problems:
1. people getting banned from games and not knowing wtf is going on
people would actually see the games being hosted and they'd join, its not that hard to gather 2 people and it would give them an opportunity to socialize and try some multiplayer cooperation stuff
2. people not being able to host (+people who downloaded the game to play with a friend exclusively)
thats pretty much self explanatory
imo its genius cuz its my idea and im genius
-
Its an okay idea, hardly a genius idea.
-
not a bad idea if someone would have to come up with the script.. iL has a lot on his plate right now.
not sure why but occasionally iL's own hosting bot has LAT issues. =/
-
script is a simplified hosting bot, because it doesnt even accept any commands. The tricky part is to take number of players in game from the process memory instead of waiting for the "host" command and starting after XX seconds.
Im pretty sure the lat issues come from the fact that iL forgot to code the server rejoin function that would trigger once in a while
-
maybe whoever joins the game first is assigned as host... upon joining the bot msgs the host (first person to join) "type /msg gamebot start when ready to begin game"
-
it seems kinda complicated and might confuse some people as to why a bot is hosting the game in the first place
-
would still need to do the memory read (taking player name from the process memory to assign him as "host"). Also its more problematic than a simple 2 player melee game, prone to bugs and griefers.
-
The idea could be interesting, need to think about it.
Games would be: compstop EASY, compstop MEDIUM, compstop HARD, for example for 2 human players, the number of computers and/or maps would differ across the levels.
You mean 2 human players against several comps and "easy", "medium" and "hard" is number of the computer opponents?
Also allies+vision should be auotgiven to all the human players then.
-
i think yes, that is what he means IL
maybe:
Easy - 2 computer
Medium - 3 Computer
Hard - 4 Computer
i dont think auto-vision to humans is necessary ... right now in computer games, humans ally/vision eachother after the game starts.
-
Well i said, either the amount of computers OR the maps should change (maps could be more/less difficult, maybe even some new ones designed for that kind of 2vX coop newb compstomp). And i suppose we should start with only one difficulty to see if people like it. The nooblords that is
-
i volunteer as tribute
-
Oh, and you mean we won't need the bound: bot+GameBot anymore? Just 1 GameBot always waiting with it's game all the day until someone joins? And then start, quit and create the next game?
I think i got your idea now, it's really great.
Just need some research for that.
Appreciate anyone's help with the project...
-
Yeah IL thats what he means. its a pretty good idea especially to keep Newbs actively playing.
let the newbs play against computers and learn a little bit of war2 without anyone banning them or yelling at them because they're not good ... maybe after the newbs get the hang of playing computers and meet some new people they can venture out into other maps eventually.
-
Oh, and you mean we won't need the bound: bot+GameBot anymore? Just 1 GameBot always waiting with it's game all the day until someone joins? And then start, quit and create the next game?
I think i got your idea now, it's really great.
Yep.
As for "help", if you have the hostbot already coded, then whats the problem? You gotta delete most of its functionality and add a couple of memory read lines
#include <NomadMemory.au3>
$hMemory = _MemoryOpen(ProcessExists("Warcraft II BNE.EXE"))
$player1 = _MemoryRead(0xFFFFFFFF, $hMemory)
just insert proper hex values in 0xFFFFFFFF, idk if its a variable for players in game if each spot has its own boolean which needs to be scanned, either way its a matter of addresses only.
as for player name, tupac gave me this:
004D975 - slot 1
004D99B
004D9C1
004D9E7
004DA0D
004DA33
004DA59
004DA7F - slot 8
read these bytes for the player name
but i never made use of that. Maybe its as simple as reading it and if its "open" then the slot is empty, else its full.
-
i think yes, that is what he means IL
maybe:
Easy - 2 computer
Medium - 3 Computer
Hard - 4 Computer
i dont think auto-vision to humans is necessary ... right now in computer games, humans ally/vision eachother after the game starts.
But tk, how many of them who just join the server know to how to do this? That kind of is a reason why people don't even let the noobs watch games. Because they can't be bothered explaining to them to ally everyone, toggle ally victory and not share vision.
Maybe the bot would have to explain few seconds before the game starts how to ally + vision each other in the chat so that you do not end up attacking each other.
-
@winchester - if iL gets that type of scenario going where the bot's auto host and users in the game can let it know when to begin, it could be as simple as modifying war2bot's current "idle message" to something like "New to Server.War2.Ru? Try joining game "xxx" and [/msg bot start] when you and your allies are ready to bash some computers!" ... make the bot announce it ever 15-20 minutes or so until people get the hang of it
-
I think most people just ignore the wall of text when they log in
-
I would definitely get rid of that wall of text as soon as you log in. Perhaps you could link the forums instead of clogging up the chat screen?