Update of /cvsroot/wpdev/xmlscripts/scripts/skills
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27471/skills
Modified Files:
lumberjacking.py mining.py
Log Message:
weight is being sent now
Index: mining.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/mining.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** mining.py 23 Sep 2004 20:39:26 -0000 1.37
--- mining.py 2 Oct 2004 10:04:35 -0000 1.38
***************
*** 233,236 ****
--- 233,239 ----
if not tobackpack(item, char):
item.update()
+
+ # Resend weight
+ char.socket.resendstatus()
resourcecount = max( 1, int( gem.gettag('resourcecount') ) )
Index: lumberjacking.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/skills/lumberjacking.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** lumberjacking.py 23 Sep 2004 19:17:06 -0000 1.20
--- lumberjacking.py 2 Oct 2004 10:04:35 -0000 1.21
***************
*** 164,167 ****
--- 164,170 ----
if not wolfpack.utilities.tobackpack( item, char ):
item.update()
+
+ # Resend weight
+ char.socket.resendstatus()
# Let him hack
***************
*** 235,238 ****
--- 238,244 ----
if not wolfpack.utilities.tobackpack( resourceitem, char ):
resourceitem.update()
+
+ # Resend weight
+ char.socket.resendstatus()
if resource.gettag( 'resourcecount' ) >= 1:
|