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
core module : respawn

 
Post new topic   Reply to topic Printable version
 View previous topic  N00B coder question. Post :: Post ASSS downloads really slow, (allot slo...  View next topic  
Author Message
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Fri Nov 23, 2007 12:36 pm    Post subject: core module : respawn Reply to topic Reply with quote

what module of asss core handles a players respawn? it would have the call back for mykill() and then a timer to wait for time_respawn_after_kill or w.e. that cfg item is called.
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: Fri Nov 23, 2007 8:45 pm    Post subject: Reply to topic Reply with quote

None of them. That's handled by continuum.
_________________
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
tcsoccerman
Server Help Squatter


Age:33
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Fri Nov 23, 2007 9:02 pm    Post subject: Reply to topic Reply with quote

oh. thank you.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Mon Nov 26, 2007 9:24 pm    Post subject: Reply to topic Reply with quote

The client spawns the player, and doesn't even notify the server that the player has been respawned, IIRC. I WISH it did.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Bak
?ls -s
0 in


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

PostPosted: Tue Nov 27, 2007 10:44 pm    Post subject: Reply to topic Reply with quote

you can force the player to spawn in a small box in the corner of the map and then warp him to where he's supposed to start, the player will barely notice the difference and you can respond to player spawn events as well as have alternate spawn locations based on some condition (I think Desert Storm used something similar for their multiple spawn point bot).
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List 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: Wed Nov 28, 2007 12:14 am    Post subject: Reply to topic Reply with quote

I used to do the whole spawn-in-a-box trick. You can be a bit smarter with asss though.

Set a flag when they die, and listen for the next position packet with an actual position. When you find it, trigger your respawn event. hscore_spawner has all the gory details.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sat Dec 01, 2007 1:03 pm    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
I used to do the whole spawn-in-a-box trick. You can be a bit smarter with asss though.

Set a flag when they die, and listen for the next position packet with an actual position. When you find it, trigger your respawn event. hscore_spawner has all the gory details.


You could always turn it into a nice module that registered a CB_SPAWN. That would be the ideal solution, I'd think.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS 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: 134 page(s) served in previous 5 minutes.

phpBB Created this page in 0.448523 seconds : 31 queries executed (94.1%): GZIP compression disabled