Update of /cvsroot/wpdev/xmlscripts/scripts/commands
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10520/commands
Modified Files:
go.py info.py
Log Message:
necro
Index: go.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/go.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** go.py 11 Jul 2004 21:07:13 -0000 1.10
--- go.py 25 Sep 2004 19:57:27 -0000 1.11
***************
*** 110,113 ****
--- 110,116 ----
object.moveto(pos)
object.update()
+
+ if object.ischar() and object.socket:
+ object.socket.resendworld()
else:
player.socket.sysmessage('Usage: send <x, y, z, map>|<location>')
Index: info.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/commands/info.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** info.py 17 Sep 2004 23:35:09 -0000 1.22
--- info.py 25 Sep 2004 19:57:27 -0000 1.23
***************
*** 385,394 ****
gump.addInputField( 284, 180, 200, 16, 0x834, 41, char.profile)
# 43
! gump.addText( 113, 220, "Notoriety:", 0x834 )
! gump.addResizeGump( 280, 220, 0xBB8, 215, 20 )
! if char.hastag('notoriety'):
! gump.addInputField( 284, 200, 200, 16, 0x834, 43, unicode( char.gettag('notoriety') ) )
! else:
! gump.addInputField( 284, 200, 200, 16, 0x834, 43, '' )
# 44
gump.addText( 113, 240, "Poisoned:", 0x834 )
--- 385,394 ----
gump.addInputField( 284, 180, 200, 16, 0x834, 41, char.profile)
# 43
! #gump.addText( 113, 220, "Notoriety:", 0x834 )
! #gump.addResizeGump( 280, 220, 0xBB8, 215, 20 )
! #if char.hastag('notoriety'):
! # gump.addInputField( 284, 200, 200, 16, 0x834, 43, unicode( char.gettag('notoriety') ) )
! #else:
! # gump.addInputField( 284, 200, 200, 16, 0x834, 43, '' )
# 44
gump.addText( 113, 240, "Poisoned:", 0x834 )
***************
*** 575,579 ****
char.direction = int( textentries[ key ] )
elif key == 13:
! char.invulnerable = str2bool( textentries[ key ] )
elif key == 14:
char.strength = int( textentries[ key ] )
--- 575,579 ----
char.direction = int( textentries[ key ] )
elif key == 13:
! char.invulnerable = str2bool( textentries[ key ] )
elif key == 14:
char.strength = int( textentries[ key ] )
***************
*** 663,672 ****
char.settag( 'guild', int( hex2dec( textentries[ key ] ) ) )
elif key == 43:
! if not char.npc:
! if (textentries[ key ]) == '':
! if char.hastag( 'notoriety' ):
! char.deltag( 'notoriety' )
! else:
! char.settag( 'notoriety', int( textentries[ key ] ) )
#elif char.npc:
# if not textentries[ key ] == '':
--- 663,673 ----
char.settag( 'guild', int( hex2dec( textentries[ key ] ) ) )
elif key == 43:
! pass
! #if not char.npc:
! # if (textentries[ key ]) == '':
! # if char.hastag( 'notoriety' ):
! # char.deltag( 'notoriety' )
! # else:
! # char.settag( 'notoriety', int( textentries[ key ] ) )
#elif char.npc:
# if not textentries[ key ] == '':
|