shardz Posted September 22, 2004 Report Posted September 22, 2004 SSCU RedStar is looking for VB coders to work on events/plugins for our bot core.Please get in touch with me if you think you qualify.
shardz Posted September 23, 2004 Author Report Posted September 23, 2004 What bot core? -MMave <{POST_SNAPBACK}>Its RedStars own bot core. ps. akai is mean
Himura Kenshin Posted October 26, 2004 Report Posted October 26, 2004 lol vb? i know java vb is like 3 steps below it i can help.
»Maverick Posted October 27, 2004 Report Posted October 27, 2004 C++ is more closer to Java then Visual Basic
Himura Kenshin Posted October 27, 2004 Report Posted October 27, 2004 ya thats true VB also uses same commands as java too such as double/int and other stuff i cant think of
MasterDrake Posted October 27, 2004 Report Posted October 27, 2004 VB is just qbasic in a window, its not even close to Java or C++
Himura Kenshin Posted October 28, 2004 Report Posted October 28, 2004 not what i did at school i did vb java then ap java smooth transistion.
MasterDrake Posted October 28, 2004 Report Posted October 28, 2004 I did QB, VB, and then I went to Java too I was like hmm I WANT VB BACK lol
»Maverick Posted November 4, 2004 Report Posted November 4, 2004 yay? I would recommend switching to C++ -> Mervbot TWCore isnt that stable and still has all sort of problems
Himura Kenshin Posted November 4, 2004 Report Posted November 4, 2004 yea its TWcore is hard unless you get someone who already knows how to program it to help you.
shardz Posted December 2, 2004 Author Report Posted December 2, 2004 We've been using TWCore for a few months now and it seems the new version is VERY stable, havent had it crash yet, plus I really like all the features the core has. My most favorite bot, ever.
»Maverick Posted December 3, 2004 Report Posted December 3, 2004 what version is that? 0.89? If its 0.89, try enabling ?bla command and use it. You will see TW Core crash / restart on it.
Dr Brain Posted December 3, 2004 Report Posted December 3, 2004 TWCore killed Hyperspace a year ago. I doubt the problem we had was ever fixed, because, to the best of my knowledge, we were using the same revision that is currently out there. Beware.
Dav Posted December 4, 2004 Report Posted December 4, 2004 then again HS did push it to the upper limits of what its capable of
Dr Brain Posted December 4, 2004 Report Posted December 4, 2004 That wasn't the issue. It wasn't anything we were doing. The hub bot itself was experiencing the same issues.
»CypherJF Posted December 4, 2004 Report Posted December 4, 2004 Btw, I had learned QBasic, VB, Perl (or switched), then C++, then Java. The latter 3 were rather easy to pick up due to the nature of the similar structures...
»D1st0rt Posted December 6, 2004 Report Posted December 6, 2004 TWCore is very stable if you know what you're doing. How are you making it crash, and what are you comparing it to?
Rifleman Posted December 6, 2004 Report Posted December 6, 2004 TWCore 0.89 mainly has 2 bad bugs, and 1 annyoing. 1 : Short messages for staff such as "Rifleman>?bye bot" will cause the core to incorrectly parse the message and get an ArrayIndexOutOfBoundsException.It`s easily fixable by adding a try{}catch(){} in message.java (still waiting for a release which will fix this, so I haven`t bothered to fix it myself) 2 : The bot doesen`t recieve player position packets outside of centerIn order to recieve position packets from all players, the bot has to switch spectating players at a interval given in arena settings (sendPositionDelay I believe).However, TWCore doesen`t currently download any arena settings in any way that I know of, so it has no idea how quickly it can move on to specating the next player.If it does it too fast, the server interprets it as packet flooding, and kicks all bots + bot host off the server and blocks that IP for 2-5 minutes.If it does it too slow, the bot will run normally, but would be sluggish compared to Mervbot. This bug is fixable if a arena settings parser is added to the next release of TWCore, or if you add it yourself. 3 : At random times, some bots will fail to log in (Bot setup time : 5007), so the bot has to be spawned from the hub bot.Not a serious bug, but more of a annoyance. Other than that, I think TWCore is great. It misses some of the features of Mervbot, but is pretty easy to understand and customize to your own liking. -Rifleman
»D1st0rt Posted December 6, 2004 Report Posted December 6, 2004 Short messages for staff such as "Rifleman>?bye bot" will cause the core to incorrectly parse the message and get an ArrayIndexOutOfBoundsException.I've never actually experienced this, and I have used commands like "!say a" and "!go 1" before. Are you using manual command parsing or CommandInterpreter? The bot doesen`t recieve player position packets outside of centerIn order to recieve position packets from all players, the bot has to switch spectating players at a interval given in arena settings (sendPositionDelay I believe).I have discussed this at length with several people. Currently, there is a function that does it in BotAction (don't know if its in the public release yet), but it only switches players every 200ms. When I made a custom function to switch between two players, I made a TimerTask that runs I believe every 500ms and it works fine. The problem with moving the bot around at a fast interval like 10ms in merv is that the bandwidth usage is crazy. Ekted outlined the process: bot sends spec, server acks, server tells client it's being specced, client acks, client sends large version of pos packet. bot sends spec to another client, server acks, server tells old client to stop being specced, client acks, server tells client it's being specced, client acks, client sends large version of pos packetHowever, TWCore doesen`t currently download any arena settings in any way that I know of, so it has no idea how quickly it can move on to specating the next player.I did write one a while back, but its horribly inefficient and uses a lot of memory because Java's data structures don't pack well. Most bots don't even use it, and it would require several changes to the core, so I didn't pursue that. The best thing to do would be one that parses ?get. 3 : At random times, some bots will fail to log in (Bot setup time : 5007), so the bot has to be spawned from the hub bot.If you're talking about the autoloader, I don't really use that so I wouldn't know. I think I recall having some problem where bots didn't log in a long time ago, but not any problems recently. I have found that in general, most of the "bugs" in TWCore are just things that haven't been fully implemented yet.
Rifleman Posted December 6, 2004 Report Posted December 6, 2004 By commands, I meant commands like f.ex ?help and ?modinfo, not bot commands.If a command is at 2 letters, like ?hi, the bot will crash when it recieves that command. -- Spectating a different player every 500ms is a way to do it, but it makes the bot unable to host games which requires nearly instant detection of where players are.I made a similar way of detecting player positions, but I found a few flaws with it . Situation :I made a module for an event where players capture hills.. 1)Player must be at a hill spot for 7 seconds2)If a player moves out of the hill spot, the timer is reset. The bot would react slower to item 2 as the number of players increased (logically). Using the unofficial core fix did not make any difference, possibly due to missing some other file I guess.I like the way the fix was meant to work though.It could give it a nice advantage over mervbot when it comes to conserving bandwidth/avoiding packet flooding when multiple bots are hosted by one person. Still, those 'bugs' do not mean much in the whole picture, it`s still a good bot and I`ll look forward to the next release [Edit] You were correct regarding the Autoloader [/Edit] -Rifleman
»D1st0rt Posted December 6, 2004 Report Posted December 6, 2004 what I would do for the above situation is just jump back and forth between hill spots because thats actually how I made mg-style ctf modinfo...? Are you using it on an ASSS server?
Recommended Posts