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
Damage Packet? Protocol?

 
Post new topic   Reply to topic Printable version
 View previous topic  file reading Post :: Post Problem  View next topic  
Author Message
milosh
Newbie


Age:38
Gender:Gender:Male
Joined: Dec 09 2007
Posts: 6
Offline

PostPosted: Fri Dec 14, 2007 3:21 pm    Post subject: Damage Packet? Protocol? Reply to topic Reply with quote

I'm trying to get TWCore's bots to send damage packets when they are hit. I've been looking through D1st0rt's Packet Protocol Page(http://d1st0rt.sscentral.com/packets.html), but I can't seem to find a packet for damage. I'm assuming it's one of the yet to be found packets listed there...
0x04
0x0A
0x11
0x12
0x14
0x1D
0x21
0x22
So I'm wondering if anyone could point a newcomer in the right direction to discovering the packet and it's protocol. Any help is much appreciated biggrin.gif .
_________________
SSCU Trench Wars Moderator
SSCU Trench Wars Bot Developer
SSCU Trench Wars Dev Member
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


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

PostPosted: Fri Dec 14, 2007 5:36 pm    Post subject: Reply to topic Reply with quote

Damage packet? Why would the server send damage packets to the client? Isn't it be calculated based on a weapon algorithm on the client?
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Fri Dec 14, 2007 9:52 pm    Post subject: Reply to topic Reply with quote

cypher is right, it's done client side.
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
D1st0rt
Miss Directed Wannabe


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

PostPosted: Sat Dec 15, 2007 11:50 am    Post subject: Reply to topic Reply with quote

You may be interested in the SpaceShip class Sika wrote a while back. I can't remember it working in a long time though, so you might need to tweak it.
_________________

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: Sun Dec 16, 2007 6:33 pm    Post subject: Reply to topic Reply with quote

There's also watchdamage.h in the asss project. The c2s type is 0x32.

Since *watchdamage is a cont feature, there is a possibility it won't work on bots (as in if you pm a bot *watchdamage subgame won't forward the request to the client).
_________________
ss news
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
milosh
Newbie


Age:38
Gender:Gender:Male
Joined: Dec 09 2007
Posts: 6
Offline

PostPosted: Tue Dec 18, 2007 2:22 am    Post subject: Reply to topic Reply with quote

Yeah, that's what confused me. Thanks.
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Page 1 of 1

 
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: 32 page(s) served in previous 5 minutes.

phpBB Created this page in 0.489342 seconds : 30 queries executed (95.1%): GZIP compression disabled