All Projects


IDSeverity[[state]]OpenedOpened byAssigned ToSummary[[changedby]]Last EditedPrivate
6191Medium14.10.2013Rezso GajdoczyCommand - /guildmotd14.10.2013No Task Description

Setting guild MOTD is accidently tied to public notes privilege?

guildmanager.cpp

  if ( ! IsLeader(client))
      if ( ! CheckClientRights(client, RIGHTS_EDIT_PUBLIC, "You do not have rights to change the message of the day in your guild."))
          return;
6190Medium14.10.2013Rezso GajdoczyRemoving guilds from alliances (/guildremove)14.10.2013No Task Description

messages.cpp misses another operand?

if(command == “/newguild” || command == “/endguild” || command == “/guildname” || command == “/guildpoints” || command == “/allianceleader”)

 {
     guildname = words.GetTail(1);
     return;
 }
 5880 Medium08.02.2013Rezso GajdoczyAnders Reggestad Skill practice progress updates the wrong skill 29.03.2013No1 Task Description

Preliminary note: Might be related to PS#5642

Symptom
s8.postimage.orgn1l1rf7k5skill_upd_err.jpg The 0th skill is updated in “unsortedSkills” so flush → then after update results an inconsistent list:
unsortedSkills @Flush:

 Swords
 Knives & Daggers
 ....
 Heavy Armor
 ....

unsortedSkills @2nd update:

 Heavy Armor
 Knives & Daggers
 ....
 Heavy Armor
 ....

Problem
1: idx is used to get row from unsortedSkills while there is no real connection.
2: Modified row replaces the one in unsortedSkills even if it was (!flush) update and the row is actually derived from it. Plus 1st point

Proposed resolution
Linear search in HandleSkillCategory as I couldn’t find any better way:

@@ -859,7 +859,15 @@

   pawsListBoxRow* row = NULL;
   if (!flush)
   {

- row = unsortedSkills[idx];
+ //If updating progress we have to get the corresponding skill from unsortedSkills first
+ for(size_t i=0;i<unsortedSkills.GetSize();i++)
+ {
+ if (skillName==(dynamic_cast <pawsTextBox*> (unsortedSkills[i]→GetColumn(0)))→GetText())
+ {
+ row = unsortedSkills[i];
+ break;
+ }
+ }

   }
   
   if (row == NULL)

@@ -906,10 +914,6 @@

   if (flush)
   {
       unsortedSkills.Push(row);

- }
- else
- {
- unsortedSkills[idx] = row;

   }
   
   if (skillName == selectedSkill)
Showing tasks 1 - 3 of 3 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing