Author |
Message |
milosh Newbie

Age:38 Gender: Joined: Dec 09 2007 Posts: 6 Offline
|
Posted: Fri Dec 14, 2007 3:21 pm Post subject: Damage Packet? Protocol? |
 |
|
|
|
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 . _________________ SSCU Trench Wars Moderator
SSCU Trench Wars Bot Developer
SSCU Trench Wars Dev Member |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Dec 14, 2007 5:36 pm Post subject: |
 |
|
|
|
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 |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Sat Dec 15, 2007 11:50 am Post subject: |
 |
|
|
|
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 |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Sun Dec 16, 2007 6:33 pm Post subject: |
 |
|
|
|
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 |
|
 |
milosh Newbie

Age:38 Gender: Joined: Dec 09 2007 Posts: 6 Offline
|
Posted: Tue Dec 18, 2007 2:22 am Post subject: |
 |
|
|
|
Yeah, that's what confused me. Thanks. |
|
Back to top |
|
 |
|