View Single Post
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Aug 25, 2006, 03:49 AM
Neobeo is offline
Reply With Quote
Quote:
Originally Posted by Grytolle
I still don't think it's needed, and if it is, I bet Neobeo can, since he messed with those things with his anims-editor.
My name appears 5 times in this thread so far.

It appears there are two parts to this question.

1) Is there need for bullet trajectories to be calculated in the dedicated server?

Yes. When a client shoots, he basically sends a simple packet saying "I shot this weapon, which is powered-up/normal at this gunspot". Then the server will decide if the shot hits another player and replies appropriately. Sure, the client may see that his bullet actually hits the player, but if the server did not, then the client won't actually see that player getting hurt.

2) Can Neobeo do it?

Tough. For a start, messing with anims gives no clue to calculations of trajectories. What happens is that you need to completely re-compute it from scratch, or extract the info from the ASM, and I'd prefer the latter. Theoretically, how I would go about doing this is to intercept the ASM of a function where the server receives the shoot packet, and extract from there. This is not an impossible task, but the conversion could be a very tedious process.

With regards to the original topic of ideas for such a project, everything I can think of right now has already been mentioned here.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>