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
kill points (game.c points_kill.c)

 
Post new topic   Reply to topic Printable version
 View previous topic  Walls? Walls? So many walls? Post :: Post asss is being an ass to me :(  View next topic  
Author Message
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Jul 13, 2003 1:51 pm    Post subject: kill points (game.c points_kill.c) Reply to topic Reply with quote

Currently the kill messages show the killed players bounty even when FixedKillReward is positive, although re-entering the zone shows you your correct score.

In game.c the bounty in the S2C_KILL packet should be the kill points, not the bounty (but the kill points may just happen to equal the bounty...).

points_kill.c
Code: Show/Hide
   if (cfg->GetInt(arena->cfg, "Kill", "FixedKillReward", -1) != -1) {
      pts = cfg->GetInt(arena->cfg, "Kill", "FixedKillReward", 0);
   }
   else
      pts = bounty;

Maybe pass the points into each callback as a pointer, so the last registered callback gets to set the bounty in the kill packet.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website 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: 664 page(s) served in previous 5 minutes.

phpBB Created this page in 0.559672 seconds : 26 queries executed (78.4%): GZIP compression disabled