Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Messaging Problems
Goto page 1, 2  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  Turf flag owning method Post :: Post Powerball  View next topic  
Author Message
Dustpuppy
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 23 2003
Posts: 215
Location: England
Offline

PostPosted: Tue Feb 17, 2004 8:39 pm    Post subject: Messaging Problems Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website
ExplodyThingy
Server Help Squatter


Age:38
Gender:Gender:Male
Joined: Dec 15 2002
Posts: 528
Location: Washington DC
Offline

PostPosted: Tue Feb 17, 2004 8:49 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Feb 19, 2004 1:22 pm    Post subject: Reply to topic Reply with quote

Maybe it got *shutup or something?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Fri Feb 20, 2004 2:58 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Fri Feb 20, 2004 10:40 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email
Dustpuppy
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 23 2003
Posts: 215
Location: England
Offline

PostPosted: Fri Feb 20, 2004 11:21 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website
Dustpuppy
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 23 2003
Posts: 215
Location: England
Offline

PostPosted: Fri Feb 20, 2004 11:50 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Feb 20, 2004 9:02 pm    Post subject: Reply to topic Reply with quote

That happened to me also, but I did something and it worked again sa_tongue.gif
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Feb 20, 2004 9:03 pm    Post subject: Reply to topic Reply with quote

perhaps -- restart it?
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Mon Feb 23, 2004 6:43 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Feb 23, 2004 9:32 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Tue Feb 24, 2004 7:00 am    Post subject: Reply to topic Reply with quote

Merv also ignores the SoccerGoal event.

Code: Show/Hide
case EVENT_SoccerGoal:
      {
         int team = *(int*)&event.p[0];
         int reward = *(int*)&event.p[1];

         String s;
         if(team == 0)
            score[0]++;
         if(team == 1)
            score[1]++;

         _listnode<Player> *p = playerlist->head;
         while (p)
         {
            if(team == 0)
            {
               s = "*objset 3,4,";
               sendPrivate(p->item,s);
            }
            else
            {
               s = "*objset 1,2,";
               sendPrivate(p->item,s);
            }
            p = p->next;
         }
      }
      break;


Because it doesn't send public messages I added this while-loop to send a private message to every player. But nothing happens when I score a goal. I don't see the objects and the score remains 0-0.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Feb 24, 2004 4:54 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Wed Feb 25, 2004 1:49 am    Post subject: Reply to topic Reply with quote

Until I started to work on Bots again a few days ago it also worked for me.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Thu Feb 26, 2004 7:36 am    Post subject: Reply to topic Reply with quote

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 !? new_scrambles.gif
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Thu Feb 26, 2004 12:02 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Thu Feb 26, 2004 4:58 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Thu Feb 26, 2004 5:27 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Feb 26, 2004 5:45 pm    Post subject: Reply to topic Reply with quote

I suggest .39, there are implementations for LVZ stuff obj handling... not sure how it works but yeah! w00t lol
Back to top
View users profile Send private message Add User to Ignore List
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Thu Feb 26, 2004 11:00 pm    Post subject: Reply to topic Reply with quote

You need build 39, it contains a lot of fixes to problems i found
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Fri Feb 27, 2004 1:59 am    Post subject: Reply to topic Reply with quote

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. sa_confused.gif
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Feb 27, 2004 10:39 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Doggeti
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Jan 12 2003
Posts: 297
Location: Germany
Offline

PostPosted: Fri Feb 27, 2004 12:19 pm    Post subject: Reply to topic Reply with quote

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 icon_wink.gif
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Fri Feb 27, 2004 1:12 pm    Post subject: Reply to topic Reply with quote

I don't know I dont use objon/off or objset :/ LOL....
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Feb 27, 2004 5:55 pm    Post subject: Reply to topic Reply with quote

Could you post your code using enable_object, etc?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 93 page(s) served in previous 5 minutes.

phpBB Created this page in 0.541179 seconds : 49 queries executed (90.2%): GZIP compression disabled