Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15283)

Issue 8647: Patch for FS#2457 - Cannot add item to container even if guard is far away. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by Lanarel
Modified:
14 years, 9 months ago
Reviewers:
Kayden
Base URL:
https://planeshift.svn.sourceforge.net/svnroot/planeshift/trunk/
Visibility:
Public.

Description

Rizin (and others) sometimes had problems adding items to furnaces, chest, etc. The error they saw was most likely because the container was guarded. I found that in CanAdd, it did not check if the guarding character was nearby (as it does in the function CanTake). I added a check for that, and tested. link to bug report: http://www.hydlaa.com/flyspray_upgrade/index.php?do=details&task_id=2457

Patch Set 1 #

Patch Set 2 : Updated patch for FS#2457 - Cannot add item to container even if guard is far away #

Patch Set 3 : Updated patch for FS#2457 - Cannot add item to container even if guard is far away #

Patch Set 4 : Updated patch for FS#2457 - Cannot add item to container even if guard is far away #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
src/server/gem.cpp View 1 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 7
Lanarel
15 years, 5 months ago (2008-11-11 18:08:33 UTC) #1
Kayden
Looks good, but I'm unsure about the logic. (See comments near the source in question.) ...
15 years, 5 months ago (2008-11-11 19:12:59 UTC) #2
Lanarel
Updated patch for FS#2457 - Cannot add item to container even if guard is far ...
15 years, 5 months ago (2008-11-11 19:47:12 UTC) #3
Lanarel
Updated patch for FS#2457 - Cannot add item to container even if guard is far ...
15 years, 5 months ago (2008-11-11 19:48:07 UTC) #4
Lanarel
Tried to upload a new patch 4 times (sorry if you did get emails :) ...
15 years, 5 months ago (2008-11-11 19:50:56 UTC) #5
Lanarel
/me makes note that codereview needs to refresh page before a new patch is visible.
15 years, 5 months ago (2008-11-11 19:55:02 UTC) #6
Kayden
15 years, 5 months ago (2008-11-12 07:52:26 UTC) #7
Thanks, looks good. :) Committed in trunk r2418.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b