PlaneShift

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category
  • Assigned To No-one
  • Operating System
  • Severity Low
  • Priority
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: PlaneShift
Opened by Caarrie - 01.09.2008
Last edited by Steven Schwartfeger - 02.09.2008

FS#2218 - /duelpoints was removed and code still exists for it

the command was removed and yet some code for it was left

Index: src/client/cmdusers.cpp                                           
===================================================================      
--- src/client/cmdusers.cpp     (revision 2144)                          
+++ src/client/cmdusers.cpp     (working copy)                           
@@ -112,7 +112,6 @@                                                      
     cmdsource->Subscribe("/dequip", this);                              
     cmdsource->Subscribe("/write", this);                               
     cmdsource->Subscribe("/show_active_magic", this);                   
-    cmdsource->Subscribe("/duelpoints", this);                          
     cmdsource->Subscribe("/pet", this);                                 
     cmdsource->Subscribe("/sit", this);                                 
     cmdsource->Subscribe("/stand", this);                               
@@ -181,7 +180,6 @@                                                      
     cmdsource->Unsubscribe("/dequip",    this);                         
     cmdsource->Unsubscribe("/write",     this);                         
     cmdsource->Unsubscribe("/show_active_magic", this);                 
-    cmdsource->Unsubscribe("/duelpoints", this);                        
     cmdsource->Unsubscribe("/pet",        this);                        
     cmdsource->Unsubscribe("/sit",        this);                        
     cmdsource->Unsubscribe("/stand",      this);                        
Index: src/common/net/messages.cpp                                       
===================================================================
--- src/common/net/messages.cpp (revision 2144)
+++ src/common/net/messages.cpp (working copy)
@@ -1271,7 +1271,6 @@
          command == "/yield" ||
          command == "/admin" ||
          command == "/listemotes" ||
-         command == "/duelpoints" ||
          command == "/sit" ||
          command == "/stand")
     {
@@ -1394,7 +1393,7 @@
          command == "/stoptrading" || command == "/quests" ||
          command == "/tip" || command == "/motd" ||
          command == "/challenge" || command == "/yield" ||
-         command == "/admin" || command == "/duelpoints" ||
+         command == "/admin" ||
                 command == "/list" || command == "/listemotes" ||
                 command == "/sit" || command == "/stand" ||
          command == "/bank")
Index: data/help.xml
===================================================================
--- data/help.xml       (revision 2144)
+++ data/help.xml       (working copy)
@@ -91,9 +91,6 @@
         <topic name="/dig">/dig for resource
 
 Mine for natural resources in the ground.  For example: /dig for gold.Some locations are better than others for digging, and how well you do depends on where you are, your skill and your tools.</topic>
-        <topic name="/duelpoints">/duelpoints
-
-Shows how many duel points you have.</topic>
         <topic name="/equip">/equip quantity item_name
 
 Equips the specified quantity of a certain item.  This is equivalent toequipping items in your Inventory Window.</topic>
Closed by  Steven Schwartfeger
02.09.2008 23:50
Reason for closing:  
Additional comments about closing:  

Tested.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing