World War Help

Posted by Malti on Fri 13 Apr 2007 05:22 PM — 4 posts, 15,834 views.

USA #0
Ok everyone, I am totally lost. I know I can handle the coding but I am unsure of where to start (file and psudocode wise). So, Here is my goal. I am going to do a complete PVP mud, where you select between 3 or 4 races and your class. You get teleported to the "hometown" of your race. So far, so good. Everyone then is PVP, and you get honor points based off of killing other people of other races, and you lose points for killing your own. From there, I want to have a scoreboard of who is the top 5 in honor points for each race, also in the who command print out their personal points. I tried to examine the PKill code, but Im so confused as to where each part of the script is and how to alter it. Any ideas would be greatly appreciated.
USA #1
The is_safe function is used to determine if the target can be attacked or not. The is_pkill function determines if the target is able to be PKed. The can_pkill determines if the player can PK.
USA #2
Fair Enough..Any Suggestions for the whole honor points system, maybe something I could look at for an idea?
USA #3
You'd first need to create a new variable for players. After that, I think you would want to edit the raw_kill function and add ifchecks against the races etc, and then modify the new variable as needed.