•  
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
  • More
  • CR-3
  • Abandoned
  • More
  • CR-2
  • Abandoned
line 53 should mention "poolsToDamage = HEALTH_ATTRIBUTE + ACTION_ATTRIBUTE + MIND_ATTRIBUTE,"

line 53 should mention "poolsToDamage = HEALTH_ATTRIBUTE + ACTION_ATTRIBUTE + MIND_ATTRIBUTE,"

line 53 should mention "poolsToDamage = HEALTH_ATTRIBUTE + ACTION_ATTRIBUTE + MIND_ATTRIBUTE,"

line 53 should mention "poolsToDamage = HEALTH_ATTRIBUTE + ACTION_ATTRIBUTE + MIND_ATTRIBUTE,"

This is impossible. You are checking to see if the session is null, which you used getActiveSession to retrieve. So if it is null, then there is nothing to drop.

This is impossible.

You are checking to see if the session is null, which you used getActiveSession to retrieve. So if it is null, then there is nothing to drop.

Once again, do the dynamic_cast on the top, and delete this line.

Once again, do the dynamic_cast on the top, and delete this line.

remove this. also you dont need to place this into another managedreference - its already in a managedreference in this scope.

remove this. also you dont need to place this into another managedreference - its already in a managedreference in this scope.

dynamic cast here, instead.

dynamic cast here, instead.

const String&

const String&

Can we automate this by looping the PlanetMapCategory vector?

Can we automate this by looping the PlanetMapCategory vector?

[updated] Find Command to Session
[updated] Find Command to Session
I agree. gmlr->addMapLocation(object) makes more sense here.

I agree. gmlr->addMapLocation(object) makes more sense here.

PlanetMapCategory and index are somewhat synonymous in this case - each PlanetMapCategory has a single index assigned to it. I don't think a hasIndex is proper in this case. However, I do feel tha...

PlanetMapCategory and index are somewhat synonymous in this case - each PlanetMapCategory has a single index assigned to it. I don't think a hasIndex is proper in this case.

However, I do feel that 17 should be replaced with the string representation of index 17, and compared to the name of the category.

Encapsulate this better as well. Not sure if it is worth to create a single class to hold all these information but surely don't pass an objectID and 2 coordinates here. Pass the object, and in add...

Encapsulate this better as well. Not sure if it is worth to create a single class to hold all these information but surely don't pass an objectID and 2 coordinates here. Pass the object, and in addMapLocation(), get the data out you need there.

I suggest using proper encapsulation here, add the following method: PlanetMapCategory::hasindex(int index) I would like to point out how important it is to use proper encapsulation. It not only m...

I suggest using proper encapsulation here, add the following method: PlanetMapCategory::hasindex(int index)

I would like to point out how important it is to use proper encapsulation. It not only makes the code lot cleaner but ways more flexible as well. While this particular change seems pretty minor, it adds a lot in the long run.

[updated] PlanetMapCategories from client files.
[updated] PlanetMapCategories from client files.
>=

>=

this is missing lockers. Should inherit the Manager from Mutex and add a Locker locker(this); call in the methods that modify the data

this is missing lockers.
Should inherit the Manager from Mutex and add a Locker locker(this); call in the methods that modify the data

null check

null check

null check

null check

dangling pointer vendor

dangling pointer vendor

When VendorCreature is deleted from ram vendor reference is left in the vendor manager and it becomes a dangling pointer corrupting ram

When VendorCreature is deleted from ram vendor reference is left in the vendor manager and it becomes a dangling pointer corrupting ram

ManagedReference here is unneeded you already hold the reference in the previous declaration

ManagedReference here is unneeded you already hold the reference in the previous declaration

missing locker

missing locker