Author |
Message |
Dustpuppy Server Help Squatter

Age:40 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Tue Feb 17, 2004 8:39 pm Post subject: Messaging Problems |
 |
|
|
|
My bot has suddenly become mute, and I can't figure out why for the life of me. I'd appreciate any suggestions people can give.
Up until recently this was all working fine, so I guess I must have changed something but I've only been working on the database code recently so I don't know how it happened.
I can't see the bots public or private messages anymore, although team, remote and channel messages still appear. The weird thing is, if I send ?jackpot, the bot gets a response.
Here's what I've thought of so far:
- It doesn't seem to be my client settings causing the problem, since everyone I've asked can't see the messages either.
- I had public macro messages on at the time
- I checked my chat type enum and the packet log, and it is sending the correct chat type. (The fact that it gets a ?jackpot response would also back this up)
- Think that's all that occured to me...
I realise it's probably hard to see a possible cause without knowing the source, but perhaps I'm overlooking something really obvious... |
|
Back to top |
|
 |
ExplodyThingy Server Help Squatter
Age:38 Gender: Joined: Dec 15 2002 Posts: 528 Location: Washington DC Offline
|
Posted: Tue Feb 17, 2004 8:49 pm Post subject: |
 |
|
|
|
I have the exact same problem. The bot sends every kind of chat except public. ALthough, it gets responses from commands. Its very weird. _________________ There are no stupid question, but there are many inquisitive idiots.
Loot
Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries |
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Thu Feb 19, 2004 1:22 pm Post subject: |
 |
|
|
|
Maybe it got *shutup or something? |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Fri Feb 20, 2004 2:58 am Post subject: |
 |
|
|
|
I have had this many times, I added String+=GetTickCount() to the message and then the message would work. Not only merv, but a powerbot that I use to do zone messages in SWZ will ignore commands at times for no apparent reason. I change the message that I am sending and then it works. Subgame does wierd things, Ive seen it crash, ignore settings changes and lose the powerball. |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Fri Feb 20, 2004 10:40 am Post subject: |
 |
|
|
|
The server starts to ignore public messages if they are the same. So if you are having it print the same message over and over, then it won't really send. As to what it thinks is the 'same' message, I'm not sure, since it seems to be random on that.
Just have it never send public-messages, or if it needs to, make sure it doesn't send it too often, and it isn't the same message as before. |
|
Back to top |
|
 |
Dustpuppy Server Help Squatter

Age:40 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Fri Feb 20, 2004 11:21 am Post subject: |
 |
|
|
|
I'm not worried about public messages, but private messages are important.
And they aren't the same. If I start up the bot and make it send something, it won't appear. _________________
 |
|
Back to top |
|
 |
Dustpuppy Server Help Squatter

Age:40 Gender: Joined: Jan 23 2003 Posts: 215 Location: England Offline
|
Posted: Fri Feb 20, 2004 11:50 am Post subject: |
 |
|
|
|
Oh, it also can't enter subarenas any more, but I don't know if that's related.
If I try to send it to a sub, it just goes to pub. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Fri Feb 20, 2004 9:02 pm Post subject: |
 |
|
|
|
That happened to me also, but I did something and it worked again  _________________
 |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Feb 20, 2004 9:03 pm Post subject: |
 |
|
|
|
perhaps -- restart it? _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
Doggeti Server Help Squatter

Age:40 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Mon Feb 23, 2004 6:43 am Post subject: |
 |
|
|
|
This is a serious problem. my bot can't do sendPublic any more. Also my self made command !hits gets ignored after the first usage:
ME: !hits
BOT: Hits: 1
ME: !hits
BOT: - _________________ Expect the worst but hope for the best. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Feb 23, 2004 9:32 am Post subject: |
 |
|
|
|
Doggeti wrote: | This is a serious problem. my bot can't do sendPublic any more. Also my self made command !hits gets ignored after the first usage:
ME: !hits
BOT: Hits: 1
ME: !hits
BOT: - |
The ignored after first usage is the server ignoring duplicate public messages that are one after the other. Send it PM or say something in between the !hits. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Doggeti Server Help Squatter

Age:40 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Feb 24, 2004 4:54 pm Post subject: |
 |
|
|
|
That event worked fine for me in my cf_score plugin. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Doggeti Server Help Squatter

Age:40 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Wed Feb 25, 2004 1:49 am Post subject: |
 |
|
|
|
Until I started to work on Bots again a few days ago it also worked for me. |
|
Back to top |
|
 |
Doggeti Server Help Squatter

Age:40 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Thu Feb 26, 2004 7:36 am Post subject: |
 |
|
|
|
It's getting even stranger. I just ran one of my 'old' bots. It is the same build (33) as this not-working one and I tested it on a server with the same version of subgame.exe and this old bot is still working fine. It can set objects, recognize goals and send public messages.
Who messed up the matrix !?  |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Thu Feb 26, 2004 12:02 pm Post subject: |
 |
|
|
|
um... Use the latest version
ANd the command is *objset +3,+4,
Im not sure if it works w/o the + signs? |
|
Back to top |
|
 |
Doggeti Server Help Squatter

Age:40 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Thu Feb 26, 2004 4:58 pm Post subject: |
 |
|
|
|
What is the latest version (if not build 33)?
I type *objset 3,4, in game and it works. The problem is that the bot doesn't seem to get as far as that because it doesn't increase the scores. I think the bot does not receive the SoccerGoal event OR does not pass it on to the dll for some weird reason. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Thu Feb 26, 2004 5:27 pm Post subject: |
 |
|
|
|
Ok, the latest build is 38. You can get it off catid.ssihosting.com.
How are you doing the LVZ toggling? I personally would recommend using Catid's system he built into MERV (enable_object, toggle_objects, etc) because you don't have to mess around with strings that way. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Thu Feb 26, 2004 5:45 pm Post subject: |
 |
|
|
|
I suggest .39, there are implementations for LVZ stuff obj handling... not sure how it works but yeah! w00t lol |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Thu Feb 26, 2004 11:00 pm Post subject: |
 |
|
|
|
You need build 39, it contains a lot of fixes to problems i found |
|
Back to top |
|
 |
Doggeti Server Help Squatter

Age:40 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Fri Feb 27, 2004 1:59 am Post subject: |
 |
|
|
|
I did the whole project from scratch. I used build 39; I gave the bot mod, smod and sysop powers; I used queue_enable and toggle_objects. Nothing helped.  |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Feb 27, 2004 10:39 am Post subject: |
 |
|
|
|
When u do obj set doesnt it need to be +3 or whatnot? ... -3 to turn it off... and is comma's the delimiter ? :/ i dont know this stuff off the top of my head lol |
|
Back to top |
|
 |
Doggeti Server Help Squatter

Age:40 Gender: Joined: Jan 12 2003 Posts: 297 Location: Germany Offline
|
Posted: Fri Feb 27, 2004 12:19 pm Post subject: |
 |
|
|
|
In commans.txt there is an example given: *objset +2 -40
First i tried *objset +3 +4 but nothing would happen.
Then I typed *objset 3,4 but only 3 was turned on.
Finally I did *objset 3,4, and I saw both objects.
You could also use *objset +3,+4, but why would you want to make live harder than it is  |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Feb 27, 2004 1:12 pm Post subject: |
 |
|
|
|
I don't know I dont use objon/off or objset :/ LOL.... |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Fri Feb 27, 2004 5:55 pm Post subject: |
 |
|
|
|
Could you post your code using enable_object, etc? |
|
Back to top |
|
 |
|