Tutorial
1. Passo: Clique com o botão direito na sua Source e clique em Edit with IDLE
2. Passo: Dê um CTRL + F e procure por :
3. Passo: Subtitua esse :
Por esse :
4. Passo: Testar sua Source com a neve 100%
1. Passo: Clique com o botão direito na sua Source e clique em Edit with IDLE
2. Passo: Dê um CTRL + F e procure por :
- Código:
self.sendBoulneige(34, int(y), int(x), int(1))
3. Passo: Subtitua esse :
- Código:
else:
x, y, direction = values
if direction == "1":
self.sendBoulneige(34, int(y), int(x), int(1))
if direction == "0":
self.sendBoulneige(34, int(y), int(x), int(1))
print "Unimplemented Error: Bin-"+repr(eventTokens)+"-DATA:"+repr(data)
Por esse :
- Código:
else:
x, y, direction = values
if direction == "1":
self.room.sendAllOthers(self, "\x05" + "\x14", [self.playerCode, 34, x, y, 0, 10, -4, 1])
self.sendBoulneige(34, int(y), int(x), int(1))
if direction == "0":
self.room.sendAllOthers(self, "\x05" + "\x14", [self.playerCode, 34, x, y, 0, -10, -4, 1])
self.sendBoulneige(34, int(y), int(x), int(0))
#print "Unimplemented Error: Bin-"+repr(eventTokens)+"-DATA:"+repr(data)
4. Passo: Testar sua Source com a neve 100%